@wix/auto_sdk_bookings_services 1.0.68 → 1.0.69
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-Cy9SqUQp.d.ts → bookings-services-v2-service-services.universal-DYRSxPXw.d.ts} +835 -2
- package/build/cjs/index.d.ts +21 -8
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +48 -0
- package/build/cjs/index.typings.js +2946 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-Cy9SqUQp.d.mts → bookings-services-v2-service-services.universal-DYRSxPXw.d.mts} +835 -2
- package/build/es/index.d.mts +21 -8
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +48 -0
- package/build/es/index.typings.mjs +2875 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-Cy9SqUQp.d.ts → bookings-services-v2-service-services.universal-DYRSxPXw.d.ts} +835 -2
- package/build/internal/cjs/index.d.ts +21 -8
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +48 -0
- package/build/internal/cjs/index.typings.js +2946 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-Cy9SqUQp.d.mts → bookings-services-v2-service-services.universal-DYRSxPXw.d.mts} +835 -2
- package/build/internal/es/index.d.mts +21 -8
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +48 -0
- package/build/internal/es/index.typings.mjs +2875 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +1 -1
- package/package.json +2 -2
package/build/es/index.d.mts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
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
|
|
3
|
-
export {
|
|
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 ServiceCreatedEnvelope, P as ServiceDeletedEnvelope, R as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-DYRSxPXw.mjs';
|
|
3
|
+
export { a8 as Action, bp as ActionEvent, bB as AddOn, bC as AddOnAddOnInfoOneOf, bb as AddOnDetails, ba as AddOnGroup, bD as AddOnGroupDetail, dC as Address, dD as AddressHint, aC as AddressLocation, cj as Aggregation, cz as AggregationData, ck as AggregationKindOneOf, cS as AggregationResults, cT as AggregationResultsResultOneOf, cG as AggregationResultsScalarResult, a5 as AggregationType, bR as ApplicationError, aU as AvailabilityConstraints, dR as BaseEventMetadata, ds as Behavior, dt as BehaviorBehaviorOneOf, dn as Benefit, dm as BenefitNotification, ad as BenefitType, aJ as BookAfterStartPolicy, cY as BookingForm, aF as BookingPolicy, cW as BookingPolicyWithServices, bS as BulkActionMetadata, bO as BulkCreateServicesRequest, c6 as BulkDeleteServicesByFilterRequest, c5 as BulkDeleteServicesRequest, bP as BulkServiceResult, c1 as BulkUpdateServicesByFilterRequest, b$ as BulkUpdateServicesRequest, aD as BusinessLocationOptions, d2 as BusinessLocations, dF as BusinessSchedule, aP as CancellationFeePolicy, aK as CancellationPolicy, aQ as CancellationWindow, aR as CancellationWindowFeeOneOf, dA as Categories, dk as Category, dj as CategoryNotification, ac as CategoryNotificationEvent, dM as ChangeContext, dN as ChangeContextPayloadOneOf, aa as CloneErrors, di as CloneServiceRequest, az as CommonAddress, aA as CommonAddressStreetOneOf, ax as Conferencing, c_ as ConnectedService, dK as ConsentPolicy, c$ as CountServicesRequest, bt as CreateAddOnGroupRequest, bu as CreateAddOnGroupResponse, bJ as CreateServiceRequest, bK as CreateServiceResponse, af as CrudType, cc as CursorPaging, cy as CursorPagingMetadata, cV as CursorQueryPagingMethodOneOf, ch as CursorSearch, ci as CursorSearchPagingMethodOneOf, cf as Cursors, aE as CustomLocationOptions, d3 as CustomLocations, at as CustomPayment, d4 as CustomerLocations, cr as DateHistogramAggregation, cO as DateHistogramResult, cQ as DateHistogramResults, ah as DayOfWeek, bf as Delete, bv as DeleteAddOnGroupRequest, bw as DeleteAddOnGroupResponse, c2 as DeleteServiceRequest, c4 as DeleteServiceResponse, df as DisablePricingPlansForServiceRequest, dq as Discount, dr as DiscountDiscountOneOf, bj as DomainEvent, bk as DomainEventBodyOneOf, aV as Duration, dl as Empty, dd as EnablePricingPlansForServiceRequest, bl as EntityCreatedEvent, bo as EntityDeletedEvent, bn as EntityUpdatedEvent, dp as EntryPass, ae as Event, dS as EventMetadata, b5 as ExtendedFields, bN as FieldViolation, ar as FixedPayment, an as Form, cZ as FormDetails, ao as FormSettings, dE as GeoCoordinates, bV as GetServiceAvailabilityConstraintsRequest, bW as GetServiceAvailabilityConstraintsResponse, bT as GetServiceRequest, bU as GetServiceResponse, cv as GroupByAggregation, cw as GroupByAggregationKindOneOf, cP as GroupByValueResults, dv as HtmlSitePublished, br as IdentificationData, bs as IdentificationDataIdOneOf, cm as IncludeMissingValuesOptions, a4 as Interval, de as InvalidPricingPlan, a9 as InvalidSlugError, bQ as ItemMetadata, b7 as Keyword, aH as LimitEarlyBookingPolicy, aI as LimitLateBookingPolicy, bz as ListAddOnGroupsByServiceIdRequest, bA as ListAddOnGroupsByServiceIdResponse, dB as Locale, ay as LocationOptionsOneOf, X as LocationType, c0 as MaskedService, aj as Media, ak as MediaItem, al as MediaItemItemOneOf, bq as MessageEnvelope, a1 as MissingValues, a6 as Mode, as as Money, dc as MoveToNewLocationsOptions, dI as Multilingual, cu as NestedAggregation, cs as NestedAggregationItem, ct as NestedAggregationItemKindOneOf, cC as NestedAggregationResults, cD as NestedAggregationResultsResultOneOf, a3 as NestedAggregationType, cL as NestedResultValue, cM as NestedResultValueResultOneOf, cR as NestedResults, cH as NestedValueAggregationResult, aw as OnlineBooking, dw as Page, cb as Paging, ce as PagingMetadataV2, c3 as ParticipantNotification, aN as ParticipantsPolicy, ap as Payment, av as PaymentOptions, aq as PaymentRateOneOf, ag as PlacementType, aG as PolicyDescription, dz as Properties, dO as PropertiesChange, cX as QueryBookingFormsRequest, d6 as QueryCategoriesFilter, d5 as QueryCategoriesRequest, d1 as QueryLocationsFilter, d0 as QueryLocationsRequest, cU as QueryPoliciesRequest, d7 as QueryServicesMultiLanguageRequest, d8 as QueryServicesMultiLanguageResponse, c7 as QueryServicesRequest, cd as QueryServicesResponse, c8 as QueryV2, c9 as QueryV2PagingMethodOneOf, cp as RangeAggregation, cB as RangeAggregationResult, cl as RangeBucket, cJ as RangeResult, cF as RangeResults, W as RateType, bc as ReindexMessage, bd as ReindexMessageActionOneOf, da as RemovedLocationSessionsAction, db as RemovedLocationSessionsActionActionOptionsOneOf, a7 as RequestedFields, aL as ReschedulePolicy, ai as ResolutionMethod, a_ as ResourceGroup, a$ as ResourceIds, b2 as ResourceType, aO as ResourcesPolicy, bm as RestoreInfo, cN as Results, aS as SaveCreditCardPolicy, cq as ScalarAggregation, cK as ScalarResult, a2 as ScalarType, aT as Schedule, bg as Schema, cx as SearchDetails, cg as SearchServicesRequest, b6 as SeoSchema, bX as ServiceAvailabilityConstraints, b0 as ServiceResource, b1 as ServiceResourceSelectionOneOf, dU as ServiceSearchSpec, T as ServiceType, dT as ServicesQueryResult, bi as ServicesUrlsChanged, bE as SetAddOnsForGroupRequest, bF as SetAddOnsForGroupResponse, bh as SetCustomSlugEvent, dg as SetCustomSlugRequest, d9 as SetServiceLocationsRequest, b9 as Settings, dQ as SiteCloned, dP as SiteCreated, dy as SitePropertiesEvent, dx as SitePropertiesNotification, b3 as Slug, a0 as SortDirection, _ as SortOrder, $ as SortType, ca as Sorting, dH as SpecialHourPeriod, bY as SplitInterval, aX as StaffMediaItem, aY as StaffMediaItemItemOneOf, aW as StaffMember, aZ as StaffMemberDetails, ab as Status, aB as StreetAddress, dJ as SupportedLanguage, b8 as Tag, dG as TimePeriod, dL as Translation, b4 as URLs, bx as UpdateAddOnGroupRequest, by as UpdateAddOnGroupResponse, bZ as UpdateServiceRequest, b_ as UpdateServiceResponse, be as Upsert, du as UserDomainInfoChangedEvent, am as V2Category, Z as V2RequestedFields, bG as ValidateAddOnsSelectionRequest, bH as ValidateAddOnsSelectionResponse, bL as ValidateServiceRequest, bM as ValidateServiceResponse, dh as ValidateSlugRequest, bI as ValidationResult, cn as ValueAggregation, co as ValueAggregationOptionsOneOf, cA as ValueAggregationResult, cI as ValueResult, cE as ValueResults, au as VariedPayment, aM as WaitlistPolicy, Y as WebhookIdentityType } from './bookings-services-v2-service-services.universal-DYRSxPXw.mjs';
|
|
4
4
|
|
|
5
5
|
declare function createService$1(httpClient: HttpClient): CreateServiceSignature;
|
|
6
6
|
interface CreateServiceSignature {
|
|
@@ -50,7 +50,9 @@ interface CreateServiceSignature {
|
|
|
50
50
|
* @param - Service to create.
|
|
51
51
|
* @returns Created service.
|
|
52
52
|
*/
|
|
53
|
-
(service: Service): Promise<Service
|
|
53
|
+
(service: Service): Promise<Service & {
|
|
54
|
+
__validationErrorsType?: CreateServiceValidationErrors | undefined;
|
|
55
|
+
}>;
|
|
54
56
|
}
|
|
55
57
|
declare function bulkCreateServices$1(httpClient: HttpClient): BulkCreateServicesSignature;
|
|
56
58
|
interface BulkCreateServicesSignature {
|
|
@@ -96,7 +98,9 @@ interface UpdateServiceSignature {
|
|
|
96
98
|
* @param - Service ID.
|
|
97
99
|
* @returns Updated service.
|
|
98
100
|
*/
|
|
99
|
-
(_id: string, service: UpdateService): Promise<Service
|
|
101
|
+
(_id: string, service: UpdateService): Promise<Service & {
|
|
102
|
+
__validationErrorsType?: UpdateServiceValidationErrors | undefined;
|
|
103
|
+
}>;
|
|
100
104
|
}
|
|
101
105
|
declare function bulkUpdateServices$1(httpClient: HttpClient): BulkUpdateServicesSignature;
|
|
102
106
|
interface BulkUpdateServicesSignature {
|
|
@@ -335,7 +339,9 @@ interface QueryBookingFormsSignature {
|
|
|
335
339
|
* form filters ([REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object))
|
|
336
340
|
* for all supported filters and sorting options.
|
|
337
341
|
*/
|
|
338
|
-
(query: CursorQuery, options?: QueryBookingFormsOptions | undefined): Promise<QueryBookingFormsResponse
|
|
342
|
+
(query: CursorQuery, options?: QueryBookingFormsOptions | undefined): Promise<QueryBookingFormsResponse & {
|
|
343
|
+
__applicationErrorsType?: QueryBookingFormsApplicationErrors | undefined;
|
|
344
|
+
}>;
|
|
339
345
|
}
|
|
340
346
|
declare function countServices$1(httpClient: HttpClient): CountServicesSignature;
|
|
341
347
|
interface CountServicesSignature {
|
|
@@ -485,7 +491,9 @@ interface EnablePricingPlansForServiceSignature {
|
|
|
485
491
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
486
492
|
* to add to the service's `payment.pricingPlanIds` array.
|
|
487
493
|
*/
|
|
488
|
-
(serviceId: string, pricingPlanIds: string[]): Promise<EnablePricingPlansForServiceResponse
|
|
494
|
+
(serviceId: string, pricingPlanIds: string[]): Promise<EnablePricingPlansForServiceResponse & {
|
|
495
|
+
__applicationErrorsType?: EnablePricingPlansForServiceApplicationErrors | undefined;
|
|
496
|
+
}>;
|
|
489
497
|
}
|
|
490
498
|
declare function disablePricingPlansForService$1(httpClient: HttpClient): DisablePricingPlansForServiceSignature;
|
|
491
499
|
interface DisablePricingPlansForServiceSignature {
|
|
@@ -500,7 +508,9 @@ interface DisablePricingPlansForServiceSignature {
|
|
|
500
508
|
* able to book the service, as they will have no payment options available.
|
|
501
509
|
* @param - ID of the service to update.
|
|
502
510
|
*/
|
|
503
|
-
(serviceId: string, options?: DisablePricingPlansForServiceOptions | undefined): Promise<DisablePricingPlansForServiceResponse
|
|
511
|
+
(serviceId: string, options?: DisablePricingPlansForServiceOptions | undefined): Promise<DisablePricingPlansForServiceResponse & {
|
|
512
|
+
__applicationErrorsType?: DisablePricingPlansForServiceApplicationErrors | undefined;
|
|
513
|
+
}>;
|
|
504
514
|
}
|
|
505
515
|
declare function setCustomSlug$1(httpClient: HttpClient): SetCustomSlugSignature;
|
|
506
516
|
interface SetCustomSlugSignature {
|
|
@@ -514,7 +524,10 @@ interface SetCustomSlugSignature {
|
|
|
514
524
|
* - Another service has used the slug in the past.
|
|
515
525
|
* @param - ID of the service for which to update the active slug.
|
|
516
526
|
*/
|
|
517
|
-
(serviceId: string, options?: SetCustomSlugOptions | undefined): Promise<SetCustomSlugResponse
|
|
527
|
+
(serviceId: string, options?: SetCustomSlugOptions | undefined): Promise<SetCustomSlugResponse & {
|
|
528
|
+
__applicationErrorsType?: SetCustomSlugApplicationErrors | undefined;
|
|
529
|
+
__validationErrorsType?: SetCustomSlugValidationErrors | undefined;
|
|
530
|
+
}>;
|
|
518
531
|
}
|
|
519
532
|
declare function validateSlug$1(httpClient: HttpClient): ValidateSlugSignature;
|
|
520
533
|
interface ValidateSlugSignature {
|