@wix/auto_sdk_bookings_services 1.0.128 → 1.0.130
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-B6t2dBMg.d.ts → bookings-services-v2-service-services.universal-CFIqn_c5.d.ts} +13 -13
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js +87 -6
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +87 -6
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -1
- package/build/cjs/meta.js +81 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-B6t2dBMg.d.mts → bookings-services-v2-service-services.universal-CFIqn_c5.d.mts} +13 -13
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs +87 -6
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +87 -6
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -1
- package/build/es/meta.mjs +81 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-B6t2dBMg.d.ts → bookings-services-v2-service-services.universal-CFIqn_c5.d.ts} +13 -13
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js +87 -6
- 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 +87 -6
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1 -1
- package/build/internal/cjs/meta.js +81 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-B6t2dBMg.d.mts → bookings-services-v2-service-services.universal-CFIqn_c5.d.mts} +13 -13
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs +87 -6
- 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 +87 -6
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1 -1
- package/build/internal/es/meta.mjs +81 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1259,6 +1259,18 @@ interface AddOnDetails {
|
|
|
1259
1259
|
*/
|
|
1260
1260
|
durationInMinutes?: number | null;
|
|
1261
1261
|
}
|
|
1262
|
+
/** `TaxableAddress` defines the taxable address used for the service. */
|
|
1263
|
+
interface TaxableAddress {
|
|
1264
|
+
/** Taxable address type. */
|
|
1265
|
+
taxableAddressType?: TaxableAddressTypeWithLiterals;
|
|
1266
|
+
}
|
|
1267
|
+
declare enum TaxableAddressType {
|
|
1268
|
+
UNKNOWN_TAXABLE_ADDRESS_TYPE = "UNKNOWN_TAXABLE_ADDRESS_TYPE",
|
|
1269
|
+
BUSINESS = "BUSINESS",
|
|
1270
|
+
BILLING = "BILLING"
|
|
1271
|
+
}
|
|
1272
|
+
/** @enumType */
|
|
1273
|
+
type TaxableAddressTypeWithLiterals = TaxableAddressType | 'UNKNOWN_TAXABLE_ADDRESS_TYPE' | 'BUSINESS' | 'BILLING';
|
|
1262
1274
|
/**
|
|
1263
1275
|
* Message for reindexing search data to a given search schema. Support both upsert and delete flows as well as
|
|
1264
1276
|
* performs context manipulation with adding tenant, provided in message to callscope.
|
|
@@ -1428,18 +1440,6 @@ declare enum WebhookIdentityType {
|
|
|
1428
1440
|
}
|
|
1429
1441
|
/** @enumType */
|
|
1430
1442
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1431
|
-
/** `TaxableAddress` defines the taxable address used for the service. */
|
|
1432
|
-
interface TaxableAddress {
|
|
1433
|
-
/** Taxable address type. */
|
|
1434
|
-
taxableAddressType?: TaxableAddressTypeWithLiterals;
|
|
1435
|
-
}
|
|
1436
|
-
declare enum TaxableAddressType {
|
|
1437
|
-
UNKNOWN_TAXABLE_ADDRESS_TYPE = "UNKNOWN_TAXABLE_ADDRESS_TYPE",
|
|
1438
|
-
BUSINESS = "BUSINESS",
|
|
1439
|
-
BILLING = "BILLING"
|
|
1440
|
-
}
|
|
1441
|
-
/** @enumType */
|
|
1442
|
-
type TaxableAddressTypeWithLiterals = TaxableAddressType | 'UNKNOWN_TAXABLE_ADDRESS_TYPE' | 'BUSINESS' | 'BILLING';
|
|
1443
1443
|
interface CreateAddOnGroupRequest {
|
|
1444
1444
|
/** AddOnGroup to create. */
|
|
1445
1445
|
addOnGroup: AddOnGroup;
|
|
@@ -4998,4 +4998,4 @@ interface ValidateSlugOptions {
|
|
|
4998
4998
|
*/
|
|
4999
4999
|
declare function cloneService(sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.taxableAddress.taxableAddressType` | `errors`, 7>>;
|
|
5000
5000
|
|
|
5001
|
-
export { type SetCustomSlugValidationErrors as $, type AddOnGroup as A, type BulkCreateServicesOptions as B, type CreateAddOnGroupOptions as C, type DeleteAddOnGroupOptions as D, type QueryBookingFormsResponse as E, type QueryBookingFormsApplicationErrors as F, type CountServicesOptions as G, type CountServicesResponse as H, type QueryLocationsOptions as I, type QueryLocationsResponse as J, type QueryCategoriesOptions as K, type ListAddOnGroupsByServiceIdOptions as L, type QueryCategoriesResponse as M, type Location as N, type SetServiceLocationsOptions as O, type SetServiceLocationsResponse as P, type QueryPoliciesResponse as Q, type EnablePricingPlansForServiceResponse as R, type SetAddOnsForGroupOptions as S, type EnablePricingPlansForServiceApplicationErrors as T, type UpdateAddOnGroupOptions as U, type DisablePricingPlansForServiceOptions as V, type DisablePricingPlansForServiceResponse as W, type DisablePricingPlansForServiceApplicationErrors as X, type SetCustomSlugOptions as Y, type SetCustomSlugResponse as Z, type SetCustomSlugApplicationErrors as _, type CreateAddOnGroupResponse as a, type CancellationPolicy as a$, type ValidateSlugOptions as a0, type ValidateSlugResponse as a1, type CloneServiceResponse as a2, type ServiceCreatedEnvelope as a3, type ServiceDeletedEnvelope as a4, type ServiceUpdatedEnvelope as a5, ServiceType as a6, RateType as a7, AddOnPaymentOptions as a8, LocationType as a9, type Media as aA, type MediaItem as aB, type MediaItemItemOneOf as aC, type V2Category as aD, type Form as aE, type FormSettings as aF, type Payment as aG, type PaymentRateOneOf as aH, type FixedPayment as aI, type Money as aJ, type CustomPayment as aK, type VariedPayment as aL, type PaymentOptions as aM, type OnlineBooking as aN, type Conferencing as aO, type LocationOptionsOneOf as aP, type CommonAddress as aQ, type CommonAddressStreetOneOf as aR, type StreetAddress as aS, type AddressLocation as aT, type BusinessLocationOptions as aU, type CustomLocationOptions as aV, type BookingPolicy as aW, type PolicyDescription as aX, type LimitEarlyBookingPolicy as aY, type LimitLateBookingPolicy as aZ, type BookAfterStartPolicy as a_, RankingOrder as aa, SortingMethodType as ab, WebhookIdentityType as ac, TaxableAddressType as ad, V2RequestedFields as ae, SortOrder as af, SortType as ag, SortDirection as ah, MissingValues as ai, ScalarType as aj, NestedAggregationType as ak, Interval as al, AggregationType as am, Mode as an, RequestedFields as ao, Action as ap, InvalidSlugError as aq, CloneErrors as ar, Status as as, CategoryNotificationEvent as at, BenefitType as au, Event as av, CrudType as aw, PlacementType as ax, DayOfWeek as ay, ResolutionMethod as az, type DeleteAddOnGroupApplicationErrors as b, type FieldViolation as b$, type ReschedulePolicy as b0, type WaitlistPolicy as b1, type ParticipantsPolicy as b2, type ResourcesPolicy as b3, type CancellationFeePolicy as b4, type CancellationWindow as b5, type CancellationWindowFeeOneOf as b6, type SaveCreditCardPolicy as b7, type StaffSortingPolicy as b8, type StaffSortingPolicyOptionsOneOf as b9, type Schema as bA, type SetCustomSlugEvent as bB, type ServicesUrlsChanged as bC, type DomainEvent as bD, type DomainEventBodyOneOf as bE, type EntityCreatedEvent as bF, type RestoreInfo as bG, type EntityUpdatedEvent as bH, type EntityDeletedEvent as bI, type ActionEvent as bJ, type MessageEnvelope as bK, type IdentificationData as bL, type IdentificationDataIdOneOf as bM, type TaxableAddress as bN, type CreateAddOnGroupRequest as bO, type DeleteAddOnGroupRequest as bP, type DeleteAddOnGroupResponse as bQ, type UpdateAddOnGroupRequest as bR, type ListAddOnGroupsByServiceIdRequest as bS, type AddOn as bT, type AddOnAddOnInfoOneOf as bU, type AddOnGroupDetail as bV, type SetAddOnsForGroupRequest as bW, type CreateServiceRequest as bX, type CreateServiceResponse as bY, type ValidateServiceRequest as bZ, type ValidateServiceResponse as b_, type RankingOptions as ba, type CustomOptions as bb, type Schedule as bc, type AvailabilityConstraints as bd, type Duration as be, type StaffMember as bf, type StaffMediaItem as bg, type StaffMediaItemItemOneOf as bh, type StaffMemberDetails as bi, type ResourceGroup as bj, type ResourceIds as bk, type ServiceResource as bl, type ServiceResourceSelectionOneOf as bm, type ResourceType as bn, type Slug as bo, type URLs as bp, type ExtendedFields as bq, type SeoSchema as br, type Keyword as bs, type Tag as bt, type Settings as bu, type AddOnDetails as bv, type ReindexMessage as bw, type ReindexMessageActionOneOf as bx, type Upsert as by, type Delete as bz, type UpdateAddOnGroupResponse as c, type Results as c$, type BulkCreateServicesRequest as c0, type BulkServiceResult as c1, type ItemMetadata as c2, type ApplicationError as c3, type BulkActionMetadata as c4, type GetServiceRequest as c5, type GetServiceResponse as c6, type GetServiceAvailabilityConstraintsRequest as c7, type GetServiceAvailabilityConstraintsResponse as c8, type ServiceAvailabilityConstraints as c9, type IncludeMissingValuesOptions as cA, type ValueAggregation as cB, type ValueAggregationOptionsOneOf as cC, type RangeAggregation as cD, type ScalarAggregation as cE, type DateHistogramAggregation as cF, type NestedAggregationItem as cG, type NestedAggregationItemKindOneOf as cH, type NestedAggregation as cI, type GroupByAggregation as cJ, type GroupByAggregationKindOneOf as cK, type SearchDetails as cL, type CursorPagingMetadata as cM, type AggregationData as cN, type ValueAggregationResult as cO, type RangeAggregationResult as cP, type NestedAggregationResults as cQ, type NestedAggregationResultsResultOneOf as cR, type ValueResults as cS, type RangeResults as cT, type AggregationResultsScalarResult as cU, type NestedValueAggregationResult as cV, type ValueResult as cW, type RangeResult as cX, type ScalarResult as cY, type NestedResultValue as cZ, type NestedResultValueResultOneOf as c_, type SplitInterval as ca, type UpdateServiceRequest as cb, type UpdateServiceResponse as cc, type BulkUpdateServicesRequest as cd, type MaskedService as ce, type BulkUpdateServicesByFilterRequest as cf, type DeleteServiceRequest as cg, type ParticipantNotification as ch, type DeleteServiceResponse as ci, type BulkDeleteServicesRequest as cj, type BulkDeleteServicesByFilterRequest as ck, type QueryServicesRequest as cl, type QueryV2 as cm, type QueryV2PagingMethodOneOf as cn, type Sorting as co, type Paging as cp, type CursorPaging as cq, type QueryServicesResponse as cr, type PagingMetadataV2 as cs, type Cursors as ct, type SearchServicesRequest as cu, type CursorSearch as cv, type CursorSearchPagingMethodOneOf as cw, type Aggregation as cx, type AggregationKindOneOf as cy, type RangeBucket as cz, type UpdateAddOnGroupApplicationErrors as d, type ChangeContextPayloadOneOf as d$, type DateHistogramResult as d0, type GroupByValueResults as d1, type DateHistogramResults as d2, type NestedResults as d3, type AggregationResults as d4, type AggregationResultsResultOneOf as d5, type QueryPoliciesRequest as d6, type CursorQueryPagingMethodOneOf as d7, type BookingPolicyWithServices as d8, type QueryBookingFormsRequest as d9, type Empty as dA, type BenefitNotification as dB, type Benefit as dC, type EntryPass as dD, type Discount as dE, type DiscountDiscountOneOf as dF, type Behavior as dG, type BehaviorBehaviorOneOf as dH, type UserDomainInfoChangedEvent as dI, type HtmlSitePublished as dJ, type Page as dK, type SitePropertiesNotification as dL, type SitePropertiesEvent as dM, type Properties as dN, type Categories as dO, type Locale as dP, type Address as dQ, type AddressHint as dR, type GeoCoordinates as dS, type BusinessSchedule as dT, type TimePeriod as dU, type SpecialHourPeriod as dV, type Multilingual as dW, type SupportedLanguage as dX, type ConsentPolicy as dY, type Translation as dZ, type ChangeContext as d_, type BookingForm as da, type FormDetails as db, type ConnectedService as dc, type CountServicesRequest as dd, type QueryLocationsRequest as de, type QueryLocationsFilter as df, type BusinessLocations as dg, type CustomLocations as dh, type CustomerLocations as di, type QueryCategoriesRequest as dj, type QueryCategoriesFilter as dk, type QueryServicesMultiLanguageRequest as dl, type QueryServicesMultiLanguageResponse as dm, type SetServiceLocationsRequest as dn, type RemovedLocationSessionsAction as dp, type RemovedLocationSessionsActionActionOptionsOneOf as dq, type MoveToNewLocationsOptions as dr, type EnablePricingPlansForServiceRequest as ds, type InvalidPricingPlan as dt, type DisablePricingPlansForServiceRequest as du, type SetCustomSlugRequest as dv, type ValidateSlugRequest as dw, type CloneServiceRequest as dx, type CategoryNotification as dy, type Category as dz, type ListAddOnGroupsByServiceIdResponse as e, disablePricingPlansForService as e$, type PropertiesChange as e0, type SiteCreated as e1, type SiteCloned as e2, type BaseEventMetadata as e3, type EventMetadata as e4, type ServicesQueryResult as e5, type ServiceSearchSpec as e6, type ServiceTypeWithLiterals as e7, type RateTypeWithLiterals as e8, type AddOnPaymentOptionsWithLiterals as e9, type ResolutionMethodWithLiterals as eA, type CommonSearchWithEntityContext as eB, onServiceCreated as eC, onServiceDeleted as eD, onServiceUpdated as eE, createAddOnGroup as eF, deleteAddOnGroup as eG, updateAddOnGroup as eH, listAddOnGroupsByServiceId as eI, setAddOnsForGroup as eJ, createService as eK, bulkCreateServices as eL, getService as eM, updateService as eN, bulkUpdateServices as eO, bulkUpdateServicesByFilter as eP, deleteService as eQ, bulkDeleteServices as eR, bulkDeleteServicesByFilter as eS, queryServices as eT, queryPolicies as eU, queryBookingForms as eV, countServices as eW, queryLocations as eX, queryCategories as eY, setServiceLocations as eZ, enablePricingPlansForService as e_, type LocationTypeWithLiterals as ea, type RankingOrderWithLiterals as eb, type SortingMethodTypeWithLiterals as ec, type WebhookIdentityTypeWithLiterals as ed, type TaxableAddressTypeWithLiterals as ee, type V2RequestedFieldsWithLiterals as ef, type SortOrderWithLiterals as eg, type SortTypeWithLiterals as eh, type SortDirectionWithLiterals as ei, type MissingValuesWithLiterals as ej, type ScalarTypeWithLiterals as ek, type NestedAggregationTypeWithLiterals as el, type IntervalWithLiterals as em, type AggregationTypeWithLiterals as en, type ModeWithLiterals as eo, type RequestedFieldsWithLiterals as ep, type ActionWithLiterals as eq, type InvalidSlugErrorWithLiterals as er, type CloneErrorsWithLiterals as es, type StatusWithLiterals as et, type CategoryNotificationEventWithLiterals as eu, type BenefitTypeWithLiterals as ev, type EventWithLiterals as ew, type CrudTypeWithLiterals as ex, type PlacementTypeWithLiterals as ey, type DayOfWeekWithLiterals as ez, type SetAddOnsForGroupResponse as f, setCustomSlug as f0, validateSlug as f1, cloneService as f2, type SetAddOnsForGroupApplicationErrors as g, type Service as h, type CreateServiceValidationErrors as i, type BulkCreateServicesResponse as j, type UpdateService as k, type UpdateServiceValidationErrors as l, type BulkUpdateServicesOptions as m, type BulkUpdateServicesResponse as n, type BulkUpdateServicesByFilterOptions as o, type BulkUpdateServicesByFilterResponse as p, type DeleteServiceOptions as q, type BulkDeleteServicesOptions as r, type BulkDeleteServicesResponse as s, type BulkDeleteServicesByFilterOptions as t, type BulkDeleteServicesByFilterResponse as u, type ServicesQueryBuilder as v, type ServiceSearch as w, type SearchServicesResponse as x, type CursorQuery as y, type QueryBookingFormsOptions as z };
|
|
5001
|
+
export { type SetCustomSlugValidationErrors as $, type AddOnGroup as A, type BulkCreateServicesOptions as B, type CreateAddOnGroupOptions as C, type DeleteAddOnGroupOptions as D, type QueryBookingFormsResponse as E, type QueryBookingFormsApplicationErrors as F, type CountServicesOptions as G, type CountServicesResponse as H, type QueryLocationsOptions as I, type QueryLocationsResponse as J, type QueryCategoriesOptions as K, type ListAddOnGroupsByServiceIdOptions as L, type QueryCategoriesResponse as M, type Location as N, type SetServiceLocationsOptions as O, type SetServiceLocationsResponse as P, type QueryPoliciesResponse as Q, type EnablePricingPlansForServiceResponse as R, type SetAddOnsForGroupOptions as S, type EnablePricingPlansForServiceApplicationErrors as T, type UpdateAddOnGroupOptions as U, type DisablePricingPlansForServiceOptions as V, type DisablePricingPlansForServiceResponse as W, type DisablePricingPlansForServiceApplicationErrors as X, type SetCustomSlugOptions as Y, type SetCustomSlugResponse as Z, type SetCustomSlugApplicationErrors as _, type CreateAddOnGroupResponse as a, type CancellationPolicy as a$, type ValidateSlugOptions as a0, type ValidateSlugResponse as a1, type CloneServiceResponse as a2, type ServiceCreatedEnvelope as a3, type ServiceDeletedEnvelope as a4, type ServiceUpdatedEnvelope as a5, ServiceType as a6, RateType as a7, AddOnPaymentOptions as a8, LocationType as a9, type Media as aA, type MediaItem as aB, type MediaItemItemOneOf as aC, type V2Category as aD, type Form as aE, type FormSettings as aF, type Payment as aG, type PaymentRateOneOf as aH, type FixedPayment as aI, type Money as aJ, type CustomPayment as aK, type VariedPayment as aL, type PaymentOptions as aM, type OnlineBooking as aN, type Conferencing as aO, type LocationOptionsOneOf as aP, type CommonAddress as aQ, type CommonAddressStreetOneOf as aR, type StreetAddress as aS, type AddressLocation as aT, type BusinessLocationOptions as aU, type CustomLocationOptions as aV, type BookingPolicy as aW, type PolicyDescription as aX, type LimitEarlyBookingPolicy as aY, type LimitLateBookingPolicy as aZ, type BookAfterStartPolicy as a_, RankingOrder as aa, SortingMethodType as ab, TaxableAddressType as ac, WebhookIdentityType as ad, V2RequestedFields as ae, SortOrder as af, SortType as ag, SortDirection as ah, MissingValues as ai, ScalarType as aj, NestedAggregationType as ak, Interval as al, AggregationType as am, Mode as an, RequestedFields as ao, Action as ap, InvalidSlugError as aq, CloneErrors as ar, Status as as, CategoryNotificationEvent as at, BenefitType as au, Event as av, CrudType as aw, PlacementType as ax, DayOfWeek as ay, ResolutionMethod as az, type DeleteAddOnGroupApplicationErrors as b, type FieldViolation as b$, type ReschedulePolicy as b0, type WaitlistPolicy as b1, type ParticipantsPolicy as b2, type ResourcesPolicy as b3, type CancellationFeePolicy as b4, type CancellationWindow as b5, type CancellationWindowFeeOneOf as b6, type SaveCreditCardPolicy as b7, type StaffSortingPolicy as b8, type StaffSortingPolicyOptionsOneOf as b9, type Delete as bA, type Schema as bB, type SetCustomSlugEvent as bC, type ServicesUrlsChanged as bD, type DomainEvent as bE, type DomainEventBodyOneOf as bF, type EntityCreatedEvent as bG, type RestoreInfo as bH, type EntityUpdatedEvent as bI, type EntityDeletedEvent as bJ, type ActionEvent as bK, type MessageEnvelope as bL, type IdentificationData as bM, type IdentificationDataIdOneOf as bN, type CreateAddOnGroupRequest as bO, type DeleteAddOnGroupRequest as bP, type DeleteAddOnGroupResponse as bQ, type UpdateAddOnGroupRequest as bR, type ListAddOnGroupsByServiceIdRequest as bS, type AddOn as bT, type AddOnAddOnInfoOneOf as bU, type AddOnGroupDetail as bV, type SetAddOnsForGroupRequest as bW, type CreateServiceRequest as bX, type CreateServiceResponse as bY, type ValidateServiceRequest as bZ, type ValidateServiceResponse as b_, type RankingOptions as ba, type CustomOptions as bb, type Schedule as bc, type AvailabilityConstraints as bd, type Duration as be, type StaffMember as bf, type StaffMediaItem as bg, type StaffMediaItemItemOneOf as bh, type StaffMemberDetails as bi, type ResourceGroup as bj, type ResourceIds as bk, type ServiceResource as bl, type ServiceResourceSelectionOneOf as bm, type ResourceType as bn, type Slug as bo, type URLs as bp, type ExtendedFields as bq, type SeoSchema as br, type Keyword as bs, type Tag as bt, type Settings as bu, type AddOnDetails as bv, type TaxableAddress as bw, type ReindexMessage as bx, type ReindexMessageActionOneOf as by, type Upsert as bz, type UpdateAddOnGroupResponse as c, type Results as c$, type BulkCreateServicesRequest as c0, type BulkServiceResult as c1, type ItemMetadata as c2, type ApplicationError as c3, type BulkActionMetadata as c4, type GetServiceRequest as c5, type GetServiceResponse as c6, type GetServiceAvailabilityConstraintsRequest as c7, type GetServiceAvailabilityConstraintsResponse as c8, type ServiceAvailabilityConstraints as c9, type IncludeMissingValuesOptions as cA, type ValueAggregation as cB, type ValueAggregationOptionsOneOf as cC, type RangeAggregation as cD, type ScalarAggregation as cE, type DateHistogramAggregation as cF, type NestedAggregationItem as cG, type NestedAggregationItemKindOneOf as cH, type NestedAggregation as cI, type GroupByAggregation as cJ, type GroupByAggregationKindOneOf as cK, type SearchDetails as cL, type CursorPagingMetadata as cM, type AggregationData as cN, type ValueAggregationResult as cO, type RangeAggregationResult as cP, type NestedAggregationResults as cQ, type NestedAggregationResultsResultOneOf as cR, type ValueResults as cS, type RangeResults as cT, type AggregationResultsScalarResult as cU, type NestedValueAggregationResult as cV, type ValueResult as cW, type RangeResult as cX, type ScalarResult as cY, type NestedResultValue as cZ, type NestedResultValueResultOneOf as c_, type SplitInterval as ca, type UpdateServiceRequest as cb, type UpdateServiceResponse as cc, type BulkUpdateServicesRequest as cd, type MaskedService as ce, type BulkUpdateServicesByFilterRequest as cf, type DeleteServiceRequest as cg, type ParticipantNotification as ch, type DeleteServiceResponse as ci, type BulkDeleteServicesRequest as cj, type BulkDeleteServicesByFilterRequest as ck, type QueryServicesRequest as cl, type QueryV2 as cm, type QueryV2PagingMethodOneOf as cn, type Sorting as co, type Paging as cp, type CursorPaging as cq, type QueryServicesResponse as cr, type PagingMetadataV2 as cs, type Cursors as ct, type SearchServicesRequest as cu, type CursorSearch as cv, type CursorSearchPagingMethodOneOf as cw, type Aggregation as cx, type AggregationKindOneOf as cy, type RangeBucket as cz, type UpdateAddOnGroupApplicationErrors as d, type ChangeContextPayloadOneOf as d$, type DateHistogramResult as d0, type GroupByValueResults as d1, type DateHistogramResults as d2, type NestedResults as d3, type AggregationResults as d4, type AggregationResultsResultOneOf as d5, type QueryPoliciesRequest as d6, type CursorQueryPagingMethodOneOf as d7, type BookingPolicyWithServices as d8, type QueryBookingFormsRequest as d9, type Empty as dA, type BenefitNotification as dB, type Benefit as dC, type EntryPass as dD, type Discount as dE, type DiscountDiscountOneOf as dF, type Behavior as dG, type BehaviorBehaviorOneOf as dH, type UserDomainInfoChangedEvent as dI, type HtmlSitePublished as dJ, type Page as dK, type SitePropertiesNotification as dL, type SitePropertiesEvent as dM, type Properties as dN, type Categories as dO, type Locale as dP, type Address as dQ, type AddressHint as dR, type GeoCoordinates as dS, type BusinessSchedule as dT, type TimePeriod as dU, type SpecialHourPeriod as dV, type Multilingual as dW, type SupportedLanguage as dX, type ConsentPolicy as dY, type Translation as dZ, type ChangeContext as d_, type BookingForm as da, type FormDetails as db, type ConnectedService as dc, type CountServicesRequest as dd, type QueryLocationsRequest as de, type QueryLocationsFilter as df, type BusinessLocations as dg, type CustomLocations as dh, type CustomerLocations as di, type QueryCategoriesRequest as dj, type QueryCategoriesFilter as dk, type QueryServicesMultiLanguageRequest as dl, type QueryServicesMultiLanguageResponse as dm, type SetServiceLocationsRequest as dn, type RemovedLocationSessionsAction as dp, type RemovedLocationSessionsActionActionOptionsOneOf as dq, type MoveToNewLocationsOptions as dr, type EnablePricingPlansForServiceRequest as ds, type InvalidPricingPlan as dt, type DisablePricingPlansForServiceRequest as du, type SetCustomSlugRequest as dv, type ValidateSlugRequest as dw, type CloneServiceRequest as dx, type CategoryNotification as dy, type Category as dz, type ListAddOnGroupsByServiceIdResponse as e, disablePricingPlansForService as e$, type PropertiesChange as e0, type SiteCreated as e1, type SiteCloned as e2, type BaseEventMetadata as e3, type EventMetadata as e4, type ServicesQueryResult as e5, type ServiceSearchSpec as e6, type ServiceTypeWithLiterals as e7, type RateTypeWithLiterals as e8, type AddOnPaymentOptionsWithLiterals as e9, type ResolutionMethodWithLiterals as eA, type CommonSearchWithEntityContext as eB, onServiceCreated as eC, onServiceDeleted as eD, onServiceUpdated as eE, createAddOnGroup as eF, deleteAddOnGroup as eG, updateAddOnGroup as eH, listAddOnGroupsByServiceId as eI, setAddOnsForGroup as eJ, createService as eK, bulkCreateServices as eL, getService as eM, updateService as eN, bulkUpdateServices as eO, bulkUpdateServicesByFilter as eP, deleteService as eQ, bulkDeleteServices as eR, bulkDeleteServicesByFilter as eS, queryServices as eT, queryPolicies as eU, queryBookingForms as eV, countServices as eW, queryLocations as eX, queryCategories as eY, setServiceLocations as eZ, enablePricingPlansForService as e_, type LocationTypeWithLiterals as ea, type RankingOrderWithLiterals as eb, type SortingMethodTypeWithLiterals as ec, type TaxableAddressTypeWithLiterals as ed, type WebhookIdentityTypeWithLiterals as ee, type V2RequestedFieldsWithLiterals as ef, type SortOrderWithLiterals as eg, type SortTypeWithLiterals as eh, type SortDirectionWithLiterals as ei, type MissingValuesWithLiterals as ej, type ScalarTypeWithLiterals as ek, type NestedAggregationTypeWithLiterals as el, type IntervalWithLiterals as em, type AggregationTypeWithLiterals as en, type ModeWithLiterals as eo, type RequestedFieldsWithLiterals as ep, type ActionWithLiterals as eq, type InvalidSlugErrorWithLiterals as er, type CloneErrorsWithLiterals as es, type StatusWithLiterals as et, type CategoryNotificationEventWithLiterals as eu, type BenefitTypeWithLiterals as ev, type EventWithLiterals as ew, type CrudTypeWithLiterals as ex, type PlacementTypeWithLiterals as ey, type DayOfWeekWithLiterals as ez, type SetAddOnsForGroupResponse as f, setCustomSlug as f0, validateSlug as f1, cloneService as f2, type SetAddOnsForGroupApplicationErrors as g, type Service as h, type CreateServiceValidationErrors as i, type BulkCreateServicesResponse as j, type UpdateService as k, type UpdateServiceValidationErrors as l, type BulkUpdateServicesOptions as m, type BulkUpdateServicesResponse as n, type BulkUpdateServicesByFilterOptions as o, type BulkUpdateServicesByFilterResponse as p, type DeleteServiceOptions as q, type BulkDeleteServicesOptions as r, type BulkDeleteServicesResponse as s, type BulkDeleteServicesByFilterOptions as t, type BulkDeleteServicesByFilterResponse as u, type ServicesQueryBuilder as v, type ServiceSearch as w, type SearchServicesResponse as x, type CursorQuery as y, type QueryBookingFormsOptions as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, NonNullablePaths, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { A as AddOnGroup, C as CreateAddOnGroupOptions, a as CreateAddOnGroupResponse, D as DeleteAddOnGroupOptions, b as DeleteAddOnGroupApplicationErrors, U as UpdateAddOnGroupOptions, c as UpdateAddOnGroupResponse, d as UpdateAddOnGroupApplicationErrors, L as ListAddOnGroupsByServiceIdOptions, e as ListAddOnGroupsByServiceIdResponse, S as SetAddOnsForGroupOptions, f as SetAddOnsForGroupResponse, g as SetAddOnsForGroupApplicationErrors, h as Service, i as CreateServiceValidationErrors, B as BulkCreateServicesOptions, j as BulkCreateServicesResponse, k as UpdateService, l as UpdateServiceValidationErrors, m as BulkUpdateServicesOptions, n as BulkUpdateServicesResponse, o as BulkUpdateServicesByFilterOptions, p as BulkUpdateServicesByFilterResponse, q as DeleteServiceOptions, r as BulkDeleteServicesOptions, s as BulkDeleteServicesResponse, t as BulkDeleteServicesByFilterOptions, u as BulkDeleteServicesByFilterResponse, v as ServicesQueryBuilder, w as ServiceSearch, x as SearchServicesResponse, y as CursorQuery, Q as QueryPoliciesResponse, z as QueryBookingFormsOptions, E as QueryBookingFormsResponse, F as QueryBookingFormsApplicationErrors, G as CountServicesOptions, H as CountServicesResponse, I as QueryLocationsOptions, J as QueryLocationsResponse, K as QueryCategoriesOptions, M as QueryCategoriesResponse, N as Location, O as SetServiceLocationsOptions, P as SetServiceLocationsResponse, R as EnablePricingPlansForServiceResponse, T as EnablePricingPlansForServiceApplicationErrors, V as DisablePricingPlansForServiceOptions, W as DisablePricingPlansForServiceResponse, X as DisablePricingPlansForServiceApplicationErrors, Y as SetCustomSlugOptions, Z as SetCustomSlugResponse, _ as SetCustomSlugApplicationErrors, $ as SetCustomSlugValidationErrors, a0 as ValidateSlugOptions, a1 as ValidateSlugResponse, a2 as CloneServiceResponse, a3 as ServiceCreatedEnvelope, a4 as ServiceDeletedEnvelope, a5 as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-
|
|
3
|
-
export { ap as Action,
|
|
2
|
+
import { A as AddOnGroup, C as CreateAddOnGroupOptions, a as CreateAddOnGroupResponse, D as DeleteAddOnGroupOptions, b as DeleteAddOnGroupApplicationErrors, U as UpdateAddOnGroupOptions, c as UpdateAddOnGroupResponse, d as UpdateAddOnGroupApplicationErrors, L as ListAddOnGroupsByServiceIdOptions, e as ListAddOnGroupsByServiceIdResponse, S as SetAddOnsForGroupOptions, f as SetAddOnsForGroupResponse, g as SetAddOnsForGroupApplicationErrors, h as Service, i as CreateServiceValidationErrors, B as BulkCreateServicesOptions, j as BulkCreateServicesResponse, k as UpdateService, l as UpdateServiceValidationErrors, m as BulkUpdateServicesOptions, n as BulkUpdateServicesResponse, o as BulkUpdateServicesByFilterOptions, p as BulkUpdateServicesByFilterResponse, q as DeleteServiceOptions, r as BulkDeleteServicesOptions, s as BulkDeleteServicesResponse, t as BulkDeleteServicesByFilterOptions, u as BulkDeleteServicesByFilterResponse, v as ServicesQueryBuilder, w as ServiceSearch, x as SearchServicesResponse, y as CursorQuery, Q as QueryPoliciesResponse, z as QueryBookingFormsOptions, E as QueryBookingFormsResponse, F as QueryBookingFormsApplicationErrors, G as CountServicesOptions, H as CountServicesResponse, I as QueryLocationsOptions, J as QueryLocationsResponse, K as QueryCategoriesOptions, M as QueryCategoriesResponse, N as Location, O as SetServiceLocationsOptions, P as SetServiceLocationsResponse, R as EnablePricingPlansForServiceResponse, T as EnablePricingPlansForServiceApplicationErrors, V as DisablePricingPlansForServiceOptions, W as DisablePricingPlansForServiceResponse, X as DisablePricingPlansForServiceApplicationErrors, Y as SetCustomSlugOptions, Z as SetCustomSlugResponse, _ as SetCustomSlugApplicationErrors, $ as SetCustomSlugValidationErrors, a0 as ValidateSlugOptions, a1 as ValidateSlugResponse, a2 as CloneServiceResponse, a3 as ServiceCreatedEnvelope, a4 as ServiceDeletedEnvelope, a5 as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-CFIqn_c5.js';
|
|
3
|
+
export { ap as Action, bK as ActionEvent, eq as ActionWithLiterals, bT as AddOn, bU as AddOnAddOnInfoOneOf, bv as AddOnDetails, bV as AddOnGroupDetail, a8 as AddOnPaymentOptions, e9 as AddOnPaymentOptionsWithLiterals, dQ as Address, dR as AddressHint, aT as AddressLocation, cx as Aggregation, cN as AggregationData, cy as AggregationKindOneOf, d4 as AggregationResults, d5 as AggregationResultsResultOneOf, cU as AggregationResultsScalarResult, am as AggregationType, en as AggregationTypeWithLiterals, c3 as ApplicationError, bd as AvailabilityConstraints, e3 as BaseEventMetadata, dG as Behavior, dH as BehaviorBehaviorOneOf, dC as Benefit, dB as BenefitNotification, au as BenefitType, ev as BenefitTypeWithLiterals, a_ as BookAfterStartPolicy, da as BookingForm, aW as BookingPolicy, d8 as BookingPolicyWithServices, c4 as BulkActionMetadata, c0 as BulkCreateServicesRequest, ck as BulkDeleteServicesByFilterRequest, cj as BulkDeleteServicesRequest, c1 as BulkServiceResult, cf as BulkUpdateServicesByFilterRequest, cd as BulkUpdateServicesRequest, aU as BusinessLocationOptions, dg as BusinessLocations, dT as BusinessSchedule, b4 as CancellationFeePolicy, a$ as CancellationPolicy, b5 as CancellationWindow, b6 as CancellationWindowFeeOneOf, dO as Categories, dz as Category, dy as CategoryNotification, at as CategoryNotificationEvent, eu as CategoryNotificationEventWithLiterals, d_ as ChangeContext, d$ as ChangeContextPayloadOneOf, ar as CloneErrors, es as CloneErrorsWithLiterals, dx as CloneServiceRequest, aQ as CommonAddress, aR as CommonAddressStreetOneOf, eB as CommonSearchWithEntityContext, aO as Conferencing, dc as ConnectedService, dY as ConsentPolicy, dd as CountServicesRequest, bO as CreateAddOnGroupRequest, bX as CreateServiceRequest, bY as CreateServiceResponse, aw as CrudType, ex as CrudTypeWithLiterals, cq as CursorPaging, cM as CursorPagingMetadata, d7 as CursorQueryPagingMethodOneOf, cv as CursorSearch, cw as CursorSearchPagingMethodOneOf, ct as Cursors, aV as CustomLocationOptions, dh as CustomLocations, bb as CustomOptions, aK as CustomPayment, di as CustomerLocations, cF as DateHistogramAggregation, d0 as DateHistogramResult, d2 as DateHistogramResults, ay as DayOfWeek, ez as DayOfWeekWithLiterals, bA as Delete, bP as DeleteAddOnGroupRequest, bQ as DeleteAddOnGroupResponse, cg as DeleteServiceRequest, ci as DeleteServiceResponse, du as DisablePricingPlansForServiceRequest, dE as Discount, dF as DiscountDiscountOneOf, bE as DomainEvent, bF as DomainEventBodyOneOf, be as Duration, dA as Empty, ds as EnablePricingPlansForServiceRequest, bG as EntityCreatedEvent, bJ as EntityDeletedEvent, bI as EntityUpdatedEvent, dD as EntryPass, av as Event, e4 as EventMetadata, ew as EventWithLiterals, bq as ExtendedFields, b$ as FieldViolation, aI as FixedPayment, aE as Form, db as FormDetails, aF as FormSettings, dS as GeoCoordinates, c7 as GetServiceAvailabilityConstraintsRequest, c8 as GetServiceAvailabilityConstraintsResponse, c5 as GetServiceRequest, c6 as GetServiceResponse, cJ as GroupByAggregation, cK as GroupByAggregationKindOneOf, d1 as GroupByValueResults, dJ as HtmlSitePublished, bM as IdentificationData, bN as IdentificationDataIdOneOf, cA as IncludeMissingValuesOptions, al as Interval, em as IntervalWithLiterals, dt as InvalidPricingPlan, aq as InvalidSlugError, er as InvalidSlugErrorWithLiterals, c2 as ItemMetadata, bs as Keyword, aY as LimitEarlyBookingPolicy, aZ as LimitLateBookingPolicy, bS as ListAddOnGroupsByServiceIdRequest, dP as Locale, aP as LocationOptionsOneOf, a9 as LocationType, ea as LocationTypeWithLiterals, ce as MaskedService, aA as Media, aB as MediaItem, aC as MediaItemItemOneOf, bL as MessageEnvelope, ai as MissingValues, ej as MissingValuesWithLiterals, an as Mode, eo as ModeWithLiterals, aJ as Money, dr as MoveToNewLocationsOptions, dW as Multilingual, cI as NestedAggregation, cG as NestedAggregationItem, cH as NestedAggregationItemKindOneOf, cQ as NestedAggregationResults, cR as NestedAggregationResultsResultOneOf, ak as NestedAggregationType, el as NestedAggregationTypeWithLiterals, cZ as NestedResultValue, c_ as NestedResultValueResultOneOf, d3 as NestedResults, cV as NestedValueAggregationResult, aN as OnlineBooking, dK as Page, cp as Paging, cs as PagingMetadataV2, ch as ParticipantNotification, b2 as ParticipantsPolicy, aG as Payment, aM as PaymentOptions, aH as PaymentRateOneOf, ax as PlacementType, ey as PlacementTypeWithLiterals, aX as PolicyDescription, dN as Properties, e0 as PropertiesChange, d9 as QueryBookingFormsRequest, dk as QueryCategoriesFilter, dj as QueryCategoriesRequest, df as QueryLocationsFilter, de as QueryLocationsRequest, d6 as QueryPoliciesRequest, dl as QueryServicesMultiLanguageRequest, dm as QueryServicesMultiLanguageResponse, cl as QueryServicesRequest, cr as QueryServicesResponse, cm as QueryV2, cn as QueryV2PagingMethodOneOf, cD as RangeAggregation, cP as RangeAggregationResult, cz as RangeBucket, cX as RangeResult, cT as RangeResults, ba as RankingOptions, aa as RankingOrder, eb as RankingOrderWithLiterals, a7 as RateType, e8 as RateTypeWithLiterals, bx as ReindexMessage, by as ReindexMessageActionOneOf, dp as RemovedLocationSessionsAction, dq as RemovedLocationSessionsActionActionOptionsOneOf, ao as RequestedFields, ep as RequestedFieldsWithLiterals, b0 as ReschedulePolicy, az as ResolutionMethod, eA as ResolutionMethodWithLiterals, bj as ResourceGroup, bk as ResourceIds, bn as ResourceType, b3 as ResourcesPolicy, bH as RestoreInfo, c$ as Results, b7 as SaveCreditCardPolicy, cE as ScalarAggregation, cY as ScalarResult, aj as ScalarType, ek as ScalarTypeWithLiterals, bc as Schedule, bB as Schema, cL as SearchDetails, cu as SearchServicesRequest, br as SeoSchema, c9 as ServiceAvailabilityConstraints, bl as ServiceResource, bm as ServiceResourceSelectionOneOf, e6 as ServiceSearchSpec, a6 as ServiceType, e7 as ServiceTypeWithLiterals, e5 as ServicesQueryResult, bD as ServicesUrlsChanged, bW as SetAddOnsForGroupRequest, bC as SetCustomSlugEvent, dv as SetCustomSlugRequest, dn as SetServiceLocationsRequest, bu as Settings, e2 as SiteCloned, e1 as SiteCreated, dM as SitePropertiesEvent, dL as SitePropertiesNotification, bo as Slug, ah as SortDirection, ei as SortDirectionWithLiterals, af as SortOrder, eg as SortOrderWithLiterals, ag as SortType, eh as SortTypeWithLiterals, co as Sorting, ab as SortingMethodType, ec as SortingMethodTypeWithLiterals, dV as SpecialHourPeriod, ca as SplitInterval, bg as StaffMediaItem, bh as StaffMediaItemItemOneOf, bf as StaffMember, bi as StaffMemberDetails, b8 as StaffSortingPolicy, b9 as StaffSortingPolicyOptionsOneOf, as as Status, et as StatusWithLiterals, aS as StreetAddress, dX as SupportedLanguage, bt as Tag, bw as TaxableAddress, ac as TaxableAddressType, ed as TaxableAddressTypeWithLiterals, dU as TimePeriod, dZ as Translation, bp as URLs, bR as UpdateAddOnGroupRequest, cb as UpdateServiceRequest, cc as UpdateServiceResponse, bz as Upsert, dI as UserDomainInfoChangedEvent, aD as V2Category, ae as V2RequestedFields, ef as V2RequestedFieldsWithLiterals, bZ as ValidateServiceRequest, b_ as ValidateServiceResponse, dw as ValidateSlugRequest, cB as ValueAggregation, cC as ValueAggregationOptionsOneOf, cO as ValueAggregationResult, cW as ValueResult, cS as ValueResults, aL as VariedPayment, b1 as WaitlistPolicy, ad as WebhookIdentityType, ee as WebhookIdentityTypeWithLiterals } from './bookings-services-v2-service-services.universal-CFIqn_c5.js';
|
|
4
4
|
|
|
5
5
|
declare function createAddOnGroup$1(httpClient: HttpClient): CreateAddOnGroupSignature;
|
|
6
6
|
interface CreateAddOnGroupSignature {
|
|
@@ -344,6 +344,9 @@ function createAddOnGroup(payload) {
|
|
|
344
344
|
method: "POST",
|
|
345
345
|
methodFqn: "wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup",
|
|
346
346
|
packageName: PACKAGE_NAME,
|
|
347
|
+
migrationOptions: {
|
|
348
|
+
optInTransformResponse: true
|
|
349
|
+
},
|
|
347
350
|
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
348
351
|
protoPath: "/v2/services/add-on-groups/create",
|
|
349
352
|
data: payload,
|
|
@@ -362,6 +365,9 @@ function deleteAddOnGroup(payload) {
|
|
|
362
365
|
method: "POST",
|
|
363
366
|
methodFqn: "wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup",
|
|
364
367
|
packageName: PACKAGE_NAME,
|
|
368
|
+
migrationOptions: {
|
|
369
|
+
optInTransformResponse: true
|
|
370
|
+
},
|
|
365
371
|
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
366
372
|
protoPath: "/v2/services/add-on-groups/delete",
|
|
367
373
|
data: payload,
|
|
@@ -386,6 +392,9 @@ function updateAddOnGroup(payload) {
|
|
|
386
392
|
method: "POST",
|
|
387
393
|
methodFqn: "wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup",
|
|
388
394
|
packageName: PACKAGE_NAME,
|
|
395
|
+
migrationOptions: {
|
|
396
|
+
optInTransformResponse: true
|
|
397
|
+
},
|
|
389
398
|
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
390
399
|
protoPath: "/v2/services/add-on-groups/update",
|
|
391
400
|
data: serializedData,
|
|
@@ -404,6 +413,9 @@ function listAddOnGroupsByServiceId(payload) {
|
|
|
404
413
|
method: "POST",
|
|
405
414
|
methodFqn: "wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId",
|
|
406
415
|
packageName: PACKAGE_NAME,
|
|
416
|
+
migrationOptions: {
|
|
417
|
+
optInTransformResponse: true
|
|
418
|
+
},
|
|
407
419
|
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
408
420
|
protoPath: "/v2/services/add-on-groups/list-add-on-groups-by-service-id",
|
|
409
421
|
data: payload,
|
|
@@ -422,6 +434,9 @@ function setAddOnsForGroup(payload) {
|
|
|
422
434
|
method: "POST",
|
|
423
435
|
methodFqn: "wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup",
|
|
424
436
|
packageName: PACKAGE_NAME,
|
|
437
|
+
migrationOptions: {
|
|
438
|
+
optInTransformResponse: true
|
|
439
|
+
},
|
|
425
440
|
url: resolveWixBookingsServicesV2AddOnGroupsServiceUrl({
|
|
426
441
|
protoPath: "/v2/services/add-on-groups/set-add-ons-for-group",
|
|
427
442
|
data: payload,
|
|
@@ -473,6 +488,9 @@ function createService(payload) {
|
|
|
473
488
|
method: "POST",
|
|
474
489
|
methodFqn: "wix.bookings.services.v2.ServicesService.CreateService",
|
|
475
490
|
packageName: PACKAGE_NAME,
|
|
491
|
+
migrationOptions: {
|
|
492
|
+
optInTransformResponse: true
|
|
493
|
+
},
|
|
476
494
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
477
495
|
protoPath: "/v2/services",
|
|
478
496
|
data: serializedData,
|
|
@@ -559,6 +577,9 @@ function bulkCreateServices(payload) {
|
|
|
559
577
|
method: "POST",
|
|
560
578
|
methodFqn: "wix.bookings.services.v2.ServicesService.BulkCreateServices",
|
|
561
579
|
packageName: PACKAGE_NAME,
|
|
580
|
+
migrationOptions: {
|
|
581
|
+
optInTransformResponse: true
|
|
582
|
+
},
|
|
562
583
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
563
584
|
protoPath: "/v2/bulk/services/create",
|
|
564
585
|
data: serializedData,
|
|
@@ -624,6 +645,9 @@ function getService(payload) {
|
|
|
624
645
|
method: "GET",
|
|
625
646
|
methodFqn: "wix.bookings.services.v2.ServicesService.GetService",
|
|
626
647
|
packageName: PACKAGE_NAME,
|
|
648
|
+
migrationOptions: {
|
|
649
|
+
optInTransformResponse: true
|
|
650
|
+
},
|
|
627
651
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
628
652
|
protoPath: "/v2/services/{serviceId}",
|
|
629
653
|
data: payload,
|
|
@@ -714,6 +738,9 @@ function updateService(payload) {
|
|
|
714
738
|
method: "PATCH",
|
|
715
739
|
methodFqn: "wix.bookings.services.v2.ServicesService.UpdateService",
|
|
716
740
|
packageName: PACKAGE_NAME,
|
|
741
|
+
migrationOptions: {
|
|
742
|
+
optInTransformResponse: true
|
|
743
|
+
},
|
|
717
744
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
718
745
|
protoPath: "/v2/services/{service.id}",
|
|
719
746
|
data: serializedData,
|
|
@@ -818,6 +845,9 @@ function bulkUpdateServices(payload) {
|
|
|
818
845
|
method: "POST",
|
|
819
846
|
methodFqn: "wix.bookings.services.v2.ServicesService.BulkUpdateServices",
|
|
820
847
|
packageName: PACKAGE_NAME,
|
|
848
|
+
migrationOptions: {
|
|
849
|
+
optInTransformResponse: true
|
|
850
|
+
},
|
|
821
851
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
822
852
|
protoPath: "/v2/bulk/services/update",
|
|
823
853
|
data: serializedData,
|
|
@@ -920,6 +950,9 @@ function bulkUpdateServicesByFilter(payload) {
|
|
|
920
950
|
method: "POST",
|
|
921
951
|
methodFqn: "wix.bookings.services.v2.ServicesService.BulkUpdateServicesByFilter",
|
|
922
952
|
packageName: PACKAGE_NAME,
|
|
953
|
+
migrationOptions: {
|
|
954
|
+
optInTransformResponse: true
|
|
955
|
+
},
|
|
923
956
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
924
957
|
protoPath: "/v2/bulk/services/update-by-filter",
|
|
925
958
|
data: serializedData,
|
|
@@ -938,6 +971,9 @@ function deleteService(payload) {
|
|
|
938
971
|
method: "DELETE",
|
|
939
972
|
methodFqn: "wix.bookings.services.v2.ServicesService.DeleteService",
|
|
940
973
|
packageName: PACKAGE_NAME,
|
|
974
|
+
migrationOptions: {
|
|
975
|
+
optInTransformResponse: true
|
|
976
|
+
},
|
|
941
977
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
942
978
|
protoPath: "/v2/services/{serviceId}",
|
|
943
979
|
data: payload,
|
|
@@ -956,6 +992,9 @@ function bulkDeleteServices(payload) {
|
|
|
956
992
|
method: "POST",
|
|
957
993
|
methodFqn: "wix.bookings.services.v2.ServicesService.BulkDeleteServices",
|
|
958
994
|
packageName: PACKAGE_NAME,
|
|
995
|
+
migrationOptions: {
|
|
996
|
+
optInTransformResponse: true
|
|
997
|
+
},
|
|
959
998
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
960
999
|
protoPath: "/v2/bulk/services/delete",
|
|
961
1000
|
data: payload,
|
|
@@ -1021,6 +1060,9 @@ function bulkDeleteServicesByFilter(payload) {
|
|
|
1021
1060
|
method: "POST",
|
|
1022
1061
|
methodFqn: "wix.bookings.services.v2.ServicesService.BulkDeleteServicesByFilter",
|
|
1023
1062
|
packageName: PACKAGE_NAME,
|
|
1063
|
+
migrationOptions: {
|
|
1064
|
+
optInTransformResponse: true
|
|
1065
|
+
},
|
|
1024
1066
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
1025
1067
|
protoPath: "/v2/bulk/services/delete-by-filter",
|
|
1026
1068
|
data: payload,
|
|
@@ -1039,6 +1081,9 @@ function queryServices(payload) {
|
|
|
1039
1081
|
method: "POST",
|
|
1040
1082
|
methodFqn: "wix.bookings.services.v2.ServicesService.QueryServices",
|
|
1041
1083
|
packageName: PACKAGE_NAME,
|
|
1084
|
+
migrationOptions: {
|
|
1085
|
+
optInTransformResponse: true
|
|
1086
|
+
},
|
|
1042
1087
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
1043
1088
|
protoPath: "/v2/services/query",
|
|
1044
1089
|
data: payload,
|
|
@@ -1109,6 +1154,9 @@ function searchServices(payload) {
|
|
|
1109
1154
|
method: "POST",
|
|
1110
1155
|
methodFqn: "wix.bookings.services.v2.ServicesService.SearchServices",
|
|
1111
1156
|
packageName: PACKAGE_NAME,
|
|
1157
|
+
migrationOptions: {
|
|
1158
|
+
optInTransformResponse: true
|
|
1159
|
+
},
|
|
1112
1160
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
1113
1161
|
protoPath: "/v2/services/search",
|
|
1114
1162
|
data: serializedData,
|
|
@@ -1185,6 +1233,9 @@ function queryPolicies(payload) {
|
|
|
1185
1233
|
method: "POST",
|
|
1186
1234
|
methodFqn: "wix.bookings.services.v2.ServicesService.QueryPolicies",
|
|
1187
1235
|
packageName: PACKAGE_NAME,
|
|
1236
|
+
migrationOptions: {
|
|
1237
|
+
optInTransformResponse: true
|
|
1238
|
+
},
|
|
1188
1239
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
1189
1240
|
protoPath: "/v2/services/policies/query",
|
|
1190
1241
|
data: payload,
|
|
@@ -1311,6 +1362,9 @@ function queryBookingForms(payload) {
|
|
|
1311
1362
|
method: "POST",
|
|
1312
1363
|
methodFqn: "wix.bookings.services.v2.ServicesService.QueryBookingForms",
|
|
1313
1364
|
packageName: PACKAGE_NAME,
|
|
1365
|
+
migrationOptions: {
|
|
1366
|
+
optInTransformResponse: true
|
|
1367
|
+
},
|
|
1314
1368
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
1315
1369
|
protoPath: "/v2/services/booking-forms/query",
|
|
1316
1370
|
data: payload,
|
|
@@ -1329,6 +1383,9 @@ function countServices(payload) {
|
|
|
1329
1383
|
method: "POST",
|
|
1330
1384
|
methodFqn: "wix.bookings.services.v2.ServicesService.CountServices",
|
|
1331
1385
|
packageName: PACKAGE_NAME,
|
|
1386
|
+
migrationOptions: {
|
|
1387
|
+
optInTransformResponse: true
|
|
1388
|
+
},
|
|
1332
1389
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
1333
1390
|
protoPath: "/v2/services/count",
|
|
1334
1391
|
data: payload,
|
|
@@ -1347,6 +1404,9 @@ function queryLocations(payload) {
|
|
|
1347
1404
|
method: "POST",
|
|
1348
1405
|
methodFqn: "wix.bookings.services.v2.ServicesService.QueryLocations",
|
|
1349
1406
|
packageName: PACKAGE_NAME,
|
|
1407
|
+
migrationOptions: {
|
|
1408
|
+
optInTransformResponse: true
|
|
1409
|
+
},
|
|
1350
1410
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
1351
1411
|
protoPath: "/v2/services/locations/query",
|
|
1352
1412
|
data: payload,
|
|
@@ -1390,6 +1450,9 @@ function queryCategories(payload) {
|
|
|
1390
1450
|
method: "POST",
|
|
1391
1451
|
methodFqn: "wix.bookings.services.v2.ServicesService.QueryCategories",
|
|
1392
1452
|
packageName: PACKAGE_NAME,
|
|
1453
|
+
migrationOptions: {
|
|
1454
|
+
optInTransformResponse: true
|
|
1455
|
+
},
|
|
1393
1456
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
1394
1457
|
protoPath: "/v2/services/categories/query",
|
|
1395
1458
|
data: payload,
|
|
@@ -1439,6 +1502,9 @@ function setServiceLocations(payload) {
|
|
|
1439
1502
|
method: "POST",
|
|
1440
1503
|
methodFqn: "wix.bookings.services.v2.ServicesService.SetServiceLocations",
|
|
1441
1504
|
packageName: PACKAGE_NAME,
|
|
1505
|
+
migrationOptions: {
|
|
1506
|
+
optInTransformResponse: true
|
|
1507
|
+
},
|
|
1442
1508
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
1443
1509
|
protoPath: "/v2/services/{serviceId}/locations",
|
|
1444
1510
|
data: serializedData,
|
|
@@ -1492,6 +1558,9 @@ function enablePricingPlansForService(payload) {
|
|
|
1492
1558
|
method: "POST",
|
|
1493
1559
|
methodFqn: "wix.bookings.services.v2.ServicesService.EnablePricingPlansForService",
|
|
1494
1560
|
packageName: PACKAGE_NAME,
|
|
1561
|
+
migrationOptions: {
|
|
1562
|
+
optInTransformResponse: true
|
|
1563
|
+
},
|
|
1495
1564
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
1496
1565
|
protoPath: "/v2/services/{serviceId}/pricing-plans/add",
|
|
1497
1566
|
data: payload,
|
|
@@ -1545,6 +1614,9 @@ function disablePricingPlansForService(payload) {
|
|
|
1545
1614
|
method: "POST",
|
|
1546
1615
|
methodFqn: "wix.bookings.services.v2.ServicesService.DisablePricingPlansForService",
|
|
1547
1616
|
packageName: PACKAGE_NAME,
|
|
1617
|
+
migrationOptions: {
|
|
1618
|
+
optInTransformResponse: true
|
|
1619
|
+
},
|
|
1548
1620
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
1549
1621
|
protoPath: "/v2/services/{serviceId}/pricing-plans/remove",
|
|
1550
1622
|
data: payload,
|
|
@@ -1598,6 +1670,9 @@ function setCustomSlug(payload) {
|
|
|
1598
1670
|
method: "POST",
|
|
1599
1671
|
methodFqn: "wix.bookings.services.v2.ServicesService.SetCustomSlug",
|
|
1600
1672
|
packageName: PACKAGE_NAME,
|
|
1673
|
+
migrationOptions: {
|
|
1674
|
+
optInTransformResponse: true
|
|
1675
|
+
},
|
|
1601
1676
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
1602
1677
|
protoPath: "/v2/services/{serviceId}/slugs/custom",
|
|
1603
1678
|
data: payload,
|
|
@@ -1652,6 +1727,9 @@ function validateSlug(payload) {
|
|
|
1652
1727
|
method: "POST",
|
|
1653
1728
|
methodFqn: "wix.bookings.services.v2.ServicesService.ValidateSlug",
|
|
1654
1729
|
packageName: PACKAGE_NAME,
|
|
1730
|
+
migrationOptions: {
|
|
1731
|
+
optInTransformResponse: true
|
|
1732
|
+
},
|
|
1655
1733
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
1656
1734
|
protoPath: "/v2/services/slugs/validate",
|
|
1657
1735
|
data: payload,
|
|
@@ -1670,6 +1748,9 @@ function cloneService(payload) {
|
|
|
1670
1748
|
method: "POST",
|
|
1671
1749
|
methodFqn: "wix.bookings.services.v2.ServicesService.CloneService",
|
|
1672
1750
|
packageName: PACKAGE_NAME,
|
|
1751
|
+
migrationOptions: {
|
|
1752
|
+
optInTransformResponse: true
|
|
1753
|
+
},
|
|
1673
1754
|
url: resolveWixBookingsServicesV2ServicesServiceUrl({
|
|
1674
1755
|
protoPath: "/v2/services/clone",
|
|
1675
1756
|
data: payload,
|
|
@@ -1765,6 +1846,12 @@ var SortingMethodType = /* @__PURE__ */ ((SortingMethodType2) => {
|
|
|
1765
1846
|
SortingMethodType2["CUSTOM"] = "CUSTOM";
|
|
1766
1847
|
return SortingMethodType2;
|
|
1767
1848
|
})(SortingMethodType || {});
|
|
1849
|
+
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
1850
|
+
TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS_TYPE"] = "UNKNOWN_TAXABLE_ADDRESS_TYPE";
|
|
1851
|
+
TaxableAddressType2["BUSINESS"] = "BUSINESS";
|
|
1852
|
+
TaxableAddressType2["BILLING"] = "BILLING";
|
|
1853
|
+
return TaxableAddressType2;
|
|
1854
|
+
})(TaxableAddressType || {});
|
|
1768
1855
|
var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
1769
1856
|
WebhookIdentityType2["UNKNOWN"] = "UNKNOWN";
|
|
1770
1857
|
WebhookIdentityType2["ANONYMOUS_VISITOR"] = "ANONYMOUS_VISITOR";
|
|
@@ -1773,12 +1860,6 @@ var WebhookIdentityType = /* @__PURE__ */ ((WebhookIdentityType2) => {
|
|
|
1773
1860
|
WebhookIdentityType2["APP"] = "APP";
|
|
1774
1861
|
return WebhookIdentityType2;
|
|
1775
1862
|
})(WebhookIdentityType || {});
|
|
1776
|
-
var TaxableAddressType = /* @__PURE__ */ ((TaxableAddressType2) => {
|
|
1777
|
-
TaxableAddressType2["UNKNOWN_TAXABLE_ADDRESS_TYPE"] = "UNKNOWN_TAXABLE_ADDRESS_TYPE";
|
|
1778
|
-
TaxableAddressType2["BUSINESS"] = "BUSINESS";
|
|
1779
|
-
TaxableAddressType2["BILLING"] = "BILLING";
|
|
1780
|
-
return TaxableAddressType2;
|
|
1781
|
-
})(TaxableAddressType || {});
|
|
1782
1863
|
var V2RequestedFields = /* @__PURE__ */ ((V2RequestedFields2) => {
|
|
1783
1864
|
V2RequestedFields2["UNKNOWN_REQUESTED_FIELD"] = "UNKNOWN_REQUESTED_FIELD";
|
|
1784
1865
|
V2RequestedFields2["STAFF_MEMBER_DETAILS"] = "STAFF_MEMBER_DETAILS";
|