@wix/bookings 1.0.259 → 1.0.260
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/cjs/src/bookings-reader-v2-extended-booking.public.d.ts +2 -2
- package/build/cjs/src/bookings-reader-v2-extended-booking.public.js +1 -2
- package/build/cjs/src/bookings-reader-v2-extended-booking.public.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.d.ts +11 -18
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.js +1 -6
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.d.ts +11 -11
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js +1 -6
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.public.d.ts +2 -2
- package/build/cjs/src/bookings-v2-booking.public.js +1 -2
- package/build/cjs/src/bookings-v2-booking.public.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.types.d.ts +17 -75
- package/build/cjs/src/bookings-v2-booking.types.js +1 -6
- package/build/cjs/src/bookings-v2-booking.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.universal.d.ts +17 -12
- package/build/cjs/src/bookings-v2-booking.universal.js +1 -6
- package/build/cjs/src/bookings-v2-booking.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.public.d.ts +2 -2
- package/build/cjs/src/bookings-v2-price-info.public.js +1 -2
- package/build/cjs/src/bookings-v2-price-info.public.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.types.d.ts +11 -11
- package/build/cjs/src/bookings-v2-price-info.types.js +1 -6
- package/build/cjs/src/bookings-v2-price-info.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.universal.d.ts +11 -11
- package/build/cjs/src/bookings-v2-price-info.universal.js +1 -6
- package/build/cjs/src/bookings-v2-price-info.universal.js.map +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.public.d.ts +2 -2
- package/build/es/src/bookings-reader-v2-extended-booking.public.js +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.public.js.map +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.types.d.ts +11 -18
- package/build/es/src/bookings-reader-v2-extended-booking.types.js +0 -5
- package/build/es/src/bookings-reader-v2-extended-booking.types.js.map +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.universal.d.ts +11 -11
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js +0 -5
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
- package/build/es/src/bookings-v2-booking.public.d.ts +2 -2
- package/build/es/src/bookings-v2-booking.public.js +1 -1
- package/build/es/src/bookings-v2-booking.public.js.map +1 -1
- package/build/es/src/bookings-v2-booking.types.d.ts +17 -75
- package/build/es/src/bookings-v2-booking.types.js +0 -5
- package/build/es/src/bookings-v2-booking.types.js.map +1 -1
- package/build/es/src/bookings-v2-booking.universal.d.ts +17 -12
- package/build/es/src/bookings-v2-booking.universal.js +0 -5
- package/build/es/src/bookings-v2-booking.universal.js.map +1 -1
- package/build/es/src/bookings-v2-price-info.public.d.ts +2 -2
- package/build/es/src/bookings-v2-price-info.public.js +1 -1
- package/build/es/src/bookings-v2-price-info.public.js.map +1 -1
- package/build/es/src/bookings-v2-price-info.types.d.ts +11 -11
- package/build/es/src/bookings-v2-price-info.types.js +0 -5
- package/build/es/src/bookings-v2-price-info.types.js.map +1 -1
- package/build/es/src/bookings-v2-price-info.universal.d.ts +11 -11
- package/build/es/src/bookings-v2-price-info.universal.js +0 -5
- package/build/es/src/bookings-v2-price-info.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -4,5 +4,5 @@ export declare const __metadata: {
|
|
|
4
4
|
PACKAGE_NAME: string;
|
|
5
5
|
};
|
|
6
6
|
export declare function queryExtendedBookings(httpClient: HttpClient): (query: CommonQueryV2, options?: QueryExtendedBookingsOptions | undefined) => Promise<import("./bookings-reader-v2-extended-booking.universal").QueryExtendedBookingsResponse & import("./bookings-reader-v2-extended-booking.universal").QueryExtendedBookingsResponseNonNullableFields>;
|
|
7
|
-
export { AttendanceStatus, MultiServiceBookingType, LocationType,
|
|
8
|
-
export { ExtendedBooking, Booking, BookingParticipantsInfoOneOf, BookedEntity, BookedEntityItemOneOf, BookedSlot, BookedResource, Location,
|
|
7
|
+
export { AttendanceStatus, MultiServiceBookingType, LocationType, ValueType, BookingStatus, PaymentStatus, SelectedPaymentOption, Platform, Actor, IdentityType, SortOrder, } from './bookings-reader-v2-extended-booking.universal';
|
|
8
|
+
export { ExtendedBooking, Booking, BookingParticipantsInfoOneOf, BookedEntity, BookedEntityItemOneOf, BookedSlot, BookedResource, Location, BookedSchedule, ContactDetails, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, CustomFormField, BookingSource, ParticipantNotification, IdentificationData, IdentificationDataIdOneOf, FlowControlSettings, ExtendedFields, ParticipantChoices, ServiceChoices, ServiceChoice, ServiceChoiceChoiceOneOf, MultiServiceBookingInfo, AllowedActions, Attendance, QueryExtendedBookingRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryExtendedBookingResponse, PagingMetadataV2, Cursors, QueryExtendedBookingsRequest, CommonQueryV2, CommonQueryV2PagingMethodOneOf, CommonPaging, QueryExtendedBookingsResponse, QueryExtendedBookingsResponseNonNullableFields, QueryExtendedBookingsOptions, } from './bookings-reader-v2-extended-booking.universal';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SortOrder = exports.IdentityType = exports.Actor = exports.Platform = exports.SelectedPaymentOption = exports.PaymentStatus = exports.BookingStatus = exports.ValueType = exports.
|
|
3
|
+
exports.SortOrder = exports.IdentityType = exports.Actor = exports.Platform = exports.SelectedPaymentOption = exports.PaymentStatus = exports.BookingStatus = exports.ValueType = exports.LocationType = exports.MultiServiceBookingType = exports.AttendanceStatus = exports.queryExtendedBookings = exports.__metadata = void 0;
|
|
4
4
|
const bookings_reader_v2_extended_booking_universal_1 = require("./bookings-reader-v2-extended-booking.universal");
|
|
5
5
|
exports.__metadata = { PACKAGE_NAME: '@wix/bookings' };
|
|
6
6
|
function queryExtendedBookings(httpClient) {
|
|
@@ -13,7 +13,6 @@ var bookings_reader_v2_extended_booking_universal_2 = require("./bookings-reader
|
|
|
13
13
|
Object.defineProperty(exports, "AttendanceStatus", { enumerable: true, get: function () { return bookings_reader_v2_extended_booking_universal_2.AttendanceStatus; } });
|
|
14
14
|
Object.defineProperty(exports, "MultiServiceBookingType", { enumerable: true, get: function () { return bookings_reader_v2_extended_booking_universal_2.MultiServiceBookingType; } });
|
|
15
15
|
Object.defineProperty(exports, "LocationType", { enumerable: true, get: function () { return bookings_reader_v2_extended_booking_universal_2.LocationType; } });
|
|
16
|
-
Object.defineProperty(exports, "Type", { enumerable: true, get: function () { return bookings_reader_v2_extended_booking_universal_2.Type; } });
|
|
17
16
|
Object.defineProperty(exports, "ValueType", { enumerable: true, get: function () { return bookings_reader_v2_extended_booking_universal_2.ValueType; } });
|
|
18
17
|
Object.defineProperty(exports, "BookingStatus", { enumerable: true, get: function () { return bookings_reader_v2_extended_booking_universal_2.BookingStatus; } });
|
|
19
18
|
Object.defineProperty(exports, "PaymentStatus", { enumerable: true, get: function () { return bookings_reader_v2_extended_booking_universal_2.PaymentStatus; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-reader-v2-extended-booking.public.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.public.ts"],"names":[],"mappings":";;;AACA,mHAIyD;AAE5C,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,qBAAqB,CAAC,UAAsB;IAC1D,OAAO,CAAC,KAAoB,EAAE,OAAsC,EAAE,EAAE,CACtE,IAAA,qEAA8B,EAC5B,KAAK,EACL,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,sDAQC;AAED,
|
|
1
|
+
{"version":3,"file":"bookings-reader-v2-extended-booking.public.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.public.ts"],"names":[],"mappings":";;;AACA,mHAIyD;AAE5C,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,qBAAqB,CAAC,UAAsB;IAC1D,OAAO,CAAC,KAAoB,EAAE,OAAsC,EAAE,EAAE,CACtE,IAAA,qEAA8B,EAC5B,KAAK,EACL,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,sDAQC;AAED,iHAYyD;AAXvD,iJAAA,gBAAgB,OAAA;AAChB,wJAAA,uBAAuB,OAAA;AACvB,6IAAA,YAAY,OAAA;AACZ,0IAAA,SAAS,OAAA;AACT,8IAAA,aAAa,OAAA;AACb,8IAAA,aAAa,OAAA;AACb,sJAAA,qBAAqB,OAAA;AACrB,yIAAA,QAAQ,OAAA;AACR,sIAAA,KAAK,OAAA;AACL,6IAAA,YAAY,OAAA;AACZ,0IAAA,SAAS,OAAA"}
|
|
@@ -188,7 +188,12 @@ export interface BookedSlot {
|
|
|
188
188
|
endDate?: string | null;
|
|
189
189
|
/** The timezone according to which the slot was shown to the user when booking, and should be shown in future. */
|
|
190
190
|
timezone?: string | null;
|
|
191
|
-
/**
|
|
191
|
+
/**
|
|
192
|
+
* The enriched resource assigned to the slot, can be either the requested resource or the resource chosen by the system.
|
|
193
|
+
* When populated, the given resource will be booked according to it's availability.
|
|
194
|
+
* When empty, If `skip_availability_validation` is `false`, a random available resource will be assigned to the slot upon confirmation,
|
|
195
|
+
* otherwise one of the service resources will be assigned to the slot randomly upon confirmation.
|
|
196
|
+
*/
|
|
192
197
|
resource?: BookedResource;
|
|
193
198
|
/** Location where the slot's session takes place. */
|
|
194
199
|
location?: Location;
|
|
@@ -202,6 +207,11 @@ export interface BookedResource {
|
|
|
202
207
|
email?: string | null;
|
|
203
208
|
/** Resource's schedule ID. */
|
|
204
209
|
scheduleId?: string | null;
|
|
210
|
+
/**
|
|
211
|
+
* Indicates whether the resource was specifically requested or should be auto selected by the Server.
|
|
212
|
+
* The value will be true if the resource was explicitly given in the request, otherwise false.
|
|
213
|
+
*/
|
|
214
|
+
explicitlyRequested?: boolean | null;
|
|
205
215
|
}
|
|
206
216
|
export interface Location {
|
|
207
217
|
/**
|
|
@@ -228,16 +238,6 @@ export declare enum LocationType {
|
|
|
228
238
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
229
239
|
CUSTOM = "CUSTOM"
|
|
230
240
|
}
|
|
231
|
-
export interface GroupedResources {
|
|
232
|
-
resourceGroupId?: string | null;
|
|
233
|
-
type?: Type;
|
|
234
|
-
/** list of at most 10 resources, that can booked with this slot */
|
|
235
|
-
resourceIds?: string[];
|
|
236
|
-
}
|
|
237
|
-
export declare enum Type {
|
|
238
|
-
DO_NOT_CARE = "DO_NOT_CARE",
|
|
239
|
-
SPECIFIC_RESOURCES = "SPECIFIC_RESOURCES"
|
|
240
|
-
}
|
|
241
241
|
export interface BookedSchedule {
|
|
242
242
|
/** Schedule ID. */
|
|
243
243
|
scheduleId?: string;
|
|
@@ -778,13 +778,6 @@ export interface QueryExtendedBookingsResponseNonNullableFields {
|
|
|
778
778
|
location?: {
|
|
779
779
|
locationType: LocationType;
|
|
780
780
|
};
|
|
781
|
-
resources: {
|
|
782
|
-
id: string;
|
|
783
|
-
}[];
|
|
784
|
-
flowSelectedResources: {
|
|
785
|
-
type: Type;
|
|
786
|
-
resourceIds: string[];
|
|
787
|
-
}[];
|
|
788
781
|
};
|
|
789
782
|
schedule?: {
|
|
790
783
|
scheduleId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SortOrder = exports.IdentityType = exports.Actor = exports.Platform = exports.SelectedPaymentOption = exports.PaymentStatus = exports.BookingStatus = exports.ValueType = exports.
|
|
3
|
+
exports.SortOrder = exports.IdentityType = exports.Actor = exports.Platform = exports.SelectedPaymentOption = exports.PaymentStatus = exports.BookingStatus = exports.ValueType = exports.LocationType = exports.MultiServiceBookingType = exports.AttendanceStatus = void 0;
|
|
4
4
|
var AttendanceStatus;
|
|
5
5
|
(function (AttendanceStatus) {
|
|
6
6
|
AttendanceStatus["NOT_SET"] = "NOT_SET";
|
|
@@ -30,11 +30,6 @@ var LocationType;
|
|
|
30
30
|
LocationType["OWNER_CUSTOM"] = "OWNER_CUSTOM";
|
|
31
31
|
LocationType["CUSTOM"] = "CUSTOM";
|
|
32
32
|
})(LocationType = exports.LocationType || (exports.LocationType = {}));
|
|
33
|
-
var Type;
|
|
34
|
-
(function (Type) {
|
|
35
|
-
Type["DO_NOT_CARE"] = "DO_NOT_CARE";
|
|
36
|
-
Type["SPECIFIC_RESOURCES"] = "SPECIFIC_RESOURCES";
|
|
37
|
-
})(Type = exports.Type || (exports.Type = {}));
|
|
38
33
|
var ValueType;
|
|
39
34
|
(function (ValueType) {
|
|
40
35
|
/** Short text. This is the default value type. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-reader-v2-extended-booking.types.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.types.ts"],"names":[],"mappings":";;;AAgBA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAkHD,IAAY,uBAcX;AAdD,WAAY,uBAAuB;IACjC;;;;OAIG;IACH,sEAA2C,CAAA;IAC3C;;;OAGG;IACH,kEAAuC,CAAA;IACvC,wBAAwB;IACxB,kEAAuC,CAAA;AACzC,CAAC,EAdW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAclC;
|
|
1
|
+
{"version":3,"file":"bookings-reader-v2-extended-booking.types.js","sourceRoot":"","sources":["../../../src/bookings-reader-v2-extended-booking.types.ts"],"names":[],"mappings":";;;AAgBA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAkHD,IAAY,uBAcX;AAdD,WAAY,uBAAuB;IACjC;;;;OAIG;IACH,sEAA2C,CAAA;IAC3C;;;OAGG;IACH,kEAAuC,CAAA;IACvC,wBAAwB;IACxB,kEAAuC,CAAA;AACzC,CAAC,EAdW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAclC;AAgGD,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB;AA+HD,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,kDAAkD;IAClD,sCAAyB,CAAA;IACzB,gBAAgB;IAChB,oCAAuB,CAAA;IACvB,qGAAqG;IACrG,oCAAuB,CAAA;AACzB,CAAC,EAPW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAOpB;AAED,sBAAsB;AACtB,IAAY,aAOX;AAPD,WAAY,aAAa;IACvB,oCAAmB,CAAA;IACnB,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,oCAAmB,CAAA;IACnB,sCAAqB,CAAA;IACrB,8CAA6B,CAAA;AAC/B,CAAC,EAPW,aAAa,GAAb,qBAAa,KAAb,qBAAa,QAOxB;AAED;;;GAGG;AACH,IAAY,aASX;AATD,WAAY,aAAa;IACvB,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,8BAAa,CAAA;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;AAuLD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
|
|
@@ -194,7 +194,12 @@ export interface BookedSlot {
|
|
|
194
194
|
endDate?: string | null;
|
|
195
195
|
/** The timezone according to which the slot was shown to the user when booking, and should be shown in future. */
|
|
196
196
|
timezone?: string | null;
|
|
197
|
-
/**
|
|
197
|
+
/**
|
|
198
|
+
* The enriched resource assigned to the slot, can be either the requested resource or the resource chosen by the system.
|
|
199
|
+
* When populated, the given resource will be booked according to it's availability.
|
|
200
|
+
* When empty, If `skip_availability_validation` is `false`, a random available resource will be assigned to the slot upon confirmation,
|
|
201
|
+
* otherwise one of the service resources will be assigned to the slot randomly upon confirmation.
|
|
202
|
+
*/
|
|
198
203
|
resource?: BookedResource;
|
|
199
204
|
/** Location where the slot's session takes place. */
|
|
200
205
|
location?: Location;
|
|
@@ -208,6 +213,11 @@ export interface BookedResource {
|
|
|
208
213
|
email?: string | null;
|
|
209
214
|
/** Resource's schedule ID. */
|
|
210
215
|
scheduleId?: string | null;
|
|
216
|
+
/**
|
|
217
|
+
* Indicates whether the resource was specifically requested or should be auto selected by the Server.
|
|
218
|
+
* The value will be true if the resource was explicitly given in the request, otherwise false.
|
|
219
|
+
*/
|
|
220
|
+
explicitlyRequested?: boolean | null;
|
|
211
221
|
}
|
|
212
222
|
export interface Location {
|
|
213
223
|
/**
|
|
@@ -234,16 +244,6 @@ export declare enum LocationType {
|
|
|
234
244
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
235
245
|
CUSTOM = "CUSTOM"
|
|
236
246
|
}
|
|
237
|
-
export interface GroupedResources {
|
|
238
|
-
resourceGroupId?: string | null;
|
|
239
|
-
type?: Type;
|
|
240
|
-
/** list of at most 10 resources, that can booked with this slot */
|
|
241
|
-
resourceIds?: string[];
|
|
242
|
-
}
|
|
243
|
-
export declare enum Type {
|
|
244
|
-
DO_NOT_CARE = "DO_NOT_CARE",
|
|
245
|
-
SPECIFIC_RESOURCES = "SPECIFIC_RESOURCES"
|
|
246
|
-
}
|
|
247
247
|
export interface BookedSchedule {
|
|
248
248
|
/** Schedule ID. */
|
|
249
249
|
scheduleId?: string;
|
|
@@ -28,7 +28,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28
28
|
});
|
|
29
29
|
};
|
|
30
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
-
exports.queryExtendedBookings = exports.SortOrder = exports.IdentityType = exports.Actor = exports.Platform = exports.SelectedPaymentOption = exports.PaymentStatus = exports.BookingStatus = exports.ValueType = exports.
|
|
31
|
+
exports.queryExtendedBookings = exports.SortOrder = exports.IdentityType = exports.Actor = exports.Platform = exports.SelectedPaymentOption = exports.PaymentStatus = exports.BookingStatus = exports.ValueType = exports.LocationType = exports.MultiServiceBookingType = exports.AttendanceStatus = exports.__debug = void 0;
|
|
32
32
|
const velo_1 = require("@wix/metro-runtime/velo");
|
|
33
33
|
const ambassadorWixBookingsReaderV2ExtendedBooking = __importStar(require("./bookings-reader-v2-extended-booking.http"));
|
|
34
34
|
let __verbose = false;
|
|
@@ -75,11 +75,6 @@ var LocationType;
|
|
|
75
75
|
LocationType["OWNER_CUSTOM"] = "OWNER_CUSTOM";
|
|
76
76
|
LocationType["CUSTOM"] = "CUSTOM";
|
|
77
77
|
})(LocationType = exports.LocationType || (exports.LocationType = {}));
|
|
78
|
-
var Type;
|
|
79
|
-
(function (Type) {
|
|
80
|
-
Type["DO_NOT_CARE"] = "DO_NOT_CARE";
|
|
81
|
-
Type["SPECIFIC_RESOURCES"] = "SPECIFIC_RESOURCES";
|
|
82
|
-
})(Type = exports.Type || (exports.Type = {}));
|
|
83
78
|
var ValueType;
|
|
84
79
|
(function (ValueType) {
|
|
85
80
|
/** Short text. This is the default value type. */
|
|
@@ -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,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,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,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AAkB5B,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,uCAAmB,CAAA;IACnB,yCAAqB,CAAA;IACrB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAkHD,IAAY,uBAcX;AAdD,WAAY,uBAAuB;IACjC;;;;OAIG;IACH,sEAA2C,CAAA;IAC3C;;;OAGG;IACH,kEAAuC,CAAA;IACvC,wBAAwB;IACxB,kEAAuC,CAAA;AACzC,CAAC,EAdW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAclC;
|
|
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,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GA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AAC,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;AA7DD,sDA6DC"}
|
|
@@ -13,5 +13,5 @@ export declare function cancelBooking(httpClient: HttpClient): (bookingId: strin
|
|
|
13
13
|
export declare function updateNumberOfParticipants(httpClient: HttpClient): (bookingId: string, options?: UpdateNumberOfParticipantsOptions | undefined) => Promise<import("./bookings-v2-booking.universal").UpdateNumberOfParticipantsResponse & import("./bookings-v2-booking.universal").UpdateNumberOfParticipantsResponseNonNullableFields>;
|
|
14
14
|
export declare function confirmOrDeclineBooking(httpClient: HttpClient): (bookingId: string, options?: ConfirmOrDeclineBookingOptions | undefined) => Promise<import("./bookings-v2-booking.universal").ConfirmOrDeclineBookingResponse & import("./bookings-v2-booking.universal").ConfirmOrDeclineBookingResponseNonNullableFields>;
|
|
15
15
|
export declare function bulkConfirmOrDeclineBooking(httpClient: HttpClient): (details: BulkConfirmOrDeclineBookingRequestBookingDetails[], options?: BulkConfirmOrDeclineBookingOptions | undefined) => Promise<import("./bookings-v2-booking.universal").BulkConfirmOrDeclineBookingResponse & import("./bookings-v2-booking.universal").BulkConfirmOrDeclineBookingResponseNonNullableFields>;
|
|
16
|
-
export { MultiServiceBookingType, LocationType,
|
|
17
|
-
export { Booking, BookingParticipantsInfoOneOf, BookedEntity, BookedEntityItemOneOf, BookedSlot, BookedResource, Location,
|
|
16
|
+
export { MultiServiceBookingType, LocationType, ValueType, BookingStatus, PaymentStatus, SelectedPaymentOption, Platform, Actor, IdentificationDataIdentityType, LocationLocationType, IdentityType, SortOrder, } from './bookings-v2-booking.universal';
|
|
17
|
+
export { Booking, BookingParticipantsInfoOneOf, BookedEntity, BookedEntityItemOneOf, BookedSlot, BookedResource, Location, BookedSchedule, ContactDetails, Address, AddressStreetOneOf, StreetAddress, AddressLocation, Subdivision, CustomFormField, BookingSource, ParticipantNotification, CommonIdentificationData, CommonIdentificationDataIdOneOf, FlowControlSettings, ExtendedFields, ParticipantChoices, ServiceChoices, ServiceChoice, ServiceChoiceChoiceOneOf, MultiServiceBookingInfo, CreateMultiServiceBookingRequest, CreateBookingFlowControlSettings, CreateMultiServiceBookingResponse, MultiServiceBooking, BookingResult, RescheduleMultiServiceBookingRequest, V2Slot, SlotSlotResource, SlotLocation, RescheduleMultiServiceBookingRequestRescheduleBookingInfo, RescheduleMultiServiceBookingRequestRescheduleBookingInfoParticipantsInfoOneOf, RescheduleBookingFlowControlSettings, RescheduleMultiServiceBookingResponse, BookingRescheduled, BookingRescheduledPreviousParticipantsInfoOneOf, IdentificationData, IdentificationDataIdOneOf, GetMultiServiceBookingAvailabilityRequest, GetMultiServiceBookingAvailabilityResponse, BookingPolicyViolations, BookingPolicySettings, GetMultiServiceBookingAvailabilityResponseBookingInfo, CancelMultiServiceBookingRequest, CancelBookingFlowControlSettings, CancelMultiServiceBookingResponse, BookingCanceled, MarkMultiServiceBookingAsPendingRequest, BookingInfo, MarkBookingAsPendingFlowControlSettings, MarkMultiServiceBookingAsPendingResponse, ConfirmMultiServiceBookingRequest, ConfirmBookingFlowControlSettings, ConfirmMultiServiceBookingResponse, BookingConfirmed, DeclineMultiServiceBookingRequest, DeclineMultiServiceBookingResponse, BookingDeclined, BulkGetMultiServiceBookingAllowedActionsRequest, BulkGetMultiServiceBookingAllowedActionsResponse, BulkCalculateAllowedActionsResult, ItemMetadata, ApplicationError, AllowedActions, BulkActionMetadata, MarkAsMultiServiceBookingRequest, MarkAsMultiServiceBookingResponse, GetMultiServiceBookingRequest, GetMultiServiceBookingResponse, AddBookingsToMultiServiceBookingRequest, BookingIdAndRevision, AddBookingsToMultiServiceBookingResponse, RemoveBookingsFromMultiServiceBookingRequest, RemoveBookingsFromMultiServiceBookingResponse, BookingChanged, CreateBookingRequest, CreateBookingResponse, UpdateBookingRequest, UpdateBookingResponse, LegacyCreateBookingRequest, LegacyCreateBookingResponse, BulkUpdateBookingRequest, MaskedBooking, BulkUpdateBookingResponse, BulkCreateBookingRequest, CreateBookingInfo, BulkCreateBookingResponse, BulkBookingResult, RescheduleBookingRequest, RescheduleBookingRequestParticipantsInfoOneOf, RescheduleBookingResponse, BulkRescheduleBookingRequest, BulkRescheduleBookingRequestBooking, SlotBookings, BulkRescheduleBookingResponse, BulkUpdateBookedScheduleRequest, BookingDetails, BulkUpdateBookedScheduleResponse, QueryBookingsRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryBookingsResponse, PagingMetadataV2, Cursors, ConfirmRequest, ConfirmResponse, ConfirmBookingRequest, ConfirmBookingResponse, PartySizeRequest, PartySizeRequestPartySizeForOneOf, PartySizeResponse, ConsistentQueryBookingsRequest, ConsistentQueryBookingsResponse, SetBookingSessionIdRequest, SetBookingSessionIdResponse, UpdateExtendedFieldsRequest, UpdateExtendedFieldsResponse, DeclineBookingRequest, DeclineBookingResponse, CancelBookingRequest, CancelBookingResponse, UpdateNumberOfParticipantsRequest, UpdateNumberOfParticipantsRequestParticipantsInfoOneOf, UpdateNumberOfParticipantsResponse, NumberOfParticipantsUpdated, NumberOfParticipantsUpdatedPreviousParticipantsInfoOneOf, CalculateAllowedActionsRequest, CalculateAllowedActionsResponse, BulkCalculateAllowedActionsRequest, BulkCalculateAllowedActionsResponse, GetSlotAvailabilityRequest, GetSlotAvailabilityResponse, SlotAvailability, WaitingList, GetScheduleAvailabilityRequest, GetScheduleAvailabilityResponse, ScheduleAvailability, MarkBookingAsPendingRequest, MarkBookingAsPendingResponse, BookingMarkedAsPending, ConfirmOrDeclineBookingRequest, ConfirmOrDeclineBookingResponse, BulkConfirmOrDeclineBookingRequest, BulkConfirmOrDeclineBookingRequestBookingDetails, BulkConfirmOrDeclineBookingResponse, V2CreateBookingRequest, V2CreateBookingRequestBookableItemOneOf, V2CreateBookingRequestParticipantsInfoOneOf, Slot, SlotResource, CreateBookingRequestFlowControlSettings, V2CreateBookingResponse, V2CancelBookingRequest, V2CancelBookingRequestFlowControlSettings, V2CancelBookingResponse, V2RescheduleBookingRequest, V2RescheduleBookingRequestParticipantsInfoOneOf, V2RescheduleBookingRequestFlowControlSettings, V2RescheduleBookingResponse, V2ConfirmBookingRequest, V2ConfirmBookingResponse, V2DeclineBookingRequest, V2DeclineBookingResponse, V2UpdateNumberOfParticipantsRequest, V2UpdateNumberOfParticipantsRequestParticipantsInfoOneOf, V2UpdateNumberOfParticipantsResponse, CreateBookingResponseNonNullableFields, BulkCreateBookingResponseNonNullableFields, RescheduleBookingResponseNonNullableFields, ConfirmBookingResponseNonNullableFields, UpdateExtendedFieldsResponseNonNullableFields, DeclineBookingResponseNonNullableFields, CancelBookingResponseNonNullableFields, UpdateNumberOfParticipantsResponseNonNullableFields, ConfirmOrDeclineBookingResponseNonNullableFields, BulkConfirmOrDeclineBookingResponseNonNullableFields, CreateBookingOptions, BulkCreateBookingOptions, RescheduleBookingOptions, ConfirmBookingOptions, UpdateExtendedFieldsOptions, DeclineBookingOptions, CancelBookingOptions, UpdateNumberOfParticipantsOptions, ConfirmOrDeclineBookingOptions, BulkConfirmOrDeclineBookingOptions, } from './bookings-v2-booking.universal';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SortOrder = exports.IdentityType = exports.LocationLocationType = exports.IdentificationDataIdentityType = exports.Actor = exports.Platform = exports.SelectedPaymentOption = exports.PaymentStatus = exports.BookingStatus = exports.ValueType = exports.
|
|
3
|
+
exports.SortOrder = exports.IdentityType = exports.LocationLocationType = exports.IdentificationDataIdentityType = exports.Actor = exports.Platform = exports.SelectedPaymentOption = exports.PaymentStatus = exports.BookingStatus = exports.ValueType = exports.LocationType = exports.MultiServiceBookingType = exports.bulkConfirmOrDeclineBooking = exports.confirmOrDeclineBooking = exports.updateNumberOfParticipants = exports.cancelBooking = exports.declineBooking = exports.updateExtendedFields = exports.confirmBooking = exports.rescheduleBooking = exports.bulkCreateBooking = exports.createBooking = exports.__metadata = void 0;
|
|
4
4
|
const bookings_v2_booking_universal_1 = require("./bookings-v2-booking.universal");
|
|
5
5
|
exports.__metadata = { PACKAGE_NAME: '@wix/bookings' };
|
|
6
6
|
function createBooking(httpClient) {
|
|
@@ -66,7 +66,6 @@ exports.bulkConfirmOrDeclineBooking = bulkConfirmOrDeclineBooking;
|
|
|
66
66
|
var bookings_v2_booking_universal_2 = require("./bookings-v2-booking.universal");
|
|
67
67
|
Object.defineProperty(exports, "MultiServiceBookingType", { enumerable: true, get: function () { return bookings_v2_booking_universal_2.MultiServiceBookingType; } });
|
|
68
68
|
Object.defineProperty(exports, "LocationType", { enumerable: true, get: function () { return bookings_v2_booking_universal_2.LocationType; } });
|
|
69
|
-
Object.defineProperty(exports, "Type", { enumerable: true, get: function () { return bookings_v2_booking_universal_2.Type; } });
|
|
70
69
|
Object.defineProperty(exports, "ValueType", { enumerable: true, get: function () { return bookings_v2_booking_universal_2.ValueType; } });
|
|
71
70
|
Object.defineProperty(exports, "BookingStatus", { enumerable: true, get: function () { return bookings_v2_booking_universal_2.BookingStatus; } });
|
|
72
71
|
Object.defineProperty(exports, "PaymentStatus", { enumerable: true, get: function () { return bookings_v2_booking_universal_2.PaymentStatus; } });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v2-booking.public.js","sourceRoot":"","sources":["../../../src/bookings-v2-booking.public.ts"],"names":[],"mappings":";;;AACA,mFAyByC;AAE5B,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,OAAgB,EAAE,OAA8B,EAAE,EAAE,CAC1D,IAAA,6CAAsB,EAC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EAAE,CAC3D,IAAA,6CAAsB,EACpB,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,sCAQC;AAED,SAAgB,0BAA0B,CAAC,UAAsB;IAC/D,OAAO,CAAC,SAAiB,EAAE,OAA2C,EAAE,EAAE,CACxE,IAAA,0DAAmC,EACjC,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,gEAQC;AAED,SAAgB,uBAAuB,CAAC,UAAsB;IAC5D,OAAO,CAAC,SAAiB,EAAE,OAAwC,EAAE,EAAE,CACrE,IAAA,uDAAgC,EAC9B,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,0DAQC;AAED,SAAgB,2BAA2B,CAAC,UAAsB;IAChE,OAAO,CACL,OAA2D,EAC3D,OAA4C,EAC5C,EAAE,CACF,IAAA,2DAAoC,EAClC,OAAO,EACP,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAXD,kEAWC;AAED,
|
|
1
|
+
{"version":3,"file":"bookings-v2-booking.public.js","sourceRoot":"","sources":["../../../src/bookings-v2-booking.public.ts"],"names":[],"mappings":";;;AACA,mFAyByC;AAE5B,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,CAAC,OAAgB,EAAE,OAA8B,EAAE,EAAE,CAC1D,IAAA,6CAAsB,EACpB,OAAO,EACP,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,sCAQC;AAED,SAAgB,iBAAiB,CAAC,UAAsB;IACtD,OAAO,CACL,kBAAuC,EACvC,OAAkC,EAClC,EAAE,CACF,IAAA,iDAA0B,EACxB,kBAAkB,EAClB,OAAO;IACP,aAAa;IACb,EAAE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T,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,gEAQC;AAED,SAAgB,uBAAuB,CAAC,UAAsB;IAC5D,OAAO,CAAC,SAAiB,EAAE,OAAwC,EAAE,EAAE,CACrE,IAAA,uDAAgC,EAC9B,SAAS,EACT,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,0DAQC;AAED,SAAgB,2BAA2B,CAAC,UAAsB;IAChE,OAAO,CACL,OAA2D,EAC3D,OAA4C,EAC5C,EAAE,CACF,IAAA,2DAAoC,EAClC,OAAO,EACP,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAXD,kEAWC;AAED,iFAayC;AAZvC,wIAAA,uBAAuB,OAAA;AACvB,6HAAA,YAAY,OAAA;AACZ,0HAAA,SAAS,OAAA;AACT,8HAAA,aAAa,OAAA;AACb,8HAAA,aAAa,OAAA;AACb,sIAAA,qBAAqB,OAAA;AACrB,yHAAA,QAAQ,OAAA;AACR,sHAAA,KAAK,OAAA;AACL,+IAAA,8BAA8B,OAAA;AAC9B,qIAAA,oBAAoB,OAAA;AACpB,6HAAA,YAAY,OAAA;AACZ,0HAAA,SAAS,OAAA"}
|
|
@@ -168,7 +168,12 @@ export interface BookedSlot {
|
|
|
168
168
|
endDate?: string | null;
|
|
169
169
|
/** The timezone according to which the slot was shown to the user when booking, and should be shown in future. */
|
|
170
170
|
timezone?: string | null;
|
|
171
|
-
/**
|
|
171
|
+
/**
|
|
172
|
+
* The enriched resource assigned to the slot, can be either the requested resource or the resource chosen by the system.
|
|
173
|
+
* When populated, the given resource will be booked according to it's availability.
|
|
174
|
+
* When empty, If `skip_availability_validation` is `false`, a random available resource will be assigned to the slot upon confirmation,
|
|
175
|
+
* otherwise one of the service resources will be assigned to the slot randomly upon confirmation.
|
|
176
|
+
*/
|
|
172
177
|
resource?: BookedResource;
|
|
173
178
|
/** Location where the slot's session takes place. */
|
|
174
179
|
location?: Location;
|
|
@@ -182,6 +187,11 @@ export interface BookedResource {
|
|
|
182
187
|
email?: string | null;
|
|
183
188
|
/** Resource's schedule ID. */
|
|
184
189
|
scheduleId?: string | null;
|
|
190
|
+
/**
|
|
191
|
+
* Indicates whether the resource was specifically requested or should be auto selected by the Server.
|
|
192
|
+
* The value will be true if the resource was explicitly given in the request, otherwise false.
|
|
193
|
+
*/
|
|
194
|
+
explicitlyRequested?: boolean | null;
|
|
185
195
|
}
|
|
186
196
|
export interface Location {
|
|
187
197
|
/**
|
|
@@ -208,16 +218,6 @@ export declare enum LocationType {
|
|
|
208
218
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
209
219
|
CUSTOM = "CUSTOM"
|
|
210
220
|
}
|
|
211
|
-
export interface GroupedResources {
|
|
212
|
-
resourceGroupId?: string | null;
|
|
213
|
-
type?: Type;
|
|
214
|
-
/** list of at most 10 resources, that can booked with this slot */
|
|
215
|
-
resourceIds?: string[];
|
|
216
|
-
}
|
|
217
|
-
export declare enum Type {
|
|
218
|
-
DO_NOT_CARE = "DO_NOT_CARE",
|
|
219
|
-
SPECIFIC_RESOURCES = "SPECIFIC_RESOURCES"
|
|
220
|
-
}
|
|
221
221
|
export interface BookedSchedule {
|
|
222
222
|
/** Schedule ID. */
|
|
223
223
|
scheduleId?: string;
|
|
@@ -636,7 +636,12 @@ export interface V2Slot {
|
|
|
636
636
|
endDate?: string | null;
|
|
637
637
|
/** The timezone according to which the slot is calculated presented. */
|
|
638
638
|
timezone?: string | null;
|
|
639
|
-
/**
|
|
639
|
+
/**
|
|
640
|
+
* The resource required for this slot.
|
|
641
|
+
* When populated, the given resource will be assigned to the slot upon confirmation according to it's availability.
|
|
642
|
+
* When empty, If `skip_availability_validation` is `false`, a random available resource will be assigned to the slot upon confirmation,
|
|
643
|
+
* otherwise one of the service resources will be assigned to the slot randomly upon confirmation.
|
|
644
|
+
*/
|
|
640
645
|
resource?: SlotSlotResource;
|
|
641
646
|
/** Geographic location of the slot. */
|
|
642
647
|
location?: SlotLocation;
|
|
@@ -2197,13 +2202,6 @@ export interface CreateBookingResponseNonNullableFields {
|
|
|
2197
2202
|
location?: {
|
|
2198
2203
|
locationType: LocationType;
|
|
2199
2204
|
};
|
|
2200
|
-
resources: {
|
|
2201
|
-
id: string;
|
|
2202
|
-
}[];
|
|
2203
|
-
flowSelectedResources: {
|
|
2204
|
-
type: Type;
|
|
2205
|
-
resourceIds: string[];
|
|
2206
|
-
}[];
|
|
2207
2205
|
};
|
|
2208
2206
|
schedule?: {
|
|
2209
2207
|
scheduleId: string;
|
|
@@ -2287,13 +2285,6 @@ export interface BulkCreateBookingResponseNonNullableFields {
|
|
|
2287
2285
|
location?: {
|
|
2288
2286
|
locationType: LocationType;
|
|
2289
2287
|
};
|
|
2290
|
-
resources: {
|
|
2291
|
-
id: string;
|
|
2292
|
-
}[];
|
|
2293
|
-
flowSelectedResources: {
|
|
2294
|
-
type: Type;
|
|
2295
|
-
resourceIds: string[];
|
|
2296
|
-
}[];
|
|
2297
2288
|
};
|
|
2298
2289
|
schedule?: {
|
|
2299
2290
|
scheduleId: string;
|
|
@@ -2374,13 +2365,6 @@ export interface RescheduleBookingResponseNonNullableFields {
|
|
|
2374
2365
|
location?: {
|
|
2375
2366
|
locationType: LocationType;
|
|
2376
2367
|
};
|
|
2377
|
-
resources: {
|
|
2378
|
-
id: string;
|
|
2379
|
-
}[];
|
|
2380
|
-
flowSelectedResources: {
|
|
2381
|
-
type: Type;
|
|
2382
|
-
resourceIds: string[];
|
|
2383
|
-
}[];
|
|
2384
2368
|
};
|
|
2385
2369
|
schedule?: {
|
|
2386
2370
|
scheduleId: string;
|
|
@@ -2455,13 +2439,6 @@ export interface ConfirmBookingResponseNonNullableFields {
|
|
|
2455
2439
|
location?: {
|
|
2456
2440
|
locationType: LocationType;
|
|
2457
2441
|
};
|
|
2458
|
-
resources: {
|
|
2459
|
-
id: string;
|
|
2460
|
-
}[];
|
|
2461
|
-
flowSelectedResources: {
|
|
2462
|
-
type: Type;
|
|
2463
|
-
resourceIds: string[];
|
|
2464
|
-
}[];
|
|
2465
2442
|
};
|
|
2466
2443
|
schedule?: {
|
|
2467
2444
|
scheduleId: string;
|
|
@@ -2539,13 +2516,6 @@ export interface DeclineBookingResponseNonNullableFields {
|
|
|
2539
2516
|
location?: {
|
|
2540
2517
|
locationType: LocationType;
|
|
2541
2518
|
};
|
|
2542
|
-
resources: {
|
|
2543
|
-
id: string;
|
|
2544
|
-
}[];
|
|
2545
|
-
flowSelectedResources: {
|
|
2546
|
-
type: Type;
|
|
2547
|
-
resourceIds: string[];
|
|
2548
|
-
}[];
|
|
2549
2519
|
};
|
|
2550
2520
|
schedule?: {
|
|
2551
2521
|
scheduleId: string;
|
|
@@ -2620,13 +2590,6 @@ export interface CancelBookingResponseNonNullableFields {
|
|
|
2620
2590
|
location?: {
|
|
2621
2591
|
locationType: LocationType;
|
|
2622
2592
|
};
|
|
2623
|
-
resources: {
|
|
2624
|
-
id: string;
|
|
2625
|
-
}[];
|
|
2626
|
-
flowSelectedResources: {
|
|
2627
|
-
type: Type;
|
|
2628
|
-
resourceIds: string[];
|
|
2629
|
-
}[];
|
|
2630
2593
|
};
|
|
2631
2594
|
schedule?: {
|
|
2632
2595
|
scheduleId: string;
|
|
@@ -2701,13 +2664,6 @@ export interface UpdateNumberOfParticipantsResponseNonNullableFields {
|
|
|
2701
2664
|
location?: {
|
|
2702
2665
|
locationType: LocationType;
|
|
2703
2666
|
};
|
|
2704
|
-
resources: {
|
|
2705
|
-
id: string;
|
|
2706
|
-
}[];
|
|
2707
|
-
flowSelectedResources: {
|
|
2708
|
-
type: Type;
|
|
2709
|
-
resourceIds: string[];
|
|
2710
|
-
}[];
|
|
2711
2667
|
};
|
|
2712
2668
|
schedule?: {
|
|
2713
2669
|
scheduleId: string;
|
|
@@ -2782,13 +2738,6 @@ export interface ConfirmOrDeclineBookingResponseNonNullableFields {
|
|
|
2782
2738
|
location?: {
|
|
2783
2739
|
locationType: LocationType;
|
|
2784
2740
|
};
|
|
2785
|
-
resources: {
|
|
2786
|
-
id: string;
|
|
2787
|
-
}[];
|
|
2788
|
-
flowSelectedResources: {
|
|
2789
|
-
type: Type;
|
|
2790
|
-
resourceIds: string[];
|
|
2791
|
-
}[];
|
|
2792
2741
|
};
|
|
2793
2742
|
schedule?: {
|
|
2794
2743
|
scheduleId: string;
|
|
@@ -2872,13 +2821,6 @@ export interface BulkConfirmOrDeclineBookingResponseNonNullableFields {
|
|
|
2872
2821
|
location?: {
|
|
2873
2822
|
locationType: LocationType;
|
|
2874
2823
|
};
|
|
2875
|
-
resources: {
|
|
2876
|
-
id: string;
|
|
2877
|
-
}[];
|
|
2878
|
-
flowSelectedResources: {
|
|
2879
|
-
type: Type;
|
|
2880
|
-
resourceIds: string[];
|
|
2881
|
-
}[];
|
|
2882
2824
|
};
|
|
2883
2825
|
schedule?: {
|
|
2884
2826
|
scheduleId: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SortOrder = exports.IdentityType = exports.LocationLocationType = exports.IdentificationDataIdentityType = exports.Actor = exports.Platform = exports.SelectedPaymentOption = exports.PaymentStatus = exports.BookingStatus = exports.ValueType = exports.
|
|
3
|
+
exports.SortOrder = exports.IdentityType = exports.LocationLocationType = exports.IdentificationDataIdentityType = exports.Actor = exports.Platform = exports.SelectedPaymentOption = exports.PaymentStatus = exports.BookingStatus = exports.ValueType = exports.LocationType = exports.MultiServiceBookingType = void 0;
|
|
4
4
|
var MultiServiceBookingType;
|
|
5
5
|
(function (MultiServiceBookingType) {
|
|
6
6
|
/**
|
|
@@ -24,11 +24,6 @@ var LocationType;
|
|
|
24
24
|
LocationType["OWNER_CUSTOM"] = "OWNER_CUSTOM";
|
|
25
25
|
LocationType["CUSTOM"] = "CUSTOM";
|
|
26
26
|
})(LocationType = exports.LocationType || (exports.LocationType = {}));
|
|
27
|
-
var Type;
|
|
28
|
-
(function (Type) {
|
|
29
|
-
Type["DO_NOT_CARE"] = "DO_NOT_CARE";
|
|
30
|
-
Type["SPECIFIC_RESOURCES"] = "SPECIFIC_RESOURCES";
|
|
31
|
-
})(Type = exports.Type || (exports.Type = {}));
|
|
32
27
|
var ValueType;
|
|
33
28
|
(function (ValueType) {
|
|
34
29
|
/** Short text. This is the default value type. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-v2-booking.types.js","sourceRoot":"","sources":["../../../src/bookings-v2-booking.types.ts"],"names":[],"mappings":";;;AAgHA,IAAY,uBAcX;AAdD,WAAY,uBAAuB;IACjC;;;;OAIG;IACH,sEAA2C,CAAA;IAC3C;;;OAGG;IACH,kEAAuC,CAAA;IACvC,wBAAwB;IACxB,kEAAuC,CAAA;AACzC,CAAC,EAdW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAclC;
|
|
1
|
+
{"version":3,"file":"bookings-v2-booking.types.js","sourceRoot":"","sources":["../../../src/bookings-v2-booking.types.ts"],"names":[],"mappings":";;;AAgHA,IAAY,uBAcX;AAdD,WAAY,uBAAuB;IACjC;;;;OAIG;IACH,sEAA2C,CAAA;IAC3C;;;OAGG;IACH,kEAAuC,CAAA;IACvC,wBAAwB;IACxB,kEAAuC,CAAA;AACzC,CAAC,EAdW,uBAAuB,GAAvB,+BAAuB,KAAvB,+BAAuB,QAclC;AAgGD,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB;AA+HD,IAAY,SAOX;AAPD,WAAY,SAAS;IACnB,kDAAkD;IAClD,sCAAyB,CAAA;IACzB,gBAAgB;IAChB,oCAAuB,CAAA;IACvB,qGAAqG;IACrG,oCAAuB,CAAA;AACzB,CAAC,EAPW,SA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9B,sCAA8B,KAA9B,sCAA8B,QAMzC;AA0MD,IAAY,oBAKX;AALD,WAAY,oBAAoB;IAC9B,+CAAuB,CAAA;IACvB,yDAAiC,CAAA;IACjC,qDAA6B,CAAA;IAC7B,yCAAiB,CAAA;AACnB,CAAC,EALW,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAK/B;AA8KD,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;AA8oBD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB"}
|
|
@@ -172,7 +172,12 @@ export interface BookedSlot {
|
|
|
172
172
|
endDate?: string | null;
|
|
173
173
|
/** The timezone according to which the slot was shown to the user when booking, and should be shown in future. */
|
|
174
174
|
timezone?: string | null;
|
|
175
|
-
/**
|
|
175
|
+
/**
|
|
176
|
+
* The enriched resource assigned to the slot, can be either the requested resource or the resource chosen by the system.
|
|
177
|
+
* When populated, the given resource will be booked according to it's availability.
|
|
178
|
+
* When empty, If `skip_availability_validation` is `false`, a random available resource will be assigned to the slot upon confirmation,
|
|
179
|
+
* otherwise one of the service resources will be assigned to the slot randomly upon confirmation.
|
|
180
|
+
*/
|
|
176
181
|
resource?: BookedResource;
|
|
177
182
|
/** Location where the slot's session takes place. */
|
|
178
183
|
location?: Location;
|
|
@@ -186,6 +191,11 @@ export interface BookedResource {
|
|
|
186
191
|
email?: string | null;
|
|
187
192
|
/** Resource's schedule ID. */
|
|
188
193
|
scheduleId?: string | null;
|
|
194
|
+
/**
|
|
195
|
+
* Indicates whether the resource was specifically requested or should be auto selected by the Server.
|
|
196
|
+
* The value will be true if the resource was explicitly given in the request, otherwise false.
|
|
197
|
+
*/
|
|
198
|
+
explicitlyRequested?: boolean | null;
|
|
189
199
|
}
|
|
190
200
|
export interface Location {
|
|
191
201
|
/**
|
|
@@ -212,16 +222,6 @@ export declare enum LocationType {
|
|
|
212
222
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
213
223
|
CUSTOM = "CUSTOM"
|
|
214
224
|
}
|
|
215
|
-
export interface GroupedResources {
|
|
216
|
-
resourceGroupId?: string | null;
|
|
217
|
-
type?: Type;
|
|
218
|
-
/** list of at most 10 resources, that can booked with this slot */
|
|
219
|
-
resourceIds?: string[];
|
|
220
|
-
}
|
|
221
|
-
export declare enum Type {
|
|
222
|
-
DO_NOT_CARE = "DO_NOT_CARE",
|
|
223
|
-
SPECIFIC_RESOURCES = "SPECIFIC_RESOURCES"
|
|
224
|
-
}
|
|
225
225
|
export interface BookedSchedule {
|
|
226
226
|
/** Schedule ID. */
|
|
227
227
|
scheduleId?: string;
|
|
@@ -638,7 +638,12 @@ export interface V2Slot {
|
|
|
638
638
|
endDate?: string | null;
|
|
639
639
|
/** The timezone according to which the slot is calculated presented. */
|
|
640
640
|
timezone?: string | null;
|
|
641
|
-
/**
|
|
641
|
+
/**
|
|
642
|
+
* The resource required for this slot.
|
|
643
|
+
* When populated, the given resource will be assigned to the slot upon confirmation according to it's availability.
|
|
644
|
+
* When empty, If `skip_availability_validation` is `false`, a random available resource will be assigned to the slot upon confirmation,
|
|
645
|
+
* otherwise one of the service resources will be assigned to the slot randomly upon confirmation.
|
|
646
|
+
*/
|
|
642
647
|
resource?: SlotSlotResource;
|
|
643
648
|
/** Geographic location of the slot. */
|
|
644
649
|
location?: SlotLocation;
|
|
@@ -28,7 +28,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
28
28
|
});
|
|
29
29
|
};
|
|
30
30
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
31
|
-
exports.bulkConfirmOrDeclineBooking = exports.confirmOrDeclineBooking = exports.updateNumberOfParticipants = exports.cancelBooking = exports.declineBooking = exports.updateExtendedFields = exports.confirmBooking = exports.rescheduleBooking = exports.bulkCreateBooking = exports.createBooking = exports.SortOrder = exports.IdentityType = exports.LocationLocationType = exports.IdentificationDataIdentityType = exports.Actor = exports.Platform = exports.SelectedPaymentOption = exports.PaymentStatus = exports.BookingStatus = exports.ValueType = exports.
|
|
31
|
+
exports.bulkConfirmOrDeclineBooking = exports.confirmOrDeclineBooking = exports.updateNumberOfParticipants = exports.cancelBooking = exports.declineBooking = exports.updateExtendedFields = exports.confirmBooking = exports.rescheduleBooking = exports.bulkCreateBooking = exports.createBooking = exports.SortOrder = exports.IdentityType = exports.LocationLocationType = exports.IdentificationDataIdentityType = exports.Actor = exports.Platform = exports.SelectedPaymentOption = exports.PaymentStatus = exports.BookingStatus = exports.ValueType = exports.LocationType = exports.MultiServiceBookingType = exports.__debug = void 0;
|
|
32
32
|
const velo_1 = require("@wix/metro-runtime/velo");
|
|
33
33
|
const ambassadorWixBookingsV2Booking = __importStar(require("./bookings-v2-booking.http"));
|
|
34
34
|
let __verbose = false;
|
|
@@ -69,11 +69,6 @@ var LocationType;
|
|
|
69
69
|
LocationType["OWNER_CUSTOM"] = "OWNER_CUSTOM";
|
|
70
70
|
LocationType["CUSTOM"] = "CUSTOM";
|
|
71
71
|
})(LocationType = exports.LocationType || (exports.LocationType = {}));
|
|
72
|
-
var Type;
|
|
73
|
-
(function (Type) {
|
|
74
|
-
Type["DO_NOT_CARE"] = "DO_NOT_CARE";
|
|
75
|
-
Type["SPECIFIC_RESOURCES"] = "SPECIFIC_RESOURCES";
|
|
76
|
-
})(Type = exports.Type || (exports.Type = {}));
|
|
77
72
|
var ValueType;
|
|
78
73
|
(function (ValueType) {
|
|
79
74
|
/** Short text. This is the default value type. */
|