@wix/auto_sdk_bookings_services 1.0.73 → 1.0.74
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-B_To7DFS.d.ts → bookings-services-v2-service-services.universal-D6jEh8MN.d.ts} +486 -486
- package/build/cjs/index.d.ts +69 -69
- package/build/cjs/index.js +343 -343
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +299 -299
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +174 -174
- package/build/cjs/meta.js +220 -220
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-B_To7DFS.d.mts → bookings-services-v2-service-services.universal-D6jEh8MN.d.mts} +486 -486
- package/build/es/index.d.mts +69 -69
- package/build/es/index.mjs +343 -343
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +299 -299
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +174 -174
- package/build/es/meta.mjs +220 -220
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-B_To7DFS.d.ts → bookings-services-v2-service-services.universal-D6jEh8MN.d.ts} +486 -486
- package/build/internal/cjs/index.d.ts +69 -69
- package/build/internal/cjs/index.js +343 -343
- 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 +299 -299
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +174 -174
- package/build/internal/cjs/meta.js +220 -220
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-B_To7DFS.d.mts → bookings-services-v2-service-services.universal-D6jEh8MN.d.mts} +486 -486
- package/build/internal/es/index.d.mts +69 -69
- package/build/internal/es/index.mjs +343 -343
- 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 +299 -299
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +174 -174
- package/build/internal/es/meta.mjs +220 -220
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -43,7 +43,7 @@ interface Service {
|
|
|
43
43
|
defaultCapacity?: number | null;
|
|
44
44
|
/** Media associated with the service. */
|
|
45
45
|
media?: Media;
|
|
46
|
-
/** Whether the service is hidden from
|
|
46
|
+
/** Whether the service is hidden from Wix Bookings pages and widgets. */
|
|
47
47
|
hidden?: boolean | null;
|
|
48
48
|
/**
|
|
49
49
|
* _Category_
|
|
@@ -1338,172 +1338,6 @@ declare enum WebhookIdentityType {
|
|
|
1338
1338
|
}
|
|
1339
1339
|
/** @enumType */
|
|
1340
1340
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1341
|
-
interface CreateAddOnGroupRequest {
|
|
1342
|
-
/** AddOnGroup to create. */
|
|
1343
|
-
addOnGroup: AddOnGroup;
|
|
1344
|
-
/**
|
|
1345
|
-
* ID of the service to create the AddOnGroup for.
|
|
1346
|
-
* @format GUID
|
|
1347
|
-
*/
|
|
1348
|
-
serviceId?: string | null;
|
|
1349
|
-
}
|
|
1350
|
-
interface CreateAddOnGroupResponse {
|
|
1351
|
-
/** Created AddOnGroup. */
|
|
1352
|
-
addOnGroup?: AddOnGroup;
|
|
1353
|
-
}
|
|
1354
|
-
interface DeleteAddOnGroupRequest {
|
|
1355
|
-
/**
|
|
1356
|
-
* ID of the AddOnGroup to delete.
|
|
1357
|
-
* @format GUID
|
|
1358
|
-
*/
|
|
1359
|
-
addOnGroupId: string | null;
|
|
1360
|
-
/**
|
|
1361
|
-
* ID of the service from which to delete the AddOnGroup.
|
|
1362
|
-
* @format GUID
|
|
1363
|
-
*/
|
|
1364
|
-
serviceId: string | null;
|
|
1365
|
-
}
|
|
1366
|
-
interface DeleteAddOnGroupResponse {
|
|
1367
|
-
}
|
|
1368
|
-
interface UpdateAddOnGroupRequest {
|
|
1369
|
-
/** AddOnGroup to update. */
|
|
1370
|
-
addOnGroup: AddOnGroup;
|
|
1371
|
-
/**
|
|
1372
|
-
* ID of the service that contains the AddOnGroup.
|
|
1373
|
-
* @format GUID
|
|
1374
|
-
*/
|
|
1375
|
-
serviceId: string | null;
|
|
1376
|
-
}
|
|
1377
|
-
interface UpdateAddOnGroupResponse {
|
|
1378
|
-
/** Updated AddOnGroup */
|
|
1379
|
-
addOnGroup?: AddOnGroup;
|
|
1380
|
-
}
|
|
1381
|
-
interface ListAddOnGroupsByServiceIdRequest {
|
|
1382
|
-
/**
|
|
1383
|
-
* ID of the service to retrieve AddOnGroups for.
|
|
1384
|
-
* @format GUID
|
|
1385
|
-
*/
|
|
1386
|
-
serviceId: string | null;
|
|
1387
|
-
/**
|
|
1388
|
-
* List of group ids to return. If not provided, all groups are returned.
|
|
1389
|
-
* @format GUID
|
|
1390
|
-
* @maxSize 3
|
|
1391
|
-
*/
|
|
1392
|
-
groupIds?: string[] | null;
|
|
1393
|
-
}
|
|
1394
|
-
interface ListAddOnGroupsByServiceIdResponse {
|
|
1395
|
-
/**
|
|
1396
|
-
* List of group IDs and their linked AddOns.
|
|
1397
|
-
* @maxSize 3
|
|
1398
|
-
*/
|
|
1399
|
-
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
1400
|
-
}
|
|
1401
|
-
interface AddOn extends AddOnAddOnInfoOneOf {
|
|
1402
|
-
/** The AddOn description. */
|
|
1403
|
-
durationInMinutes?: number;
|
|
1404
|
-
/** The AddOn max quantity. */
|
|
1405
|
-
maxQuantity?: number;
|
|
1406
|
-
/**
|
|
1407
|
-
* The AddOn ID.
|
|
1408
|
-
* @format GUID
|
|
1409
|
-
*/
|
|
1410
|
-
addOnId?: string | null;
|
|
1411
|
-
/**
|
|
1412
|
-
* The AddOn name.
|
|
1413
|
-
* @maxLength 100
|
|
1414
|
-
*/
|
|
1415
|
-
name?: string | null;
|
|
1416
|
-
/** The AddOn price. */
|
|
1417
|
-
price?: Money;
|
|
1418
|
-
}
|
|
1419
|
-
/** @oneof */
|
|
1420
|
-
interface AddOnAddOnInfoOneOf {
|
|
1421
|
-
/** The AddOn description. */
|
|
1422
|
-
durationInMinutes?: number;
|
|
1423
|
-
/** The AddOn max quantity. */
|
|
1424
|
-
maxQuantity?: number;
|
|
1425
|
-
}
|
|
1426
|
-
interface AddOnGroupDetail {
|
|
1427
|
-
/**
|
|
1428
|
-
* The group ID.
|
|
1429
|
-
* @format GUID
|
|
1430
|
-
*/
|
|
1431
|
-
groupId?: string | null;
|
|
1432
|
-
/** The group max number of AddOns. */
|
|
1433
|
-
maxNumberOfAddOns?: number | null;
|
|
1434
|
-
/**
|
|
1435
|
-
* The group name.
|
|
1436
|
-
* @maxLength 100
|
|
1437
|
-
*/
|
|
1438
|
-
groupName?: string | null;
|
|
1439
|
-
/**
|
|
1440
|
-
* The AddOns information linked to the group.
|
|
1441
|
-
* @maxSize 7
|
|
1442
|
-
*/
|
|
1443
|
-
addOns?: AddOn[];
|
|
1444
|
-
/**
|
|
1445
|
-
* The group prompt.
|
|
1446
|
-
* @maxLength 200
|
|
1447
|
-
*/
|
|
1448
|
-
prompt?: string | null;
|
|
1449
|
-
}
|
|
1450
|
-
interface SetAddOnsForGroupRequest {
|
|
1451
|
-
/**
|
|
1452
|
-
* The service ID to set AddOns for.
|
|
1453
|
-
* @format GUID
|
|
1454
|
-
*/
|
|
1455
|
-
serviceId: string | null;
|
|
1456
|
-
/**
|
|
1457
|
-
* The group ID to set AddOns for.
|
|
1458
|
-
* @format GUID
|
|
1459
|
-
*/
|
|
1460
|
-
groupId: string | null;
|
|
1461
|
-
/**
|
|
1462
|
-
* The IDs of AddOns to set.
|
|
1463
|
-
* @format GUID
|
|
1464
|
-
* @minSize 1
|
|
1465
|
-
* @maxSize 7
|
|
1466
|
-
*/
|
|
1467
|
-
addOnIds: string[] | null;
|
|
1468
|
-
}
|
|
1469
|
-
interface SetAddOnsForGroupResponse {
|
|
1470
|
-
/** The updated AddOnGroup. */
|
|
1471
|
-
addOnGroup?: AddOnGroup;
|
|
1472
|
-
}
|
|
1473
|
-
interface ValidateAddOnsSelectionRequest {
|
|
1474
|
-
/**
|
|
1475
|
-
* The service ID to validate AddOns against.
|
|
1476
|
-
* @format GUID
|
|
1477
|
-
*/
|
|
1478
|
-
serviceId: string | null;
|
|
1479
|
-
/**
|
|
1480
|
-
* The group ID to validate AddOns against.
|
|
1481
|
-
* @format GUID
|
|
1482
|
-
*/
|
|
1483
|
-
groupId: string | null;
|
|
1484
|
-
/**
|
|
1485
|
-
* The IDs of AddOns to validate.
|
|
1486
|
-
* @format GUID
|
|
1487
|
-
* @minSize 1
|
|
1488
|
-
* @maxSize 7
|
|
1489
|
-
*/
|
|
1490
|
-
addOnIds: string[] | null;
|
|
1491
|
-
}
|
|
1492
|
-
interface ValidateAddOnsSelectionResponse {
|
|
1493
|
-
/** The validation result. */
|
|
1494
|
-
result?: ValidationResult;
|
|
1495
|
-
}
|
|
1496
|
-
interface ValidationResult {
|
|
1497
|
-
/** Whether the AddOns selection is valid. */
|
|
1498
|
-
valid?: boolean | null;
|
|
1499
|
-
/**
|
|
1500
|
-
* A validation error message.
|
|
1501
|
-
* This field should populated when `valid` is `false`.
|
|
1502
|
-
* @minLength 1
|
|
1503
|
-
* @maxLength 300
|
|
1504
|
-
*/
|
|
1505
|
-
message?: string | null;
|
|
1506
|
-
}
|
|
1507
1341
|
interface CreateServiceRequest {
|
|
1508
1342
|
/** Service to create. */
|
|
1509
1343
|
service: Service;
|
|
@@ -3412,96 +3246,247 @@ interface SiteCloned {
|
|
|
3412
3246
|
/** Origin site id. */
|
|
3413
3247
|
originMetaSiteId?: string;
|
|
3414
3248
|
}
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
}
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
}
|
|
3455
|
-
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
}
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3249
|
+
interface CreateAddOnGroupRequest {
|
|
3250
|
+
/** AddOnGroup to create. */
|
|
3251
|
+
addOnGroup: AddOnGroup;
|
|
3252
|
+
/**
|
|
3253
|
+
* ID of the service to create the AddOnGroup for.
|
|
3254
|
+
* @format GUID
|
|
3255
|
+
*/
|
|
3256
|
+
serviceId?: string | null;
|
|
3257
|
+
}
|
|
3258
|
+
interface CreateAddOnGroupResponse {
|
|
3259
|
+
/** Created AddOnGroup. */
|
|
3260
|
+
addOnGroup?: AddOnGroup;
|
|
3261
|
+
}
|
|
3262
|
+
interface DeleteAddOnGroupRequest {
|
|
3263
|
+
/**
|
|
3264
|
+
* ID of the AddOnGroup to delete.
|
|
3265
|
+
* @format GUID
|
|
3266
|
+
*/
|
|
3267
|
+
addOnGroupId: string | null;
|
|
3268
|
+
/**
|
|
3269
|
+
* ID of the service from which to delete the AddOnGroup.
|
|
3270
|
+
* @format GUID
|
|
3271
|
+
*/
|
|
3272
|
+
serviceId: string | null;
|
|
3273
|
+
}
|
|
3274
|
+
interface DeleteAddOnGroupResponse {
|
|
3275
|
+
}
|
|
3276
|
+
interface UpdateAddOnGroupRequest {
|
|
3277
|
+
/** AddOnGroup to update. */
|
|
3278
|
+
addOnGroup: AddOnGroup;
|
|
3279
|
+
/**
|
|
3280
|
+
* ID of the service that contains the AddOnGroup.
|
|
3281
|
+
* @format GUID
|
|
3282
|
+
*/
|
|
3283
|
+
serviceId: string | null;
|
|
3284
|
+
}
|
|
3285
|
+
interface UpdateAddOnGroupResponse {
|
|
3286
|
+
/** Updated AddOnGroup */
|
|
3287
|
+
addOnGroup?: AddOnGroup;
|
|
3288
|
+
}
|
|
3289
|
+
interface ListAddOnGroupsByServiceIdRequest {
|
|
3290
|
+
/**
|
|
3291
|
+
* ID of the service to retrieve AddOnGroups for.
|
|
3292
|
+
* @format GUID
|
|
3293
|
+
*/
|
|
3294
|
+
serviceId: string | null;
|
|
3295
|
+
/**
|
|
3296
|
+
* List of group ids to return. If not provided, all groups are returned.
|
|
3297
|
+
* @format GUID
|
|
3298
|
+
* @maxSize 3
|
|
3299
|
+
*/
|
|
3300
|
+
groupIds?: string[] | null;
|
|
3301
|
+
}
|
|
3302
|
+
interface ListAddOnGroupsByServiceIdResponse {
|
|
3303
|
+
/**
|
|
3304
|
+
* List of group IDs and their linked AddOns.
|
|
3305
|
+
* @maxSize 3
|
|
3306
|
+
*/
|
|
3307
|
+
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
3308
|
+
}
|
|
3309
|
+
interface AddOn extends AddOnAddOnInfoOneOf {
|
|
3310
|
+
/** The AddOn description. */
|
|
3311
|
+
durationInMinutes?: number;
|
|
3312
|
+
/** The AddOn max quantity. */
|
|
3313
|
+
maxQuantity?: number;
|
|
3314
|
+
/**
|
|
3315
|
+
* The AddOn ID.
|
|
3316
|
+
* @format GUID
|
|
3317
|
+
*/
|
|
3318
|
+
addOnId?: string | null;
|
|
3319
|
+
/**
|
|
3320
|
+
* The AddOn name.
|
|
3321
|
+
* @maxLength 100
|
|
3322
|
+
*/
|
|
3323
|
+
name?: string | null;
|
|
3324
|
+
/** The AddOn price. */
|
|
3325
|
+
price?: Money;
|
|
3326
|
+
}
|
|
3327
|
+
/** @oneof */
|
|
3328
|
+
interface AddOnAddOnInfoOneOf {
|
|
3329
|
+
/** The AddOn description. */
|
|
3330
|
+
durationInMinutes?: number;
|
|
3331
|
+
/** The AddOn max quantity. */
|
|
3332
|
+
maxQuantity?: number;
|
|
3333
|
+
}
|
|
3334
|
+
interface AddOnGroupDetail {
|
|
3335
|
+
/**
|
|
3336
|
+
* The group ID.
|
|
3337
|
+
* @format GUID
|
|
3338
|
+
*/
|
|
3339
|
+
groupId?: string | null;
|
|
3340
|
+
/** The group max number of AddOns. */
|
|
3341
|
+
maxNumberOfAddOns?: number | null;
|
|
3342
|
+
/**
|
|
3343
|
+
* The group name.
|
|
3344
|
+
* @maxLength 100
|
|
3345
|
+
*/
|
|
3346
|
+
groupName?: string | null;
|
|
3347
|
+
/**
|
|
3348
|
+
* The AddOns information linked to the group.
|
|
3349
|
+
* @maxSize 7
|
|
3350
|
+
*/
|
|
3351
|
+
addOns?: AddOn[];
|
|
3352
|
+
/**
|
|
3353
|
+
* The group prompt.
|
|
3354
|
+
* @maxLength 200
|
|
3355
|
+
*/
|
|
3356
|
+
prompt?: string | null;
|
|
3357
|
+
}
|
|
3358
|
+
interface SetAddOnsForGroupRequest {
|
|
3359
|
+
/**
|
|
3360
|
+
* The service ID to set AddOns for.
|
|
3361
|
+
* @format GUID
|
|
3362
|
+
*/
|
|
3363
|
+
serviceId: string | null;
|
|
3364
|
+
/**
|
|
3365
|
+
* The group ID to set AddOns for.
|
|
3366
|
+
* @format GUID
|
|
3367
|
+
*/
|
|
3368
|
+
groupId: string | null;
|
|
3369
|
+
/**
|
|
3370
|
+
* The IDs of AddOns to set.
|
|
3371
|
+
* @format GUID
|
|
3372
|
+
* @minSize 1
|
|
3373
|
+
* @maxSize 7
|
|
3374
|
+
*/
|
|
3375
|
+
addOnIds: string[] | null;
|
|
3376
|
+
}
|
|
3377
|
+
interface SetAddOnsForGroupResponse {
|
|
3378
|
+
/** The updated AddOnGroup. */
|
|
3379
|
+
addOnGroup?: AddOnGroup;
|
|
3380
|
+
}
|
|
3381
|
+
interface ValidateAddOnsSelectionRequest {
|
|
3382
|
+
/**
|
|
3383
|
+
* The service ID to validate AddOns against.
|
|
3384
|
+
* @format GUID
|
|
3385
|
+
*/
|
|
3386
|
+
serviceId: string | null;
|
|
3387
|
+
/**
|
|
3388
|
+
* The group ID to validate AddOns against.
|
|
3389
|
+
* @format GUID
|
|
3390
|
+
*/
|
|
3391
|
+
groupId: string | null;
|
|
3392
|
+
/**
|
|
3393
|
+
* The IDs of AddOns to validate.
|
|
3394
|
+
* @format GUID
|
|
3395
|
+
* @minSize 1
|
|
3396
|
+
* @maxSize 7
|
|
3397
|
+
*/
|
|
3398
|
+
addOnIds: string[] | null;
|
|
3399
|
+
}
|
|
3400
|
+
interface ValidateAddOnsSelectionResponse {
|
|
3401
|
+
/** The validation result. */
|
|
3402
|
+
result?: ValidationResult;
|
|
3403
|
+
}
|
|
3404
|
+
interface ValidationResult {
|
|
3405
|
+
/** Whether the AddOns selection is valid. */
|
|
3406
|
+
valid?: boolean | null;
|
|
3407
|
+
/**
|
|
3408
|
+
* A validation error message.
|
|
3409
|
+
* This field should populated when `valid` is `false`.
|
|
3410
|
+
* @minLength 1
|
|
3411
|
+
* @maxLength 300
|
|
3412
|
+
*/
|
|
3413
|
+
message?: string | null;
|
|
3414
|
+
}
|
|
3415
|
+
type CreateServiceValidationErrors = {
|
|
3416
|
+
ruleName?: 'INVALID_FORM';
|
|
3417
|
+
} | {
|
|
3418
|
+
ruleName?: 'INVALID_CATEGORY';
|
|
3419
|
+
} | {
|
|
3420
|
+
ruleName?: 'INVALID_BOOKING_POLICY';
|
|
3421
|
+
} | {
|
|
3422
|
+
ruleName?: 'INVALID_SERVICE_TYPE';
|
|
3423
|
+
} | {
|
|
3424
|
+
ruleName?: 'INVALID_SERVICE_NAME';
|
|
3425
|
+
} | {
|
|
3426
|
+
ruleName?: 'INVALID_ONLINE_BOOKING';
|
|
3427
|
+
} | {
|
|
3428
|
+
ruleName?: 'INVALID_STAFF_MEMBER_IDS';
|
|
3429
|
+
} | {
|
|
3430
|
+
ruleName?: 'PAYMENT_REQUIRED';
|
|
3431
|
+
} | {
|
|
3432
|
+
ruleName?: 'INVALID_PAYMENT_TYPE';
|
|
3433
|
+
} | {
|
|
3434
|
+
ruleName?: 'INVALID_RATE';
|
|
3435
|
+
} | {
|
|
3436
|
+
ruleName?: 'INVALID_PAYMENT_OPTIONS';
|
|
3437
|
+
} | {
|
|
3438
|
+
ruleName?: 'INVALID_BUSINESS_LOCATIONS';
|
|
3439
|
+
} | {
|
|
3440
|
+
ruleName?: 'INVALID_LOCATIONS';
|
|
3441
|
+
} | {
|
|
3442
|
+
ruleName?: 'INVALID_BUSINESS_LOCATION';
|
|
3443
|
+
} | {
|
|
3444
|
+
ruleName?: 'INVALID_CUSTOM_LOCATION';
|
|
3445
|
+
} | {
|
|
3446
|
+
ruleName?: 'INVALID_CUSTOMER_LOCATION';
|
|
3447
|
+
} | {
|
|
3448
|
+
ruleName?: 'INVALID_UNKNOWN_LOCATION';
|
|
3449
|
+
} | {
|
|
3450
|
+
ruleName?: 'INVALID_MANUAL_APPROVAL_WITH_PRICING_PLANS';
|
|
3451
|
+
} | {
|
|
3452
|
+
ruleName?: 'INVALID_DEFAULT_CAPACITY';
|
|
3453
|
+
} | {
|
|
3454
|
+
ruleName?: 'INVALID_APPOINTMENT_CAPACITY';
|
|
3455
|
+
} | {
|
|
3456
|
+
ruleName?: 'INVALID_SESSION_DURATION';
|
|
3457
|
+
};
|
|
3458
|
+
type UpdateServiceValidationErrors = {
|
|
3459
|
+
ruleName?: 'INVALID_FORM';
|
|
3460
|
+
} | {
|
|
3461
|
+
ruleName?: 'INVALID_CATEGORY';
|
|
3462
|
+
} | {
|
|
3463
|
+
ruleName?: 'INVALID_BOOKING_POLICY';
|
|
3464
|
+
} | {
|
|
3465
|
+
ruleName?: 'INVALID_SERVICE_TYPE';
|
|
3466
|
+
} | {
|
|
3467
|
+
ruleName?: 'INVALID_SERVICE_NAME';
|
|
3468
|
+
} | {
|
|
3469
|
+
ruleName?: 'INVALID_ONLINE_BOOKING';
|
|
3470
|
+
} | {
|
|
3471
|
+
ruleName?: 'INVALID_STAFF_MEMBER_IDS';
|
|
3472
|
+
} | {
|
|
3473
|
+
ruleName?: 'PAYMENT_REQUIRED';
|
|
3474
|
+
} | {
|
|
3475
|
+
ruleName?: 'INVALID_PAYMENT_TYPE';
|
|
3476
|
+
} | {
|
|
3477
|
+
ruleName?: 'INVALID_RATE';
|
|
3478
|
+
} | {
|
|
3479
|
+
ruleName?: 'INVALID_PAYMENT_OPTIONS';
|
|
3480
|
+
} | {
|
|
3481
|
+
ruleName?: 'INVALID_BUSINESS_LOCATIONS';
|
|
3482
|
+
} | {
|
|
3483
|
+
ruleName?: 'INVALID_LOCATIONS';
|
|
3484
|
+
} | {
|
|
3485
|
+
ruleName?: 'INVALID_BUSINESS_LOCATION';
|
|
3486
|
+
} | {
|
|
3487
|
+
ruleName?: 'INVALID_CUSTOM_LOCATION';
|
|
3488
|
+
} | {
|
|
3489
|
+
ruleName?: 'INVALID_CUSTOMER_LOCATION';
|
|
3505
3490
|
} | {
|
|
3506
3491
|
ruleName?: 'INVALID_UNKNOWN_LOCATION';
|
|
3507
3492
|
} | {
|
|
@@ -3540,6 +3525,21 @@ type SetCustomSlugApplicationErrors = {
|
|
|
3540
3525
|
type SetCustomSlugValidationErrors = {
|
|
3541
3526
|
ruleName?: 'SLUG_CONTAINS_ILLEGAL_CHARACTERS';
|
|
3542
3527
|
};
|
|
3528
|
+
type DeleteAddOnGroupApplicationErrors = {
|
|
3529
|
+
code?: 'GROUP_NOT_ON_SERVICE';
|
|
3530
|
+
description?: string;
|
|
3531
|
+
data?: Record<string, any>;
|
|
3532
|
+
};
|
|
3533
|
+
type UpdateAddOnGroupApplicationErrors = {
|
|
3534
|
+
code?: 'GROUP_NOT_ON_SERVICE';
|
|
3535
|
+
description?: string;
|
|
3536
|
+
data?: Record<string, any>;
|
|
3537
|
+
};
|
|
3538
|
+
type SetAddOnsForGroupApplicationErrors = {
|
|
3539
|
+
code?: 'ADD_ON_GROUP_NOT_FOUND';
|
|
3540
|
+
description?: string;
|
|
3541
|
+
data?: Record<string, any>;
|
|
3542
|
+
};
|
|
3543
3543
|
interface BaseEventMetadata {
|
|
3544
3544
|
/**
|
|
3545
3545
|
* App instance ID.
|
|
@@ -3579,238 +3579,90 @@ interface EventMetadata extends BaseEventMetadata {
|
|
|
3579
3579
|
/** If present, indicates the action that triggered the event. */
|
|
3580
3580
|
originatedFrom?: string | null;
|
|
3581
3581
|
/**
|
|
3582
|
-
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
3583
|
-
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
3584
|
-
*/
|
|
3585
|
-
entityEventSequence?: string | null;
|
|
3586
|
-
}
|
|
3587
|
-
interface ServiceCreatedEnvelope {
|
|
3588
|
-
entity: Service;
|
|
3589
|
-
metadata: EventMetadata;
|
|
3590
|
-
}
|
|
3591
|
-
/**
|
|
3592
|
-
* Triggered when a service is created.
|
|
3593
|
-
* @permissionScope Manage Stores
|
|
3594
|
-
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
3595
|
-
* @permissionScope Read Bookings - Public Data
|
|
3596
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
|
|
3597
|
-
* @permissionScope Manage Bookings Services and Settings
|
|
3598
|
-
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
3599
|
-
* @permissionScope Manage Bookings
|
|
3600
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
3601
|
-
* @permissionScope Read Bookings - Including Participants
|
|
3602
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
|
|
3603
|
-
* @permissionScope Read Bookings - all read permissions
|
|
3604
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
|
|
3605
|
-
* @permissionScope Manage Bookings - all permissions
|
|
3606
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
3607
|
-
* @permissionId BOOKINGS.SERVICES_READ
|
|
3608
|
-
* @webhook
|
|
3609
|
-
* @eventType wix.bookings.services.v2.service_created
|
|
3610
|
-
* @slug created
|
|
3611
|
-
*/
|
|
3612
|
-
declare function onServiceCreated(handler: (event: ServiceCreatedEnvelope) => void | Promise<void>): void;
|
|
3613
|
-
interface ServiceDeletedEnvelope {
|
|
3614
|
-
entity: Service;
|
|
3615
|
-
metadata: EventMetadata;
|
|
3616
|
-
}
|
|
3617
|
-
/**
|
|
3618
|
-
* Triggered when a service is deleted.
|
|
3619
|
-
* @permissionScope Manage Stores
|
|
3620
|
-
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
3621
|
-
* @permissionScope Read Bookings - Public Data
|
|
3622
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
|
|
3623
|
-
* @permissionScope Manage Bookings Services and Settings
|
|
3624
|
-
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
3625
|
-
* @permissionScope Manage Bookings
|
|
3626
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
3627
|
-
* @permissionScope Read Bookings - Including Participants
|
|
3628
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
|
|
3629
|
-
* @permissionScope Read Bookings - all read permissions
|
|
3630
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
|
|
3631
|
-
* @permissionScope Manage Bookings - all permissions
|
|
3632
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
3633
|
-
* @permissionId BOOKINGS.SERVICES_READ
|
|
3634
|
-
* @webhook
|
|
3635
|
-
* @eventType wix.bookings.services.v2.service_deleted
|
|
3636
|
-
* @slug deleted
|
|
3637
|
-
*/
|
|
3638
|
-
declare function onServiceDeleted(handler: (event: ServiceDeletedEnvelope) => void | Promise<void>): void;
|
|
3639
|
-
interface ServiceUpdatedEnvelope {
|
|
3640
|
-
entity: Service;
|
|
3641
|
-
metadata: EventMetadata;
|
|
3642
|
-
}
|
|
3643
|
-
/**
|
|
3644
|
-
* Triggered when a service is updated.
|
|
3645
|
-
* @permissionScope Manage Stores
|
|
3646
|
-
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
3647
|
-
* @permissionScope Read Bookings - Public Data
|
|
3648
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
|
|
3649
|
-
* @permissionScope Manage Bookings Services and Settings
|
|
3650
|
-
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
3651
|
-
* @permissionScope Manage Bookings
|
|
3652
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
3653
|
-
* @permissionScope Read Bookings - Including Participants
|
|
3654
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
|
|
3655
|
-
* @permissionScope Read Bookings - all read permissions
|
|
3656
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
|
|
3657
|
-
* @permissionScope Manage Bookings - all permissions
|
|
3658
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
3659
|
-
* @permissionId BOOKINGS.SERVICES_READ
|
|
3660
|
-
* @webhook
|
|
3661
|
-
* @eventType wix.bookings.services.v2.service_updated
|
|
3662
|
-
* @slug updated
|
|
3663
|
-
*/
|
|
3664
|
-
declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => void | Promise<void>): void;
|
|
3665
|
-
type ServiceNonNullablePaths = `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.business.address.streetAddress.number` | `locations.${number}.business.address.streetAddress.name` | `locations.${number}.business.address.streetAddress.apt` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.amount.value` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.amount.currency` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `mainSlug.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain`;
|
|
3666
|
-
/**
|
|
3667
|
-
* Create a new AddOns group.
|
|
3668
|
-
* An AddOns group defines a collection of AddOns that can be linked to a Service,
|
|
3669
|
-
* with constraints such as minimum and maximum selections.
|
|
3670
|
-
* @param addOnGroup - AddOnGroup to create.
|
|
3671
|
-
* @public
|
|
3672
|
-
* @documentationMaturity preview
|
|
3673
|
-
* @requiredField addOnGroup
|
|
3674
|
-
* @requiredField addOnGroup.name
|
|
3675
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
3676
|
-
* @applicableIdentity APP
|
|
3677
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
|
|
3678
|
-
*/
|
|
3679
|
-
declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`>>;
|
|
3680
|
-
interface CreateAddOnGroupOptions {
|
|
3681
|
-
/**
|
|
3682
|
-
* ID of the service to create the AddOnGroup for.
|
|
3683
|
-
* @format GUID
|
|
3684
|
-
*/
|
|
3685
|
-
serviceId?: string | null;
|
|
3686
|
-
}
|
|
3687
|
-
/**
|
|
3688
|
-
* Delete an existing AddOns group.
|
|
3689
|
-
* This will remove the group and unlink all associated AddOns.
|
|
3690
|
-
* @param addOnGroupId - ID of the AddOnGroup to delete.
|
|
3691
|
-
* @public
|
|
3692
|
-
* @documentationMaturity preview
|
|
3693
|
-
* @requiredField addOnGroupId
|
|
3694
|
-
* @requiredField options
|
|
3695
|
-
* @requiredField options.serviceId
|
|
3696
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
3697
|
-
* @applicableIdentity APP
|
|
3698
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
|
|
3699
|
-
*/
|
|
3700
|
-
declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`>): Promise<void & {
|
|
3701
|
-
__applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
|
|
3702
|
-
}>;
|
|
3703
|
-
interface DeleteAddOnGroupOptions {
|
|
3704
|
-
/**
|
|
3705
|
-
* ID of the service from which to delete the AddOnGroup.
|
|
3706
|
-
* @format GUID
|
|
3707
|
-
*/
|
|
3708
|
-
serviceId: string | null;
|
|
3709
|
-
}
|
|
3710
|
-
/**
|
|
3711
|
-
* Update an existing AddOns group.
|
|
3712
|
-
* This allows modifying group settings such as its name, prompt, constraints, or associated AddOns.
|
|
3713
|
-
* @param addOnGroup - AddOnGroup to update.
|
|
3714
|
-
* @public
|
|
3715
|
-
* @documentationMaturity preview
|
|
3716
|
-
* @requiredField addOnGroup
|
|
3717
|
-
* @requiredField addOnGroup._id
|
|
3718
|
-
* @requiredField options
|
|
3719
|
-
* @requiredField options.serviceId
|
|
3720
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
|
|
3721
|
-
* @applicableIdentity APP
|
|
3722
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
|
|
3723
|
-
*/
|
|
3724
|
-
declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`> & {
|
|
3725
|
-
__applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
|
|
3726
|
-
}>;
|
|
3727
|
-
interface UpdateAddOnGroupOptions {
|
|
3728
|
-
/**
|
|
3729
|
-
* ID of the service that contains the AddOnGroup.
|
|
3730
|
-
* @format GUID
|
|
3731
|
-
*/
|
|
3732
|
-
serviceId: string | null;
|
|
3733
|
-
}
|
|
3734
|
-
/**
|
|
3735
|
-
* Retrieves a list of AddOnGroups including enriched AddOn details in the correct order.
|
|
3736
|
-
* If the group_id is specified, only the AddOns for the specified group will be returned,
|
|
3737
|
-
* otherwise all groups will be returned.
|
|
3738
|
-
* @param serviceId - ID of the service to retrieve AddOnGroups for.
|
|
3739
|
-
* @public
|
|
3740
|
-
* @documentationMaturity preview
|
|
3741
|
-
* @requiredField serviceId
|
|
3742
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
|
|
3743
|
-
* @applicableIdentity APP
|
|
3744
|
-
* @applicableIdentity VISITOR
|
|
3745
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
|
|
3746
|
-
*/
|
|
3747
|
-
declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`>>;
|
|
3748
|
-
interface ListAddOnGroupsByServiceIdOptions {
|
|
3749
|
-
/**
|
|
3750
|
-
* List of group ids to return. If not provided, all groups are returned.
|
|
3751
|
-
* @format GUID
|
|
3752
|
-
* @maxSize 3
|
|
3753
|
-
*/
|
|
3754
|
-
groupIds?: string[] | null;
|
|
3755
|
-
}
|
|
3756
|
-
/**
|
|
3757
|
-
* Sets the AddOns for a specific group.
|
|
3758
|
-
* The order of the AddOns in the list will be used to determine their display order.
|
|
3759
|
-
* @param serviceId - The service ID to set AddOns for.
|
|
3760
|
-
* @public
|
|
3761
|
-
* @documentationMaturity preview
|
|
3762
|
-
* @requiredField options
|
|
3763
|
-
* @requiredField options.addOnIds
|
|
3764
|
-
* @requiredField options.groupId
|
|
3765
|
-
* @requiredField serviceId
|
|
3766
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
|
|
3767
|
-
* @applicableIdentity APP
|
|
3768
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
|
|
3769
|
-
*/
|
|
3770
|
-
declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`> & {
|
|
3771
|
-
__applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
|
|
3772
|
-
}>;
|
|
3773
|
-
interface SetAddOnsForGroupOptions {
|
|
3774
|
-
/**
|
|
3775
|
-
* The group ID to set AddOns for.
|
|
3776
|
-
* @format GUID
|
|
3777
|
-
*/
|
|
3778
|
-
groupId: string | null;
|
|
3779
|
-
/**
|
|
3780
|
-
* The IDs of AddOns to set.
|
|
3781
|
-
* @format GUID
|
|
3782
|
-
* @minSize 1
|
|
3783
|
-
* @maxSize 7
|
|
3582
|
+
* A sequence number that indicates the order of updates to an entity. For example, if an entity was updated at 16:00 and then again at 16:01, the second update will always have a higher sequence number.
|
|
3583
|
+
* You can use this number to make sure you're handling updates in the right order. Just save the latest sequence number on your end and compare it to the one in each new message. If the new message has an older (lower) number, you can safely ignore it.
|
|
3784
3584
|
*/
|
|
3785
|
-
|
|
3585
|
+
entityEventSequence?: string | null;
|
|
3586
|
+
}
|
|
3587
|
+
interface ServiceCreatedEnvelope {
|
|
3588
|
+
entity: Service;
|
|
3589
|
+
metadata: EventMetadata;
|
|
3786
3590
|
}
|
|
3787
3591
|
/**
|
|
3788
|
-
*
|
|
3789
|
-
* @
|
|
3790
|
-
* @
|
|
3791
|
-
* @
|
|
3792
|
-
* @
|
|
3793
|
-
* @
|
|
3794
|
-
* @
|
|
3795
|
-
* @
|
|
3796
|
-
* @
|
|
3797
|
-
* @
|
|
3592
|
+
* Triggered when a service is created.
|
|
3593
|
+
* @permissionScope Manage Stores
|
|
3594
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
3595
|
+
* @permissionScope Read Bookings - Public Data
|
|
3596
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
|
|
3597
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
3598
|
+
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
3599
|
+
* @permissionScope Manage Bookings
|
|
3600
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
3601
|
+
* @permissionScope Read Bookings - Including Participants
|
|
3602
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
|
|
3603
|
+
* @permissionScope Read Bookings - all read permissions
|
|
3604
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
|
|
3605
|
+
* @permissionScope Manage Bookings - all permissions
|
|
3606
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
3607
|
+
* @permissionId BOOKINGS.SERVICES_READ
|
|
3608
|
+
* @webhook
|
|
3609
|
+
* @eventType wix.bookings.services.v2.service_created
|
|
3610
|
+
* @slug created
|
|
3798
3611
|
*/
|
|
3799
|
-
declare function
|
|
3800
|
-
interface
|
|
3801
|
-
|
|
3802
|
-
|
|
3803
|
-
|
|
3804
|
-
|
|
3805
|
-
|
|
3806
|
-
|
|
3807
|
-
|
|
3808
|
-
|
|
3809
|
-
|
|
3810
|
-
|
|
3811
|
-
|
|
3812
|
-
|
|
3612
|
+
declare function onServiceCreated(handler: (event: ServiceCreatedEnvelope) => void | Promise<void>): void;
|
|
3613
|
+
interface ServiceDeletedEnvelope {
|
|
3614
|
+
entity: Service;
|
|
3615
|
+
metadata: EventMetadata;
|
|
3616
|
+
}
|
|
3617
|
+
/**
|
|
3618
|
+
* Triggered when a service is deleted.
|
|
3619
|
+
* @permissionScope Manage Stores
|
|
3620
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
3621
|
+
* @permissionScope Read Bookings - Public Data
|
|
3622
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
|
|
3623
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
3624
|
+
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
3625
|
+
* @permissionScope Manage Bookings
|
|
3626
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
3627
|
+
* @permissionScope Read Bookings - Including Participants
|
|
3628
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
|
|
3629
|
+
* @permissionScope Read Bookings - all read permissions
|
|
3630
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
|
|
3631
|
+
* @permissionScope Manage Bookings - all permissions
|
|
3632
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
3633
|
+
* @permissionId BOOKINGS.SERVICES_READ
|
|
3634
|
+
* @webhook
|
|
3635
|
+
* @eventType wix.bookings.services.v2.service_deleted
|
|
3636
|
+
* @slug deleted
|
|
3637
|
+
*/
|
|
3638
|
+
declare function onServiceDeleted(handler: (event: ServiceDeletedEnvelope) => void | Promise<void>): void;
|
|
3639
|
+
interface ServiceUpdatedEnvelope {
|
|
3640
|
+
entity: Service;
|
|
3641
|
+
metadata: EventMetadata;
|
|
3813
3642
|
}
|
|
3643
|
+
/**
|
|
3644
|
+
* Triggered when a service is updated.
|
|
3645
|
+
* @permissionScope Manage Stores
|
|
3646
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
3647
|
+
* @permissionScope Read Bookings - Public Data
|
|
3648
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
|
|
3649
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
3650
|
+
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
3651
|
+
* @permissionScope Manage Bookings
|
|
3652
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
3653
|
+
* @permissionScope Read Bookings - Including Participants
|
|
3654
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
|
|
3655
|
+
* @permissionScope Read Bookings - all read permissions
|
|
3656
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
|
|
3657
|
+
* @permissionScope Manage Bookings - all permissions
|
|
3658
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
3659
|
+
* @permissionId BOOKINGS.SERVICES_READ
|
|
3660
|
+
* @webhook
|
|
3661
|
+
* @eventType wix.bookings.services.v2.service_updated
|
|
3662
|
+
* @slug updated
|
|
3663
|
+
*/
|
|
3664
|
+
declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => void | Promise<void>): void;
|
|
3665
|
+
type ServiceNonNullablePaths = `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.business.address.streetAddress.number` | `locations.${number}.business.address.streetAddress.name` | `locations.${number}.business.address.streetAddress.apt` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.amount.value` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.amount.currency` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `mainSlug.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain`;
|
|
3814
3666
|
/**
|
|
3815
3667
|
* Creates a service.
|
|
3816
3668
|
*
|
|
@@ -3970,7 +3822,7 @@ interface UpdateService {
|
|
|
3970
3822
|
defaultCapacity?: number | null;
|
|
3971
3823
|
/** Media associated with the service. */
|
|
3972
3824
|
media?: Media;
|
|
3973
|
-
/** Whether the service is hidden from
|
|
3825
|
+
/** Whether the service is hidden from Wix Bookings pages and widgets. */
|
|
3974
3826
|
hidden?: boolean | null;
|
|
3975
3827
|
/**
|
|
3976
3828
|
* _Category_
|
|
@@ -4967,5 +4819,153 @@ interface ValidateSlugOptions {
|
|
|
4967
4819
|
declare function cloneService(sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, {
|
|
4968
4820
|
[P in ServiceNonNullablePaths]: `service.${P}`;
|
|
4969
4821
|
}[ServiceNonNullablePaths] | `errors`>>;
|
|
4822
|
+
/**
|
|
4823
|
+
* Create a new AddOns group.
|
|
4824
|
+
* An AddOns group defines a collection of AddOns that can be linked to a Service,
|
|
4825
|
+
* with constraints such as minimum and maximum selections.
|
|
4826
|
+
* @param addOnGroup - AddOnGroup to create.
|
|
4827
|
+
* @public
|
|
4828
|
+
* @documentationMaturity preview
|
|
4829
|
+
* @requiredField addOnGroup
|
|
4830
|
+
* @requiredField addOnGroup.name
|
|
4831
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
4832
|
+
* @applicableIdentity APP
|
|
4833
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
|
|
4834
|
+
*/
|
|
4835
|
+
declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`>>;
|
|
4836
|
+
interface CreateAddOnGroupOptions {
|
|
4837
|
+
/**
|
|
4838
|
+
* ID of the service to create the AddOnGroup for.
|
|
4839
|
+
* @format GUID
|
|
4840
|
+
*/
|
|
4841
|
+
serviceId?: string | null;
|
|
4842
|
+
}
|
|
4843
|
+
/**
|
|
4844
|
+
* Delete an existing AddOns group.
|
|
4845
|
+
* This will remove the group and unlink all associated AddOns.
|
|
4846
|
+
* @param addOnGroupId - ID of the AddOnGroup to delete.
|
|
4847
|
+
* @public
|
|
4848
|
+
* @documentationMaturity preview
|
|
4849
|
+
* @requiredField addOnGroupId
|
|
4850
|
+
* @requiredField options
|
|
4851
|
+
* @requiredField options.serviceId
|
|
4852
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
4853
|
+
* @applicableIdentity APP
|
|
4854
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
|
|
4855
|
+
*/
|
|
4856
|
+
declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`>): Promise<void & {
|
|
4857
|
+
__applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
|
|
4858
|
+
}>;
|
|
4859
|
+
interface DeleteAddOnGroupOptions {
|
|
4860
|
+
/**
|
|
4861
|
+
* ID of the service from which to delete the AddOnGroup.
|
|
4862
|
+
* @format GUID
|
|
4863
|
+
*/
|
|
4864
|
+
serviceId: string | null;
|
|
4865
|
+
}
|
|
4866
|
+
/**
|
|
4867
|
+
* Update an existing AddOns group.
|
|
4868
|
+
* This allows modifying group settings such as its name, prompt, constraints, or associated AddOns.
|
|
4869
|
+
* @param addOnGroup - AddOnGroup to update.
|
|
4870
|
+
* @public
|
|
4871
|
+
* @documentationMaturity preview
|
|
4872
|
+
* @requiredField addOnGroup
|
|
4873
|
+
* @requiredField addOnGroup._id
|
|
4874
|
+
* @requiredField options
|
|
4875
|
+
* @requiredField options.serviceId
|
|
4876
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
|
|
4877
|
+
* @applicableIdentity APP
|
|
4878
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
|
|
4879
|
+
*/
|
|
4880
|
+
declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`> & {
|
|
4881
|
+
__applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
|
|
4882
|
+
}>;
|
|
4883
|
+
interface UpdateAddOnGroupOptions {
|
|
4884
|
+
/**
|
|
4885
|
+
* ID of the service that contains the AddOnGroup.
|
|
4886
|
+
* @format GUID
|
|
4887
|
+
*/
|
|
4888
|
+
serviceId: string | null;
|
|
4889
|
+
}
|
|
4890
|
+
/**
|
|
4891
|
+
* Retrieves a list of AddOnGroups including enriched AddOn details in the correct order.
|
|
4892
|
+
* If the group_id is specified, only the AddOns for the specified group will be returned,
|
|
4893
|
+
* otherwise all groups will be returned.
|
|
4894
|
+
* @param serviceId - ID of the service to retrieve AddOnGroups for.
|
|
4895
|
+
* @public
|
|
4896
|
+
* @documentationMaturity preview
|
|
4897
|
+
* @requiredField serviceId
|
|
4898
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
|
|
4899
|
+
* @applicableIdentity APP
|
|
4900
|
+
* @applicableIdentity VISITOR
|
|
4901
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
|
|
4902
|
+
*/
|
|
4903
|
+
declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`>>;
|
|
4904
|
+
interface ListAddOnGroupsByServiceIdOptions {
|
|
4905
|
+
/**
|
|
4906
|
+
* List of group ids to return. If not provided, all groups are returned.
|
|
4907
|
+
* @format GUID
|
|
4908
|
+
* @maxSize 3
|
|
4909
|
+
*/
|
|
4910
|
+
groupIds?: string[] | null;
|
|
4911
|
+
}
|
|
4912
|
+
/**
|
|
4913
|
+
* Sets the AddOns for a specific group.
|
|
4914
|
+
* The order of the AddOns in the list will be used to determine their display order.
|
|
4915
|
+
* @param serviceId - The service ID to set AddOns for.
|
|
4916
|
+
* @public
|
|
4917
|
+
* @documentationMaturity preview
|
|
4918
|
+
* @requiredField options
|
|
4919
|
+
* @requiredField options.addOnIds
|
|
4920
|
+
* @requiredField options.groupId
|
|
4921
|
+
* @requiredField serviceId
|
|
4922
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
|
|
4923
|
+
* @applicableIdentity APP
|
|
4924
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
|
|
4925
|
+
*/
|
|
4926
|
+
declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`> & {
|
|
4927
|
+
__applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
|
|
4928
|
+
}>;
|
|
4929
|
+
interface SetAddOnsForGroupOptions {
|
|
4930
|
+
/**
|
|
4931
|
+
* The group ID to set AddOns for.
|
|
4932
|
+
* @format GUID
|
|
4933
|
+
*/
|
|
4934
|
+
groupId: string | null;
|
|
4935
|
+
/**
|
|
4936
|
+
* The IDs of AddOns to set.
|
|
4937
|
+
* @format GUID
|
|
4938
|
+
* @minSize 1
|
|
4939
|
+
* @maxSize 7
|
|
4940
|
+
*/
|
|
4941
|
+
addOnIds: string[] | null;
|
|
4942
|
+
}
|
|
4943
|
+
/**
|
|
4944
|
+
* Validates the selection of AddOns for a given group based on the group's settings.
|
|
4945
|
+
* @param serviceId - The service ID to validate AddOns against.
|
|
4946
|
+
* @public
|
|
4947
|
+
* @documentationMaturity preview
|
|
4948
|
+
* @requiredField options
|
|
4949
|
+
* @requiredField options.addOnIds
|
|
4950
|
+
* @requiredField options.groupId
|
|
4951
|
+
* @requiredField serviceId
|
|
4952
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_VALIDATE
|
|
4953
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.ValidateAddOnsSelection
|
|
4954
|
+
*/
|
|
4955
|
+
declare function validateAddOnsSelection(serviceId: string, options: NonNullablePaths<ValidateAddOnsSelectionOptions, `addOnIds` | `groupId`>): Promise<ValidateAddOnsSelectionResponse>;
|
|
4956
|
+
interface ValidateAddOnsSelectionOptions {
|
|
4957
|
+
/**
|
|
4958
|
+
* The group ID to validate AddOns against.
|
|
4959
|
+
* @format GUID
|
|
4960
|
+
*/
|
|
4961
|
+
groupId: string | null;
|
|
4962
|
+
/**
|
|
4963
|
+
* The IDs of AddOns to validate.
|
|
4964
|
+
* @format GUID
|
|
4965
|
+
* @minSize 1
|
|
4966
|
+
* @maxSize 7
|
|
4967
|
+
*/
|
|
4968
|
+
addOnIds: string[] | null;
|
|
4969
|
+
}
|
|
4970
4970
|
|
|
4971
|
-
export { type SetCustomSlugResponse as $, type AddOnGroup as A, type BulkCreateServicesOptions as B, type CreateAddOnGroupOptions as C, type DeleteAddOnGroupOptions as D, type QueryBookingFormsOptions as E, type QueryBookingFormsResponse as F, type QueryBookingFormsApplicationErrors as G, type CountServicesOptions as H, type CountServicesResponse as I, type QueryLocationsOptions as J, type QueryLocationsResponse as K, type ListAddOnGroupsByServiceIdOptions as L, type QueryCategoriesOptions as M, type QueryCategoriesResponse as N, type Location as O, type SetServiceLocationsOptions as P, type QueryPoliciesResponse as Q, type SetServiceLocationsResponse as R, type SetAddOnsForGroupOptions as S, type EnablePricingPlansForServiceResponse as T, type UpdateAddOnGroupOptions as U, type ValidateAddOnsSelectionOptions as V, type EnablePricingPlansForServiceApplicationErrors as W, type DisablePricingPlansForServiceOptions as X, type DisablePricingPlansForServiceResponse as Y, type DisablePricingPlansForServiceApplicationErrors as Z, type SetCustomSlugOptions as _, type CreateAddOnGroupResponse as a, type WaitlistPolicy as a$, type SetCustomSlugApplicationErrors as a0, type SetCustomSlugValidationErrors as a1, type ValidateSlugOptions as a2, type ValidateSlugResponse as a3, type CloneServiceResponse as a4, type ServiceCreatedEnvelope as a5, type ServiceDeletedEnvelope as a6, type ServiceUpdatedEnvelope as a7, ServiceType as a8, RateType as a9, type MediaItemItemOneOf as aA, type V2Category as aB, type Form as aC, type FormSettings as aD, type Payment as aE, type PaymentRateOneOf as aF, type FixedPayment as aG, type Money as aH, type CustomPayment as aI, type VariedPayment as aJ, type PaymentOptions as aK, type OnlineBooking as aL, type Conferencing as aM, type LocationOptionsOneOf as aN, type CommonAddress as aO, type CommonAddressStreetOneOf as aP, type StreetAddress as aQ, type AddressLocation as aR, type BusinessLocationOptions as aS, type CustomLocationOptions as aT, type BookingPolicy as aU, type PolicyDescription as aV, type LimitEarlyBookingPolicy as aW, type LimitLateBookingPolicy as aX, type BookAfterStartPolicy as aY, type CancellationPolicy as aZ, type ReschedulePolicy as a_, LocationType as aa, WebhookIdentityType as ab, V2RequestedFields as ac, SortOrder as ad, SortType as ae, SortDirection as af, MissingValues as ag, ScalarType as ah, NestedAggregationType as ai, Interval as aj, AggregationType as ak, Mode as al, RequestedFields as am, Action as an, InvalidSlugError as ao, CloneErrors as ap, Status as aq, CategoryNotificationEvent as ar, BenefitType as as, Event as at, CrudType as au, PlacementType as av, DayOfWeek as aw, ResolutionMethod as ax, type Media as ay, type MediaItem as az, type DeleteAddOnGroupApplicationErrors as b, type BulkActionMetadata as b$, type ParticipantsPolicy as b0, type ResourcesPolicy as b1, type CancellationFeePolicy as b2, type CancellationWindow as b3, type CancellationWindowFeeOneOf as b4, type SaveCreditCardPolicy as b5, type Schedule as b6, type AvailabilityConstraints as b7, type Duration as b8, type StaffMember as b9, type RestoreInfo as bA, type EntityUpdatedEvent as bB, type EntityDeletedEvent as bC, type ActionEvent as bD, type MessageEnvelope as bE, type IdentificationData as bF, type IdentificationDataIdOneOf as bG, type CreateAddOnGroupRequest as bH, type DeleteAddOnGroupRequest as bI, type DeleteAddOnGroupResponse as bJ, type UpdateAddOnGroupRequest as bK, type ListAddOnGroupsByServiceIdRequest as bL, type AddOn as bM, type AddOnAddOnInfoOneOf as bN, type AddOnGroupDetail as bO, type SetAddOnsForGroupRequest as bP, type ValidateAddOnsSelectionRequest as bQ, type ValidationResult as bR, type CreateServiceRequest as bS, type CreateServiceResponse as bT, type ValidateServiceRequest as bU, type ValidateServiceResponse as bV, type FieldViolation as bW, type BulkCreateServicesRequest as bX, type BulkServiceResult as bY, type ItemMetadata as bZ, type ApplicationError as b_, type StaffMediaItem as ba, type StaffMediaItemItemOneOf as bb, type StaffMemberDetails as bc, type ResourceGroup as bd, type ResourceIds as be, type ServiceResource as bf, type ServiceResourceSelectionOneOf as bg, type ResourceType as bh, type Slug as bi, type URLs as bj, type ExtendedFields as bk, type SeoSchema as bl, type Keyword as bm, type Tag as bn, type Settings as bo, type AddOnDetails as bp, type ReindexMessage as bq, type ReindexMessageActionOneOf as br, type Upsert as bs, type Delete as bt, type Schema as bu, type SetCustomSlugEvent as bv, type ServicesUrlsChanged as bw, type DomainEvent as bx, type DomainEventBodyOneOf as by, type EntityCreatedEvent as bz, type UpdateAddOnGroupResponse as c, type AggregationResults as c$, type GetServiceRequest as c0, type GetServiceResponse as c1, type GetServiceAvailabilityConstraintsRequest as c2, type GetServiceAvailabilityConstraintsResponse as c3, type ServiceAvailabilityConstraints as c4, type SplitInterval as c5, type UpdateServiceRequest as c6, type UpdateServiceResponse as c7, type BulkUpdateServicesRequest as c8, type MaskedService as c9, type DateHistogramAggregation as cA, type NestedAggregationItem as cB, type NestedAggregationItemKindOneOf as cC, type NestedAggregation as cD, type GroupByAggregation as cE, type GroupByAggregationKindOneOf as cF, type SearchDetails as cG, type CursorPagingMetadata as cH, type AggregationData as cI, type ValueAggregationResult as cJ, type RangeAggregationResult as cK, type NestedAggregationResults as cL, type NestedAggregationResultsResultOneOf as cM, type ValueResults as cN, type RangeResults as cO, type AggregationResultsScalarResult as cP, type NestedValueAggregationResult as cQ, type ValueResult as cR, type RangeResult as cS, type ScalarResult as cT, type NestedResultValue as cU, type NestedResultValueResultOneOf as cV, type Results as cW, type DateHistogramResult as cX, type GroupByValueResults as cY, type DateHistogramResults as cZ, type NestedResults as c_, type BulkUpdateServicesByFilterRequest as ca, type DeleteServiceRequest as cb, type ParticipantNotification as cc, type DeleteServiceResponse as cd, type BulkDeleteServicesRequest as ce, type BulkDeleteServicesByFilterRequest as cf, type QueryServicesRequest as cg, type QueryV2 as ch, type QueryV2PagingMethodOneOf as ci, type Sorting as cj, type Paging as ck, type CursorPaging as cl, type QueryServicesResponse as cm, type PagingMetadataV2 as cn, type Cursors as co, type SearchServicesRequest as cp, type CursorSearch as cq, type CursorSearchPagingMethodOneOf as cr, type Aggregation as cs, type AggregationKindOneOf as ct, type RangeBucket as cu, type IncludeMissingValuesOptions as cv, type ValueAggregation as cw, type ValueAggregationOptionsOneOf as cx, type RangeAggregation as cy, type ScalarAggregation as cz, type UpdateAddOnGroupApplicationErrors as d, type EventMetadata as d$, type AggregationResultsResultOneOf as d0, type QueryPoliciesRequest as d1, type CursorQueryPagingMethodOneOf as d2, type BookingPolicyWithServices as d3, type QueryBookingFormsRequest as d4, type BookingForm as d5, type FormDetails as d6, type ConnectedService as d7, type CountServicesRequest as d8, type QueryLocationsRequest as d9, type DiscountDiscountOneOf as dA, type Behavior as dB, type BehaviorBehaviorOneOf as dC, type UserDomainInfoChangedEvent as dD, type HtmlSitePublished as dE, type Page as dF, type SitePropertiesNotification as dG, type SitePropertiesEvent as dH, type Properties as dI, type Categories as dJ, type Locale as dK, type Address as dL, type AddressHint as dM, type GeoCoordinates as dN, type BusinessSchedule as dO, type TimePeriod as dP, type SpecialHourPeriod as dQ, type Multilingual as dR, type SupportedLanguage as dS, type ConsentPolicy as dT, type Translation as dU, type ChangeContext as dV, type ChangeContextPayloadOneOf as dW, type PropertiesChange as dX, type SiteCreated as dY, type SiteCloned as dZ, type BaseEventMetadata as d_, type QueryLocationsFilter as da, type BusinessLocations as db, type CustomLocations as dc, type CustomerLocations as dd, type QueryCategoriesRequest as de, type QueryCategoriesFilter as df, type QueryServicesMultiLanguageRequest as dg, type QueryServicesMultiLanguageResponse as dh, type SetServiceLocationsRequest as di, type RemovedLocationSessionsAction as dj, type RemovedLocationSessionsActionActionOptionsOneOf as dk, type MoveToNewLocationsOptions as dl, type EnablePricingPlansForServiceRequest as dm, type InvalidPricingPlan as dn, type DisablePricingPlansForServiceRequest as dp, type SetCustomSlugRequest as dq, type ValidateSlugRequest as dr, type CloneServiceRequest as ds, type CategoryNotification as dt, type Category as du, type Empty as dv, type BenefitNotification as dw, type Benefit as dx, type EntryPass as dy, type Discount as dz, type ListAddOnGroupsByServiceIdResponse as e, type ServicesQueryResult as e0, type ServiceSearchSpec as e1, type ServiceTypeWithLiterals as e2, type RateTypeWithLiterals as e3, type LocationTypeWithLiterals as e4, type WebhookIdentityTypeWithLiterals as e5, type V2RequestedFieldsWithLiterals as e6, type SortOrderWithLiterals as e7, type SortTypeWithLiterals as e8, type SortDirectionWithLiterals as e9, validateAddOnsSelection as eA, createService as eB, bulkCreateServices as eC, getService as eD, updateService as eE, bulkUpdateServices as eF, bulkUpdateServicesByFilter as eG, deleteService as eH, bulkDeleteServices as eI, bulkDeleteServicesByFilter as eJ, queryServices as eK, type CommonSearchWithEntityContext as eL, queryPolicies as eM, queryBookingForms as eN, countServices as eO, queryLocations as eP, queryCategories as eQ, setServiceLocations as eR, enablePricingPlansForService as eS, disablePricingPlansForService as eT, setCustomSlug as eU, validateSlug as eV, cloneService as eW, type MissingValuesWithLiterals as ea, type ScalarTypeWithLiterals as eb, type NestedAggregationTypeWithLiterals as ec, type IntervalWithLiterals as ed, type AggregationTypeWithLiterals as ee, type ModeWithLiterals as ef, type RequestedFieldsWithLiterals as eg, type ActionWithLiterals as eh, type InvalidSlugErrorWithLiterals as ei, type CloneErrorsWithLiterals as ej, type StatusWithLiterals as ek, type CategoryNotificationEventWithLiterals as el, type BenefitTypeWithLiterals as em, type EventWithLiterals as en, type CrudTypeWithLiterals as eo, type PlacementTypeWithLiterals as ep, type DayOfWeekWithLiterals as eq, type ResolutionMethodWithLiterals as er, onServiceCreated as es, onServiceDeleted as et, onServiceUpdated as eu, createAddOnGroup as ev, deleteAddOnGroup as ew, updateAddOnGroup as ex, listAddOnGroupsByServiceId as ey, setAddOnsForGroup as ez, type SetAddOnsForGroupResponse as f, type SetAddOnsForGroupApplicationErrors as g, type ValidateAddOnsSelectionResponse as h, type Service as i, type CreateServiceValidationErrors as j, type BulkCreateServicesResponse as k, type UpdateService as l, type UpdateServiceValidationErrors as m, type BulkUpdateServicesOptions as n, type BulkUpdateServicesResponse as o, type BulkUpdateServicesByFilterOptions as p, type BulkUpdateServicesByFilterResponse as q, type DeleteServiceOptions as r, type BulkDeleteServicesOptions as s, type BulkDeleteServicesResponse as t, type BulkDeleteServicesByFilterOptions as u, type BulkDeleteServicesByFilterResponse as v, type ServicesQueryBuilder as w, type ServiceSearch as x, type SearchServicesResponse as y, type CursorQuery as z };
|
|
4971
|
+
export { type ListAddOnGroupsByServiceIdResponse as $, type DisablePricingPlansForServiceOptions as A, type BulkCreateServicesOptions as B, type CreateServiceValidationErrors as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type DisablePricingPlansForServiceResponse as F, type DisablePricingPlansForServiceApplicationErrors as G, type SetCustomSlugOptions as H, type SetCustomSlugResponse as I, type SetCustomSlugApplicationErrors as J, type SetCustomSlugValidationErrors as K, type Location as L, type ValidateSlugResponse as M, type CloneServiceResponse as N, type AddOnGroup as O, type CreateAddOnGroupOptions as P, type QueryPoliciesResponse as Q, type CreateAddOnGroupResponse 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 WaitlistPolicy as a$, type SetAddOnsForGroupOptions as a0, type SetAddOnsForGroupResponse as a1, type SetAddOnsForGroupApplicationErrors as a2, type ValidateAddOnsSelectionOptions as a3, type ValidateAddOnsSelectionResponse as a4, type ServiceCreatedEnvelope as a5, type ServiceDeletedEnvelope as a6, type ServiceUpdatedEnvelope as a7, ServiceType as a8, RateType as a9, type MediaItemItemOneOf as aA, type V2Category as aB, type Form as aC, type FormSettings as aD, type Payment as aE, type PaymentRateOneOf as aF, type FixedPayment as aG, type Money as aH, type CustomPayment as aI, type VariedPayment as aJ, type PaymentOptions as aK, type OnlineBooking as aL, type Conferencing as aM, type LocationOptionsOneOf as aN, type CommonAddress as aO, type CommonAddressStreetOneOf as aP, type StreetAddress as aQ, type AddressLocation as aR, type BusinessLocationOptions as aS, type CustomLocationOptions as aT, type BookingPolicy as aU, type PolicyDescription as aV, type LimitEarlyBookingPolicy as aW, type LimitLateBookingPolicy as aX, type BookAfterStartPolicy as aY, type CancellationPolicy as aZ, type ReschedulePolicy as a_, LocationType as aa, WebhookIdentityType as ab, V2RequestedFields as ac, SortOrder as ad, SortType as ae, SortDirection as af, MissingValues as ag, ScalarType as ah, NestedAggregationType as ai, Interval as aj, AggregationType as ak, Mode as al, RequestedFields as am, Action as an, InvalidSlugError as ao, CloneErrors as ap, Status as aq, CategoryNotificationEvent as ar, BenefitType as as, Event as at, CrudType as au, PlacementType as av, DayOfWeek as aw, ResolutionMethod as ax, type Media as ay, type MediaItem as az, type UpdateServiceValidationErrors as b, type BulkUpdateServicesByFilterRequest as b$, type ParticipantsPolicy as b0, type ResourcesPolicy as b1, type CancellationFeePolicy as b2, type CancellationWindow as b3, type CancellationWindowFeeOneOf as b4, type SaveCreditCardPolicy as b5, type Schedule as b6, type AvailabilityConstraints as b7, type Duration as b8, type StaffMember as b9, type RestoreInfo as bA, type EntityUpdatedEvent as bB, type EntityDeletedEvent as bC, type ActionEvent as bD, type MessageEnvelope as bE, type IdentificationData as bF, type IdentificationDataIdOneOf as bG, type CreateServiceRequest as bH, type CreateServiceResponse as bI, type ValidateServiceRequest as bJ, type ValidateServiceResponse as bK, type FieldViolation as bL, type BulkCreateServicesRequest as bM, type BulkServiceResult as bN, type ItemMetadata as bO, type ApplicationError as bP, type BulkActionMetadata as bQ, type GetServiceRequest as bR, type GetServiceResponse as bS, type GetServiceAvailabilityConstraintsRequest as bT, type GetServiceAvailabilityConstraintsResponse as bU, type ServiceAvailabilityConstraints as bV, type SplitInterval as bW, type UpdateServiceRequest as bX, type UpdateServiceResponse as bY, type BulkUpdateServicesRequest as bZ, type MaskedService as b_, type StaffMediaItem as ba, type StaffMediaItemItemOneOf as bb, type StaffMemberDetails as bc, type ResourceGroup as bd, type ResourceIds as be, type ServiceResource as bf, type ServiceResourceSelectionOneOf as bg, type ResourceType as bh, type Slug as bi, type URLs as bj, type ExtendedFields as bk, type SeoSchema as bl, type Keyword as bm, type Tag as bn, type Settings as bo, type AddOnDetails as bp, type ReindexMessage as bq, type ReindexMessageActionOneOf as br, type Upsert as bs, type Delete as bt, type Schema as bu, type SetCustomSlugEvent as bv, type ServicesUrlsChanged as bw, type DomainEvent as bx, type DomainEventBodyOneOf as by, type EntityCreatedEvent as bz, type BulkUpdateServicesOptions as c, type QueryLocationsFilter as c$, type DeleteServiceRequest as c0, type ParticipantNotification as c1, type DeleteServiceResponse as c2, type BulkDeleteServicesRequest as c3, type BulkDeleteServicesByFilterRequest as c4, type QueryServicesRequest as c5, type QueryV2 as c6, type QueryV2PagingMethodOneOf as c7, type Sorting as c8, type Paging as c9, type NestedAggregationResults as cA, type NestedAggregationResultsResultOneOf as cB, type ValueResults as cC, type RangeResults as cD, type AggregationResultsScalarResult as cE, type NestedValueAggregationResult as cF, type ValueResult as cG, type RangeResult as cH, type ScalarResult as cI, type NestedResultValue as cJ, type NestedResultValueResultOneOf as cK, type Results as cL, type DateHistogramResult as cM, type GroupByValueResults as cN, type DateHistogramResults as cO, type NestedResults as cP, type AggregationResults as cQ, type AggregationResultsResultOneOf as cR, type QueryPoliciesRequest as cS, type CursorQueryPagingMethodOneOf as cT, type BookingPolicyWithServices as cU, type QueryBookingFormsRequest as cV, type BookingForm as cW, type FormDetails as cX, type ConnectedService as cY, type CountServicesRequest as cZ, type QueryLocationsRequest as c_, type CursorPaging as ca, type QueryServicesResponse as cb, type PagingMetadataV2 as cc, type Cursors as cd, type SearchServicesRequest as ce, type CursorSearch as cf, type CursorSearchPagingMethodOneOf as cg, type Aggregation as ch, type AggregationKindOneOf as ci, type RangeBucket as cj, type IncludeMissingValuesOptions as ck, type ValueAggregation as cl, type ValueAggregationOptionsOneOf as cm, type RangeAggregation as cn, type ScalarAggregation as co, type DateHistogramAggregation as cp, type NestedAggregationItem as cq, type NestedAggregationItemKindOneOf as cr, type NestedAggregation as cs, type GroupByAggregation as ct, type GroupByAggregationKindOneOf as cu, type SearchDetails as cv, type CursorPagingMetadata as cw, type AggregationData as cx, type ValueAggregationResult as cy, type RangeAggregationResult as cz, type BulkUpdateServicesResponse as d, type EventMetadata as d$, type BusinessLocations as d0, type CustomLocations as d1, type CustomerLocations as d2, type QueryCategoriesRequest as d3, type QueryCategoriesFilter as d4, type QueryServicesMultiLanguageRequest as d5, type QueryServicesMultiLanguageResponse as d6, type SetServiceLocationsRequest as d7, type RemovedLocationSessionsAction as d8, type RemovedLocationSessionsActionActionOptionsOneOf as d9, type Address as dA, type AddressHint as dB, type GeoCoordinates as dC, type BusinessSchedule as dD, type TimePeriod as dE, type SpecialHourPeriod as dF, type Multilingual as dG, type SupportedLanguage as dH, type ConsentPolicy as dI, type Translation as dJ, type ChangeContext as dK, type ChangeContextPayloadOneOf as dL, type PropertiesChange as dM, type SiteCreated as dN, type SiteCloned as dO, type CreateAddOnGroupRequest as dP, type DeleteAddOnGroupRequest as dQ, type DeleteAddOnGroupResponse as dR, type UpdateAddOnGroupRequest as dS, type ListAddOnGroupsByServiceIdRequest as dT, type AddOn as dU, type AddOnAddOnInfoOneOf as dV, type AddOnGroupDetail as dW, type SetAddOnsForGroupRequest as dX, type ValidateAddOnsSelectionRequest as dY, type ValidationResult as dZ, type BaseEventMetadata as d_, type MoveToNewLocationsOptions as da, type EnablePricingPlansForServiceRequest as db, type InvalidPricingPlan as dc, type DisablePricingPlansForServiceRequest as dd, type SetCustomSlugRequest as de, type ValidateSlugRequest as df, type CloneServiceRequest as dg, type CategoryNotification as dh, type Category as di, type Empty as dj, type BenefitNotification as dk, type Benefit as dl, type EntryPass as dm, type Discount as dn, type DiscountDiscountOneOf as dp, type Behavior as dq, type BehaviorBehaviorOneOf as dr, type UserDomainInfoChangedEvent as ds, type HtmlSitePublished as dt, type Page as du, type SitePropertiesNotification as dv, type SitePropertiesEvent as dw, type Properties as dx, type Categories as dy, type Locale as dz, type BulkUpdateServicesByFilterOptions as e, type ServicesQueryResult as e0, type ServiceSearchSpec as e1, type ServiceTypeWithLiterals as e2, type RateTypeWithLiterals as e3, type LocationTypeWithLiterals as e4, type WebhookIdentityTypeWithLiterals as e5, type V2RequestedFieldsWithLiterals as e6, type SortOrderWithLiterals as e7, type SortTypeWithLiterals as e8, type SortDirectionWithLiterals as e9, bulkUpdateServicesByFilter as eA, deleteService as eB, bulkDeleteServices as eC, bulkDeleteServicesByFilter as eD, queryServices as eE, type CommonSearchWithEntityContext as eF, queryPolicies as eG, queryBookingForms as eH, countServices as eI, queryLocations as eJ, queryCategories as eK, setServiceLocations as eL, enablePricingPlansForService as eM, disablePricingPlansForService as eN, setCustomSlug as eO, validateSlug as eP, cloneService as eQ, createAddOnGroup as eR, deleteAddOnGroup as eS, updateAddOnGroup as eT, listAddOnGroupsByServiceId as eU, setAddOnsForGroup as eV, validateAddOnsSelection as eW, type MissingValuesWithLiterals as ea, type ScalarTypeWithLiterals as eb, type NestedAggregationTypeWithLiterals as ec, type IntervalWithLiterals as ed, type AggregationTypeWithLiterals as ee, type ModeWithLiterals as ef, type RequestedFieldsWithLiterals as eg, type ActionWithLiterals as eh, type InvalidSlugErrorWithLiterals as ei, type CloneErrorsWithLiterals as ej, type StatusWithLiterals as ek, type CategoryNotificationEventWithLiterals as el, type BenefitTypeWithLiterals as em, type EventWithLiterals as en, type CrudTypeWithLiterals as eo, type PlacementTypeWithLiterals as ep, type DayOfWeekWithLiterals as eq, type ResolutionMethodWithLiterals as er, onServiceCreated as es, onServiceDeleted as et, onServiceUpdated as eu, createService as ev, bulkCreateServices as ew, getService as ex, updateService as ey, bulkUpdateServices as ez, type BulkUpdateServicesByFilterResponse as f, type BulkDeleteServicesOptions as g, type BulkDeleteServicesResponse as h, type BulkDeleteServicesByFilterOptions as i, type BulkDeleteServicesByFilterResponse as j, type ServicesQueryBuilder as k, type ServiceSearch as l, type SearchServicesResponse as m, type CursorQuery as n, type QueryBookingFormsOptions as o, type QueryBookingFormsResponse as p, type QueryBookingFormsApplicationErrors as q, type CountServicesOptions as r, type CountServicesResponse as s, type QueryLocationsOptions as t, type QueryLocationsResponse as u, type QueryCategoriesOptions as v, type QueryCategoriesResponse as w, type SetServiceLocationsOptions as x, type SetServiceLocationsResponse as y, type EnablePricingPlansForServiceApplicationErrors as z };
|