@wix/auto_sdk_bookings_services 1.0.238 → 1.0.240
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-Dorio3C3.d.ts → bookings-services-v2-service-services.universal-DuOb0NDU.d.ts} +4 -111
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +12 -22
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +12 -22
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +5 -112
- package/build/cjs/meta.js +0 -16
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-Dorio3C3.d.mts → bookings-services-v2-service-services.universal-DuOb0NDU.d.mts} +4 -111
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +12 -20
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +12 -20
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +5 -112
- package/build/es/meta.mjs +0 -14
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-CPAFmU0b.d.ts → bookings-services-v2-service-services.universal-BvGJkQ-B.d.ts} +46 -111
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +12 -22
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/index.typings.d.ts +2 -2
- package/build/internal/cjs/index.typings.js +12 -22
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +5 -112
- package/build/internal/cjs/meta.js +0 -16
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-CPAFmU0b.d.mts → bookings-services-v2-service-services.universal-BvGJkQ-B.d.mts} +46 -111
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +12 -20
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/index.typings.d.mts +2 -2
- package/build/internal/es/index.typings.mjs +12 -20
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +5 -112
- package/build/internal/es/meta.mjs +0 -14
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -4081,7 +4081,7 @@ type CloneErrorsWithLiterals = CloneErrors | 'OPTIONS_AND_VARIANTS' | 'FORM';
|
|
|
4081
4081
|
/** An event sent every time a category entity is changed. */
|
|
4082
4082
|
interface CategoryNotification {
|
|
4083
4083
|
category?: Category;
|
|
4084
|
-
event?:
|
|
4084
|
+
event?: EventWithLiterals;
|
|
4085
4085
|
}
|
|
4086
4086
|
/** Categories are used to group multiple services together. A service must be associated with a category in order to be exposed in the Wix Bookings UI. */
|
|
4087
4087
|
interface Category {
|
|
@@ -4114,7 +4114,7 @@ declare enum Status {
|
|
|
4114
4114
|
}
|
|
4115
4115
|
/** @enumType */
|
|
4116
4116
|
type StatusWithLiterals = Status | 'CREATED' | 'DELETED';
|
|
4117
|
-
declare enum
|
|
4117
|
+
declare enum Event {
|
|
4118
4118
|
/** Category was updated. */
|
|
4119
4119
|
Updated = "Updated",
|
|
4120
4120
|
/** Category was deleted. */
|
|
@@ -4123,116 +4123,9 @@ declare enum CategoryNotificationEvent {
|
|
|
4123
4123
|
Created = "Created"
|
|
4124
4124
|
}
|
|
4125
4125
|
/** @enumType */
|
|
4126
|
-
type
|
|
4126
|
+
type EventWithLiterals = Event | 'Updated' | 'Deleted' | 'Created';
|
|
4127
4127
|
interface Empty {
|
|
4128
4128
|
}
|
|
4129
|
-
interface BenefitNotification {
|
|
4130
|
-
/**
|
|
4131
|
-
* Plan unique ID
|
|
4132
|
-
* @format GUID
|
|
4133
|
-
*/
|
|
4134
|
-
planId?: string;
|
|
4135
|
-
/**
|
|
4136
|
-
* App def ID
|
|
4137
|
-
* @format GUID
|
|
4138
|
-
*/
|
|
4139
|
-
appDefId?: string;
|
|
4140
|
-
/** Current benefit details */
|
|
4141
|
-
benefit?: Benefit;
|
|
4142
|
-
/** Previous benefit */
|
|
4143
|
-
prevBenefit?: Benefit;
|
|
4144
|
-
/** Notification event */
|
|
4145
|
-
event?: EventWithLiterals;
|
|
4146
|
-
}
|
|
4147
|
-
interface Benefit {
|
|
4148
|
-
/**
|
|
4149
|
-
* Benefit unique ID
|
|
4150
|
-
* @format GUID
|
|
4151
|
-
* @readonly
|
|
4152
|
-
*/
|
|
4153
|
-
_id?: string | null;
|
|
4154
|
-
/** Benefit Type */
|
|
4155
|
-
benefitType?: BenefitTypeWithLiterals;
|
|
4156
|
-
/**
|
|
4157
|
-
* Resource IDs that serves by this benefit
|
|
4158
|
-
* @format GUID
|
|
4159
|
-
*/
|
|
4160
|
-
resourceIds?: string[];
|
|
4161
|
-
/** Amount of credits that provided by this benefit */
|
|
4162
|
-
creditAmount?: number | null;
|
|
4163
|
-
/**
|
|
4164
|
-
* additional details related to benefit; limited to 20 entries, 20 symbols for key and 20 symbols for value
|
|
4165
|
-
* @maxSize 20
|
|
4166
|
-
*/
|
|
4167
|
-
customFields?: Record<string, string>;
|
|
4168
|
-
/** return value only in case it required in the ListRequest, true means that benefit's type could be updated */
|
|
4169
|
-
editable?: boolean | null;
|
|
4170
|
-
/** Benefit behavior */
|
|
4171
|
-
behavior?: Behavior;
|
|
4172
|
-
/**
|
|
4173
|
-
* Id of the app associated with this benefit
|
|
4174
|
-
* @format GUID
|
|
4175
|
-
* @readonly
|
|
4176
|
-
*/
|
|
4177
|
-
appDefId?: string | null;
|
|
4178
|
-
}
|
|
4179
|
-
interface EntryPass {
|
|
4180
|
-
}
|
|
4181
|
-
interface Discount extends DiscountDiscountOneOf {
|
|
4182
|
-
/**
|
|
4183
|
-
* Fixed-rate percent off discount
|
|
4184
|
-
* @decimalValue options { gt:0, lte:100, maxScale:2 }
|
|
4185
|
-
*/
|
|
4186
|
-
percentOffRate?: string;
|
|
4187
|
-
/**
|
|
4188
|
-
* Absolute amount discount
|
|
4189
|
-
* @decimalValue options { gt:0, maxScale:2 }
|
|
4190
|
-
*/
|
|
4191
|
-
moneyOffAmount?: string;
|
|
4192
|
-
}
|
|
4193
|
-
/** @oneof */
|
|
4194
|
-
interface DiscountDiscountOneOf {
|
|
4195
|
-
/**
|
|
4196
|
-
* Fixed-rate percent off discount
|
|
4197
|
-
* @decimalValue options { gt:0, lte:100, maxScale:2 }
|
|
4198
|
-
*/
|
|
4199
|
-
percentOffRate?: string;
|
|
4200
|
-
/**
|
|
4201
|
-
* Absolute amount discount
|
|
4202
|
-
* @decimalValue options { gt:0, maxScale:2 }
|
|
4203
|
-
*/
|
|
4204
|
-
moneyOffAmount?: string;
|
|
4205
|
-
}
|
|
4206
|
-
declare enum BenefitType {
|
|
4207
|
-
/** Should never be used */
|
|
4208
|
-
UNDEFINED = "UNDEFINED",
|
|
4209
|
-
/** Limited benefit type */
|
|
4210
|
-
LIMITED = "LIMITED",
|
|
4211
|
-
/** Unlimited benefit type */
|
|
4212
|
-
UNLIMITED = "UNLIMITED"
|
|
4213
|
-
}
|
|
4214
|
-
/** @enumType */
|
|
4215
|
-
type BenefitTypeWithLiterals = BenefitType | 'UNDEFINED' | 'LIMITED' | 'UNLIMITED';
|
|
4216
|
-
interface Behavior extends BehaviorBehaviorOneOf {
|
|
4217
|
-
/** Entry pass for resources, e.g. a ticket for Bookings service or a ticket for Events. */
|
|
4218
|
-
defaultBehavior?: EntryPass;
|
|
4219
|
-
/** Discount applied to paid resources */
|
|
4220
|
-
discount?: Discount;
|
|
4221
|
-
}
|
|
4222
|
-
/** @oneof */
|
|
4223
|
-
interface BehaviorBehaviorOneOf {
|
|
4224
|
-
/** Entry pass for resources, e.g. a ticket for Bookings service or a ticket for Events. */
|
|
4225
|
-
defaultBehavior?: EntryPass;
|
|
4226
|
-
/** Discount applied to paid resources */
|
|
4227
|
-
discount?: Discount;
|
|
4228
|
-
}
|
|
4229
|
-
declare enum Event {
|
|
4230
|
-
Updated = "Updated",
|
|
4231
|
-
Deleted = "Deleted",
|
|
4232
|
-
Created = "Created"
|
|
4233
|
-
}
|
|
4234
|
-
/** @enumType */
|
|
4235
|
-
type EventWithLiterals = Event | 'Updated' | 'Deleted' | 'Created';
|
|
4236
4129
|
interface UserDomainInfoChangedEvent {
|
|
4237
4130
|
domainName?: string;
|
|
4238
4131
|
crudType?: CrudTypeWithLiterals;
|
|
@@ -6478,4 +6371,4 @@ interface SetAddOnsForGroupOptions {
|
|
|
6478
6371
|
addOnIds: string[] | null;
|
|
6479
6372
|
}
|
|
6480
6373
|
|
|
6481
|
-
export { type ListAddOnGroupsByServiceIdResponse as $, type DisablePricingPlansForServiceResponse as A, type BulkCreateServicesOptions as B, type CreateServiceValidationErrors as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type DisablePricingPlansForServiceApplicationErrors as F, type GetServiceOptions as G, type SetCustomSlugOptions as H, type SetCustomSlugResponse as I, type SetCustomSlugApplicationErrors as J, type SetCustomSlugValidationErrors as K, type ValidateSlugResponse as L, type CloneServiceResponse as M, type AddOnGroup as N, type CreateAddOnGroupOptions as O, type CreateAddOnGroupResponse as P, type QueryPoliciesResponse as Q, type CreateAddOnGroupApplicationErrors as R, type Service as S, type DeleteAddOnGroupOptions as T, type UpdateService as U, type ValidateSlugOptions as V, type DeleteAddOnGroupApplicationErrors as W, type UpdateAddOnGroupOptions as X, type UpdateAddOnGroupResponse as Y, type UpdateAddOnGroupApplicationErrors as Z, type ListAddOnGroupsByServiceIdOptions as _, type BulkCreateServicesResponse as a, type Payment as a$, type SetAddOnsForGroupOptions as a0, type SetAddOnsForGroupResponse as a1, type SetAddOnsForGroupApplicationErrors as a2, type ServiceCreatedEnvelope as a3, type ServiceDeletedEnvelope as a4, type ServiceUpdatedEnvelope as a5, type ServiceQuery as a6, type QueryServicesOptions as a7, typedQueryServices as a8, type ServicesQueryBuilder as a9, SortOrder as aA, SortType as aB, SortDirection as aC, MissingValues as aD, ScalarType as aE, NestedAggregationType as aF, Interval as aG, AggregationType as aH, Mode as aI, RequestedFields as aJ, Action as aK, InvalidSlugError as aL, CloneErrors as aM, Status as aN, CategoryNotificationEvent as aO, BenefitType as aP, Event as aQ, CrudType as aR, PlacementType as aS, DayOfWeek as aT, ResolutionMethod as aU, type Media as aV, type MediaItem as aW, type MediaItemItemOneOf as aX, type V2Category as aY, type Form as aZ, type FormSettings as a_, ServiceType as aa, RateType as ab, FrequencyType as ac, FirstChargeDateType as ad, AddOnPaymentOptions as ae, LocationTypeEnumLocationType as af, RankingOrder as ag, SortingMethodType as ah, Timing as ai, CompletionRequirement as aj, UnitType as ak, TaxableAddressType as al, MultiServiceBookingType as am, ResourceTransparency as an, LocationType as ao, SelectionMethod as ap, DurationUnitType as aq, ValueType as ar, BookingStatus as as, PaymentStatus as at, SelectedPaymentOption as au, Platform as av, Actor as aw, IdentityType as ax, WebhookIdentityType as ay, V2RequestedFields as az, type UpdateServiceValidationErrors as b, type AddOnDetails as b$, type PaymentRateOneOf as b0, type FixedPayment as b1, type Money as b2, type CustomPayment as b3, type VariedPayment as b4, type SubscriptionPayment as b5, type FullUpfrontPayment as b6, type PaymentOptions as b7, type DiscountInfo as b8, type OnlineBooking as b9, type CustomOptions as bA, type IntakeFormPolicy as bB, type Schedule as bC, type AvailabilityConstraints as bD, type V2Duration as bE, type DurationRange as bF, type DurationRangeConfigOneOf as bG, type HourlyConfig as bH, type DailyConfig as bI, type StaffMember as bJ, type StaffMediaItem as bK, type StaffMediaItemItemOneOf as bL, type StaffMemberDetails as bM, type ResourceGroup as bN, type ResourceIds as bO, type ServiceResource as bP, type ServiceResourceSelectionOneOf as bQ, type ResourceType as bR, type ResourceDetails as bS, type ResourceInfo as bT, type Slug as bU, type URLs as bV, type ExtendedFields as bW, type SeoSchema as bX, type Keyword as bY, type Tag as bZ, type Settings as b_, type Conferencing as ba, type V2Location as bb, type V2LocationOptionsOneOf as bc, type CommonAddress as bd, type CommonAddressStreetOneOf as be, type CommonStreetAddress as bf, type CommonAddressLocation as bg, type BusinessLocationOptions as bh, type CustomLocationOptions as bi, type BookingPolicy as bj, type PolicyDescription as bk, type LimitEarlyBookingPolicy as bl, type LimitLateBookingPolicy as bm, type BookAfterStartPolicy as bn, type CancellationPolicy as bo, type ReschedulePolicy as bp, type WaitlistPolicy as bq, type ParticipantsPolicy as br, type ResourcesPolicy as bs, type CancellationFeePolicy as bt, type CancellationWindow as bu, type CancellationWindowFeeOneOf as bv, type SaveCreditCardPolicy as bw, type StaffSortingPolicy as bx, type StaffSortingPolicyOptionsOneOf as by, type RankingOptions as bz, type BulkUpdateServicesOptions as c, type UpdateServiceResponse as c$, type TaxableAddress as c0, type V2PhoneCall as c1, type SetCustomSlugEvent as c2, type ServicesUrlsChanged as c3, type DummyRequest as c4, type DummyResponse as c5, type Booking as c6, type BookingParticipantsInfoOneOf as c7, type BookedEntity as c8, type BookedEntityItemOneOf as c9, type DomainEventBodyOneOf as cA, type EntityCreatedEvent as cB, type RestoreInfo as cC, type EntityUpdatedEvent as cD, type EntityDeletedEvent as cE, type ActionEvent as cF, type MessageEnvelope as cG, type IdentificationData as cH, type IdentificationDataIdOneOf as cI, type AccountInfo as cJ, type CreateServiceRequest as cK, type CreateServiceResponse as cL, type ValidateServiceRequest as cM, type ValidateServiceResponse as cN, type FieldViolation as cO, type BulkCreateServicesRequest as cP, type BulkServiceResult as cQ, type ItemMetadata as cR, type ApplicationError as cS, type BulkActionMetadata as cT, type GetServiceRequest as cU, type GetServiceResponse as cV, type GetServiceAvailabilityConstraintsRequest as cW, type GetServiceAvailabilityConstraintsResponse as cX, type ServiceAvailabilityConstraints as cY, type SplitInterval as cZ, type UpdateServiceRequest as c_, type BookedSlot as ca, type BookedResource as cb, type Location as cc, type PhoneCall as cd, type ResourceSelection as ce, type BookedSchedule as cf, type ContactDetails as cg, type Address as ch, type AddressStreetOneOf as ci, type StreetAddress as cj, type AddressLocation as ck, type Subdivision as cl, type CustomFormField as cm, type BookingSource as cn, type ParticipantNotification as co, type CommonIdentificationData as cp, type CommonIdentificationDataIdOneOf as cq, type FlowControlSettings as cr, type ParticipantChoices as cs, type ServiceChoices as ct, type ServiceChoice as cu, type ServiceChoiceChoiceOneOf as cv, type Duration as cw, type MultiServiceBookingInfo as cx, type BookedAddOn as cy, type DomainEvent as cz, type BulkUpdateServicesResponse as d, type QueryBookingFormsRequest as d$, type BulkUpdateServicesRequest as d0, type MaskedService as d1, type BulkUpdateServicesByFilterRequest as d2, type DeleteServiceRequest as d3, type V2ParticipantNotification as d4, type DeleteServiceResponse as d5, type BulkDeleteServicesRequest as d6, type BulkDeleteServicesByFilterRequest as d7, type QueryServicesRequest as d8, type QueryV2 as d9, type CursorPagingMetadata as dA, type AggregationData as dB, type ValueAggregationResult as dC, type RangeAggregationResult as dD, type NestedAggregationResults as dE, type NestedAggregationResultsResultOneOf as dF, type ValueResults as dG, type RangeResults as dH, type AggregationResultsScalarResult as dI, type NestedValueAggregationResult as dJ, type ValueResult as dK, type RangeResult as dL, type ScalarResult as dM, type ScalarDateResult as dN, type NestedResultValue as dO, type NestedResultValueResultOneOf as dP, type Results as dQ, type DateHistogramResult as dR, type GroupByValueResults as dS, type DateHistogramResults as dT, type NestedResults as dU, type AggregationResultsScalarDateResult as dV, type AggregationResults as dW, type AggregationResultsResultOneOf as dX, type QueryPoliciesRequest as dY, type CursorQueryPagingMethodOneOf as dZ, type BookingPolicyWithServices as d_, type QueryV2PagingMethodOneOf as da, type Sorting as db, type Paging as dc, type CursorPaging as dd, type QueryServicesResponse as de, type PagingMetadataV2 as df, type Cursors as dg, type SearchServicesRequest as dh, type CursorSearch as di, type CursorSearchPagingMethodOneOf as dj, type Aggregation as dk, type AggregationKindOneOf as dl, type RangeBucket as dm, type IncludeMissingValuesOptions as dn, type ValueAggregation as dp, type ValueAggregationOptionsOneOf as dq, type RangeAggregation as dr, type ScalarAggregation as ds, type DateHistogramAggregation as dt, type NestedAggregationItem as du, type NestedAggregationItemKindOneOf as dv, type NestedAggregation as dw, type GroupByAggregation as dx, type GroupByAggregationKindOneOf as dy, type SearchDetails as dz, type BulkUpdateServicesByFilterOptions as e, type AddOnAddOnInfoOneOf as e$, type BookingForm as e0, type FormDetails as e1, type ConnectedService as e2, type CountServicesRequest as e3, type QueryLocationsRequest as e4, type QueryLocationsFilter as e5, type BusinessLocations as e6, type CustomLocations as e7, type CustomerLocations as e8, type QueryCategoriesRequest as e9, type Page as eA, type SitePropertiesNotification as eB, type SitePropertiesEvent as eC, type Properties as eD, type Categories as eE, type Locale as eF, type V4Address as eG, type AddressHint as eH, type GeoCoordinates as eI, type BusinessSchedule as eJ, type TimePeriod as eK, type SpecialHourPeriod as eL, type Multilingual as eM, type SupportedLanguage as eN, type ConsentPolicy as eO, type Translation as eP, type ChangeContext as eQ, type ChangeContextPayloadOneOf as eR, type PropertiesChange as eS, type SiteCreated as eT, type SiteCloned as eU, type CreateAddOnGroupRequest as eV, type DeleteAddOnGroupRequest as eW, type DeleteAddOnGroupResponse as eX, type UpdateAddOnGroupRequest as eY, type ListAddOnGroupsByServiceIdRequest as eZ, type AddOn as e_, type QueryCategoriesFilter as ea, type QueryServicesMultiLanguageRequest as eb, type QueryServicesMultiLanguageResponse as ec, type SetServiceLocationsRequest as ed, type RemovedLocationSessionsAction as ee, type RemovedLocationSessionsActionActionOptionsOneOf as ef, type MoveToNewLocationsOptions as eg, type EnablePricingPlansForServiceRequest as eh, type PricingPlanSelection as ei, type InvalidPricingPlan as ej, type DisablePricingPlansForServiceRequest as ek, type SetCustomSlugRequest as el, type ValidateSlugRequest as em, type CloneServiceRequest as en, type CategoryNotification as eo, type Category as ep, type Empty as eq, type BenefitNotification as er, type Benefit as es, type EntryPass as et, type Discount as eu, type DiscountDiscountOneOf as ev, type Behavior as ew, type BehaviorBehaviorOneOf as ex, type UserDomainInfoChangedEvent as ey, type HtmlSitePublished as ez, type BulkUpdateServicesByFilterResponse as f, getService as f$, type AddOnGroupDetail as f0, type SetAddOnsForGroupRequest as f1, type BaseEventMetadata as f2, type EventMetadata as f3, type AccountInfoMetadata as f4, type ServicesQueryResult as f5, type ServiceQuerySpec as f6, type ServiceSearchSpec as f7, utils as f8, type ServiceTypeWithLiterals as f9, type SortTypeWithLiterals as fA, type SortDirectionWithLiterals as fB, type MissingValuesWithLiterals as fC, type ScalarTypeWithLiterals as fD, type NestedAggregationTypeWithLiterals as fE, type IntervalWithLiterals as fF, type AggregationTypeWithLiterals as fG, type ModeWithLiterals as fH, type RequestedFieldsWithLiterals as fI, type ActionWithLiterals as fJ, type InvalidSlugErrorWithLiterals as fK, type CloneErrorsWithLiterals as fL, type StatusWithLiterals as fM, type CategoryNotificationEventWithLiterals as fN, type BenefitTypeWithLiterals as fO, type EventWithLiterals as fP, type CrudTypeWithLiterals as fQ, type PlacementTypeWithLiterals as fR, type DayOfWeekWithLiterals as fS, type ResolutionMethodWithLiterals as fT, type CommonQueryWithEntityContext as fU, type CommonSearchWithEntityContext as fV, onServiceCreated as fW, onServiceDeleted as fX, onServiceUpdated as fY, createService as fZ, bulkCreateServices as f_, type RateTypeWithLiterals as fa, type FrequencyTypeWithLiterals as fb, type FirstChargeDateTypeWithLiterals as fc, type AddOnPaymentOptionsWithLiterals as fd, type LocationTypeEnumLocationTypeWithLiterals as fe, type RankingOrderWithLiterals as ff, type SortingMethodTypeWithLiterals as fg, type TimingWithLiterals as fh, type CompletionRequirementWithLiterals as fi, type UnitTypeWithLiterals as fj, type TaxableAddressTypeWithLiterals as fk, type MultiServiceBookingTypeWithLiterals as fl, type ResourceTransparencyWithLiterals as fm, type LocationTypeWithLiterals as fn, type SelectionMethodWithLiterals as fo, type DurationUnitTypeWithLiterals as fp, type ValueTypeWithLiterals as fq, type BookingStatusWithLiterals as fr, type PaymentStatusWithLiterals as fs, type SelectedPaymentOptionWithLiterals as ft, type PlatformWithLiterals as fu, type ActorWithLiterals as fv, type IdentityTypeWithLiterals as fw, type WebhookIdentityTypeWithLiterals as fx, type V2RequestedFieldsWithLiterals as fy, type SortOrderWithLiterals as fz, type BulkDeleteServicesOptions as g, updateService as g0, bulkUpdateServices as g1, bulkUpdateServicesByFilter as g2, deleteService as g3, bulkDeleteServices as g4, bulkDeleteServicesByFilter as g5, queryServices as g6, queryPolicies as g7, queryBookingForms as g8, countServices as g9, queryLocations as ga, queryCategories as gb, setServiceLocations as gc, enablePricingPlansForService as gd, disablePricingPlansForService as ge, setCustomSlug as gf, validateSlug as gg, cloneService as gh, createAddOnGroup as gi, deleteAddOnGroup as gj, updateAddOnGroup as gk, listAddOnGroupsByServiceId as gl, setAddOnsForGroup as gm, type BulkDeleteServicesResponse as h, type BulkDeleteServicesByFilterOptions as i, type BulkDeleteServicesByFilterResponse as j, type ServiceSearch as k, type SearchServicesResponse as l, type CursorQuery as m, type QueryBookingFormsOptions as n, type QueryBookingFormsResponse as o, type QueryBookingFormsApplicationErrors as p, type CountServicesOptions as q, type CountServicesResponse as r, type QueryLocationsOptions as s, type QueryLocationsResponse as t, type QueryCategoriesOptions as u, type QueryCategoriesResponse as v, type SetServiceLocationsOptions as w, type SetServiceLocationsResponse as x, type EnablePricingPlansForServiceApplicationErrors as y, type DisablePricingPlansForServiceOptions as z };
|
|
6374
|
+
export { type ListAddOnGroupsByServiceIdResponse as $, type DisablePricingPlansForServiceResponse as A, type BulkCreateServicesOptions as B, type CreateServiceValidationErrors as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type DisablePricingPlansForServiceApplicationErrors as F, type GetServiceOptions as G, type SetCustomSlugOptions as H, type SetCustomSlugResponse as I, type SetCustomSlugApplicationErrors as J, type SetCustomSlugValidationErrors as K, type ValidateSlugResponse as L, type CloneServiceResponse as M, type AddOnGroup as N, type CreateAddOnGroupOptions as O, type CreateAddOnGroupResponse as P, type QueryPoliciesResponse as Q, type CreateAddOnGroupApplicationErrors as R, type Service as S, type DeleteAddOnGroupOptions as T, type UpdateService as U, type ValidateSlugOptions as V, type DeleteAddOnGroupApplicationErrors as W, type UpdateAddOnGroupOptions as X, type UpdateAddOnGroupResponse as Y, type UpdateAddOnGroupApplicationErrors as Z, type ListAddOnGroupsByServiceIdOptions as _, type BulkCreateServicesResponse as a, type FixedPayment as a$, type SetAddOnsForGroupOptions as a0, type SetAddOnsForGroupResponse as a1, type SetAddOnsForGroupApplicationErrors as a2, type ServiceCreatedEnvelope as a3, type ServiceDeletedEnvelope as a4, type ServiceUpdatedEnvelope as a5, type ServiceQuery as a6, type QueryServicesOptions as a7, typedQueryServices as a8, type ServicesQueryBuilder as a9, SortOrder as aA, SortType as aB, SortDirection as aC, MissingValues as aD, ScalarType as aE, NestedAggregationType as aF, Interval as aG, AggregationType as aH, Mode as aI, RequestedFields as aJ, Action as aK, InvalidSlugError as aL, CloneErrors as aM, Status as aN, Event as aO, CrudType as aP, PlacementType as aQ, DayOfWeek as aR, ResolutionMethod as aS, type Media as aT, type MediaItem as aU, type MediaItemItemOneOf as aV, type V2Category as aW, type Form as aX, type FormSettings as aY, type Payment as aZ, type PaymentRateOneOf as a_, ServiceType as aa, RateType as ab, FrequencyType as ac, FirstChargeDateType as ad, AddOnPaymentOptions as ae, LocationTypeEnumLocationType as af, RankingOrder as ag, SortingMethodType as ah, Timing as ai, CompletionRequirement as aj, UnitType as ak, TaxableAddressType as al, MultiServiceBookingType as am, ResourceTransparency as an, LocationType as ao, SelectionMethod as ap, DurationUnitType as aq, ValueType as ar, BookingStatus as as, PaymentStatus as at, SelectedPaymentOption as au, Platform as av, Actor as aw, IdentityType as ax, WebhookIdentityType as ay, V2RequestedFields as az, type UpdateServiceValidationErrors as b, type V2PhoneCall as b$, type Money as b0, type CustomPayment as b1, type VariedPayment as b2, type SubscriptionPayment as b3, type FullUpfrontPayment as b4, type PaymentOptions as b5, type DiscountInfo as b6, type OnlineBooking as b7, type Conferencing as b8, type V2Location as b9, type Schedule as bA, type AvailabilityConstraints as bB, type V2Duration as bC, type DurationRange as bD, type DurationRangeConfigOneOf as bE, type HourlyConfig as bF, type DailyConfig as bG, type StaffMember as bH, type StaffMediaItem as bI, type StaffMediaItemItemOneOf as bJ, type StaffMemberDetails as bK, type ResourceGroup as bL, type ResourceIds as bM, type ServiceResource as bN, type ServiceResourceSelectionOneOf as bO, type ResourceType as bP, type ResourceDetails as bQ, type ResourceInfo as bR, type Slug as bS, type URLs as bT, type ExtendedFields as bU, type SeoSchema as bV, type Keyword as bW, type Tag as bX, type Settings as bY, type AddOnDetails as bZ, type TaxableAddress as b_, type V2LocationOptionsOneOf as ba, type CommonAddress as bb, type CommonAddressStreetOneOf as bc, type CommonStreetAddress as bd, type CommonAddressLocation as be, type BusinessLocationOptions as bf, type CustomLocationOptions as bg, type BookingPolicy as bh, type PolicyDescription as bi, type LimitEarlyBookingPolicy as bj, type LimitLateBookingPolicy as bk, type BookAfterStartPolicy as bl, type CancellationPolicy as bm, type ReschedulePolicy as bn, type WaitlistPolicy as bo, type ParticipantsPolicy as bp, type ResourcesPolicy as bq, type CancellationFeePolicy as br, type CancellationWindow as bs, type CancellationWindowFeeOneOf as bt, type SaveCreditCardPolicy as bu, type StaffSortingPolicy as bv, type StaffSortingPolicyOptionsOneOf as bw, type RankingOptions as bx, type CustomOptions as by, type IntakeFormPolicy as bz, type BulkUpdateServicesOptions as c, type MaskedService as c$, type SetCustomSlugEvent as c0, type ServicesUrlsChanged as c1, type DummyRequest as c2, type DummyResponse as c3, type Booking as c4, type BookingParticipantsInfoOneOf as c5, type BookedEntity as c6, type BookedEntityItemOneOf as c7, type BookedSlot as c8, type BookedResource as c9, type RestoreInfo as cA, type EntityUpdatedEvent as cB, type EntityDeletedEvent as cC, type ActionEvent as cD, type MessageEnvelope as cE, type IdentificationData as cF, type IdentificationDataIdOneOf as cG, type AccountInfo as cH, type CreateServiceRequest as cI, type CreateServiceResponse as cJ, type ValidateServiceRequest as cK, type ValidateServiceResponse as cL, type FieldViolation as cM, type BulkCreateServicesRequest as cN, type BulkServiceResult as cO, type ItemMetadata as cP, type ApplicationError as cQ, type BulkActionMetadata as cR, type GetServiceRequest as cS, type GetServiceResponse as cT, type GetServiceAvailabilityConstraintsRequest as cU, type GetServiceAvailabilityConstraintsResponse as cV, type ServiceAvailabilityConstraints as cW, type SplitInterval as cX, type UpdateServiceRequest as cY, type UpdateServiceResponse as cZ, type BulkUpdateServicesRequest as c_, type Location as ca, type PhoneCall as cb, type ResourceSelection as cc, type BookedSchedule as cd, type ContactDetails as ce, type Address as cf, type AddressStreetOneOf as cg, type StreetAddress as ch, type AddressLocation as ci, type Subdivision as cj, type CustomFormField as ck, type BookingSource as cl, type ParticipantNotification as cm, type CommonIdentificationData as cn, type CommonIdentificationDataIdOneOf as co, type FlowControlSettings as cp, type ParticipantChoices as cq, type ServiceChoices as cr, type ServiceChoice as cs, type ServiceChoiceChoiceOneOf as ct, type Duration as cu, type MultiServiceBookingInfo as cv, type BookedAddOn as cw, type DomainEvent as cx, type DomainEventBodyOneOf as cy, type EntityCreatedEvent as cz, type BulkUpdateServicesResponse as d, type FormDetails as d$, type BulkUpdateServicesByFilterRequest as d0, type DeleteServiceRequest as d1, type V2ParticipantNotification as d2, type DeleteServiceResponse as d3, type BulkDeleteServicesRequest as d4, type BulkDeleteServicesByFilterRequest as d5, type QueryServicesRequest as d6, type QueryV2 as d7, type QueryV2PagingMethodOneOf as d8, type Sorting as d9, type ValueAggregationResult as dA, type RangeAggregationResult as dB, type NestedAggregationResults as dC, type NestedAggregationResultsResultOneOf as dD, type ValueResults as dE, type RangeResults as dF, type AggregationResultsScalarResult as dG, type NestedValueAggregationResult as dH, type ValueResult as dI, type RangeResult as dJ, type ScalarResult as dK, type ScalarDateResult as dL, type NestedResultValue as dM, type NestedResultValueResultOneOf as dN, type Results as dO, type DateHistogramResult as dP, type GroupByValueResults as dQ, type DateHistogramResults as dR, type NestedResults as dS, type AggregationResultsScalarDateResult as dT, type AggregationResults as dU, type AggregationResultsResultOneOf as dV, type QueryPoliciesRequest as dW, type CursorQueryPagingMethodOneOf as dX, type BookingPolicyWithServices as dY, type QueryBookingFormsRequest as dZ, type BookingForm as d_, type Paging as da, type CursorPaging as db, type QueryServicesResponse as dc, type PagingMetadataV2 as dd, type Cursors as de, type SearchServicesRequest as df, type CursorSearch as dg, type CursorSearchPagingMethodOneOf as dh, type Aggregation as di, type AggregationKindOneOf as dj, type RangeBucket as dk, type IncludeMissingValuesOptions as dl, type ValueAggregation as dm, type ValueAggregationOptionsOneOf as dn, type RangeAggregation as dp, type ScalarAggregation as dq, type DateHistogramAggregation as dr, type NestedAggregationItem as ds, type NestedAggregationItemKindOneOf as dt, type NestedAggregation as du, type GroupByAggregation as dv, type GroupByAggregationKindOneOf as dw, type SearchDetails as dx, type CursorPagingMetadata as dy, type AggregationData as dz, type BulkUpdateServicesByFilterOptions as e, utils as e$, type ConnectedService as e0, type CountServicesRequest as e1, type QueryLocationsRequest as e2, type QueryLocationsFilter as e3, type BusinessLocations as e4, type CustomLocations as e5, type CustomerLocations as e6, type QueryCategoriesRequest as e7, type QueryCategoriesFilter as e8, type QueryServicesMultiLanguageRequest as e9, type BusinessSchedule as eA, type TimePeriod as eB, type SpecialHourPeriod as eC, type Multilingual as eD, type SupportedLanguage as eE, type ConsentPolicy as eF, type Translation as eG, type ChangeContext as eH, type ChangeContextPayloadOneOf as eI, type PropertiesChange as eJ, type SiteCreated as eK, type SiteCloned as eL, type CreateAddOnGroupRequest as eM, type DeleteAddOnGroupRequest as eN, type DeleteAddOnGroupResponse as eO, type UpdateAddOnGroupRequest as eP, type ListAddOnGroupsByServiceIdRequest as eQ, type AddOn as eR, type AddOnAddOnInfoOneOf as eS, type AddOnGroupDetail as eT, type SetAddOnsForGroupRequest as eU, type BaseEventMetadata as eV, type EventMetadata as eW, type AccountInfoMetadata as eX, type ServicesQueryResult as eY, type ServiceQuerySpec as eZ, type ServiceSearchSpec as e_, type QueryServicesMultiLanguageResponse as ea, type SetServiceLocationsRequest as eb, type RemovedLocationSessionsAction as ec, type RemovedLocationSessionsActionActionOptionsOneOf as ed, type MoveToNewLocationsOptions as ee, type EnablePricingPlansForServiceRequest as ef, type PricingPlanSelection as eg, type InvalidPricingPlan as eh, type DisablePricingPlansForServiceRequest as ei, type SetCustomSlugRequest as ej, type ValidateSlugRequest as ek, type CloneServiceRequest as el, type CategoryNotification as em, type Category as en, type Empty as eo, type UserDomainInfoChangedEvent as ep, type HtmlSitePublished as eq, type Page as er, type SitePropertiesNotification as es, type SitePropertiesEvent as et, type Properties as eu, type Categories as ev, type Locale as ew, type V4Address as ex, type AddressHint as ey, type GeoCoordinates as ez, type BulkUpdateServicesByFilterResponse as f, queryLocations as f$, type ServiceTypeWithLiterals as f0, type RateTypeWithLiterals as f1, type FrequencyTypeWithLiterals as f2, type FirstChargeDateTypeWithLiterals as f3, type AddOnPaymentOptionsWithLiterals as f4, type LocationTypeEnumLocationTypeWithLiterals as f5, type RankingOrderWithLiterals as f6, type SortingMethodTypeWithLiterals as f7, type TimingWithLiterals as f8, type CompletionRequirementWithLiterals as f9, type ActionWithLiterals as fA, type InvalidSlugErrorWithLiterals as fB, type CloneErrorsWithLiterals as fC, type StatusWithLiterals as fD, type EventWithLiterals as fE, type CrudTypeWithLiterals as fF, type PlacementTypeWithLiterals as fG, type DayOfWeekWithLiterals as fH, type ResolutionMethodWithLiterals as fI, type CommonQueryWithEntityContext as fJ, type CommonSearchWithEntityContext as fK, onServiceCreated as fL, onServiceDeleted as fM, onServiceUpdated as fN, createService as fO, bulkCreateServices as fP, getService as fQ, updateService as fR, bulkUpdateServices as fS, bulkUpdateServicesByFilter as fT, deleteService as fU, bulkDeleteServices as fV, bulkDeleteServicesByFilter as fW, queryServices as fX, queryPolicies as fY, queryBookingForms as fZ, countServices as f_, type UnitTypeWithLiterals as fa, type TaxableAddressTypeWithLiterals as fb, type MultiServiceBookingTypeWithLiterals as fc, type ResourceTransparencyWithLiterals as fd, type LocationTypeWithLiterals as fe, type SelectionMethodWithLiterals as ff, type DurationUnitTypeWithLiterals as fg, type ValueTypeWithLiterals as fh, type BookingStatusWithLiterals as fi, type PaymentStatusWithLiterals as fj, type SelectedPaymentOptionWithLiterals as fk, type PlatformWithLiterals as fl, type ActorWithLiterals as fm, type IdentityTypeWithLiterals as fn, type WebhookIdentityTypeWithLiterals as fo, type V2RequestedFieldsWithLiterals as fp, type SortOrderWithLiterals as fq, type SortTypeWithLiterals as fr, type SortDirectionWithLiterals as fs, type MissingValuesWithLiterals as ft, type ScalarTypeWithLiterals as fu, type NestedAggregationTypeWithLiterals as fv, type IntervalWithLiterals as fw, type AggregationTypeWithLiterals as fx, type ModeWithLiterals as fy, type RequestedFieldsWithLiterals as fz, type BulkDeleteServicesOptions as g, queryCategories as g0, setServiceLocations as g1, enablePricingPlansForService as g2, disablePricingPlansForService as g3, setCustomSlug as g4, validateSlug as g5, cloneService as g6, createAddOnGroup as g7, deleteAddOnGroup as g8, updateAddOnGroup as g9, listAddOnGroupsByServiceId as ga, setAddOnsForGroup as gb, type BulkDeleteServicesResponse as h, type BulkDeleteServicesByFilterOptions as i, type BulkDeleteServicesByFilterResponse as j, type ServiceSearch as k, type SearchServicesResponse as l, type CursorQuery as m, type QueryBookingFormsOptions as n, type QueryBookingFormsResponse as o, type QueryBookingFormsApplicationErrors as p, type CountServicesOptions as q, type CountServicesResponse as r, type QueryLocationsOptions as s, type QueryLocationsResponse as t, type QueryCategoriesOptions as u, type QueryCategoriesResponse as v, type SetServiceLocationsOptions as w, type SetServiceLocationsResponse as x, type EnablePricingPlansForServiceApplicationErrors as y, type DisablePricingPlansForServiceOptions as z };
|
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, G as GetServiceOptions, 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, H as SetCustomSlugOptions, I as SetCustomSlugResponse, J as SetCustomSlugApplicationErrors, K as SetCustomSlugValidationErrors, V as ValidateSlugOptions, L as ValidateSlugResponse, M as CloneServiceResponse, N as AddOnGroup, O as CreateAddOnGroupOptions, P as CreateAddOnGroupResponse, R as CreateAddOnGroupApplicationErrors, 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, a6 as ServiceQuery, a7 as QueryServicesOptions, a8 as typedQueryServices, a9 as ServicesQueryBuilder } from './bookings-services-v2-service-services.universal-
|
|
3
|
-
export {
|
|
2
|
+
import { S as Service, C as CreateServiceValidationErrors, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, G as GetServiceOptions, 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, H as SetCustomSlugOptions, I as SetCustomSlugResponse, J as SetCustomSlugApplicationErrors, K as SetCustomSlugValidationErrors, V as ValidateSlugOptions, L as ValidateSlugResponse, M as CloneServiceResponse, N as AddOnGroup, O as CreateAddOnGroupOptions, P as CreateAddOnGroupResponse, R as CreateAddOnGroupApplicationErrors, 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, a6 as ServiceQuery, a7 as QueryServicesOptions, a8 as typedQueryServices, a9 as ServicesQueryBuilder } from './bookings-services-v2-service-services.universal-DuOb0NDU.js';
|
|
3
|
+
export { cH as AccountInfo, eX as AccountInfoMetadata, aK as Action, cD as ActionEvent, fA as ActionWithLiterals, aw as Actor, fm as ActorWithLiterals, eR as AddOn, eS as AddOnAddOnInfoOneOf, bZ as AddOnDetails, eT as AddOnGroupDetail, ae as AddOnPaymentOptions, f4 as AddOnPaymentOptionsWithLiterals, cf as Address, ey as AddressHint, ci as AddressLocation, cg as AddressStreetOneOf, di as Aggregation, dz as AggregationData, dj as AggregationKindOneOf, dU as AggregationResults, dV as AggregationResultsResultOneOf, dT as AggregationResultsScalarDateResult, dG as AggregationResultsScalarResult, aH as AggregationType, fx as AggregationTypeWithLiterals, cQ as ApplicationError, bB as AvailabilityConstraints, eV as BaseEventMetadata, bl as BookAfterStartPolicy, cw as BookedAddOn, c6 as BookedEntity, c7 as BookedEntityItemOneOf, c9 as BookedResource, cd as BookedSchedule, c8 as BookedSlot, c4 as Booking, d_ as BookingForm, c5 as BookingParticipantsInfoOneOf, bh as BookingPolicy, dY as BookingPolicyWithServices, cl as BookingSource, as as BookingStatus, fi as BookingStatusWithLiterals, cR as BulkActionMetadata, cN as BulkCreateServicesRequest, d5 as BulkDeleteServicesByFilterRequest, d4 as BulkDeleteServicesRequest, cO as BulkServiceResult, d0 as BulkUpdateServicesByFilterRequest, c_ as BulkUpdateServicesRequest, bf as BusinessLocationOptions, e4 as BusinessLocations, eA as BusinessSchedule, br as CancellationFeePolicy, bm as CancellationPolicy, bs as CancellationWindow, bt as CancellationWindowFeeOneOf, ev as Categories, en as Category, em as CategoryNotification, eH as ChangeContext, eI as ChangeContextPayloadOneOf, aM as CloneErrors, fC as CloneErrorsWithLiterals, el as CloneServiceRequest, bb as CommonAddress, be as CommonAddressLocation, bc as CommonAddressStreetOneOf, cn as CommonIdentificationData, co as CommonIdentificationDataIdOneOf, fJ as CommonQueryWithEntityContext, fK as CommonSearchWithEntityContext, bd as CommonStreetAddress, aj as CompletionRequirement, f9 as CompletionRequirementWithLiterals, b8 as Conferencing, e0 as ConnectedService, eF as ConsentPolicy, ce as ContactDetails, e1 as CountServicesRequest, eM as CreateAddOnGroupRequest, cI as CreateServiceRequest, cJ as CreateServiceResponse, aP as CrudType, fF as CrudTypeWithLiterals, db as CursorPaging, dy as CursorPagingMetadata, dX as CursorQueryPagingMethodOneOf, dg as CursorSearch, dh as CursorSearchPagingMethodOneOf, de as Cursors, ck as CustomFormField, bg as CustomLocationOptions, e5 as CustomLocations, by as CustomOptions, b1 as CustomPayment, e6 as CustomerLocations, bG as DailyConfig, dr as DateHistogramAggregation, dP as DateHistogramResult, dR as DateHistogramResults, aR as DayOfWeek, fH as DayOfWeekWithLiterals, eN as DeleteAddOnGroupRequest, eO as DeleteAddOnGroupResponse, d1 as DeleteServiceRequest, d3 as DeleteServiceResponse, ei as DisablePricingPlansForServiceRequest, b6 as DiscountInfo, cx as DomainEvent, cy as DomainEventBodyOneOf, c2 as DummyRequest, c3 as DummyResponse, cu as Duration, bD as DurationRange, bE as DurationRangeConfigOneOf, aq as DurationUnitType, fg as DurationUnitTypeWithLiterals, eo as Empty, ef as EnablePricingPlansForServiceRequest, cz as EntityCreatedEvent, cC as EntityDeletedEvent, cB as EntityUpdatedEvent, aO as Event, eW as EventMetadata, fE as EventWithLiterals, bU as ExtendedFields, cM as FieldViolation, ad as FirstChargeDateType, f3 as FirstChargeDateTypeWithLiterals, a$ as FixedPayment, cp as FlowControlSettings, aX as Form, d$ as FormDetails, aY as FormSettings, ac as FrequencyType, f2 as FrequencyTypeWithLiterals, b4 as FullUpfrontPayment, ez as GeoCoordinates, cU as GetServiceAvailabilityConstraintsRequest, cV as GetServiceAvailabilityConstraintsResponse, cS as GetServiceRequest, cT as GetServiceResponse, dv as GroupByAggregation, dw as GroupByAggregationKindOneOf, dQ as GroupByValueResults, bF as HourlyConfig, eq as HtmlSitePublished, cF as IdentificationData, cG as IdentificationDataIdOneOf, ax as IdentityType, fn as IdentityTypeWithLiterals, dl as IncludeMissingValuesOptions, bz as IntakeFormPolicy, aG as Interval, fw as IntervalWithLiterals, eh as InvalidPricingPlan, aL as InvalidSlugError, fB as InvalidSlugErrorWithLiterals, cP as ItemMetadata, bW as Keyword, bj as LimitEarlyBookingPolicy, bk as LimitLateBookingPolicy, eQ as ListAddOnGroupsByServiceIdRequest, ew as Locale, ca as Location, ao as LocationType, af as LocationTypeEnumLocationType, f5 as LocationTypeEnumLocationTypeWithLiterals, fe as LocationTypeWithLiterals, c$ as MaskedService, aT as Media, aU as MediaItem, aV as MediaItemItemOneOf, cE as MessageEnvelope, aD as MissingValues, ft as MissingValuesWithLiterals, aI as Mode, fy as ModeWithLiterals, b0 as Money, ee as MoveToNewLocationsOptions, cv as MultiServiceBookingInfo, am as MultiServiceBookingType, fc as MultiServiceBookingTypeWithLiterals, eD as Multilingual, du as NestedAggregation, ds as NestedAggregationItem, dt as NestedAggregationItemKindOneOf, dC as NestedAggregationResults, dD as NestedAggregationResultsResultOneOf, aF as NestedAggregationType, fv as NestedAggregationTypeWithLiterals, dM as NestedResultValue, dN as NestedResultValueResultOneOf, dS as NestedResults, dH as NestedValueAggregationResult, b7 as OnlineBooking, er as Page, da as Paging, dd as PagingMetadataV2, cq as ParticipantChoices, cm as ParticipantNotification, bp as ParticipantsPolicy, aZ as Payment, b5 as PaymentOptions, a_ as PaymentRateOneOf, at as PaymentStatus, fj as PaymentStatusWithLiterals, cb as PhoneCall, aQ as PlacementType, fG as PlacementTypeWithLiterals, av as Platform, fl as PlatformWithLiterals, bi as PolicyDescription, eg as PricingPlanSelection, eu as Properties, eJ as PropertiesChange, dZ as QueryBookingFormsRequest, e8 as QueryCategoriesFilter, e7 as QueryCategoriesRequest, e3 as QueryLocationsFilter, e2 as QueryLocationsRequest, dW as QueryPoliciesRequest, e9 as QueryServicesMultiLanguageRequest, ea as QueryServicesMultiLanguageResponse, d6 as QueryServicesRequest, dc as QueryServicesResponse, d7 as QueryV2, d8 as QueryV2PagingMethodOneOf, dp as RangeAggregation, dB as RangeAggregationResult, dk as RangeBucket, dJ as RangeResult, dF as RangeResults, bx as RankingOptions, ag as RankingOrder, f6 as RankingOrderWithLiterals, ab as RateType, f1 as RateTypeWithLiterals, ec as RemovedLocationSessionsAction, ed as RemovedLocationSessionsActionActionOptionsOneOf, aJ as RequestedFields, fz as RequestedFieldsWithLiterals, bn as ReschedulePolicy, aS as ResolutionMethod, fI as ResolutionMethodWithLiterals, bQ as ResourceDetails, bL as ResourceGroup, bM as ResourceIds, bR as ResourceInfo, cc as ResourceSelection, an as ResourceTransparency, fd as ResourceTransparencyWithLiterals, bP as ResourceType, bq as ResourcesPolicy, cA as RestoreInfo, dO as Results, bu as SaveCreditCardPolicy, dq as ScalarAggregation, dL as ScalarDateResult, dK as ScalarResult, aE as ScalarType, fu as ScalarTypeWithLiterals, bA as Schedule, dx as SearchDetails, df as SearchServicesRequest, au as SelectedPaymentOption, fk as SelectedPaymentOptionWithLiterals, ap as SelectionMethod, ff as SelectionMethodWithLiterals, bV as SeoSchema, cW as ServiceAvailabilityConstraints, cs as ServiceChoice, ct as ServiceChoiceChoiceOneOf, cr as ServiceChoices, eZ as ServiceQuerySpec, bN as ServiceResource, bO as ServiceResourceSelectionOneOf, e_ as ServiceSearchSpec, aa as ServiceType, f0 as ServiceTypeWithLiterals, eY as ServicesQueryResult, c1 as ServicesUrlsChanged, eU as SetAddOnsForGroupRequest, c0 as SetCustomSlugEvent, ej as SetCustomSlugRequest, eb as SetServiceLocationsRequest, bY as Settings, eL as SiteCloned, eK as SiteCreated, et as SitePropertiesEvent, es as SitePropertiesNotification, bS as Slug, aC as SortDirection, fs as SortDirectionWithLiterals, aA as SortOrder, fq as SortOrderWithLiterals, aB as SortType, fr as SortTypeWithLiterals, d9 as Sorting, ah as SortingMethodType, f7 as SortingMethodTypeWithLiterals, eC as SpecialHourPeriod, cX as SplitInterval, bI as StaffMediaItem, bJ as StaffMediaItemItemOneOf, bH as StaffMember, bK as StaffMemberDetails, bv as StaffSortingPolicy, bw as StaffSortingPolicyOptionsOneOf, aN as Status, fD as StatusWithLiterals, ch as StreetAddress, cj as Subdivision, b3 as SubscriptionPayment, eE as SupportedLanguage, bX as Tag, b_ as TaxableAddress, al as TaxableAddressType, fb as TaxableAddressTypeWithLiterals, eB as TimePeriod, ai as Timing, f8 as TimingWithLiterals, eG as Translation, bT as URLs, ak as UnitType, fa as UnitTypeWithLiterals, eP as UpdateAddOnGroupRequest, cY as UpdateServiceRequest, cZ as UpdateServiceResponse, ep as UserDomainInfoChangedEvent, aW as V2Category, bC as V2Duration, b9 as V2Location, ba as V2LocationOptionsOneOf, d2 as V2ParticipantNotification, b$ as V2PhoneCall, az as V2RequestedFields, fp as V2RequestedFieldsWithLiterals, ex as V4Address, cK as ValidateServiceRequest, cL as ValidateServiceResponse, ek as ValidateSlugRequest, dm as ValueAggregation, dn as ValueAggregationOptionsOneOf, dA as ValueAggregationResult, dI as ValueResult, dE as ValueResults, ar as ValueType, fh as ValueTypeWithLiterals, b2 as VariedPayment, bo as WaitlistPolicy, ay as WebhookIdentityType, fo as WebhookIdentityTypeWithLiterals, e$ as utils } from './bookings-services-v2-service-services.universal-DuOb0NDU.js';
|
|
4
4
|
|
|
5
5
|
declare function createService$1(httpClient: HttpClient): CreateServiceSignature;
|
|
6
6
|
interface CreateServiceSignature {
|
package/build/cjs/index.js
CHANGED
|
@@ -24,9 +24,7 @@ __export(index_exports, {
|
|
|
24
24
|
Actor: () => Actor,
|
|
25
25
|
AddOnPaymentOptions: () => AddOnPaymentOptions,
|
|
26
26
|
AggregationType: () => AggregationType,
|
|
27
|
-
BenefitType: () => BenefitType,
|
|
28
27
|
BookingStatus: () => BookingStatus,
|
|
29
|
-
CategoryNotificationEvent: () => CategoryNotificationEvent,
|
|
30
28
|
CloneErrors: () => CloneErrors,
|
|
31
29
|
CompletionRequirement: () => CompletionRequirement,
|
|
32
30
|
CrudType: () => CrudType,
|
|
@@ -2092,18 +2090,6 @@ var Status = /* @__PURE__ */ ((Status2) => {
|
|
|
2092
2090
|
Status2["DELETED"] = "DELETED";
|
|
2093
2091
|
return Status2;
|
|
2094
2092
|
})(Status || {});
|
|
2095
|
-
var CategoryNotificationEvent = /* @__PURE__ */ ((CategoryNotificationEvent2) => {
|
|
2096
|
-
CategoryNotificationEvent2["Updated"] = "Updated";
|
|
2097
|
-
CategoryNotificationEvent2["Deleted"] = "Deleted";
|
|
2098
|
-
CategoryNotificationEvent2["Created"] = "Created";
|
|
2099
|
-
return CategoryNotificationEvent2;
|
|
2100
|
-
})(CategoryNotificationEvent || {});
|
|
2101
|
-
var BenefitType = /* @__PURE__ */ ((BenefitType2) => {
|
|
2102
|
-
BenefitType2["UNDEFINED"] = "UNDEFINED";
|
|
2103
|
-
BenefitType2["LIMITED"] = "LIMITED";
|
|
2104
|
-
BenefitType2["UNLIMITED"] = "UNLIMITED";
|
|
2105
|
-
return BenefitType2;
|
|
2106
|
-
})(BenefitType || {});
|
|
2107
2093
|
var Event = /* @__PURE__ */ ((Event2) => {
|
|
2108
2094
|
Event2["Updated"] = "Updated";
|
|
2109
2095
|
Event2["Deleted"] = "Deleted";
|
|
@@ -2605,7 +2591,8 @@ async function deleteService2(serviceId, options) {
|
|
|
2605
2591
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2606
2592
|
serviceId,
|
|
2607
2593
|
preserveFutureSessionsWithParticipants: options?.preserveFutureSessionsWithParticipants,
|
|
2608
|
-
participantNotification: options?.participantNotification
|
|
2594
|
+
participantNotification: options?.participantNotification,
|
|
2595
|
+
cancelSubscription: options?.cancelSubscription
|
|
2609
2596
|
});
|
|
2610
2597
|
const reqOpts = deleteService(payload);
|
|
2611
2598
|
sideEffects?.onSiteCall?.();
|
|
@@ -2620,7 +2607,8 @@ async function deleteService2(serviceId, options) {
|
|
|
2620
2607
|
explicitPathsToArguments: {
|
|
2621
2608
|
serviceId: "$[0]",
|
|
2622
2609
|
preserveFutureSessionsWithParticipants: "$[1].preserveFutureSessionsWithParticipants",
|
|
2623
|
-
participantNotification: "$[1].participantNotification"
|
|
2610
|
+
participantNotification: "$[1].participantNotification",
|
|
2611
|
+
cancelSubscription: "$[1].cancelSubscription"
|
|
2624
2612
|
},
|
|
2625
2613
|
singleArgumentUnchanged: false
|
|
2626
2614
|
},
|
|
@@ -2635,7 +2623,8 @@ async function bulkDeleteServices2(ids, options) {
|
|
|
2635
2623
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2636
2624
|
ids,
|
|
2637
2625
|
preserveFutureSessionsWithParticipants: options?.preserveFutureSessionsWithParticipants,
|
|
2638
|
-
participantNotification: options?.participantNotification
|
|
2626
|
+
participantNotification: options?.participantNotification,
|
|
2627
|
+
cancelSubscription: options?.cancelSubscription
|
|
2639
2628
|
});
|
|
2640
2629
|
const reqOpts = bulkDeleteServices(payload);
|
|
2641
2630
|
sideEffects?.onSiteCall?.();
|
|
@@ -2682,7 +2671,8 @@ async function bulkDeleteServices2(ids, options) {
|
|
|
2682
2671
|
explicitPathsToArguments: {
|
|
2683
2672
|
ids: "$[0]",
|
|
2684
2673
|
preserveFutureSessionsWithParticipants: "$[1].preserveFutureSessionsWithParticipants",
|
|
2685
|
-
participantNotification: "$[1].participantNotification"
|
|
2674
|
+
participantNotification: "$[1].participantNotification",
|
|
2675
|
+
cancelSubscription: "$[1].cancelSubscription"
|
|
2686
2676
|
},
|
|
2687
2677
|
singleArgumentUnchanged: false
|
|
2688
2678
|
},
|
|
@@ -2697,7 +2687,8 @@ async function bulkDeleteServicesByFilter2(filter, options) {
|
|
|
2697
2687
|
const payload = (0, import_rename_all_nested_keys.renameKeysFromSDKRequestToRESTRequest)({
|
|
2698
2688
|
filter,
|
|
2699
2689
|
preserveFutureSessionsWithParticipants: options?.preserveFutureSessionsWithParticipants,
|
|
2700
|
-
participantNotification: options?.participantNotification
|
|
2690
|
+
participantNotification: options?.participantNotification,
|
|
2691
|
+
cancelSubscription: options?.cancelSubscription
|
|
2701
2692
|
});
|
|
2702
2693
|
const reqOpts = bulkDeleteServicesByFilter(payload);
|
|
2703
2694
|
sideEffects?.onSiteCall?.();
|
|
@@ -2713,7 +2704,8 @@ async function bulkDeleteServicesByFilter2(filter, options) {
|
|
|
2713
2704
|
explicitPathsToArguments: {
|
|
2714
2705
|
filter: "$[0]",
|
|
2715
2706
|
preserveFutureSessionsWithParticipants: "$[1].preserveFutureSessionsWithParticipants",
|
|
2716
|
-
participantNotification: "$[1].participantNotification"
|
|
2707
|
+
participantNotification: "$[1].participantNotification",
|
|
2708
|
+
cancelSubscription: "$[1].cancelSubscription"
|
|
2717
2709
|
},
|
|
2718
2710
|
singleArgumentUnchanged: false
|
|
2719
2711
|
},
|
|
@@ -4029,9 +4021,7 @@ var onServiceUpdated2 = (0, import_event_definition_modules.createEventModule)(o
|
|
|
4029
4021
|
Actor,
|
|
4030
4022
|
AddOnPaymentOptions,
|
|
4031
4023
|
AggregationType,
|
|
4032
|
-
BenefitType,
|
|
4033
4024
|
BookingStatus,
|
|
4034
|
-
CategoryNotificationEvent,
|
|
4035
4025
|
CloneErrors,
|
|
4036
4026
|
CompletionRequirement,
|
|
4037
4027
|
CrudType,
|