@wix/bookings 1.0.74 → 1.0.75
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-services-v2-service.public.d.ts +2 -2
- package/build/cjs/src/bookings-services-v2-service.public.js +2 -1
- package/build/cjs/src/bookings-services-v2-service.public.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.types.d.ts +57 -1
- package/build/cjs/src/bookings-services-v2-service.types.js +20 -1
- package/build/cjs/src/bookings-services-v2-service.types.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.universal.d.ts +57 -1
- package/build/cjs/src/bookings-services-v2-service.universal.js +20 -1
- package/build/cjs/src/bookings-services-v2-service.universal.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.public.d.ts +2 -2
- package/build/es/src/bookings-services-v2-service.public.js +1 -1
- package/build/es/src/bookings-services-v2-service.public.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.types.d.ts +57 -1
- package/build/es/src/bookings-services-v2-service.types.js +19 -0
- package/build/es/src/bookings-services-v2-service.types.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.universal.d.ts +57 -1
- package/build/es/src/bookings-services-v2-service.universal.js +19 -0
- package/build/es/src/bookings-services-v2-service.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpClient } from '@wix/sdk-types';
|
|
2
2
|
export declare function getService(httpClient: HttpClient): (serviceId: string) => Promise<import("./bookings-services-v2-service.universal").Service>;
|
|
3
3
|
export declare function queryServices(httpClient: HttpClient): () => import("./bookings-services-v2-service.universal").ServicesQueryBuilder;
|
|
4
|
-
export { ServiceType, RateType, LocationType, SortOrder, Status, Event, InvalidSlugError, } from './bookings-services-v2-service.universal';
|
|
5
|
-
export { Service, Media, MediaItem, MediaItemItemOneOf, V2Category, Form, FormSettings, Payment, PaymentRateOneOf, FixedPayment, Money, CustomPayment, VariedPayment, PaymentOptions, OnlineBooking, Conferencing, Location, LocationOptionsOneOf, Address, AddressStreetOneOf, StreetAddress, AddressLocation, BusinessLocationOptions, CustomLocationOptions, BookingPolicy, PolicyDescription, LimitEarlyBookingPolicy, LimitLateBookingPolicy, BookAfterStartPolicy, CancellationPolicy, ReschedulePolicy, WaitlistPolicy, ParticipantsPolicy, Schedule, AvailabilityConstraints, Slug, URLs, ExtendedFields, SeoSchema, Keyword, Tag, Settings, CreateServiceRequest, CreateServiceResponse, GetServiceRequest, GetServiceResponse, UpdateServiceRequest, UpdateServiceResponse, DeleteServiceRequest, DeleteServiceResponse, QueryServicesRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryServicesResponse, PagingMetadataV2, Cursors, CountServicesRequest, CountServicesResponse, CategoryNotification, Category, Empty, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, ExtendedFieldsUpdatedEvent, AddStaffMembersToServiceRequest, AddStaffMembersToServiceResponse, StaffMember, InvalidStaffMember, RemoveStaffMembersFromServiceRequest, RemoveStaffMembersFromServiceResponse, ConnectPricingPlansToServiceRequest, ConnectPricingPlansToServiceResponse, InvalidPricingPlan, DisconnectPricingPlansFromServiceRequest, DisconnectPricingPlansFromServiceResponse, SetCustomSlugRequest, SetCustomSlugResponse, ValidateSlugRequest, ValidateSlugResponse, ServicesQueryResult, ServicesQueryBuilder, } from './bookings-services-v2-service.universal';
|
|
4
|
+
export { ServiceType, RateType, LocationType, SortOrder, Status, Event, Action, InvalidSlugError, } from './bookings-services-v2-service.universal';
|
|
5
|
+
export { Service, Media, MediaItem, MediaItemItemOneOf, V2Category, Form, FormSettings, Payment, PaymentRateOneOf, FixedPayment, Money, CustomPayment, VariedPayment, PaymentOptions, OnlineBooking, Conferencing, Location, LocationOptionsOneOf, Address, AddressStreetOneOf, StreetAddress, AddressLocation, BusinessLocationOptions, CustomLocationOptions, BookingPolicy, PolicyDescription, LimitEarlyBookingPolicy, LimitLateBookingPolicy, BookAfterStartPolicy, CancellationPolicy, ReschedulePolicy, WaitlistPolicy, ParticipantsPolicy, Schedule, AvailabilityConstraints, Slug, URLs, ExtendedFields, SeoSchema, Keyword, Tag, Settings, CreateServiceRequest, CreateServiceResponse, GetServiceRequest, GetServiceResponse, UpdateServiceRequest, UpdateServiceResponse, DeleteServiceRequest, DeleteServiceResponse, QueryServicesRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryServicesResponse, PagingMetadataV2, Cursors, CountServicesRequest, CountServicesResponse, CategoryNotification, Category, Empty, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, ExtendedFieldsUpdatedEvent, SetServiceLocationsRequest, RemovedLocationSessionsAction, RemovedLocationSessionsActionActionOptionsOneOf, MoveToNewLocationsOptions, ParticipantNotification, SetServiceLocationsResponse, AddStaffMembersToServiceRequest, AddStaffMembersToServiceResponse, StaffMember, InvalidStaffMember, RemoveStaffMembersFromServiceRequest, RemoveStaffMembersFromServiceResponse, ConnectPricingPlansToServiceRequest, ConnectPricingPlansToServiceResponse, InvalidPricingPlan, DisconnectPricingPlansFromServiceRequest, DisconnectPricingPlansFromServiceResponse, SetCustomSlugRequest, SetCustomSlugResponse, ValidateSlugRequest, ValidateSlugResponse, ServicesQueryResult, ServicesQueryBuilder, } from './bookings-services-v2-service.universal';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InvalidSlugError = exports.Event = exports.Status = exports.SortOrder = exports.LocationType = exports.RateType = exports.ServiceType = exports.queryServices = exports.getService = void 0;
|
|
3
|
+
exports.InvalidSlugError = exports.Action = exports.Event = exports.Status = exports.SortOrder = exports.LocationType = exports.RateType = exports.ServiceType = exports.queryServices = exports.getService = void 0;
|
|
4
4
|
const bookings_services_v2_service_universal_1 = require("./bookings-services-v2-service.universal");
|
|
5
5
|
function getService(httpClient) {
|
|
6
6
|
return (serviceId) => (0, bookings_services_v2_service_universal_1.getService)(serviceId,
|
|
@@ -21,5 +21,6 @@ Object.defineProperty(exports, "LocationType", { enumerable: true, get: function
|
|
|
21
21
|
Object.defineProperty(exports, "SortOrder", { enumerable: true, get: function () { return bookings_services_v2_service_universal_2.SortOrder; } });
|
|
22
22
|
Object.defineProperty(exports, "Status", { enumerable: true, get: function () { return bookings_services_v2_service_universal_2.Status; } });
|
|
23
23
|
Object.defineProperty(exports, "Event", { enumerable: true, get: function () { return bookings_services_v2_service_universal_2.Event; } });
|
|
24
|
+
Object.defineProperty(exports, "Action", { enumerable: true, get: function () { return bookings_services_v2_service_universal_2.Action; } });
|
|
24
25
|
Object.defineProperty(exports, "InvalidSlugError", { enumerable: true, get: function () { return bookings_services_v2_service_universal_2.InvalidSlugError; } });
|
|
25
26
|
//# sourceMappingURL=bookings-services-v2-service.public.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-services-v2-service.public.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.public.ts"],"names":[],"mappings":";;;AACA,qGAGkD;AAElD,SAAgB,UAAU,CAAC,UAAsB;IAC/C,OAAO,CAAC,SAAiB,EAAE,EAAE,CAC3B,IAAA,mDAAmB,EACjB,SAAS;IACT,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,gCAOC;AAED,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,GAAG,EAAE,CACV,IAAA,sDAAsB;IACpB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAND,sCAMC;AAED,
|
|
1
|
+
{"version":3,"file":"bookings-services-v2-service.public.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.public.ts"],"names":[],"mappings":";;;AACA,qGAGkD;AAElD,SAAgB,UAAU,CAAC,UAAsB;IAC/C,OAAO,CAAC,SAAiB,EAAE,EAAE,CAC3B,IAAA,mDAAmB,EACjB,SAAS;IACT,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,gCAOC;AAED,SAAgB,aAAa,CAAC,UAAsB;IAClD,OAAO,GAAG,EAAE,CACV,IAAA,sDAAsB;IACpB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAND,sCAMC;AAED,mGASkD;AARhD,qIAAA,WAAW,OAAA;AACX,kIAAA,QAAQ,OAAA;AACR,sIAAA,YAAY,OAAA;AACZ,mIAAA,SAAS,OAAA;AACT,gIAAA,MAAM,OAAA;AACN,+HAAA,KAAK,OAAA;AACL,gIAAA,MAAM,OAAA;AACN,0IAAA,gBAAgB,OAAA"}
|
|
@@ -37,7 +37,10 @@ export interface Service {
|
|
|
37
37
|
/** Conferencing options for this service. */
|
|
38
38
|
conferencing?: Conferencing;
|
|
39
39
|
/**
|
|
40
|
-
* The locations this service is offered at.
|
|
40
|
+
* The locations this service is offered at.
|
|
41
|
+
* Only multiple locations of type `BUSINESS` are supported. multiple locations of type `CUSTOM` or `CUSTOMER` are not supported.
|
|
42
|
+
* For courses only: Currently, only 1 location is supported, for all location types.
|
|
43
|
+
* Use `setServiceLocations` method to change the locations this service is offered at.
|
|
41
44
|
* @readonly
|
|
42
45
|
*/
|
|
43
46
|
locations?: Location[];
|
|
@@ -1030,6 +1033,59 @@ export interface ActionEvent {
|
|
|
1030
1033
|
export interface ExtendedFieldsUpdatedEvent {
|
|
1031
1034
|
currentEntityAsJson?: string;
|
|
1032
1035
|
}
|
|
1036
|
+
export interface SetServiceLocationsRequest {
|
|
1037
|
+
/** ID of the service. */
|
|
1038
|
+
serviceId?: string;
|
|
1039
|
+
/** The locations you specify replace the existing service locations. */
|
|
1040
|
+
locations?: Location[];
|
|
1041
|
+
/** The action to perform on sessions currently set to a removed location. */
|
|
1042
|
+
removedLocationSessionsAction?: RemovedLocationSessionsAction;
|
|
1043
|
+
/** Whether to notify participants about the change, and an optional custom message. */
|
|
1044
|
+
participantNotification?: ParticipantNotification;
|
|
1045
|
+
}
|
|
1046
|
+
export interface RemovedLocationSessionsAction extends RemovedLocationSessionsActionActionOptionsOneOf {
|
|
1047
|
+
/** The action to perform on sessions currently set to a removed location. */
|
|
1048
|
+
action?: Action;
|
|
1049
|
+
/** Options related to the action, such as a new location to move existing sessions to. */
|
|
1050
|
+
moveToLocationOptions?: MoveToNewLocationsOptions;
|
|
1051
|
+
}
|
|
1052
|
+
/** @oneof */
|
|
1053
|
+
export interface RemovedLocationSessionsActionActionOptionsOneOf {
|
|
1054
|
+
/** Options related to the action, such as a new location to move existing sessions to. */
|
|
1055
|
+
moveToLocationOptions?: MoveToNewLocationsOptions;
|
|
1056
|
+
}
|
|
1057
|
+
export declare enum Action {
|
|
1058
|
+
UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
|
|
1059
|
+
/**
|
|
1060
|
+
* Keep future sessions at their current location. This is the default.
|
|
1061
|
+
* Note: The location will be set directly on the session. i.e, if the location is currently inherited from the schedule, the inheritance will be overridden.
|
|
1062
|
+
*/
|
|
1063
|
+
KEEP_AT_CURRENT_LOCATION = "KEEP_AT_CURRENT_LOCATION",
|
|
1064
|
+
/**
|
|
1065
|
+
* Move future sessions to a new location.
|
|
1066
|
+
* The new location must be specified in the availability locations to set ('SetAvailabilityLocationsRequest.locations').
|
|
1067
|
+
*/
|
|
1068
|
+
MOVE_TO_LOCATION = "MOVE_TO_LOCATION",
|
|
1069
|
+
/**
|
|
1070
|
+
* Delete future sessions.
|
|
1071
|
+
* Currently not supported.
|
|
1072
|
+
*/
|
|
1073
|
+
DELETE = "DELETE"
|
|
1074
|
+
}
|
|
1075
|
+
export interface MoveToNewLocationsOptions {
|
|
1076
|
+
/** The new location to move existing sessions currently set to a removed location, used when `action` is `MOVE_TO_LOCATION`. */
|
|
1077
|
+
newLocation?: Location;
|
|
1078
|
+
}
|
|
1079
|
+
export interface ParticipantNotification {
|
|
1080
|
+
/** Whether to send the message about the changes to the customer. `false` by default */
|
|
1081
|
+
notifyParticipants?: boolean | null;
|
|
1082
|
+
/** Custom message to send to the participants about the changes to the booking. */
|
|
1083
|
+
message?: string | null;
|
|
1084
|
+
}
|
|
1085
|
+
export interface SetServiceLocationsResponse {
|
|
1086
|
+
/** The updated service with the newly set locations. */
|
|
1087
|
+
service?: Service;
|
|
1088
|
+
}
|
|
1033
1089
|
export interface AddStaffMembersToServiceRequest {
|
|
1034
1090
|
/** ID of the service to add the staff members to. */
|
|
1035
1091
|
serviceId?: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InvalidSlugError = exports.Event = exports.Status = exports.SortOrder = exports.LocationType = exports.RateType = exports.ServiceType = void 0;
|
|
3
|
+
exports.InvalidSlugError = exports.Action = exports.Event = exports.Status = exports.SortOrder = exports.LocationType = exports.RateType = exports.ServiceType = void 0;
|
|
4
4
|
var ServiceType;
|
|
5
5
|
(function (ServiceType) {
|
|
6
6
|
ServiceType["UNKNOWN_SERVICE_TYPE"] = "UNKNOWN_SERVICE_TYPE";
|
|
@@ -51,6 +51,25 @@ var Event;
|
|
|
51
51
|
Event["Deleted"] = "Deleted";
|
|
52
52
|
Event["Created"] = "Created";
|
|
53
53
|
})(Event = exports.Event || (exports.Event = {}));
|
|
54
|
+
var Action;
|
|
55
|
+
(function (Action) {
|
|
56
|
+
Action["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
|
|
57
|
+
/**
|
|
58
|
+
* Keep future sessions at their current location. This is the default.
|
|
59
|
+
* Note: The location will be set directly on the session. i.e, if the location is currently inherited from the schedule, the inheritance will be overridden.
|
|
60
|
+
*/
|
|
61
|
+
Action["KEEP_AT_CURRENT_LOCATION"] = "KEEP_AT_CURRENT_LOCATION";
|
|
62
|
+
/**
|
|
63
|
+
* Move future sessions to a new location.
|
|
64
|
+
* The new location must be specified in the availability locations to set ('SetAvailabilityLocationsRequest.locations').
|
|
65
|
+
*/
|
|
66
|
+
Action["MOVE_TO_LOCATION"] = "MOVE_TO_LOCATION";
|
|
67
|
+
/**
|
|
68
|
+
* Delete future sessions.
|
|
69
|
+
* Currently not supported.
|
|
70
|
+
*/
|
|
71
|
+
Action["DELETE"] = "DELETE";
|
|
72
|
+
})(Action = exports.Action || (exports.Action = {}));
|
|
54
73
|
var InvalidSlugError;
|
|
55
74
|
(function (InvalidSlugError) {
|
|
56
75
|
InvalidSlugError["UNKNOWN_SLUG_ERROR"] = "UNKNOWN_SLUG_ERROR";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-services-v2-service.types.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"bookings-services-v2-service.types.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.types.ts"],"names":[],"mappings":";;;AAyFA,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,qCAAqC;IACrC,0CAA2B,CAAA;IAC3B,8BAA8B;IAC9B,8BAAe,CAAA;IACf,+BAA+B;IAC/B,gCAAiB,CAAA;AACnB,CAAC,EARW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAQtB;AA2ID,IAAY,QAUX;AAVD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,qCAAqC;IACrC,2BAAe,CAAA;IACf,wEAAwE;IACxE,6BAAiB,CAAA;IACjB,uFAAuF;IACvF,6BAAiB,CAAA;IACjB,8CAA8C;IAC9C,6BAAiB,CAAA;AACnB,CAAC,EAVW,QAAQ,GAAR,gBAAQ,KAAR,gBAAQ,QAUnB;AA0HD,IAAY,YAQX;AARD,WAAY,YAAY;IACtB,+DAA+C,CAAA;IAC/C,iQAAiQ;IACjQ,iCAAiB,CAAA;IACjB,6JAA6J;IAC7J,qCAAqB,CAAA;IACrB,8IAA8I;IAC9I,qCAAqB,CAAA;AACvB,CAAC,EARW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAQvB;AA2iBD,IAAY,SAGX;AAHD,WAAY,SAAS;IACnB,wBAAW,CAAA;IACX,0BAAa,CAAA;AACf,CAAC,EAHW,SAAS,GAAT,iBAAS,KAAT,iBAAS,QAGpB;AAqFD,IAAY,MAKX;AALD,WAAY,MAAM;IAChB,sBAAsB;IACtB,6BAAmB,CAAA;IACnB,2BAA2B;IAC3B,6BAAmB,CAAA;AACrB,CAAC,EALW,MAAM,GAAN,cAAM,KAAN,cAAM,QAKjB;AAED,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;AACrB,CAAC,EAJW,KAAK,GAAL,aAAK,KAAL,aAAK,QAIhB;AA0GD,IAAY,MAiBX;AAjBD,WAAY,MAAM;IAChB,qDAA2C,CAAA;IAC3C;;;OAGG;IACH,+DAAqD,CAAA;IACrD;;;OAGG;IACH,+CAAqC,CAAA;IACrC;;;OAGG;IACH,2BAAiB,CAAA;AACnB,CAAC,EAjBW,MAAM,GAAN,cAAM,KAAN,cAAM,QAiBjB;AA8HD,IAAY,gBAQX;AARD,WAAY,gBAAgB;IAC1B,6DAAyC,CAAA;IACzC,gFAAgF;IAChF,yDAAqC,CAAA;IACrC,0DAA0D;IAC1D,uFAAmE,CAAA;IACnE,6EAA6E;IAC7E,+DAA2C,CAAA;AAC7C,CAAC,EARW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAQ3B"}
|
|
@@ -43,7 +43,10 @@ export interface Service {
|
|
|
43
43
|
/** Conferencing options for this service. */
|
|
44
44
|
conferencing?: Conferencing;
|
|
45
45
|
/**
|
|
46
|
-
* The locations this service is offered at.
|
|
46
|
+
* The locations this service is offered at.
|
|
47
|
+
* Only multiple locations of type `BUSINESS` are supported. multiple locations of type `CUSTOM` or `CUSTOMER` are not supported.
|
|
48
|
+
* For courses only: Currently, only 1 location is supported, for all location types.
|
|
49
|
+
* Use `setServiceLocations` method to change the locations this service is offered at.
|
|
47
50
|
* @readonly
|
|
48
51
|
*/
|
|
49
52
|
locations?: Location[];
|
|
@@ -1004,6 +1007,59 @@ export interface ActionEvent {
|
|
|
1004
1007
|
export interface ExtendedFieldsUpdatedEvent {
|
|
1005
1008
|
currentEntityAsJson?: string;
|
|
1006
1009
|
}
|
|
1010
|
+
export interface SetServiceLocationsRequest {
|
|
1011
|
+
/** ID of the service. */
|
|
1012
|
+
serviceId?: string;
|
|
1013
|
+
/** The locations you specify replace the existing service locations. */
|
|
1014
|
+
locations?: Location[];
|
|
1015
|
+
/** The action to perform on sessions currently set to a removed location. */
|
|
1016
|
+
removedLocationSessionsAction?: RemovedLocationSessionsAction;
|
|
1017
|
+
/** Whether to notify participants about the change, and an optional custom message. */
|
|
1018
|
+
participantNotification?: ParticipantNotification;
|
|
1019
|
+
}
|
|
1020
|
+
export interface RemovedLocationSessionsAction extends RemovedLocationSessionsActionActionOptionsOneOf {
|
|
1021
|
+
/** The action to perform on sessions currently set to a removed location. */
|
|
1022
|
+
action?: Action;
|
|
1023
|
+
/** Options related to the action, such as a new location to move existing sessions to. */
|
|
1024
|
+
moveToLocationOptions?: MoveToNewLocationsOptions;
|
|
1025
|
+
}
|
|
1026
|
+
/** @oneof */
|
|
1027
|
+
export interface RemovedLocationSessionsActionActionOptionsOneOf {
|
|
1028
|
+
/** Options related to the action, such as a new location to move existing sessions to. */
|
|
1029
|
+
moveToLocationOptions?: MoveToNewLocationsOptions;
|
|
1030
|
+
}
|
|
1031
|
+
export declare enum Action {
|
|
1032
|
+
UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
|
|
1033
|
+
/**
|
|
1034
|
+
* Keep future sessions at their current location. This is the default.
|
|
1035
|
+
* Note: The location will be set directly on the session. i.e, if the location is currently inherited from the schedule, the inheritance will be overridden.
|
|
1036
|
+
*/
|
|
1037
|
+
KEEP_AT_CURRENT_LOCATION = "KEEP_AT_CURRENT_LOCATION",
|
|
1038
|
+
/**
|
|
1039
|
+
* Move future sessions to a new location.
|
|
1040
|
+
* The new location must be specified in the availability locations to set ('SetAvailabilityLocationsRequest.locations').
|
|
1041
|
+
*/
|
|
1042
|
+
MOVE_TO_LOCATION = "MOVE_TO_LOCATION",
|
|
1043
|
+
/**
|
|
1044
|
+
* Delete future sessions.
|
|
1045
|
+
* Currently not supported.
|
|
1046
|
+
*/
|
|
1047
|
+
DELETE = "DELETE"
|
|
1048
|
+
}
|
|
1049
|
+
export interface MoveToNewLocationsOptions {
|
|
1050
|
+
/** The new location to move existing sessions currently set to a removed location, used when `action` is `MOVE_TO_LOCATION`. */
|
|
1051
|
+
newLocation?: Location;
|
|
1052
|
+
}
|
|
1053
|
+
export interface ParticipantNotification {
|
|
1054
|
+
/** Whether to send the message about the changes to the customer. `false` by default */
|
|
1055
|
+
notifyParticipants?: boolean | null;
|
|
1056
|
+
/** Custom message to send to the participants about the changes to the booking. */
|
|
1057
|
+
message?: string | null;
|
|
1058
|
+
}
|
|
1059
|
+
export interface SetServiceLocationsResponse {
|
|
1060
|
+
/** The updated service with the newly set locations. */
|
|
1061
|
+
service?: Service;
|
|
1062
|
+
}
|
|
1007
1063
|
export interface AddStaffMembersToServiceRequest {
|
|
1008
1064
|
/** ID of the service to add the staff members to. */
|
|
1009
1065
|
serviceId?: 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.queryServices = exports.getService = exports.InvalidSlugError = exports.Event = exports.Status = exports.SortOrder = exports.LocationType = exports.RateType = exports.ServiceType = exports.__debug = void 0;
|
|
31
|
+
exports.queryServices = exports.getService = exports.InvalidSlugError = exports.Action = exports.Event = exports.Status = exports.SortOrder = exports.LocationType = exports.RateType = exports.ServiceType = exports.__debug = void 0;
|
|
32
32
|
const velo_1 = require("@wix/metro-runtime/velo");
|
|
33
33
|
const ambassadorWixBookingsServicesV2Service = __importStar(require("./bookings-services-v2-service.http"));
|
|
34
34
|
// @ts-ignore
|
|
@@ -98,6 +98,25 @@ var Event;
|
|
|
98
98
|
Event["Deleted"] = "Deleted";
|
|
99
99
|
Event["Created"] = "Created";
|
|
100
100
|
})(Event = exports.Event || (exports.Event = {}));
|
|
101
|
+
var Action;
|
|
102
|
+
(function (Action) {
|
|
103
|
+
Action["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
|
|
104
|
+
/**
|
|
105
|
+
* Keep future sessions at their current location. This is the default.
|
|
106
|
+
* Note: The location will be set directly on the session. i.e, if the location is currently inherited from the schedule, the inheritance will be overridden.
|
|
107
|
+
*/
|
|
108
|
+
Action["KEEP_AT_CURRENT_LOCATION"] = "KEEP_AT_CURRENT_LOCATION";
|
|
109
|
+
/**
|
|
110
|
+
* Move future sessions to a new location.
|
|
111
|
+
* The new location must be specified in the availability locations to set ('SetAvailabilityLocationsRequest.locations').
|
|
112
|
+
*/
|
|
113
|
+
Action["MOVE_TO_LOCATION"] = "MOVE_TO_LOCATION";
|
|
114
|
+
/**
|
|
115
|
+
* Delete future sessions.
|
|
116
|
+
* Currently not supported.
|
|
117
|
+
*/
|
|
118
|
+
Action["DELETE"] = "DELETE";
|
|
119
|
+
})(Action = exports.Action || (exports.Action = {}));
|
|
101
120
|
var InvalidSlugError;
|
|
102
121
|
(function (InvalidSlugError) {
|
|
103
122
|
InvalidSlugError["UNKNOWN_SLUG_ERROR"] = "UNKNOWN_SLUG_ERROR";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-services-v2-service.universal.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,4GAA8F;AAC9F,aAAa;AACb,4FAA6E;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;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;
|
|
1
|
+
{"version":3,"file":"bookings-services-v2-service.universal.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAIiC;AAEjC,4GAA8F;AAC9F,aAAa;AACb,4FAA6E;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;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;AA2F5B,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,qCAAqC;IACrC,0CAA2B,CAAA;I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EAAE,CAAO,OAAY,EAAE,EAAE;;YAC3B,MAAM,OAAO,GACX,sCAAsC,CAAC,aAAa,CAAC,OAAO,CAAC,CAAC;YAEhE,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,UAAU,+CAAvB,WAAW,CAAgB,CAAC;YAC5B,IAAI;gBACF,MAAM,MAAM,GAAG,MAAM,UAAU,CAAC,OAAO,CAAC,OAAO,CAAC,CAAC;gBACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;gBACjC,OAAO,MAAM,CAAC;aACf;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;gBAC5B,MAAM,GAAG,CAAC;aACX;QACH,CAAC,CAAA;QACD,kBAAkB,EAAE,CAAC,GAAG,IAAW,EAAE,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC;QACjE,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,IAAA,qBAAc,EAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,IAAA,4CAAqC,EAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC;AAlED,sCAkEC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { HttpClient } from '@wix/sdk-types';
|
|
2
2
|
export declare function getService(httpClient: HttpClient): (serviceId: string) => Promise<import("./bookings-services-v2-service.universal").Service>;
|
|
3
3
|
export declare function queryServices(httpClient: HttpClient): () => import("./bookings-services-v2-service.universal").ServicesQueryBuilder;
|
|
4
|
-
export { ServiceType, RateType, LocationType, SortOrder, Status, Event, InvalidSlugError, } from './bookings-services-v2-service.universal';
|
|
5
|
-
export { Service, Media, MediaItem, MediaItemItemOneOf, V2Category, Form, FormSettings, Payment, PaymentRateOneOf, FixedPayment, Money, CustomPayment, VariedPayment, PaymentOptions, OnlineBooking, Conferencing, Location, LocationOptionsOneOf, Address, AddressStreetOneOf, StreetAddress, AddressLocation, BusinessLocationOptions, CustomLocationOptions, BookingPolicy, PolicyDescription, LimitEarlyBookingPolicy, LimitLateBookingPolicy, BookAfterStartPolicy, CancellationPolicy, ReschedulePolicy, WaitlistPolicy, ParticipantsPolicy, Schedule, AvailabilityConstraints, Slug, URLs, ExtendedFields, SeoSchema, Keyword, Tag, Settings, CreateServiceRequest, CreateServiceResponse, GetServiceRequest, GetServiceResponse, UpdateServiceRequest, UpdateServiceResponse, DeleteServiceRequest, DeleteServiceResponse, QueryServicesRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryServicesResponse, PagingMetadataV2, Cursors, CountServicesRequest, CountServicesResponse, CategoryNotification, Category, Empty, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, ExtendedFieldsUpdatedEvent, AddStaffMembersToServiceRequest, AddStaffMembersToServiceResponse, StaffMember, InvalidStaffMember, RemoveStaffMembersFromServiceRequest, RemoveStaffMembersFromServiceResponse, ConnectPricingPlansToServiceRequest, ConnectPricingPlansToServiceResponse, InvalidPricingPlan, DisconnectPricingPlansFromServiceRequest, DisconnectPricingPlansFromServiceResponse, SetCustomSlugRequest, SetCustomSlugResponse, ValidateSlugRequest, ValidateSlugResponse, ServicesQueryResult, ServicesQueryBuilder, } from './bookings-services-v2-service.universal';
|
|
4
|
+
export { ServiceType, RateType, LocationType, SortOrder, Status, Event, Action, InvalidSlugError, } from './bookings-services-v2-service.universal';
|
|
5
|
+
export { Service, Media, MediaItem, MediaItemItemOneOf, V2Category, Form, FormSettings, Payment, PaymentRateOneOf, FixedPayment, Money, CustomPayment, VariedPayment, PaymentOptions, OnlineBooking, Conferencing, Location, LocationOptionsOneOf, Address, AddressStreetOneOf, StreetAddress, AddressLocation, BusinessLocationOptions, CustomLocationOptions, BookingPolicy, PolicyDescription, LimitEarlyBookingPolicy, LimitLateBookingPolicy, BookAfterStartPolicy, CancellationPolicy, ReschedulePolicy, WaitlistPolicy, ParticipantsPolicy, Schedule, AvailabilityConstraints, Slug, URLs, ExtendedFields, SeoSchema, Keyword, Tag, Settings, CreateServiceRequest, CreateServiceResponse, GetServiceRequest, GetServiceResponse, UpdateServiceRequest, UpdateServiceResponse, DeleteServiceRequest, DeleteServiceResponse, QueryServicesRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryServicesResponse, PagingMetadataV2, Cursors, CountServicesRequest, CountServicesResponse, CategoryNotification, Category, Empty, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, ExtendedFieldsUpdatedEvent, SetServiceLocationsRequest, RemovedLocationSessionsAction, RemovedLocationSessionsActionActionOptionsOneOf, MoveToNewLocationsOptions, ParticipantNotification, SetServiceLocationsResponse, AddStaffMembersToServiceRequest, AddStaffMembersToServiceResponse, StaffMember, InvalidStaffMember, RemoveStaffMembersFromServiceRequest, RemoveStaffMembersFromServiceResponse, ConnectPricingPlansToServiceRequest, ConnectPricingPlansToServiceResponse, InvalidPricingPlan, DisconnectPricingPlansFromServiceRequest, DisconnectPricingPlansFromServiceResponse, SetCustomSlugRequest, SetCustomSlugResponse, ValidateSlugRequest, ValidateSlugResponse, ServicesQueryResult, ServicesQueryBuilder, } from './bookings-services-v2-service.universal';
|
|
@@ -9,5 +9,5 @@ export function queryServices(httpClient) {
|
|
|
9
9
|
// @ts-ignore
|
|
10
10
|
{ httpClient });
|
|
11
11
|
}
|
|
12
|
-
export { ServiceType, RateType, LocationType, SortOrder, Status, Event, InvalidSlugError, } from './bookings-services-v2-service.universal';
|
|
12
|
+
export { ServiceType, RateType, LocationType, SortOrder, Status, Event, Action, InvalidSlugError, } from './bookings-services-v2-service.universal';
|
|
13
13
|
//# sourceMappingURL=bookings-services-v2-service.public.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-services-v2-service.public.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.public.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,IAAI,mBAAmB,EACjC,aAAa,IAAI,sBAAsB,GACxC,MAAM,0CAA0C,CAAC;AAElD,MAAM,UAAU,UAAU,CAAC,UAAsB;IAC/C,OAAO,CAAC,SAAiB,EAAE,EAAE,CAC3B,mBAAmB,CACjB,SAAS;IACT,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,UAAsB;IAClD,OAAO,GAAG,EAAE,CACV,sBAAsB;IACpB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,OAAO,EACL,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,MAAM,EACN,KAAK,EACL,gBAAgB,GACjB,MAAM,0CAA0C,CAAC"}
|
|
1
|
+
{"version":3,"file":"bookings-services-v2-service.public.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.public.ts"],"names":[],"mappings":"AACA,OAAO,EACL,UAAU,IAAI,mBAAmB,EACjC,aAAa,IAAI,sBAAsB,GACxC,MAAM,0CAA0C,CAAC;AAElD,MAAM,UAAU,UAAU,CAAC,UAAsB;IAC/C,OAAO,CAAC,SAAiB,EAAE,EAAE,CAC3B,mBAAmB,CACjB,SAAS;IACT,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,UAAsB;IAClD,OAAO,GAAG,EAAE,CACV,sBAAsB;IACpB,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAED,OAAO,EACL,WAAW,EACX,QAAQ,EACR,YAAY,EACZ,SAAS,EACT,MAAM,EACN,KAAK,EACL,MAAM,EACN,gBAAgB,GACjB,MAAM,0CAA0C,CAAC"}
|
|
@@ -37,7 +37,10 @@ export interface Service {
|
|
|
37
37
|
/** Conferencing options for this service. */
|
|
38
38
|
conferencing?: Conferencing;
|
|
39
39
|
/**
|
|
40
|
-
* The locations this service is offered at.
|
|
40
|
+
* The locations this service is offered at.
|
|
41
|
+
* Only multiple locations of type `BUSINESS` are supported. multiple locations of type `CUSTOM` or `CUSTOMER` are not supported.
|
|
42
|
+
* For courses only: Currently, only 1 location is supported, for all location types.
|
|
43
|
+
* Use `setServiceLocations` method to change the locations this service is offered at.
|
|
41
44
|
* @readonly
|
|
42
45
|
*/
|
|
43
46
|
locations?: Location[];
|
|
@@ -1030,6 +1033,59 @@ export interface ActionEvent {
|
|
|
1030
1033
|
export interface ExtendedFieldsUpdatedEvent {
|
|
1031
1034
|
currentEntityAsJson?: string;
|
|
1032
1035
|
}
|
|
1036
|
+
export interface SetServiceLocationsRequest {
|
|
1037
|
+
/** ID of the service. */
|
|
1038
|
+
serviceId?: string;
|
|
1039
|
+
/** The locations you specify replace the existing service locations. */
|
|
1040
|
+
locations?: Location[];
|
|
1041
|
+
/** The action to perform on sessions currently set to a removed location. */
|
|
1042
|
+
removedLocationSessionsAction?: RemovedLocationSessionsAction;
|
|
1043
|
+
/** Whether to notify participants about the change, and an optional custom message. */
|
|
1044
|
+
participantNotification?: ParticipantNotification;
|
|
1045
|
+
}
|
|
1046
|
+
export interface RemovedLocationSessionsAction extends RemovedLocationSessionsActionActionOptionsOneOf {
|
|
1047
|
+
/** The action to perform on sessions currently set to a removed location. */
|
|
1048
|
+
action?: Action;
|
|
1049
|
+
/** Options related to the action, such as a new location to move existing sessions to. */
|
|
1050
|
+
moveToLocationOptions?: MoveToNewLocationsOptions;
|
|
1051
|
+
}
|
|
1052
|
+
/** @oneof */
|
|
1053
|
+
export interface RemovedLocationSessionsActionActionOptionsOneOf {
|
|
1054
|
+
/** Options related to the action, such as a new location to move existing sessions to. */
|
|
1055
|
+
moveToLocationOptions?: MoveToNewLocationsOptions;
|
|
1056
|
+
}
|
|
1057
|
+
export declare enum Action {
|
|
1058
|
+
UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
|
|
1059
|
+
/**
|
|
1060
|
+
* Keep future sessions at their current location. This is the default.
|
|
1061
|
+
* Note: The location will be set directly on the session. i.e, if the location is currently inherited from the schedule, the inheritance will be overridden.
|
|
1062
|
+
*/
|
|
1063
|
+
KEEP_AT_CURRENT_LOCATION = "KEEP_AT_CURRENT_LOCATION",
|
|
1064
|
+
/**
|
|
1065
|
+
* Move future sessions to a new location.
|
|
1066
|
+
* The new location must be specified in the availability locations to set ('SetAvailabilityLocationsRequest.locations').
|
|
1067
|
+
*/
|
|
1068
|
+
MOVE_TO_LOCATION = "MOVE_TO_LOCATION",
|
|
1069
|
+
/**
|
|
1070
|
+
* Delete future sessions.
|
|
1071
|
+
* Currently not supported.
|
|
1072
|
+
*/
|
|
1073
|
+
DELETE = "DELETE"
|
|
1074
|
+
}
|
|
1075
|
+
export interface MoveToNewLocationsOptions {
|
|
1076
|
+
/** The new location to move existing sessions currently set to a removed location, used when `action` is `MOVE_TO_LOCATION`. */
|
|
1077
|
+
newLocation?: Location;
|
|
1078
|
+
}
|
|
1079
|
+
export interface ParticipantNotification {
|
|
1080
|
+
/** Whether to send the message about the changes to the customer. `false` by default */
|
|
1081
|
+
notifyParticipants?: boolean | null;
|
|
1082
|
+
/** Custom message to send to the participants about the changes to the booking. */
|
|
1083
|
+
message?: string | null;
|
|
1084
|
+
}
|
|
1085
|
+
export interface SetServiceLocationsResponse {
|
|
1086
|
+
/** The updated service with the newly set locations. */
|
|
1087
|
+
service?: Service;
|
|
1088
|
+
}
|
|
1033
1089
|
export interface AddStaffMembersToServiceRequest {
|
|
1034
1090
|
/** ID of the service to add the staff members to. */
|
|
1035
1091
|
serviceId?: string;
|
|
@@ -48,6 +48,25 @@ export var Event;
|
|
|
48
48
|
Event["Deleted"] = "Deleted";
|
|
49
49
|
Event["Created"] = "Created";
|
|
50
50
|
})(Event || (Event = {}));
|
|
51
|
+
export var Action;
|
|
52
|
+
(function (Action) {
|
|
53
|
+
Action["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
|
|
54
|
+
/**
|
|
55
|
+
* Keep future sessions at their current location. This is the default.
|
|
56
|
+
* Note: The location will be set directly on the session. i.e, if the location is currently inherited from the schedule, the inheritance will be overridden.
|
|
57
|
+
*/
|
|
58
|
+
Action["KEEP_AT_CURRENT_LOCATION"] = "KEEP_AT_CURRENT_LOCATION";
|
|
59
|
+
/**
|
|
60
|
+
* Move future sessions to a new location.
|
|
61
|
+
* The new location must be specified in the availability locations to set ('SetAvailabilityLocationsRequest.locations').
|
|
62
|
+
*/
|
|
63
|
+
Action["MOVE_TO_LOCATION"] = "MOVE_TO_LOCATION";
|
|
64
|
+
/**
|
|
65
|
+
* Delete future sessions.
|
|
66
|
+
* Currently not supported.
|
|
67
|
+
*/
|
|
68
|
+
Action["DELETE"] = "DELETE";
|
|
69
|
+
})(Action || (Action = {}));
|
|
51
70
|
export var InvalidSlugError;
|
|
52
71
|
(function (InvalidSlugError) {
|
|
53
72
|
InvalidSlugError["UNKNOWN_SLUG_ERROR"] = "UNKNOWN_SLUG_ERROR";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-services-v2-service.types.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.types.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"bookings-services-v2-service.types.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.types.ts"],"names":[],"mappings":"AAyFA,MAAM,CAAN,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC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,CAAA;AACnB,CAAC,EAjBW,MAAM,KAAN,MAAM,QAiBjB;AA8HD,MAAM,CAAN,IAAY,gBAQX;AARD,WAAY,gBAAgB;IAC1B,6DAAyC,CAAA;IACzC,gFAAgF;IAChF,yDAAqC,CAAA;IACrC,0DAA0D;IAC1D,uFAAmE,CAAA;IACnE,6EAA6E;IAC7E,+DAA2C,CAAA;AAC7C,CAAC,EARW,gBAAgB,KAAhB,gBAAgB,QAQ3B"}
|
|
@@ -43,7 +43,10 @@ export interface Service {
|
|
|
43
43
|
/** Conferencing options for this service. */
|
|
44
44
|
conferencing?: Conferencing;
|
|
45
45
|
/**
|
|
46
|
-
* The locations this service is offered at.
|
|
46
|
+
* The locations this service is offered at.
|
|
47
|
+
* Only multiple locations of type `BUSINESS` are supported. multiple locations of type `CUSTOM` or `CUSTOMER` are not supported.
|
|
48
|
+
* For courses only: Currently, only 1 location is supported, for all location types.
|
|
49
|
+
* Use `setServiceLocations` method to change the locations this service is offered at.
|
|
47
50
|
* @readonly
|
|
48
51
|
*/
|
|
49
52
|
locations?: Location[];
|
|
@@ -1004,6 +1007,59 @@ export interface ActionEvent {
|
|
|
1004
1007
|
export interface ExtendedFieldsUpdatedEvent {
|
|
1005
1008
|
currentEntityAsJson?: string;
|
|
1006
1009
|
}
|
|
1010
|
+
export interface SetServiceLocationsRequest {
|
|
1011
|
+
/** ID of the service. */
|
|
1012
|
+
serviceId?: string;
|
|
1013
|
+
/** The locations you specify replace the existing service locations. */
|
|
1014
|
+
locations?: Location[];
|
|
1015
|
+
/** The action to perform on sessions currently set to a removed location. */
|
|
1016
|
+
removedLocationSessionsAction?: RemovedLocationSessionsAction;
|
|
1017
|
+
/** Whether to notify participants about the change, and an optional custom message. */
|
|
1018
|
+
participantNotification?: ParticipantNotification;
|
|
1019
|
+
}
|
|
1020
|
+
export interface RemovedLocationSessionsAction extends RemovedLocationSessionsActionActionOptionsOneOf {
|
|
1021
|
+
/** The action to perform on sessions currently set to a removed location. */
|
|
1022
|
+
action?: Action;
|
|
1023
|
+
/** Options related to the action, such as a new location to move existing sessions to. */
|
|
1024
|
+
moveToLocationOptions?: MoveToNewLocationsOptions;
|
|
1025
|
+
}
|
|
1026
|
+
/** @oneof */
|
|
1027
|
+
export interface RemovedLocationSessionsActionActionOptionsOneOf {
|
|
1028
|
+
/** Options related to the action, such as a new location to move existing sessions to. */
|
|
1029
|
+
moveToLocationOptions?: MoveToNewLocationsOptions;
|
|
1030
|
+
}
|
|
1031
|
+
export declare enum Action {
|
|
1032
|
+
UNKNOWN_ACTION_TYPE = "UNKNOWN_ACTION_TYPE",
|
|
1033
|
+
/**
|
|
1034
|
+
* Keep future sessions at their current location. This is the default.
|
|
1035
|
+
* Note: The location will be set directly on the session. i.e, if the location is currently inherited from the schedule, the inheritance will be overridden.
|
|
1036
|
+
*/
|
|
1037
|
+
KEEP_AT_CURRENT_LOCATION = "KEEP_AT_CURRENT_LOCATION",
|
|
1038
|
+
/**
|
|
1039
|
+
* Move future sessions to a new location.
|
|
1040
|
+
* The new location must be specified in the availability locations to set ('SetAvailabilityLocationsRequest.locations').
|
|
1041
|
+
*/
|
|
1042
|
+
MOVE_TO_LOCATION = "MOVE_TO_LOCATION",
|
|
1043
|
+
/**
|
|
1044
|
+
* Delete future sessions.
|
|
1045
|
+
* Currently not supported.
|
|
1046
|
+
*/
|
|
1047
|
+
DELETE = "DELETE"
|
|
1048
|
+
}
|
|
1049
|
+
export interface MoveToNewLocationsOptions {
|
|
1050
|
+
/** The new location to move existing sessions currently set to a removed location, used when `action` is `MOVE_TO_LOCATION`. */
|
|
1051
|
+
newLocation?: Location;
|
|
1052
|
+
}
|
|
1053
|
+
export interface ParticipantNotification {
|
|
1054
|
+
/** Whether to send the message about the changes to the customer. `false` by default */
|
|
1055
|
+
notifyParticipants?: boolean | null;
|
|
1056
|
+
/** Custom message to send to the participants about the changes to the booking. */
|
|
1057
|
+
message?: string | null;
|
|
1058
|
+
}
|
|
1059
|
+
export interface SetServiceLocationsResponse {
|
|
1060
|
+
/** The updated service with the newly set locations. */
|
|
1061
|
+
service?: Service;
|
|
1062
|
+
}
|
|
1007
1063
|
export interface AddStaffMembersToServiceRequest {
|
|
1008
1064
|
/** ID of the service to add the staff members to. */
|
|
1009
1065
|
serviceId?: string;
|
|
@@ -76,6 +76,25 @@ export var Event;
|
|
|
76
76
|
Event["Deleted"] = "Deleted";
|
|
77
77
|
Event["Created"] = "Created";
|
|
78
78
|
})(Event || (Event = {}));
|
|
79
|
+
export var Action;
|
|
80
|
+
(function (Action) {
|
|
81
|
+
Action["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
|
|
82
|
+
/**
|
|
83
|
+
* Keep future sessions at their current location. This is the default.
|
|
84
|
+
* Note: The location will be set directly on the session. i.e, if the location is currently inherited from the schedule, the inheritance will be overridden.
|
|
85
|
+
*/
|
|
86
|
+
Action["KEEP_AT_CURRENT_LOCATION"] = "KEEP_AT_CURRENT_LOCATION";
|
|
87
|
+
/**
|
|
88
|
+
* Move future sessions to a new location.
|
|
89
|
+
* The new location must be specified in the availability locations to set ('SetAvailabilityLocationsRequest.locations').
|
|
90
|
+
*/
|
|
91
|
+
Action["MOVE_TO_LOCATION"] = "MOVE_TO_LOCATION";
|
|
92
|
+
/**
|
|
93
|
+
* Delete future sessions.
|
|
94
|
+
* Currently not supported.
|
|
95
|
+
*/
|
|
96
|
+
Action["DELETE"] = "DELETE";
|
|
97
|
+
})(Action || (Action = {}));
|
|
79
98
|
export var InvalidSlugError;
|
|
80
99
|
(function (InvalidSlugError) {
|
|
81
100
|
InvalidSlugError["UNKNOWN_SLUG_ERROR"] = "UNKNOWN_SLUG_ERROR";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-services-v2-service.universal.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,sCAAsC,MAAM,qCAAqC,CAAC;AAC9F,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"bookings-services-v2-service.universal.js","sourceRoot":"","sources":["../../../src/bookings-services-v2-service.universal.ts"],"names":[],"mappings":";;;;;;;;;AAAA,OAAO,EACL,UAAU,EACV,cAAc,EACd,qCAAqC,GACtC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,KAAK,sCAAsC,MAAM,qCAAqC,CAAC;AAC9F,aAAa;AACb,OAAO,EAAE,oBAAoB,EAAE,MAAM,uCAAuC,CAAC;AAE7E,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAED,MAAM,CAAC,MAAM,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAA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C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/bookings",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.75",
|
|
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": "65b54bbb66cac6a75f9d6175b7e8b9005a19c010c14bf64716679b25"
|
|
37
37
|
}
|