@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,365 +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
|
-
}
|
|
4129
|
-
interface SlugNonNullableFields {
|
|
4130
|
-
name: string;
|
|
4131
|
-
}
|
|
4132
|
-
interface URLsNonNullableFields {
|
|
4133
|
-
servicePage: string;
|
|
4134
|
-
bookingPage: string;
|
|
4135
|
-
calendarPage: string;
|
|
4136
|
-
}
|
|
4137
|
-
interface TagNonNullableFields {
|
|
4138
|
-
type: string;
|
|
4139
|
-
children: string;
|
|
4140
|
-
custom: boolean;
|
|
4141
|
-
disabled: boolean;
|
|
4142
|
-
}
|
|
4143
|
-
interface KeywordNonNullableFields {
|
|
4144
|
-
term: string;
|
|
4145
|
-
isMain: boolean;
|
|
4146
|
-
}
|
|
4147
|
-
interface SettingsNonNullableFields {
|
|
4148
|
-
preventAutoRedirect: boolean;
|
|
4149
|
-
keywords: KeywordNonNullableFields[];
|
|
4150
|
-
}
|
|
4151
|
-
interface SeoSchemaNonNullableFields {
|
|
4152
|
-
tags: TagNonNullableFields[];
|
|
4153
|
-
settings?: SettingsNonNullableFields;
|
|
4154
|
-
}
|
|
4155
|
-
export interface ServiceNonNullableFields {
|
|
4156
|
-
type: ServiceType;
|
|
4157
|
-
media?: MediaNonNullableFields;
|
|
4158
|
-
category?: V2CategoryNonNullableFields;
|
|
4159
|
-
form?: FormNonNullableFields;
|
|
4160
|
-
payment?: PaymentNonNullableFields;
|
|
4161
|
-
locations: V2LocationNonNullableFields[];
|
|
4162
|
-
bookingPolicy?: BookingPolicyNonNullableFields;
|
|
4163
|
-
schedule?: V2ScheduleNonNullableFields;
|
|
4164
|
-
staffMemberIds: string[];
|
|
4165
|
-
staffMembers: StaffMemberNonNullableFields[];
|
|
4166
|
-
staffMemberDetails?: StaffMemberDetailsNonNullableFields;
|
|
4167
|
-
resourceGroups: ResourceGroupNonNullableFields[];
|
|
4168
|
-
serviceResources: ServiceResourceNonNullableFields[];
|
|
4169
|
-
supportedSlugs: SlugNonNullableFields[];
|
|
4170
|
-
mainSlug?: SlugNonNullableFields;
|
|
4171
|
-
urls?: URLsNonNullableFields;
|
|
4172
|
-
seoData?: SeoSchemaNonNullableFields;
|
|
4173
|
-
}
|
|
4174
|
-
export interface CreateServiceResponseNonNullableFields {
|
|
4175
|
-
service?: ServiceNonNullableFields;
|
|
4176
|
-
}
|
|
4177
|
-
export interface GetServiceResponseNonNullableFields {
|
|
4178
|
-
service?: ServiceNonNullableFields;
|
|
4179
|
-
}
|
|
4180
|
-
export interface UpdateServiceResponseNonNullableFields {
|
|
4181
|
-
service?: ServiceNonNullableFields;
|
|
4182
|
-
}
|
|
4183
|
-
interface ApplicationErrorNonNullableFields {
|
|
4184
|
-
code: string;
|
|
4185
|
-
description: string;
|
|
4186
|
-
}
|
|
4187
|
-
interface ItemMetadataNonNullableFields {
|
|
4188
|
-
originalIndex: number;
|
|
4189
|
-
success: boolean;
|
|
4190
|
-
error?: ApplicationErrorNonNullableFields;
|
|
4191
|
-
}
|
|
4192
|
-
interface BulkServiceResultNonNullableFields {
|
|
4193
|
-
itemMetadata?: ItemMetadataNonNullableFields;
|
|
4194
|
-
item?: ServiceNonNullableFields;
|
|
4195
|
-
}
|
|
4196
|
-
interface BulkActionMetadataNonNullableFields {
|
|
4197
|
-
totalSuccesses: number;
|
|
4198
|
-
totalFailures: number;
|
|
4199
|
-
undetailedFailures: number;
|
|
4200
|
-
}
|
|
4201
|
-
export interface BulkUpdateServicesResponseNonNullableFields {
|
|
4202
|
-
results: BulkServiceResultNonNullableFields[];
|
|
4203
|
-
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
4204
|
-
}
|
|
4205
|
-
export interface BulkUpdateServicesByFilterResponseNonNullableFields {
|
|
4206
|
-
jobId: string;
|
|
4207
|
-
}
|
|
4208
|
-
export interface BulkDeleteServicesResponseNonNullableFields {
|
|
4209
|
-
results: BulkServiceResultNonNullableFields[];
|
|
4210
|
-
bulkActionMetadata?: BulkActionMetadataNonNullableFields;
|
|
4211
|
-
}
|
|
4212
|
-
export interface BulkDeleteServicesByFilterResponseNonNullableFields {
|
|
4213
|
-
jobId: string;
|
|
4214
|
-
}
|
|
4215
|
-
export interface QueryServicesResponseNonNullableFields {
|
|
4216
|
-
services: ServiceNonNullableFields[];
|
|
4217
|
-
}
|
|
4218
|
-
interface ValueAggregationResultNonNullableFields {
|
|
4219
|
-
value: string;
|
|
4220
|
-
count: number;
|
|
4221
|
-
}
|
|
4222
|
-
interface ValueResultsNonNullableFields {
|
|
4223
|
-
results: ValueAggregationResultNonNullableFields[];
|
|
4224
|
-
}
|
|
4225
|
-
interface RangeAggregationResultNonNullableFields {
|
|
4226
|
-
count: number;
|
|
4227
|
-
}
|
|
4228
|
-
interface RangeResultsNonNullableFields {
|
|
4229
|
-
results: RangeAggregationResultNonNullableFields[];
|
|
4230
|
-
}
|
|
4231
|
-
interface AggregationResultsScalarResultNonNullableFields {
|
|
4232
|
-
type: ScalarType;
|
|
4233
|
-
value: number;
|
|
4234
|
-
}
|
|
4235
|
-
interface NestedAggregationResultsNonNullableFields {
|
|
4236
|
-
values?: ValueResultsNonNullableFields;
|
|
4237
|
-
ranges?: RangeResultsNonNullableFields;
|
|
4238
|
-
scalar?: AggregationResultsScalarResultNonNullableFields;
|
|
4239
|
-
name: string;
|
|
4240
|
-
type: AggregationType;
|
|
4241
|
-
fieldPath: string;
|
|
4242
|
-
}
|
|
4243
|
-
interface NestedValueAggregationResultNonNullableFields {
|
|
4244
|
-
value: string;
|
|
4245
|
-
nestedResults?: NestedAggregationResultsNonNullableFields;
|
|
4246
|
-
}
|
|
4247
|
-
interface GroupByValueResultsNonNullableFields {
|
|
4248
|
-
results: NestedValueAggregationResultNonNullableFields[];
|
|
4249
|
-
}
|
|
4250
|
-
interface DateHistogramResultNonNullableFields {
|
|
4251
|
-
value: string;
|
|
4252
|
-
count: number;
|
|
4253
|
-
}
|
|
4254
|
-
interface DateHistogramResultsNonNullableFields {
|
|
4255
|
-
results: DateHistogramResultNonNullableFields[];
|
|
4256
|
-
}
|
|
4257
|
-
interface AggregationResultsNonNullableFields {
|
|
4258
|
-
values?: ValueResultsNonNullableFields;
|
|
4259
|
-
ranges?: RangeResultsNonNullableFields;
|
|
4260
|
-
scalar?: AggregationResultsScalarResultNonNullableFields;
|
|
4261
|
-
groupedByValue?: GroupByValueResultsNonNullableFields;
|
|
4262
|
-
dateHistogram?: DateHistogramResultsNonNullableFields;
|
|
4263
|
-
name: string;
|
|
4264
|
-
type: AggregationType;
|
|
4265
|
-
fieldPath: string;
|
|
4266
|
-
}
|
|
4267
|
-
interface AggregationDataNonNullableFields {
|
|
4268
|
-
results: AggregationResultsNonNullableFields[];
|
|
4269
|
-
}
|
|
4270
|
-
export interface SearchServicesResponseNonNullableFields {
|
|
4271
|
-
services: ServiceNonNullableFields[];
|
|
4272
|
-
aggregationData?: AggregationDataNonNullableFields;
|
|
4273
|
-
}
|
|
4274
|
-
interface BookingPolicyWithServicesNonNullableFields {
|
|
4275
|
-
bookingPolicy?: BookingPolicyNonNullableFields;
|
|
4276
|
-
services: ServiceNonNullableFields[];
|
|
4277
|
-
countOfServices: number;
|
|
4278
|
-
connectedServices: ServiceNonNullableFields[];
|
|
4279
|
-
totalServiceCount: number;
|
|
4280
|
-
}
|
|
4281
|
-
export interface QueryPoliciesResponseNonNullableFields {
|
|
4282
|
-
bookingPolicies: BookingPolicyWithServicesNonNullableFields[];
|
|
4283
|
-
}
|
|
4284
|
-
interface FormDetailsNonNullableFields {
|
|
4285
|
-
formId: string;
|
|
4286
|
-
}
|
|
4287
|
-
interface BookingFormNonNullableFields {
|
|
4288
|
-
formDetails?: FormDetailsNonNullableFields;
|
|
4289
|
-
totalServiceCount: number;
|
|
4290
|
-
}
|
|
4291
|
-
export interface QueryBookingFormsResponseNonNullableFields {
|
|
4292
|
-
bookingForms: BookingFormNonNullableFields[];
|
|
4293
|
-
defaultBookingForm?: BookingFormNonNullableFields;
|
|
4294
|
-
}
|
|
4295
|
-
export interface CountServicesResponseNonNullableFields {
|
|
4296
|
-
count: number;
|
|
4297
|
-
}
|
|
4298
|
-
interface BusinessLocationsNonNullableFields {
|
|
4299
|
-
exists: boolean;
|
|
4300
|
-
locations: V2LocationNonNullableFields[];
|
|
4301
|
-
}
|
|
4302
|
-
interface CustomLocationsNonNullableFields {
|
|
4303
|
-
exists: boolean;
|
|
4304
|
-
}
|
|
4305
|
-
interface CustomerLocationsNonNullableFields {
|
|
4306
|
-
exists: boolean;
|
|
4307
|
-
}
|
|
4308
|
-
export interface QueryLocationsResponseNonNullableFields {
|
|
4309
|
-
businessLocations?: BusinessLocationsNonNullableFields;
|
|
4310
|
-
customLocations?: CustomLocationsNonNullableFields;
|
|
4311
|
-
customerLocations?: CustomerLocationsNonNullableFields;
|
|
4312
|
-
}
|
|
4313
|
-
export interface QueryCategoriesResponseNonNullableFields {
|
|
4314
|
-
categories: V2CategoryNonNullableFields[];
|
|
4315
|
-
}
|
|
4316
|
-
export interface SetServiceLocationsResponseNonNullableFields {
|
|
4317
|
-
service?: ServiceNonNullableFields;
|
|
4318
|
-
}
|
|
4319
|
-
export interface EnablePricingPlansForServiceResponseNonNullableFields {
|
|
4320
|
-
service?: ServiceNonNullableFields;
|
|
4321
|
-
}
|
|
4322
|
-
export interface DisablePricingPlansForServiceResponseNonNullableFields {
|
|
4323
|
-
service?: ServiceNonNullableFields;
|
|
4324
|
-
}
|
|
4325
|
-
export interface SetCustomSlugResponseNonNullableFields {
|
|
4326
|
-
slug?: SlugNonNullableFields;
|
|
4327
|
-
service?: ServiceNonNullableFields;
|
|
4328
|
-
}
|
|
4329
|
-
export interface ValidateSlugResponseNonNullableFields {
|
|
4330
|
-
valid: boolean;
|
|
4331
|
-
errors: InvalidSlugError[];
|
|
4332
|
-
}
|
|
4333
|
-
export interface CloneServiceResponseNonNullableFields {
|
|
4334
|
-
service?: ServiceNonNullableFields;
|
|
4335
|
-
errors: CloneErrors[];
|
|
4336
|
-
}
|
|
4337
3979
|
export interface BaseEventMetadata {
|
|
4338
3980
|
/**
|
|
4339
3981
|
* App instance ID.
|
|
@@ -4464,6 +4106,7 @@ export interface ServiceUpdatedEnvelope {
|
|
|
4464
4106
|
* @slug updated
|
|
4465
4107
|
*/
|
|
4466
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`;
|
|
4467
4110
|
/**
|
|
4468
4111
|
* Creates a service.
|
|
4469
4112
|
*
|
|
@@ -4521,7 +4164,7 @@ export declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope
|
|
|
4521
4164
|
* @returns Created service.
|
|
4522
4165
|
* @fqn wix.bookings.services.v2.ServicesService.CreateService
|
|
4523
4166
|
*/
|
|
4524
|
-
export declare function createService(service: Service): Promise<Service
|
|
4167
|
+
export declare function createService(service: Service): Promise<NonNullablePaths<Service, ServiceNonNullablePaths>>;
|
|
4525
4168
|
/**
|
|
4526
4169
|
* Retrieves a service.
|
|
4527
4170
|
* @param serviceId - ID of the service to retrieve.
|
|
@@ -4547,7 +4190,7 @@ export declare function createService(service: Service): Promise<Service & Servi
|
|
|
4547
4190
|
* @returns Retrieved service.
|
|
4548
4191
|
* @fqn wix.bookings.services.v2.ServicesService.GetService
|
|
4549
4192
|
*/
|
|
4550
|
-
export declare function getService(serviceId: string): Promise<Service
|
|
4193
|
+
export declare function getService(serviceId: string): Promise<NonNullablePaths<Service, ServiceNonNullablePaths>>;
|
|
4551
4194
|
/**
|
|
4552
4195
|
* Updates a service.
|
|
4553
4196
|
*
|
|
@@ -4581,7 +4224,7 @@ export declare function getService(serviceId: string): Promise<Service & Service
|
|
|
4581
4224
|
* @returns Updated service.
|
|
4582
4225
|
* @fqn wix.bookings.services.v2.ServicesService.UpdateService
|
|
4583
4226
|
*/
|
|
4584
|
-
export declare function updateService(_id: string
|
|
4227
|
+
export declare function updateService(_id: string, service: NonNullablePaths<UpdateService, `revision`>): Promise<NonNullablePaths<Service, ServiceNonNullablePaths>>;
|
|
4585
4228
|
export interface UpdateService {
|
|
4586
4229
|
/**
|
|
4587
4230
|
* Service ID.
|
|
@@ -4743,7 +4386,9 @@ export interface UpdateService {
|
|
|
4743
4386
|
* @applicableIdentity APP
|
|
4744
4387
|
* @fqn wix.bookings.services.v2.ServicesService.BulkUpdateServices
|
|
4745
4388
|
*/
|
|
4746
|
-
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`>>;
|
|
4747
4392
|
export interface BulkUpdateServicesOptions {
|
|
4748
4393
|
/**
|
|
4749
4394
|
* Services to update.
|
|
@@ -4782,7 +4427,7 @@ export interface BulkUpdateServicesOptions {
|
|
|
4782
4427
|
* @applicableIdentity APP
|
|
4783
4428
|
* @fqn wix.bookings.services.v2.ServicesService.BulkUpdateServicesByFilter
|
|
4784
4429
|
*/
|
|
4785
|
-
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`>>;
|
|
4786
4431
|
export interface BulkUpdateServicesByFilterOptions {
|
|
4787
4432
|
/** Service to update. */
|
|
4788
4433
|
service: Service;
|
|
@@ -4844,7 +4489,9 @@ export interface DeleteServiceOptions {
|
|
|
4844
4489
|
* @applicableIdentity APP
|
|
4845
4490
|
* @fqn wix.bookings.services.v2.ServicesService.BulkDeleteServices
|
|
4846
4491
|
*/
|
|
4847
|
-
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`>>;
|
|
4848
4495
|
export interface BulkDeleteServicesOptions {
|
|
4849
4496
|
/**
|
|
4850
4497
|
* Whether to preserve future sessions with participants.
|
|
@@ -4888,7 +4535,7 @@ export interface BulkDeleteServicesOptions {
|
|
|
4888
4535
|
* @applicableIdentity APP
|
|
4889
4536
|
* @fqn wix.bookings.services.v2.ServicesService.BulkDeleteServicesByFilter
|
|
4890
4537
|
*/
|
|
4891
|
-
export declare function bulkDeleteServicesByFilter(filter: Record<string, any
|
|
4538
|
+
export declare function bulkDeleteServicesByFilter(filter: Record<string, any>, options?: BulkDeleteServicesByFilterOptions): Promise<NonNullablePaths<BulkDeleteServicesByFilterResponse, `jobId`>>;
|
|
4892
4539
|
export interface BulkDeleteServicesByFilterOptions {
|
|
4893
4540
|
/**
|
|
4894
4541
|
* Whether to preserve future sessions with participants.
|
|
@@ -5050,7 +4697,9 @@ export interface ServicesQueryBuilder {
|
|
|
5050
4697
|
* @applicableIdentity VISITOR
|
|
5051
4698
|
* @fqn wix.bookings.services.v2.ServicesService.SearchServices
|
|
5052
4699
|
*/
|
|
5053
|
-
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`>>;
|
|
5054
4703
|
/**
|
|
5055
4704
|
* Retrieves a list of up to 100 *booking policies*
|
|
5056
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)),
|
|
@@ -5127,7 +4776,9 @@ export declare function searchServices(search: CursorSearch): Promise<SearchServ
|
|
|
5127
4776
|
* @applicableIdentity VISITOR
|
|
5128
4777
|
* @fqn wix.bookings.services.v2.ServicesService.QueryPolicies
|
|
5129
4778
|
*/
|
|
5130
|
-
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`>>;
|
|
5131
4782
|
/**
|
|
5132
4783
|
* Retrieves a list of up to 100 *booking forms*
|
|
5133
4784
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/forms/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/forms/introduction)),
|
|
@@ -5201,7 +4852,7 @@ export declare function queryPolicies(query: CursorQuery): Promise<QueryPolicies
|
|
|
5201
4852
|
* @applicableIdentity VISITOR
|
|
5202
4853
|
* @fqn wix.bookings.services.v2.ServicesService.QueryBookingForms
|
|
5203
4854
|
*/
|
|
5204
|
-
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`>>;
|
|
5205
4856
|
export interface QueryBookingFormsOptions {
|
|
5206
4857
|
/**
|
|
5207
4858
|
* Conditional fields to return.
|
|
@@ -5239,7 +4890,7 @@ export interface QueryBookingFormsOptions {
|
|
|
5239
4890
|
* @applicableIdentity VISITOR
|
|
5240
4891
|
* @fqn wix.bookings.services.v2.ServicesService.CountServices
|
|
5241
4892
|
*/
|
|
5242
|
-
export declare function countServices(options?: CountServicesOptions): Promise<CountServicesResponse
|
|
4893
|
+
export declare function countServices(options?: CountServicesOptions): Promise<NonNullablePaths<CountServicesResponse, `count`>>;
|
|
5243
4894
|
export interface CountServicesOptions {
|
|
5244
4895
|
/**
|
|
5245
4896
|
* Query filter to base the count on. See supported filters
|
|
@@ -5294,7 +4945,7 @@ export interface CountServicesOptions {
|
|
|
5294
4945
|
* @applicableIdentity VISITOR
|
|
5295
4946
|
* @fqn wix.bookings.services.v2.ServicesService.QueryLocations
|
|
5296
4947
|
*/
|
|
5297
|
-
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`>>;
|
|
5298
4949
|
export interface QueryLocationsOptions {
|
|
5299
4950
|
/** Filter. */
|
|
5300
4951
|
filter?: QueryLocationsFilter;
|
|
@@ -5344,7 +4995,7 @@ export interface QueryLocationsOptions {
|
|
|
5344
4995
|
* @applicableIdentity VISITOR
|
|
5345
4996
|
* @fqn wix.bookings.services.v2.ServicesService.QueryCategories
|
|
5346
4997
|
*/
|
|
5347
|
-
export declare function queryCategories(options?: QueryCategoriesOptions): Promise<QueryCategoriesResponse
|
|
4998
|
+
export declare function queryCategories(options?: QueryCategoriesOptions): Promise<NonNullablePaths<QueryCategoriesResponse, `categories` | `categories.${number}._id`>>;
|
|
5348
4999
|
export interface QueryCategoriesOptions {
|
|
5349
5000
|
/** Filter. */
|
|
5350
5001
|
filter?: QueryCategoriesFilter;
|
|
@@ -5414,7 +5065,9 @@ export interface QueryCategoriesOptions {
|
|
|
5414
5065
|
* @applicableIdentity APP
|
|
5415
5066
|
* @fqn wix.bookings.services.v2.ServicesService.SetServiceLocations
|
|
5416
5067
|
*/
|
|
5417
|
-
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]>>;
|
|
5418
5071
|
export interface SetServiceLocationsOptions {
|
|
5419
5072
|
/**
|
|
5420
5073
|
* The action to perform on sessions currently set to a removed location. For
|
|
@@ -5456,7 +5109,9 @@ export interface SetServiceLocationsOptions {
|
|
|
5456
5109
|
* @applicableIdentity APP
|
|
5457
5110
|
* @fqn wix.bookings.services.v2.ServicesService.EnablePricingPlansForService
|
|
5458
5111
|
*/
|
|
5459
|
-
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]>>;
|
|
5460
5115
|
/**
|
|
5461
5116
|
* Removes a list of *pricing plan IDs*
|
|
5462
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))
|
|
@@ -5479,7 +5134,9 @@ export declare function enablePricingPlansForService(serviceId: string, pricingP
|
|
|
5479
5134
|
* @applicableIdentity APP
|
|
5480
5135
|
* @fqn wix.bookings.services.v2.ServicesService.DisablePricingPlansForService
|
|
5481
5136
|
*/
|
|
5482
|
-
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]>>;
|
|
5483
5140
|
export interface DisablePricingPlansForServiceOptions {
|
|
5484
5141
|
/**
|
|
5485
5142
|
* IDs of the *pricing plans*
|
|
@@ -5511,7 +5168,9 @@ export interface DisablePricingPlansForServiceOptions {
|
|
|
5511
5168
|
* @applicableIdentity APP
|
|
5512
5169
|
* @fqn wix.bookings.services.v2.ServicesService.SetCustomSlug
|
|
5513
5170
|
*/
|
|
5514
|
-
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]>>;
|
|
5515
5174
|
export interface SetCustomSlugOptions {
|
|
5516
5175
|
/**
|
|
5517
5176
|
* Slug to set as the active service slug.
|
|
@@ -5542,7 +5201,7 @@ export interface SetCustomSlugOptions {
|
|
|
5542
5201
|
* @applicableIdentity APP
|
|
5543
5202
|
* @fqn wix.bookings.services.v2.ServicesService.ValidateSlug
|
|
5544
5203
|
*/
|
|
5545
|
-
export declare function validateSlug(serviceId: string, options?: ValidateSlugOptions): Promise<ValidateSlugResponse
|
|
5204
|
+
export declare function validateSlug(serviceId: string, options?: ValidateSlugOptions): Promise<NonNullablePaths<ValidateSlugResponse, `valid` | `errors`>>;
|
|
5546
5205
|
export interface ValidateSlugOptions {
|
|
5547
5206
|
/**
|
|
5548
5207
|
* Custom slug to validate.
|
|
@@ -5624,5 +5283,7 @@ export interface ValidateSlugOptions {
|
|
|
5624
5283
|
* @applicableIdentity APP
|
|
5625
5284
|
* @fqn wix.bookings.services.v2.ServicesService.CloneService
|
|
5626
5285
|
*/
|
|
5627
|
-
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`>>;
|
|
5628
5289
|
export {};
|