@wix/bookings 1.0.94 → 1.0.96
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 +3 -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 +91 -10
- package/build/cjs/src/bookings-services-v2-service.types.js +16 -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 +91 -10
- package/build/cjs/src/bookings-services-v2-service.universal.js +16 -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 +91 -10
- package/build/es/src/bookings-services-v2-service.types.js +15 -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 +91 -10
- package/build/es/src/bookings-services-v2-service.universal.js +15 -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, Day, Transparency, RecurringIntervalType, LocationLocationType, LocationStatus, LocationsLocationType, DayOfWeek, ApprovalStatus, ScheduleStatus, ConferenceType, CalendarType, SessionStatus, SessionType, ResourceStatus, ResourceNotificationEvent, 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, ScheduleNotification, ScheduleNotificationEventOneOf, ScheduleCreated, V1Schedule, RecurringInterval, Interval, Frequency, LinkedSchedule, V1Location, CommonAddress, CommonAddressStreetOneOf, CommonStreetAddress, CommonAddressLocation, Subdivision, LocationsLocation, LocationsAddress, LocationsStreetAddress, LocationsAddressLocation, BusinessSchedule, TimePeriod, SpecialHourPeriod, Rate, Price, Availability, V1AvailabilityConstraints, SplitInterval, Participant, ExternalCalendarOverrides, Version, ConferenceProvider, CalendarConference, ScheduleUpdated, RecurringSessionsUpdated, Session, CalendarDateTime, LocalDateTime, ExternalCalendarInfo, SessionVersion, V1ParticipantNotification, ScheduleCancelled, SessionCreated, SessionUpdated, SessionCancelled, AvailabilityPolicyUpdated, AvailabilityPolicy, IntervalSplit, RecurringSessionSplit, ScheduleUnassignedFromUser, MultipleSessionsCreated, ScheduleWithSessions, SitePropertiesOnScheduleCreation, MigrationEvent, MigrationData, StaffData, ResourceNotification, Resource, SetServiceLocationsRequest, RemovedLocationSessionsAction, RemovedLocationSessionsActionActionOptionsOneOf, MoveToNewLocationsOptions,
|
|
4
|
+
export { ServiceType, RateType, LocationType, SortOrder, Status, Event, Day, Transparency, RecurringIntervalType, LocationLocationType, LocationStatus, LocationsLocationType, DayOfWeek, ApprovalStatus, ScheduleStatus, ConferenceType, CalendarType, SessionStatus, SessionType, ResourceStatus, ResourceNotificationEvent, BenefitType, BenefitNotificationEvent, 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, ParticipantNotification, DeleteServiceResponse, QueryServicesRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryServicesResponse, PagingMetadataV2, Cursors, CountServicesRequest, CountServicesResponse, CategoryNotification, Category, Empty, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, ExtendedFieldsUpdatedEvent, ScheduleNotification, ScheduleNotificationEventOneOf, ScheduleCreated, V1Schedule, RecurringInterval, Interval, Frequency, LinkedSchedule, V1Location, CommonAddress, CommonAddressStreetOneOf, CommonStreetAddress, CommonAddressLocation, Subdivision, LocationsLocation, LocationsAddress, LocationsStreetAddress, LocationsAddressLocation, BusinessSchedule, TimePeriod, SpecialHourPeriod, Rate, Price, Availability, V1AvailabilityConstraints, SplitInterval, Participant, ExternalCalendarOverrides, Version, ConferenceProvider, CalendarConference, ScheduleUpdated, RecurringSessionsUpdated, Session, CalendarDateTime, LocalDateTime, ExternalCalendarInfo, SessionVersion, V1ParticipantNotification, ScheduleCancelled, SessionCreated, SessionUpdated, SessionCancelled, AvailabilityPolicyUpdated, AvailabilityPolicy, IntervalSplit, RecurringSessionSplit, ScheduleUnassignedFromUser, MultipleSessionsCreated, ScheduleWithSessions, SitePropertiesOnScheduleCreation, MigrationEvent, MigrationData, StaffData, ResourceNotification, Resource, BenefitNotification, Benefit, EntryPass, Discount, DiscountDiscountOneOf, Behavior, BehaviorBehaviorOneOf, SetServiceLocationsRequest, RemovedLocationSessionsAction, RemovedLocationSessionsActionActionOptionsOneOf, MoveToNewLocationsOptions, SetServiceLocationsResponse, EnablePricingPlansForServiceRequest, EnablePricingPlansForServiceResponse, InvalidPricingPlan, DisablePricingPlansForServiceRequest, DisablePricingPlansForServiceResponse, 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.Action = exports.ResourceNotificationEvent = exports.ResourceStatus = exports.SessionType = exports.SessionStatus = exports.CalendarType = exports.ConferenceType = exports.ScheduleStatus = exports.ApprovalStatus = exports.DayOfWeek = exports.LocationsLocationType = exports.LocationStatus = exports.LocationLocationType = exports.RecurringIntervalType = exports.Transparency = exports.Day = exports.Event = exports.Status = exports.SortOrder = exports.LocationType = exports.RateType = exports.ServiceType = exports.queryServices = exports.getService = void 0;
|
|
3
|
+
exports.InvalidSlugError = exports.Action = exports.BenefitNotificationEvent = exports.BenefitType = exports.ResourceNotificationEvent = exports.ResourceStatus = exports.SessionType = exports.SessionStatus = exports.CalendarType = exports.ConferenceType = exports.ScheduleStatus = exports.ApprovalStatus = exports.DayOfWeek = exports.LocationsLocationType = exports.LocationStatus = exports.LocationLocationType = exports.RecurringIntervalType = exports.Transparency = exports.Day = 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,
|
|
@@ -36,6 +36,8 @@ Object.defineProperty(exports, "SessionStatus", { enumerable: true, get: functio
|
|
|
36
36
|
Object.defineProperty(exports, "SessionType", { enumerable: true, get: function () { return bookings_services_v2_service_universal_2.SessionType; } });
|
|
37
37
|
Object.defineProperty(exports, "ResourceStatus", { enumerable: true, get: function () { return bookings_services_v2_service_universal_2.ResourceStatus; } });
|
|
38
38
|
Object.defineProperty(exports, "ResourceNotificationEvent", { enumerable: true, get: function () { return bookings_services_v2_service_universal_2.ResourceNotificationEvent; } });
|
|
39
|
+
Object.defineProperty(exports, "BenefitType", { enumerable: true, get: function () { return bookings_services_v2_service_universal_2.BenefitType; } });
|
|
40
|
+
Object.defineProperty(exports, "BenefitNotificationEvent", { enumerable: true, get: function () { return bookings_services_v2_service_universal_2.BenefitNotificationEvent; } });
|
|
39
41
|
Object.defineProperty(exports, "Action", { enumerable: true, get: function () { return bookings_services_v2_service_universal_2.Action; } });
|
|
40
42
|
Object.defineProperty(exports, "InvalidSlugError", { enumerable: true, get: function () { return bookings_services_v2_service_universal_2.InvalidSlugError; } });
|
|
41
43
|
//# 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,mGA0BkD;AAzBhD,qIAAA,WAAW,OAAA;AACX,kIAAA,QAAQ,OAAA;AACR,sIAAA,YAAY,OAAA;AACZ,mIAAA,SAAS,OAAA;AACT,gIAAA,MAAM,OAAA;AACN,+HAAA,KAAK,OAAA;AACL,6HAAA,GAAG,OAAA;AACH,sIAAA,YAAY,OAAA;AACZ,+IAAA,qBAAqB,OAAA;AACrB,8IAAA,oBAAoB,OAAA;AACpB,wIAAA,cAAc,OAAA;AACd,+IAAA,qBAAqB,OAAA;AACrB,mIAAA,SAAS,OAAA;AACT,wIAAA,cAAc,OAAA;AACd,wIAAA,cAAc,OAAA;AACd,wIAAA,cAAc,OAAA;AACd,sIAAA,YAAY,OAAA;AACZ,uIAAA,aAAa,OAAA;AACb,qIAAA,WAAW,OAAA;AACX,wIAAA,cAAc,OAAA;AACd,mJAAA,yBAAyB,OAAA;AACzB,qIAAA,WAAW,OAAA;AACX,kJAAA,wBAAwB,OAAA;AACxB,gIAAA,MAAM,OAAA;AACN,0IAAA,gBAAgB,OAAA"}
|
|
@@ -824,6 +824,16 @@ export interface DeleteServiceRequest {
|
|
|
824
824
|
serviceId?: string;
|
|
825
825
|
/** The revision of the service. */
|
|
826
826
|
revision?: string;
|
|
827
|
+
/** Whether to preserve future sessions with participants. Optional, default is false. */
|
|
828
|
+
preserveFutureSessionsWithParticipants?: boolean;
|
|
829
|
+
/** Whether to notify participants about the change and an optional custom message. */
|
|
830
|
+
participantNotification?: ParticipantNotification;
|
|
831
|
+
}
|
|
832
|
+
export interface ParticipantNotification {
|
|
833
|
+
/** Whether to send the message about the changes to the customer. `false` by default */
|
|
834
|
+
notifyParticipants?: boolean | null;
|
|
835
|
+
/** Custom message to send to the participants about the changes to the booking. */
|
|
836
|
+
message?: string | null;
|
|
827
837
|
}
|
|
828
838
|
export interface DeleteServiceResponse {
|
|
829
839
|
}
|
|
@@ -2107,6 +2117,83 @@ export declare enum ResourceNotificationEvent {
|
|
|
2107
2117
|
Created = "Created",
|
|
2108
2118
|
Schedule_Updated = "Schedule_Updated"
|
|
2109
2119
|
}
|
|
2120
|
+
export interface BenefitNotification {
|
|
2121
|
+
/** Plan unique ID */
|
|
2122
|
+
planId?: string;
|
|
2123
|
+
/** App def ID */
|
|
2124
|
+
appDefId?: string;
|
|
2125
|
+
/** Current benefit details */
|
|
2126
|
+
benefit?: Benefit;
|
|
2127
|
+
/** Previous benefit */
|
|
2128
|
+
prevBenefit?: Benefit;
|
|
2129
|
+
/** Notification event */
|
|
2130
|
+
event?: BenefitNotificationEvent;
|
|
2131
|
+
}
|
|
2132
|
+
export interface Benefit {
|
|
2133
|
+
/**
|
|
2134
|
+
* Benefit unique ID
|
|
2135
|
+
* @readonly
|
|
2136
|
+
*/
|
|
2137
|
+
id?: string | null;
|
|
2138
|
+
/** Benefit Type */
|
|
2139
|
+
benefitType?: BenefitType;
|
|
2140
|
+
/** Resource IDs that serves by this benefit */
|
|
2141
|
+
resourceIds?: string[];
|
|
2142
|
+
/** Amount of credits that provided by this benefit */
|
|
2143
|
+
creditAmount?: number | null;
|
|
2144
|
+
/** additional details related to benefit; limited to 20 entries, 20 symbols for key and 20 symbols for value */
|
|
2145
|
+
customFields?: Record<string, string>;
|
|
2146
|
+
/** return value only in case it required in the ListRequest, true means that benefit's type could be updated */
|
|
2147
|
+
editable?: boolean | null;
|
|
2148
|
+
/** Benefit behavior */
|
|
2149
|
+
behavior?: Behavior;
|
|
2150
|
+
/**
|
|
2151
|
+
* Id of the app associated with this benefit
|
|
2152
|
+
* @readonly
|
|
2153
|
+
*/
|
|
2154
|
+
appDefId?: string | null;
|
|
2155
|
+
}
|
|
2156
|
+
export interface EntryPass {
|
|
2157
|
+
}
|
|
2158
|
+
export interface Discount extends DiscountDiscountOneOf {
|
|
2159
|
+
/** Fixed-rate percent off discount */
|
|
2160
|
+
percentOffRate?: string;
|
|
2161
|
+
/** Absolute amount discount */
|
|
2162
|
+
moneyOffAmount?: string;
|
|
2163
|
+
}
|
|
2164
|
+
/** @oneof */
|
|
2165
|
+
export interface DiscountDiscountOneOf {
|
|
2166
|
+
/** Fixed-rate percent off discount */
|
|
2167
|
+
percentOffRate?: string;
|
|
2168
|
+
/** Absolute amount discount */
|
|
2169
|
+
moneyOffAmount?: string;
|
|
2170
|
+
}
|
|
2171
|
+
export declare enum BenefitType {
|
|
2172
|
+
/** Should never be used */
|
|
2173
|
+
UNDEFINED = "UNDEFINED",
|
|
2174
|
+
/** Limited benefit type */
|
|
2175
|
+
LIMITED = "LIMITED",
|
|
2176
|
+
/** Unlimited benefit type */
|
|
2177
|
+
UNLIMITED = "UNLIMITED"
|
|
2178
|
+
}
|
|
2179
|
+
export interface Behavior extends BehaviorBehaviorOneOf {
|
|
2180
|
+
/** Entry pass for resources, e.g. a ticket for Bookings service or a ticket for Events. */
|
|
2181
|
+
defaultBehavior?: EntryPass;
|
|
2182
|
+
/** Discount applied to paid resources */
|
|
2183
|
+
discount?: Discount;
|
|
2184
|
+
}
|
|
2185
|
+
/** @oneof */
|
|
2186
|
+
export interface BehaviorBehaviorOneOf {
|
|
2187
|
+
/** Entry pass for resources, e.g. a ticket for Bookings service or a ticket for Events. */
|
|
2188
|
+
defaultBehavior?: EntryPass;
|
|
2189
|
+
/** Discount applied to paid resources */
|
|
2190
|
+
discount?: Discount;
|
|
2191
|
+
}
|
|
2192
|
+
export declare enum BenefitNotificationEvent {
|
|
2193
|
+
Updated = "Updated",
|
|
2194
|
+
Deleted = "Deleted",
|
|
2195
|
+
Created = "Created"
|
|
2196
|
+
}
|
|
2110
2197
|
export interface SetServiceLocationsRequest {
|
|
2111
2198
|
/** ID of the service. */
|
|
2112
2199
|
serviceId?: string;
|
|
@@ -2150,23 +2237,17 @@ export interface MoveToNewLocationsOptions {
|
|
|
2150
2237
|
/** The new location to move existing sessions currently set to a removed location, used when `action` is `MOVE_TO_LOCATION`. */
|
|
2151
2238
|
newLocation?: Location;
|
|
2152
2239
|
}
|
|
2153
|
-
export interface ParticipantNotification {
|
|
2154
|
-
/** Whether to send the message about the changes to the customer. `false` by default */
|
|
2155
|
-
notifyParticipants?: boolean | null;
|
|
2156
|
-
/** Custom message to send to the participants about the changes to the booking. */
|
|
2157
|
-
message?: string | null;
|
|
2158
|
-
}
|
|
2159
2240
|
export interface SetServiceLocationsResponse {
|
|
2160
2241
|
/** The updated service with the newly set locations. */
|
|
2161
2242
|
service?: Service;
|
|
2162
2243
|
}
|
|
2163
|
-
export interface
|
|
2244
|
+
export interface EnablePricingPlansForServiceRequest {
|
|
2164
2245
|
/** ID of the service to add the pricing plans to. */
|
|
2165
2246
|
serviceId?: string;
|
|
2166
2247
|
/** IDs of the pricing plans to connect to the service. */
|
|
2167
2248
|
pricingPlansIds?: string[];
|
|
2168
2249
|
}
|
|
2169
|
-
export interface
|
|
2250
|
+
export interface EnablePricingPlansForServiceResponse {
|
|
2170
2251
|
/** IDs of the pricing plans connect to the service. */
|
|
2171
2252
|
pricingPlansIds?: string[];
|
|
2172
2253
|
}
|
|
@@ -2176,13 +2257,13 @@ export interface InvalidPricingPlan {
|
|
|
2176
2257
|
/** The reason for the pricing plan considered as invalid */
|
|
2177
2258
|
message?: string;
|
|
2178
2259
|
}
|
|
2179
|
-
export interface
|
|
2260
|
+
export interface DisablePricingPlansForServiceRequest {
|
|
2180
2261
|
/** ID of the service to disconnect the pricing plans from. */
|
|
2181
2262
|
serviceId?: string;
|
|
2182
2263
|
/** ID of the pricing plans to disconnect from the service. */
|
|
2183
2264
|
pricingPlansIds?: string[];
|
|
2184
2265
|
}
|
|
2185
|
-
export interface
|
|
2266
|
+
export interface DisablePricingPlansForServiceResponse {
|
|
2186
2267
|
}
|
|
2187
2268
|
export interface SetCustomSlugRequest {
|
|
2188
2269
|
/** ID of the service to assign the custom slug to. */
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InvalidSlugError = exports.Action = exports.ResourceNotificationEvent = exports.ResourceStatus = exports.SessionType = exports.SessionStatus = exports.CalendarType = exports.ConferenceType = exports.ScheduleStatus = exports.ApprovalStatus = exports.DayOfWeek = exports.LocationsLocationType = exports.LocationStatus = exports.LocationLocationType = exports.RecurringIntervalType = exports.Transparency = exports.Day = exports.Event = exports.Status = exports.SortOrder = exports.LocationType = exports.RateType = exports.ServiceType = void 0;
|
|
3
|
+
exports.InvalidSlugError = exports.Action = exports.BenefitNotificationEvent = exports.BenefitType = exports.ResourceNotificationEvent = exports.ResourceStatus = exports.SessionType = exports.SessionStatus = exports.CalendarType = exports.ConferenceType = exports.ScheduleStatus = exports.ApprovalStatus = exports.DayOfWeek = exports.LocationsLocationType = exports.LocationStatus = exports.LocationLocationType = exports.RecurringIntervalType = exports.Transparency = exports.Day = 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";
|
|
@@ -206,6 +206,21 @@ var ResourceNotificationEvent;
|
|
|
206
206
|
ResourceNotificationEvent["Created"] = "Created";
|
|
207
207
|
ResourceNotificationEvent["Schedule_Updated"] = "Schedule_Updated";
|
|
208
208
|
})(ResourceNotificationEvent = exports.ResourceNotificationEvent || (exports.ResourceNotificationEvent = {}));
|
|
209
|
+
var BenefitType;
|
|
210
|
+
(function (BenefitType) {
|
|
211
|
+
/** Should never be used */
|
|
212
|
+
BenefitType["UNDEFINED"] = "UNDEFINED";
|
|
213
|
+
/** Limited benefit type */
|
|
214
|
+
BenefitType["LIMITED"] = "LIMITED";
|
|
215
|
+
/** Unlimited benefit type */
|
|
216
|
+
BenefitType["UNLIMITED"] = "UNLIMITED";
|
|
217
|
+
})(BenefitType = exports.BenefitType || (exports.BenefitType = {}));
|
|
218
|
+
var BenefitNotificationEvent;
|
|
219
|
+
(function (BenefitNotificationEvent) {
|
|
220
|
+
BenefitNotificationEvent["Updated"] = "Updated";
|
|
221
|
+
BenefitNotificationEvent["Deleted"] = "Deleted";
|
|
222
|
+
BenefitNotificationEvent["Created"] = "Created";
|
|
223
|
+
})(BenefitNotificationEvent = exports.BenefitNotificationEvent || (exports.BenefitNotificationEvent = {}));
|
|
209
224
|
var Action;
|
|
210
225
|
(function (Action) {
|
|
211
226
|
Action["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
|
|
@@ -1 +1 @@
|
|
|
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;
|
|
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,EA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AAA;IACnB,gCAAgC;IAChC,qCAAmB,CAAA;AACrB,CAAC,EARW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAQzB;AAED,IAAY,yBAMX;AAND,WAAY,yBAAyB;IACnC,oDAAuB,CAAA;IACvB,gDAAmB,CAAA;IACnB,gDAAmB,CAAA;IACnB,gDAAmB,CAAA;IACnB,kEAAqC,CAAA;AACvC,CAAC,EANW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAMpC;AAyDD,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,2BAA2B;IAC3B,sCAAuB,CAAA;IACvB,2BAA2B;IAC3B,kCAAmB,CAAA;IACnB,6BAA6B;IAC7B,sCAAuB,CAAA;AACzB,CAAC,EAPW,WAAW,GAAX,mBAAW,KAAX,mBAAW,QAOtB;AAiBD,IAAY,wBAIX;AAJD,WAAY,wBAAwB;IAClC,+CAAmB,CAAA;IACnB,+CAAmB,CAAA;IACnB,+CAAmB,CAAA;AACrB,CAAC,EAJW,wBAAwB,GAAxB,gCAAwB,KAAxB,gCAAwB,QAInC;AA2BD,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;AAoED,IAAY,gBAMX;AAND,WAAY,gBAAgB;IAC1B,6DAAyC,CAAA;IACzC,0DAA0D;IAC1D,yFAAqE,CAAA;IACrE,iEAAiE;IACjE,+DAA2C,CAAA;AAC7C,CAAC,EANW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAM3B"}
|
|
@@ -798,6 +798,16 @@ export interface DeleteServiceRequest {
|
|
|
798
798
|
serviceId?: string;
|
|
799
799
|
/** The revision of the service. */
|
|
800
800
|
revision?: string;
|
|
801
|
+
/** Whether to preserve future sessions with participants. Optional, default is false. */
|
|
802
|
+
preserveFutureSessionsWithParticipants?: boolean;
|
|
803
|
+
/** Whether to notify participants about the change and an optional custom message. */
|
|
804
|
+
participantNotification?: ParticipantNotification;
|
|
805
|
+
}
|
|
806
|
+
export interface ParticipantNotification {
|
|
807
|
+
/** Whether to send the message about the changes to the customer. `false` by default */
|
|
808
|
+
notifyParticipants?: boolean | null;
|
|
809
|
+
/** Custom message to send to the participants about the changes to the booking. */
|
|
810
|
+
message?: string | null;
|
|
801
811
|
}
|
|
802
812
|
export interface DeleteServiceResponse {
|
|
803
813
|
}
|
|
@@ -2052,6 +2062,83 @@ export declare enum ResourceNotificationEvent {
|
|
|
2052
2062
|
Created = "Created",
|
|
2053
2063
|
Schedule_Updated = "Schedule_Updated"
|
|
2054
2064
|
}
|
|
2065
|
+
export interface BenefitNotification {
|
|
2066
|
+
/** Plan unique ID */
|
|
2067
|
+
planId?: string;
|
|
2068
|
+
/** App def ID */
|
|
2069
|
+
appDefId?: string;
|
|
2070
|
+
/** Current benefit details */
|
|
2071
|
+
benefit?: Benefit;
|
|
2072
|
+
/** Previous benefit */
|
|
2073
|
+
prevBenefit?: Benefit;
|
|
2074
|
+
/** Notification event */
|
|
2075
|
+
event?: BenefitNotificationEvent;
|
|
2076
|
+
}
|
|
2077
|
+
export interface Benefit {
|
|
2078
|
+
/**
|
|
2079
|
+
* Benefit unique ID
|
|
2080
|
+
* @readonly
|
|
2081
|
+
*/
|
|
2082
|
+
_id?: string | null;
|
|
2083
|
+
/** Benefit Type */
|
|
2084
|
+
benefitType?: BenefitType;
|
|
2085
|
+
/** Resource IDs that serves by this benefit */
|
|
2086
|
+
resourceIds?: string[];
|
|
2087
|
+
/** Amount of credits that provided by this benefit */
|
|
2088
|
+
creditAmount?: number | null;
|
|
2089
|
+
/** additional details related to benefit; limited to 20 entries, 20 symbols for key and 20 symbols for value */
|
|
2090
|
+
customFields?: Record<string, string>;
|
|
2091
|
+
/** return value only in case it required in the ListRequest, true means that benefit's type could be updated */
|
|
2092
|
+
editable?: boolean | null;
|
|
2093
|
+
/** Benefit behavior */
|
|
2094
|
+
behavior?: Behavior;
|
|
2095
|
+
/**
|
|
2096
|
+
* Id of the app associated with this benefit
|
|
2097
|
+
* @readonly
|
|
2098
|
+
*/
|
|
2099
|
+
appDefId?: string | null;
|
|
2100
|
+
}
|
|
2101
|
+
export interface EntryPass {
|
|
2102
|
+
}
|
|
2103
|
+
export interface Discount extends DiscountDiscountOneOf {
|
|
2104
|
+
/** Fixed-rate percent off discount */
|
|
2105
|
+
percentOffRate?: string;
|
|
2106
|
+
/** Absolute amount discount */
|
|
2107
|
+
moneyOffAmount?: string;
|
|
2108
|
+
}
|
|
2109
|
+
/** @oneof */
|
|
2110
|
+
export interface DiscountDiscountOneOf {
|
|
2111
|
+
/** Fixed-rate percent off discount */
|
|
2112
|
+
percentOffRate?: string;
|
|
2113
|
+
/** Absolute amount discount */
|
|
2114
|
+
moneyOffAmount?: string;
|
|
2115
|
+
}
|
|
2116
|
+
export declare enum BenefitType {
|
|
2117
|
+
/** Should never be used */
|
|
2118
|
+
UNDEFINED = "UNDEFINED",
|
|
2119
|
+
/** Limited benefit type */
|
|
2120
|
+
LIMITED = "LIMITED",
|
|
2121
|
+
/** Unlimited benefit type */
|
|
2122
|
+
UNLIMITED = "UNLIMITED"
|
|
2123
|
+
}
|
|
2124
|
+
export interface Behavior extends BehaviorBehaviorOneOf {
|
|
2125
|
+
/** Entry pass for resources, e.g. a ticket for Bookings service or a ticket for Events. */
|
|
2126
|
+
defaultBehavior?: EntryPass;
|
|
2127
|
+
/** Discount applied to paid resources */
|
|
2128
|
+
discount?: Discount;
|
|
2129
|
+
}
|
|
2130
|
+
/** @oneof */
|
|
2131
|
+
export interface BehaviorBehaviorOneOf {
|
|
2132
|
+
/** Entry pass for resources, e.g. a ticket for Bookings service or a ticket for Events. */
|
|
2133
|
+
defaultBehavior?: EntryPass;
|
|
2134
|
+
/** Discount applied to paid resources */
|
|
2135
|
+
discount?: Discount;
|
|
2136
|
+
}
|
|
2137
|
+
export declare enum BenefitNotificationEvent {
|
|
2138
|
+
Updated = "Updated",
|
|
2139
|
+
Deleted = "Deleted",
|
|
2140
|
+
Created = "Created"
|
|
2141
|
+
}
|
|
2055
2142
|
export interface SetServiceLocationsRequest {
|
|
2056
2143
|
/** ID of the service. */
|
|
2057
2144
|
serviceId?: string;
|
|
@@ -2095,23 +2182,17 @@ export interface MoveToNewLocationsOptions {
|
|
|
2095
2182
|
/** The new location to move existing sessions currently set to a removed location, used when `action` is `MOVE_TO_LOCATION`. */
|
|
2096
2183
|
newLocation?: Location;
|
|
2097
2184
|
}
|
|
2098
|
-
export interface ParticipantNotification {
|
|
2099
|
-
/** Whether to send the message about the changes to the customer. `false` by default */
|
|
2100
|
-
notifyParticipants?: boolean | null;
|
|
2101
|
-
/** Custom message to send to the participants about the changes to the booking. */
|
|
2102
|
-
message?: string | null;
|
|
2103
|
-
}
|
|
2104
2185
|
export interface SetServiceLocationsResponse {
|
|
2105
2186
|
/** The updated service with the newly set locations. */
|
|
2106
2187
|
service?: Service;
|
|
2107
2188
|
}
|
|
2108
|
-
export interface
|
|
2189
|
+
export interface EnablePricingPlansForServiceRequest {
|
|
2109
2190
|
/** ID of the service to add the pricing plans to. */
|
|
2110
2191
|
serviceId?: string;
|
|
2111
2192
|
/** IDs of the pricing plans to connect to the service. */
|
|
2112
2193
|
pricingPlansIds?: string[];
|
|
2113
2194
|
}
|
|
2114
|
-
export interface
|
|
2195
|
+
export interface EnablePricingPlansForServiceResponse {
|
|
2115
2196
|
/** IDs of the pricing plans connect to the service. */
|
|
2116
2197
|
pricingPlansIds?: string[];
|
|
2117
2198
|
}
|
|
@@ -2121,13 +2202,13 @@ export interface InvalidPricingPlan {
|
|
|
2121
2202
|
/** The reason for the pricing plan considered as invalid */
|
|
2122
2203
|
message?: string;
|
|
2123
2204
|
}
|
|
2124
|
-
export interface
|
|
2205
|
+
export interface DisablePricingPlansForServiceRequest {
|
|
2125
2206
|
/** ID of the service to disconnect the pricing plans from. */
|
|
2126
2207
|
serviceId?: string;
|
|
2127
2208
|
/** ID of the pricing plans to disconnect from the service. */
|
|
2128
2209
|
pricingPlansIds?: string[];
|
|
2129
2210
|
}
|
|
2130
|
-
export interface
|
|
2211
|
+
export interface DisablePricingPlansForServiceResponse {
|
|
2131
2212
|
}
|
|
2132
2213
|
export interface SetCustomSlugRequest {
|
|
2133
2214
|
/** ID of the service to assign the custom slug to. */
|
|
@@ -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.Action = exports.ResourceNotificationEvent = exports.ResourceStatus = exports.SessionType = exports.SessionStatus = exports.CalendarType = exports.ConferenceType = exports.ScheduleStatus = exports.ApprovalStatus = exports.DayOfWeek = exports.LocationsLocationType = exports.LocationStatus = exports.LocationLocationType = exports.RecurringIntervalType = exports.Transparency = exports.Day = 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.BenefitNotificationEvent = exports.BenefitType = exports.ResourceNotificationEvent = exports.ResourceStatus = exports.SessionType = exports.SessionStatus = exports.CalendarType = exports.ConferenceType = exports.ScheduleStatus = exports.ApprovalStatus = exports.DayOfWeek = exports.LocationsLocationType = exports.LocationStatus = exports.LocationLocationType = exports.RecurringIntervalType = exports.Transparency = exports.Day = 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
|
|
@@ -253,6 +253,21 @@ var ResourceNotificationEvent;
|
|
|
253
253
|
ResourceNotificationEvent["Created"] = "Created";
|
|
254
254
|
ResourceNotificationEvent["Schedule_Updated"] = "Schedule_Updated";
|
|
255
255
|
})(ResourceNotificationEvent = exports.ResourceNotificationEvent || (exports.ResourceNotificationEvent = {}));
|
|
256
|
+
var BenefitType;
|
|
257
|
+
(function (BenefitType) {
|
|
258
|
+
/** Should never be used */
|
|
259
|
+
BenefitType["UNDEFINED"] = "UNDEFINED";
|
|
260
|
+
/** Limited benefit type */
|
|
261
|
+
BenefitType["LIMITED"] = "LIMITED";
|
|
262
|
+
/** Unlimited benefit type */
|
|
263
|
+
BenefitType["UNLIMITED"] = "UNLIMITED";
|
|
264
|
+
})(BenefitType = exports.BenefitType || (exports.BenefitType = {}));
|
|
265
|
+
var BenefitNotificationEvent;
|
|
266
|
+
(function (BenefitNotificationEvent) {
|
|
267
|
+
BenefitNotificationEvent["Updated"] = "Updated";
|
|
268
|
+
BenefitNotificationEvent["Deleted"] = "Deleted";
|
|
269
|
+
BenefitNotificationEvent["Created"] = "Created";
|
|
270
|
+
})(BenefitNotificationEvent = exports.BenefitNotificationEvent || (exports.BenefitNotificationEvent = {}));
|
|
256
271
|
var Action;
|
|
257
272
|
(function (Action) {
|
|
258
273
|
Action["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
|
|
@@ -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;AA2F5B,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;AAkHD,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;
|
|
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,CAA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E;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, Day, Transparency, RecurringIntervalType, LocationLocationType, LocationStatus, LocationsLocationType, DayOfWeek, ApprovalStatus, ScheduleStatus, ConferenceType, CalendarType, SessionStatus, SessionType, ResourceStatus, ResourceNotificationEvent, 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, ScheduleNotification, ScheduleNotificationEventOneOf, ScheduleCreated, V1Schedule, RecurringInterval, Interval, Frequency, LinkedSchedule, V1Location, CommonAddress, CommonAddressStreetOneOf, CommonStreetAddress, CommonAddressLocation, Subdivision, LocationsLocation, LocationsAddress, LocationsStreetAddress, LocationsAddressLocation, BusinessSchedule, TimePeriod, SpecialHourPeriod, Rate, Price, Availability, V1AvailabilityConstraints, SplitInterval, Participant, ExternalCalendarOverrides, Version, ConferenceProvider, CalendarConference, ScheduleUpdated, RecurringSessionsUpdated, Session, CalendarDateTime, LocalDateTime, ExternalCalendarInfo, SessionVersion, V1ParticipantNotification, ScheduleCancelled, SessionCreated, SessionUpdated, SessionCancelled, AvailabilityPolicyUpdated, AvailabilityPolicy, IntervalSplit, RecurringSessionSplit, ScheduleUnassignedFromUser, MultipleSessionsCreated, ScheduleWithSessions, SitePropertiesOnScheduleCreation, MigrationEvent, MigrationData, StaffData, ResourceNotification, Resource, SetServiceLocationsRequest, RemovedLocationSessionsAction, RemovedLocationSessionsActionActionOptionsOneOf, MoveToNewLocationsOptions,
|
|
4
|
+
export { ServiceType, RateType, LocationType, SortOrder, Status, Event, Day, Transparency, RecurringIntervalType, LocationLocationType, LocationStatus, LocationsLocationType, DayOfWeek, ApprovalStatus, ScheduleStatus, ConferenceType, CalendarType, SessionStatus, SessionType, ResourceStatus, ResourceNotificationEvent, BenefitType, BenefitNotificationEvent, 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, ParticipantNotification, DeleteServiceResponse, QueryServicesRequest, QueryV2, QueryV2PagingMethodOneOf, Sorting, Paging, CursorPaging, QueryServicesResponse, PagingMetadataV2, Cursors, CountServicesRequest, CountServicesResponse, CategoryNotification, Category, Empty, DomainEvent, DomainEventBodyOneOf, EntityCreatedEvent, EntityUpdatedEvent, EntityDeletedEvent, ActionEvent, ExtendedFieldsUpdatedEvent, ScheduleNotification, ScheduleNotificationEventOneOf, ScheduleCreated, V1Schedule, RecurringInterval, Interval, Frequency, LinkedSchedule, V1Location, CommonAddress, CommonAddressStreetOneOf, CommonStreetAddress, CommonAddressLocation, Subdivision, LocationsLocation, LocationsAddress, LocationsStreetAddress, LocationsAddressLocation, BusinessSchedule, TimePeriod, SpecialHourPeriod, Rate, Price, Availability, V1AvailabilityConstraints, SplitInterval, Participant, ExternalCalendarOverrides, Version, ConferenceProvider, CalendarConference, ScheduleUpdated, RecurringSessionsUpdated, Session, CalendarDateTime, LocalDateTime, ExternalCalendarInfo, SessionVersion, V1ParticipantNotification, ScheduleCancelled, SessionCreated, SessionUpdated, SessionCancelled, AvailabilityPolicyUpdated, AvailabilityPolicy, IntervalSplit, RecurringSessionSplit, ScheduleUnassignedFromUser, MultipleSessionsCreated, ScheduleWithSessions, SitePropertiesOnScheduleCreation, MigrationEvent, MigrationData, StaffData, ResourceNotification, Resource, BenefitNotification, Benefit, EntryPass, Discount, DiscountDiscountOneOf, Behavior, BehaviorBehaviorOneOf, SetServiceLocationsRequest, RemovedLocationSessionsAction, RemovedLocationSessionsActionActionOptionsOneOf, MoveToNewLocationsOptions, SetServiceLocationsResponse, EnablePricingPlansForServiceRequest, EnablePricingPlansForServiceResponse, InvalidPricingPlan, DisablePricingPlansForServiceRequest, DisablePricingPlansForServiceResponse, 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, Day, Transparency, RecurringIntervalType, LocationLocationType, LocationStatus, LocationsLocationType, DayOfWeek, ApprovalStatus, ScheduleStatus, ConferenceType, CalendarType, SessionStatus, SessionType, ResourceStatus, ResourceNotificationEvent, Action, InvalidSlugError, } from './bookings-services-v2-service.universal';
|
|
12
|
+
export { ServiceType, RateType, LocationType, SortOrder, Status, Event, Day, Transparency, RecurringIntervalType, LocationLocationType, LocationStatus, LocationsLocationType, DayOfWeek, ApprovalStatus, ScheduleStatus, ConferenceType, CalendarType, SessionStatus, SessionType, ResourceStatus, ResourceNotificationEvent, BenefitType, BenefitNotificationEvent, 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,GAAG,EACH,YAAY,EACZ,qBAAqB,EACrB,oBAAoB,EACpB,cAAc,EACd,qBAAqB,EACrB,SAAS,EACT,cAAc,EACd,cAAc,EACd,cAAc,EACd,YAAY,EACZ,aAAa,EACb,WAAW,EACX,cAAc,EACd,yBAAyB,EACzB,MAAM,EACN,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,GAAG,EACH,YAAY,EACZ,qBAAqB,EACrB,oBAAoB,EACpB,cAAc,EACd,qBAAqB,EACrB,SAAS,EACT,cAAc,EACd,cAAc,EACd,cAAc,EACd,YAAY,EACZ,aAAa,EACb,WAAW,EACX,cAAc,EACd,yBAAyB,EACzB,WAAW,EACX,wBAAwB,EACxB,MAAM,EACN,gBAAgB,GACjB,MAAM,0CAA0C,CAAC"}
|
|
@@ -824,6 +824,16 @@ export interface DeleteServiceRequest {
|
|
|
824
824
|
serviceId?: string;
|
|
825
825
|
/** The revision of the service. */
|
|
826
826
|
revision?: string;
|
|
827
|
+
/** Whether to preserve future sessions with participants. Optional, default is false. */
|
|
828
|
+
preserveFutureSessionsWithParticipants?: boolean;
|
|
829
|
+
/** Whether to notify participants about the change and an optional custom message. */
|
|
830
|
+
participantNotification?: ParticipantNotification;
|
|
831
|
+
}
|
|
832
|
+
export interface ParticipantNotification {
|
|
833
|
+
/** Whether to send the message about the changes to the customer. `false` by default */
|
|
834
|
+
notifyParticipants?: boolean | null;
|
|
835
|
+
/** Custom message to send to the participants about the changes to the booking. */
|
|
836
|
+
message?: string | null;
|
|
827
837
|
}
|
|
828
838
|
export interface DeleteServiceResponse {
|
|
829
839
|
}
|
|
@@ -2107,6 +2117,83 @@ export declare enum ResourceNotificationEvent {
|
|
|
2107
2117
|
Created = "Created",
|
|
2108
2118
|
Schedule_Updated = "Schedule_Updated"
|
|
2109
2119
|
}
|
|
2120
|
+
export interface BenefitNotification {
|
|
2121
|
+
/** Plan unique ID */
|
|
2122
|
+
planId?: string;
|
|
2123
|
+
/** App def ID */
|
|
2124
|
+
appDefId?: string;
|
|
2125
|
+
/** Current benefit details */
|
|
2126
|
+
benefit?: Benefit;
|
|
2127
|
+
/** Previous benefit */
|
|
2128
|
+
prevBenefit?: Benefit;
|
|
2129
|
+
/** Notification event */
|
|
2130
|
+
event?: BenefitNotificationEvent;
|
|
2131
|
+
}
|
|
2132
|
+
export interface Benefit {
|
|
2133
|
+
/**
|
|
2134
|
+
* Benefit unique ID
|
|
2135
|
+
* @readonly
|
|
2136
|
+
*/
|
|
2137
|
+
id?: string | null;
|
|
2138
|
+
/** Benefit Type */
|
|
2139
|
+
benefitType?: BenefitType;
|
|
2140
|
+
/** Resource IDs that serves by this benefit */
|
|
2141
|
+
resourceIds?: string[];
|
|
2142
|
+
/** Amount of credits that provided by this benefit */
|
|
2143
|
+
creditAmount?: number | null;
|
|
2144
|
+
/** additional details related to benefit; limited to 20 entries, 20 symbols for key and 20 symbols for value */
|
|
2145
|
+
customFields?: Record<string, string>;
|
|
2146
|
+
/** return value only in case it required in the ListRequest, true means that benefit's type could be updated */
|
|
2147
|
+
editable?: boolean | null;
|
|
2148
|
+
/** Benefit behavior */
|
|
2149
|
+
behavior?: Behavior;
|
|
2150
|
+
/**
|
|
2151
|
+
* Id of the app associated with this benefit
|
|
2152
|
+
* @readonly
|
|
2153
|
+
*/
|
|
2154
|
+
appDefId?: string | null;
|
|
2155
|
+
}
|
|
2156
|
+
export interface EntryPass {
|
|
2157
|
+
}
|
|
2158
|
+
export interface Discount extends DiscountDiscountOneOf {
|
|
2159
|
+
/** Fixed-rate percent off discount */
|
|
2160
|
+
percentOffRate?: string;
|
|
2161
|
+
/** Absolute amount discount */
|
|
2162
|
+
moneyOffAmount?: string;
|
|
2163
|
+
}
|
|
2164
|
+
/** @oneof */
|
|
2165
|
+
export interface DiscountDiscountOneOf {
|
|
2166
|
+
/** Fixed-rate percent off discount */
|
|
2167
|
+
percentOffRate?: string;
|
|
2168
|
+
/** Absolute amount discount */
|
|
2169
|
+
moneyOffAmount?: string;
|
|
2170
|
+
}
|
|
2171
|
+
export declare enum BenefitType {
|
|
2172
|
+
/** Should never be used */
|
|
2173
|
+
UNDEFINED = "UNDEFINED",
|
|
2174
|
+
/** Limited benefit type */
|
|
2175
|
+
LIMITED = "LIMITED",
|
|
2176
|
+
/** Unlimited benefit type */
|
|
2177
|
+
UNLIMITED = "UNLIMITED"
|
|
2178
|
+
}
|
|
2179
|
+
export interface Behavior extends BehaviorBehaviorOneOf {
|
|
2180
|
+
/** Entry pass for resources, e.g. a ticket for Bookings service or a ticket for Events. */
|
|
2181
|
+
defaultBehavior?: EntryPass;
|
|
2182
|
+
/** Discount applied to paid resources */
|
|
2183
|
+
discount?: Discount;
|
|
2184
|
+
}
|
|
2185
|
+
/** @oneof */
|
|
2186
|
+
export interface BehaviorBehaviorOneOf {
|
|
2187
|
+
/** Entry pass for resources, e.g. a ticket for Bookings service or a ticket for Events. */
|
|
2188
|
+
defaultBehavior?: EntryPass;
|
|
2189
|
+
/** Discount applied to paid resources */
|
|
2190
|
+
discount?: Discount;
|
|
2191
|
+
}
|
|
2192
|
+
export declare enum BenefitNotificationEvent {
|
|
2193
|
+
Updated = "Updated",
|
|
2194
|
+
Deleted = "Deleted",
|
|
2195
|
+
Created = "Created"
|
|
2196
|
+
}
|
|
2110
2197
|
export interface SetServiceLocationsRequest {
|
|
2111
2198
|
/** ID of the service. */
|
|
2112
2199
|
serviceId?: string;
|
|
@@ -2150,23 +2237,17 @@ export interface MoveToNewLocationsOptions {
|
|
|
2150
2237
|
/** The new location to move existing sessions currently set to a removed location, used when `action` is `MOVE_TO_LOCATION`. */
|
|
2151
2238
|
newLocation?: Location;
|
|
2152
2239
|
}
|
|
2153
|
-
export interface ParticipantNotification {
|
|
2154
|
-
/** Whether to send the message about the changes to the customer. `false` by default */
|
|
2155
|
-
notifyParticipants?: boolean | null;
|
|
2156
|
-
/** Custom message to send to the participants about the changes to the booking. */
|
|
2157
|
-
message?: string | null;
|
|
2158
|
-
}
|
|
2159
2240
|
export interface SetServiceLocationsResponse {
|
|
2160
2241
|
/** The updated service with the newly set locations. */
|
|
2161
2242
|
service?: Service;
|
|
2162
2243
|
}
|
|
2163
|
-
export interface
|
|
2244
|
+
export interface EnablePricingPlansForServiceRequest {
|
|
2164
2245
|
/** ID of the service to add the pricing plans to. */
|
|
2165
2246
|
serviceId?: string;
|
|
2166
2247
|
/** IDs of the pricing plans to connect to the service. */
|
|
2167
2248
|
pricingPlansIds?: string[];
|
|
2168
2249
|
}
|
|
2169
|
-
export interface
|
|
2250
|
+
export interface EnablePricingPlansForServiceResponse {
|
|
2170
2251
|
/** IDs of the pricing plans connect to the service. */
|
|
2171
2252
|
pricingPlansIds?: string[];
|
|
2172
2253
|
}
|
|
@@ -2176,13 +2257,13 @@ export interface InvalidPricingPlan {
|
|
|
2176
2257
|
/** The reason for the pricing plan considered as invalid */
|
|
2177
2258
|
message?: string;
|
|
2178
2259
|
}
|
|
2179
|
-
export interface
|
|
2260
|
+
export interface DisablePricingPlansForServiceRequest {
|
|
2180
2261
|
/** ID of the service to disconnect the pricing plans from. */
|
|
2181
2262
|
serviceId?: string;
|
|
2182
2263
|
/** ID of the pricing plans to disconnect from the service. */
|
|
2183
2264
|
pricingPlansIds?: string[];
|
|
2184
2265
|
}
|
|
2185
|
-
export interface
|
|
2266
|
+
export interface DisablePricingPlansForServiceResponse {
|
|
2186
2267
|
}
|
|
2187
2268
|
export interface SetCustomSlugRequest {
|
|
2188
2269
|
/** ID of the service to assign the custom slug to. */
|
|
@@ -203,6 +203,21 @@ export var ResourceNotificationEvent;
|
|
|
203
203
|
ResourceNotificationEvent["Created"] = "Created";
|
|
204
204
|
ResourceNotificationEvent["Schedule_Updated"] = "Schedule_Updated";
|
|
205
205
|
})(ResourceNotificationEvent || (ResourceNotificationEvent = {}));
|
|
206
|
+
export var BenefitType;
|
|
207
|
+
(function (BenefitType) {
|
|
208
|
+
/** Should never be used */
|
|
209
|
+
BenefitType["UNDEFINED"] = "UNDEFINED";
|
|
210
|
+
/** Limited benefit type */
|
|
211
|
+
BenefitType["LIMITED"] = "LIMITED";
|
|
212
|
+
/** Unlimited benefit type */
|
|
213
|
+
BenefitType["UNLIMITED"] = "UNLIMITED";
|
|
214
|
+
})(BenefitType || (BenefitType = {}));
|
|
215
|
+
export var BenefitNotificationEvent;
|
|
216
|
+
(function (BenefitNotificationEvent) {
|
|
217
|
+
BenefitNotificationEvent["Updated"] = "Updated";
|
|
218
|
+
BenefitNotificationEvent["Deleted"] = "Deleted";
|
|
219
|
+
BenefitNotificationEvent["Created"] = "Created";
|
|
220
|
+
})(BenefitNotificationEvent || (BenefitNotificationEvent = {}));
|
|
206
221
|
export var Action;
|
|
207
222
|
(function (Action) {
|
|
208
223
|
Action["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
|
|
@@ -1 +1 @@
|
|
|
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;IAC7C,qCAAqC;IACrC,0CAA2B,CAAA;IAC3B,8BAA8B;IAC9B,8BAAe,CAAA;IACf,+BAA+B;IAC/B,gCAAiB,CAAA;AACnB,CAAC,EARW,WAAW,KAAX,WAAW,QAQtB;AA2ID,MAAM,CAAN,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,KAAR,QAAQ,QAUnB;AA0HD,MAAM,CAAN,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,KAAZ,YAAY,QAQvB;
|
|
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;IAC7C,qCAAqC;IACrC,0CAA2B,CAAA;IAC3B,8BAA8B;IAC9B,8BAAe,CAAA;IACf,+BAA+B;IAC/B,gCAAiB,CAAA;AACnB,CAAC,EARW,WAAW,KAAX,WAAW,QAQtB;AA2ID,MAAM,CAAN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 -798,6 +798,16 @@ export interface DeleteServiceRequest {
|
|
|
798
798
|
serviceId?: string;
|
|
799
799
|
/** The revision of the service. */
|
|
800
800
|
revision?: string;
|
|
801
|
+
/** Whether to preserve future sessions with participants. Optional, default is false. */
|
|
802
|
+
preserveFutureSessionsWithParticipants?: boolean;
|
|
803
|
+
/** Whether to notify participants about the change and an optional custom message. */
|
|
804
|
+
participantNotification?: ParticipantNotification;
|
|
805
|
+
}
|
|
806
|
+
export interface ParticipantNotification {
|
|
807
|
+
/** Whether to send the message about the changes to the customer. `false` by default */
|
|
808
|
+
notifyParticipants?: boolean | null;
|
|
809
|
+
/** Custom message to send to the participants about the changes to the booking. */
|
|
810
|
+
message?: string | null;
|
|
801
811
|
}
|
|
802
812
|
export interface DeleteServiceResponse {
|
|
803
813
|
}
|
|
@@ -2052,6 +2062,83 @@ export declare enum ResourceNotificationEvent {
|
|
|
2052
2062
|
Created = "Created",
|
|
2053
2063
|
Schedule_Updated = "Schedule_Updated"
|
|
2054
2064
|
}
|
|
2065
|
+
export interface BenefitNotification {
|
|
2066
|
+
/** Plan unique ID */
|
|
2067
|
+
planId?: string;
|
|
2068
|
+
/** App def ID */
|
|
2069
|
+
appDefId?: string;
|
|
2070
|
+
/** Current benefit details */
|
|
2071
|
+
benefit?: Benefit;
|
|
2072
|
+
/** Previous benefit */
|
|
2073
|
+
prevBenefit?: Benefit;
|
|
2074
|
+
/** Notification event */
|
|
2075
|
+
event?: BenefitNotificationEvent;
|
|
2076
|
+
}
|
|
2077
|
+
export interface Benefit {
|
|
2078
|
+
/**
|
|
2079
|
+
* Benefit unique ID
|
|
2080
|
+
* @readonly
|
|
2081
|
+
*/
|
|
2082
|
+
_id?: string | null;
|
|
2083
|
+
/** Benefit Type */
|
|
2084
|
+
benefitType?: BenefitType;
|
|
2085
|
+
/** Resource IDs that serves by this benefit */
|
|
2086
|
+
resourceIds?: string[];
|
|
2087
|
+
/** Amount of credits that provided by this benefit */
|
|
2088
|
+
creditAmount?: number | null;
|
|
2089
|
+
/** additional details related to benefit; limited to 20 entries, 20 symbols for key and 20 symbols for value */
|
|
2090
|
+
customFields?: Record<string, string>;
|
|
2091
|
+
/** return value only in case it required in the ListRequest, true means that benefit's type could be updated */
|
|
2092
|
+
editable?: boolean | null;
|
|
2093
|
+
/** Benefit behavior */
|
|
2094
|
+
behavior?: Behavior;
|
|
2095
|
+
/**
|
|
2096
|
+
* Id of the app associated with this benefit
|
|
2097
|
+
* @readonly
|
|
2098
|
+
*/
|
|
2099
|
+
appDefId?: string | null;
|
|
2100
|
+
}
|
|
2101
|
+
export interface EntryPass {
|
|
2102
|
+
}
|
|
2103
|
+
export interface Discount extends DiscountDiscountOneOf {
|
|
2104
|
+
/** Fixed-rate percent off discount */
|
|
2105
|
+
percentOffRate?: string;
|
|
2106
|
+
/** Absolute amount discount */
|
|
2107
|
+
moneyOffAmount?: string;
|
|
2108
|
+
}
|
|
2109
|
+
/** @oneof */
|
|
2110
|
+
export interface DiscountDiscountOneOf {
|
|
2111
|
+
/** Fixed-rate percent off discount */
|
|
2112
|
+
percentOffRate?: string;
|
|
2113
|
+
/** Absolute amount discount */
|
|
2114
|
+
moneyOffAmount?: string;
|
|
2115
|
+
}
|
|
2116
|
+
export declare enum BenefitType {
|
|
2117
|
+
/** Should never be used */
|
|
2118
|
+
UNDEFINED = "UNDEFINED",
|
|
2119
|
+
/** Limited benefit type */
|
|
2120
|
+
LIMITED = "LIMITED",
|
|
2121
|
+
/** Unlimited benefit type */
|
|
2122
|
+
UNLIMITED = "UNLIMITED"
|
|
2123
|
+
}
|
|
2124
|
+
export interface Behavior extends BehaviorBehaviorOneOf {
|
|
2125
|
+
/** Entry pass for resources, e.g. a ticket for Bookings service or a ticket for Events. */
|
|
2126
|
+
defaultBehavior?: EntryPass;
|
|
2127
|
+
/** Discount applied to paid resources */
|
|
2128
|
+
discount?: Discount;
|
|
2129
|
+
}
|
|
2130
|
+
/** @oneof */
|
|
2131
|
+
export interface BehaviorBehaviorOneOf {
|
|
2132
|
+
/** Entry pass for resources, e.g. a ticket for Bookings service or a ticket for Events. */
|
|
2133
|
+
defaultBehavior?: EntryPass;
|
|
2134
|
+
/** Discount applied to paid resources */
|
|
2135
|
+
discount?: Discount;
|
|
2136
|
+
}
|
|
2137
|
+
export declare enum BenefitNotificationEvent {
|
|
2138
|
+
Updated = "Updated",
|
|
2139
|
+
Deleted = "Deleted",
|
|
2140
|
+
Created = "Created"
|
|
2141
|
+
}
|
|
2055
2142
|
export interface SetServiceLocationsRequest {
|
|
2056
2143
|
/** ID of the service. */
|
|
2057
2144
|
serviceId?: string;
|
|
@@ -2095,23 +2182,17 @@ export interface MoveToNewLocationsOptions {
|
|
|
2095
2182
|
/** The new location to move existing sessions currently set to a removed location, used when `action` is `MOVE_TO_LOCATION`. */
|
|
2096
2183
|
newLocation?: Location;
|
|
2097
2184
|
}
|
|
2098
|
-
export interface ParticipantNotification {
|
|
2099
|
-
/** Whether to send the message about the changes to the customer. `false` by default */
|
|
2100
|
-
notifyParticipants?: boolean | null;
|
|
2101
|
-
/** Custom message to send to the participants about the changes to the booking. */
|
|
2102
|
-
message?: string | null;
|
|
2103
|
-
}
|
|
2104
2185
|
export interface SetServiceLocationsResponse {
|
|
2105
2186
|
/** The updated service with the newly set locations. */
|
|
2106
2187
|
service?: Service;
|
|
2107
2188
|
}
|
|
2108
|
-
export interface
|
|
2189
|
+
export interface EnablePricingPlansForServiceRequest {
|
|
2109
2190
|
/** ID of the service to add the pricing plans to. */
|
|
2110
2191
|
serviceId?: string;
|
|
2111
2192
|
/** IDs of the pricing plans to connect to the service. */
|
|
2112
2193
|
pricingPlansIds?: string[];
|
|
2113
2194
|
}
|
|
2114
|
-
export interface
|
|
2195
|
+
export interface EnablePricingPlansForServiceResponse {
|
|
2115
2196
|
/** IDs of the pricing plans connect to the service. */
|
|
2116
2197
|
pricingPlansIds?: string[];
|
|
2117
2198
|
}
|
|
@@ -2121,13 +2202,13 @@ export interface InvalidPricingPlan {
|
|
|
2121
2202
|
/** The reason for the pricing plan considered as invalid */
|
|
2122
2203
|
message?: string;
|
|
2123
2204
|
}
|
|
2124
|
-
export interface
|
|
2205
|
+
export interface DisablePricingPlansForServiceRequest {
|
|
2125
2206
|
/** ID of the service to disconnect the pricing plans from. */
|
|
2126
2207
|
serviceId?: string;
|
|
2127
2208
|
/** ID of the pricing plans to disconnect from the service. */
|
|
2128
2209
|
pricingPlansIds?: string[];
|
|
2129
2210
|
}
|
|
2130
|
-
export interface
|
|
2211
|
+
export interface DisablePricingPlansForServiceResponse {
|
|
2131
2212
|
}
|
|
2132
2213
|
export interface SetCustomSlugRequest {
|
|
2133
2214
|
/** ID of the service to assign the custom slug to. */
|
|
@@ -231,6 +231,21 @@ export var ResourceNotificationEvent;
|
|
|
231
231
|
ResourceNotificationEvent["Created"] = "Created";
|
|
232
232
|
ResourceNotificationEvent["Schedule_Updated"] = "Schedule_Updated";
|
|
233
233
|
})(ResourceNotificationEvent || (ResourceNotificationEvent = {}));
|
|
234
|
+
export var BenefitType;
|
|
235
|
+
(function (BenefitType) {
|
|
236
|
+
/** Should never be used */
|
|
237
|
+
BenefitType["UNDEFINED"] = "UNDEFINED";
|
|
238
|
+
/** Limited benefit type */
|
|
239
|
+
BenefitType["LIMITED"] = "LIMITED";
|
|
240
|
+
/** Unlimited benefit type */
|
|
241
|
+
BenefitType["UNLIMITED"] = "UNLIMITED";
|
|
242
|
+
})(BenefitType || (BenefitType = {}));
|
|
243
|
+
export var BenefitNotificationEvent;
|
|
244
|
+
(function (BenefitNotificationEvent) {
|
|
245
|
+
BenefitNotificationEvent["Updated"] = "Updated";
|
|
246
|
+
BenefitNotificationEvent["Deleted"] = "Deleted";
|
|
247
|
+
BenefitNotificationEvent["Created"] = "Created";
|
|
248
|
+
})(BenefitNotificationEvent || (BenefitNotificationEvent = {}));
|
|
234
249
|
export var Action;
|
|
235
250
|
(function (Action) {
|
|
236
251
|
Action["UNKNOWN_ACTION_TYPE"] = "UNKNOWN_ACTION_TYPE";
|
|
@@ -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;AA2F5B,MAAM,CAAN,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,KAAX,WAAW,QAQtB;AAkHD,MAAM,CAAN,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,KAAR,QAAQ,QAUnB;AA0HD,MAAM,CAAN,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,KAAZ,YAAY,QAQvB;
|
|
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;AA2F5B,MAAM,CAAN,IAAY,WAQX;AARD,WAAY,WAAW;IACrB,4DAA6C,CAAA;IAC7C,qCAAqC;IACrC,0CAA2B,CAAA;IAC3B,8BAA8B;IAC9B,8BAAe,CAAA;IACf,+BAA+B;IAC/B,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AAC,CAAC;gBACjD,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,SAAS,+CAAtB,WAAW,EAAc,MAAM,CAAC,CAAC;gBACjC,OAAO,MAAM,CAAC;aACf;YAAC,OAAO,GAAG,EAAE;gBACZ,MAAA,WAAW,aAAX,WAAW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;gBAC5B,MAAM,GAAG,CAAC;aACX;QACH,CAAC,CAAA;QACD,kBAAkB,EAAE,CAAC,GAAG,IAAW,EAAE,EAAE,CAAC,mBAAmB,CAAC,IAAI,CAAC;QACjE,mBAAmB,EAAE,CAAC,EAAE,IAAI,EAAO,EAAE,EAAE,CAAC,QAAQ,CAAC,IAAI,CAAC;QACtD,gBAAgB,EAAE,CAAC,GAAQ,EAAE,EAAE;YAC7B,MAAM,gBAAgB,GAAG,cAAc,CAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;YAEpE,MAAM,gBAAgB,CAAC;QACzB,CAAC;QACD,YAAY,EAAE,QAAQ;QACtB,mBAAmB,EAAE,qCAAqC,CAAC,aAAa,CAAC;KAC1E,CAAC,CAAC,EAAE,4BAA4B,EAAE,IAAI,EAAE,CAAC,CAAC;AAC7C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/bookings",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.96",
|
|
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": "5f5aa3c194af1f845df31d2208f0f7b2e025bc7e8859ef1064766a3d"
|
|
37
37
|
}
|