@wix/auto_sdk_bookings_services 1.0.29 → 1.0.30
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/src/bookings-services-v2-service-services.context.d.ts +1 -1
- package/build/cjs/src/bookings-services-v2-service-services.meta.d.ts +20 -20
- package/build/cjs/src/bookings-services-v2-service-services.meta.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service-services.public.d.ts +21 -21
- package/build/cjs/src/bookings-services-v2-service-services.public.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service-services.types.d.ts +0 -369
- package/build/cjs/src/bookings-services-v2-service-services.universal.d.ts +39 -378
- package/build/cjs/src/bookings-services-v2-service-services.universal.js.map +1 -1
- package/build/es/src/bookings-services-v2-service-services.context.d.ts +1 -1
- package/build/es/src/bookings-services-v2-service-services.meta.d.ts +20 -20
- package/build/es/src/bookings-services-v2-service-services.meta.js.map +1 -1
- package/build/es/src/bookings-services-v2-service-services.public.d.ts +21 -21
- package/build/es/src/bookings-services-v2-service-services.public.js.map +1 -1
- package/build/es/src/bookings-services-v2-service-services.types.d.ts +0 -369
- package/build/es/src/bookings-services-v2-service-services.universal.d.ts +39 -378
- package/build/es/src/bookings-services-v2-service-services.universal.js.map +1 -1
- package/build/internal/cjs/src/bookings-services-v2-service-services.context.d.ts +1 -1
- package/build/internal/cjs/src/bookings-services-v2-service-services.meta.d.ts +20 -20
- package/build/internal/cjs/src/bookings-services-v2-service-services.meta.js.map +1 -1
- package/build/internal/cjs/src/bookings-services-v2-service-services.public.d.ts +21 -21
- package/build/internal/cjs/src/bookings-services-v2-service-services.public.js.map +1 -1
- package/build/internal/cjs/src/bookings-services-v2-service-services.types.d.ts +0 -371
- package/build/internal/cjs/src/bookings-services-v2-service-services.universal.d.ts +39 -380
- package/build/internal/cjs/src/bookings-services-v2-service-services.universal.js.map +1 -1
- package/build/internal/es/src/bookings-services-v2-service-services.context.d.ts +1 -1
- package/build/internal/es/src/bookings-services-v2-service-services.meta.d.ts +20 -20
- package/build/internal/es/src/bookings-services-v2-service-services.meta.js.map +1 -1
- package/build/internal/es/src/bookings-services-v2-service-services.public.d.ts +21 -21
- package/build/internal/es/src/bookings-services-v2-service-services.public.js.map +1 -1
- package/build/internal/es/src/bookings-services-v2-service-services.types.d.ts +0 -371
- package/build/internal/es/src/bookings-services-v2-service-services.universal.d.ts +39 -380
- package/build/internal/es/src/bookings-services-v2-service-services.universal.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NonNullablePaths } from '@wix/sdk-types';
|
|
1
2
|
/** The `service` object represents an offering that a business provides to its customers. */
|
|
2
3
|
export interface Service {
|
|
3
4
|
/**
|
|
@@ -3975,367 +3976,6 @@ export interface SiteCloned {
|
|
|
3975
3976
|
/** Origin site id. */
|
|
3976
3977
|
originMetaSiteId?: string;
|
|
3977
3978
|
}
|
|
3978
|
-
interface MediaItemNonNullableFields {
|
|
3979
|
-
image: string;
|
|
3980
|
-
}
|
|
3981
|
-
interface MediaNonNullableFields {
|
|
3982
|
-
items: MediaItemNonNullableFields[];
|
|
3983
|
-
mainMedia?: MediaItemNonNullableFields;
|
|
3984
|
-
coverMedia?: MediaItemNonNullableFields;
|
|
3985
|
-
}
|
|
3986
|
-
interface V2CategoryNonNullableFields {
|
|
3987
|
-
_id: string;
|
|
3988
|
-
}
|
|
3989
|
-
interface FormNonNullableFields {
|
|
3990
|
-
_id: string;
|
|
3991
|
-
}
|
|
3992
|
-
interface MoneyNonNullableFields {
|
|
3993
|
-
value: string;
|
|
3994
|
-
currency: string;
|
|
3995
|
-
}
|
|
3996
|
-
interface FixedPaymentNonNullableFields {
|
|
3997
|
-
price?: MoneyNonNullableFields;
|
|
3998
|
-
deposit?: MoneyNonNullableFields;
|
|
3999
|
-
}
|
|
4000
|
-
interface VariedPaymentNonNullableFields {
|
|
4001
|
-
defaultPrice?: MoneyNonNullableFields;
|
|
4002
|
-
deposit?: MoneyNonNullableFields;
|
|
4003
|
-
minPrice?: MoneyNonNullableFields;
|
|
4004
|
-
maxPrice?: MoneyNonNullableFields;
|
|
4005
|
-
}
|
|
4006
|
-
interface PaymentNonNullableFields {
|
|
4007
|
-
fixed?: FixedPaymentNonNullableFields;
|
|
4008
|
-
varied?: VariedPaymentNonNullableFields;
|
|
4009
|
-
rateType: RateType;
|
|
4010
|
-
pricingPlanIds: string[];
|
|
4011
|
-
}
|
|
4012
|
-
interface CommonStreetAddressNonNullableFields {
|
|
4013
|
-
number: string;
|
|
4014
|
-
name: string;
|
|
4015
|
-
apt: string;
|
|
4016
|
-
}
|
|
4017
|
-
interface CommonAddressNonNullableFields {
|
|
4018
|
-
streetAddress?: CommonStreetAddressNonNullableFields;
|
|
4019
|
-
}
|
|
4020
|
-
interface BusinessLocationOptionsNonNullableFields {
|
|
4021
|
-
_id: string;
|
|
4022
|
-
name: string;
|
|
4023
|
-
address?: CommonAddressNonNullableFields;
|
|
4024
|
-
}
|
|
4025
|
-
interface CustomLocationOptionsNonNullableFields {
|
|
4026
|
-
_id: string;
|
|
4027
|
-
address?: CommonAddressNonNullableFields;
|
|
4028
|
-
}
|
|
4029
|
-
interface V2LocationNonNullableFields {
|
|
4030
|
-
business?: BusinessLocationOptionsNonNullableFields;
|
|
4031
|
-
custom?: CustomLocationOptionsNonNullableFields;
|
|
4032
|
-
_id: string;
|
|
4033
|
-
type: LocationTypeEnumLocationType;
|
|
4034
|
-
calculatedAddress?: CommonAddressNonNullableFields;
|
|
4035
|
-
}
|
|
4036
|
-
interface PolicyDescriptionNonNullableFields {
|
|
4037
|
-
enabled: boolean;
|
|
4038
|
-
description: string;
|
|
4039
|
-
}
|
|
4040
|
-
interface LimitEarlyBookingPolicyNonNullableFields {
|
|
4041
|
-
enabled: boolean;
|
|
4042
|
-
earliestBookingInMinutes: number;
|
|
4043
|
-
}
|
|
4044
|
-
interface LimitLateBookingPolicyNonNullableFields {
|
|
4045
|
-
enabled: boolean;
|
|
4046
|
-
latestBookingInMinutes: number;
|
|
4047
|
-
}
|
|
4048
|
-
interface BookAfterStartPolicyNonNullableFields {
|
|
4049
|
-
enabled: boolean;
|
|
4050
|
-
}
|
|
4051
|
-
interface CancellationPolicyNonNullableFields {
|
|
4052
|
-
enabled: boolean;
|
|
4053
|
-
limitLatestCancellation: boolean;
|
|
4054
|
-
latestCancellationInMinutes: number;
|
|
4055
|
-
}
|
|
4056
|
-
interface ReschedulePolicyNonNullableFields {
|
|
4057
|
-
enabled: boolean;
|
|
4058
|
-
limitLatestReschedule: boolean;
|
|
4059
|
-
latestRescheduleInMinutes: number;
|
|
4060
|
-
}
|
|
4061
|
-
interface WaitlistPolicyNonNullableFields {
|
|
4062
|
-
enabled: boolean;
|
|
4063
|
-
capacity: number;
|
|
4064
|
-
reservationTimeInMinutes: number;
|
|
4065
|
-
}
|
|
4066
|
-
interface ParticipantsPolicyNonNullableFields {
|
|
4067
|
-
enabled: boolean;
|
|
4068
|
-
maxParticipantsPerBooking: number;
|
|
4069
|
-
}
|
|
4070
|
-
interface ResourcesPolicyNonNullableFields {
|
|
4071
|
-
enabled: boolean;
|
|
4072
|
-
autoAssignAllowed: boolean;
|
|
4073
|
-
}
|
|
4074
|
-
interface CancellationWindowNonNullableFields {
|
|
4075
|
-
amount?: MoneyNonNullableFields;
|
|
4076
|
-
percentage: string;
|
|
4077
|
-
}
|
|
4078
|
-
interface CancellationFeePolicyNonNullableFields {
|
|
4079
|
-
enabled: boolean;
|
|
4080
|
-
cancellationWindows: CancellationWindowNonNullableFields[];
|
|
4081
|
-
}
|
|
4082
|
-
interface SaveCreditCardPolicyNonNullableFields {
|
|
4083
|
-
enabled: boolean;
|
|
4084
|
-
}
|
|
4085
|
-
interface BookingPolicyNonNullableFields {
|
|
4086
|
-
_id: string;
|
|
4087
|
-
customPolicyDescription?: PolicyDescriptionNonNullableFields;
|
|
4088
|
-
limitEarlyBookingPolicy?: LimitEarlyBookingPolicyNonNullableFields;
|
|
4089
|
-
limitLateBookingPolicy?: LimitLateBookingPolicyNonNullableFields;
|
|
4090
|
-
bookAfterStartPolicy?: BookAfterStartPolicyNonNullableFields;
|
|
4091
|
-
cancellationPolicy?: CancellationPolicyNonNullableFields;
|
|
4092
|
-
reschedulePolicy?: ReschedulePolicyNonNullableFields;
|
|
4093
|
-
waitlistPolicy?: WaitlistPolicyNonNullableFields;
|
|
4094
|
-
participantsPolicy?: ParticipantsPolicyNonNullableFields;
|
|
4095
|
-
resourcesPolicy?: ResourcesPolicyNonNullableFields;
|
|
4096
|
-
cancellationFeePolicy?: CancellationFeePolicyNonNullableFields;
|
|
4097
|
-
saveCreditCardPolicy?: SaveCreditCardPolicyNonNullableFields;
|
|
4098
|
-
}
|
|
4099
|
-
interface DurationNonNullableFields {
|
|
4100
|
-
minutes: number;
|
|
4101
|
-
}
|
|
4102
|
-
interface V2AvailabilityConstraintsNonNullableFields {
|
|
4103
|
-
durations: DurationNonNullableFields[];
|
|
4104
|
-
sessionDurations: number[];
|
|
4105
|
-
timeBetweenSessions: number;
|
|
4106
|
-
}
|
|
4107
|
-
interface V2ScheduleNonNullableFields {
|
|
4108
|
-
availabilityConstraints?: V2AvailabilityConstraintsNonNullableFields;
|
|
4109
|
-
}
|
|
4110
|
-
interface StaffMediaItemNonNullableFields {
|
|
4111
|
-
image: string;
|
|
4112
|
-
}
|
|
4113
|
-
interface StaffMemberNonNullableFields {
|
|
4114
|
-
staffMemberId: string;
|
|
4115
|
-
workingHoursScheduleIds: string[];
|
|
4116
|
-
mainMedia?: StaffMediaItemNonNullableFields;
|
|
4117
|
-
}
|
|
4118
|
-
interface StaffMemberDetailsNonNullableFields {
|
|
4119
|
-
staffMembers: StaffMemberNonNullableFields[];
|
|
4120
|
-
}
|
|
4121
|
-
interface ResourceIdsNonNullableFields {
|
|
4122
|
-
values: string[];
|
|
4123
|
-
}
|
|
4124
|
-
interface ResourceGroupNonNullableFields {
|
|
4125
|
-
resourceIds?: ResourceIdsNonNullableFields;
|
|
4126
|
-
}
|
|
4127
|
-
interface ServiceResourceNonNullableFields {
|
|
4128
|
-
/** @internal */
|
|
4129
|
-
resourceIds?: ResourceIdsNonNullableFields;
|
|
4130
|
-
}
|
|
4131
|
-
interface SlugNonNullableFields {
|
|
4132
|
-
name: string;
|
|
4133
|
-
}
|
|
4134
|
-
interface URLsNonNullableFields {
|
|
4135
|
-
servicePage: string;
|
|
4136
|
-
bookingPage: string;
|
|
4137
|
-
calendarPage: string;
|
|
4138
|
-
}
|
|
4139
|
-
interface TagNonNullableFields {
|
|
4140
|
-
type: string;
|
|
4141
|
-
children: string;
|
|
4142
|
-
custom: boolean;
|
|
4143
|
-
disabled: boolean;
|
|
4144
|
-
}
|
|
4145
|
-
interface KeywordNonNullableFields {
|
|
4146
|
-
term: string;
|
|
4147
|
-
isMain: boolean;
|
|
4148
|
-
}
|
|
4149
|
-
interface SettingsNonNullableFields {
|
|
4150
|
-
preventAutoRedirect: boolean;
|
|
4151
|
-
keywords: KeywordNonNullableFields[];
|
|
4152
|
-
}
|
|
4153
|
-
interface SeoSchemaNonNullableFields {
|
|
4154
|
-
tags: TagNonNullableFields[];
|
|
4155
|
-
settings?: SettingsNonNullableFields;
|
|
4156
|
-
}
|
|
4157
|
-
export interface ServiceNonNullableFields {
|
|
4158
|
-
type: ServiceType;
|
|
4159
|
-
media?: MediaNonNullableFields;
|
|
4160
|
-
category?: V2CategoryNonNullableFields;
|
|
4161
|
-
form?: FormNonNullableFields;
|
|
4162
|
-
payment?: PaymentNonNullableFields;
|
|
4163
|
-
locations: V2LocationNonNullableFields[];
|
|
4164
|
-
bookingPolicy?: BookingPolicyNonNullableFields;
|
|
4165
|
-
schedule?: V2ScheduleNonNullableFields;
|
|
4166
|
-
staffMemberIds: string[];
|
|
4167
|
-
staffMembers: StaffMemberNonNullableFields[];
|
|
4168
|
-
staffMemberDetails?: StaffMemberDetailsNonNullableFields;
|
|
4169
|
-
resourceGroups: ResourceGroupNonNullableFields[];
|
|
4170
|
-
serviceResources: ServiceResourceNonNullableFields[];
|
|
4171
|
-
supportedSlugs: SlugNonNullableFields[];
|
|
4172
|
-
mainSlug?: SlugNonNullableFields;
|
|
4173
|
-
urls?: URLsNonNullableFields;
|
|
4174
|
-
seoData?: SeoSchemaNonNullableFields;
|
|
4175
|
-
}
|
|
4176
|
-
export interface CreateServiceResponseNonNullableFields {
|
|
4177
|
-
service?: ServiceNonNullableFields;
|
|
4178
|
-
}
|
|
4179
|
-
export interface GetServiceResponseNonNullableFields {
|
|
4180
|
-
service?: ServiceNonNullableFields;
|
|
4181
|
-
}
|
|
4182
|
-
export interface UpdateServiceResponseNonNullableFields {
|
|
4183
|
-
service?: ServiceNonNullableFields;
|
|
4184
|
-
}
|
|
4185
|
-
interface ApplicationErrorNonNullableFields {
|
|
4186
|
-
code: string;
|
|
4187
|
-
description: string;
|
|
4188
|
-
}
|
|
4189
|
-
interface ItemMetadataNonNullableFields {
|
|
4190
|
-
originalIndex: number;
|
|
4191
|
-
success: boolean;
|
|
4192
|
-
error?: ApplicationErrorNonNullableFields;
|
|
4193
|
-
}
|
|
4194
|
-
interface BulkServiceResultNonNullableFields {
|
|
4195
|
-
itemMetadata?: ItemMetadataNonNullableFields;
|
|
4196
|
-
item?: ServiceNonNullableFields;
|
|
4197
|
-
}
|
|
4198
|
-
interface BulkActionMetadataNonNullableFields {
|
|
4199
|
-
totalSuccesses: number;
|
|
4200
|
-
totalFailures: number;
|
|
4201
|
-
undetailedFailures: number;
|
|
4202
|
-
}
|
|
4203
|
-
export interface BulkUpdateServicesResponseNonNullableFields {
|
|
4204
|
-
results: BulkServiceResultNonNullableFields[];
|
|
4205
|
-
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
4206
|
-
}
|
|
4207
|
-
export interface BulkUpdateServicesByFilterResponseNonNullableFields {
|
|
4208
|
-
jobId: string;
|
|
4209
|
-
}
|
|
4210
|
-
export interface BulkDeleteServicesResponseNonNullableFields {
|
|
4211
|
-
results: BulkServiceResultNonNullableFields[];
|
|
4212
|
-
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
4213
|
-
}
|
|
4214
|
-
export interface BulkDeleteServicesByFilterResponseNonNullableFields {
|
|
4215
|
-
jobId: string;
|
|
4216
|
-
}
|
|
4217
|
-
export interface QueryServicesResponseNonNullableFields {
|
|
4218
|
-
services: ServiceNonNullableFields[];
|
|
4219
|
-
}
|
|
4220
|
-
interface ValueAggregationResultNonNullableFields {
|
|
4221
|
-
value: string;
|
|
4222
|
-
count: number;
|
|
4223
|
-
}
|
|
4224
|
-
interface ValueResultsNonNullableFields {
|
|
4225
|
-
results: ValueAggregationResultNonNullableFields[];
|
|
4226
|
-
}
|
|
4227
|
-
interface RangeAggregationResultNonNullableFields {
|
|
4228
|
-
count: number;
|
|
4229
|
-
}
|
|
4230
|
-
interface RangeResultsNonNullableFields {
|
|
4231
|
-
results: RangeAggregationResultNonNullableFields[];
|
|
4232
|
-
}
|
|
4233
|
-
interface AggregationResultsScalarResultNonNullableFields {
|
|
4234
|
-
type: ScalarType;
|
|
4235
|
-
value: number;
|
|
4236
|
-
}
|
|
4237
|
-
interface NestedAggregationResultsNonNullableFields {
|
|
4238
|
-
values?: ValueResultsNonNullableFields;
|
|
4239
|
-
ranges?: RangeResultsNonNullableFields;
|
|
4240
|
-
scalar?: AggregationResultsScalarResultNonNullableFields;
|
|
4241
|
-
name: string;
|
|
4242
|
-
type: AggregationType;
|
|
4243
|
-
fieldPath: string;
|
|
4244
|
-
}
|
|
4245
|
-
interface NestedValueAggregationResultNonNullableFields {
|
|
4246
|
-
value: string;
|
|
4247
|
-
nestedResults?: NestedAggregationResultsNonNullableFields;
|
|
4248
|
-
}
|
|
4249
|
-
interface GroupByValueResultsNonNullableFields {
|
|
4250
|
-
results: NestedValueAggregationResultNonNullableFields[];
|
|
4251
|
-
}
|
|
4252
|
-
interface DateHistogramResultNonNullableFields {
|
|
4253
|
-
value: string;
|
|
4254
|
-
count: number;
|
|
4255
|
-
}
|
|
4256
|
-
interface DateHistogramResultsNonNullableFields {
|
|
4257
|
-
results: DateHistogramResultNonNullableFields[];
|
|
4258
|
-
}
|
|
4259
|
-
interface AggregationResultsNonNullableFields {
|
|
4260
|
-
values?: ValueResultsNonNullableFields;
|
|
4261
|
-
ranges?: RangeResultsNonNullableFields;
|
|
4262
|
-
scalar?: AggregationResultsScalarResultNonNullableFields;
|
|
4263
|
-
groupedByValue?: GroupByValueResultsNonNullableFields;
|
|
4264
|
-
dateHistogram?: DateHistogramResultsNonNullableFields;
|
|
4265
|
-
name: string;
|
|
4266
|
-
type: AggregationType;
|
|
4267
|
-
fieldPath: string;
|
|
4268
|
-
}
|
|
4269
|
-
interface AggregationDataNonNullableFields {
|
|
4270
|
-
results: AggregationResultsNonNullableFields[];
|
|
4271
|
-
}
|
|
4272
|
-
export interface SearchServicesResponseNonNullableFields {
|
|
4273
|
-
services: ServiceNonNullableFields[];
|
|
4274
|
-
aggregationData?: AggregationDataNonNullableFields;
|
|
4275
|
-
}
|
|
4276
|
-
interface BookingPolicyWithServicesNonNullableFields {
|
|
4277
|
-
bookingPolicy?: BookingPolicyNonNullableFields;
|
|
4278
|
-
services: ServiceNonNullableFields[];
|
|
4279
|
-
countOfServices: number;
|
|
4280
|
-
connectedServices: ServiceNonNullableFields[];
|
|
4281
|
-
totalServiceCount: number;
|
|
4282
|
-
}
|
|
4283
|
-
export interface QueryPoliciesResponseNonNullableFields {
|
|
4284
|
-
bookingPolicies: BookingPolicyWithServicesNonNullableFields[];
|
|
4285
|
-
}
|
|
4286
|
-
interface FormDetailsNonNullableFields {
|
|
4287
|
-
formId: string;
|
|
4288
|
-
}
|
|
4289
|
-
interface BookingFormNonNullableFields {
|
|
4290
|
-
formDetails?: FormDetailsNonNullableFields;
|
|
4291
|
-
totalServiceCount: number;
|
|
4292
|
-
}
|
|
4293
|
-
export interface QueryBookingFormsResponseNonNullableFields {
|
|
4294
|
-
bookingForms: BookingFormNonNullableFields[];
|
|
4295
|
-
defaultBookingForm?: BookingFormNonNullableFields;
|
|
4296
|
-
}
|
|
4297
|
-
export interface CountServicesResponseNonNullableFields {
|
|
4298
|
-
count: number;
|
|
4299
|
-
}
|
|
4300
|
-
interface BusinessLocationsNonNullableFields {
|
|
4301
|
-
exists: boolean;
|
|
4302
|
-
locations: V2LocationNonNullableFields[];
|
|
4303
|
-
}
|
|
4304
|
-
interface CustomLocationsNonNullableFields {
|
|
4305
|
-
exists: boolean;
|
|
4306
|
-
}
|
|
4307
|
-
interface CustomerLocationsNonNullableFields {
|
|
4308
|
-
exists: boolean;
|
|
4309
|
-
}
|
|
4310
|
-
export interface QueryLocationsResponseNonNullableFields {
|
|
4311
|
-
businessLocations?: BusinessLocationsNonNullableFields;
|
|
4312
|
-
customLocations?: CustomLocationsNonNullableFields;
|
|
4313
|
-
customerLocations?: CustomerLocationsNonNullableFields;
|
|
4314
|
-
}
|
|
4315
|
-
export interface QueryCategoriesResponseNonNullableFields {
|
|
4316
|
-
categories: V2CategoryNonNullableFields[];
|
|
4317
|
-
}
|
|
4318
|
-
export interface SetServiceLocationsResponseNonNullableFields {
|
|
4319
|
-
service?: ServiceNonNullableFields;
|
|
4320
|
-
}
|
|
4321
|
-
export interface EnablePricingPlansForServiceResponseNonNullableFields {
|
|
4322
|
-
service?: ServiceNonNullableFields;
|
|
4323
|
-
}
|
|
4324
|
-
export interface DisablePricingPlansForServiceResponseNonNullableFields {
|
|
4325
|
-
service?: ServiceNonNullableFields;
|
|
4326
|
-
}
|
|
4327
|
-
export interface SetCustomSlugResponseNonNullableFields {
|
|
4328
|
-
slug?: SlugNonNullableFields;
|
|
4329
|
-
service?: ServiceNonNullableFields;
|
|
4330
|
-
}
|
|
4331
|
-
export interface ValidateSlugResponseNonNullableFields {
|
|
4332
|
-
valid: boolean;
|
|
4333
|
-
errors: InvalidSlugError[];
|
|
4334
|
-
}
|
|
4335
|
-
export interface CloneServiceResponseNonNullableFields {
|
|
4336
|
-
service?: ServiceNonNullableFields;
|
|
4337
|
-
errors: CloneErrors[];
|
|
4338
|
-
}
|
|
4339
3979
|
export interface BaseEventMetadata {
|
|
4340
3980
|
/**
|
|
4341
3981
|
* App instance ID.
|
|
@@ -4466,6 +4106,7 @@ export interface ServiceUpdatedEnvelope {
|
|
|
4466
4106
|
* @slug updated
|
|
4467
4107
|
*/
|
|
4468
4108
|
export declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => void | Promise<void>): void;
|
|
4109
|
+
type ServiceNonNullablePaths = `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.business.address.streetAddress.number` | `locations.${number}.business.address.streetAddress.name` | `locations.${number}.business.address.streetAddress.apt` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.amount.value` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.amount.currency` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `mainSlug.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain`;
|
|
4469
4110
|
/**
|
|
4470
4111
|
* Creates a service.
|
|
4471
4112
|
*
|
|
@@ -4523,7 +4164,7 @@ export declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope
|
|
|
4523
4164
|
* @returns Created service.
|
|
4524
4165
|
* @fqn wix.bookings.services.v2.ServicesService.CreateService
|
|
4525
4166
|
*/
|
|
4526
|
-
export declare function createService(service: Service): Promise<Service
|
|
4167
|
+
export declare function createService(service: Service): Promise<NonNullablePaths<Service, ServiceNonNullablePaths>>;
|
|
4527
4168
|
/**
|
|
4528
4169
|
* Retrieves a service.
|
|
4529
4170
|
* @param serviceId - ID of the service to retrieve.
|
|
@@ -4549,7 +4190,7 @@ export declare function createService(service: Service): Promise<Service & Servi
|
|
|
4549
4190
|
* @returns Retrieved service.
|
|
4550
4191
|
* @fqn wix.bookings.services.v2.ServicesService.GetService
|
|
4551
4192
|
*/
|
|
4552
|
-
export declare function getService(serviceId: string): Promise<Service
|
|
4193
|
+
export declare function getService(serviceId: string): Promise<NonNullablePaths<Service, ServiceNonNullablePaths>>;
|
|
4553
4194
|
/**
|
|
4554
4195
|
* Updates a service.
|
|
4555
4196
|
*
|
|
@@ -4583,7 +4224,7 @@ export declare function getService(serviceId: string): Promise<Service & Service
|
|
|
4583
4224
|
* @returns Updated service.
|
|
4584
4225
|
* @fqn wix.bookings.services.v2.ServicesService.UpdateService
|
|
4585
4226
|
*/
|
|
4586
|
-
export declare function updateService(_id: string
|
|
4227
|
+
export declare function updateService(_id: string, service: NonNullablePaths<UpdateService, `revision`>): Promise<NonNullablePaths<Service, ServiceNonNullablePaths>>;
|
|
4587
4228
|
export interface UpdateService {
|
|
4588
4229
|
/**
|
|
4589
4230
|
* Service ID.
|
|
@@ -4745,7 +4386,9 @@ export interface UpdateService {
|
|
|
4745
4386
|
* @applicableIdentity APP
|
|
4746
4387
|
* @fqn wix.bookings.services.v2.ServicesService.BulkUpdateServices
|
|
4747
4388
|
*/
|
|
4748
|
-
export declare function bulkUpdateServices(options?: BulkUpdateServicesOptions): Promise<BulkUpdateServicesResponse
|
|
4389
|
+
export declare function bulkUpdateServices(options?: NonNullablePaths<BulkUpdateServicesOptions, `services.${number}.service` | `services.${number}.service._id` | `services.${number}.service.revision`>): Promise<NonNullablePaths<BulkUpdateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
|
|
4390
|
+
[P in ServiceNonNullablePaths]: `results.${number}.item.${P}`;
|
|
4391
|
+
}[ServiceNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
|
|
4749
4392
|
export interface BulkUpdateServicesOptions {
|
|
4750
4393
|
/**
|
|
4751
4394
|
* Services to update.
|
|
@@ -4784,7 +4427,7 @@ export interface BulkUpdateServicesOptions {
|
|
|
4784
4427
|
* @applicableIdentity APP
|
|
4785
4428
|
* @fqn wix.bookings.services.v2.ServicesService.BulkUpdateServicesByFilter
|
|
4786
4429
|
*/
|
|
4787
|
-
export declare function bulkUpdateServicesByFilter(filter: Record<string, any
|
|
4430
|
+
export declare function bulkUpdateServicesByFilter(filter: Record<string, any>, options: NonNullablePaths<BulkUpdateServicesByFilterOptions, `service`>): Promise<NonNullablePaths<BulkUpdateServicesByFilterResponse, `jobId`>>;
|
|
4788
4431
|
export interface BulkUpdateServicesByFilterOptions {
|
|
4789
4432
|
/** Service to update. */
|
|
4790
4433
|
service: Service;
|
|
@@ -4846,7 +4489,9 @@ export interface DeleteServiceOptions {
|
|
|
4846
4489
|
* @applicableIdentity APP
|
|
4847
4490
|
* @fqn wix.bookings.services.v2.ServicesService.BulkDeleteServices
|
|
4848
4491
|
*/
|
|
4849
|
-
export declare function bulkDeleteServices(ids: string[], options?: BulkDeleteServicesOptions): Promise<BulkDeleteServicesResponse
|
|
4492
|
+
export declare function bulkDeleteServices(ids: string[], options?: BulkDeleteServicesOptions): Promise<NonNullablePaths<BulkDeleteServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | {
|
|
4493
|
+
[P in ServiceNonNullablePaths]: `results.${number}.item.${P}`;
|
|
4494
|
+
}[ServiceNonNullablePaths] | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`>>;
|
|
4850
4495
|
export interface BulkDeleteServicesOptions {
|
|
4851
4496
|
/**
|
|
4852
4497
|
* Whether to preserve future sessions with participants.
|
|
@@ -4890,7 +4535,7 @@ export interface BulkDeleteServicesOptions {
|
|
|
4890
4535
|
* @applicableIdentity APP
|
|
4891
4536
|
* @fqn wix.bookings.services.v2.ServicesService.BulkDeleteServicesByFilter
|
|
4892
4537
|
*/
|
|
4893
|
-
export declare function bulkDeleteServicesByFilter(filter: Record<string, any
|
|
4538
|
+
export declare function bulkDeleteServicesByFilter(filter: Record<string, any>, options?: BulkDeleteServicesByFilterOptions): Promise<NonNullablePaths<BulkDeleteServicesByFilterResponse, `jobId`>>;
|
|
4894
4539
|
export interface BulkDeleteServicesByFilterOptions {
|
|
4895
4540
|
/**
|
|
4896
4541
|
* Whether to preserve future sessions with participants.
|
|
@@ -5052,7 +4697,9 @@ export interface ServicesQueryBuilder {
|
|
|
5052
4697
|
* @applicableIdentity VISITOR
|
|
5053
4698
|
* @fqn wix.bookings.services.v2.ServicesService.SearchServices
|
|
5054
4699
|
*/
|
|
5055
|
-
export declare function searchServices(search: CursorSearch): Promise<SearchServicesResponse
|
|
4700
|
+
export declare function searchServices(search: CursorSearch): Promise<NonNullablePaths<SearchServicesResponse, {
|
|
4701
|
+
[P in ServiceNonNullablePaths]: `services.${number}.${P}`;
|
|
4702
|
+
}[ServiceNonNullablePaths] | `aggregationData.results` | `aggregationData.results.${number}.values.results` | `aggregationData.results.${number}.values.results.${number}.value` | `aggregationData.results.${number}.values.results.${number}.count` | `aggregationData.results.${number}.ranges.results` | `aggregationData.results.${number}.ranges.results.${number}.count` | `aggregationData.results.${number}.scalar.type` | `aggregationData.results.${number}.scalar.value` | `aggregationData.results.${number}.groupedByValue.results` | `aggregationData.results.${number}.groupedByValue.results.${number}.value` | `aggregationData.results.${number}.groupedByValue.results.${number}.nestedResults.name` | `aggregationData.results.${number}.groupedByValue.results.${number}.nestedResults.type` | `aggregationData.results.${number}.groupedByValue.results.${number}.nestedResults.fieldPath` | `aggregationData.results.${number}.dateHistogram.results` | `aggregationData.results.${number}.dateHistogram.results.${number}.value` | `aggregationData.results.${number}.dateHistogram.results.${number}.count` | `aggregationData.results.${number}.nested.results` | `aggregationData.results.${number}.name` | `aggregationData.results.${number}.type` | `aggregationData.results.${number}.fieldPath`>>;
|
|
5056
4703
|
/**
|
|
5057
4704
|
* Retrieves a list of up to 100 *booking policies*
|
|
5058
4705
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/booking-policies/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/policies/booking-policies/introduction)),
|
|
@@ -5129,7 +4776,9 @@ export declare function searchServices(search: CursorSearch): Promise<SearchServ
|
|
|
5129
4776
|
* @applicableIdentity VISITOR
|
|
5130
4777
|
* @fqn wix.bookings.services.v2.ServicesService.QueryPolicies
|
|
5131
4778
|
*/
|
|
5132
|
-
export declare function queryPolicies(query: CursorQuery): Promise<QueryPoliciesResponse
|
|
4779
|
+
export declare function queryPolicies(query: CursorQuery): Promise<NonNullablePaths<QueryPoliciesResponse, `bookingPolicies` | `bookingPolicies.${number}.bookingPolicy._id` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.enabled` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.description` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.capacity` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicies.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicies.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicies.${number}.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.amount.value` | `bookingPolicies.${number}.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.amount.currency` | `bookingPolicies.${number}.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicies.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | {
|
|
4780
|
+
[P in ServiceNonNullablePaths]: `bookingPolicies.${number}.connectedServices.${number}.${P}`;
|
|
4781
|
+
}[ServiceNonNullablePaths] | `bookingPolicies.${number}.totalServiceCount`>>;
|
|
5133
4782
|
/**
|
|
5134
4783
|
* Retrieves a list of up to 100 *booking forms*
|
|
5135
4784
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/forms/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/forms/introduction)),
|
|
@@ -5203,7 +4852,7 @@ export declare function queryPolicies(query: CursorQuery): Promise<QueryPolicies
|
|
|
5203
4852
|
* @applicableIdentity VISITOR
|
|
5204
4853
|
* @fqn wix.bookings.services.v2.ServicesService.QueryBookingForms
|
|
5205
4854
|
*/
|
|
5206
|
-
export declare function queryBookingForms(query: CursorQuery, options?: QueryBookingFormsOptions): Promise<QueryBookingFormsResponse
|
|
4855
|
+
export declare function queryBookingForms(query: CursorQuery, options?: QueryBookingFormsOptions): Promise<NonNullablePaths<QueryBookingFormsResponse, `bookingForms` | `bookingForms.${number}.formDetails.formId` | `bookingForms.${number}.connectedServices` | `bookingForms.${number}.totalServiceCount` | `defaultBookingForm.formDetails.formId` | `defaultBookingForm.connectedServices` | `defaultBookingForm.totalServiceCount`>>;
|
|
5207
4856
|
export interface QueryBookingFormsOptions {
|
|
5208
4857
|
/**
|
|
5209
4858
|
* Conditional fields to return.
|
|
@@ -5241,7 +4890,7 @@ export interface QueryBookingFormsOptions {
|
|
|
5241
4890
|
* @applicableIdentity VISITOR
|
|
5242
4891
|
* @fqn wix.bookings.services.v2.ServicesService.CountServices
|
|
5243
4892
|
*/
|
|
5244
|
-
export declare function countServices(options?: CountServicesOptions): Promise<CountServicesResponse
|
|
4893
|
+
export declare function countServices(options?: CountServicesOptions): Promise<NonNullablePaths<CountServicesResponse, `count`>>;
|
|
5245
4894
|
export interface CountServicesOptions {
|
|
5246
4895
|
/**
|
|
5247
4896
|
* Query filter to base the count on. See supported filters
|
|
@@ -5296,7 +4945,7 @@ export interface CountServicesOptions {
|
|
|
5296
4945
|
* @applicableIdentity VISITOR
|
|
5297
4946
|
* @fqn wix.bookings.services.v2.ServicesService.QueryLocations
|
|
5298
4947
|
*/
|
|
5299
|
-
export declare function queryLocations(options?: QueryLocationsOptions): Promise<QueryLocationsResponse
|
|
4948
|
+
export declare function queryLocations(options?: QueryLocationsOptions): Promise<NonNullablePaths<QueryLocationsResponse, `businessLocations.exists` | `businessLocations.locations` | `businessLocations.locations.${number}.business._id` | `businessLocations.locations.${number}.business.name` | `businessLocations.locations.${number}.business.address.streetAddress.number` | `businessLocations.locations.${number}.business.address.streetAddress.name` | `businessLocations.locations.${number}.business.address.streetAddress.apt` | `businessLocations.locations.${number}.custom._id` | `businessLocations.locations.${number}._id` | `businessLocations.locations.${number}.type` | `customLocations.exists` | `customerLocations.exists`>>;
|
|
5300
4949
|
export interface QueryLocationsOptions {
|
|
5301
4950
|
/** Filter. */
|
|
5302
4951
|
filter?: QueryLocationsFilter;
|
|
@@ -5346,7 +4995,7 @@ export interface QueryLocationsOptions {
|
|
|
5346
4995
|
* @applicableIdentity VISITOR
|
|
5347
4996
|
* @fqn wix.bookings.services.v2.ServicesService.QueryCategories
|
|
5348
4997
|
*/
|
|
5349
|
-
export declare function queryCategories(options?: QueryCategoriesOptions): Promise<QueryCategoriesResponse
|
|
4998
|
+
export declare function queryCategories(options?: QueryCategoriesOptions): Promise<NonNullablePaths<QueryCategoriesResponse, `categories` | `categories.${number}._id`>>;
|
|
5350
4999
|
export interface QueryCategoriesOptions {
|
|
5351
5000
|
/** Filter. */
|
|
5352
5001
|
filter?: QueryCategoriesFilter;
|
|
@@ -5416,7 +5065,9 @@ export interface QueryCategoriesOptions {
|
|
|
5416
5065
|
* @applicableIdentity APP
|
|
5417
5066
|
* @fqn wix.bookings.services.v2.ServicesService.SetServiceLocations
|
|
5418
5067
|
*/
|
|
5419
|
-
export declare function setServiceLocations(serviceId: string, locations: V2Location[], options?: SetServiceLocationsOptions): Promise<SetServiceLocationsResponse
|
|
5068
|
+
export declare function setServiceLocations(serviceId: string, locations: V2Location[], options?: SetServiceLocationsOptions): Promise<NonNullablePaths<SetServiceLocationsResponse, {
|
|
5069
|
+
[P in ServiceNonNullablePaths]: `service.${P}`;
|
|
5070
|
+
}[ServiceNonNullablePaths]>>;
|
|
5420
5071
|
export interface SetServiceLocationsOptions {
|
|
5421
5072
|
/**
|
|
5422
5073
|
* The action to perform on sessions currently set to a removed location. For
|
|
@@ -5458,7 +5109,9 @@ export interface SetServiceLocationsOptions {
|
|
|
5458
5109
|
* @applicableIdentity APP
|
|
5459
5110
|
* @fqn wix.bookings.services.v2.ServicesService.EnablePricingPlansForService
|
|
5460
5111
|
*/
|
|
5461
|
-
export declare function enablePricingPlansForService(serviceId: string, pricingPlanIds: string[]): Promise<EnablePricingPlansForServiceResponse
|
|
5112
|
+
export declare function enablePricingPlansForService(serviceId: string, pricingPlanIds: string[]): Promise<NonNullablePaths<EnablePricingPlansForServiceResponse, {
|
|
5113
|
+
[P in ServiceNonNullablePaths]: `service.${P}`;
|
|
5114
|
+
}[ServiceNonNullablePaths]>>;
|
|
5462
5115
|
/**
|
|
5463
5116
|
* Removes a list of *pricing plan IDs*
|
|
5464
5117
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/pricing-plans/plans/introduction) | [REST](https://dev.wix.com/api/rest/wix-pricing-plans/pricing-plans/plans/plan-object))
|
|
@@ -5481,7 +5134,9 @@ export declare function enablePricingPlansForService(serviceId: string, pricingP
|
|
|
5481
5134
|
* @applicableIdentity APP
|
|
5482
5135
|
* @fqn wix.bookings.services.v2.ServicesService.DisablePricingPlansForService
|
|
5483
5136
|
*/
|
|
5484
|
-
export declare function disablePricingPlansForService(serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<DisablePricingPlansForServiceResponse
|
|
5137
|
+
export declare function disablePricingPlansForService(serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<NonNullablePaths<DisablePricingPlansForServiceResponse, {
|
|
5138
|
+
[P in ServiceNonNullablePaths]: `service.${P}`;
|
|
5139
|
+
}[ServiceNonNullablePaths]>>;
|
|
5485
5140
|
export interface DisablePricingPlansForServiceOptions {
|
|
5486
5141
|
/**
|
|
5487
5142
|
* IDs of the *pricing plans*
|
|
@@ -5513,7 +5168,9 @@ export interface DisablePricingPlansForServiceOptions {
|
|
|
5513
5168
|
* @applicableIdentity APP
|
|
5514
5169
|
* @fqn wix.bookings.services.v2.ServicesService.SetCustomSlug
|
|
5515
5170
|
*/
|
|
5516
|
-
export declare function setCustomSlug(serviceId: string, options?: SetCustomSlugOptions): Promise<SetCustomSlugResponse
|
|
5171
|
+
export declare function setCustomSlug(serviceId: string, options?: SetCustomSlugOptions): Promise<NonNullablePaths<SetCustomSlugResponse, `slug.name` | {
|
|
5172
|
+
[P in ServiceNonNullablePaths]: `service.${P}`;
|
|
5173
|
+
}[ServiceNonNullablePaths]>>;
|
|
5517
5174
|
export interface SetCustomSlugOptions {
|
|
5518
5175
|
/**
|
|
5519
5176
|
* Slug to set as the active service slug.
|
|
@@ -5544,7 +5201,7 @@ export interface SetCustomSlugOptions {
|
|
|
5544
5201
|
* @applicableIdentity APP
|
|
5545
5202
|
* @fqn wix.bookings.services.v2.ServicesService.ValidateSlug
|
|
5546
5203
|
*/
|
|
5547
|
-
export declare function validateSlug(serviceId: string, options?: ValidateSlugOptions): Promise<ValidateSlugResponse
|
|
5204
|
+
export declare function validateSlug(serviceId: string, options?: ValidateSlugOptions): Promise<NonNullablePaths<ValidateSlugResponse, `valid` | `errors`>>;
|
|
5548
5205
|
export interface ValidateSlugOptions {
|
|
5549
5206
|
/**
|
|
5550
5207
|
* Custom slug to validate.
|
|
@@ -5626,5 +5283,7 @@ export interface ValidateSlugOptions {
|
|
|
5626
5283
|
* @applicableIdentity APP
|
|
5627
5284
|
* @fqn wix.bookings.services.v2.ServicesService.CloneService
|
|
5628
5285
|
*/
|
|
5629
|
-
export declare function cloneService(sourceServiceId: string): Promise<CloneServiceResponse
|
|
5286
|
+
export declare function cloneService(sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, {
|
|
5287
|
+
[P in ServiceNonNullablePaths]: `service.${P}`;
|
|
5288
|
+
}[ServiceNonNullablePaths] | `errors`>>;
|
|
5630
5289
|
export {};
|