@wix/auto_sdk_bookings_services 1.0.116 → 1.0.117

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.
Files changed (29) hide show
  1. package/build/cjs/{bookings-services-v2-service-services.universal-DKi7EvxV.d.ts → bookings-services-v2-service-services.universal-D4XsOFkA.d.ts} +38 -11
  2. package/build/cjs/index.d.ts +10 -3
  3. package/build/cjs/index.js.map +1 -1
  4. package/build/cjs/index.typings.d.ts +2 -2
  5. package/build/cjs/index.typings.js.map +1 -1
  6. package/build/cjs/meta.d.ts +11 -1
  7. package/build/cjs/meta.js.map +1 -1
  8. package/build/es/{bookings-services-v2-service-services.universal-DKi7EvxV.d.mts → bookings-services-v2-service-services.universal-D4XsOFkA.d.mts} +38 -11
  9. package/build/es/index.d.mts +10 -3
  10. package/build/es/index.mjs.map +1 -1
  11. package/build/es/index.typings.d.mts +2 -2
  12. package/build/es/index.typings.mjs.map +1 -1
  13. package/build/es/meta.d.mts +11 -1
  14. package/build/es/meta.mjs.map +1 -1
  15. package/build/internal/cjs/{bookings-services-v2-service-services.universal-DKi7EvxV.d.ts → bookings-services-v2-service-services.universal-D4XsOFkA.d.ts} +38 -11
  16. package/build/internal/cjs/index.d.ts +10 -3
  17. package/build/internal/cjs/index.js.map +1 -1
  18. package/build/internal/cjs/index.typings.d.ts +2 -2
  19. package/build/internal/cjs/index.typings.js.map +1 -1
  20. package/build/internal/cjs/meta.d.ts +11 -1
  21. package/build/internal/cjs/meta.js.map +1 -1
  22. package/build/internal/es/{bookings-services-v2-service-services.universal-DKi7EvxV.d.mts → bookings-services-v2-service-services.universal-D4XsOFkA.d.mts} +38 -11
  23. package/build/internal/es/index.d.mts +10 -3
  24. package/build/internal/es/index.mjs.map +1 -1
  25. package/build/internal/es/index.typings.d.mts +2 -2
  26. package/build/internal/es/index.typings.mjs.map +1 -1
  27. package/build/internal/es/meta.d.mts +11 -1
  28. package/build/internal/es/meta.mjs.map +1 -1
  29. package/package.json +2 -2
