@wix/auto_sdk_bookings_services 1.0.54 → 1.0.56
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/{es/src/bookings-services-v2-service-services.types.d.ts → bookings-services-v2-service-services.universal-B8YoV8-Q.d.mts} +893 -374
- package/build/{cjs/src/bookings-services-v2-service-services.types.d.ts → bookings-services-v2-service-services.universal-B8YoV8-Q.d.ts} +893 -374
- package/build/{internal/cjs/src/bookings-services-v2-service-services.public.d.ts → index.d.mts} +66 -31
- package/build/{internal/es/src/bookings-services-v2-service-services.public.d.ts → index.d.ts} +66 -31
- package/build/index.js +3306 -0
- package/build/index.js.map +1 -0
- package/build/index.mjs +3232 -0
- package/build/index.mjs.map +1 -0
- package/build/internal/{cjs/src/bookings-services-v2-service-services.types.d.ts → bookings-services-v2-service-services.universal-B8YoV8-Q.d.mts} +893 -374
- package/build/internal/{es/src/bookings-services-v2-service-services.types.d.ts → bookings-services-v2-service-services.universal-B8YoV8-Q.d.ts} +893 -374
- package/build/{cjs/src/bookings-services-v2-service-services.public.d.ts → internal/index.d.mts} +66 -31
- package/build/{es/src/bookings-services-v2-service-services.public.d.ts → internal/index.d.ts} +66 -31
- package/build/internal/index.js +3306 -0
- package/build/internal/index.js.map +1 -0
- package/build/internal/index.mjs +3232 -0
- package/build/internal/index.mjs.map +1 -0
- package/build/internal/meta.d.mts +2350 -0
- package/build/internal/meta.d.ts +2350 -0
- package/build/internal/meta.js +1879 -0
- package/build/internal/meta.js.map +1 -0
- package/build/internal/meta.mjs +1831 -0
- package/build/internal/meta.mjs.map +1 -0
- package/build/meta.d.mts +2350 -0
- package/build/meta.d.ts +2350 -0
- package/build/meta.js +1879 -0
- package/build/meta.js.map +1 -0
- package/build/meta.mjs +1831 -0
- package/build/meta.mjs.map +1 -0
- package/package.json +12 -11
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -18
- package/build/cjs/index.js.map +0 -1
- package/build/cjs/index.typings.d.ts +0 -56
- package/build/cjs/index.typings.js +0 -18
- package/build/cjs/index.typings.js.map +0 -1
- package/build/cjs/meta.d.ts +0 -1
- package/build/cjs/meta.js +0 -18
- package/build/cjs/meta.js.map +0 -1
- package/build/cjs/src/bookings-services-v2-service-services.context.d.ts +0 -42
- package/build/cjs/src/bookings-services-v2-service-services.context.js +0 -72
- package/build/cjs/src/bookings-services-v2-service-services.context.js.map +0 -1
- package/build/cjs/src/bookings-services-v2-service-services.http.d.ts +0 -498
- package/build/cjs/src/bookings-services-v2-service-services.http.js +0 -1904
- package/build/cjs/src/bookings-services-v2-service-services.http.js.map +0 -1
- package/build/cjs/src/bookings-services-v2-service-services.meta.d.ts +0 -48
- package/build/cjs/src/bookings-services-v2-service-services.meta.js +0 -446
- package/build/cjs/src/bookings-services-v2-service-services.meta.js.map +0 -1
- package/build/cjs/src/bookings-services-v2-service-services.public.js +0 -299
- package/build/cjs/src/bookings-services-v2-service-services.public.js.map +0 -1
- package/build/cjs/src/bookings-services-v2-service-services.types.js +0 -235
- package/build/cjs/src/bookings-services-v2-service-services.types.js.map +0 -1
- package/build/cjs/src/bookings-services-v2-service-services.universal.d.ts +0 -4835
- package/build/cjs/src/bookings-services-v2-service-services.universal.js +0 -2257
- package/build/cjs/src/bookings-services-v2-service-services.universal.js.map +0 -1
- package/build/es/index.d.ts +0 -1
- package/build/es/index.js +0 -2
- package/build/es/index.js.map +0 -1
- package/build/es/index.typings.d.ts +0 -56
- package/build/es/index.typings.js +0 -2
- package/build/es/index.typings.js.map +0 -1
- package/build/es/meta.d.ts +0 -1
- package/build/es/meta.js +0 -2
- package/build/es/meta.js.map +0 -1
- package/build/es/package.json +0 -3
- package/build/es/src/bookings-services-v2-service-services.context.d.ts +0 -42
- package/build/es/src/bookings-services-v2-service-services.context.js +0 -42
- package/build/es/src/bookings-services-v2-service-services.context.js.map +0 -1
- package/build/es/src/bookings-services-v2-service-services.http.d.ts +0 -498
- package/build/es/src/bookings-services-v2-service-services.http.js +0 -1879
- package/build/es/src/bookings-services-v2-service-services.http.js.map +0 -1
- package/build/es/src/bookings-services-v2-service-services.meta.d.ts +0 -48
- package/build/es/src/bookings-services-v2-service-services.meta.js +0 -398
- package/build/es/src/bookings-services-v2-service-services.meta.js.map +0 -1
- package/build/es/src/bookings-services-v2-service-services.public.js +0 -247
- package/build/es/src/bookings-services-v2-service-services.public.js.map +0 -1
- package/build/es/src/bookings-services-v2-service-services.types.js +0 -232
- package/build/es/src/bookings-services-v2-service-services.types.js.map +0 -1
- package/build/es/src/bookings-services-v2-service-services.universal.d.ts +0 -4835
- package/build/es/src/bookings-services-v2-service-services.universal.js +0 -2209
- package/build/es/src/bookings-services-v2-service-services.universal.js.map +0 -1
- package/build/internal/cjs/index.d.ts +0 -1
- package/build/internal/cjs/index.js +0 -18
- package/build/internal/cjs/index.js.map +0 -1
- package/build/internal/cjs/index.typings.d.ts +0 -56
- package/build/internal/cjs/index.typings.js +0 -18
- package/build/internal/cjs/index.typings.js.map +0 -1
- package/build/internal/cjs/meta.d.ts +0 -1
- package/build/internal/cjs/meta.js +0 -18
- package/build/internal/cjs/meta.js.map +0 -1
- package/build/internal/cjs/src/bookings-services-v2-service-services.context.d.ts +0 -42
- package/build/internal/cjs/src/bookings-services-v2-service-services.context.js +0 -72
- package/build/internal/cjs/src/bookings-services-v2-service-services.context.js.map +0 -1
- package/build/internal/cjs/src/bookings-services-v2-service-services.http.d.ts +0 -498
- package/build/internal/cjs/src/bookings-services-v2-service-services.http.js +0 -1904
- package/build/internal/cjs/src/bookings-services-v2-service-services.http.js.map +0 -1
- package/build/internal/cjs/src/bookings-services-v2-service-services.meta.d.ts +0 -48
- package/build/internal/cjs/src/bookings-services-v2-service-services.meta.js +0 -446
- package/build/internal/cjs/src/bookings-services-v2-service-services.meta.js.map +0 -1
- package/build/internal/cjs/src/bookings-services-v2-service-services.public.js +0 -299
- package/build/internal/cjs/src/bookings-services-v2-service-services.public.js.map +0 -1
- package/build/internal/cjs/src/bookings-services-v2-service-services.types.js +0 -235
- package/build/internal/cjs/src/bookings-services-v2-service-services.types.js.map +0 -1
- package/build/internal/cjs/src/bookings-services-v2-service-services.universal.d.ts +0 -4835
- package/build/internal/cjs/src/bookings-services-v2-service-services.universal.js +0 -2257
- package/build/internal/cjs/src/bookings-services-v2-service-services.universal.js.map +0 -1
- package/build/internal/es/index.d.ts +0 -1
- package/build/internal/es/index.js +0 -2
- package/build/internal/es/index.js.map +0 -1
- package/build/internal/es/index.typings.d.ts +0 -56
- package/build/internal/es/index.typings.js +0 -2
- package/build/internal/es/index.typings.js.map +0 -1
- package/build/internal/es/meta.d.ts +0 -1
- package/build/internal/es/meta.js +0 -2
- package/build/internal/es/meta.js.map +0 -1
- package/build/internal/es/src/bookings-services-v2-service-services.context.d.ts +0 -42
- package/build/internal/es/src/bookings-services-v2-service-services.context.js +0 -42
- package/build/internal/es/src/bookings-services-v2-service-services.context.js.map +0 -1
- package/build/internal/es/src/bookings-services-v2-service-services.http.d.ts +0 -498
- package/build/internal/es/src/bookings-services-v2-service-services.http.js +0 -1879
- package/build/internal/es/src/bookings-services-v2-service-services.http.js.map +0 -1
- package/build/internal/es/src/bookings-services-v2-service-services.meta.d.ts +0 -48
- package/build/internal/es/src/bookings-services-v2-service-services.meta.js +0 -398
- package/build/internal/es/src/bookings-services-v2-service-services.meta.js.map +0 -1
- package/build/internal/es/src/bookings-services-v2-service-services.public.js +0 -247
- package/build/internal/es/src/bookings-services-v2-service-services.public.js.map +0 -1
- package/build/internal/es/src/bookings-services-v2-service-services.types.js +0 -232
- package/build/internal/es/src/bookings-services-v2-service-services.types.js.map +0 -1
- package/build/internal/es/src/bookings-services-v2-service-services.universal.d.ts +0 -4835
- package/build/internal/es/src/bookings-services-v2-service-services.universal.js +0 -2209
- package/build/internal/es/src/bookings-services-v2-service-services.universal.js.map +0 -1
package/build/{cjs/src/bookings-services-v2-service-services.public.d.ts → internal/index.d.mts}
RENAMED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { EventDefinition,
|
|
2
|
-
import { BulkCreateServicesOptions, BulkCreateServicesResponse,
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare function createService(httpClient: HttpClient): CreateServiceSignature;
|
|
1
|
+
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
+
import { S as Service, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, U as UpdateService, b as BulkUpdateServicesOptions, c as BulkUpdateServicesResponse, d as BulkUpdateServicesByFilterOptions, e as BulkUpdateServicesByFilterResponse, D as DeleteServiceOptions, f as BulkDeleteServicesOptions, g as BulkDeleteServicesResponse, h as BulkDeleteServicesByFilterOptions, i as BulkDeleteServicesByFilterResponse, Q as QueryServicesOptions, j as ServicesQueryBuilder, k as ServiceSearch, l as SearchServicesResponse, C as CursorQuery, m as QueryPoliciesResponse, n as QueryBookingFormsOptions, o as QueryBookingFormsResponse, p as CountServicesOptions, q as CountServicesResponse, r as QueryLocationsOptions, s as QueryLocationsResponse, t as QueryCategoriesOptions, u as QueryCategoriesResponse, L as Location, v as SetServiceLocationsOptions, w as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, x as DisablePricingPlansForServiceOptions, y as DisablePricingPlansForServiceResponse, z as SetCustomSlugOptions, A as SetCustomSlugResponse, V as ValidateSlugOptions, F as ValidateSlugResponse, G as CloneServiceResponse, H as ServiceCreatedEnvelope, I as ServiceDeletedEnvelope, J as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-B8YoV8-Q.mjs';
|
|
3
|
+
export { a2 as Action, bj as ActionEvent, bv as AddOn, bw as AddOnAddOnInfoOneOf, b5 as AddOnDetails, b4 as AddOnGroup, bx as AddOnGroupDetail, dw as Address, dx as AddressHint, aw as AddressLocation, cd as Aggregation, ct as AggregationData, ce as AggregationKindOneOf, cM as AggregationResults, cN as AggregationResultsResultOneOf, cA as AggregationResultsScalarResult, $ as AggregationType, bL as ApplicationError, aO as AvailabilityConstraints, dL as BaseEventMetadata, dl as Behavior, dm as BehaviorBehaviorOneOf, dh as Benefit, dg as BenefitNotification, a7 as BenefitType, aD as BookAfterStartPolicy, cS as BookingForm, az as BookingPolicy, cQ as BookingPolicyWithServices, bM as BulkActionMetadata, bI as BulkCreateServicesRequest, c0 as BulkDeleteServicesByFilterRequest, b$ as BulkDeleteServicesRequest, bJ as BulkServiceResult, bX as BulkUpdateServicesByFilterRequest, bV as BulkUpdateServicesRequest, ax as BusinessLocationOptions, cY as BusinessLocations, dz as BusinessSchedule, aJ as CancellationFeePolicy, aE as CancellationPolicy, aK as CancellationWindow, aL as CancellationWindowFeeOneOf, du as Categories, de as Category, dd as CategoryNotification, a6 as CategoryNotificationEvent, dG as ChangeContext, dH as ChangeContextPayloadOneOf, a4 as CloneErrors, dc as CloneServiceRequest, at as CommonAddress, au as CommonAddressStreetOneOf, ar as Conferencing, cU as ConnectedService, dE as ConsentPolicy, cV as CountServicesRequest, bn as CreateAddOnGroupRequest, bo as CreateAddOnGroupResponse, bD as CreateServiceRequest, bE as CreateServiceResponse, a9 as CrudType, c6 as CursorPaging, cs as CursorPagingMetadata, cP as CursorQueryPagingMethodOneOf, cb as CursorSearch, cc as CursorSearchPagingMethodOneOf, c9 as Cursors, ay as CustomLocationOptions, cZ as CustomLocations, an as CustomPayment, c_ as CustomerLocations, cl as DateHistogramAggregation, cI as DateHistogramResult, cK as DateHistogramResults, ab as DayOfWeek, b9 as Delete, bp as DeleteAddOnGroupRequest, bq as DeleteAddOnGroupResponse, bY as DeleteServiceRequest, b_ as DeleteServiceResponse, d9 as DisablePricingPlansForServiceRequest, dj as Discount, dk as DiscountDiscountOneOf, bd as DomainEvent, be as DomainEventBodyOneOf, aP as Duration, df as Empty, d7 as EnablePricingPlansForServiceRequest, bf as EntityCreatedEvent, bi as EntityDeletedEvent, bh as EntityUpdatedEvent, di as EntryPass, a8 as Event, dM as EventMetadata, a$ as ExtendedFields, bH as FieldViolation, al as FixedPayment, ah as Form, cT as FormDetails, ai as FormSettings, dy as GeoCoordinates, bP as GetServiceAvailabilityConstraintsRequest, bQ as GetServiceAvailabilityConstraintsResponse, bN as GetServiceRequest, bO as GetServiceResponse, cp as GroupByAggregation, cq as GroupByAggregationKindOneOf, cJ as GroupByValueResults, dp as HtmlSitePublished, bl as IdentificationData, bm as IdentificationDataIdOneOf, cg as IncludeMissingValuesOptions, _ as Interval, d8 as InvalidPricingPlan, a3 as InvalidSlugError, bK as ItemMetadata, b1 as Keyword, aB as LimitEarlyBookingPolicy, aC as LimitLateBookingPolicy, bt as ListAddOnGroupsByServiceIdRequest, bu as ListAddOnGroupsByServiceIdResponse, dv as Locale, as as LocationOptionsOneOf, M as LocationType, bW as MaskedService, ad as Media, ae as MediaItem, af as MediaItemItemOneOf, bk as MessageEnvelope, X as MissingValues, a0 as Mode, am as Money, d6 as MoveToNewLocationsOptions, dC as Multilingual, co as NestedAggregation, cm as NestedAggregationItem, cn as NestedAggregationItemKindOneOf, cw as NestedAggregationResults, cx as NestedAggregationResultsResultOneOf, Z as NestedAggregationType, cF as NestedResultValue, cG as NestedResultValueResultOneOf, cL as NestedResults, cB as NestedValueAggregationResult, aq as OnlineBooking, dq as Page, c5 as Paging, c8 as PagingMetadataV2, bZ as ParticipantNotification, aH as ParticipantsPolicy, aj as Payment, ap as PaymentOptions, ak as PaymentRateOneOf, aa as PlacementType, aA as PolicyDescription, dt as Properties, dI as PropertiesChange, cR as QueryBookingFormsRequest, d0 as QueryCategoriesFilter, c$ as QueryCategoriesRequest, cX as QueryLocationsFilter, cW as QueryLocationsRequest, cO as QueryPoliciesRequest, d1 as QueryServicesMultiLanguageRequest, d2 as QueryServicesMultiLanguageResponse, c1 as QueryServicesRequest, c7 as QueryServicesResponse, c2 as QueryV2, c3 as QueryV2PagingMethodOneOf, cj as RangeAggregation, cv as RangeAggregationResult, cf as RangeBucket, cD as RangeResult, cz as RangeResults, R as RateType, b6 as ReindexMessage, b7 as ReindexMessageActionOneOf, d4 as RemovedLocationSessionsAction, d5 as RemovedLocationSessionsActionActionOptionsOneOf, a1 as RequestedFields, aF as ReschedulePolicy, ac as ResolutionMethod, aU as ResourceGroup, aV as ResourceIds, aY as ResourceType, aI as ResourcesPolicy, bg as RestoreInfo, cH as Results, aM as SaveCreditCardPolicy, ck as ScalarAggregation, cE as ScalarResult, Y as ScalarType, aN as Schedule, ba as Schema, cr as SearchDetails, ca as SearchServicesRequest, b0 as SeoSchema, bR as ServiceAvailabilityConstraints, aW as ServiceResource, aX as ServiceResourceSelectionOneOf, dO as ServiceSearchSpec, K as ServiceType, dN as ServicesQueryResult, bc as ServicesUrlsChanged, by as SetAddOnsForGroupRequest, bz as SetAddOnsForGroupResponse, bb as SetCustomSlugEvent, da as SetCustomSlugRequest, d3 as SetServiceLocationsRequest, b3 as Settings, dK as SiteCloned, dJ as SiteCreated, ds as SitePropertiesEvent, dr as SitePropertiesNotification, aZ as Slug, T as SortDirection, O as SortOrder, P as SortType, c4 as Sorting, dB as SpecialHourPeriod, bS as SplitInterval, aR as StaffMediaItem, aS as StaffMediaItemItemOneOf, aQ as StaffMember, aT as StaffMemberDetails, a5 as Status, av as StreetAddress, dD as SupportedLanguage, b2 as Tag, dA as TimePeriod, dF as Translation, a_ as URLs, br as UpdateAddOnGroupRequest, bs as UpdateAddOnGroupResponse, bT as UpdateServiceRequest, bU as UpdateServiceResponse, b8 as Upsert, dn as UserDomainInfoChangedEvent, ag as V2Category, N as V2RequestedFields, bA as ValidateAddOnsSelectionRequest, bB as ValidateAddOnsSelectionResponse, bF as ValidateServiceRequest, bG as ValidateServiceResponse, db as ValidateSlugRequest, bC as ValidationResult, ch as ValueAggregation, ci as ValueAggregationOptionsOneOf, cu as ValueAggregationResult, cC as ValueResult, cy as ValueResults, ao as VariedPayment, aG as WaitlistPolicy, W as WebhookIdentityType } from './bookings-services-v2-service-services.universal-B8YoV8-Q.mjs';
|
|
4
|
+
|
|
5
|
+
declare function createService$1(httpClient: HttpClient): CreateServiceSignature;
|
|
7
6
|
interface CreateServiceSignature {
|
|
8
7
|
/**
|
|
9
8
|
* Creates a service.
|
|
@@ -53,7 +52,7 @@ interface CreateServiceSignature {
|
|
|
53
52
|
*/
|
|
54
53
|
(service: Service): Promise<Service>;
|
|
55
54
|
}
|
|
56
|
-
|
|
55
|
+
declare function bulkCreateServices$1(httpClient: HttpClient): BulkCreateServicesSignature;
|
|
57
56
|
interface BulkCreateServicesSignature {
|
|
58
57
|
/**
|
|
59
58
|
* Creates multiple services.
|
|
@@ -66,7 +65,7 @@ interface BulkCreateServicesSignature {
|
|
|
66
65
|
*/
|
|
67
66
|
(services: Service[], options?: BulkCreateServicesOptions | undefined): Promise<BulkCreateServicesResponse>;
|
|
68
67
|
}
|
|
69
|
-
|
|
68
|
+
declare function getService$1(httpClient: HttpClient): GetServiceSignature;
|
|
70
69
|
interface GetServiceSignature {
|
|
71
70
|
/**
|
|
72
71
|
* Retrieves a service.
|
|
@@ -75,7 +74,7 @@ interface GetServiceSignature {
|
|
|
75
74
|
*/
|
|
76
75
|
(serviceId: string): Promise<Service>;
|
|
77
76
|
}
|
|
78
|
-
|
|
77
|
+
declare function updateService$1(httpClient: HttpClient): UpdateServiceSignature;
|
|
79
78
|
interface UpdateServiceSignature {
|
|
80
79
|
/**
|
|
81
80
|
* Updates a service.
|
|
@@ -99,7 +98,7 @@ interface UpdateServiceSignature {
|
|
|
99
98
|
*/
|
|
100
99
|
(_id: string, service: UpdateService): Promise<Service>;
|
|
101
100
|
}
|
|
102
|
-
|
|
101
|
+
declare function bulkUpdateServices$1(httpClient: HttpClient): BulkUpdateServicesSignature;
|
|
103
102
|
interface BulkUpdateServicesSignature {
|
|
104
103
|
/**
|
|
105
104
|
* Updates up to 100 services.
|
|
@@ -114,7 +113,7 @@ interface BulkUpdateServicesSignature {
|
|
|
114
113
|
*/
|
|
115
114
|
(options?: BulkUpdateServicesOptions | undefined): Promise<BulkUpdateServicesResponse>;
|
|
116
115
|
}
|
|
117
|
-
|
|
116
|
+
declare function bulkUpdateServicesByFilter$1(httpClient: HttpClient): BulkUpdateServicesByFilterSignature;
|
|
118
117
|
interface BulkUpdateServicesByFilterSignature {
|
|
119
118
|
/**
|
|
120
119
|
* Updates multiple services by filter.
|
|
@@ -134,7 +133,7 @@ interface BulkUpdateServicesByFilterSignature {
|
|
|
134
133
|
*/
|
|
135
134
|
(filter: Record<string, any>, options: BulkUpdateServicesByFilterOptions): Promise<BulkUpdateServicesByFilterResponse>;
|
|
136
135
|
}
|
|
137
|
-
|
|
136
|
+
declare function deleteService$1(httpClient: HttpClient): DeleteServiceSignature;
|
|
138
137
|
interface DeleteServiceSignature {
|
|
139
138
|
/**
|
|
140
139
|
* Deletes a service.
|
|
@@ -147,7 +146,7 @@ interface DeleteServiceSignature {
|
|
|
147
146
|
*/
|
|
148
147
|
(serviceId: string, options?: DeleteServiceOptions | undefined): Promise<void>;
|
|
149
148
|
}
|
|
150
|
-
|
|
149
|
+
declare function bulkDeleteServices$1(httpClient: HttpClient): BulkDeleteServicesSignature;
|
|
151
150
|
interface BulkDeleteServicesSignature {
|
|
152
151
|
/**
|
|
153
152
|
* Deletes multiple services.
|
|
@@ -163,7 +162,7 @@ interface BulkDeleteServicesSignature {
|
|
|
163
162
|
*/
|
|
164
163
|
(ids: string[], options?: BulkDeleteServicesOptions | undefined): Promise<BulkDeleteServicesResponse>;
|
|
165
164
|
}
|
|
166
|
-
|
|
165
|
+
declare function bulkDeleteServicesByFilter$1(httpClient: HttpClient): BulkDeleteServicesByFilterSignature;
|
|
167
166
|
interface BulkDeleteServicesByFilterSignature {
|
|
168
167
|
/**
|
|
169
168
|
* Deletes multiple services by filter.
|
|
@@ -186,7 +185,7 @@ interface BulkDeleteServicesByFilterSignature {
|
|
|
186
185
|
*/
|
|
187
186
|
(filter: Record<string, any>, options?: BulkDeleteServicesByFilterOptions | undefined): Promise<BulkDeleteServicesByFilterResponse>;
|
|
188
187
|
}
|
|
189
|
-
|
|
188
|
+
declare function queryServices$1(httpClient: HttpClient): QueryServicesSignature;
|
|
190
189
|
interface QueryServicesSignature {
|
|
191
190
|
/**
|
|
192
191
|
* Creates a query to retrieve a list of `service` objects.
|
|
@@ -208,7 +207,7 @@ interface QueryServicesSignature {
|
|
|
208
207
|
*/
|
|
209
208
|
(options?: QueryServicesOptions | undefined): ServicesQueryBuilder;
|
|
210
209
|
}
|
|
211
|
-
|
|
210
|
+
declare function searchServices$1(httpClient: HttpClient): SearchServicesSignature;
|
|
212
211
|
interface SearchServicesSignature {
|
|
213
212
|
/**
|
|
214
213
|
* Retrieves a list of up to 100 services, given the provided filtering, paging,
|
|
@@ -242,7 +241,7 @@ interface SearchServicesSignature {
|
|
|
242
241
|
*/
|
|
243
242
|
(search: ServiceSearch): Promise<SearchServicesResponse>;
|
|
244
243
|
}
|
|
245
|
-
|
|
244
|
+
declare function queryPolicies$1(httpClient: HttpClient): QueryPoliciesSignature;
|
|
246
245
|
interface QueryPoliciesSignature {
|
|
247
246
|
/**
|
|
248
247
|
* Retrieves a list of up to 100 *booking policies*
|
|
@@ -286,7 +285,7 @@ interface QueryPoliciesSignature {
|
|
|
286
285
|
*/
|
|
287
286
|
(query: CursorQuery): Promise<QueryPoliciesResponse>;
|
|
288
287
|
}
|
|
289
|
-
|
|
288
|
+
declare function queryBookingForms$1(httpClient: HttpClient): QueryBookingFormsSignature;
|
|
290
289
|
interface QueryBookingFormsSignature {
|
|
291
290
|
/**
|
|
292
291
|
* Retrieves a list of up to 100 *booking forms*
|
|
@@ -336,7 +335,7 @@ interface QueryBookingFormsSignature {
|
|
|
336
335
|
*/
|
|
337
336
|
(query: CursorQuery, options?: QueryBookingFormsOptions | undefined): Promise<QueryBookingFormsResponse>;
|
|
338
337
|
}
|
|
339
|
-
|
|
338
|
+
declare function countServices$1(httpClient: HttpClient): CountServicesSignature;
|
|
340
339
|
interface CountServicesSignature {
|
|
341
340
|
/**
|
|
342
341
|
* Counts how many services match the given filter.
|
|
@@ -351,7 +350,7 @@ interface CountServicesSignature {
|
|
|
351
350
|
*/
|
|
352
351
|
(options?: CountServicesOptions | undefined): Promise<CountServicesResponse>;
|
|
353
352
|
}
|
|
354
|
-
|
|
353
|
+
declare function queryLocations$1(httpClient: HttpClient): QueryLocationsSignature;
|
|
355
354
|
interface QueryLocationsSignature {
|
|
356
355
|
/**
|
|
357
356
|
* Retrieves 3 separate lists of business, custom, and customer *locations*
|
|
@@ -381,7 +380,7 @@ interface QueryLocationsSignature {
|
|
|
381
380
|
*/
|
|
382
381
|
(options?: QueryLocationsOptions | undefined): Promise<QueryLocationsResponse>;
|
|
383
382
|
}
|
|
384
|
-
|
|
383
|
+
declare function queryCategories$1(httpClient: HttpClient): QueryCategoriesSignature;
|
|
385
384
|
interface QueryCategoriesSignature {
|
|
386
385
|
/**
|
|
387
386
|
* Retrieves a list of service *categories*
|
|
@@ -410,7 +409,7 @@ interface QueryCategoriesSignature {
|
|
|
410
409
|
*/
|
|
411
410
|
(options?: QueryCategoriesOptions | undefined): Promise<QueryCategoriesResponse>;
|
|
412
411
|
}
|
|
413
|
-
|
|
412
|
+
declare function setServiceLocations$1(httpClient: HttpClient): SetServiceLocationsSignature;
|
|
414
413
|
interface SetServiceLocationsSignature {
|
|
415
414
|
/**
|
|
416
415
|
* Replaces the list of the *locations*
|
|
@@ -466,7 +465,7 @@ interface SetServiceLocationsSignature {
|
|
|
466
465
|
*/
|
|
467
466
|
(serviceId: string, locations: Location[], options?: SetServiceLocationsOptions | undefined): Promise<SetServiceLocationsResponse>;
|
|
468
467
|
}
|
|
469
|
-
|
|
468
|
+
declare function enablePricingPlansForService$1(httpClient: HttpClient): EnablePricingPlansForServiceSignature;
|
|
470
469
|
interface EnablePricingPlansForServiceSignature {
|
|
471
470
|
/**
|
|
472
471
|
* Adds a list of *pricing plan IDs*
|
|
@@ -486,7 +485,7 @@ interface EnablePricingPlansForServiceSignature {
|
|
|
486
485
|
*/
|
|
487
486
|
(serviceId: string, pricingPlanIds: string[]): Promise<EnablePricingPlansForServiceResponse>;
|
|
488
487
|
}
|
|
489
|
-
|
|
488
|
+
declare function disablePricingPlansForService$1(httpClient: HttpClient): DisablePricingPlansForServiceSignature;
|
|
490
489
|
interface DisablePricingPlansForServiceSignature {
|
|
491
490
|
/**
|
|
492
491
|
* Removes a list of *pricing plan IDs*
|
|
@@ -501,7 +500,7 @@ interface DisablePricingPlansForServiceSignature {
|
|
|
501
500
|
*/
|
|
502
501
|
(serviceId: string, options?: DisablePricingPlansForServiceOptions | undefined): Promise<DisablePricingPlansForServiceResponse>;
|
|
503
502
|
}
|
|
504
|
-
|
|
503
|
+
declare function setCustomSlug$1(httpClient: HttpClient): SetCustomSlugSignature;
|
|
505
504
|
interface SetCustomSlugSignature {
|
|
506
505
|
/**
|
|
507
506
|
* Sets a new active slug for the service.
|
|
@@ -515,7 +514,7 @@ interface SetCustomSlugSignature {
|
|
|
515
514
|
*/
|
|
516
515
|
(serviceId: string, options?: SetCustomSlugOptions | undefined): Promise<SetCustomSlugResponse>;
|
|
517
516
|
}
|
|
518
|
-
|
|
517
|
+
declare function validateSlug$1(httpClient: HttpClient): ValidateSlugSignature;
|
|
519
518
|
interface ValidateSlugSignature {
|
|
520
519
|
/**
|
|
521
520
|
* Checks whether a custom slug is validate for the service.
|
|
@@ -531,7 +530,7 @@ interface ValidateSlugSignature {
|
|
|
531
530
|
*/
|
|
532
531
|
(serviceId: string, options?: ValidateSlugOptions | undefined): Promise<ValidateSlugResponse>;
|
|
533
532
|
}
|
|
534
|
-
|
|
533
|
+
declare function cloneService$1(httpClient: HttpClient): CloneServiceSignature;
|
|
535
534
|
interface CloneServiceSignature {
|
|
536
535
|
/**
|
|
537
536
|
* Clones a service.
|
|
@@ -598,7 +597,43 @@ interface CloneServiceSignature {
|
|
|
598
597
|
*/
|
|
599
598
|
(sourceServiceId: string): Promise<CloneServiceResponse>;
|
|
600
599
|
}
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
600
|
+
declare const onServiceCreated$1: EventDefinition<ServiceCreatedEnvelope, "wix.bookings.services.v2.service_created">;
|
|
601
|
+
declare const onServiceDeleted$1: EventDefinition<ServiceDeletedEnvelope, "wix.bookings.services.v2.service_deleted">;
|
|
602
|
+
declare const onServiceUpdated$1: EventDefinition<ServiceUpdatedEnvelope, "wix.bookings.services.v2.service_updated">;
|
|
603
|
+
|
|
604
|
+
declare const createService: MaybeContext<BuildRESTFunction<typeof createService$1> & typeof createService$1>;
|
|
605
|
+
declare const bulkCreateServices: MaybeContext<BuildRESTFunction<typeof bulkCreateServices$1> & typeof bulkCreateServices$1>;
|
|
606
|
+
declare const getService: MaybeContext<BuildRESTFunction<typeof getService$1> & typeof getService$1>;
|
|
607
|
+
declare const updateService: MaybeContext<BuildRESTFunction<typeof updateService$1> & typeof updateService$1>;
|
|
608
|
+
declare const bulkUpdateServices: MaybeContext<BuildRESTFunction<typeof bulkUpdateServices$1> & typeof bulkUpdateServices$1>;
|
|
609
|
+
declare const bulkUpdateServicesByFilter: MaybeContext<BuildRESTFunction<typeof bulkUpdateServicesByFilter$1> & typeof bulkUpdateServicesByFilter$1>;
|
|
610
|
+
declare const deleteService: MaybeContext<BuildRESTFunction<typeof deleteService$1> & typeof deleteService$1>;
|
|
611
|
+
declare const bulkDeleteServices: MaybeContext<BuildRESTFunction<typeof bulkDeleteServices$1> & typeof bulkDeleteServices$1>;
|
|
612
|
+
declare const bulkDeleteServicesByFilter: MaybeContext<BuildRESTFunction<typeof bulkDeleteServicesByFilter$1> & typeof bulkDeleteServicesByFilter$1>;
|
|
613
|
+
declare const queryServices: MaybeContext<BuildRESTFunction<typeof queryServices$1> & typeof queryServices$1>;
|
|
614
|
+
declare const searchServices: MaybeContext<BuildRESTFunction<typeof searchServices$1> & typeof searchServices$1>;
|
|
615
|
+
declare const queryPolicies: MaybeContext<BuildRESTFunction<typeof queryPolicies$1> & typeof queryPolicies$1>;
|
|
616
|
+
declare const queryBookingForms: MaybeContext<BuildRESTFunction<typeof queryBookingForms$1> & typeof queryBookingForms$1>;
|
|
617
|
+
declare const countServices: MaybeContext<BuildRESTFunction<typeof countServices$1> & typeof countServices$1>;
|
|
618
|
+
declare const queryLocations: MaybeContext<BuildRESTFunction<typeof queryLocations$1> & typeof queryLocations$1>;
|
|
619
|
+
declare const queryCategories: MaybeContext<BuildRESTFunction<typeof queryCategories$1> & typeof queryCategories$1>;
|
|
620
|
+
declare const setServiceLocations: MaybeContext<BuildRESTFunction<typeof setServiceLocations$1> & typeof setServiceLocations$1>;
|
|
621
|
+
declare const enablePricingPlansForService: MaybeContext<BuildRESTFunction<typeof enablePricingPlansForService$1> & typeof enablePricingPlansForService$1>;
|
|
622
|
+
declare const disablePricingPlansForService: MaybeContext<BuildRESTFunction<typeof disablePricingPlansForService$1> & typeof disablePricingPlansForService$1>;
|
|
623
|
+
declare const setCustomSlug: MaybeContext<BuildRESTFunction<typeof setCustomSlug$1> & typeof setCustomSlug$1>;
|
|
624
|
+
declare const validateSlug: MaybeContext<BuildRESTFunction<typeof validateSlug$1> & typeof validateSlug$1>;
|
|
625
|
+
declare const cloneService: MaybeContext<BuildRESTFunction<typeof cloneService$1> & typeof cloneService$1>;
|
|
626
|
+
/**
|
|
627
|
+
* Triggered when a service is created.
|
|
628
|
+
*/
|
|
629
|
+
declare const onServiceCreated: BuildEventDefinition<typeof onServiceCreated$1>;
|
|
630
|
+
/**
|
|
631
|
+
* Triggered when a service is deleted.
|
|
632
|
+
*/
|
|
633
|
+
declare const onServiceDeleted: BuildEventDefinition<typeof onServiceDeleted$1>;
|
|
634
|
+
/**
|
|
635
|
+
* Triggered when a service is updated.
|
|
636
|
+
*/
|
|
637
|
+
declare const onServiceUpdated: BuildEventDefinition<typeof onServiceUpdated$1>;
|
|
638
|
+
|
|
639
|
+
export { BulkCreateServicesOptions, BulkCreateServicesResponse, BulkDeleteServicesByFilterOptions, BulkDeleteServicesByFilterResponse, BulkDeleteServicesOptions, BulkDeleteServicesResponse, BulkUpdateServicesByFilterOptions, BulkUpdateServicesByFilterResponse, BulkUpdateServicesOptions, BulkUpdateServicesResponse, CloneServiceResponse, CountServicesOptions, CountServicesResponse, CursorQuery, DeleteServiceOptions, DisablePricingPlansForServiceOptions, DisablePricingPlansForServiceResponse, EnablePricingPlansForServiceResponse, Location, QueryBookingFormsOptions, QueryBookingFormsResponse, QueryCategoriesOptions, QueryCategoriesResponse, QueryLocationsOptions, QueryLocationsResponse, QueryPoliciesResponse, QueryServicesOptions, SearchServicesResponse, Service, ServiceCreatedEnvelope, ServiceDeletedEnvelope, ServiceUpdatedEnvelope, ServicesQueryBuilder, SetCustomSlugOptions, SetCustomSlugResponse, SetServiceLocationsOptions, SetServiceLocationsResponse, UpdateService, ValidateSlugOptions, ValidateSlugResponse, bulkCreateServices, bulkDeleteServices, bulkDeleteServicesByFilter, bulkUpdateServices, bulkUpdateServicesByFilter, cloneService, countServices, createService, deleteService, disablePricingPlansForService, enablePricingPlansForService, getService, onServiceCreated, onServiceDeleted, onServiceUpdated, queryBookingForms, queryCategories, queryLocations, queryPolicies, queryServices, searchServices, setCustomSlug, setServiceLocations, updateService, validateSlug };
|
package/build/{es/src/bookings-services-v2-service-services.public.d.ts → internal/index.d.ts}
RENAMED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { EventDefinition,
|
|
2
|
-
import { BulkCreateServicesOptions, BulkCreateServicesResponse,
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
export declare function createService(httpClient: HttpClient): CreateServiceSignature;
|
|
1
|
+
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
+
import { S as Service, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, U as UpdateService, b as BulkUpdateServicesOptions, c as BulkUpdateServicesResponse, d as BulkUpdateServicesByFilterOptions, e as BulkUpdateServicesByFilterResponse, D as DeleteServiceOptions, f as BulkDeleteServicesOptions, g as BulkDeleteServicesResponse, h as BulkDeleteServicesByFilterOptions, i as BulkDeleteServicesByFilterResponse, Q as QueryServicesOptions, j as ServicesQueryBuilder, k as ServiceSearch, l as SearchServicesResponse, C as CursorQuery, m as QueryPoliciesResponse, n as QueryBookingFormsOptions, o as QueryBookingFormsResponse, p as CountServicesOptions, q as CountServicesResponse, r as QueryLocationsOptions, s as QueryLocationsResponse, t as QueryCategoriesOptions, u as QueryCategoriesResponse, L as Location, v as SetServiceLocationsOptions, w as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, x as DisablePricingPlansForServiceOptions, y as DisablePricingPlansForServiceResponse, z as SetCustomSlugOptions, A as SetCustomSlugResponse, V as ValidateSlugOptions, F as ValidateSlugResponse, G as CloneServiceResponse, H as ServiceCreatedEnvelope, I as ServiceDeletedEnvelope, J as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-B8YoV8-Q.js';
|
|
3
|
+
export { a2 as Action, bj as ActionEvent, bv as AddOn, bw as AddOnAddOnInfoOneOf, b5 as AddOnDetails, b4 as AddOnGroup, bx as AddOnGroupDetail, dw as Address, dx as AddressHint, aw as AddressLocation, cd as Aggregation, ct as AggregationData, ce as AggregationKindOneOf, cM as AggregationResults, cN as AggregationResultsResultOneOf, cA as AggregationResultsScalarResult, $ as AggregationType, bL as ApplicationError, aO as AvailabilityConstraints, dL as BaseEventMetadata, dl as Behavior, dm as BehaviorBehaviorOneOf, dh as Benefit, dg as BenefitNotification, a7 as BenefitType, aD as BookAfterStartPolicy, cS as BookingForm, az as BookingPolicy, cQ as BookingPolicyWithServices, bM as BulkActionMetadata, bI as BulkCreateServicesRequest, c0 as BulkDeleteServicesByFilterRequest, b$ as BulkDeleteServicesRequest, bJ as BulkServiceResult, bX as BulkUpdateServicesByFilterRequest, bV as BulkUpdateServicesRequest, ax as BusinessLocationOptions, cY as BusinessLocations, dz as BusinessSchedule, aJ as CancellationFeePolicy, aE as CancellationPolicy, aK as CancellationWindow, aL as CancellationWindowFeeOneOf, du as Categories, de as Category, dd as CategoryNotification, a6 as CategoryNotificationEvent, dG as ChangeContext, dH as ChangeContextPayloadOneOf, a4 as CloneErrors, dc as CloneServiceRequest, at as CommonAddress, au as CommonAddressStreetOneOf, ar as Conferencing, cU as ConnectedService, dE as ConsentPolicy, cV as CountServicesRequest, bn as CreateAddOnGroupRequest, bo as CreateAddOnGroupResponse, bD as CreateServiceRequest, bE as CreateServiceResponse, a9 as CrudType, c6 as CursorPaging, cs as CursorPagingMetadata, cP as CursorQueryPagingMethodOneOf, cb as CursorSearch, cc as CursorSearchPagingMethodOneOf, c9 as Cursors, ay as CustomLocationOptions, cZ as CustomLocations, an as CustomPayment, c_ as CustomerLocations, cl as DateHistogramAggregation, cI as DateHistogramResult, cK as DateHistogramResults, ab as DayOfWeek, b9 as Delete, bp as DeleteAddOnGroupRequest, bq as DeleteAddOnGroupResponse, bY as DeleteServiceRequest, b_ as DeleteServiceResponse, d9 as DisablePricingPlansForServiceRequest, dj as Discount, dk as DiscountDiscountOneOf, bd as DomainEvent, be as DomainEventBodyOneOf, aP as Duration, df as Empty, d7 as EnablePricingPlansForServiceRequest, bf as EntityCreatedEvent, bi as EntityDeletedEvent, bh as EntityUpdatedEvent, di as EntryPass, a8 as Event, dM as EventMetadata, a$ as ExtendedFields, bH as FieldViolation, al as FixedPayment, ah as Form, cT as FormDetails, ai as FormSettings, dy as GeoCoordinates, bP as GetServiceAvailabilityConstraintsRequest, bQ as GetServiceAvailabilityConstraintsResponse, bN as GetServiceRequest, bO as GetServiceResponse, cp as GroupByAggregation, cq as GroupByAggregationKindOneOf, cJ as GroupByValueResults, dp as HtmlSitePublished, bl as IdentificationData, bm as IdentificationDataIdOneOf, cg as IncludeMissingValuesOptions, _ as Interval, d8 as InvalidPricingPlan, a3 as InvalidSlugError, bK as ItemMetadata, b1 as Keyword, aB as LimitEarlyBookingPolicy, aC as LimitLateBookingPolicy, bt as ListAddOnGroupsByServiceIdRequest, bu as ListAddOnGroupsByServiceIdResponse, dv as Locale, as as LocationOptionsOneOf, M as LocationType, bW as MaskedService, ad as Media, ae as MediaItem, af as MediaItemItemOneOf, bk as MessageEnvelope, X as MissingValues, a0 as Mode, am as Money, d6 as MoveToNewLocationsOptions, dC as Multilingual, co as NestedAggregation, cm as NestedAggregationItem, cn as NestedAggregationItemKindOneOf, cw as NestedAggregationResults, cx as NestedAggregationResultsResultOneOf, Z as NestedAggregationType, cF as NestedResultValue, cG as NestedResultValueResultOneOf, cL as NestedResults, cB as NestedValueAggregationResult, aq as OnlineBooking, dq as Page, c5 as Paging, c8 as PagingMetadataV2, bZ as ParticipantNotification, aH as ParticipantsPolicy, aj as Payment, ap as PaymentOptions, ak as PaymentRateOneOf, aa as PlacementType, aA as PolicyDescription, dt as Properties, dI as PropertiesChange, cR as QueryBookingFormsRequest, d0 as QueryCategoriesFilter, c$ as QueryCategoriesRequest, cX as QueryLocationsFilter, cW as QueryLocationsRequest, cO as QueryPoliciesRequest, d1 as QueryServicesMultiLanguageRequest, d2 as QueryServicesMultiLanguageResponse, c1 as QueryServicesRequest, c7 as QueryServicesResponse, c2 as QueryV2, c3 as QueryV2PagingMethodOneOf, cj as RangeAggregation, cv as RangeAggregationResult, cf as RangeBucket, cD as RangeResult, cz as RangeResults, R as RateType, b6 as ReindexMessage, b7 as ReindexMessageActionOneOf, d4 as RemovedLocationSessionsAction, d5 as RemovedLocationSessionsActionActionOptionsOneOf, a1 as RequestedFields, aF as ReschedulePolicy, ac as ResolutionMethod, aU as ResourceGroup, aV as ResourceIds, aY as ResourceType, aI as ResourcesPolicy, bg as RestoreInfo, cH as Results, aM as SaveCreditCardPolicy, ck as ScalarAggregation, cE as ScalarResult, Y as ScalarType, aN as Schedule, ba as Schema, cr as SearchDetails, ca as SearchServicesRequest, b0 as SeoSchema, bR as ServiceAvailabilityConstraints, aW as ServiceResource, aX as ServiceResourceSelectionOneOf, dO as ServiceSearchSpec, K as ServiceType, dN as ServicesQueryResult, bc as ServicesUrlsChanged, by as SetAddOnsForGroupRequest, bz as SetAddOnsForGroupResponse, bb as SetCustomSlugEvent, da as SetCustomSlugRequest, d3 as SetServiceLocationsRequest, b3 as Settings, dK as SiteCloned, dJ as SiteCreated, ds as SitePropertiesEvent, dr as SitePropertiesNotification, aZ as Slug, T as SortDirection, O as SortOrder, P as SortType, c4 as Sorting, dB as SpecialHourPeriod, bS as SplitInterval, aR as StaffMediaItem, aS as StaffMediaItemItemOneOf, aQ as StaffMember, aT as StaffMemberDetails, a5 as Status, av as StreetAddress, dD as SupportedLanguage, b2 as Tag, dA as TimePeriod, dF as Translation, a_ as URLs, br as UpdateAddOnGroupRequest, bs as UpdateAddOnGroupResponse, bT as UpdateServiceRequest, bU as UpdateServiceResponse, b8 as Upsert, dn as UserDomainInfoChangedEvent, ag as V2Category, N as V2RequestedFields, bA as ValidateAddOnsSelectionRequest, bB as ValidateAddOnsSelectionResponse, bF as ValidateServiceRequest, bG as ValidateServiceResponse, db as ValidateSlugRequest, bC as ValidationResult, ch as ValueAggregation, ci as ValueAggregationOptionsOneOf, cu as ValueAggregationResult, cC as ValueResult, cy as ValueResults, ao as VariedPayment, aG as WaitlistPolicy, W as WebhookIdentityType } from './bookings-services-v2-service-services.universal-B8YoV8-Q.js';
|
|
4
|
+
|
|
5
|
+
declare function createService$1(httpClient: HttpClient): CreateServiceSignature;
|
|
7
6
|
interface CreateServiceSignature {
|
|
8
7
|
/**
|
|
9
8
|
* Creates a service.
|
|
@@ -53,7 +52,7 @@ interface CreateServiceSignature {
|
|
|
53
52
|
*/
|
|
54
53
|
(service: Service): Promise<Service>;
|
|
55
54
|
}
|
|
56
|
-
|
|
55
|
+
declare function bulkCreateServices$1(httpClient: HttpClient): BulkCreateServicesSignature;
|
|
57
56
|
interface BulkCreateServicesSignature {
|
|
58
57
|
/**
|
|
59
58
|
* Creates multiple services.
|
|
@@ -66,7 +65,7 @@ interface BulkCreateServicesSignature {
|
|
|
66
65
|
*/
|
|
67
66
|
(services: Service[], options?: BulkCreateServicesOptions | undefined): Promise<BulkCreateServicesResponse>;
|
|
68
67
|
}
|
|
69
|
-
|
|
68
|
+
declare function getService$1(httpClient: HttpClient): GetServiceSignature;
|
|
70
69
|
interface GetServiceSignature {
|
|
71
70
|
/**
|
|
72
71
|
* Retrieves a service.
|
|
@@ -75,7 +74,7 @@ interface GetServiceSignature {
|
|
|
75
74
|
*/
|
|
76
75
|
(serviceId: string): Promise<Service>;
|
|
77
76
|
}
|
|
78
|
-
|
|
77
|
+
declare function updateService$1(httpClient: HttpClient): UpdateServiceSignature;
|
|
79
78
|
interface UpdateServiceSignature {
|
|
80
79
|
/**
|
|
81
80
|
* Updates a service.
|
|
@@ -99,7 +98,7 @@ interface UpdateServiceSignature {
|
|
|
99
98
|
*/
|
|
100
99
|
(_id: string, service: UpdateService): Promise<Service>;
|
|
101
100
|
}
|
|
102
|
-
|
|
101
|
+
declare function bulkUpdateServices$1(httpClient: HttpClient): BulkUpdateServicesSignature;
|
|
103
102
|
interface BulkUpdateServicesSignature {
|
|
104
103
|
/**
|
|
105
104
|
* Updates up to 100 services.
|
|
@@ -114,7 +113,7 @@ interface BulkUpdateServicesSignature {
|
|
|
114
113
|
*/
|
|
115
114
|
(options?: BulkUpdateServicesOptions | undefined): Promise<BulkUpdateServicesResponse>;
|
|
116
115
|
}
|
|
117
|
-
|
|
116
|
+
declare function bulkUpdateServicesByFilter$1(httpClient: HttpClient): BulkUpdateServicesByFilterSignature;
|
|
118
117
|
interface BulkUpdateServicesByFilterSignature {
|
|
119
118
|
/**
|
|
120
119
|
* Updates multiple services by filter.
|
|
@@ -134,7 +133,7 @@ interface BulkUpdateServicesByFilterSignature {
|
|
|
134
133
|
*/
|
|
135
134
|
(filter: Record<string, any>, options: BulkUpdateServicesByFilterOptions): Promise<BulkUpdateServicesByFilterResponse>;
|
|
136
135
|
}
|
|
137
|
-
|
|
136
|
+
declare function deleteService$1(httpClient: HttpClient): DeleteServiceSignature;
|
|
138
137
|
interface DeleteServiceSignature {
|
|
139
138
|
/**
|
|
140
139
|
* Deletes a service.
|
|
@@ -147,7 +146,7 @@ interface DeleteServiceSignature {
|
|
|
147
146
|
*/
|
|
148
147
|
(serviceId: string, options?: DeleteServiceOptions | undefined): Promise<void>;
|
|
149
148
|
}
|
|
150
|
-
|
|
149
|
+
declare function bulkDeleteServices$1(httpClient: HttpClient): BulkDeleteServicesSignature;
|
|
151
150
|
interface BulkDeleteServicesSignature {
|
|
152
151
|
/**
|
|
153
152
|
* Deletes multiple services.
|
|
@@ -163,7 +162,7 @@ interface BulkDeleteServicesSignature {
|
|
|
163
162
|
*/
|
|
164
163
|
(ids: string[], options?: BulkDeleteServicesOptions | undefined): Promise<BulkDeleteServicesResponse>;
|
|
165
164
|
}
|
|
166
|
-
|
|
165
|
+
declare function bulkDeleteServicesByFilter$1(httpClient: HttpClient): BulkDeleteServicesByFilterSignature;
|
|
167
166
|
interface BulkDeleteServicesByFilterSignature {
|
|
168
167
|
/**
|
|
169
168
|
* Deletes multiple services by filter.
|
|
@@ -186,7 +185,7 @@ interface BulkDeleteServicesByFilterSignature {
|
|
|
186
185
|
*/
|
|
187
186
|
(filter: Record<string, any>, options?: BulkDeleteServicesByFilterOptions | undefined): Promise<BulkDeleteServicesByFilterResponse>;
|
|
188
187
|
}
|
|
189
|
-
|
|
188
|
+
declare function queryServices$1(httpClient: HttpClient): QueryServicesSignature;
|
|
190
189
|
interface QueryServicesSignature {
|
|
191
190
|
/**
|
|
192
191
|
* Creates a query to retrieve a list of `service` objects.
|
|
@@ -208,7 +207,7 @@ interface QueryServicesSignature {
|
|
|
208
207
|
*/
|
|
209
208
|
(options?: QueryServicesOptions | undefined): ServicesQueryBuilder;
|
|
210
209
|
}
|
|
211
|
-
|
|
210
|
+
declare function searchServices$1(httpClient: HttpClient): SearchServicesSignature;
|
|
212
211
|
interface SearchServicesSignature {
|
|
213
212
|
/**
|
|
214
213
|
* Retrieves a list of up to 100 services, given the provided filtering, paging,
|
|
@@ -242,7 +241,7 @@ interface SearchServicesSignature {
|
|
|
242
241
|
*/
|
|
243
242
|
(search: ServiceSearch): Promise<SearchServicesResponse>;
|
|
244
243
|
}
|
|
245
|
-
|
|
244
|
+
declare function queryPolicies$1(httpClient: HttpClient): QueryPoliciesSignature;
|
|
246
245
|
interface QueryPoliciesSignature {
|
|
247
246
|
/**
|
|
248
247
|
* Retrieves a list of up to 100 *booking policies*
|
|
@@ -286,7 +285,7 @@ interface QueryPoliciesSignature {
|
|
|
286
285
|
*/
|
|
287
286
|
(query: CursorQuery): Promise<QueryPoliciesResponse>;
|
|
288
287
|
}
|
|
289
|
-
|
|
288
|
+
declare function queryBookingForms$1(httpClient: HttpClient): QueryBookingFormsSignature;
|
|
290
289
|
interface QueryBookingFormsSignature {
|
|
291
290
|
/**
|
|
292
291
|
* Retrieves a list of up to 100 *booking forms*
|
|
@@ -336,7 +335,7 @@ interface QueryBookingFormsSignature {
|
|
|
336
335
|
*/
|
|
337
336
|
(query: CursorQuery, options?: QueryBookingFormsOptions | undefined): Promise<QueryBookingFormsResponse>;
|
|
338
337
|
}
|
|
339
|
-
|
|
338
|
+
declare function countServices$1(httpClient: HttpClient): CountServicesSignature;
|
|
340
339
|
interface CountServicesSignature {
|
|
341
340
|
/**
|
|
342
341
|
* Counts how many services match the given filter.
|
|
@@ -351,7 +350,7 @@ interface CountServicesSignature {
|
|
|
351
350
|
*/
|
|
352
351
|
(options?: CountServicesOptions | undefined): Promise<CountServicesResponse>;
|
|
353
352
|
}
|
|
354
|
-
|
|
353
|
+
declare function queryLocations$1(httpClient: HttpClient): QueryLocationsSignature;
|
|
355
354
|
interface QueryLocationsSignature {
|
|
356
355
|
/**
|
|
357
356
|
* Retrieves 3 separate lists of business, custom, and customer *locations*
|
|
@@ -381,7 +380,7 @@ interface QueryLocationsSignature {
|
|
|
381
380
|
*/
|
|
382
381
|
(options?: QueryLocationsOptions | undefined): Promise<QueryLocationsResponse>;
|
|
383
382
|
}
|
|
384
|
-
|
|
383
|
+
declare function queryCategories$1(httpClient: HttpClient): QueryCategoriesSignature;
|
|
385
384
|
interface QueryCategoriesSignature {
|
|
386
385
|
/**
|
|
387
386
|
* Retrieves a list of service *categories*
|
|
@@ -410,7 +409,7 @@ interface QueryCategoriesSignature {
|
|
|
410
409
|
*/
|
|
411
410
|
(options?: QueryCategoriesOptions | undefined): Promise<QueryCategoriesResponse>;
|
|
412
411
|
}
|
|
413
|
-
|
|
412
|
+
declare function setServiceLocations$1(httpClient: HttpClient): SetServiceLocationsSignature;
|
|
414
413
|
interface SetServiceLocationsSignature {
|
|
415
414
|
/**
|
|
416
415
|
* Replaces the list of the *locations*
|
|
@@ -466,7 +465,7 @@ interface SetServiceLocationsSignature {
|
|
|
466
465
|
*/
|
|
467
466
|
(serviceId: string, locations: Location[], options?: SetServiceLocationsOptions | undefined): Promise<SetServiceLocationsResponse>;
|
|
468
467
|
}
|
|
469
|
-
|
|
468
|
+
declare function enablePricingPlansForService$1(httpClient: HttpClient): EnablePricingPlansForServiceSignature;
|
|
470
469
|
interface EnablePricingPlansForServiceSignature {
|
|
471
470
|
/**
|
|
472
471
|
* Adds a list of *pricing plan IDs*
|
|
@@ -486,7 +485,7 @@ interface EnablePricingPlansForServiceSignature {
|
|
|
486
485
|
*/
|
|
487
486
|
(serviceId: string, pricingPlanIds: string[]): Promise<EnablePricingPlansForServiceResponse>;
|
|
488
487
|
}
|
|
489
|
-
|
|
488
|
+
declare function disablePricingPlansForService$1(httpClient: HttpClient): DisablePricingPlansForServiceSignature;
|
|
490
489
|
interface DisablePricingPlansForServiceSignature {
|
|
491
490
|
/**
|
|
492
491
|
* Removes a list of *pricing plan IDs*
|
|
@@ -501,7 +500,7 @@ interface DisablePricingPlansForServiceSignature {
|
|
|
501
500
|
*/
|
|
502
501
|
(serviceId: string, options?: DisablePricingPlansForServiceOptions | undefined): Promise<DisablePricingPlansForServiceResponse>;
|
|
503
502
|
}
|
|
504
|
-
|
|
503
|
+
declare function setCustomSlug$1(httpClient: HttpClient): SetCustomSlugSignature;
|
|
505
504
|
interface SetCustomSlugSignature {
|
|
506
505
|
/**
|
|
507
506
|
* Sets a new active slug for the service.
|
|
@@ -515,7 +514,7 @@ interface SetCustomSlugSignature {
|
|
|
515
514
|
*/
|
|
516
515
|
(serviceId: string, options?: SetCustomSlugOptions | undefined): Promise<SetCustomSlugResponse>;
|
|
517
516
|
}
|
|
518
|
-
|
|
517
|
+
declare function validateSlug$1(httpClient: HttpClient): ValidateSlugSignature;
|
|
519
518
|
interface ValidateSlugSignature {
|
|
520
519
|
/**
|
|
521
520
|
* Checks whether a custom slug is validate for the service.
|
|
@@ -531,7 +530,7 @@ interface ValidateSlugSignature {
|
|
|
531
530
|
*/
|
|
532
531
|
(serviceId: string, options?: ValidateSlugOptions | undefined): Promise<ValidateSlugResponse>;
|
|
533
532
|
}
|
|
534
|
-
|
|
533
|
+
declare function cloneService$1(httpClient: HttpClient): CloneServiceSignature;
|
|
535
534
|
interface CloneServiceSignature {
|
|
536
535
|
/**
|
|
537
536
|
* Clones a service.
|
|
@@ -598,7 +597,43 @@ interface CloneServiceSignature {
|
|
|
598
597
|
*/
|
|
599
598
|
(sourceServiceId: string): Promise<CloneServiceResponse>;
|
|
600
599
|
}
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
600
|
+
declare const onServiceCreated$1: EventDefinition<ServiceCreatedEnvelope, "wix.bookings.services.v2.service_created">;
|
|
601
|
+
declare const onServiceDeleted$1: EventDefinition<ServiceDeletedEnvelope, "wix.bookings.services.v2.service_deleted">;
|
|
602
|
+
declare const onServiceUpdated$1: EventDefinition<ServiceUpdatedEnvelope, "wix.bookings.services.v2.service_updated">;
|
|
603
|
+
|
|
604
|
+
declare const createService: MaybeContext<BuildRESTFunction<typeof createService$1> & typeof createService$1>;
|
|
605
|
+
declare const bulkCreateServices: MaybeContext<BuildRESTFunction<typeof bulkCreateServices$1> & typeof bulkCreateServices$1>;
|
|
606
|
+
declare const getService: MaybeContext<BuildRESTFunction<typeof getService$1> & typeof getService$1>;
|
|
607
|
+
declare const updateService: MaybeContext<BuildRESTFunction<typeof updateService$1> & typeof updateService$1>;
|
|
608
|
+
declare const bulkUpdateServices: MaybeContext<BuildRESTFunction<typeof bulkUpdateServices$1> & typeof bulkUpdateServices$1>;
|
|
609
|
+
declare const bulkUpdateServicesByFilter: MaybeContext<BuildRESTFunction<typeof bulkUpdateServicesByFilter$1> & typeof bulkUpdateServicesByFilter$1>;
|
|
610
|
+
declare const deleteService: MaybeContext<BuildRESTFunction<typeof deleteService$1> & typeof deleteService$1>;
|
|
611
|
+
declare const bulkDeleteServices: MaybeContext<BuildRESTFunction<typeof bulkDeleteServices$1> & typeof bulkDeleteServices$1>;
|
|
612
|
+
declare const bulkDeleteServicesByFilter: MaybeContext<BuildRESTFunction<typeof bulkDeleteServicesByFilter$1> & typeof bulkDeleteServicesByFilter$1>;
|
|
613
|
+
declare const queryServices: MaybeContext<BuildRESTFunction<typeof queryServices$1> & typeof queryServices$1>;
|
|
614
|
+
declare const searchServices: MaybeContext<BuildRESTFunction<typeof searchServices$1> & typeof searchServices$1>;
|
|
615
|
+
declare const queryPolicies: MaybeContext<BuildRESTFunction<typeof queryPolicies$1> & typeof queryPolicies$1>;
|
|
616
|
+
declare const queryBookingForms: MaybeContext<BuildRESTFunction<typeof queryBookingForms$1> & typeof queryBookingForms$1>;
|
|
617
|
+
declare const countServices: MaybeContext<BuildRESTFunction<typeof countServices$1> & typeof countServices$1>;
|
|
618
|
+
declare const queryLocations: MaybeContext<BuildRESTFunction<typeof queryLocations$1> & typeof queryLocations$1>;
|
|
619
|
+
declare const queryCategories: MaybeContext<BuildRESTFunction<typeof queryCategories$1> & typeof queryCategories$1>;
|
|
620
|
+
declare const setServiceLocations: MaybeContext<BuildRESTFunction<typeof setServiceLocations$1> & typeof setServiceLocations$1>;
|
|
621
|
+
declare const enablePricingPlansForService: MaybeContext<BuildRESTFunction<typeof enablePricingPlansForService$1> & typeof enablePricingPlansForService$1>;
|
|
622
|
+
declare const disablePricingPlansForService: MaybeContext<BuildRESTFunction<typeof disablePricingPlansForService$1> & typeof disablePricingPlansForService$1>;
|
|
623
|
+
declare const setCustomSlug: MaybeContext<BuildRESTFunction<typeof setCustomSlug$1> & typeof setCustomSlug$1>;
|
|
624
|
+
declare const validateSlug: MaybeContext<BuildRESTFunction<typeof validateSlug$1> & typeof validateSlug$1>;
|
|
625
|
+
declare const cloneService: MaybeContext<BuildRESTFunction<typeof cloneService$1> & typeof cloneService$1>;
|
|
626
|
+
/**
|
|
627
|
+
* Triggered when a service is created.
|
|
628
|
+
*/
|
|
629
|
+
declare const onServiceCreated: BuildEventDefinition<typeof onServiceCreated$1>;
|
|
630
|
+
/**
|
|
631
|
+
* Triggered when a service is deleted.
|
|
632
|
+
*/
|
|
633
|
+
declare const onServiceDeleted: BuildEventDefinition<typeof onServiceDeleted$1>;
|
|
634
|
+
/**
|
|
635
|
+
* Triggered when a service is updated.
|
|
636
|
+
*/
|
|
637
|
+
declare const onServiceUpdated: BuildEventDefinition<typeof onServiceUpdated$1>;
|
|
638
|
+
|
|
639
|
+
export { BulkCreateServicesOptions, BulkCreateServicesResponse, BulkDeleteServicesByFilterOptions, BulkDeleteServicesByFilterResponse, BulkDeleteServicesOptions, BulkDeleteServicesResponse, BulkUpdateServicesByFilterOptions, BulkUpdateServicesByFilterResponse, BulkUpdateServicesOptions, BulkUpdateServicesResponse, CloneServiceResponse, CountServicesOptions, CountServicesResponse, CursorQuery, DeleteServiceOptions, DisablePricingPlansForServiceOptions, DisablePricingPlansForServiceResponse, EnablePricingPlansForServiceResponse, Location, QueryBookingFormsOptions, QueryBookingFormsResponse, QueryCategoriesOptions, QueryCategoriesResponse, QueryLocationsOptions, QueryLocationsResponse, QueryPoliciesResponse, QueryServicesOptions, SearchServicesResponse, Service, ServiceCreatedEnvelope, ServiceDeletedEnvelope, ServiceUpdatedEnvelope, ServicesQueryBuilder, SetCustomSlugOptions, SetCustomSlugResponse, SetServiceLocationsOptions, SetServiceLocationsResponse, UpdateService, ValidateSlugOptions, ValidateSlugResponse, bulkCreateServices, bulkDeleteServices, bulkDeleteServicesByFilter, bulkUpdateServices, bulkUpdateServicesByFilter, cloneService, countServices, createService, deleteService, disablePricingPlansForService, enablePricingPlansForService, getService, onServiceCreated, onServiceDeleted, onServiceUpdated, queryBookingForms, queryCategories, queryLocations, queryPolicies, queryServices, searchServices, setCustomSlug, setServiceLocations, updateService, validateSlug };
|