@wix/auto_sdk_bookings_services 1.0.186 → 1.0.188
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/{bookings-services-v2-service-services.universal-B-7pcuSI.d.ts → bookings-services-v2-service-services.universal-xWUGM1eI.d.ts} +10 -46
- package/build/cjs/index.d.ts +5 -21
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -7
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +6 -27
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-B-7pcuSI.d.mts → bookings-services-v2-service-services.universal-xWUGM1eI.d.mts} +10 -46
- package/build/es/index.d.mts +5 -21
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -7
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +6 -27
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-B-7pcuSI.d.ts → bookings-services-v2-service-services.universal-xWUGM1eI.d.ts} +10 -46
- package/build/internal/cjs/index.d.ts +5 -21
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -7
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +6 -27
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-B-7pcuSI.d.mts → bookings-services-v2-service-services.universal-xWUGM1eI.d.mts} +10 -46
- package/build/internal/es/index.d.mts +5 -21
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -7
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +6 -27
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1742,11 +1742,7 @@ interface Cursors {
|
|
|
1742
1742
|
prev?: string | null;
|
|
1743
1743
|
}
|
|
1744
1744
|
interface SearchServicesRequest {
|
|
1745
|
-
/**
|
|
1746
|
-
* Search criteria including filter, sort, aggregations, and paging options.
|
|
1747
|
-
*
|
|
1748
|
-
* Refer to the [supported filters article](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/filtering-and-sorting) for complete filter and sorting options.
|
|
1749
|
-
*/
|
|
1745
|
+
/** Search criteria including filter, sort, aggregations, and paging options. */
|
|
1750
1746
|
search: CursorSearch;
|
|
1751
1747
|
}
|
|
1752
1748
|
interface CursorSearch extends CursorSearchPagingMethodOneOf {
|
|
@@ -2311,12 +2307,7 @@ interface AggregationResultsResultOneOf {
|
|
|
2311
2307
|
nested?: NestedResults;
|
|
2312
2308
|
}
|
|
2313
2309
|
interface QueryPoliciesRequest {
|
|
2314
|
-
/**
|
|
2315
|
-
* Information about filters, paging, and sorting. See the article about
|
|
2316
|
-
* booking policy filters
|
|
2317
|
-
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters))
|
|
2318
|
-
* for all supported filters and sorting options.
|
|
2319
|
-
*/
|
|
2310
|
+
/** Information about filters, paging, and sorting. */
|
|
2320
2311
|
query: CursorQuery;
|
|
2321
2312
|
}
|
|
2322
2313
|
interface CursorQuery extends CursorQueryPagingMethodOneOf {
|
|
@@ -2441,11 +2432,7 @@ interface ConnectedService {
|
|
|
2441
2432
|
name?: string | null;
|
|
2442
2433
|
}
|
|
2443
2434
|
interface CountServicesRequest {
|
|
2444
|
-
/**
|
|
2445
|
-
* Query filter to base the count on. See supported filters
|
|
2446
|
-
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
2447
|
-
* for more details.
|
|
2448
|
-
*/
|
|
2435
|
+
/** Query filter to base the count on. See [Query Services](https://dev.wix.com/docs/rest/api-reference/business-solutions/bookings/services/services-v2/query-services) for a list of supported filters. */
|
|
2449
2436
|
filter?: Record<string, any> | null;
|
|
2450
2437
|
}
|
|
2451
2438
|
interface CountServicesResponse {
|
|
@@ -2457,11 +2444,7 @@ interface QueryLocationsRequest {
|
|
|
2457
2444
|
filter?: QueryLocationsFilter;
|
|
2458
2445
|
}
|
|
2459
2446
|
interface QueryLocationsFilter {
|
|
2460
|
-
/**
|
|
2461
|
-
* Service filter. See supported filters
|
|
2462
|
-
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
2463
|
-
* for more details.
|
|
2464
|
-
*/
|
|
2447
|
+
/** Service filter. See [Query Services](https://dev.wix.com/docs/rest/api-reference/business-solutions/bookings/services/services-v2/query-services) for a list of supported filters. */
|
|
2465
2448
|
services?: Record<string, any> | null;
|
|
2466
2449
|
/**
|
|
2467
2450
|
* List of business IDs to filter by.
|
|
@@ -2518,11 +2501,7 @@ interface QueryCategoriesRequest {
|
|
|
2518
2501
|
filter?: QueryCategoriesFilter;
|
|
2519
2502
|
}
|
|
2520
2503
|
interface QueryCategoriesFilter {
|
|
2521
|
-
/**
|
|
2522
|
-
* Service filter. See supported filters
|
|
2523
|
-
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
2524
|
-
* for more details.
|
|
2525
|
-
*/
|
|
2504
|
+
/** Service filter. See [Query Services](https://dev.wix.com/docs/rest/api-reference/business-solutions/bookings/services/services-v2/query-services) for a list of supported filters. */
|
|
2526
2505
|
services?: Record<string, any> | null;
|
|
2527
2506
|
/**
|
|
2528
2507
|
* List of category IDs to filter by.
|
|
@@ -4130,7 +4109,7 @@ interface BulkUpdateServicesOptions {
|
|
|
4130
4109
|
* Updates multiple services by filter.
|
|
4131
4110
|
*
|
|
4132
4111
|
*
|
|
4133
|
-
*
|
|
4112
|
+
* See [Query Services](https://dev.wix.com/docs/rest/api-reference/business-solutions/bookings/services/services-v2/query-services) for a list of supported filters.
|
|
4134
4113
|
*
|
|
4135
4114
|
* See [Update Service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/update-service) for more details about updating a service.
|
|
4136
4115
|
*
|
|
@@ -4624,8 +4603,6 @@ type ServiceSearch = {
|
|
|
4624
4603
|
*
|
|
4625
4604
|
* ### Filters
|
|
4626
4605
|
*
|
|
4627
|
-
* For a complete list of supported filters, refer to Booking Policies API: [Supported Filters](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters).
|
|
4628
|
-
*
|
|
4629
4606
|
* When using date filters, you must use
|
|
4630
4607
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
4631
4608
|
*
|
|
@@ -4642,10 +4619,7 @@ type ServiceSearch = {
|
|
|
4642
4619
|
* To learn about working with Query methods, see
|
|
4643
4620
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
4644
4621
|
* and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
|
|
4645
|
-
* @param query - Information about filters, paging, and sorting.
|
|
4646
|
-
* booking policy filters
|
|
4647
|
-
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters))
|
|
4648
|
-
* for all supported filters and sorting options.
|
|
4622
|
+
* @param query - Information about filters, paging, and sorting.
|
|
4649
4623
|
* @public
|
|
4650
4624
|
* @requiredField query
|
|
4651
4625
|
* @permissionId BOOKINGS.BOOKING_POLICY_READ
|
|
@@ -4669,8 +4643,6 @@ declare function queryPolicies(query: CursorQuery): Promise<NonNullablePaths<Que
|
|
|
4669
4643
|
*
|
|
4670
4644
|
* ### Filters
|
|
4671
4645
|
*
|
|
4672
|
-
* For a complete list of supported filters, refer to Forms API: [Supported Filters](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object).
|
|
4673
|
-
*
|
|
4674
4646
|
* When using date filters, you must use
|
|
4675
4647
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
4676
4648
|
*
|
|
@@ -4717,9 +4689,7 @@ interface QueryBookingFormsOptions {
|
|
|
4717
4689
|
* Counts how many services match the given filter.
|
|
4718
4690
|
*
|
|
4719
4691
|
*
|
|
4720
|
-
*
|
|
4721
|
-
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
4722
|
-
* for more details.
|
|
4692
|
+
* See [Query Services](https://dev.wix.com/docs/rest/api-reference/business-solutions/bookings/services/services-v2/query-services) for a list of supported filters.
|
|
4723
4693
|
*
|
|
4724
4694
|
* To learn about working with filters in general, see
|
|
4725
4695
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters)
|
|
@@ -4730,11 +4700,7 @@ interface QueryBookingFormsOptions {
|
|
|
4730
4700
|
*/
|
|
4731
4701
|
declare function countServices(options?: CountServicesOptions): Promise<NonNullablePaths<CountServicesResponse, `count`, 2>>;
|
|
4732
4702
|
interface CountServicesOptions {
|
|
4733
|
-
/**
|
|
4734
|
-
* Query filter to base the count on. See supported filters
|
|
4735
|
-
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
4736
|
-
* for more details.
|
|
4737
|
-
*/
|
|
4703
|
+
/** Query filter to base the count on. See [Query Services](https://dev.wix.com/docs/rest/api-reference/business-solutions/bookings/services/services-v2/query-services) for a list of supported filters. */
|
|
4738
4704
|
filter?: Record<string, any> | null;
|
|
4739
4705
|
}
|
|
4740
4706
|
/**
|
|
@@ -4782,8 +4748,6 @@ interface QueryLocationsOptions {
|
|
|
4782
4748
|
*
|
|
4783
4749
|
* ### Filters
|
|
4784
4750
|
*
|
|
4785
|
-
* For a complete list of supported filters, refer to the [supported filters article](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/filtering-and-sorting).
|
|
4786
|
-
*
|
|
4787
4751
|
* When using date filters, you must use
|
|
4788
4752
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
4789
4753
|
*
|
|
@@ -5064,7 +5028,7 @@ interface CreateAddOnGroupOptions {
|
|
|
5064
5028
|
* @requiredField addOnGroupId
|
|
5065
5029
|
* @requiredField options
|
|
5066
5030
|
* @requiredField options.serviceId
|
|
5067
|
-
* @permissionId BOOKINGS.
|
|
5031
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_DELETE
|
|
5068
5032
|
* @applicableIdentity APP
|
|
5069
5033
|
* @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
|
|
5070
5034
|
*/
|
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { S as Service, C as CreateServiceValidationErrors, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, U as UpdateService, b as UpdateServiceValidationErrors, c as BulkUpdateServicesOptions, d as BulkUpdateServicesResponse, e as BulkUpdateServicesByFilterOptions, f as BulkUpdateServicesByFilterResponse, D as DeleteServiceOptions, g as BulkDeleteServicesOptions, h as BulkDeleteServicesResponse, i as BulkDeleteServicesByFilterOptions, j as BulkDeleteServicesByFilterResponse, k as ServiceSearch, l as SearchServicesResponse, m as CursorQuery, Q as QueryPoliciesResponse, n as QueryBookingFormsOptions, o as QueryBookingFormsResponse, p as QueryBookingFormsApplicationErrors, q as CountServicesOptions, r as CountServicesResponse, s as QueryLocationsOptions, t as QueryLocationsResponse, u as QueryCategoriesOptions, v as QueryCategoriesResponse, w as SetServiceLocationsOptions, x as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, y as EnablePricingPlansForServiceApplicationErrors, z as DisablePricingPlansForServiceOptions, A as DisablePricingPlansForServiceResponse, F as DisablePricingPlansForServiceApplicationErrors, G as SetCustomSlugOptions, H as SetCustomSlugResponse, I as SetCustomSlugApplicationErrors, J as SetCustomSlugValidationErrors, V as ValidateSlugOptions, K as ValidateSlugResponse, L as CloneServiceResponse, M as AddOnGroup, N as CreateAddOnGroupOptions, O as CreateAddOnGroupResponse, P as DeleteAddOnGroupOptions, R as DeleteAddOnGroupApplicationErrors, T as UpdateAddOnGroupOptions, W as UpdateAddOnGroupResponse, X as UpdateAddOnGroupApplicationErrors, Y as ListAddOnGroupsByServiceIdOptions, Z as ListAddOnGroupsByServiceIdResponse, _ as SetAddOnsForGroupOptions, $ as SetAddOnsForGroupResponse, a0 as SetAddOnsForGroupApplicationErrors, a1 as ServiceCreatedEnvelope, a2 as ServiceDeletedEnvelope, a3 as ServiceUpdatedEnvelope, a4 as ServiceQuery, a5 as QueryServicesOptions, a6 as typedQueryServices, a7 as ServicesQueryBuilder } from './bookings-services-v2-service-services.universal-
|
|
3
|
-
export { d_ as AccountInfo, ea as AccountInfoMetadata, as as Action, ds as ActionEvent, ey as ActionWithLiterals, e4 as AddOn, e5 as AddOnAddOnInfoOneOf, bC as AddOnDetails, e6 as AddOnGroupDetail, aa as AddOnPaymentOptions, eg as AddOnPaymentOptionsWithLiterals, dI as Address, dJ as AddressHint, aZ as AddressLocation, ch as Aggregation, cx as AggregationData, ci as AggregationKindOneOf, cQ as AggregationResults, cR as AggregationResultsResultOneOf, cE as AggregationResultsScalarResult, ap as AggregationType, ev as AggregationTypeWithLiterals, bP as ApplicationError, bk as AvailabilityConstraints, e8 as BaseEventMetadata, dy as Behavior, dz as BehaviorBehaviorOneOf, du as Benefit, dt as BenefitNotification, ax as BenefitType, eD as BenefitTypeWithLiterals, b4 as BookAfterStartPolicy, cW as BookingForm, b0 as BookingPolicy, cU as BookingPolicyWithServices, bQ as BulkActionMetadata, bM as BulkCreateServicesRequest, c4 as BulkDeleteServicesByFilterRequest, c3 as BulkDeleteServicesRequest, bN as BulkServiceResult, b$ as BulkUpdateServicesByFilterRequest, bZ as BulkUpdateServicesRequest, a_ as BusinessLocationOptions, d0 as BusinessLocations, dL as BusinessSchedule, ba as CancellationFeePolicy, b5 as CancellationPolicy, bb as CancellationWindow, bc as CancellationWindowFeeOneOf, dG as Categories, dj as Category, di as CategoryNotification, aw as CategoryNotificationEvent, eC as CategoryNotificationEventWithLiterals, dS as ChangeContext, dT as ChangeContextPayloadOneOf, au as CloneErrors, eA as CloneErrorsWithLiterals, dh as CloneServiceRequest, aW as CommonAddress, aX as CommonAddressStreetOneOf, eK as CommonQueryWithEntityContext, eL as CommonSearchWithEntityContext, af as CompletionRequirement, el as CompletionRequirementWithLiterals, aT as Conferencing, cY as ConnectedService, dQ as ConsentPolicy, cZ as CountServicesRequest, d$ as CreateAddOnGroupRequest, bH as CreateServiceRequest, bI as CreateServiceResponse, az as CrudType, eF as CrudTypeWithLiterals, ca as CursorPaging, cw as CursorPagingMetadata, cT as CursorQueryPagingMethodOneOf, cf as CursorSearch, cg as CursorSearchPagingMethodOneOf, cd as Cursors, a$ as CustomLocationOptions, d1 as CustomLocations, bh as CustomOptions, aO as CustomPayment, d2 as CustomerLocations, cp as DateHistogramAggregation, cM as DateHistogramResult, cO as DateHistogramResults, aB as DayOfWeek, eH as DayOfWeekWithLiterals, e0 as DeleteAddOnGroupRequest, e1 as DeleteAddOnGroupResponse, c0 as DeleteServiceRequest, c2 as DeleteServiceResponse, de as DisablePricingPlansForServiceRequest, dw as Discount, dx as DiscountDiscountOneOf, aR as DiscountInfo, dl as DomainEvent, dm as DomainEventBodyOneOf, bl as Duration, dk as Empty, db as EnablePricingPlansForServiceRequest, dn as EntityCreatedEvent, dr as EntityDeletedEvent, dq as EntityUpdatedEvent, dv as EntryPass, ay as Event, e9 as EventMetadata, eE as EventWithLiterals, bx as ExtendedFields, bL as FieldViolation, aM as FixedPayment, aI as Form, cX as FormDetails, aJ as FormSettings, dK as GeoCoordinates, bT as GetServiceAvailabilityConstraintsRequest, bU as GetServiceAvailabilityConstraintsResponse, bR as GetServiceRequest, bS as GetServiceResponse, ct as GroupByAggregation, cu as GroupByAggregationKindOneOf, cN as GroupByValueResults, dB as HtmlSitePublished, dY as IdentificationData, dZ as IdentificationDataIdOneOf, ck as IncludeMissingValuesOptions, bi as IntakeFormPolicy, ao as Interval, eu as IntervalWithLiterals, dd as InvalidPricingPlan, at as InvalidSlugError, ez as InvalidSlugErrorWithLiterals, bO as ItemMetadata, bz as Keyword, b2 as LimitEarlyBookingPolicy, b3 as LimitLateBookingPolicy, e3 as ListAddOnGroupsByServiceIdRequest, dH as Locale, aU as Location, aV as LocationOptionsOneOf, ab as LocationType, eh as LocationTypeWithLiterals, b_ as MaskedService, aE as Media, aF as MediaItem, aG as MediaItemItemOneOf, dX as MessageEnvelope, al as MissingValues, er as MissingValuesWithLiterals, aq as Mode, ew as ModeWithLiterals, aN as Money, da as MoveToNewLocationsOptions, dO as Multilingual, cs as NestedAggregation, cq as NestedAggregationItem, cr as NestedAggregationItemKindOneOf, cA as NestedAggregationResults, cB as NestedAggregationResultsResultOneOf, an as NestedAggregationType, et as NestedAggregationTypeWithLiterals, cJ as NestedResultValue, cK as NestedResultValueResultOneOf, cP as NestedResults, cF as NestedValueAggregationResult, aS as OnlineBooking, dC as Page, c9 as Paging, cc as PagingMetadataV2, c1 as ParticipantNotification, b8 as ParticipantsPolicy, aK as Payment, aQ as PaymentOptions, aL as PaymentRateOneOf, bE as PhoneCall, aA as PlacementType, eG as PlacementTypeWithLiterals, b1 as PolicyDescription, dc as PricingPlanSelection, dF as Properties, dU as PropertiesChange, cV as QueryBookingFormsRequest, d4 as QueryCategoriesFilter, d3 as QueryCategoriesRequest, c$ as QueryLocationsFilter, c_ as QueryLocationsRequest, cS as QueryPoliciesRequest, d5 as QueryServicesMultiLanguageRequest, d6 as QueryServicesMultiLanguageResponse, c5 as QueryServicesRequest, cb as QueryServicesResponse, c6 as QueryV2, c7 as QueryV2PagingMethodOneOf, cn as RangeAggregation, cz as RangeAggregationResult, cj as RangeBucket, cH as RangeResult, cD as RangeResults, bg as RankingOptions, ac as RankingOrder, ei as RankingOrderWithLiterals, a9 as RateType, ef as RateTypeWithLiterals, d8 as RemovedLocationSessionsAction, d9 as RemovedLocationSessionsActionActionOptionsOneOf, ar as RequestedFields, ex as RequestedFieldsWithLiterals, b6 as ReschedulePolicy, aC as ResolutionMethod, eI as ResolutionMethodWithLiterals, bq as ResourceGroup, br as ResourceIds, bu as ResourceType, b9 as ResourcesPolicy, dp as RestoreInfo, cL as Results, bd as SaveCreditCardPolicy, co as ScalarAggregation, cI as ScalarResult, am as ScalarType, es as ScalarTypeWithLiterals, bj as Schedule, cv as SearchDetails, ce as SearchServicesRequest, by as SeoSchema, bV as ServiceAvailabilityConstraints, ec as ServiceQuerySpec, bs as ServiceResource, bt as ServiceResourceSelectionOneOf, ed as ServiceSearchSpec, a8 as ServiceType, ee as ServiceTypeWithLiterals, eb as ServicesQueryResult, bG as ServicesUrlsChanged, e7 as SetAddOnsForGroupRequest, bF as SetCustomSlugEvent, df as SetCustomSlugRequest, d7 as SetServiceLocationsRequest, bB as Settings, dW as SiteCloned, dV as SiteCreated, dE as SitePropertiesEvent, dD as SitePropertiesNotification, bv as Slug, ak as SortDirection, eq as SortDirectionWithLiterals, ai as SortOrder, eo as SortOrderWithLiterals, aj as SortType, ep as SortTypeWithLiterals, c8 as Sorting, ad as SortingMethodType, ej as SortingMethodTypeWithLiterals, dN as SpecialHourPeriod, bW as SplitInterval, bn as StaffMediaItem, bo as StaffMediaItemItemOneOf, bm as StaffMember, bp as StaffMemberDetails, be as StaffSortingPolicy, bf as StaffSortingPolicyOptionsOneOf, av as Status, eB as StatusWithLiterals, aY as StreetAddress, dP as SupportedLanguage, bA as Tag, bD as TaxableAddress, ag as TaxableAddressType, em as TaxableAddressTypeWithLiterals, dM as TimePeriod, ae as Timing, ek as TimingWithLiterals, dR as Translation, bw as URLs, e2 as UpdateAddOnGroupRequest, bX as UpdateServiceRequest, bY as UpdateServiceResponse, dA as UserDomainInfoChangedEvent, aH as V2Category, ah as V2RequestedFields, en as V2RequestedFieldsWithLiterals, bJ as ValidateServiceRequest, bK as ValidateServiceResponse, dg as ValidateSlugRequest, cl as ValueAggregation, cm as ValueAggregationOptionsOneOf, cy as ValueAggregationResult, cG as ValueResult, cC as ValueResults, aP as VariedPayment, b7 as WaitlistPolicy, aD as WebhookIdentityType, eJ as WebhookIdentityTypeWithLiterals } from './bookings-services-v2-service-services.universal-
|
|
2
|
+
import { S as Service, C as CreateServiceValidationErrors, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, U as UpdateService, b as UpdateServiceValidationErrors, c as BulkUpdateServicesOptions, d as BulkUpdateServicesResponse, e as BulkUpdateServicesByFilterOptions, f as BulkUpdateServicesByFilterResponse, D as DeleteServiceOptions, g as BulkDeleteServicesOptions, h as BulkDeleteServicesResponse, i as BulkDeleteServicesByFilterOptions, j as BulkDeleteServicesByFilterResponse, k as ServiceSearch, l as SearchServicesResponse, m as CursorQuery, Q as QueryPoliciesResponse, n as QueryBookingFormsOptions, o as QueryBookingFormsResponse, p as QueryBookingFormsApplicationErrors, q as CountServicesOptions, r as CountServicesResponse, s as QueryLocationsOptions, t as QueryLocationsResponse, u as QueryCategoriesOptions, v as QueryCategoriesResponse, w as SetServiceLocationsOptions, x as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, y as EnablePricingPlansForServiceApplicationErrors, z as DisablePricingPlansForServiceOptions, A as DisablePricingPlansForServiceResponse, F as DisablePricingPlansForServiceApplicationErrors, G as SetCustomSlugOptions, H as SetCustomSlugResponse, I as SetCustomSlugApplicationErrors, J as SetCustomSlugValidationErrors, V as ValidateSlugOptions, K as ValidateSlugResponse, L as CloneServiceResponse, M as AddOnGroup, N as CreateAddOnGroupOptions, O as CreateAddOnGroupResponse, P as DeleteAddOnGroupOptions, R as DeleteAddOnGroupApplicationErrors, T as UpdateAddOnGroupOptions, W as UpdateAddOnGroupResponse, X as UpdateAddOnGroupApplicationErrors, Y as ListAddOnGroupsByServiceIdOptions, Z as ListAddOnGroupsByServiceIdResponse, _ as SetAddOnsForGroupOptions, $ as SetAddOnsForGroupResponse, a0 as SetAddOnsForGroupApplicationErrors, a1 as ServiceCreatedEnvelope, a2 as ServiceDeletedEnvelope, a3 as ServiceUpdatedEnvelope, a4 as ServiceQuery, a5 as QueryServicesOptions, a6 as typedQueryServices, a7 as ServicesQueryBuilder } from './bookings-services-v2-service-services.universal-xWUGM1eI.js';
|
|
3
|
+
export { d_ as AccountInfo, ea as AccountInfoMetadata, as as Action, ds as ActionEvent, ey as ActionWithLiterals, e4 as AddOn, e5 as AddOnAddOnInfoOneOf, bC as AddOnDetails, e6 as AddOnGroupDetail, aa as AddOnPaymentOptions, eg as AddOnPaymentOptionsWithLiterals, dI as Address, dJ as AddressHint, aZ as AddressLocation, ch as Aggregation, cx as AggregationData, ci as AggregationKindOneOf, cQ as AggregationResults, cR as AggregationResultsResultOneOf, cE as AggregationResultsScalarResult, ap as AggregationType, ev as AggregationTypeWithLiterals, bP as ApplicationError, bk as AvailabilityConstraints, e8 as BaseEventMetadata, dy as Behavior, dz as BehaviorBehaviorOneOf, du as Benefit, dt as BenefitNotification, ax as BenefitType, eD as BenefitTypeWithLiterals, b4 as BookAfterStartPolicy, cW as BookingForm, b0 as BookingPolicy, cU as BookingPolicyWithServices, bQ as BulkActionMetadata, bM as BulkCreateServicesRequest, c4 as BulkDeleteServicesByFilterRequest, c3 as BulkDeleteServicesRequest, bN as BulkServiceResult, b$ as BulkUpdateServicesByFilterRequest, bZ as BulkUpdateServicesRequest, a_ as BusinessLocationOptions, d0 as BusinessLocations, dL as BusinessSchedule, ba as CancellationFeePolicy, b5 as CancellationPolicy, bb as CancellationWindow, bc as CancellationWindowFeeOneOf, dG as Categories, dj as Category, di as CategoryNotification, aw as CategoryNotificationEvent, eC as CategoryNotificationEventWithLiterals, dS as ChangeContext, dT as ChangeContextPayloadOneOf, au as CloneErrors, eA as CloneErrorsWithLiterals, dh as CloneServiceRequest, aW as CommonAddress, aX as CommonAddressStreetOneOf, eK as CommonQueryWithEntityContext, eL as CommonSearchWithEntityContext, af as CompletionRequirement, el as CompletionRequirementWithLiterals, aT as Conferencing, cY as ConnectedService, dQ as ConsentPolicy, cZ as CountServicesRequest, d$ as CreateAddOnGroupRequest, bH as CreateServiceRequest, bI as CreateServiceResponse, az as CrudType, eF as CrudTypeWithLiterals, ca as CursorPaging, cw as CursorPagingMetadata, cT as CursorQueryPagingMethodOneOf, cf as CursorSearch, cg as CursorSearchPagingMethodOneOf, cd as Cursors, a$ as CustomLocationOptions, d1 as CustomLocations, bh as CustomOptions, aO as CustomPayment, d2 as CustomerLocations, cp as DateHistogramAggregation, cM as DateHistogramResult, cO as DateHistogramResults, aB as DayOfWeek, eH as DayOfWeekWithLiterals, e0 as DeleteAddOnGroupRequest, e1 as DeleteAddOnGroupResponse, c0 as DeleteServiceRequest, c2 as DeleteServiceResponse, de as DisablePricingPlansForServiceRequest, dw as Discount, dx as DiscountDiscountOneOf, aR as DiscountInfo, dl as DomainEvent, dm as DomainEventBodyOneOf, bl as Duration, dk as Empty, db as EnablePricingPlansForServiceRequest, dn as EntityCreatedEvent, dr as EntityDeletedEvent, dq as EntityUpdatedEvent, dv as EntryPass, ay as Event, e9 as EventMetadata, eE as EventWithLiterals, bx as ExtendedFields, bL as FieldViolation, aM as FixedPayment, aI as Form, cX as FormDetails, aJ as FormSettings, dK as GeoCoordinates, bT as GetServiceAvailabilityConstraintsRequest, bU as GetServiceAvailabilityConstraintsResponse, bR as GetServiceRequest, bS as GetServiceResponse, ct as GroupByAggregation, cu as GroupByAggregationKindOneOf, cN as GroupByValueResults, dB as HtmlSitePublished, dY as IdentificationData, dZ as IdentificationDataIdOneOf, ck as IncludeMissingValuesOptions, bi as IntakeFormPolicy, ao as Interval, eu as IntervalWithLiterals, dd as InvalidPricingPlan, at as InvalidSlugError, ez as InvalidSlugErrorWithLiterals, bO as ItemMetadata, bz as Keyword, b2 as LimitEarlyBookingPolicy, b3 as LimitLateBookingPolicy, e3 as ListAddOnGroupsByServiceIdRequest, dH as Locale, aU as Location, aV as LocationOptionsOneOf, ab as LocationType, eh as LocationTypeWithLiterals, b_ as MaskedService, aE as Media, aF as MediaItem, aG as MediaItemItemOneOf, dX as MessageEnvelope, al as MissingValues, er as MissingValuesWithLiterals, aq as Mode, ew as ModeWithLiterals, aN as Money, da as MoveToNewLocationsOptions, dO as Multilingual, cs as NestedAggregation, cq as NestedAggregationItem, cr as NestedAggregationItemKindOneOf, cA as NestedAggregationResults, cB as NestedAggregationResultsResultOneOf, an as NestedAggregationType, et as NestedAggregationTypeWithLiterals, cJ as NestedResultValue, cK as NestedResultValueResultOneOf, cP as NestedResults, cF as NestedValueAggregationResult, aS as OnlineBooking, dC as Page, c9 as Paging, cc as PagingMetadataV2, c1 as ParticipantNotification, b8 as ParticipantsPolicy, aK as Payment, aQ as PaymentOptions, aL as PaymentRateOneOf, bE as PhoneCall, aA as PlacementType, eG as PlacementTypeWithLiterals, b1 as PolicyDescription, dc as PricingPlanSelection, dF as Properties, dU as PropertiesChange, cV as QueryBookingFormsRequest, d4 as QueryCategoriesFilter, d3 as QueryCategoriesRequest, c$ as QueryLocationsFilter, c_ as QueryLocationsRequest, cS as QueryPoliciesRequest, d5 as QueryServicesMultiLanguageRequest, d6 as QueryServicesMultiLanguageResponse, c5 as QueryServicesRequest, cb as QueryServicesResponse, c6 as QueryV2, c7 as QueryV2PagingMethodOneOf, cn as RangeAggregation, cz as RangeAggregationResult, cj as RangeBucket, cH as RangeResult, cD as RangeResults, bg as RankingOptions, ac as RankingOrder, ei as RankingOrderWithLiterals, a9 as RateType, ef as RateTypeWithLiterals, d8 as RemovedLocationSessionsAction, d9 as RemovedLocationSessionsActionActionOptionsOneOf, ar as RequestedFields, ex as RequestedFieldsWithLiterals, b6 as ReschedulePolicy, aC as ResolutionMethod, eI as ResolutionMethodWithLiterals, bq as ResourceGroup, br as ResourceIds, bu as ResourceType, b9 as ResourcesPolicy, dp as RestoreInfo, cL as Results, bd as SaveCreditCardPolicy, co as ScalarAggregation, cI as ScalarResult, am as ScalarType, es as ScalarTypeWithLiterals, bj as Schedule, cv as SearchDetails, ce as SearchServicesRequest, by as SeoSchema, bV as ServiceAvailabilityConstraints, ec as ServiceQuerySpec, bs as ServiceResource, bt as ServiceResourceSelectionOneOf, ed as ServiceSearchSpec, a8 as ServiceType, ee as ServiceTypeWithLiterals, eb as ServicesQueryResult, bG as ServicesUrlsChanged, e7 as SetAddOnsForGroupRequest, bF as SetCustomSlugEvent, df as SetCustomSlugRequest, d7 as SetServiceLocationsRequest, bB as Settings, dW as SiteCloned, dV as SiteCreated, dE as SitePropertiesEvent, dD as SitePropertiesNotification, bv as Slug, ak as SortDirection, eq as SortDirectionWithLiterals, ai as SortOrder, eo as SortOrderWithLiterals, aj as SortType, ep as SortTypeWithLiterals, c8 as Sorting, ad as SortingMethodType, ej as SortingMethodTypeWithLiterals, dN as SpecialHourPeriod, bW as SplitInterval, bn as StaffMediaItem, bo as StaffMediaItemItemOneOf, bm as StaffMember, bp as StaffMemberDetails, be as StaffSortingPolicy, bf as StaffSortingPolicyOptionsOneOf, av as Status, eB as StatusWithLiterals, aY as StreetAddress, dP as SupportedLanguage, bA as Tag, bD as TaxableAddress, ag as TaxableAddressType, em as TaxableAddressTypeWithLiterals, dM as TimePeriod, ae as Timing, ek as TimingWithLiterals, dR as Translation, bw as URLs, e2 as UpdateAddOnGroupRequest, bX as UpdateServiceRequest, bY as UpdateServiceResponse, dA as UserDomainInfoChangedEvent, aH as V2Category, ah as V2RequestedFields, en as V2RequestedFieldsWithLiterals, bJ as ValidateServiceRequest, bK as ValidateServiceResponse, dg as ValidateSlugRequest, cl as ValueAggregation, cm as ValueAggregationOptionsOneOf, cy as ValueAggregationResult, cG as ValueResult, cC as ValueResults, aP as VariedPayment, b7 as WaitlistPolicy, aD as WebhookIdentityType, eJ as WebhookIdentityTypeWithLiterals } from './bookings-services-v2-service-services.universal-xWUGM1eI.js';
|
|
4
4
|
|
|
5
5
|
declare function createService$1(httpClient: HttpClient): CreateServiceSignature;
|
|
6
6
|
interface CreateServiceSignature {
|
|
@@ -132,7 +132,7 @@ interface BulkUpdateServicesByFilterSignature {
|
|
|
132
132
|
* Updates multiple services by filter.
|
|
133
133
|
*
|
|
134
134
|
*
|
|
135
|
-
*
|
|
135
|
+
* See [Query Services](https://dev.wix.com/docs/rest/api-reference/business-solutions/bookings/services/services-v2/query-services) for a list of supported filters.
|
|
136
136
|
*
|
|
137
137
|
* See [Update Service](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/update-service) for more details about updating a service.
|
|
138
138
|
*
|
|
@@ -210,15 +210,10 @@ interface SearchServicesSignature {
|
|
|
210
210
|
* When using filters for dates, you must use
|
|
211
211
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
212
212
|
*
|
|
213
|
-
* Refer to the [supported filters](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/filtering-and-sorting) article
|
|
214
|
-
* for a complete list of supported filters and sorting options.
|
|
215
|
-
*
|
|
216
213
|
* ### See also
|
|
217
214
|
*
|
|
218
215
|
* To learn about working with Search methods, see [API Query Language](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-the-wix-api-query-language) and [Sorting and Paging](https://dev.wix.com/docs/api-reference/articles/work-with-wix-apis/data-retrieval/about-sorting-and-paging).
|
|
219
216
|
* @param - Search criteria including filter, sort, aggregations, and paging options.
|
|
220
|
-
*
|
|
221
|
-
* Refer to the [supported filters article](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/filtering-and-sorting) for complete filter and sorting options.
|
|
222
217
|
*/
|
|
223
218
|
(search: ServiceSearch): Promise<NonNullablePaths<SearchServicesResponse, `services` | `services.${number}.type` | `services.${number}.category._id` | `services.${number}.form._id` | `services.${number}.payment.rateType` | `services.${number}.payment.addOnOption` | `services.${number}.bookingPolicy._id` | `services.${number}.bookingPolicy.customPolicyDescription.enabled` | `services.${number}.bookingPolicy.customPolicyDescription.description` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `services.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `services.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `services.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.enabled` | `services.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `services.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `services.${number}.bookingPolicy.reschedulePolicy.enabled` | `services.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `services.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `services.${number}.bookingPolicy.waitlistPolicy.enabled` | `services.${number}.bookingPolicy.waitlistPolicy.capacity` | `services.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `services.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `services.${number}.bookingPolicy.resourcesPolicy.enabled` | `services.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `services.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `services.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | `services.${number}.schedule.availabilityConstraints.timeBetweenSessions` | `services.${number}.seoData.settings.preventAutoRedirect` | `services.${number}.taxableAddress.taxableAddressType` | `aggregationData.results` | `aggregationData.results.${number}.scalar.type` | `aggregationData.results.${number}.scalar.value` | `aggregationData.results.${number}.name` | `aggregationData.results.${number}.type` | `aggregationData.results.${number}.fieldPath`, 6>>;
|
|
224
219
|
}
|
|
@@ -238,8 +233,6 @@ interface QueryPoliciesSignature {
|
|
|
238
233
|
*
|
|
239
234
|
* ### Filters
|
|
240
235
|
*
|
|
241
|
-
* For a complete list of supported filters, refer to Booking Policies API: [Supported Filters](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters).
|
|
242
|
-
*
|
|
243
236
|
* When using date filters, you must use
|
|
244
237
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
245
238
|
*
|
|
@@ -256,10 +249,7 @@ interface QueryPoliciesSignature {
|
|
|
256
249
|
* To learn about working with Query methods, see
|
|
257
250
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language)
|
|
258
251
|
* and [Sorting and Paging](https://dev.wix.com/docs/rest/articles/getting-started/sorting-and-paging).
|
|
259
|
-
* @param - Information about filters, paging, and sorting.
|
|
260
|
-
* booking policy filters
|
|
261
|
-
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/supported-filters))
|
|
262
|
-
* for all supported filters and sorting options.
|
|
252
|
+
* @param - Information about filters, paging, and sorting.
|
|
263
253
|
*/
|
|
264
254
|
(query: CursorQuery): Promise<NonNullablePaths<QueryPoliciesResponse, `bookingPolicies` | `bookingPolicies.${number}.bookingPolicy._id` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.enabled` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.description` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.capacity` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicies.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicies.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | `bookingPolicies.${number}.totalServiceCount`, 6>>;
|
|
265
255
|
}
|
|
@@ -280,8 +270,6 @@ interface QueryBookingFormsSignature {
|
|
|
280
270
|
*
|
|
281
271
|
* ### Filters
|
|
282
272
|
*
|
|
283
|
-
* For a complete list of supported filters, refer to Forms API: [Supported Filters](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object).
|
|
284
|
-
*
|
|
285
273
|
* When using date filters, you must use
|
|
286
274
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
287
275
|
*
|
|
@@ -318,9 +306,7 @@ interface CountServicesSignature {
|
|
|
318
306
|
* Counts how many services match the given filter.
|
|
319
307
|
*
|
|
320
308
|
*
|
|
321
|
-
*
|
|
322
|
-
* ([REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/filtering-and-sorting#filtering))
|
|
323
|
-
* for more details.
|
|
309
|
+
* See [Query Services](https://dev.wix.com/docs/rest/api-reference/business-solutions/bookings/services/services-v2/query-services) for a list of supported filters.
|
|
324
310
|
*
|
|
325
311
|
* To learn about working with filters in general, see
|
|
326
312
|
* [API Query Language](https://dev.wix.com/docs/rest/articles/getting-started/api-query-language#filters)
|
|
@@ -369,8 +355,6 @@ interface QueryCategoriesSignature {
|
|
|
369
355
|
*
|
|
370
356
|
* ### Filters
|
|
371
357
|
*
|
|
372
|
-
* For a complete list of supported filters, refer to the [supported filters article](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/filtering-and-sorting).
|
|
373
|
-
*
|
|
374
358
|
* When using date filters, you must use
|
|
375
359
|
* [UTC time](https://en.wikipedia.org/wiki/Coordinated_Universal_Time).
|
|
376
360
|
*
|