@@ -8,6 +8,16 @@ interface Service {
8
8
  * @readonly
9
9
  */
10
10
  _id?: string | null;
11
+ /**
12
+ * ID of the app associated with the service. You can't update `appId`.
13
+ *
14
+ * Services belonging to [Wix Services](https://support.wix.com/en/article/about-wix-services) have `{"appId": "cc552162-24a4-45e0-9695-230c4931ef40"}` or any other app are not displayed in Wix Bookings.
15
+ *
16
+ * Default: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)
17
+ * @format GUID
18
+ * @immutable
19
+ */
20
+ appId?: string | null;
11
21
  /**
12
22
  * Service type.
13
23
  * Learn more about *service types*
@@ -3657,7 +3667,7 @@ declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => vo
3657
3667
  * Creates a service.
3658
3668
  *
3659
3669
  *
3660
- * ### Required fields
3670
+ * ### Required fields for Bookings service
3661
3671
  *
3662
3672
  * When creating a service you must specify the following fields:
3663
3673
  * - `type`
@@ -3697,6 +3707,13 @@ declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => vo
3697
3707
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
3698
3708
  * - It is mandatory to specify `schedule.availabilityConstraints.sessionDurations`,
3699
3709
  * even though these values are ignored.
3710
+ *
3711
+ * ### App ID
3712
+ *
3713
+ * By default, services are associated with Wix Bookings `{"appId": "13d21c63-b5ec-5912-8397-c3a5ddb27a97}`. Only these services are displayed in Wix Bookings.
3714
+ *
3715
+ * You can specify a different app ID. For example, `{"appId": "cc552162-24a4-45e0-9695-230c4931ef40"}` for [Wix Services](https://support.wix.com/en/article/about-wix-services).
3716
+ * Note that you can't update a service's `appId`.
3700
3717
  * @param service - Service to create.
3701
3718
  * @public
3702
3719
  * @requiredField service
@@ -3779,6 +3796,16 @@ interface UpdateService {
3779
3796
  * @readonly
3780
3797
  */
3781
3798
  _id?: string | null;
3799
+ /**
3800
+ * ID of the app associated with the service. You can't update `appId`.
3801
+ *
3802
+ * Services belonging to [Wix Services](https://support.wix.com/en/article/about-wix-services) have `{"appId": "cc552162-24a4-45e0-9695-230c4931ef40"}` or any other app are not displayed in Wix Bookings.
3803
+ *
3804
+ * Default: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)
3805
+ * @format GUID
3806
+ * @immutable
3807
+ */
3808
+ appId?: string | null;
3782
3809
  /**
3783
3810
  * Service type.
3784
3811
  * Learn more about *service types*
@@ -4101,41 +4128,41 @@ interface ServicesQueryBuilder {
4101
4128
  /** @param propertyName - Property whose value is compared with `value`.
4102
4129
  * @param value - Value to compare against.
4103
4130
  */
4104
- eq: (propertyName: '_id' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
4131
+ eq: (propertyName: '_id' | 'appId' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
4105
4132
  /** @param propertyName - Property whose value is compared with `value`.
4106
4133
  * @param value - Value to compare against.
4107
4134
  */
4108
- ne: (propertyName: '_id' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
4135
+ ne: (propertyName: '_id' | 'appId' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
4109
4136
  /** @param propertyName - Property whose value is compared with `value`.
4110
4137
  * @param value - Value to compare against.
4111
4138
  */
4112
- ge: (propertyName: '_id' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
4139
+ ge: (propertyName: '_id' | 'appId' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
4113
4140
  /** @param propertyName - Property whose value is compared with `value`.
4114
4141
  * @param value - Value to compare against.
4115
4142
  */
4116
- gt: (propertyName: '_id' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
4143
+ gt: (propertyName: '_id' | 'appId' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
4117
4144
  /** @param propertyName - Property whose value is compared with `value`.
4118
4145
  * @param value - Value to compare against.
4119
4146
  */
4120
- le: (propertyName: '_id' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
4147
+ le: (propertyName: '_id' | 'appId' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
4121
4148
  /** @param propertyName - Property whose value is compared with `value`.
4122
4149
  * @param value - Value to compare against.
4123
4150
  */
4124
- lt: (propertyName: '_id' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
4151
+ lt: (propertyName: '_id' | 'appId' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
4125
4152
  /** @param propertyName - Property whose value is compared with `string`.
4126
4153
  * @param string - String to compare against. Case-insensitive.
4127
4154
  */
4128
- startsWith: (propertyName: '_id' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'supportedSlugs.name' | 'mainSlug.name', value: string) => ServicesQueryBuilder;
4155
+ startsWith: (propertyName: '_id' | 'appId' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'supportedSlugs.name' | 'mainSlug.name', value: string) => ServicesQueryBuilder;
4129
4156
  /** @param propertyName - Property whose value is compared with `values`.
4130
4157
  * @param values - List of values to compare against.
4131
4158
  */
4132
- hasSome: (propertyName: '_id' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any[]) => ServicesQueryBuilder;
4159
+ hasSome: (propertyName: '_id' | 'appId' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any[]) => ServicesQueryBuilder;
4133
4160
  /** @param propertyName - Property whose value is compared with `values`.
4134
4161
  * @param values - List of values to compare against.
4135
4162
  */
4136
4163
  hasAll: (propertyName: 'staffMemberIds', value: any[]) => ServicesQueryBuilder;
4137
- in: (propertyName: '_id' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
4138
- exists: (propertyName: '_id' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: boolean) => ServicesQueryBuilder;
4164
+ in: (propertyName: '_id' | 'appId' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
4165
+ exists: (propertyName: '_id' | 'appId' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: boolean) => ServicesQueryBuilder;
4139
4166
  /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
4140
4167
  ascending: (...propertyNames: Array<'_id' | 'appId' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name'>) => ServicesQueryBuilder;
4141
4168
  /** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
@@ -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 ServicesQueryBuilder, l as ServiceSearch, m as SearchServicesResponse, n as CursorQuery, Q as QueryPoliciesResponse, o as QueryBookingFormsOptions, p as QueryBookingFormsResponse, q as QueryBookingFormsApplicationErrors, r as CountServicesOptions, s as CountServicesResponse, t as QueryLocationsOptions, u as QueryLocationsResponse, v as QueryCategoriesOptions, w as QueryCategoriesResponse, L as Location, x as SetServiceLocationsOptions, y as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, z as EnablePricingPlansForServiceApplicationErrors, A as DisablePricingPlansForServiceOptions, F as DisablePricingPlansForServiceResponse, G as DisablePricingPlansForServiceApplicationErrors, H as SetCustomSlugOptions, I as SetCustomSlugResponse, J as SetCustomSlugApplicationErrors, K as SetCustomSlugValidationErrors, V as ValidateSlugOptions, M as ValidateSlugResponse, N as CloneServiceResponse, O as AddOnGroup, P as CreateAddOnGroupOptions, R as CreateAddOnGroupResponse, T as DeleteAddOnGroupOptions, W as DeleteAddOnGroupApplicationErrors, X as UpdateAddOnGroupOptions, Y as UpdateAddOnGroupResponse, Z as UpdateAddOnGroupApplicationErrors, _ as ListAddOnGroupsByServiceIdOptions, $ as ListAddOnGroupsByServiceIdResponse, a0 as SetAddOnsForGroupOptions, a1 as SetAddOnsForGroupResponse, a2 as SetAddOnsForGroupApplicationErrors, a3 as ServiceCreatedEnvelope, a4 as ServiceDeletedEnvelope, a5 as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-DKi7EvxV.js';
3
- export { am as Action, bC as ActionEvent, ef as ActionWithLiterals, dT as AddOn, dU as AddOnAddOnInfoOneOf, bo as AddOnDetails, dV as AddOnGroupDetail, a8 as AddOnPaymentOptions, e1 as AddOnPaymentOptionsWithLiterals, dz as Address, dA as AddressHint, aQ as AddressLocation, cg as Aggregation, cw as AggregationData, ch as AggregationKindOneOf, cP as AggregationResults, cQ as AggregationResultsResultOneOf, cD as AggregationResultsScalarResult, aj as AggregationType, ec as AggregationTypeWithLiterals, bO as ApplicationError, b6 as AvailabilityConstraints, dX as BaseEventMetadata, dp as Behavior, dq as BehaviorBehaviorOneOf, dk as Benefit, dj as BenefitNotification, ar as BenefitType, ek as BenefitTypeWithLiterals, aX as BookAfterStartPolicy, cV as BookingForm, aT as BookingPolicy, cT as BookingPolicyWithServices, bP as BulkActionMetadata, bL as BulkCreateServicesRequest, c3 as BulkDeleteServicesByFilterRequest, c2 as BulkDeleteServicesRequest, bM as BulkServiceResult, b_ as BulkUpdateServicesByFilterRequest, bY as BulkUpdateServicesRequest, aR as BusinessLocationOptions, c$ as BusinessLocations, dC as BusinessSchedule, b1 as CancellationFeePolicy, aY as CancellationPolicy, b2 as CancellationWindow, b3 as CancellationWindowFeeOneOf, dx as Categories, dh as Category, dg as CategoryNotification, aq as CategoryNotificationEvent, ej as CategoryNotificationEventWithLiterals, dJ as ChangeContext, dK as ChangeContextPayloadOneOf, ao as CloneErrors, eh as CloneErrorsWithLiterals, df as CloneServiceRequest, aN as CommonAddress, aO as CommonAddressStreetOneOf, eq as CommonSearchWithEntityContext, aL as Conferencing, cX as ConnectedService, dH as ConsentPolicy, cY as CountServicesRequest, dO as CreateAddOnGroupRequest, bG as CreateServiceRequest, bH as CreateServiceResponse, at as CrudType, em as CrudTypeWithLiterals, c9 as CursorPaging, cv as CursorPagingMetadata, cS as CursorQueryPagingMethodOneOf, ce as CursorSearch, cf as CursorSearchPagingMethodOneOf, cc as Cursors, aS as CustomLocationOptions, d0 as CustomLocations, aH as CustomPayment, d1 as CustomerLocations, co as DateHistogramAggregation, cL as DateHistogramResult, cN as DateHistogramResults, av as DayOfWeek, eo as DayOfWeekWithLiterals, bs as Delete, dP as DeleteAddOnGroupRequest, dQ as DeleteAddOnGroupResponse, b$ as DeleteServiceRequest, c1 as DeleteServiceResponse, dc as DisablePricingPlansForServiceRequest, dm as Discount, dn as DiscountDiscountOneOf, bw as DomainEvent, bx as DomainEventBodyOneOf, b7 as Duration, di as Empty, da as EnablePricingPlansForServiceRequest, by as EntityCreatedEvent, bB as EntityDeletedEvent, bA as EntityUpdatedEvent, dl as EntryPass, as as Event, dY as EventMetadata, el as EventWithLiterals, bj as ExtendedFields, bK as FieldViolation, aF as FixedPayment, aB as Form, cW as FormDetails, aC as FormSettings, dB as GeoCoordinates, bS as GetServiceAvailabilityConstraintsRequest, bT as GetServiceAvailabilityConstraintsResponse, bQ as GetServiceRequest, bR as GetServiceResponse, cs as GroupByAggregation, ct as GroupByAggregationKindOneOf, cM as GroupByValueResults, ds as HtmlSitePublished, bE as IdentificationData, bF as IdentificationDataIdOneOf, cj as IncludeMissingValuesOptions, ai as Interval, eb as IntervalWithLiterals, db as InvalidPricingPlan, an as InvalidSlugError, eg as InvalidSlugErrorWithLiterals, bN as ItemMetadata, bl as Keyword, aV as LimitEarlyBookingPolicy, aW as LimitLateBookingPolicy, dS as ListAddOnGroupsByServiceIdRequest, dy as Locale, aM as LocationOptionsOneOf, a9 as LocationType, e2 as LocationTypeWithLiterals, bZ as MaskedService, ax as Media, ay as MediaItem, az as MediaItemItemOneOf, bD as MessageEnvelope, af as MissingValues, e8 as MissingValuesWithLiterals, ak as Mode, ed as ModeWithLiterals, aG as Money, d9 as MoveToNewLocationsOptions, dF as Multilingual, cr as NestedAggregation, cp as NestedAggregationItem, cq as NestedAggregationItemKindOneOf, cz as NestedAggregationResults, cA as NestedAggregationResultsResultOneOf, ah as NestedAggregationType, ea as NestedAggregationTypeWithLiterals, cI as NestedResultValue, cJ as NestedResultValueResultOneOf, cO as NestedResults, cE as NestedValueAggregationResult, aK as OnlineBooking, dt as Page, c8 as Paging, cb as PagingMetadataV2, c0 as ParticipantNotification, a$ as ParticipantsPolicy, aD as Payment, aJ as PaymentOptions, aE as PaymentRateOneOf, au as PlacementType, en as PlacementTypeWithLiterals, aU as PolicyDescription, dw as Properties, dL as PropertiesChange, cU as QueryBookingFormsRequest, d3 as QueryCategoriesFilter, d2 as QueryCategoriesRequest, c_ as QueryLocationsFilter, cZ as QueryLocationsRequest, cR as QueryPoliciesRequest, d4 as QueryServicesMultiLanguageRequest, d5 as QueryServicesMultiLanguageResponse, c4 as QueryServicesRequest, ca as QueryServicesResponse, c5 as QueryV2, c6 as QueryV2PagingMethodOneOf, cm as RangeAggregation, cy as RangeAggregationResult, ci as RangeBucket, cG as RangeResult, cC as RangeResults, a7 as RateType, e0 as RateTypeWithLiterals, bp as ReindexMessage, bq as ReindexMessageActionOneOf, d7 as RemovedLocationSessionsAction, d8 as RemovedLocationSessionsActionActionOptionsOneOf, al as RequestedFields, ee as RequestedFieldsWithLiterals, aZ as ReschedulePolicy, aw as ResolutionMethod, ep as ResolutionMethodWithLiterals, bc as ResourceGroup, bd as ResourceIds, bg as ResourceType, b0 as ResourcesPolicy, bz as RestoreInfo, cK as Results, b4 as SaveCreditCardPolicy, cn as ScalarAggregation, cH as ScalarResult, ag as ScalarType, e9 as ScalarTypeWithLiterals, b5 as Schedule, bt as Schema, cu as SearchDetails, cd as SearchServicesRequest, bk as SeoSchema, bU as ServiceAvailabilityConstraints, be as ServiceResource, bf as ServiceResourceSelectionOneOf, d_ as ServiceSearchSpec, a6 as ServiceType, d$ as ServiceTypeWithLiterals, dZ as ServicesQueryResult, bv as ServicesUrlsChanged, dW as SetAddOnsForGroupRequest, bu as SetCustomSlugEvent, dd as SetCustomSlugRequest, d6 as SetServiceLocationsRequest, bn as Settings, dN as SiteCloned, dM as SiteCreated, dv as SitePropertiesEvent, du as SitePropertiesNotification, bh as Slug, ae as SortDirection, e7 as SortDirectionWithLiterals, ac as SortOrder, e5 as SortOrderWithLiterals, ad as SortType, e6 as SortTypeWithLiterals, c7 as Sorting, dE as SpecialHourPeriod, bV as SplitInterval, b9 as StaffMediaItem, ba as StaffMediaItemItemOneOf, b8 as StaffMember, bb as StaffMemberDetails, ap as Status, ei as StatusWithLiterals, aP as StreetAddress, dG as SupportedLanguage, bm as Tag, dD as TimePeriod, dI as Translation, bi as URLs, dR as UpdateAddOnGroupRequest, bW as UpdateServiceRequest, bX as UpdateServiceResponse, br as Upsert, dr as UserDomainInfoChangedEvent, aA as V2Category, ab as V2RequestedFields, e4 as V2RequestedFieldsWithLiterals, bI as ValidateServiceRequest, bJ as ValidateServiceResponse, de as ValidateSlugRequest, ck as ValueAggregation, cl as ValueAggregationOptionsOneOf, cx as ValueAggregationResult, cF as ValueResult, cB as ValueResults, aI as VariedPayment, a_ as WaitlistPolicy, aa as WebhookIdentityType, e3 as WebhookIdentityTypeWithLiterals } from './bookings-services-v2-service-services.universal-DKi7EvxV.js';
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 ServicesQueryBuilder, l as ServiceSearch, m as SearchServicesResponse, n as CursorQuery, Q as QueryPoliciesResponse, o as QueryBookingFormsOptions, p as QueryBookingFormsResponse, q as QueryBookingFormsApplicationErrors, r as CountServicesOptions, s as CountServicesResponse, t as QueryLocationsOptions, u as QueryLocationsResponse, v as QueryCategoriesOptions, w as QueryCategoriesResponse, L as Location, x as SetServiceLocationsOptions, y as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, z as EnablePricingPlansForServiceApplicationErrors, A as DisablePricingPlansForServiceOptions, F as DisablePricingPlansForServiceResponse, G as DisablePricingPlansForServiceApplicationErrors, H as SetCustomSlugOptions, I as SetCustomSlugResponse, J as SetCustomSlugApplicationErrors, K as SetCustomSlugValidationErrors, V as ValidateSlugOptions, M as ValidateSlugResponse, N as CloneServiceResponse, O as AddOnGroup, P as CreateAddOnGroupOptions, R as CreateAddOnGroupResponse, T as DeleteAddOnGroupOptions, W as DeleteAddOnGroupApplicationErrors, X as UpdateAddOnGroupOptions, Y as UpdateAddOnGroupResponse, Z as UpdateAddOnGroupApplicationErrors, _ as ListAddOnGroupsByServiceIdOptions, $ as ListAddOnGroupsByServiceIdResponse, a0 as SetAddOnsForGroupOptions, a1 as SetAddOnsForGroupResponse, a2 as SetAddOnsForGroupApplicationErrors, a3 as ServiceCreatedEnvelope, a4 as ServiceDeletedEnvelope, a5 as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-D4XsOFkA.js';
3
+ export { am as Action, bC as ActionEvent, ef as ActionWithLiterals, dT as AddOn, dU as AddOnAddOnInfoOneOf, bo as AddOnDetails, dV as AddOnGroupDetail, a8 as AddOnPaymentOptions, e1 as AddOnPaymentOptionsWithLiterals, dz as Address, dA as AddressHint, aQ as AddressLocation, cg as Aggregation, cw as AggregationData, ch as AggregationKindOneOf, cP as AggregationResults, cQ as AggregationResultsResultOneOf, cD as AggregationResultsScalarResult, aj as AggregationType, ec as AggregationTypeWithLiterals, bO as ApplicationError, b6 as AvailabilityConstraints, dX as BaseEventMetadata, dp as Behavior, dq as BehaviorBehaviorOneOf, dk as Benefit, dj as BenefitNotification, ar as BenefitType, ek as BenefitTypeWithLiterals, aX as BookAfterStartPolicy, cV as BookingForm, aT as BookingPolicy, cT as BookingPolicyWithServices, bP as BulkActionMetadata, bL as BulkCreateServicesRequest, c3 as BulkDeleteServicesByFilterRequest, c2 as BulkDeleteServicesRequest, bM as BulkServiceResult, b_ as BulkUpdateServicesByFilterRequest, bY as BulkUpdateServicesRequest, aR as BusinessLocationOptions, c$ as BusinessLocations, dC as BusinessSchedule, b1 as CancellationFeePolicy, aY as CancellationPolicy, b2 as CancellationWindow, b3 as CancellationWindowFeeOneOf, dx as Categories, dh as Category, dg as CategoryNotification, aq as CategoryNotificationEvent, ej as CategoryNotificationEventWithLiterals, dJ as ChangeContext, dK as ChangeContextPayloadOneOf, ao as CloneErrors, eh as CloneErrorsWithLiterals, df as CloneServiceRequest, aN as CommonAddress, aO as CommonAddressStreetOneOf, eq as CommonSearchWithEntityContext, aL as Conferencing, cX as ConnectedService, dH as ConsentPolicy, cY as CountServicesRequest, dO as CreateAddOnGroupRequest, bG as CreateServiceRequest, bH as CreateServiceResponse, at as CrudType, em as CrudTypeWithLiterals, c9 as CursorPaging, cv as CursorPagingMetadata, cS as CursorQueryPagingMethodOneOf, ce as CursorSearch, cf as CursorSearchPagingMethodOneOf, cc as Cursors, aS as CustomLocationOptions, d0 as CustomLocations, aH as CustomPayment, d1 as CustomerLocations, co as DateHistogramAggregation, cL as DateHistogramResult, cN as DateHistogramResults, av as DayOfWeek, eo as DayOfWeekWithLiterals, bs as Delete, dP as DeleteAddOnGroupRequest, dQ as DeleteAddOnGroupResponse, b$ as DeleteServiceRequest, c1 as DeleteServiceResponse, dc as DisablePricingPlansForServiceRequest, dm as Discount, dn as DiscountDiscountOneOf, bw as DomainEvent, bx as DomainEventBodyOneOf, b7 as Duration, di as Empty, da as EnablePricingPlansForServiceRequest, by as EntityCreatedEvent, bB as EntityDeletedEvent, bA as EntityUpdatedEvent, dl as EntryPass, as as Event, dY as EventMetadata, el as EventWithLiterals, bj as ExtendedFields, bK as FieldViolation, aF as FixedPayment, aB as Form, cW as FormDetails, aC as FormSettings, dB as GeoCoordinates, bS as GetServiceAvailabilityConstraintsRequest, bT as GetServiceAvailabilityConstraintsResponse, bQ as GetServiceRequest, bR as GetServiceResponse, cs as GroupByAggregation, ct as GroupByAggregationKindOneOf, cM as GroupByValueResults, ds as HtmlSitePublished, bE as IdentificationData, bF as IdentificationDataIdOneOf, cj as IncludeMissingValuesOptions, ai as Interval, eb as IntervalWithLiterals, db as InvalidPricingPlan, an as InvalidSlugError, eg as InvalidSlugErrorWithLiterals, bN as ItemMetadata, bl as Keyword, aV as LimitEarlyBookingPolicy, aW as LimitLateBookingPolicy, dS as ListAddOnGroupsByServiceIdRequest, dy as Locale, aM as LocationOptionsOneOf, a9 as LocationType, e2 as LocationTypeWithLiterals, bZ as MaskedService, ax as Media, ay as MediaItem, az as MediaItemItemOneOf, bD as MessageEnvelope, af as MissingValues, e8 as MissingValuesWithLiterals, ak as Mode, ed as ModeWithLiterals, aG as Money, d9 as MoveToNewLocationsOptions, dF as Multilingual, cr as NestedAggregation, cp as NestedAggregationItem, cq as NestedAggregationItemKindOneOf, cz as NestedAggregationResults, cA as NestedAggregationResultsResultOneOf, ah as NestedAggregationType, ea as NestedAggregationTypeWithLiterals, cI as NestedResultValue, cJ as NestedResultValueResultOneOf, cO as NestedResults, cE as NestedValueAggregationResult, aK as OnlineBooking, dt as Page, c8 as Paging, cb as PagingMetadataV2, c0 as ParticipantNotification, a$ as ParticipantsPolicy, aD as Payment, aJ as PaymentOptions, aE as PaymentRateOneOf, au as PlacementType, en as PlacementTypeWithLiterals, aU as PolicyDescription, dw as Properties, dL as PropertiesChange, cU as QueryBookingFormsRequest, d3 as QueryCategoriesFilter, d2 as QueryCategoriesRequest, c_ as QueryLocationsFilter, cZ as QueryLocationsRequest, cR as QueryPoliciesRequest, d4 as QueryServicesMultiLanguageRequest, d5 as QueryServicesMultiLanguageResponse, c4 as QueryServicesRequest, ca as QueryServicesResponse, c5 as QueryV2, c6 as QueryV2PagingMethodOneOf, cm as RangeAggregation, cy as RangeAggregationResult, ci as RangeBucket, cG as RangeResult, cC as RangeResults, a7 as RateType, e0 as RateTypeWithLiterals, bp as ReindexMessage, bq as ReindexMessageActionOneOf, d7 as RemovedLocationSessionsAction, d8 as RemovedLocationSessionsActionActionOptionsOneOf, al as RequestedFields, ee as RequestedFieldsWithLiterals, aZ as ReschedulePolicy, aw as ResolutionMethod, ep as ResolutionMethodWithLiterals, bc as ResourceGroup, bd as ResourceIds, bg as ResourceType, b0 as ResourcesPolicy, bz as RestoreInfo, cK as Results, b4 as SaveCreditCardPolicy, cn as ScalarAggregation, cH as ScalarResult, ag as ScalarType, e9 as ScalarTypeWithLiterals, b5 as Schedule, bt as Schema, cu as SearchDetails, cd as SearchServicesRequest, bk as SeoSchema, bU as ServiceAvailabilityConstraints, be as ServiceResource, bf as ServiceResourceSelectionOneOf, d_ as ServiceSearchSpec, a6 as ServiceType, d$ as ServiceTypeWithLiterals, dZ as ServicesQueryResult, bv as ServicesUrlsChanged, dW as SetAddOnsForGroupRequest, bu as SetCustomSlugEvent, dd as SetCustomSlugRequest, d6 as SetServiceLocationsRequest, bn as Settings, dN as SiteCloned, dM as SiteCreated, dv as SitePropertiesEvent, du as SitePropertiesNotification, bh as Slug, ae as SortDirection, e7 as SortDirectionWithLiterals, ac as SortOrder, e5 as SortOrderWithLiterals, ad as SortType, e6 as SortTypeWithLiterals, c7 as Sorting, dE as SpecialHourPeriod, bV as SplitInterval, b9 as StaffMediaItem, ba as StaffMediaItemItemOneOf, b8 as StaffMember, bb as StaffMemberDetails, ap as Status, ei as StatusWithLiterals, aP as StreetAddress, dG as SupportedLanguage, bm as Tag, dD as TimePeriod, dI as Translation, bi as URLs, dR as UpdateAddOnGroupRequest, bW as UpdateServiceRequest, bX as UpdateServiceResponse, br as Upsert, dr as UserDomainInfoChangedEvent, aA as V2Category, ab as V2RequestedFields, e4 as V2RequestedFieldsWithLiterals, bI as ValidateServiceRequest, bJ as ValidateServiceResponse, de as ValidateSlugRequest, ck as ValueAggregation, cl as ValueAggregationOptionsOneOf, cx as ValueAggregationResult, cF as ValueResult, cB as ValueResults, aI as VariedPayment, a_ as WaitlistPolicy, aa as WebhookIdentityType, e3 as WebhookIdentityTypeWithLiterals } from './bookings-services-v2-service-services.universal-D4XsOFkA.js';
4
4
 
5
5
  declare function createService$1(httpClient: HttpClient): CreateServiceSignature;
6
6
  interface CreateServiceSignature {
@@ -8,7 +8,7 @@ interface CreateServiceSignature {
8
8
  * Creates a service.
9
9
  *
10
10
  *
11
- * ### Required fields
11
+ * ### Required fields for Bookings service
12
12
  *
13
13
  * When creating a service you must specify the following fields:
14
14
  * - `type`
@@ -48,6 +48,13 @@ interface CreateServiceSignature {
48
48
  * ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
49
49
  * - It is mandatory to specify `schedule.availabilityConstraints.sessionDurations`,
50
50
  * even though these values are ignored.
51
+ *
52
+ * ### App ID
53
+ *
54
+ * By default, services are associated with Wix Bookings `{"appId": "13d21c63-b5ec-5912-8397-c3a5ddb27a97}`. Only these services are displayed in Wix Bookings.
55
+ *
56
+ * You can specify a different app ID. For example, `{"appId": "cc552162-24a4-45e0-9695-230c4931ef40"}` for [Wix Services](https://support.wix.com/en/article/about-wix-services).
57
+ * Note that you can't update a service's `appId`.
51
58
  * @param - Service to create.
52
59
  * @returns Created service.
53
60
  */