@wix/bookings 1.0.108 → 1.0.110
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 -1
- package/build/cjs/index.js +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.http.d.ts +1 -5
- package/build/cjs/src/bookings-reader-v2-extended-booking.http.js +1 -5
- package/build/cjs/src/bookings-reader-v2-extended-booking.http.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.d.ts +1 -5
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js +1 -5
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.types.d.ts +3 -3
- package/build/cjs/src/bookings-services-v2-service.universal.d.ts +2 -2
- package/build/es/index.d.ts +1 -1
- package/build/es/index.js +1 -1
- package/build/es/index.js.map +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.http.d.ts +1 -5
- package/build/es/src/bookings-reader-v2-extended-booking.http.js +1 -5
- package/build/es/src/bookings-reader-v2-extended-booking.http.js.map +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.universal.d.ts +1 -5
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js +1 -5
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.types.d.ts +3 -3
- package/build/es/src/bookings-services-v2-service.universal.d.ts +2 -2
- package/package.json +2 -2
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export * as sessionsFeed from './src/bookings-calendar-v2-session-feed-event.public';
|
|
2
2
|
export * as resources from './src/bookings-catalog-v1-resource.public';
|
|
3
|
-
export * as sessionsView from './src/bookings-calendar-v2-session-view.public';
|
|
4
3
|
export * as availabilityCalendar from './src/bookings-availability-v1-slot-availability.public';
|
|
5
4
|
export * as sessions from './src/bookings-calendar-v1-session.public';
|
|
6
5
|
export * as externalCalendars from './src/bookings-calendar-v2-external-calendar.public';
|
|
6
|
+
export * as sessionsView from './src/bookings-calendar-v2-session-view.public';
|
|
7
7
|
export * as serviceOptionsAndVariants from './src/bookings-catalog-v1-service-options-and-variants.public';
|
|
8
8
|
export * as extendedBookings from './src/bookings-reader-v2-extended-booking.public';
|
|
9
9
|
export * as services from './src/bookings-services-v2-service.public';
|
package/build/cjs/index.js
CHANGED
|
@@ -19,13 +19,13 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
19
19
|
return result;
|
|
20
20
|
};
|
|
21
21
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
22
|
-
exports.pricing = exports.bookings = exports.services = exports.extendedBookings = exports.serviceOptionsAndVariants = exports.
|
|
22
|
+
exports.pricing = exports.bookings = exports.services = exports.extendedBookings = exports.serviceOptionsAndVariants = exports.sessionsView = exports.externalCalendars = exports.sessions = exports.availabilityCalendar = exports.resources = exports.sessionsFeed = void 0;
|
|
23
23
|
exports.sessionsFeed = __importStar(require("./src/bookings-calendar-v2-session-feed-event.public"));
|
|
24
24
|
exports.resources = __importStar(require("./src/bookings-catalog-v1-resource.public"));
|
|
25
|
-
exports.sessionsView = __importStar(require("./src/bookings-calendar-v2-session-view.public"));
|
|
26
25
|
exports.availabilityCalendar = __importStar(require("./src/bookings-availability-v1-slot-availability.public"));
|
|
27
26
|
exports.sessions = __importStar(require("./src/bookings-calendar-v1-session.public"));
|
|
28
27
|
exports.externalCalendars = __importStar(require("./src/bookings-calendar-v2-external-calendar.public"));
|
|
28
|
+
exports.sessionsView = __importStar(require("./src/bookings-calendar-v2-session-view.public"));
|
|
29
29
|
exports.serviceOptionsAndVariants = __importStar(require("./src/bookings-catalog-v1-service-options-and-variants.public"));
|
|
30
30
|
exports.extendedBookings = __importStar(require("./src/bookings-reader-v2-extended-booking.public"));
|
|
31
31
|
exports.services = __importStar(require("./src/bookings-services-v2-service.public"));
|
package/build/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,qGAAqF;AACrF,uFAAuE;AACvE
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;AAAA,qGAAqF;AACrF,uFAAuE;AACvE,gHAAgG;AAChG,sFAAsE;AACtE,yGAAyF;AACzF,+FAA+E;AAC/E,2HAA2G;AAC3G,qGAAqF;AACrF,sFAAsE;AACtE,6EAA6D;AAC7D,+EAA+D"}
|
|
@@ -24,10 +24,6 @@ import { QueryExtendedBookingsRequest, QueryExtendedBookingsResponse } from './b
|
|
|
24
24
|
*
|
|
25
25
|
* When filtering by date, you must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
26
26
|
*
|
|
27
|
-
*
|
|
28
|
-
* must use the `sessionId` filter that isn't part of the `query` object to
|
|
29
|
-
* filter bookings for courses.
|
|
30
|
-
*
|
|
31
|
-
* When calling `queryExtendedBookings()`, the retrieved data may not contain your most recent changes.
|
|
27
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
32
28
|
*/
|
|
33
29
|
export declare function queryExtendedBookings(payload: QueryExtendedBookingsRequest): RequestOptionsFactory<QueryExtendedBookingsResponse>;
|
|
@@ -76,11 +76,7 @@ function resolveComWixpressBookingsReaderV2BookingsReaderUrl(opts) {
|
|
|
76
76
|
*
|
|
77
77
|
* When filtering by date, you must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
78
78
|
*
|
|
79
|
-
*
|
|
80
|
-
* must use the `sessionId` filter that isn't part of the `query` object to
|
|
81
|
-
* filter bookings for courses.
|
|
82
|
-
*
|
|
83
|
-
* When calling `queryExtendedBookings()`, the retrieved data may not contain your most recent changes.
|
|
79
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
84
80
|
*/
|
|
85
81
|
function queryExtendedBookings(payload) {
|
|
86
82
|
const { toJSON: toReq, fromJSON: fromReq } = (0, ambassador_1.serializer)(_queryExtendedBookingsRequest, {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-reader-v2-extended-booking.http.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.http.ts"],"names":[],"mappings":";;;AAAA,8DAA2D;AAC3D,sDAAgD;AAQhD,MAAM,QAAQ,GAAG,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AACjD,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,6BAA6B;IACvC,SAAS,EAAE,6BAA6B;CACzC,CAAC;AACF,MAAM,QAAQ,GAAG;IACf,WAAW,EAAE,2BAA2B;IACxC,SAAS,EAAE,2BAA2B;IACtC,OAAO,EAAE,2BAA2B;IACpC,WAAW,EAAE,2BAA2B;IACxC,cAAc,EAAE,iBAAiB;CAClC,CAAC;AACF,MAAM,eAAe,GAAG,EAAE,WAAW,EAAE,UAAU,EAAE,CAAC;AACpD,MAAM,gBAAgB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACjD,MAAM,6BAA6B,GAAG,EAAE,CAAC;AACzC,MAAM,8BAA8B,GAAG,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,CAAC;AAEhF,SAAS,mDAAmD,CAC1D,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,CAAC,EAAE;YACD;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,qBAAqB,EAAE;YACrB;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;YACD;gBACE,OAAO,EAAE,2BAA2B;gBACpC,QAAQ,EAAE,EAAE;aACb;SACF;KACF,CAAC;IAEF,OAAO,IAAA,0BAAU,EAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED
|
|
1
|
+
{"version":3,"file":"bookings-reader-v2-extended-booking.http.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.http.ts"],"names":[],"mappings":";;;AAAA,8DAA2D;AAC3D,sDAAgD;AAQhD,MAAM,QAAQ,GAAG,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AACjD,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,6BAA6B;IACvC,SAAS,EAAE,6BAA6B;CACzC,CAAC;AACF,MAAM,QAAQ,GAAG;IACf,WAAW,EAAE,2BAA2B;IACxC,SAAS,EAAE,2BAA2B;IACtC,OAAO,EAAE,2BAA2B;IACpC,WAAW,EAAE,2BAA2B;IACxC,cAAc,EAAE,iBAAiB;CAClC,CAAC;AACF,MAAM,eAAe,GAAG,EAAE,WAAW,EAAE,UAAU,EAAE,CAAC;AACpD,MAAM,gBAAgB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACjD,MAAM,6BAA6B,GAAG,EAAE,CAAC;AACzC,MAAM,8BAA8B,GAAG,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,CAAC;AAEhF,SAAS,mDAAmD,CAC1D,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,CAAC,EAAE;YACD;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,qBAAqB,EAAE;YACrB;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ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7 @@ export interface QueryExtendedBookingsResponse {
|
|
|
744
744
|
*
|
|
745
745
|
* When filtering by date, you must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
746
746
|
*
|
|
747
|
-
*
|
|
748
|
-
* must use the `sessionId` filter that isn't part of the `query` object to
|
|
749
|
-
* filter bookings for courses.
|
|
750
|
-
*
|
|
751
|
-
* When calling `queryExtendedBookings()`, the retrieved data may not contain your most recent changes.
|
|
747
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
752
748
|
* @public
|
|
753
749
|
* @documentationMaturity preview
|
|
754
750
|
* @requiredField query
|
|
@@ -159,11 +159,7 @@ const _queryExtendedBookingsResponse = {};
|
|
|
159
159
|
*
|
|
160
160
|
* When filtering by date, you must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
161
161
|
*
|
|
162
|
-
*
|
|
163
|
-
* must use the `sessionId` filter that isn't part of the `query` object to
|
|
164
|
-
* filter bookings for courses.
|
|
165
|
-
*
|
|
166
|
-
* When calling `queryExtendedBookings()`, the retrieved data may not contain your most recent changes.
|
|
162
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
167
163
|
* @public
|
|
168
164
|
* @documentationMaturity preview
|
|
169
165
|
* @requiredField query
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-reader-v2-extended-booking.universal.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqE;AAErE,yHAA2G;AAE3G,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,C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IACb,yBAAyB;IACzB,kDAAiC,CAAA;IACjC,wBAAwB;IACxB,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;AACnB,CAAC,EATW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QASxB;AAED;;;;;GAKG;AACH,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,4CAAmB,CAAA;IACnB,0CAAiB,CAAA;IACjB,kDAAyB,CAAA;IACzB,oHAAoH;IACpH,kEAAyC,CAAA;AAC3C,CAAC,EAPW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAOhC;AAiCD,IAAY,QAIX;AAJD,WAAY,QAAQ;IAClB,qDAAyC,CAAA;IACzC,uBAAW,CAAA;IACX,qCAAyB,CAAA;AAC3B,CAAC,EAJW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAInB;AAED,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4CAAmC,CAAA;IACnC,8BAAqB,CAAA;IACrB,8BAAqB,CAAA;AACvB,CAAC,EAJW,KAAK,GAAL,aAAK,KAAL,aAAK,QAIhB;AAsCD,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,uDAAuC,CAAA;IACvC,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,2BAAW,CAAA;AACb,CAAC,EANW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAMvB;AAsKD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AAgHD,MAAM,6BAA6B,GAAG,EAAE,CAAC;AACzC,MAAM,8BAA8B,GAAG,EAAE,CAAC;AAE1C
|
|
1
|
+
{"version":3,"file":"bookings-reader-v2-extended-booking.universal.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;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,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,OAAO;gBACP,SAAS;aACV,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF;AA3DD,sDA2DC"}
|
|
@@ -328,14 +328,14 @@ export interface Conferencing {
|
|
|
328
328
|
enabled?: boolean | null;
|
|
329
329
|
}
|
|
330
330
|
export interface Location extends LocationOptionsOneOf {
|
|
331
|
-
/** The service is offered at the referenced business location. */
|
|
331
|
+
/** The service is offered at the referenced business location, the location has to reference a location from the Business Info [Locations API](https://dev.wix.com/api/rest/business-info/locations). */
|
|
332
332
|
business?: BusinessLocationOptions;
|
|
333
333
|
/** The service is offered at a custom location. */
|
|
334
334
|
custom?: CustomLocationOptions;
|
|
335
335
|
/**
|
|
336
336
|
* The type of location:
|
|
337
337
|
* - `CUSTOM`: The location is specific to this service, and is not derived from the business location.
|
|
338
|
-
* - `BUSINESS`: A business location,
|
|
338
|
+
* - `BUSINESS`: A business location, either the default business address, or locations defined for the business by the Business Info [Locations API](https://dev.wix.com/api/rest/business-info/locations).
|
|
339
339
|
* - `CUSTOMER`: Will be determined by the customer. For appointments only.
|
|
340
340
|
*/
|
|
341
341
|
type?: LocationType;
|
|
@@ -347,7 +347,7 @@ export interface Location extends LocationOptionsOneOf {
|
|
|
347
347
|
}
|
|
348
348
|
/** @oneof */
|
|
349
349
|
export interface LocationOptionsOneOf {
|
|
350
|
-
/** The service is offered at the referenced business location. */
|
|
350
|
+
/** The service is offered at the referenced business location, the location has to reference a location from the Business Info [Locations API](https://dev.wix.com/api/rest/business-info/locations). */
|
|
351
351
|
business?: BusinessLocationOptions;
|
|
352
352
|
/** The service is offered at a custom location. */
|
|
353
353
|
custom?: CustomLocationOptions;
|
|
@@ -310,7 +310,7 @@ export interface Conferencing {
|
|
|
310
310
|
enabled?: boolean | null;
|
|
311
311
|
}
|
|
312
312
|
export interface Location extends LocationOptionsOneOf {
|
|
313
|
-
/** The service is offered at the referenced business location. */
|
|
313
|
+
/** The service is offered at the referenced business location, the location has to reference a location from the Business Info [Locations API](https://dev.wix.com/api/rest/business-info/locations). */
|
|
314
314
|
business?: BusinessLocationOptions;
|
|
315
315
|
/** The service is offered at a custom location. */
|
|
316
316
|
custom?: CustomLocationOptions;
|
|
@@ -329,7 +329,7 @@ export interface Location extends LocationOptionsOneOf {
|
|
|
329
329
|
}
|
|
330
330
|
/** @oneof */
|
|
331
331
|
export interface LocationOptionsOneOf {
|
|
332
|
-
/** The service is offered at the referenced business location. */
|
|
332
|
+
/** The service is offered at the referenced business location, the location has to reference a location from the Business Info [Locations API](https://dev.wix.com/api/rest/business-info/locations). */
|
|
333
333
|
business?: BusinessLocationOptions;
|
|
334
334
|
/** The service is offered at a custom location. */
|
|
335
335
|
custom?: CustomLocationOptions;
|
package/build/es/index.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export * as sessionsFeed from './src/bookings-calendar-v2-session-feed-event.public';
|
|
2
2
|
export * as resources from './src/bookings-catalog-v1-resource.public';
|
|
3
|
-
export * as sessionsView from './src/bookings-calendar-v2-session-view.public';
|
|
4
3
|
export * as availabilityCalendar from './src/bookings-availability-v1-slot-availability.public';
|
|
5
4
|
export * as sessions from './src/bookings-calendar-v1-session.public';
|
|
6
5
|
export * as externalCalendars from './src/bookings-calendar-v2-external-calendar.public';
|
|
6
|
+
export * as sessionsView from './src/bookings-calendar-v2-session-view.public';
|
|
7
7
|
export * as serviceOptionsAndVariants from './src/bookings-catalog-v1-service-options-and-variants.public';
|
|
8
8
|
export * as extendedBookings from './src/bookings-reader-v2-extended-booking.public';
|
|
9
9
|
export * as services from './src/bookings-services-v2-service.public';
|
package/build/es/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export * as sessionsFeed from './src/bookings-calendar-v2-session-feed-event.public';
|
|
2
2
|
export * as resources from './src/bookings-catalog-v1-resource.public';
|
|
3
|
-
export * as sessionsView from './src/bookings-calendar-v2-session-view.public';
|
|
4
3
|
export * as availabilityCalendar from './src/bookings-availability-v1-slot-availability.public';
|
|
5
4
|
export * as sessions from './src/bookings-calendar-v1-session.public';
|
|
6
5
|
export * as externalCalendars from './src/bookings-calendar-v2-external-calendar.public';
|
|
6
|
+
export * as sessionsView from './src/bookings-calendar-v2-session-view.public';
|
|
7
7
|
export * as serviceOptionsAndVariants from './src/bookings-catalog-v1-service-options-and-variants.public';
|
|
8
8
|
export * as extendedBookings from './src/bookings-reader-v2-extended-booking.public';
|
|
9
9
|
export * as services from './src/bookings-services-v2-service.public';
|
package/build/es/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,sDAAsD,CAAC;AACrF,OAAO,KAAK,SAAS,MAAM,2CAA2C,CAAC;AACvE,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,YAAY,MAAM,sDAAsD,CAAC;AACrF,OAAO,KAAK,SAAS,MAAM,2CAA2C,CAAC;AACvE,OAAO,KAAK,oBAAoB,MAAM,yDAAyD,CAAC;AAChG,OAAO,KAAK,QAAQ,MAAM,2CAA2C,CAAC;AACtE,OAAO,KAAK,iBAAiB,MAAM,qDAAqD,CAAC;AACzF,OAAO,KAAK,YAAY,MAAM,gDAAgD,CAAC;AAC/E,OAAO,KAAK,yBAAyB,MAAM,+DAA+D,CAAC;AAC3G,OAAO,KAAK,gBAAgB,MAAM,kDAAkD,CAAC;AACrF,OAAO,KAAK,QAAQ,MAAM,2CAA2C,CAAC;AACtE,OAAO,KAAK,QAAQ,MAAM,kCAAkC,CAAC;AAC7D,OAAO,KAAK,OAAO,MAAM,qCAAqC,CAAC"}
|
|
@@ -24,10 +24,6 @@ import { QueryExtendedBookingsRequest, QueryExtendedBookingsResponse } from './b
|
|
|
24
24
|
*
|
|
25
25
|
* When filtering by date, you must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
26
26
|
*
|
|
27
|
-
*
|
|
28
|
-
* must use the `sessionId` filter that isn't part of the `query` object to
|
|
29
|
-
* filter bookings for courses.
|
|
30
|
-
*
|
|
31
|
-
* When calling `queryExtendedBookings()`, the retrieved data may not contain your most recent changes.
|
|
27
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
32
28
|
*/
|
|
33
29
|
export declare function queryExtendedBookings(payload: QueryExtendedBookingsRequest): RequestOptionsFactory<QueryExtendedBookingsResponse>;
|
|
@@ -73,11 +73,7 @@ function resolveComWixpressBookingsReaderV2BookingsReaderUrl(opts) {
|
|
|
73
73
|
*
|
|
74
74
|
* When filtering by date, you must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
75
75
|
*
|
|
76
|
-
*
|
|
77
|
-
* must use the `sessionId` filter that isn't part of the `query` object to
|
|
78
|
-
* filter bookings for courses.
|
|
79
|
-
*
|
|
80
|
-
* When calling `queryExtendedBookings()`, the retrieved data may not contain your most recent changes.
|
|
76
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
81
77
|
*/
|
|
82
78
|
export function queryExtendedBookings(payload) {
|
|
83
79
|
const { toJSON: toReq, fromJSON: fromReq } = serializer(_queryExtendedBookingsRequest, {});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-reader-v2-extended-booking.http.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAQhD,MAAM,QAAQ,GAAG,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AACjD,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,6BAA6B;IACvC,SAAS,EAAE,6BAA6B;CACzC,CAAC;AACF,MAAM,QAAQ,GAAG;IACf,WAAW,EAAE,2BAA2B;IACxC,SAAS,EAAE,2BAA2B;IACtC,OAAO,EAAE,2BAA2B;IACpC,WAAW,EAAE,2BAA2B;IACxC,cAAc,EAAE,iBAAiB;CAClC,CAAC;AACF,MAAM,eAAe,GAAG,EAAE,WAAW,EAAE,UAAU,EAAE,CAAC;AACpD,MAAM,gBAAgB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACjD,MAAM,6BAA6B,GAAG,EAAE,CAAC;AACzC,MAAM,8BAA8B,GAAG,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,CAAC;AAEhF,SAAS,mDAAmD,CAC1D,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,CAAC,EAAE;YACD;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,qBAAqB,EAAE;YACrB;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,sBAAsB,EAAE;YACtB;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,iBAAiB,EAAE;YACjB;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;YACD;gBACE,OAAO,EAAE,2BAA2B;gBACpC,QAAQ,EAAE,EAAE;aACb;SACF;KACF,CAAC;IAEF,OAAO,UAAU,CAAC,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,gBAAgB,EAAE,CAAC,CAAC,CAAC;AAC/D,CAAC;AAED
|
|
1
|
+
{"version":3,"file":"bookings-reader-v2-extended-booking.http.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.http.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,+BAA+B,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAQhD,MAAM,QAAQ,GAAG,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AACjD,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,6BAA6B;IACvC,SAAS,EAAE,6BAA6B;CACzC,CAAC;AACF,MAAM,QAAQ,GAAG;IACf,WAAW,EAAE,2BAA2B;IACxC,SAAS,EAAE,2BAA2B;IACtC,OAAO,EAAE,2BAA2B;IACpC,WAAW,EAAE,2BAA2B;IACxC,cAAc,EAAE,iBAAiB;CAClC,CAAC;AACF,MAAM,eAAe,GAAG,EAAE,WAAW,EAAE,UAAU,EAAE,CAAC;AACpD,MAAM,gBAAgB,GAAG,EAAE,OAAO,EAAE,UAAU,EAAE,CAAC;AACjD,MAAM,6BAA6B,GAAG,EAAE,CAAC;AACzC,MAAM,8BAA8B,GAAG,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,CAAC;AAEhF,SAAS,mDAAmD,CAC1D,IAA8C;IAE9C,MAAM,gBAAgB,GAAG;QACvB,CAAC,EAAE;YACD;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,qBAAqB,EAAE;YACrB;gBACE,OAAO,EAAE,uBAAuB;gBAChC,QAAQ,EAAE,EAAE;aACb;SACF;QACD,sBAAsB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must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
746
746
|
*
|
|
747
|
-
*
|
|
748
|
-
* must use the `sessionId` filter that isn't part of the `query` object to
|
|
749
|
-
* filter bookings for courses.
|
|
750
|
-
*
|
|
751
|
-
* When calling `queryExtendedBookings()`, the retrieved data may not contain your most recent changes.
|
|
747
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
752
748
|
* @public
|
|
753
749
|
* @documentationMaturity preview
|
|
754
750
|
* @requiredField query
|
|
@@ -137,11 +137,7 @@ const _queryExtendedBookingsResponse = {};
|
|
|
137
137
|
*
|
|
138
138
|
* When filtering by date, you must use [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
139
139
|
*
|
|
140
|
-
*
|
|
141
|
-
* must use the `sessionId` filter that isn't part of the `query` object to
|
|
142
|
-
* filter bookings for courses.
|
|
143
|
-
*
|
|
144
|
-
* When calling `queryExtendedBookings()`, the retrieved data may not contain your most recent changes.
|
|
140
|
+
* >**Note:** This function is restricted and only runs if you elevate permissions using the [`wix-auth.elevate()`](https://www.wix.com/velo/reference/wix-auth/elevate) function.
|
|
145
141
|
* @public
|
|
146
142
|
* @documentationMaturity preview
|
|
147
143
|
* @requiredField query
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-reader-v2-extended-booking.universal.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAErE,OAAO,KAAK,4CAA4C,MAAM,4CAA4C,CAAC;AAE3G,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAA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,yBAAyB;IACzB,kDAAiC,CAAA;IACjC,wBAAwB;IACxB,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;AACnB,CAAC,EATW,aAAa,KAAb,aAAa,QASxB;AAED;;;;;GAKG;AACH,MAAM,CAAN,IAAY,qBAOX;AAPD,WAAY,qBAAqB;IAC/B,gDAAuB,CAAA;IACvB,4CAAmB,CAAA;IACnB,0CAAiB,CAAA;IACjB,kDAAyB,CAAA;IACzB,oHAAoH;IACpH,kEAAyC,CAAA;AAC3C,CAAC,EAPW,qBAAqB,KAArB,qBAAqB,QAOhC;AAiCD,MAAM,CAAN,IAAY,QAIX;AAJD,WAAY,QAAQ;IAClB,qDAAyC,CAAA;IACzC,uBAAW,CAAA;IACX,qCAAyB,CAAA;AAC3B,CAAC,EAJW,QAAQ,KAAR,QAAQ,QAInB;AAED,MAAM,CAAN,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4CAAmC,CAAA;IACnC,8BAAqB,CAAA;IACrB,8BAAqB,CAAA;AACvB,CAAC,EAJW,KAAK,KAAL,KAAK,QAIhB;AAsCD,MAAM,CAAN,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,mCAAmB,CAAA;IACnB,uDAAuC,CAAA;IACvC,iCAAiB,CAAA;IACjB,qCAAqB,CAAA;IACrB,2BAAW,CAAA;AACb,CAAC,EANW,YAAY,KAAZ,YAAY,QAMvB;AAsKD,MAAM,CAAN,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,KAAT,SAAS,QAGpB;AAgHD,MAAM,6BAA6B,GAAG,EAAE,CAAC;AACzC,MAAM,8BAA8B,GAAG,EAAE,CAAC;AAE1C
|
|
1
|
+
{"version":3,"file":"bookings-reader-v2-extended-booking.universal.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EAAE,UAAU,EAAE,cAAc,EAA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,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;YACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;YAEjC,OAAO,QAAQ,CAAC,MAAM,CAAC,IAAI,CAAQ,CAAC;SACrC;QAAC,OAAO,GAAQ,EAAE;YACjB,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,EAAE;gBAClE,OAAO;gBACP,SAAS;aACV,CAAC,CAAC;YACH,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF"}
|
|
@@ -328,14 +328,14 @@ export interface Conferencing {
|
|
|
328
328
|
enabled?: boolean | null;
|
|
329
329
|
}
|
|
330
330
|
export interface Location extends LocationOptionsOneOf {
|
|
331
|
-
/** The service is offered at the referenced business location. */
|
|
331
|
+
/** The service is offered at the referenced business location, the location has to reference a location from the Business Info [Locations API](https://dev.wix.com/api/rest/business-info/locations). */
|
|
332
332
|
business?: BusinessLocationOptions;
|
|
333
333
|
/** The service is offered at a custom location. */
|
|
334
334
|
custom?: CustomLocationOptions;
|
|
335
335
|
/**
|
|
336
336
|
* The type of location:
|
|
337
337
|
* - `CUSTOM`: The location is specific to this service, and is not derived from the business location.
|
|
338
|
-
* - `BUSINESS`: A business location,
|
|
338
|
+
* - `BUSINESS`: A business location, either the default business address, or locations defined for the business by the Business Info [Locations API](https://dev.wix.com/api/rest/business-info/locations).
|
|
339
339
|
* - `CUSTOMER`: Will be determined by the customer. For appointments only.
|
|
340
340
|
*/
|
|
341
341
|
type?: LocationType;
|
|
@@ -347,7 +347,7 @@ export interface Location extends LocationOptionsOneOf {
|
|
|
347
347
|
}
|
|
348
348
|
/** @oneof */
|
|
349
349
|
export interface LocationOptionsOneOf {
|
|
350
|
-
/** The service is offered at the referenced business location. */
|
|
350
|
+
/** The service is offered at the referenced business location, the location has to reference a location from the Business Info [Locations API](https://dev.wix.com/api/rest/business-info/locations). */
|
|
351
351
|
business?: BusinessLocationOptions;
|
|
352
352
|
/** The service is offered at a custom location. */
|
|
353
353
|
custom?: CustomLocationOptions;
|
|
@@ -310,7 +310,7 @@ export interface Conferencing {
|
|
|
310
310
|
enabled?: boolean | null;
|
|
311
311
|
}
|
|
312
312
|
export interface Location extends LocationOptionsOneOf {
|
|
313
|
-
/** The service is offered at the referenced business location. */
|
|
313
|
+
/** The service is offered at the referenced business location, the location has to reference a location from the Business Info [Locations API](https://dev.wix.com/api/rest/business-info/locations). */
|
|
314
314
|
business?: BusinessLocationOptions;
|
|
315
315
|
/** The service is offered at a custom location. */
|
|
316
316
|
custom?: CustomLocationOptions;
|
|
@@ -329,7 +329,7 @@ export interface Location extends LocationOptionsOneOf {
|
|
|
329
329
|
}
|
|
330
330
|
/** @oneof */
|
|
331
331
|
export interface LocationOptionsOneOf {
|
|
332
|
-
/** The service is offered at the referenced business location. */
|
|
332
|
+
/** The service is offered at the referenced business location, the location has to reference a location from the Business Info [Locations API](https://dev.wix.com/api/rest/business-info/locations). */
|
|
333
333
|
business?: BusinessLocationOptions;
|
|
334
334
|
/** The service is offered at a custom location. */
|
|
335
335
|
custom?: CustomLocationOptions;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/bookings",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.110",
|
|
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": "5c14660ad5b823f897824d64a28f97e42ac82621a9fb83a4198029e2"
|
|
37
37
|
}
|