@wix/auto_sdk_bookings_services 1.0.254 → 1.0.256
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-C4INiLoL.d.ts → bookings-services-v2-service-services.universal-CxQEooHC.d.ts} +145 -70
- package/build/cjs/index.d.ts +10 -10
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +123 -58
- package/build/cjs/meta.js +3 -0
- package/build/cjs/meta.js.map +1 -1
- package/build/cjs/schemas.d.ts +572 -57
- package/build/cjs/schemas.js +1459 -340
- package/build/cjs/schemas.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-C4INiLoL.d.mts → bookings-services-v2-service-services.universal-CxQEooHC.d.mts} +145 -70
- package/build/es/index.d.mts +10 -10
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +123 -58
- package/build/es/meta.mjs +3 -0
- package/build/es/meta.mjs.map +1 -1
- package/build/es/schemas.d.mts +572 -57
- package/build/es/schemas.mjs +1465 -346
- package/build/es/schemas.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-DoKhtzZp.d.ts → bookings-services-v2-service-services.universal-BqFU1N2_.d.ts} +108 -101
- package/build/internal/cjs/index.d.ts +10 -10
- 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.map +1 -1
- package/build/internal/cjs/meta.d.ts +123 -58
- package/build/internal/cjs/meta.js +3 -0
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/cjs/schemas.d.ts +572 -57
- package/build/internal/cjs/schemas.js +1459 -340
- package/build/internal/cjs/schemas.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-DoKhtzZp.d.mts → bookings-services-v2-service-services.universal-BqFU1N2_.d.mts} +108 -101
- package/build/internal/es/index.d.mts +10 -10
- 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.map +1 -1
- package/build/internal/es/meta.d.mts +123 -58
- package/build/internal/es/meta.mjs +3 -0
- package/build/internal/es/meta.mjs.map +1 -1
- package/build/internal/es/schemas.d.mts +572 -57
- package/build/internal/es/schemas.mjs +1465 -346
- package/build/internal/es/schemas.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -176,8 +176,18 @@ interface Service {
|
|
|
176
176
|
addOnDetails?: AddOnDetails[];
|
|
177
177
|
/** Taxable address used to calculate tax */
|
|
178
178
|
taxableAddress?: TaxableAddress;
|
|
179
|
-
/**
|
|
180
|
-
|
|
179
|
+
/**
|
|
180
|
+
* ID of the [resource type](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction)
|
|
181
|
+
* that serves as the primary resource for this appointment service. The primary resource type
|
|
182
|
+
* determines which resources drive slot assignment and availability resolution.
|
|
183
|
+
*
|
|
184
|
+
* For example, when set to a "Meeting Rooms" resource type, availability is calculated
|
|
185
|
+
* based on the rooms' schedules rather than staff schedules.
|
|
186
|
+
*
|
|
187
|
+
* Default: The staff resource type.
|
|
188
|
+
* @format GUID
|
|
189
|
+
*/
|
|
190
|
+
primaryResourceType?: string | null;
|
|
181
191
|
}
|
|
182
192
|
declare enum ServiceType {
|
|
183
193
|
/** Appointment-based service. */
|
|
@@ -1186,6 +1196,26 @@ declare enum CompletionRequirement {
|
|
|
1186
1196
|
}
|
|
1187
1197
|
/** @enumType */
|
|
1188
1198
|
type CompletionRequirementWithLiterals = CompletionRequirement | 'OPTIONAL' | 'REQUIRED_BEFORE_BOOKING';
|
|
1199
|
+
/** Rule restricting how frequently a customer can rebook the same service. */
|
|
1200
|
+
interface RebookingFrequencyPolicy {
|
|
1201
|
+
/**
|
|
1202
|
+
* Whether rebooking restrictions are enabled for the service. When `false`, customers can rebook immediately.
|
|
1203
|
+
*
|
|
1204
|
+
* Default: `false`
|
|
1205
|
+
*/
|
|
1206
|
+
enabled?: boolean;
|
|
1207
|
+
/**
|
|
1208
|
+
* Whether customers can never rebook the same service. Only evaluated when `enabled` is `true`.
|
|
1209
|
+
*
|
|
1210
|
+
* Default: `false`
|
|
1211
|
+
*/
|
|
1212
|
+
permanentBlock?: boolean;
|
|
1213
|
+
/**
|
|
1214
|
+
* Minimum number of minutes between the start times of bookings for the same service by the same customer.
|
|
1215
|
+
* Only enforced when `enabled` is `true` and `permanent_block` is `false`.
|
|
1216
|
+
*/
|
|
1217
|
+
minTimeBetweenRebookingsMinutes?: number | null;
|
|
1218
|
+
}
|
|
1189
1219
|
interface Schedule {
|
|
1190
1220
|
/**
|
|
1191
1221
|
* ID of the [schedule](https://dev.wix.com/docs/api-reference/business-management/calendar/schedules-v3/introduction)
|
|
@@ -1227,9 +1257,6 @@ interface AvailabilityConstraints {
|
|
|
1227
1257
|
* - For appointment-based services, specify `sessionDurations` when creating a service.
|
|
1228
1258
|
* - For appointment-based services with varied pricing by session length, you must still specify `sessionDurations`, but the values are ignored. Actual durations are taken from the [service variants](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/service-options-and-variants/introduction).
|
|
1229
1259
|
* - For classes or courses, don't specify `sessionDurations` when creating a service.
|
|
1230
|
-
*
|
|
1231
|
-
* Min: `1` minute
|
|
1232
|
-
* Max: `44639` minutes (30 days, 23 hours, and 59 minutes)
|
|
1233
1260
|
* @min 1
|
|
1234
1261
|
* @max 44639
|
|
1235
1262
|
* @maxSize 50
|
|
@@ -1237,83 +1264,89 @@ interface AvailabilityConstraints {
|
|
|
1237
1264
|
sessionDurations?: number[];
|
|
1238
1265
|
/**
|
|
1239
1266
|
* The number of minutes between the end of a session and the start of the next.
|
|
1240
|
-
*
|
|
1241
|
-
*
|
|
1242
|
-
* Min: `0` minutes
|
|
1243
|
-
* Max: `720` minutes
|
|
1244
1267
|
* @max 720
|
|
1245
1268
|
*/
|
|
1246
1269
|
timeBetweenSessions?: number;
|
|
1270
|
+
/**
|
|
1271
|
+
* Duration range for the service. When set, the customer picks a duration
|
|
1272
|
+
* within the configured min/max range instead of a fixed session duration.
|
|
1273
|
+
* Mutually exclusive with `sessionDurations`. A service uses one or the other.
|
|
1274
|
+
* Can't be combined with `workingHours`.
|
|
1275
|
+
*
|
|
1276
|
+
* Use `durationRange` for services where the customer chooses how long to book,
|
|
1277
|
+
* such as equipment or space rentals. The `unitType` determines whether the range
|
|
1278
|
+
* is measured in hours or days.
|
|
1279
|
+
*/
|
|
1280
|
+
durationRange?: DurationRange;
|
|
1247
1281
|
}
|
|
1248
1282
|
interface V2Duration {
|
|
1249
1283
|
/**
|
|
1250
1284
|
* The duration of the service in minutes.
|
|
1251
|
-
*
|
|
1252
|
-
* Min: `1` minute
|
|
1253
|
-
* Max: `44639` minutes (30 days, 23 hours, and 59 minutes)
|
|
1254
1285
|
* @min 1
|
|
1255
1286
|
* @max 44639
|
|
1256
1287
|
*/
|
|
1257
1288
|
minutes?: number;
|
|
1258
1289
|
}
|
|
1259
|
-
/**
|
|
1290
|
+
/**
|
|
1291
|
+
* Duration range configuration for a service. Defines the minimum and maximum
|
|
1292
|
+
* booking duration a customer can select, and the unit of measurement.
|
|
1293
|
+
*
|
|
1294
|
+
* For hourly services, durations are configured in minutes via `hourOptions`.
|
|
1295
|
+
* For daily services, durations are configured in days via `dayOptions`.
|
|
1296
|
+
*/
|
|
1260
1297
|
interface DurationRange extends DurationRangeConfigOneOf {
|
|
1261
|
-
/** Configuration for hourly duration. Set when `
|
|
1298
|
+
/** Configuration for hourly duration ranges. Set when `unitType` is `HOUR`. */
|
|
1262
1299
|
hourOptions?: HourlyConfig;
|
|
1263
|
-
/** Configuration for daily duration. Set when `
|
|
1300
|
+
/** Configuration for daily duration ranges. Set when `unitType` is `DAY`. */
|
|
1264
1301
|
dayOptions?: DailyConfig;
|
|
1265
|
-
/** The unit type for this duration range. */
|
|
1302
|
+
/** The unit type for this duration range. Determines which configuration to use in the `config` union. */
|
|
1266
1303
|
unitType?: UnitTypeWithLiterals;
|
|
1267
1304
|
}
|
|
1268
1305
|
/** @oneof */
|
|
1269
1306
|
interface DurationRangeConfigOneOf {
|
|
1270
|
-
/** Configuration for hourly duration. Set when `
|
|
1307
|
+
/** Configuration for hourly duration ranges. Set when `unitType` is `HOUR`. */
|
|
1271
1308
|
hourOptions?: HourlyConfig;
|
|
1272
|
-
/** Configuration for daily duration. Set when `
|
|
1309
|
+
/** Configuration for daily duration ranges. Set when `unitType` is `DAY`. */
|
|
1273
1310
|
dayOptions?: DailyConfig;
|
|
1274
1311
|
}
|
|
1275
1312
|
/** The booking unit for the duration range. */
|
|
1276
1313
|
declare enum UnitType {
|
|
1314
|
+
/** Hourly booking unit. Durations are configured in minutes via `hourOptions`. */
|
|
1315
|
+
HOUR = "HOUR",
|
|
1316
|
+
/** Daily booking unit. Durations are configured in days via `dayOptions`. */
|
|
1317
|
+
DAY = "DAY"
|
|
1277
1318
|
}
|
|
1278
1319
|
/** @enumType */
|
|
1279
|
-
type UnitTypeWithLiterals = UnitType;
|
|
1280
|
-
/** Hourly duration configuration.
|
|
1320
|
+
type UnitTypeWithLiterals = UnitType | 'HOUR' | 'DAY';
|
|
1321
|
+
/** Hourly duration configuration. Durations are specified in minutes. */
|
|
1281
1322
|
interface HourlyConfig {
|
|
1282
1323
|
/**
|
|
1283
|
-
* Minimum bookable duration in minutes.
|
|
1284
|
-
*
|
|
1285
|
-
* Min: `30` minutes
|
|
1286
|
-
* Max: `1440` minutes (24 hours)
|
|
1324
|
+
* Minimum bookable duration in minutes. The customer can't book for less than this duration.
|
|
1287
1325
|
* @min 30
|
|
1288
1326
|
* @max 1440
|
|
1289
1327
|
*/
|
|
1290
1328
|
minDurationInMinutes?: number;
|
|
1291
1329
|
/**
|
|
1292
|
-
* Maximum bookable duration in minutes.
|
|
1330
|
+
* Maximum bookable duration in minutes. The customer can't book for more than this duration.
|
|
1293
1331
|
*
|
|
1294
|
-
*
|
|
1295
|
-
* Max: `1440` minutes (24 hours)
|
|
1332
|
+
* Must be greater than or equal to `minDurationInMinutes`.
|
|
1296
1333
|
* @min 30
|
|
1297
1334
|
* @max 1440
|
|
1298
1335
|
*/
|
|
1299
1336
|
maxDurationInMinutes?: number;
|
|
1300
1337
|
}
|
|
1301
|
-
/** Daily duration configuration.
|
|
1338
|
+
/** Daily duration configuration. Durations are specified in days. */
|
|
1302
1339
|
interface DailyConfig {
|
|
1303
1340
|
/**
|
|
1304
|
-
* Minimum bookable duration in days.
|
|
1305
|
-
*
|
|
1306
|
-
* Min: `1` day
|
|
1307
|
-
* Max: `8` days
|
|
1341
|
+
* Minimum bookable duration in days. The customer can't book for less than this number of days.
|
|
1308
1342
|
* @min 1
|
|
1309
1343
|
* @max 8
|
|
1310
1344
|
*/
|
|
1311
1345
|
minDurationInDays?: number;
|
|
1312
1346
|
/**
|
|
1313
|
-
* Maximum bookable duration in days.
|
|
1347
|
+
* Maximum bookable duration in days. The customer can't book for more than this number of days.
|
|
1314
1348
|
*
|
|
1315
|
-
*
|
|
1316
|
-
* Max: `8` days
|
|
1349
|
+
* Must be greater than or equal to `minDurationInDays`.
|
|
1317
1350
|
* @min 1
|
|
1318
1351
|
* @max 8
|
|
1319
1352
|
*/
|
|
@@ -1427,11 +1460,27 @@ interface ResourceIds {
|
|
|
1427
1460
|
values?: string[];
|
|
1428
1461
|
}
|
|
1429
1462
|
interface ServiceResource extends ServiceResourceSelectionOneOf {
|
|
1463
|
+
/**
|
|
1464
|
+
* IDs of specific [resources](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction)
|
|
1465
|
+
* assigned to this service resource. Each ID must reference a resource within the specified `resourceType`.
|
|
1466
|
+
*
|
|
1467
|
+
* When set, only these resources are considered for availability and booking.
|
|
1468
|
+
* When not set, all resources of the specified resource type are eligible.
|
|
1469
|
+
*/
|
|
1470
|
+
resourceIds?: ResourceIds;
|
|
1430
1471
|
/** Details about the required [resource type](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction). */
|
|
1431
1472
|
resourceType?: ResourceType;
|
|
1432
1473
|
}
|
|
1433
1474
|
/** @oneof */
|
|
1434
1475
|
interface ServiceResourceSelectionOneOf {
|
|
1476
|
+
/**
|
|
1477
|
+
* IDs of specific [resources](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resources-v2/introduction)
|
|
1478
|
+
* assigned to this service resource. Each ID must reference a resource within the specified `resourceType`.
|
|
1479
|
+
*
|
|
1480
|
+
* When set, only these resources are considered for availability and booking.
|
|
1481
|
+
* When not set, all resources of the specified resource type are eligible.
|
|
1482
|
+
*/
|
|
1483
|
+
resourceIds?: ResourceIds;
|
|
1435
1484
|
}
|
|
1436
1485
|
interface ResourceType {
|
|
1437
1486
|
/**
|
|
@@ -1997,6 +2046,35 @@ interface BookedSlot {
|
|
|
1997
2046
|
* @maxSize 3
|
|
1998
2047
|
*/
|
|
1999
2048
|
resourceSelections?: ResourceSelection[];
|
|
2049
|
+
/**
|
|
2050
|
+
* Whether the booked slot spans one or more full days.
|
|
2051
|
+
* For class bookings, this value is synced from the linked calendar event.
|
|
2052
|
+
* For appointment bookings, this value is derived from the availability slot at booking creation or reschedule time.
|
|
2053
|
+
*
|
|
2054
|
+
* When `true`, `startDate` is set to `00:00:00` of the first day and `endDate` is set to `00:00:00` of the day after the last day (exclusive). Midnight boundaries are interpreted in the slot's `timezone`.
|
|
2055
|
+
*
|
|
2056
|
+
* Default: `false`
|
|
2057
|
+
*/
|
|
2058
|
+
allDay?: boolean | null;
|
|
2059
|
+
/**
|
|
2060
|
+
* Duration unit type for the booking. Populated only for bookings of [services](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/service-object) configured with a duration range, such as hourly or daily duration-range services. Use together with `durationUnitCount` to determine the booked duration.
|
|
2061
|
+
*
|
|
2062
|
+
* Returned only when the service has a `schedule.availabilityConstraints.durationRange`.
|
|
2063
|
+
* @readonly
|
|
2064
|
+
*/
|
|
2065
|
+
durationUnitType?: DurationUnitTypeWithLiterals;
|
|
2066
|
+
/**
|
|
2067
|
+
* Number of booked duration units. Populated only for bookings of [services](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/service-object) configured with a duration range.
|
|
2068
|
+
* The meaning depends on `durationUnitType`:
|
|
2069
|
+
* - `HOUR`: Duration in minutes. For example, `120` for a 2-hour booking.
|
|
2070
|
+
* - `DAY`: Duration in days. For example, `3` for a 3-day booking.
|
|
2071
|
+
*
|
|
2072
|
+
* Returned only when the service has a `schedule.availabilityConstraints.durationRange`.
|
|
2073
|
+
* @min 1
|
|
2074
|
+
* @max 1440
|
|
2075
|
+
* @readonly
|
|
2076
|
+
*/
|
|
2077
|
+
durationUnitCount?: number | null;
|
|
2000
2078
|
}
|
|
2001
2079
|
interface BookedResource {
|
|
2002
2080
|
/**
|
|
@@ -2089,7 +2167,9 @@ declare enum SelectionMethod {
|
|
|
2089
2167
|
/** @enumType */
|
|
2090
2168
|
type SelectionMethodWithLiterals = SelectionMethod | 'SPECIFIC_RESOURCE' | 'ANY_RESOURCE' | 'NO_SELECTION';
|
|
2091
2169
|
declare enum DurationUnitType {
|
|
2170
|
+
/** Hourly duration. When `durationUnitType` is `HOUR`, `durationUnitCount` represents the booked duration in minutes. */
|
|
2092
2171
|
HOUR = "HOUR",
|
|
2172
|
+
/** Daily duration. When `durationUnitType` is `DAY`, `durationUnitCount` represents the booked duration in days. */
|
|
2093
2173
|
DAY = "DAY"
|
|
2094
2174
|
}
|
|
2095
2175
|
/** @enumType */
|
|
@@ -2757,26 +2837,6 @@ interface AccountInfo {
|
|
|
2757
2837
|
*/
|
|
2758
2838
|
siteId?: string | null;
|
|
2759
2839
|
}
|
|
2760
|
-
/** Rule restricting how frequently a customer can rebook the same service. */
|
|
2761
|
-
interface RebookingFrequencyPolicy {
|
|
2762
|
-
/**
|
|
2763
|
-
* Whether rebooking restrictions are enabled for the service. When `false`, customers can rebook immediately.
|
|
2764
|
-
*
|
|
2765
|
-
* Default: `false`
|
|
2766
|
-
*/
|
|
2767
|
-
enabled?: boolean;
|
|
2768
|
-
/**
|
|
2769
|
-
* Whether customers can never rebook the same service. Only evaluated when `enabled` is `true`.
|
|
2770
|
-
*
|
|
2771
|
-
* Default: `false`
|
|
2772
|
-
*/
|
|
2773
|
-
permanentBlock?: boolean;
|
|
2774
|
-
/**
|
|
2775
|
-
* Minimum number of minutes between the start times of bookings for the same service by the same customer.
|
|
2776
|
-
* Only enforced when `enabled` is `true` and `permanent_block` is `false`.
|
|
2777
|
-
*/
|
|
2778
|
-
minTimeBetweenRebookingsMinutes?: number | null;
|
|
2779
|
-
}
|
|
2780
2840
|
interface CreateServiceRequest {
|
|
2781
2841
|
/** Service to create. */
|
|
2782
2842
|
service: Service;
|
|
@@ -2880,10 +2940,15 @@ declare enum V2RequestedFields {
|
|
|
2880
2940
|
/** Returns the name of each service resource's resource type (for example, `'Meeting rooms'` or `'Equipment'`). See `serviceResources.resourceType.name`. */
|
|
2881
2941
|
RESOURCE_TYPE_DETAILS = "RESOURCE_TYPE_DETAILS",
|
|
2882
2942
|
/** When passed, `service.payment.discountInfo` is returned. */
|
|
2883
|
-
DISCOUNT_INFO_DETAILS = "DISCOUNT_INFO_DETAILS"
|
|
2943
|
+
DISCOUNT_INFO_DETAILS = "DISCOUNT_INFO_DETAILS",
|
|
2944
|
+
/**
|
|
2945
|
+
* Returns details about each individual resource assigned to a service resource, including the resource name. See `serviceResources.resourceDetails`.
|
|
2946
|
+
* @documentationMaturity preview
|
|
2947
|
+
*/
|
|
2948
|
+
RESOURCE_DETAILS = "RESOURCE_DETAILS"
|
|
2884
2949
|
}
|
|
2885
2950
|
/** @enumType */
|
|
2886
|
-
type V2RequestedFieldsWithLiterals = V2RequestedFields | 'STAFF_MEMBER_DETAILS' | 'RESOURCE_TYPE_DETAILS' | 'DISCOUNT_INFO_DETAILS';
|
|
2951
|
+
type V2RequestedFieldsWithLiterals = V2RequestedFields | 'STAFF_MEMBER_DETAILS' | 'RESOURCE_TYPE_DETAILS' | 'DISCOUNT_INFO_DETAILS' | 'RESOURCE_DETAILS';
|
|
2887
2952
|
interface GetServiceResponse {
|
|
2888
2953
|
/** Retrieved service. */
|
|
2889
2954
|
service?: Service;
|
|
@@ -5157,7 +5222,7 @@ declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => vo
|
|
|
5157
5222
|
* @returns Created service.
|
|
5158
5223
|
* @fqn wix.bookings.services.v2.ServicesService.CreateService
|
|
5159
5224
|
*/
|
|
5160
|
-
declare function createService(service: Service): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.subscription.frequency` | `payment.subscription.firstChargeDate` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `payment.discountInfo.discountName` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `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}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `staffMemberDetails.staffMembers` | `staffMemberDetails.staffMembers.${number}.staffMemberId` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.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` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
5225
|
+
declare function createService(service: Service): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.subscription.frequency` | `payment.subscription.firstChargeDate` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `payment.discountInfo.discountName` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `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}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `schedule.availabilityConstraints.durationRange.unitType` | `staffMemberIds` | `staffMemberDetails.staffMembers` | `staffMemberDetails.staffMembers.${number}.staffMemberId` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.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` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
5161
5226
|
__validationErrorsType?: CreateServiceValidationErrors;
|
|
5162
5227
|
}>;
|
|
5163
5228
|
/**
|
|
@@ -5201,7 +5266,7 @@ interface BulkCreateServicesOptions {
|
|
|
5201
5266
|
* @returns Retrieved service.
|
|
5202
5267
|
* @fqn wix.bookings.services.v2.ServicesService.GetService
|
|
5203
5268
|
*/
|
|
5204
|
-
declare function getService(serviceId: string, options?: GetServiceOptions): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.subscription.frequency` | `payment.subscription.firstChargeDate` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `payment.discountInfo.discountName` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `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}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `staffMemberDetails.staffMembers` | `staffMemberDetails.staffMembers.${number}.staffMemberId` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.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` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6>>;
|
|
5269
|
+
declare function getService(serviceId: string, options?: GetServiceOptions): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.subscription.frequency` | `payment.subscription.firstChargeDate` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `payment.discountInfo.discountName` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `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}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `schedule.availabilityConstraints.durationRange.unitType` | `staffMemberIds` | `staffMemberDetails.staffMembers` | `staffMemberDetails.staffMembers.${number}.staffMemberId` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.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` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6>>;
|
|
5205
5270
|
interface GetServiceOptions {
|
|
5206
5271
|
/**
|
|
5207
5272
|
* Conditional fields to return.
|
|
@@ -5244,7 +5309,7 @@ interface GetServiceOptions {
|
|
|
5244
5309
|
* @returns Updated service.
|
|
5245
5310
|
* @fqn wix.bookings.services.v2.ServicesService.UpdateService
|
|
5246
5311
|
*/
|
|
5247
|
-
declare function updateService(_id: string, service: NonNullablePaths<UpdateService, `revision`, 2>): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.subscription.frequency` | `payment.subscription.firstChargeDate` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `payment.discountInfo.discountName` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `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}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `staffMemberDetails.staffMembers` | `staffMemberDetails.staffMembers.${number}.staffMemberId` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.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` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
5312
|
+
declare function updateService(_id: string, service: NonNullablePaths<UpdateService, `revision`, 2>): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.subscription.frequency` | `payment.subscription.firstChargeDate` | `payment.rateType` | `payment.pricingPlanIds` | `payment.addOnOption` | `payment.discountInfo.discountName` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `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}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `schedule.availabilityConstraints.durationRange.unitType` | `staffMemberIds` | `staffMemberDetails.staffMembers` | `staffMemberDetails.staffMembers.${number}.staffMemberId` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.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` | `addOnGroups` | `addOnDetails` | `taxableAddress.taxableAddressType`, 6> & {
|
|
5248
5313
|
__validationErrorsType?: UpdateServiceValidationErrors;
|
|
5249
5314
|
}>;
|
|
5250
5315
|
interface UpdateService {
|
|
@@ -5421,8 +5486,18 @@ interface UpdateService {
|
|
|
5421
5486
|
addOnDetails?: AddOnDetails[];
|
|
5422
5487
|
/** Taxable address used to calculate tax */
|
|
5423
5488
|
taxableAddress?: TaxableAddress;
|
|
5424
|
-
/**
|
|
5425
|
-
|
|
5489
|
+
/**
|
|
5490
|
+
* ID of the [resource type](https://dev.wix.com/docs/api-reference/business-solutions/bookings/resources/resource-types-v2/introduction)
|
|
5491
|
+
* that serves as the primary resource for this appointment service. The primary resource type
|
|
5492
|
+
* determines which resources drive slot assignment and availability resolution.
|
|
5493
|
+
*
|
|
5494
|
+
* For example, when set to a "Meeting Rooms" resource type, availability is calculated
|
|
5495
|
+
* based on the rooms' schedules rather than staff schedules.
|
|
5496
|
+
*
|
|
5497
|
+
* Default: The staff resource type.
|
|
5498
|
+
* @format GUID
|
|
5499
|
+
*/
|
|
5500
|
+
primaryResourceType?: string | null;
|
|
5426
5501
|
}
|
|
5427
5502
|
/**
|
|
5428
5503
|
* Updates up to 100 services.
|
|
@@ -5759,8 +5834,8 @@ declare const utils: {
|
|
|
5759
5834
|
Sort: _wix_sdk_types.SortFactory<ServiceQuerySpec>;
|
|
5760
5835
|
};
|
|
5761
5836
|
search: {
|
|
5762
|
-
SearchBuilder: () => _wix_sdk_types.SearchBuilder<Service, ServiceSearchSpec, ServiceSearch>;
|
|
5763
|
-
Filter: _wix_sdk_types.FilterFactory<Service, ServiceSearchSpec>;
|
|
5837
|
+
SearchBuilder: () => _wix_sdk_types.SearchBuilder<Service, ServiceSearchSpec, ServiceSearch>;
|
|
5838
|
+
Filter: _wix_sdk_types.FilterFactory<Service, ServiceSearchSpec>; /** Send form after booking. */
|
|
5764
5839
|
Sort: _wix_sdk_types.SortFactory<ServiceSearchSpec>;
|
|
5765
5840
|
SearchParams: _wix_sdk_types.SearchParamsFactory<ServiceSearchSpec>;
|
|
5766
5841
|
Aggregation: _wix_sdk_types.AggregationFactory<ServiceSearchSpec>;
|
|
@@ -6189,7 +6264,7 @@ interface QueryCategoriesOptions {
|
|
|
6189
6264
|
* @applicableIdentity APP
|
|
6190
6265
|
* @fqn wix.bookings.services.v2.ServicesService.SetServiceLocations
|
|
6191
6266
|
*/
|
|
6192
|
-
declare function setServiceLocations(serviceId: string, options?: SetServiceLocationsOptions): Promise<NonNullablePaths<SetServiceLocationsResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.subscription.frequency` | `service.payment.subscription.firstChargeDate` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `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.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7>>;
|
|
6267
|
+
declare function setServiceLocations(serviceId: string, options?: SetServiceLocationsOptions): Promise<NonNullablePaths<SetServiceLocationsResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.subscription.frequency` | `service.payment.subscription.firstChargeDate` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `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.schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `service.schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `service.schedule.availabilityConstraints.durationRange.unitType` | `service.staffMemberIds` | `service.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7>>;
|
|
6193
6268
|
interface SetServiceLocationsOptions {
|
|
6194
6269
|
/**
|
|
6195
6270
|
* List of locations replacing existing service locations. Omitting an existing location removes it from the service. Specify `removedLocationSessionsAction` to determine the handling of future sessions scheduled at that location.
|
|
@@ -6226,7 +6301,7 @@ interface SetServiceLocationsOptions {
|
|
|
6226
6301
|
* @applicableIdentity APP
|
|
6227
6302
|
* @fqn wix.bookings.services.v2.ServicesService.EnablePricingPlansForService
|
|
6228
6303
|
*/
|
|
6229
|
-
declare function enablePricingPlansForService(serviceId: string, pricingPlanIds: string[]): Promise<NonNullablePaths<EnablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.subscription.frequency` | `service.payment.subscription.firstChargeDate` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `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.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
6304
|
+
declare function enablePricingPlansForService(serviceId: string, pricingPlanIds: string[]): Promise<NonNullablePaths<EnablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.subscription.frequency` | `service.payment.subscription.firstChargeDate` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `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.schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `service.schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `service.schedule.availabilityConstraints.durationRange.unitType` | `service.staffMemberIds` | `service.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
6230
6305
|
__applicationErrorsType?: EnablePricingPlansForServiceApplicationErrors;
|
|
6231
6306
|
}>;
|
|
6232
6307
|
/**
|
|
@@ -6243,7 +6318,7 @@ declare function enablePricingPlansForService(serviceId: string, pricingPlanIds:
|
|
|
6243
6318
|
* @applicableIdentity APP
|
|
6244
6319
|
* @fqn wix.bookings.services.v2.ServicesService.DisablePricingPlansForService
|
|
6245
6320
|
*/
|
|
6246
|
-
declare function disablePricingPlansForService(serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<NonNullablePaths<DisablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.subscription.frequency` | `service.payment.subscription.firstChargeDate` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `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.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
6321
|
+
declare function disablePricingPlansForService(serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<NonNullablePaths<DisablePricingPlansForServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.subscription.frequency` | `service.payment.subscription.firstChargeDate` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `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.schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `service.schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `service.schedule.availabilityConstraints.durationRange.unitType` | `service.staffMemberIds` | `service.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
6247
6322
|
__applicationErrorsType?: DisablePricingPlansForServiceApplicationErrors;
|
|
6248
6323
|
}>;
|
|
6249
6324
|
interface DisablePricingPlansForServiceOptions {
|
|
@@ -6271,7 +6346,7 @@ interface DisablePricingPlansForServiceOptions {
|
|
|
6271
6346
|
* @applicableIdentity APP
|
|
6272
6347
|
* @fqn wix.bookings.services.v2.ServicesService.SetCustomSlug
|
|
6273
6348
|
*/
|
|
6274
|
-
declare function setCustomSlug(serviceId: string, options?: SetCustomSlugOptions): Promise<NonNullablePaths<SetCustomSlugResponse, `slug.name` | `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.subscription.frequency` | `service.payment.subscription.firstChargeDate` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `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.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
6349
|
+
declare function setCustomSlug(serviceId: string, options?: SetCustomSlugOptions): Promise<NonNullablePaths<SetCustomSlugResponse, `slug.name` | `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.subscription.frequency` | `service.payment.subscription.firstChargeDate` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `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.schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `service.schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `service.schedule.availabilityConstraints.durationRange.unitType` | `service.staffMemberIds` | `service.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType`, 7> & {
|
|
6275
6350
|
__applicationErrorsType?: SetCustomSlugApplicationErrors;
|
|
6276
6351
|
__validationErrorsType?: SetCustomSlugValidationErrors;
|
|
6277
6352
|
}>;
|
|
@@ -6365,7 +6440,7 @@ interface ValidateSlugOptions {
|
|
|
6365
6440
|
* @applicableIdentity APP
|
|
6366
6441
|
* @fqn wix.bookings.services.v2.ServicesService.CloneService
|
|
6367
6442
|
*/
|
|
6368
|
-
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.subscription.frequency` | `service.payment.subscription.firstChargeDate` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `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.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `errors`, 7>>;
|
|
6443
|
+
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.subscription.frequency` | `service.payment.subscription.firstChargeDate` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.payment.discountInfo.discountName` | `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.schedule.availabilityConstraints.durationRange.hourOptions.minDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.hourOptions.maxDurationInMinutes` | `service.schedule.availabilityConstraints.durationRange.dayOptions.minDurationInDays` | `service.schedule.availabilityConstraints.durationRange.dayOptions.maxDurationInDays` | `service.schedule.availabilityConstraints.durationRange.unitType` | `service.staffMemberIds` | `service.staffMemberDetails.staffMembers` | `service.staffMemberDetails.staffMembers.${number}.staffMemberId` | `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.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `errors`, 7>>;
|
|
6369
6444
|
/**
|
|
6370
6445
|
* Creates a new add-on group for a service and updates the service's `addOnGroups` array.
|
|
6371
6446
|
* @param addOnGroup - Add-on group to create.
|
|
@@ -6507,4 +6582,4 @@ interface SetAddOnsForGroupOptions {
|
|
|
6507
6582
|
addOnIds: string[] | null;
|
|
6508
6583
|
}
|
|
6509
6584
|
|
|
6510
|
-
export { type ListAddOnGroupsByServiceIdResponse as $, type DisablePricingPlansForServiceResponse as A, type BulkCreateServicesOptions as B, type CreateServiceValidationErrors as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type DisablePricingPlansForServiceApplicationErrors as F, type GetServiceOptions as G, type SetCustomSlugOptions as H, type SetCustomSlugResponse as I, type SetCustomSlugApplicationErrors as J, type SetCustomSlugValidationErrors as K, type ValidateSlugResponse as L, type CloneServiceResponse as M, type AddOnGroup as N, type CreateAddOnGroupOptions as O, type CreateAddOnGroupResponse as P, type QueryPoliciesResponse as Q, type CreateAddOnGroupApplicationErrors as R, type Service as S, type DeleteAddOnGroupOptions as T, type UpdateService as U, type ValidateSlugOptions as V, type DeleteAddOnGroupApplicationErrors as W, type UpdateAddOnGroupOptions as X, type UpdateAddOnGroupResponse as Y, type UpdateAddOnGroupApplicationErrors as Z, type ListAddOnGroupsByServiceIdOptions as _, type BulkCreateServicesResponse as a, type PaymentRateOneOf as a$, type SetAddOnsForGroupOptions as a0, type SetAddOnsForGroupResponse as a1, type SetAddOnsForGroupApplicationErrors as a2, type ServiceCreatedEnvelope as a3, type ServiceDeletedEnvelope as a4, type ServiceUpdatedEnvelope as a5, type ServiceQuery as a6, type QueryServicesOptions as a7, typedQueryServices as a8, type ServicesQueryBuilder as a9, V2RequestedFields as aA, SortOrder as aB, SortType as aC, SortDirection as aD, MissingValues as aE, ScalarType as aF, NestedAggregationType as aG, Interval as aH, AggregationType as aI, Mode as aJ, RequestedFields as aK, Action as aL, InvalidSlugError as aM, CloneErrors as aN, Status as aO, Event as aP, CrudType as aQ, PlacementType as aR, DayOfWeek as aS, ResolutionMethod as aT, type Media as aU, type MediaItem as aV, type MediaItemItemOneOf as aW, type V2Category as aX, type Form as aY, type FormSettings as aZ, type Payment as a_, ServiceType as aa, RateType as ab, FrequencyType as ac, FirstChargeDateType as ad, AddOnPaymentOptions as ae, LocationTypeEnumLocationType as af, RankingOrder as ag, SortingMethodType as ah, Timing as ai, CompletionRequirement as aj, UnitType as ak, WorkingHoursMode as al, TaxableAddressType as am, MultiServiceBookingType as an, ResourceTransparency as ao, LocationType as ap, SelectionMethod as aq, DurationUnitType as ar, ValueType as as, BookingStatus as at, PaymentStatus as au, SelectedPaymentOption as av, Platform as aw, Actor as ax, IdentityType as ay, WebhookIdentityType as az, type UpdateServiceValidationErrors as b, type Settings as b$, type FixedPayment as b0, type Money as b1, type CustomPayment as b2, type VariedPayment as b3, type SubscriptionPayment as b4, type FullUpfrontPayment as b5, type PaymentOptions as b6, type DiscountInfo as b7, type OnlineBooking as b8, type Conferencing as b9, type IntakeFormPolicy as bA, type Schedule as bB, type AvailabilityConstraints as bC, type V2Duration as bD, type DurationRange as bE, type DurationRangeConfigOneOf as bF, type HourlyConfig as bG, type DailyConfig as bH, type WorkingHours as bI, type StaffMember as bJ, type StaffMediaItem as bK, type StaffMediaItemItemOneOf as bL, type WorkingHoursLocationCoverage as bM, type StaffMemberDetails as bN, type ResourceGroup as bO, type ResourceIds as bP, type ServiceResource as bQ, type ServiceResourceSelectionOneOf as bR, type ResourceType as bS, type ResourceDetails as bT, type ResourceInfo as bU, type Slug as bV, type URLs as bW, type ExtendedFields as bX, type SeoSchema as bY, type Keyword as bZ, type Tag as b_, type V2Location as ba, type V2LocationOptionsOneOf as bb, type CommonAddress as bc, type CommonAddressStreetOneOf as bd, type CommonStreetAddress as be, type CommonAddressLocation as bf, type BusinessLocationOptions as bg, type CustomLocationOptions as bh, type BookingPolicy as bi, type PolicyDescription as bj, type LimitEarlyBookingPolicy as bk, type LimitLateBookingPolicy as bl, type BookAfterStartPolicy as bm, type CancellationPolicy as bn, type ReschedulePolicy as bo, type WaitlistPolicy as bp, type ParticipantsPolicy as bq, type ResourcesPolicy as br, type CancellationFeePolicy as bs, type CancellationWindow as bt, type CancellationWindowFeeOneOf as bu, type SaveCreditCardPolicy as bv, type StaffSortingPolicy as bw, type StaffSortingPolicyOptionsOneOf as bx, type RankingOptions as by, type CustomOptions as bz, type BulkUpdateServicesOptions as c, type GetServiceAvailabilityConstraintsResponse as c$, type AddOnDetails as c0, type TaxableAddress as c1, type V2PhoneCall as c2, type SetCustomSlugEvent as c3, type ServicesUrlsChanged as c4, type DummyRequest as c5, type DummyResponse as c6, type Booking as c7, type BookingParticipantsInfoOneOf as c8, type BookedEntity as c9, type MultiServiceBookingInfo as cA, type BookedAddOn as cB, type DomainEvent as cC, type DomainEventBodyOneOf as cD, type EntityCreatedEvent as cE, type RestoreInfo as cF, type EntityUpdatedEvent as cG, type EntityDeletedEvent as cH, type ActionEvent as cI, type MessageEnvelope as cJ, type IdentificationData as cK, type IdentificationDataIdOneOf as cL, type AccountInfo as cM, type RebookingFrequencyPolicy as cN, type CreateServiceRequest as cO, type CreateServiceResponse as cP, type ValidateServiceRequest as cQ, type ValidateServiceResponse as cR, type FieldViolation as cS, type BulkCreateServicesRequest as cT, type BulkServiceResult as cU, type ItemMetadata as cV, type ApplicationError as cW, type BulkActionMetadata as cX, type GetServiceRequest as cY, type GetServiceResponse as cZ, type GetServiceAvailabilityConstraintsRequest as c_, type BookedEntityItemOneOf as ca, type BookedSlot as cb, type BookedResource as cc, type Location as cd, type PhoneCall as ce, type ResourceSelection as cf, type BookedSchedule as cg, type ContactDetails as ch, type Address as ci, type AddressStreetOneOf as cj, type StreetAddress as ck, type AddressLocation as cl, type Subdivision as cm, type CustomFormField as cn, type BookingSource as co, type ParticipantNotification as cp, type CommonIdentificationData as cq, type CommonIdentificationDataIdOneOf as cr, type FlowControlSettings as cs, type ParticipantChoices as ct, type ServiceChoices as cu, type ServiceChoice as cv, type ServiceChoiceChoiceOneOf as cw, type Duration as cx, type DateTimeRule as cy, type ParticipantsRange as cz, type BulkUpdateServicesResponse as d, type AggregationResultsResultOneOf as d$, type ServiceAvailabilityConstraints as d0, type SplitInterval as d1, type UpdateServiceRequest as d2, type UpdateServiceResponse as d3, type BulkUpdateServicesRequest as d4, type MaskedService as d5, type BulkUpdateServicesByFilterRequest as d6, type DeleteServiceRequest as d7, type V2ParticipantNotification as d8, type DeleteServiceResponse as d9, type NestedAggregation as dA, type GroupByAggregation as dB, type GroupByAggregationKindOneOf as dC, type SearchDetails as dD, type CursorPagingMetadata as dE, type AggregationData as dF, type ValueAggregationResult as dG, type RangeAggregationResult as dH, type NestedAggregationResults as dI, type NestedAggregationResultsResultOneOf as dJ, type ValueResults as dK, type RangeResults as dL, type AggregationResultsScalarResult as dM, type NestedValueAggregationResult as dN, type ValueResult as dO, type RangeResult as dP, type ScalarResult as dQ, type ScalarDateResult as dR, type NestedResultValue as dS, type NestedResultValueResultOneOf as dT, type Results as dU, type DateHistogramResult as dV, type GroupByValueResults as dW, type DateHistogramResults as dX, type NestedResults as dY, type AggregationResultsScalarDateResult as dZ, type AggregationResults as d_, type BulkDeleteServicesRequest as da, type BulkDeleteServicesByFilterRequest as db, type QueryServicesRequest as dc, type QueryV2 as dd, type QueryV2PagingMethodOneOf as de, type Sorting as df, type Paging as dg, type CursorPaging as dh, type QueryServicesResponse as di, type PagingMetadataV2 as dj, type Cursors as dk, type SearchServicesRequest as dl, type CursorSearch as dm, type CursorSearchPagingMethodOneOf as dn, type Aggregation as dp, type AggregationKindOneOf as dq, type RangeBucket as dr, type IncludeMissingValuesOptions as ds, type ValueAggregation as dt, type ValueAggregationOptionsOneOf as du, type RangeAggregation as dv, type ScalarAggregation as dw, type DateHistogramAggregation as dx, type NestedAggregationItem as dy, type NestedAggregationItemKindOneOf as dz, type BulkUpdateServicesByFilterOptions as e, type BaseEventMetadata as e$, type QueryPoliciesRequest as e0, type CursorQueryPagingMethodOneOf as e1, type BookingPolicyWithServices as e2, type QueryBookingFormsRequest as e3, type BookingForm as e4, type FormDetails as e5, type ConnectedService as e6, type CountServicesRequest as e7, type QueryLocationsRequest as e8, type QueryLocationsFilter as e9, type Properties as eA, type Categories as eB, type Locale as eC, type V4Address as eD, type AddressHint as eE, type GeoCoordinates as eF, type BusinessSchedule as eG, type TimePeriod as eH, type SpecialHourPeriod as eI, type Multilingual as eJ, type SupportedLanguage as eK, type ConsentPolicy as eL, type Translation as eM, type ChangeContext as eN, type ChangeContextPayloadOneOf as eO, type PropertiesChange as eP, type SiteCreated as eQ, type SiteCloned as eR, type CreateAddOnGroupRequest as eS, type DeleteAddOnGroupRequest as eT, type DeleteAddOnGroupResponse as eU, type UpdateAddOnGroupRequest as eV, type ListAddOnGroupsByServiceIdRequest as eW, type AddOn as eX, type AddOnAddOnInfoOneOf as eY, type AddOnGroupDetail as eZ, type SetAddOnsForGroupRequest as e_, type BusinessLocations as ea, type CustomLocations as eb, type CustomerLocations as ec, type QueryCategoriesRequest as ed, type QueryCategoriesFilter as ee, type QueryServicesMultiLanguageRequest as ef, type QueryServicesMultiLanguageResponse as eg, type SetServiceLocationsRequest as eh, type RemovedLocationSessionsAction as ei, type RemovedLocationSessionsActionActionOptionsOneOf as ej, type MoveToNewLocationsOptions as ek, type EnablePricingPlansForServiceRequest as el, type PricingPlanSelection as em, type InvalidPricingPlan as en, type DisablePricingPlansForServiceRequest as eo, type SetCustomSlugRequest as ep, type ValidateSlugRequest as eq, type CloneServiceRequest as er, type CategoryNotification as es, type Category as et, type Empty as eu, type UserDomainInfoChangedEvent as ev, type HtmlSitePublished as ew, type Page as ex, type SitePropertiesNotification as ey, type SitePropertiesEvent as ez, type BulkUpdateServicesByFilterResponse as f, deleteService as f$, type EventMetadata as f0, type AccountInfoMetadata as f1, type ServicesQueryResult as f2, type ServiceQuerySpec as f3, type ServiceSearchSpec as f4, utils as f5, type ServiceTypeWithLiterals as f6, type RateTypeWithLiterals as f7, type FrequencyTypeWithLiterals as f8, type FirstChargeDateTypeWithLiterals as f9, type MissingValuesWithLiterals as fA, type ScalarTypeWithLiterals as fB, type NestedAggregationTypeWithLiterals as fC, type IntervalWithLiterals as fD, type AggregationTypeWithLiterals as fE, type ModeWithLiterals as fF, type RequestedFieldsWithLiterals as fG, type ActionWithLiterals as fH, type InvalidSlugErrorWithLiterals as fI, type CloneErrorsWithLiterals as fJ, type StatusWithLiterals as fK, type EventWithLiterals as fL, type CrudTypeWithLiterals as fM, type PlacementTypeWithLiterals as fN, type DayOfWeekWithLiterals as fO, type ResolutionMethodWithLiterals as fP, type CommonQueryWithEntityContext as fQ, type CommonSearchWithEntityContext as fR, onServiceCreated as fS, onServiceDeleted as fT, onServiceUpdated as fU, createService as fV, bulkCreateServices as fW, getService as fX, updateService as fY, bulkUpdateServices as fZ, bulkUpdateServicesByFilter as f_, type AddOnPaymentOptionsWithLiterals as fa, type LocationTypeEnumLocationTypeWithLiterals as fb, type RankingOrderWithLiterals as fc, type SortingMethodTypeWithLiterals as fd, type TimingWithLiterals as fe, type CompletionRequirementWithLiterals as ff, type UnitTypeWithLiterals as fg, type WorkingHoursModeWithLiterals as fh, type TaxableAddressTypeWithLiterals as fi, type MultiServiceBookingTypeWithLiterals as fj, type ResourceTransparencyWithLiterals as fk, type LocationTypeWithLiterals as fl, type SelectionMethodWithLiterals as fm, type DurationUnitTypeWithLiterals as fn, type ValueTypeWithLiterals as fo, type BookingStatusWithLiterals as fp, type PaymentStatusWithLiterals as fq, type SelectedPaymentOptionWithLiterals as fr, type PlatformWithLiterals as fs, type ActorWithLiterals as ft, type IdentityTypeWithLiterals as fu, type WebhookIdentityTypeWithLiterals as fv, type V2RequestedFieldsWithLiterals as fw, type SortOrderWithLiterals as fx, type SortTypeWithLiterals as fy, type SortDirectionWithLiterals as fz, type BulkDeleteServicesOptions as g, bulkDeleteServices as g0, bulkDeleteServicesByFilter as g1, queryServices as g2, queryPolicies as g3, queryBookingForms as g4, countServices as g5, queryLocations as g6, queryCategories as g7, setServiceLocations as g8, enablePricingPlansForService as g9, disablePricingPlansForService as ga, setCustomSlug as gb, validateSlug as gc, cloneService as gd, createAddOnGroup as ge, deleteAddOnGroup as gf, updateAddOnGroup as gg, listAddOnGroupsByServiceId as gh, setAddOnsForGroup as gi, type BulkDeleteServicesResponse as h, type BulkDeleteServicesByFilterOptions as i, type BulkDeleteServicesByFilterResponse as j, type ServiceSearch as k, type SearchServicesResponse as l, type CursorQuery as m, type QueryBookingFormsOptions as n, type QueryBookingFormsResponse as o, type QueryBookingFormsApplicationErrors as p, type CountServicesOptions as q, type CountServicesResponse as r, type QueryLocationsOptions as s, type QueryLocationsResponse as t, type QueryCategoriesOptions as u, type QueryCategoriesResponse as v, type SetServiceLocationsOptions as w, type SetServiceLocationsResponse as x, type EnablePricingPlansForServiceApplicationErrors as y, type DisablePricingPlansForServiceOptions as z };
|
|
6585
|
+
export { type ListAddOnGroupsByServiceIdResponse as $, type DisablePricingPlansForServiceResponse as A, type BulkCreateServicesOptions as B, type CreateServiceValidationErrors as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type DisablePricingPlansForServiceApplicationErrors as F, type GetServiceOptions as G, type SetCustomSlugOptions as H, type SetCustomSlugResponse as I, type SetCustomSlugApplicationErrors as J, type SetCustomSlugValidationErrors as K, type ValidateSlugResponse as L, type CloneServiceResponse as M, type AddOnGroup as N, type CreateAddOnGroupOptions as O, type CreateAddOnGroupResponse as P, type QueryPoliciesResponse as Q, type CreateAddOnGroupApplicationErrors as R, type Service as S, type DeleteAddOnGroupOptions as T, type UpdateService as U, type ValidateSlugOptions as V, type DeleteAddOnGroupApplicationErrors as W, type UpdateAddOnGroupOptions as X, type UpdateAddOnGroupResponse as Y, type UpdateAddOnGroupApplicationErrors as Z, type ListAddOnGroupsByServiceIdOptions as _, type BulkCreateServicesResponse as a, type PaymentRateOneOf as a$, type SetAddOnsForGroupOptions as a0, type SetAddOnsForGroupResponse as a1, type SetAddOnsForGroupApplicationErrors as a2, type ServiceCreatedEnvelope as a3, type ServiceDeletedEnvelope as a4, type ServiceUpdatedEnvelope as a5, type ServiceQuery as a6, type QueryServicesOptions as a7, typedQueryServices as a8, type ServicesQueryBuilder as a9, V2RequestedFields as aA, SortOrder as aB, SortType as aC, SortDirection as aD, MissingValues as aE, ScalarType as aF, NestedAggregationType as aG, Interval as aH, AggregationType as aI, Mode as aJ, RequestedFields as aK, Action as aL, InvalidSlugError as aM, CloneErrors as aN, Status as aO, Event as aP, CrudType as aQ, PlacementType as aR, DayOfWeek as aS, ResolutionMethod as aT, type Media as aU, type MediaItem as aV, type MediaItemItemOneOf as aW, type V2Category as aX, type Form as aY, type FormSettings as aZ, type Payment as a_, ServiceType as aa, RateType as ab, FrequencyType as ac, FirstChargeDateType as ad, AddOnPaymentOptions as ae, LocationTypeEnumLocationType as af, RankingOrder as ag, SortingMethodType as ah, Timing as ai, CompletionRequirement as aj, UnitType as ak, WorkingHoursMode as al, TaxableAddressType as am, MultiServiceBookingType as an, ResourceTransparency as ao, LocationType as ap, SelectionMethod as aq, DurationUnitType as ar, ValueType as as, BookingStatus as at, PaymentStatus as au, SelectedPaymentOption as av, Platform as aw, Actor as ax, IdentityType as ay, WebhookIdentityType as az, type UpdateServiceValidationErrors as b, type Tag as b$, type FixedPayment as b0, type Money as b1, type CustomPayment as b2, type VariedPayment as b3, type SubscriptionPayment as b4, type FullUpfrontPayment as b5, type PaymentOptions as b6, type DiscountInfo as b7, type OnlineBooking as b8, type Conferencing as b9, type IntakeFormPolicy as bA, type RebookingFrequencyPolicy as bB, type Schedule as bC, type AvailabilityConstraints as bD, type V2Duration as bE, type DurationRange as bF, type DurationRangeConfigOneOf as bG, type HourlyConfig as bH, type DailyConfig as bI, type WorkingHours as bJ, type StaffMember as bK, type StaffMediaItem as bL, type StaffMediaItemItemOneOf as bM, type WorkingHoursLocationCoverage as bN, type StaffMemberDetails as bO, type ResourceGroup as bP, type ResourceIds as bQ, type ServiceResource as bR, type ServiceResourceSelectionOneOf as bS, type ResourceType as bT, type ResourceDetails as bU, type ResourceInfo as bV, type Slug as bW, type URLs as bX, type ExtendedFields as bY, type SeoSchema as bZ, type Keyword as b_, type V2Location as ba, type V2LocationOptionsOneOf as bb, type CommonAddress as bc, type CommonAddressStreetOneOf as bd, type CommonStreetAddress as be, type CommonAddressLocation as bf, type BusinessLocationOptions as bg, type CustomLocationOptions as bh, type BookingPolicy as bi, type PolicyDescription as bj, type LimitEarlyBookingPolicy as bk, type LimitLateBookingPolicy as bl, type BookAfterStartPolicy as bm, type CancellationPolicy as bn, type ReschedulePolicy as bo, type WaitlistPolicy as bp, type ParticipantsPolicy as bq, type ResourcesPolicy as br, type CancellationFeePolicy as bs, type CancellationWindow as bt, type CancellationWindowFeeOneOf as bu, type SaveCreditCardPolicy as bv, type StaffSortingPolicy as bw, type StaffSortingPolicyOptionsOneOf as bx, type RankingOptions as by, type CustomOptions as bz, type BulkUpdateServicesOptions as c, type GetServiceAvailabilityConstraintsResponse as c$, type Settings as c0, type AddOnDetails as c1, type TaxableAddress as c2, type V2PhoneCall as c3, type SetCustomSlugEvent as c4, type ServicesUrlsChanged as c5, type DummyRequest as c6, type DummyResponse as c7, type Booking as c8, type BookingParticipantsInfoOneOf as c9, type ParticipantsRange as cA, type MultiServiceBookingInfo as cB, type BookedAddOn as cC, type DomainEvent as cD, type DomainEventBodyOneOf as cE, type EntityCreatedEvent as cF, type RestoreInfo as cG, type EntityUpdatedEvent as cH, type EntityDeletedEvent as cI, type ActionEvent as cJ, type MessageEnvelope as cK, type IdentificationData as cL, type IdentificationDataIdOneOf as cM, type AccountInfo as cN, type CreateServiceRequest as cO, type CreateServiceResponse as cP, type ValidateServiceRequest as cQ, type ValidateServiceResponse as cR, type FieldViolation as cS, type BulkCreateServicesRequest as cT, type BulkServiceResult as cU, type ItemMetadata as cV, type ApplicationError as cW, type BulkActionMetadata as cX, type GetServiceRequest as cY, type GetServiceResponse as cZ, type GetServiceAvailabilityConstraintsRequest as c_, type BookedEntity as ca, type BookedEntityItemOneOf as cb, type BookedSlot as cc, type BookedResource as cd, type Location as ce, type PhoneCall as cf, type ResourceSelection as cg, type BookedSchedule as ch, type ContactDetails as ci, type Address as cj, type AddressStreetOneOf as ck, type StreetAddress as cl, type AddressLocation as cm, type Subdivision as cn, type CustomFormField as co, type BookingSource as cp, type ParticipantNotification as cq, type CommonIdentificationData as cr, type CommonIdentificationDataIdOneOf as cs, type FlowControlSettings as ct, type ParticipantChoices as cu, type ServiceChoices as cv, type ServiceChoice as cw, type ServiceChoiceChoiceOneOf as cx, type Duration as cy, type DateTimeRule as cz, type BulkUpdateServicesResponse as d, type AggregationResultsResultOneOf as d$, type ServiceAvailabilityConstraints as d0, type SplitInterval as d1, type UpdateServiceRequest as d2, type UpdateServiceResponse as d3, type BulkUpdateServicesRequest as d4, type MaskedService as d5, type BulkUpdateServicesByFilterRequest as d6, type DeleteServiceRequest as d7, type V2ParticipantNotification as d8, type DeleteServiceResponse as d9, type NestedAggregation as dA, type GroupByAggregation as dB, type GroupByAggregationKindOneOf as dC, type SearchDetails as dD, type CursorPagingMetadata as dE, type AggregationData as dF, type ValueAggregationResult as dG, type RangeAggregationResult as dH, type NestedAggregationResults as dI, type NestedAggregationResultsResultOneOf as dJ, type ValueResults as dK, type RangeResults as dL, type AggregationResultsScalarResult as dM, type NestedValueAggregationResult as dN, type ValueResult as dO, type RangeResult as dP, type ScalarResult as dQ, type ScalarDateResult as dR, type NestedResultValue as dS, type NestedResultValueResultOneOf as dT, type Results as dU, type DateHistogramResult as dV, type GroupByValueResults as dW, type DateHistogramResults as dX, type NestedResults as dY, type AggregationResultsScalarDateResult as dZ, type AggregationResults as d_, type BulkDeleteServicesRequest as da, type BulkDeleteServicesByFilterRequest as db, type QueryServicesRequest as dc, type QueryV2 as dd, type QueryV2PagingMethodOneOf as de, type Sorting as df, type Paging as dg, type CursorPaging as dh, type QueryServicesResponse as di, type PagingMetadataV2 as dj, type Cursors as dk, type SearchServicesRequest as dl, type CursorSearch as dm, type CursorSearchPagingMethodOneOf as dn, type Aggregation as dp, type AggregationKindOneOf as dq, type RangeBucket as dr, type IncludeMissingValuesOptions as ds, type ValueAggregation as dt, type ValueAggregationOptionsOneOf as du, type RangeAggregation as dv, type ScalarAggregation as dw, type DateHistogramAggregation as dx, type NestedAggregationItem as dy, type NestedAggregationItemKindOneOf as dz, type BulkUpdateServicesByFilterOptions as e, type BaseEventMetadata as e$, type QueryPoliciesRequest as e0, type CursorQueryPagingMethodOneOf as e1, type BookingPolicyWithServices as e2, type QueryBookingFormsRequest as e3, type BookingForm as e4, type FormDetails as e5, type ConnectedService as e6, type CountServicesRequest as e7, type QueryLocationsRequest as e8, type QueryLocationsFilter as e9, type Properties as eA, type Categories as eB, type Locale as eC, type V4Address as eD, type AddressHint as eE, type GeoCoordinates as eF, type BusinessSchedule as eG, type TimePeriod as eH, type SpecialHourPeriod as eI, type Multilingual as eJ, type SupportedLanguage as eK, type ConsentPolicy as eL, type Translation as eM, type ChangeContext as eN, type ChangeContextPayloadOneOf as eO, type PropertiesChange as eP, type SiteCreated as eQ, type SiteCloned as eR, type CreateAddOnGroupRequest as eS, type DeleteAddOnGroupRequest as eT, type DeleteAddOnGroupResponse as eU, type UpdateAddOnGroupRequest as eV, type ListAddOnGroupsByServiceIdRequest as eW, type AddOn as eX, type AddOnAddOnInfoOneOf as eY, type AddOnGroupDetail as eZ, type SetAddOnsForGroupRequest as e_, type BusinessLocations as ea, type CustomLocations as eb, type CustomerLocations as ec, type QueryCategoriesRequest as ed, type QueryCategoriesFilter as ee, type QueryServicesMultiLanguageRequest as ef, type QueryServicesMultiLanguageResponse as eg, type SetServiceLocationsRequest as eh, type RemovedLocationSessionsAction as ei, type RemovedLocationSessionsActionActionOptionsOneOf as ej, type MoveToNewLocationsOptions as ek, type EnablePricingPlansForServiceRequest as el, type PricingPlanSelection as em, type InvalidPricingPlan as en, type DisablePricingPlansForServiceRequest as eo, type SetCustomSlugRequest as ep, type ValidateSlugRequest as eq, type CloneServiceRequest as er, type CategoryNotification as es, type Category as et, type Empty as eu, type UserDomainInfoChangedEvent as ev, type HtmlSitePublished as ew, type Page as ex, type SitePropertiesNotification as ey, type SitePropertiesEvent as ez, type BulkUpdateServicesByFilterResponse as f, deleteService as f$, type EventMetadata as f0, type AccountInfoMetadata as f1, type ServicesQueryResult as f2, type ServiceQuerySpec as f3, type ServiceSearchSpec as f4, utils as f5, type ServiceTypeWithLiterals as f6, type RateTypeWithLiterals as f7, type FrequencyTypeWithLiterals as f8, type FirstChargeDateTypeWithLiterals as f9, type MissingValuesWithLiterals as fA, type ScalarTypeWithLiterals as fB, type NestedAggregationTypeWithLiterals as fC, type IntervalWithLiterals as fD, type AggregationTypeWithLiterals as fE, type ModeWithLiterals as fF, type RequestedFieldsWithLiterals as fG, type ActionWithLiterals as fH, type InvalidSlugErrorWithLiterals as fI, type CloneErrorsWithLiterals as fJ, type StatusWithLiterals as fK, type EventWithLiterals as fL, type CrudTypeWithLiterals as fM, type PlacementTypeWithLiterals as fN, type DayOfWeekWithLiterals as fO, type ResolutionMethodWithLiterals as fP, type CommonQueryWithEntityContext as fQ, type CommonSearchWithEntityContext as fR, onServiceCreated as fS, onServiceDeleted as fT, onServiceUpdated as fU, createService as fV, bulkCreateServices as fW, getService as fX, updateService as fY, bulkUpdateServices as fZ, bulkUpdateServicesByFilter as f_, type AddOnPaymentOptionsWithLiterals as fa, type LocationTypeEnumLocationTypeWithLiterals as fb, type RankingOrderWithLiterals as fc, type SortingMethodTypeWithLiterals as fd, type TimingWithLiterals as fe, type CompletionRequirementWithLiterals as ff, type UnitTypeWithLiterals as fg, type WorkingHoursModeWithLiterals as fh, type TaxableAddressTypeWithLiterals as fi, type MultiServiceBookingTypeWithLiterals as fj, type ResourceTransparencyWithLiterals as fk, type LocationTypeWithLiterals as fl, type SelectionMethodWithLiterals as fm, type DurationUnitTypeWithLiterals as fn, type ValueTypeWithLiterals as fo, type BookingStatusWithLiterals as fp, type PaymentStatusWithLiterals as fq, type SelectedPaymentOptionWithLiterals as fr, type PlatformWithLiterals as fs, type ActorWithLiterals as ft, type IdentityTypeWithLiterals as fu, type WebhookIdentityTypeWithLiterals as fv, type V2RequestedFieldsWithLiterals as fw, type SortOrderWithLiterals as fx, type SortTypeWithLiterals as fy, type SortDirectionWithLiterals as fz, type BulkDeleteServicesOptions as g, bulkDeleteServices as g0, bulkDeleteServicesByFilter as g1, queryServices as g2, queryPolicies as g3, queryBookingForms as g4, countServices as g5, queryLocations as g6, queryCategories as g7, setServiceLocations as g8, enablePricingPlansForService as g9, disablePricingPlansForService as ga, setCustomSlug as gb, validateSlug as gc, cloneService as gd, createAddOnGroup as ge, deleteAddOnGroup as gf, updateAddOnGroup as gg, listAddOnGroupsByServiceId as gh, setAddOnsForGroup as gi, type BulkDeleteServicesResponse as h, type BulkDeleteServicesByFilterOptions as i, type BulkDeleteServicesByFilterResponse as j, type ServiceSearch as k, type SearchServicesResponse as l, type CursorQuery as m, type QueryBookingFormsOptions as n, type QueryBookingFormsResponse as o, type QueryBookingFormsApplicationErrors as p, type CountServicesOptions as q, type CountServicesResponse as r, type QueryLocationsOptions as s, type QueryLocationsResponse as t, type QueryCategoriesOptions as u, type QueryCategoriesResponse as v, type SetServiceLocationsOptions as w, type SetServiceLocationsResponse as x, type EnablePricingPlansForServiceApplicationErrors as y, type DisablePricingPlansForServiceOptions as z };
|