@wix/auto_sdk_bookings_services 1.0.155 → 1.0.156
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-DD3nGMfL.d.ts → bookings-services-v2-service-services.universal-lzRAgT6-.d.ts} +452 -452
- package/build/cjs/index.d.ts +81 -81
- package/build/cjs/index.js +302 -302
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +265 -265
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +171 -171
- package/build/cjs/meta.js +203 -203
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-DD3nGMfL.d.mts → bookings-services-v2-service-services.universal-lzRAgT6-.d.mts} +452 -452
- package/build/es/index.d.mts +81 -81
- package/build/es/index.mjs +302 -302
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +265 -265
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +171 -171
- package/build/es/meta.mjs +203 -203
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-DD3nGMfL.d.ts → bookings-services-v2-service-services.universal-lzRAgT6-.d.ts} +452 -452
- package/build/internal/cjs/index.d.ts +81 -81
- package/build/internal/cjs/index.js +302 -302
- 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 +265 -265
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +171 -171
- package/build/internal/cjs/meta.js +203 -203
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-DD3nGMfL.d.mts → bookings-services-v2-service-services.universal-lzRAgT6-.d.mts} +452 -452
- package/build/internal/es/index.d.mts +81 -81
- package/build/internal/es/index.mjs +302 -302
- 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 +265 -265
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +171 -171
- package/build/internal/es/meta.mjs +203 -203
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1470,153 +1470,6 @@ declare enum WebhookIdentityType {
|
|
|
1470
1470
|
}
|
|
1471
1471
|
/** @enumType */
|
|
1472
1472
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1473
|
-
interface CreateAddOnGroupRequest {
|
|
1474
|
-
/** Add-on group to create. */
|
|
1475
|
-
addOnGroup: AddOnGroup;
|
|
1476
|
-
/**
|
|
1477
|
-
* ID of the service to create the add-on group for.
|
|
1478
|
-
* @format GUID
|
|
1479
|
-
*/
|
|
1480
|
-
serviceId: string | null;
|
|
1481
|
-
}
|
|
1482
|
-
interface CreateAddOnGroupResponse {
|
|
1483
|
-
/** Created add-on group. */
|
|
1484
|
-
addOnGroup?: AddOnGroup;
|
|
1485
|
-
}
|
|
1486
|
-
interface DeleteAddOnGroupRequest {
|
|
1487
|
-
/**
|
|
1488
|
-
* ID of the add-on group to delete.
|
|
1489
|
-
* @format GUID
|
|
1490
|
-
*/
|
|
1491
|
-
addOnGroupId: string | null;
|
|
1492
|
-
/**
|
|
1493
|
-
* ID of the service from which to delete the add-on group.
|
|
1494
|
-
* @format GUID
|
|
1495
|
-
*/
|
|
1496
|
-
serviceId: string | null;
|
|
1497
|
-
}
|
|
1498
|
-
interface DeleteAddOnGroupResponse {
|
|
1499
|
-
}
|
|
1500
|
-
interface UpdateAddOnGroupRequest {
|
|
1501
|
-
/** Add-on group to update. */
|
|
1502
|
-
addOnGroup: AddOnGroup;
|
|
1503
|
-
/**
|
|
1504
|
-
* ID of the service that contains the add-on group.
|
|
1505
|
-
* @format GUID
|
|
1506
|
-
*/
|
|
1507
|
-
serviceId: string | null;
|
|
1508
|
-
}
|
|
1509
|
-
interface UpdateAddOnGroupResponse {
|
|
1510
|
-
/** Updated add-on group. */
|
|
1511
|
-
addOnGroup?: AddOnGroup;
|
|
1512
|
-
}
|
|
1513
|
-
interface ListAddOnGroupsByServiceIdRequest {
|
|
1514
|
-
/**
|
|
1515
|
-
* ID of the service to retrieve add-on groups for.
|
|
1516
|
-
* @format GUID
|
|
1517
|
-
*/
|
|
1518
|
-
serviceId: string | null;
|
|
1519
|
-
/**
|
|
1520
|
-
* List of group IDs to return. By default, all groups are returned.
|
|
1521
|
-
* @format GUID
|
|
1522
|
-
* @maxSize 3
|
|
1523
|
-
*/
|
|
1524
|
-
groupIds?: string[] | null;
|
|
1525
|
-
}
|
|
1526
|
-
interface ListAddOnGroupsByServiceIdResponse {
|
|
1527
|
-
/**
|
|
1528
|
-
* List of group details with their linked add-ons.
|
|
1529
|
-
* @maxSize 3
|
|
1530
|
-
*/
|
|
1531
|
-
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
1532
|
-
}
|
|
1533
|
-
interface AddOn extends AddOnAddOnInfoOneOf {
|
|
1534
|
-
/** Duration in minutes for duration-based add-ons that extend booking service time. */
|
|
1535
|
-
durationInMinutes?: number;
|
|
1536
|
-
/** Maximum quantity customers can purchase for quantity-based add-ons. */
|
|
1537
|
-
maxQuantity?: number;
|
|
1538
|
-
/**
|
|
1539
|
-
* Add-on ID.
|
|
1540
|
-
* @format GUID
|
|
1541
|
-
*/
|
|
1542
|
-
addOnId?: string | null;
|
|
1543
|
-
/**
|
|
1544
|
-
* Add-on name displayed to customers.
|
|
1545
|
-
* @maxLength 100
|
|
1546
|
-
*/
|
|
1547
|
-
name?: string | null;
|
|
1548
|
-
/** Add-on price. */
|
|
1549
|
-
price?: Money;
|
|
1550
|
-
/**
|
|
1551
|
-
* Translated add-on name.
|
|
1552
|
-
* @maxLength 100
|
|
1553
|
-
*/
|
|
1554
|
-
nameTranslated?: string | null;
|
|
1555
|
-
}
|
|
1556
|
-
/** @oneof */
|
|
1557
|
-
interface AddOnAddOnInfoOneOf {
|
|
1558
|
-
/** Duration in minutes for duration-based add-ons that extend booking service time. */
|
|
1559
|
-
durationInMinutes?: number;
|
|
1560
|
-
/** Maximum quantity customers can purchase for quantity-based add-ons. */
|
|
1561
|
-
maxQuantity?: number;
|
|
1562
|
-
}
|
|
1563
|
-
interface AddOnGroupDetail {
|
|
1564
|
-
/**
|
|
1565
|
-
* Group ID.
|
|
1566
|
-
* @format GUID
|
|
1567
|
-
*/
|
|
1568
|
-
groupId?: string | null;
|
|
1569
|
-
/** Maximum number of add-ons customers can select from this group. */
|
|
1570
|
-
maxNumberOfAddOns?: number | null;
|
|
1571
|
-
/**
|
|
1572
|
-
* Group name displayed to customers.
|
|
1573
|
-
* @maxLength 100
|
|
1574
|
-
*/
|
|
1575
|
-
groupName?: string | null;
|
|
1576
|
-
/**
|
|
1577
|
-
* Add-ons linked to this group in display order.
|
|
1578
|
-
* @maxSize 7
|
|
1579
|
-
*/
|
|
1580
|
-
addOns?: AddOn[];
|
|
1581
|
-
/**
|
|
1582
|
-
* Instructional prompt displayed to customers. For example, `Choose up to 2 relaxing spa treatments to enhance your experience`. You can also use this field as a group description. For example, `Beginner-friendly rental equipment`.
|
|
1583
|
-
* @maxLength 200
|
|
1584
|
-
*/
|
|
1585
|
-
prompt?: string | null;
|
|
1586
|
-
/**
|
|
1587
|
-
* Translated group name.
|
|
1588
|
-
* @maxLength 100
|
|
1589
|
-
*/
|
|
1590
|
-
groupNameTranslated?: string | null;
|
|
1591
|
-
/**
|
|
1592
|
-
* Instructional translated prompt displayed to customers. For example, `Choose up to 2 relaxing spa treatments to enhance your experience`. You can also use this field as a group description. For example, `Beginner-friendly rental equipment`.
|
|
1593
|
-
* @maxLength 200
|
|
1594
|
-
*/
|
|
1595
|
-
promptTranslated?: string | null;
|
|
1596
|
-
}
|
|
1597
|
-
interface SetAddOnsForGroupRequest {
|
|
1598
|
-
/**
|
|
1599
|
-
* Service ID containing the group.
|
|
1600
|
-
* @format GUID
|
|
1601
|
-
*/
|
|
1602
|
-
serviceId: string | null;
|
|
1603
|
-
/**
|
|
1604
|
-
* Group ID to set add-ons for.
|
|
1605
|
-
* @format GUID
|
|
1606
|
-
*/
|
|
1607
|
-
groupId: string | null;
|
|
1608
|
-
/**
|
|
1609
|
-
* IDs of add-ons to set for the group in display order.
|
|
1610
|
-
* @format GUID
|
|
1611
|
-
* @minSize 1
|
|
1612
|
-
* @maxSize 7
|
|
1613
|
-
*/
|
|
1614
|
-
addOnIds: string[] | null;
|
|
1615
|
-
}
|
|
1616
|
-
interface SetAddOnsForGroupResponse {
|
|
1617
|
-
/** Updated add-on group. */
|
|
1618
|
-
addOnGroup?: AddOnGroup;
|
|
1619
|
-
}
|
|
1620
1473
|
interface CreateServiceRequest {
|
|
1621
1474
|
/** Service to create. */
|
|
1622
1475
|
service: Service;
|
|
@@ -3520,115 +3373,244 @@ interface SiteCloned {
|
|
|
3520
3373
|
/** Origin site id. */
|
|
3521
3374
|
originMetaSiteId?: string;
|
|
3522
3375
|
}
|
|
3523
|
-
|
|
3524
|
-
|
|
3525
|
-
|
|
3526
|
-
|
|
3527
|
-
|
|
3528
|
-
|
|
3529
|
-
|
|
3530
|
-
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
|
|
3534
|
-
|
|
3535
|
-
|
|
3536
|
-
|
|
3537
|
-
|
|
3538
|
-
|
|
3539
|
-
|
|
3540
|
-
|
|
3541
|
-
|
|
3542
|
-
|
|
3543
|
-
|
|
3544
|
-
|
|
3545
|
-
|
|
3546
|
-
|
|
3547
|
-
|
|
3548
|
-
|
|
3549
|
-
|
|
3550
|
-
|
|
3551
|
-
|
|
3552
|
-
|
|
3553
|
-
|
|
3554
|
-
|
|
3555
|
-
|
|
3556
|
-
|
|
3557
|
-
|
|
3558
|
-
}
|
|
3559
|
-
|
|
3560
|
-
|
|
3561
|
-
|
|
3562
|
-
}
|
|
3563
|
-
|
|
3564
|
-
|
|
3565
|
-
|
|
3566
|
-
|
|
3567
|
-
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3572
|
-
|
|
3573
|
-
|
|
3574
|
-
|
|
3575
|
-
|
|
3576
|
-
|
|
3577
|
-
|
|
3578
|
-
|
|
3579
|
-
|
|
3580
|
-
|
|
3581
|
-
|
|
3582
|
-
}
|
|
3583
|
-
|
|
3584
|
-
|
|
3585
|
-
|
|
3586
|
-
|
|
3587
|
-
|
|
3588
|
-
|
|
3589
|
-
|
|
3590
|
-
|
|
3591
|
-
|
|
3592
|
-
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
3596
|
-
|
|
3597
|
-
|
|
3598
|
-
|
|
3599
|
-
|
|
3600
|
-
|
|
3601
|
-
|
|
3602
|
-
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
|
|
3607
|
-
|
|
3608
|
-
|
|
3609
|
-
|
|
3610
|
-
|
|
3611
|
-
|
|
3612
|
-
}
|
|
3613
|
-
|
|
3614
|
-
|
|
3615
|
-
|
|
3616
|
-
|
|
3617
|
-
|
|
3618
|
-
|
|
3619
|
-
|
|
3620
|
-
|
|
3621
|
-
|
|
3622
|
-
|
|
3623
|
-
|
|
3624
|
-
|
|
3625
|
-
|
|
3626
|
-
|
|
3627
|
-
|
|
3628
|
-
|
|
3629
|
-
|
|
3630
|
-
|
|
3631
|
-
|
|
3376
|
+
interface CreateAddOnGroupRequest {
|
|
3377
|
+
/** Add-on group to create. */
|
|
3378
|
+
addOnGroup: AddOnGroup;
|
|
3379
|
+
/**
|
|
3380
|
+
* ID of the service to create the add-on group for.
|
|
3381
|
+
* @format GUID
|
|
3382
|
+
*/
|
|
3383
|
+
serviceId: string | null;
|
|
3384
|
+
}
|
|
3385
|
+
interface CreateAddOnGroupResponse {
|
|
3386
|
+
/** Created add-on group. */
|
|
3387
|
+
addOnGroup?: AddOnGroup;
|
|
3388
|
+
}
|
|
3389
|
+
interface DeleteAddOnGroupRequest {
|
|
3390
|
+
/**
|
|
3391
|
+
* ID of the add-on group to delete.
|
|
3392
|
+
* @format GUID
|
|
3393
|
+
*/
|
|
3394
|
+
addOnGroupId: string | null;
|
|
3395
|
+
/**
|
|
3396
|
+
* ID of the service from which to delete the add-on group.
|
|
3397
|
+
* @format GUID
|
|
3398
|
+
*/
|
|
3399
|
+
serviceId: string | null;
|
|
3400
|
+
}
|
|
3401
|
+
interface DeleteAddOnGroupResponse {
|
|
3402
|
+
}
|
|
3403
|
+
interface UpdateAddOnGroupRequest {
|
|
3404
|
+
/** Add-on group to update. */
|
|
3405
|
+
addOnGroup: AddOnGroup;
|
|
3406
|
+
/**
|
|
3407
|
+
* ID of the service that contains the add-on group.
|
|
3408
|
+
* @format GUID
|
|
3409
|
+
*/
|
|
3410
|
+
serviceId: string | null;
|
|
3411
|
+
}
|
|
3412
|
+
interface UpdateAddOnGroupResponse {
|
|
3413
|
+
/** Updated add-on group. */
|
|
3414
|
+
addOnGroup?: AddOnGroup;
|
|
3415
|
+
}
|
|
3416
|
+
interface ListAddOnGroupsByServiceIdRequest {
|
|
3417
|
+
/**
|
|
3418
|
+
* ID of the service to retrieve add-on groups for.
|
|
3419
|
+
* @format GUID
|
|
3420
|
+
*/
|
|
3421
|
+
serviceId: string | null;
|
|
3422
|
+
/**
|
|
3423
|
+
* List of group IDs to return. By default, all groups are returned.
|
|
3424
|
+
* @format GUID
|
|
3425
|
+
* @maxSize 3
|
|
3426
|
+
*/
|
|
3427
|
+
groupIds?: string[] | null;
|
|
3428
|
+
}
|
|
3429
|
+
interface ListAddOnGroupsByServiceIdResponse {
|
|
3430
|
+
/**
|
|
3431
|
+
* List of group details with their linked add-ons.
|
|
3432
|
+
* @maxSize 3
|
|
3433
|
+
*/
|
|
3434
|
+
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
3435
|
+
}
|
|
3436
|
+
interface AddOn extends AddOnAddOnInfoOneOf {
|
|
3437
|
+
/** Duration in minutes for duration-based add-ons that extend booking service time. */
|
|
3438
|
+
durationInMinutes?: number;
|
|
3439
|
+
/** Maximum quantity customers can purchase for quantity-based add-ons. */
|
|
3440
|
+
maxQuantity?: number;
|
|
3441
|
+
/**
|
|
3442
|
+
* Add-on ID.
|
|
3443
|
+
* @format GUID
|
|
3444
|
+
*/
|
|
3445
|
+
addOnId?: string | null;
|
|
3446
|
+
/**
|
|
3447
|
+
* Add-on name displayed to customers.
|
|
3448
|
+
* @maxLength 100
|
|
3449
|
+
*/
|
|
3450
|
+
name?: string | null;
|
|
3451
|
+
/** Add-on price. */
|
|
3452
|
+
price?: Money;
|
|
3453
|
+
/**
|
|
3454
|
+
* Translated add-on name.
|
|
3455
|
+
* @maxLength 100
|
|
3456
|
+
*/
|
|
3457
|
+
nameTranslated?: string | null;
|
|
3458
|
+
}
|
|
3459
|
+
/** @oneof */
|
|
3460
|
+
interface AddOnAddOnInfoOneOf {
|
|
3461
|
+
/** Duration in minutes for duration-based add-ons that extend booking service time. */
|
|
3462
|
+
durationInMinutes?: number;
|
|
3463
|
+
/** Maximum quantity customers can purchase for quantity-based add-ons. */
|
|
3464
|
+
maxQuantity?: number;
|
|
3465
|
+
}
|
|
3466
|
+
interface AddOnGroupDetail {
|
|
3467
|
+
/**
|
|
3468
|
+
* Group ID.
|
|
3469
|
+
* @format GUID
|
|
3470
|
+
*/
|
|
3471
|
+
groupId?: string | null;
|
|
3472
|
+
/** Maximum number of add-ons customers can select from this group. */
|
|
3473
|
+
maxNumberOfAddOns?: number | null;
|
|
3474
|
+
/**
|
|
3475
|
+
* Group name displayed to customers.
|
|
3476
|
+
* @maxLength 100
|
|
3477
|
+
*/
|
|
3478
|
+
groupName?: string | null;
|
|
3479
|
+
/**
|
|
3480
|
+
* Add-ons linked to this group in display order.
|
|
3481
|
+
* @maxSize 7
|
|
3482
|
+
*/
|
|
3483
|
+
addOns?: AddOn[];
|
|
3484
|
+
/**
|
|
3485
|
+
* Instructional prompt displayed to customers. For example, `Choose up to 2 relaxing spa treatments to enhance your experience`. You can also use this field as a group description. For example, `Beginner-friendly rental equipment`.
|
|
3486
|
+
* @maxLength 200
|
|
3487
|
+
*/
|
|
3488
|
+
prompt?: string | null;
|
|
3489
|
+
/**
|
|
3490
|
+
* Translated group name.
|
|
3491
|
+
* @maxLength 100
|
|
3492
|
+
*/
|
|
3493
|
+
groupNameTranslated?: string | null;
|
|
3494
|
+
/**
|
|
3495
|
+
* Instructional translated prompt displayed to customers. For example, `Choose up to 2 relaxing spa treatments to enhance your experience`. You can also use this field as a group description. For example, `Beginner-friendly rental equipment`.
|
|
3496
|
+
* @maxLength 200
|
|
3497
|
+
*/
|
|
3498
|
+
promptTranslated?: string | null;
|
|
3499
|
+
}
|
|
3500
|
+
interface SetAddOnsForGroupRequest {
|
|
3501
|
+
/**
|
|
3502
|
+
* Service ID containing the group.
|
|
3503
|
+
* @format GUID
|
|
3504
|
+
*/
|
|
3505
|
+
serviceId: string | null;
|
|
3506
|
+
/**
|
|
3507
|
+
* Group ID to set add-ons for.
|
|
3508
|
+
* @format GUID
|
|
3509
|
+
*/
|
|
3510
|
+
groupId: string | null;
|
|
3511
|
+
/**
|
|
3512
|
+
* IDs of add-ons to set for the group in display order.
|
|
3513
|
+
* @format GUID
|
|
3514
|
+
* @minSize 1
|
|
3515
|
+
* @maxSize 7
|
|
3516
|
+
*/
|
|
3517
|
+
addOnIds: string[] | null;
|
|
3518
|
+
}
|
|
3519
|
+
interface SetAddOnsForGroupResponse {
|
|
3520
|
+
/** Updated add-on group. */
|
|
3521
|
+
addOnGroup?: AddOnGroup;
|
|
3522
|
+
}
|
|
3523
|
+
/** @docsIgnore */
|
|
3524
|
+
type CreateServiceValidationErrors = {
|
|
3525
|
+
ruleName?: 'INVALID_FORM';
|
|
3526
|
+
} | {
|
|
3527
|
+
ruleName?: 'INVALID_CATEGORY';
|
|
3528
|
+
} | {
|
|
3529
|
+
ruleName?: 'INVALID_BOOKING_POLICY';
|
|
3530
|
+
} | {
|
|
3531
|
+
ruleName?: 'INVALID_SERVICE_TYPE';
|
|
3532
|
+
} | {
|
|
3533
|
+
ruleName?: 'INVALID_SERVICE_NAME';
|
|
3534
|
+
} | {
|
|
3535
|
+
ruleName?: 'INVALID_ONLINE_BOOKING';
|
|
3536
|
+
} | {
|
|
3537
|
+
ruleName?: 'INVALID_STAFF_MEMBER_IDS';
|
|
3538
|
+
} | {
|
|
3539
|
+
ruleName?: 'PAYMENT_REQUIRED';
|
|
3540
|
+
} | {
|
|
3541
|
+
ruleName?: 'INVALID_PAYMENT_TYPE';
|
|
3542
|
+
} | {
|
|
3543
|
+
ruleName?: 'INVALID_RATE';
|
|
3544
|
+
} | {
|
|
3545
|
+
ruleName?: 'INVALID_PAYMENT_OPTIONS';
|
|
3546
|
+
} | {
|
|
3547
|
+
ruleName?: 'INVALID_BUSINESS_LOCATIONS';
|
|
3548
|
+
} | {
|
|
3549
|
+
ruleName?: 'INVALID_LOCATIONS';
|
|
3550
|
+
} | {
|
|
3551
|
+
ruleName?: 'INVALID_BUSINESS_LOCATION';
|
|
3552
|
+
} | {
|
|
3553
|
+
ruleName?: 'INVALID_CUSTOM_LOCATION';
|
|
3554
|
+
} | {
|
|
3555
|
+
ruleName?: 'INVALID_CUSTOMER_LOCATION';
|
|
3556
|
+
} | {
|
|
3557
|
+
ruleName?: 'INVALID_UNKNOWN_LOCATION';
|
|
3558
|
+
} | {
|
|
3559
|
+
ruleName?: 'INVALID_MANUAL_APPROVAL_WITH_PRICING_PLANS';
|
|
3560
|
+
} | {
|
|
3561
|
+
ruleName?: 'INVALID_DEFAULT_CAPACITY';
|
|
3562
|
+
} | {
|
|
3563
|
+
ruleName?: 'INVALID_APPOINTMENT_CAPACITY';
|
|
3564
|
+
} | {
|
|
3565
|
+
ruleName?: 'INVALID_SESSION_DURATION';
|
|
3566
|
+
};
|
|
3567
|
+
/** @docsIgnore */
|
|
3568
|
+
type UpdateServiceValidationErrors = {
|
|
3569
|
+
ruleName?: 'INVALID_FORM';
|
|
3570
|
+
} | {
|
|
3571
|
+
ruleName?: 'INVALID_CATEGORY';
|
|
3572
|
+
} | {
|
|
3573
|
+
ruleName?: 'INVALID_BOOKING_POLICY';
|
|
3574
|
+
} | {
|
|
3575
|
+
ruleName?: 'INVALID_SERVICE_TYPE';
|
|
3576
|
+
} | {
|
|
3577
|
+
ruleName?: 'INVALID_SERVICE_NAME';
|
|
3578
|
+
} | {
|
|
3579
|
+
ruleName?: 'INVALID_ONLINE_BOOKING';
|
|
3580
|
+
} | {
|
|
3581
|
+
ruleName?: 'INVALID_STAFF_MEMBER_IDS';
|
|
3582
|
+
} | {
|
|
3583
|
+
ruleName?: 'PAYMENT_REQUIRED';
|
|
3584
|
+
} | {
|
|
3585
|
+
ruleName?: 'INVALID_PAYMENT_TYPE';
|
|
3586
|
+
} | {
|
|
3587
|
+
ruleName?: 'INVALID_RATE';
|
|
3588
|
+
} | {
|
|
3589
|
+
ruleName?: 'INVALID_PAYMENT_OPTIONS';
|
|
3590
|
+
} | {
|
|
3591
|
+
ruleName?: 'INVALID_BUSINESS_LOCATIONS';
|
|
3592
|
+
} | {
|
|
3593
|
+
ruleName?: 'INVALID_LOCATIONS';
|
|
3594
|
+
} | {
|
|
3595
|
+
ruleName?: 'INVALID_BUSINESS_LOCATION';
|
|
3596
|
+
} | {
|
|
3597
|
+
ruleName?: 'INVALID_CUSTOM_LOCATION';
|
|
3598
|
+
} | {
|
|
3599
|
+
ruleName?: 'INVALID_CUSTOMER_LOCATION';
|
|
3600
|
+
} | {
|
|
3601
|
+
ruleName?: 'INVALID_UNKNOWN_LOCATION';
|
|
3602
|
+
} | {
|
|
3603
|
+
ruleName?: 'INVALID_MANUAL_APPROVAL_WITH_PRICING_PLANS';
|
|
3604
|
+
} | {
|
|
3605
|
+
ruleName?: 'INVALID_DEFAULT_CAPACITY';
|
|
3606
|
+
} | {
|
|
3607
|
+
ruleName?: 'INVALID_APPOINTMENT_CAPACITY';
|
|
3608
|
+
} | {
|
|
3609
|
+
ruleName?: 'INVALID_SESSION_DURATION';
|
|
3610
|
+
};
|
|
3611
|
+
/** @docsIgnore */
|
|
3612
|
+
type QueryBookingFormsApplicationErrors = {
|
|
3613
|
+
code?: 'DEFAULT_BOOKING_FORM_NOT_FOUND';
|
|
3632
3614
|
description?: string;
|
|
3633
3615
|
data?: Record<string, any>;
|
|
3634
3616
|
};
|
|
@@ -3658,6 +3640,24 @@ type SetCustomSlugApplicationErrors = {
|
|
|
3658
3640
|
type SetCustomSlugValidationErrors = {
|
|
3659
3641
|
ruleName?: 'SLUG_CONTAINS_ILLEGAL_CHARACTERS';
|
|
3660
3642
|
};
|
|
3643
|
+
/** @docsIgnore */
|
|
3644
|
+
type DeleteAddOnGroupApplicationErrors = {
|
|
3645
|
+
code?: 'GROUP_NOT_ON_SERVICE';
|
|
3646
|
+
description?: string;
|
|
3647
|
+
data?: Record<string, any>;
|
|
3648
|
+
};
|
|
3649
|
+
/** @docsIgnore */
|
|
3650
|
+
type UpdateAddOnGroupApplicationErrors = {
|
|
3651
|
+
code?: 'GROUP_NOT_ON_SERVICE';
|
|
3652
|
+
description?: string;
|
|
3653
|
+
data?: Record<string, any>;
|
|
3654
|
+
};
|
|
3655
|
+
/** @docsIgnore */
|
|
3656
|
+
type SetAddOnsForGroupApplicationErrors = {
|
|
3657
|
+
code?: 'ADD_ON_GROUP_NOT_FOUND';
|
|
3658
|
+
description?: string;
|
|
3659
|
+
data?: Record<string, any>;
|
|
3660
|
+
};
|
|
3661
3661
|
interface BaseEventMetadata {
|
|
3662
3662
|
/**
|
|
3663
3663
|
* App instance ID.
|
|
@@ -3722,207 +3722,64 @@ interface ServiceCreatedEnvelope {
|
|
|
3722
3722
|
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
|
|
3723
3723
|
* @permissionScope Manage Bookings - all permissions
|
|
3724
3724
|
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
3725
|
-
* @permissionId BOOKINGS.SERVICES_READ
|
|
3726
|
-
* @webhook
|
|
3727
|
-
* @eventType wix.bookings.services.v2.service_created
|
|
3728
|
-
* @slug created
|
|
3729
|
-
*/
|
|
3730
|
-
declare function onServiceCreated(handler: (event: ServiceCreatedEnvelope) => void | Promise<void>): void;
|
|
3731
|
-
interface ServiceDeletedEnvelope {
|
|
3732
|
-
entity: Service;
|
|
3733
|
-
metadata: EventMetadata;
|
|
3734
|
-
}
|
|
3735
|
-
/**
|
|
3736
|
-
* Triggered when a service is deleted.
|
|
3737
|
-
* @permissionScope Manage Stores
|
|
3738
|
-
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
3739
|
-
* @permissionScope Read Bookings - Public Data
|
|
3740
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
|
|
3741
|
-
* @permissionScope Manage Bookings Services and Settings
|
|
3742
|
-
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
3743
|
-
* @permissionScope Manage Bookings
|
|
3744
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
3745
|
-
* @permissionScope Read Bookings - Including Participants
|
|
3746
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
|
|
3747
|
-
* @permissionScope Read Bookings - all read permissions
|
|
3748
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
|
|
3749
|
-
* @permissionScope Manage Bookings - all permissions
|
|
3750
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
3751
|
-
* @permissionId BOOKINGS.SERVICES_READ
|
|
3752
|
-
* @webhook
|
|
3753
|
-
* @eventType wix.bookings.services.v2.service_deleted
|
|
3754
|
-
* @slug deleted
|
|
3755
|
-
*/
|
|
3756
|
-
declare function onServiceDeleted(handler: (event: ServiceDeletedEnvelope) => void | Promise<void>): void;
|
|
3757
|
-
interface ServiceUpdatedEnvelope {
|
|
3758
|
-
entity: Service;
|
|
3759
|
-
metadata: EventMetadata;
|
|
3760
|
-
}
|
|
3761
|
-
/**
|
|
3762
|
-
* Triggered when a service is updated.
|
|
3763
|
-
* @permissionScope Manage Stores
|
|
3764
|
-
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
3765
|
-
* @permissionScope Read Bookings - Public Data
|
|
3766
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
|
|
3767
|
-
* @permissionScope Manage Bookings Services and Settings
|
|
3768
|
-
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
3769
|
-
* @permissionScope Manage Bookings
|
|
3770
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
3771
|
-
* @permissionScope Read Bookings - Including Participants
|
|
3772
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
|
|
3773
|
-
* @permissionScope Read Bookings - all read permissions
|
|
3774
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
|
|
3775
|
-
* @permissionScope Manage Bookings - all permissions
|
|
3776
|
-
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
3777
|
-
* @permissionId BOOKINGS.SERVICES_READ
|
|
3778
|
-
* @webhook
|
|
3779
|
-
* @eventType wix.bookings.services.v2.service_updated
|
|
3780
|
-
* @slug updated
|
|
3781
|
-
*/
|
|
3782
|
-
declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => void | Promise<void>): void;
|
|
3783
|
-
/**
|
|
3784
|
-
* Creates a new add-on group for a service and updates the service's `addOnGroups` array.
|
|
3785
|
-
* @param addOnGroup - Add-on group to create.
|
|
3786
|
-
* @public
|
|
3787
|
-
* @documentationMaturity preview
|
|
3788
|
-
* @requiredField addOnGroup
|
|
3789
|
-
* @requiredField addOnGroup.name
|
|
3790
|
-
* @requiredField options
|
|
3791
|
-
* @requiredField options.serviceId
|
|
3792
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
3793
|
-
* @applicableIdentity APP
|
|
3794
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
|
|
3795
|
-
*/
|
|
3796
|
-
declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options: NonNullablePaths<CreateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
|
|
3797
|
-
interface CreateAddOnGroupOptions {
|
|
3798
|
-
/**
|
|
3799
|
-
* ID of the service to create the add-on group for.
|
|
3800
|
-
* @format GUID
|
|
3801
|
-
*/
|
|
3802
|
-
serviceId: string | null;
|
|
3803
|
-
}
|
|
3804
|
-
/**
|
|
3805
|
-
* Deletes an add-on group.
|
|
3806
|
-
*
|
|
3807
|
-
*
|
|
3808
|
-
* Deleting the group doesn't delete individual add-ons.
|
|
3809
|
-
* Any add-on not associated with another group isn't available for customers to book.
|
|
3810
|
-
* @param addOnGroupId - ID of the add-on group to delete.
|
|
3811
|
-
* @public
|
|
3812
|
-
* @documentationMaturity preview
|
|
3813
|
-
* @requiredField addOnGroupId
|
|
3814
|
-
* @requiredField options
|
|
3815
|
-
* @requiredField options.serviceId
|
|
3816
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
3817
|
-
* @applicableIdentity APP
|
|
3818
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
|
|
3819
|
-
*/
|
|
3820
|
-
declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
|
|
3821
|
-
__applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
|
|
3822
|
-
}>;
|
|
3823
|
-
interface DeleteAddOnGroupOptions {
|
|
3824
|
-
/**
|
|
3825
|
-
* ID of the service from which to delete the add-on group.
|
|
3826
|
-
* @format GUID
|
|
3827
|
-
*/
|
|
3828
|
-
serviceId: string | null;
|
|
3829
|
-
}
|
|
3830
|
-
/**
|
|
3831
|
-
* Updates an add-on group.
|
|
3832
|
-
*
|
|
3833
|
-
*
|
|
3834
|
-
* To update only the display order for add-ons, call [Set Add Ons For Group](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/set-add-ons-for-group) instead.
|
|
3835
|
-
*
|
|
3836
|
-
* You can't change which service an add-on group belongs to.
|
|
3837
|
-
* Each add-on group is permanently associated with the service it was created for.
|
|
3838
|
-
* To use the same add-ons with a different service, create a new add-on group for that service.
|
|
3839
|
-
* @param addOnGroup - Add-on group to update.
|
|
3840
|
-
* @public
|
|
3841
|
-
* @documentationMaturity preview
|
|
3842
|
-
* @requiredField addOnGroup
|
|
3843
|
-
* @requiredField addOnGroup._id
|
|
3844
|
-
* @requiredField options
|
|
3845
|
-
* @requiredField options.serviceId
|
|
3846
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
|
|
3847
|
-
* @applicableIdentity APP
|
|
3848
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
|
|
3849
|
-
*/
|
|
3850
|
-
declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
3851
|
-
__applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
|
|
3852
|
-
}>;
|
|
3853
|
-
interface UpdateAddOnGroupOptions {
|
|
3854
|
-
/**
|
|
3855
|
-
* ID of the service that contains the add-on group.
|
|
3856
|
-
* @format GUID
|
|
3857
|
-
*/
|
|
3858
|
-
serviceId: string | null;
|
|
3725
|
+
* @permissionId BOOKINGS.SERVICES_READ
|
|
3726
|
+
* @webhook
|
|
3727
|
+
* @eventType wix.bookings.services.v2.service_created
|
|
3728
|
+
* @slug created
|
|
3729
|
+
*/
|
|
3730
|
+
declare function onServiceCreated(handler: (event: ServiceCreatedEnvelope) => void | Promise<void>): void;
|
|
3731
|
+
interface ServiceDeletedEnvelope {
|
|
3732
|
+
entity: Service;
|
|
3733
|
+
metadata: EventMetadata;
|
|
3859
3734
|
}
|
|
3860
3735
|
/**
|
|
3861
|
-
*
|
|
3862
|
-
*
|
|
3863
|
-
*
|
|
3864
|
-
*
|
|
3865
|
-
*
|
|
3866
|
-
*
|
|
3867
|
-
*
|
|
3868
|
-
* @
|
|
3869
|
-
* @
|
|
3870
|
-
* @
|
|
3871
|
-
* @
|
|
3872
|
-
* @
|
|
3873
|
-
* @
|
|
3874
|
-
* @
|
|
3736
|
+
* Triggered when a service is deleted.
|
|
3737
|
+
* @permissionScope Manage Stores
|
|
3738
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
3739
|
+
* @permissionScope Read Bookings - Public Data
|
|
3740
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
|
|
3741
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
3742
|
+
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
3743
|
+
* @permissionScope Manage Bookings
|
|
3744
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
3745
|
+
* @permissionScope Read Bookings - Including Participants
|
|
3746
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
|
|
3747
|
+
* @permissionScope Read Bookings - all read permissions
|
|
3748
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
|
|
3749
|
+
* @permissionScope Manage Bookings - all permissions
|
|
3750
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
3751
|
+
* @permissionId BOOKINGS.SERVICES_READ
|
|
3752
|
+
* @webhook
|
|
3753
|
+
* @eventType wix.bookings.services.v2.service_deleted
|
|
3754
|
+
* @slug deleted
|
|
3875
3755
|
*/
|
|
3876
|
-
declare function
|
|
3877
|
-
interface
|
|
3878
|
-
|
|
3879
|
-
|
|
3880
|
-
* @format GUID
|
|
3881
|
-
* @maxSize 3
|
|
3882
|
-
*/
|
|
3883
|
-
groupIds?: string[] | null;
|
|
3756
|
+
declare function onServiceDeleted(handler: (event: ServiceDeletedEnvelope) => void | Promise<void>): void;
|
|
3757
|
+
interface ServiceUpdatedEnvelope {
|
|
3758
|
+
entity: Service;
|
|
3759
|
+
metadata: EventMetadata;
|
|
3884
3760
|
}
|
|
3885
3761
|
/**
|
|
3886
|
-
*
|
|
3887
|
-
*
|
|
3888
|
-
*
|
|
3889
|
-
*
|
|
3890
|
-
*
|
|
3891
|
-
*
|
|
3892
|
-
*
|
|
3893
|
-
*
|
|
3894
|
-
*
|
|
3895
|
-
*
|
|
3896
|
-
*
|
|
3897
|
-
*
|
|
3898
|
-
* @
|
|
3899
|
-
* @
|
|
3900
|
-
* @
|
|
3901
|
-
* @
|
|
3902
|
-
* @
|
|
3903
|
-
* @
|
|
3904
|
-
* @
|
|
3905
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
|
|
3906
|
-
* @applicableIdentity APP
|
|
3907
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
|
|
3762
|
+
* Triggered when a service is updated.
|
|
3763
|
+
* @permissionScope Manage Stores
|
|
3764
|
+
* @permissionScopeId SCOPE.STORES.MANAGE-STORES
|
|
3765
|
+
* @permissionScope Read Bookings - Public Data
|
|
3766
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-PUBLIC
|
|
3767
|
+
* @permissionScope Manage Bookings Services and Settings
|
|
3768
|
+
* @permissionScopeId SCOPE.BOOKINGS.CONFIGURATION
|
|
3769
|
+
* @permissionScope Manage Bookings
|
|
3770
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.MANAGE-BOOKINGS
|
|
3771
|
+
* @permissionScope Read Bookings - Including Participants
|
|
3772
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS.READ-BOOKINGS-SENSITIVE
|
|
3773
|
+
* @permissionScope Read Bookings - all read permissions
|
|
3774
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.READ-BOOKINGS
|
|
3775
|
+
* @permissionScope Manage Bookings - all permissions
|
|
3776
|
+
* @permissionScopeId SCOPE.DC-BOOKINGS-MEGA.MANAGE-BOOKINGS
|
|
3777
|
+
* @permissionId BOOKINGS.SERVICES_READ
|
|
3778
|
+
* @webhook
|
|
3779
|
+
* @eventType wix.bookings.services.v2.service_updated
|
|
3780
|
+
* @slug updated
|
|
3908
3781
|
*/
|
|
3909
|
-
declare function
|
|
3910
|
-
__applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
|
|
3911
|
-
}>;
|
|
3912
|
-
interface SetAddOnsForGroupOptions {
|
|
3913
|
-
/**
|
|
3914
|
-
* Group ID to set add-ons for.
|
|
3915
|
-
* @format GUID
|
|
3916
|
-
*/
|
|
3917
|
-
groupId: string | null;
|
|
3918
|
-
/**
|
|
3919
|
-
* IDs of add-ons to set for the group in display order.
|
|
3920
|
-
* @format GUID
|
|
3921
|
-
* @minSize 1
|
|
3922
|
-
* @maxSize 7
|
|
3923
|
-
*/
|
|
3924
|
-
addOnIds: string[] | null;
|
|
3925
|
-
}
|
|
3782
|
+
declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => void | Promise<void>): void;
|
|
3926
3783
|
/**
|
|
3927
3784
|
* Creates a service.
|
|
3928
3785
|
*
|
|
@@ -5034,5 +4891,148 @@ interface ValidateSlugOptions {
|
|
|
5034
4891
|
* @fqn wix.bookings.services.v2.ServicesService.CloneService
|
|
5035
4892
|
*/
|
|
5036
4893
|
declare function cloneService(sourceServiceId: string): Promise<NonNullablePaths<CloneServiceResponse, `service.type` | `service.media.items` | `service.category._id` | `service.form._id` | `service.payment.fixed.price.value` | `service.payment.fixed.price.currency` | `service.payment.rateType` | `service.payment.pricingPlanIds` | `service.payment.addOnOption` | `service.locations` | `service.locations.${number}.business._id` | `service.locations.${number}.business.name` | `service.locations.${number}.custom._id` | `service.locations.${number}._id` | `service.locations.${number}.type` | `service.bookingPolicy._id` | `service.bookingPolicy.customPolicyDescription.enabled` | `service.bookingPolicy.customPolicyDescription.description` | `service.bookingPolicy.limitEarlyBookingPolicy.enabled` | `service.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `service.bookingPolicy.limitLateBookingPolicy.enabled` | `service.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `service.bookingPolicy.bookAfterStartPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.enabled` | `service.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `service.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `service.bookingPolicy.reschedulePolicy.enabled` | `service.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `service.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `service.bookingPolicy.waitlistPolicy.enabled` | `service.bookingPolicy.waitlistPolicy.capacity` | `service.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `service.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `service.bookingPolicy.resourcesPolicy.enabled` | `service.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `service.bookingPolicy.cancellationFeePolicy.enabled` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows` | `service.bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `service.bookingPolicy.saveCreditCardPolicy.enabled` | `service.schedule.availabilityConstraints.durations` | `service.schedule.availabilityConstraints.durations.${number}.minutes` | `service.schedule.availabilityConstraints.sessionDurations` | `service.schedule.availabilityConstraints.timeBetweenSessions` | `service.staffMemberIds` | `service.serviceResources` | `service.supportedSlugs` | `service.supportedSlugs.${number}.name` | `service.seoData.tags` | `service.seoData.tags.${number}.type` | `service.seoData.tags.${number}.children` | `service.seoData.tags.${number}.custom` | `service.seoData.tags.${number}.disabled` | `service.seoData.settings.preventAutoRedirect` | `service.seoData.settings.keywords` | `service.seoData.settings.keywords.${number}.term` | `service.seoData.settings.keywords.${number}.isMain` | `service.addOnGroups` | `service.addOnDetails` | `service.taxableAddress.taxableAddressType` | `errors`, 7>>;
|
|
4894
|
+
/**
|
|
4895
|
+
* Creates a new add-on group for a service and updates the service's `addOnGroups` array.
|
|
4896
|
+
* @param addOnGroup - Add-on group to create.
|
|
4897
|
+
* @public
|
|
4898
|
+
* @documentationMaturity preview
|
|
4899
|
+
* @requiredField addOnGroup
|
|
4900
|
+
* @requiredField addOnGroup.name
|
|
4901
|
+
* @requiredField options
|
|
4902
|
+
* @requiredField options.serviceId
|
|
4903
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
4904
|
+
* @applicableIdentity APP
|
|
4905
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
|
|
4906
|
+
*/
|
|
4907
|
+
declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options: NonNullablePaths<CreateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
|
|
4908
|
+
interface CreateAddOnGroupOptions {
|
|
4909
|
+
/**
|
|
4910
|
+
* ID of the service to create the add-on group for.
|
|
4911
|
+
* @format GUID
|
|
4912
|
+
*/
|
|
4913
|
+
serviceId: string | null;
|
|
4914
|
+
}
|
|
4915
|
+
/**
|
|
4916
|
+
* Deletes an add-on group.
|
|
4917
|
+
*
|
|
4918
|
+
*
|
|
4919
|
+
* Deleting the group doesn't delete individual add-ons.
|
|
4920
|
+
* Any add-on not associated with another group isn't available for customers to book.
|
|
4921
|
+
* @param addOnGroupId - ID of the add-on group to delete.
|
|
4922
|
+
* @public
|
|
4923
|
+
* @documentationMaturity preview
|
|
4924
|
+
* @requiredField addOnGroupId
|
|
4925
|
+
* @requiredField options
|
|
4926
|
+
* @requiredField options.serviceId
|
|
4927
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
4928
|
+
* @applicableIdentity APP
|
|
4929
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
|
|
4930
|
+
*/
|
|
4931
|
+
declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
|
|
4932
|
+
__applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
|
|
4933
|
+
}>;
|
|
4934
|
+
interface DeleteAddOnGroupOptions {
|
|
4935
|
+
/**
|
|
4936
|
+
* ID of the service from which to delete the add-on group.
|
|
4937
|
+
* @format GUID
|
|
4938
|
+
*/
|
|
4939
|
+
serviceId: string | null;
|
|
4940
|
+
}
|
|
4941
|
+
/**
|
|
4942
|
+
* Updates an add-on group.
|
|
4943
|
+
*
|
|
4944
|
+
*
|
|
4945
|
+
* To update only the display order for add-ons, call [Set Add Ons For Group](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/set-add-ons-for-group) instead.
|
|
4946
|
+
*
|
|
4947
|
+
* You can't change which service an add-on group belongs to.
|
|
4948
|
+
* Each add-on group is permanently associated with the service it was created for.
|
|
4949
|
+
* To use the same add-ons with a different service, create a new add-on group for that service.
|
|
4950
|
+
* @param addOnGroup - Add-on group to update.
|
|
4951
|
+
* @public
|
|
4952
|
+
* @documentationMaturity preview
|
|
4953
|
+
* @requiredField addOnGroup
|
|
4954
|
+
* @requiredField addOnGroup._id
|
|
4955
|
+
* @requiredField options
|
|
4956
|
+
* @requiredField options.serviceId
|
|
4957
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
|
|
4958
|
+
* @applicableIdentity APP
|
|
4959
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
|
|
4960
|
+
*/
|
|
4961
|
+
declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
4962
|
+
__applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
|
|
4963
|
+
}>;
|
|
4964
|
+
interface UpdateAddOnGroupOptions {
|
|
4965
|
+
/**
|
|
4966
|
+
* ID of the service that contains the add-on group.
|
|
4967
|
+
* @format GUID
|
|
4968
|
+
*/
|
|
4969
|
+
serviceId: string | null;
|
|
4970
|
+
}
|
|
4971
|
+
/**
|
|
4972
|
+
* Retrieves add-on groups for a service with enriched add-on details.
|
|
4973
|
+
*
|
|
4974
|
+
*
|
|
4975
|
+
* Add-on details are returned based on their display order.
|
|
4976
|
+
*
|
|
4977
|
+
* If you specify `groupIds`, only those groups are returned.
|
|
4978
|
+
* By default, all groups associated with the service are returned.
|
|
4979
|
+
* @param serviceId - ID of the service to retrieve add-on groups for.
|
|
4980
|
+
* @public
|
|
4981
|
+
* @documentationMaturity preview
|
|
4982
|
+
* @requiredField serviceId
|
|
4983
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
|
|
4984
|
+
* @applicableIdentity APP
|
|
4985
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
|
|
4986
|
+
*/
|
|
4987
|
+
declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 2>>;
|
|
4988
|
+
interface ListAddOnGroupsByServiceIdOptions {
|
|
4989
|
+
/**
|
|
4990
|
+
* List of group IDs to return. By default, all groups are returned.
|
|
4991
|
+
* @format GUID
|
|
4992
|
+
* @maxSize 3
|
|
4993
|
+
*/
|
|
4994
|
+
groupIds?: string[] | null;
|
|
4995
|
+
}
|
|
4996
|
+
/**
|
|
4997
|
+
* Sets the add-ons for a specific group, replacing any existing add-ons in the group.
|
|
4998
|
+
*
|
|
4999
|
+
*
|
|
5000
|
+
* Call this method when you want to:
|
|
5001
|
+
* - Add new add-ons to a group.
|
|
5002
|
+
* - Remove add-ons from a group.
|
|
5003
|
+
* - Reorder existing add-ons for optimal customer presentation.
|
|
5004
|
+
*
|
|
5005
|
+
* The order of add-ons in the request determines their display sequence to customers.
|
|
5006
|
+
* All specified add-ons must already exist before adding them to a group.
|
|
5007
|
+
*
|
|
5008
|
+
* For updating other add-on group properties, for example `name`, `prompt`, or `constraints`, call [Update Add On Group](https://dev.wix.com/docs/api-reference/business-solutions/bookings/services/services-v2/update-add-on-group) instead.
|
|
5009
|
+
* @param serviceId - Service ID containing the group.
|
|
5010
|
+
* @public
|
|
5011
|
+
* @documentationMaturity preview
|
|
5012
|
+
* @requiredField options
|
|
5013
|
+
* @requiredField options.addOnIds
|
|
5014
|
+
* @requiredField options.groupId
|
|
5015
|
+
* @requiredField serviceId
|
|
5016
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
|
|
5017
|
+
* @applicableIdentity APP
|
|
5018
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
|
|
5019
|
+
*/
|
|
5020
|
+
declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 2>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
5021
|
+
__applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
|
|
5022
|
+
}>;
|
|
5023
|
+
interface SetAddOnsForGroupOptions {
|
|
5024
|
+
/**
|
|
5025
|
+
* Group ID to set add-ons for.
|
|
5026
|
+
* @format GUID
|
|
5027
|
+
*/
|
|
5028
|
+
groupId: string | null;
|
|
5029
|
+
/**
|
|
5030
|
+
* IDs of add-ons to set for the group in display order.
|
|
5031
|
+
* @format GUID
|
|
5032
|
+
* @minSize 1
|
|
5033
|
+
* @maxSize 7
|
|
5034
|
+
*/
|
|
5035
|
+
addOnIds: string[] | null;
|
|
5036
|
+
}
|
|
5037
5037
|
|
|
5038
|
-
export { type ValidateSlugOptions as $, type AddOnGroup as A, type BulkCreateServicesOptions as B, type CreateAddOnGroupOptions as C, type DeleteAddOnGroupOptions as D, type QueryBookingFormsApplicationErrors as E, type CountServicesOptions as F, type CountServicesResponse as G, type QueryLocationsOptions as H, type QueryLocationsResponse as I, type QueryCategoriesOptions as J, type QueryCategoriesResponse as K, type ListAddOnGroupsByServiceIdOptions as L, type Location as M, type SetServiceLocationsOptions as N, type SetServiceLocationsResponse as O, type EnablePricingPlansForServiceResponse as P, type QueryPoliciesResponse as Q, type EnablePricingPlansForServiceApplicationErrors as R, type SetAddOnsForGroupOptions as S, type DisablePricingPlansForServiceOptions as T, type UpdateAddOnGroupOptions as U, type DisablePricingPlansForServiceResponse as V, type DisablePricingPlansForServiceApplicationErrors as W, type SetCustomSlugOptions as X, type SetCustomSlugResponse as Y, type SetCustomSlugApplicationErrors as Z, type SetCustomSlugValidationErrors as _, type CreateAddOnGroupResponse as a, type BookingPolicy as a$, type ValidateSlugResponse as a0, type CloneServiceResponse as a1, type ServiceCreatedEnvelope as a2, type ServiceDeletedEnvelope as a3, type ServiceUpdatedEnvelope as a4, type QueryV2 as a5, typedQueryServices as a6, type QueryServicesOptions as a7, type ServicesQueryBuilder as a8, ServiceType as a9, Event as aA, CrudType as aB, PlacementType as aC, DayOfWeek as aD, ResolutionMethod as aE, type Media as aF, type MediaItem as aG, type MediaItemItemOneOf as aH, type V2Category as aI, type Form as aJ, type FormSettings as aK, type Payment as aL, type PaymentRateOneOf as aM, type FixedPayment as aN, type Money as aO, type CustomPayment as aP, type VariedPayment as aQ, type PaymentOptions as aR, type OnlineBooking as aS, type Conferencing as aT, type LocationOptionsOneOf as aU, type CommonAddress as aV, type CommonAddressStreetOneOf as aW, type StreetAddress as aX, type AddressLocation as aY, type BusinessLocationOptions as aZ, type CustomLocationOptions as a_, RateType as aa, AddOnPaymentOptions as ab, LocationType as ac, RankingOrder as ad, SortingMethodType as ae, Timing as af, CompletionRequirement as ag, TaxableAddressType as ah, WebhookIdentityType as ai, V2RequestedFields as aj, SortOrder as ak, SortType as al, SortDirection as am, MissingValues as an, ScalarType as ao, NestedAggregationType as ap, Interval as aq, AggregationType as ar, Mode as as, RequestedFields as at, Action as au, InvalidSlugError as av, CloneErrors as aw, Status as ax, CategoryNotificationEvent as ay, BenefitType as az, type DeleteAddOnGroupApplicationErrors as b, type AddOnAddOnInfoOneOf as b$, type PolicyDescription as b0, type LimitEarlyBookingPolicy as b1, type LimitLateBookingPolicy as b2, type BookAfterStartPolicy as b3, type CancellationPolicy as b4, type ReschedulePolicy as b5, type WaitlistPolicy as b6, type ParticipantsPolicy as b7, type ResourcesPolicy as b8, type CancellationFeePolicy as b9, type Settings as bA, type AddOnDetails as bB, type TaxableAddress as bC, type PhoneCall as bD, type ReindexMessage as bE, type ReindexMessageActionOneOf as bF, type Upsert as bG, type Delete as bH, type Schema as bI, type SetCustomSlugEvent as bJ, type ServicesUrlsChanged as bK, type DomainEvent as bL, type DomainEventBodyOneOf as bM, type EntityCreatedEvent as bN, type RestoreInfo as bO, type EntityUpdatedEvent as bP, type EntityDeletedEvent as bQ, type ActionEvent as bR, type MessageEnvelope as bS, type IdentificationData as bT, type IdentificationDataIdOneOf as bU, type CreateAddOnGroupRequest as bV, type DeleteAddOnGroupRequest as bW, type DeleteAddOnGroupResponse as bX, type UpdateAddOnGroupRequest as bY, type ListAddOnGroupsByServiceIdRequest as bZ, type AddOn as b_, type CancellationWindow as ba, type CancellationWindowFeeOneOf as bb, type SaveCreditCardPolicy as bc, type StaffSortingPolicy as bd, type StaffSortingPolicyOptionsOneOf as be, type RankingOptions as bf, type CustomOptions as bg, type IntakeFormPolicy as bh, type Schedule as bi, type AvailabilityConstraints as bj, type Duration as bk, type StaffMember as bl, type StaffMediaItem as bm, type StaffMediaItemItemOneOf 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 Slug as bu, type URLs as bv, type ExtendedFields as bw, type SeoSchema as bx, type Keyword as by, type Tag as bz, type UpdateAddOnGroupResponse as c, type NestedValueAggregationResult as c$, type AddOnGroupDetail as c0, type SetAddOnsForGroupRequest as c1, type CreateServiceRequest as c2, type CreateServiceResponse as c3, type ValidateServiceRequest as c4, type ValidateServiceResponse as c5, type FieldViolation as c6, type BulkCreateServicesRequest as c7, type BulkServiceResult as c8, type ItemMetadata as c9, type SearchServicesRequest as cA, type CursorSearch as cB, type CursorSearchPagingMethodOneOf as cC, type Aggregation as cD, type AggregationKindOneOf as cE, type RangeBucket as cF, type IncludeMissingValuesOptions as cG, type ValueAggregation as cH, type ValueAggregationOptionsOneOf as cI, type RangeAggregation as cJ, type ScalarAggregation as cK, type DateHistogramAggregation as cL, type NestedAggregationItem as cM, type NestedAggregationItemKindOneOf as cN, type NestedAggregation as cO, type GroupByAggregation as cP, type GroupByAggregationKindOneOf as cQ, type SearchDetails as cR, type CursorPagingMetadata as cS, type AggregationData as cT, type ValueAggregationResult as cU, type RangeAggregationResult as cV, type NestedAggregationResults as cW, type NestedAggregationResultsResultOneOf as cX, type ValueResults as cY, type RangeResults as cZ, type AggregationResultsScalarResult as c_, type ApplicationError as ca, type BulkActionMetadata as cb, type GetServiceRequest as cc, type GetServiceResponse as cd, type GetServiceAvailabilityConstraintsRequest as ce, type GetServiceAvailabilityConstraintsResponse as cf, type ServiceAvailabilityConstraints as cg, type SplitInterval as ch, type UpdateServiceRequest as ci, type UpdateServiceResponse as cj, type BulkUpdateServicesRequest as ck, type MaskedService as cl, type BulkUpdateServicesByFilterRequest as cm, type DeleteServiceRequest as cn, type ParticipantNotification as co, type DeleteServiceResponse as cp, type BulkDeleteServicesRequest as cq, type BulkDeleteServicesByFilterRequest as cr, type QueryServicesRequest as cs, type QueryV2PagingMethodOneOf as ct, type Sorting as cu, type Paging as cv, type CursorPaging as cw, type QueryServicesResponse as cx, type PagingMetadataV2 as cy, type Cursors as cz, type UpdateAddOnGroupApplicationErrors as d, type SpecialHourPeriod as d$, type ValueResult as d0, type RangeResult as d1, type ScalarResult as d2, type NestedResultValue as d3, type NestedResultValueResultOneOf as d4, type Results as d5, type DateHistogramResult as d6, type GroupByValueResults as d7, type DateHistogramResults as d8, type NestedResults as d9, type DisablePricingPlansForServiceRequest as dA, type SetCustomSlugRequest as dB, type ValidateSlugRequest as dC, type CloneServiceRequest as dD, type CategoryNotification as dE, type Category as dF, type Empty as dG, type BenefitNotification as dH, type Benefit as dI, type EntryPass as dJ, type Discount as dK, type DiscountDiscountOneOf as dL, type Behavior as dM, type BehaviorBehaviorOneOf as dN, type UserDomainInfoChangedEvent as dO, type HtmlSitePublished as dP, type Page as dQ, type SitePropertiesNotification as dR, type SitePropertiesEvent as dS, type Properties as dT, type Categories as dU, type Locale as dV, type Address as dW, type AddressHint as dX, type GeoCoordinates as dY, type BusinessSchedule as dZ, type TimePeriod as d_, type AggregationResults as da, type AggregationResultsResultOneOf as db, type QueryPoliciesRequest as dc, type CursorQueryPagingMethodOneOf as dd, type BookingPolicyWithServices as de, type QueryBookingFormsRequest as df, type BookingForm as dg, type FormDetails as dh, type ConnectedService as di, type CountServicesRequest as dj, type QueryLocationsRequest as dk, type QueryLocationsFilter as dl, type BusinessLocations as dm, type CustomLocations as dn, type CustomerLocations as dp, type QueryCategoriesRequest as dq, type QueryCategoriesFilter as dr, type QueryServicesMultiLanguageRequest as ds, type QueryServicesMultiLanguageResponse as dt, type SetServiceLocationsRequest as du, type RemovedLocationSessionsAction as dv, type RemovedLocationSessionsActionActionOptionsOneOf as dw, type MoveToNewLocationsOptions as dx, type EnablePricingPlansForServiceRequest as dy, type InvalidPricingPlan as dz, type ListAddOnGroupsByServiceIdResponse as e, queryServices as e$, type Multilingual as e0, type SupportedLanguage as e1, type ConsentPolicy as e2, type Translation as e3, type ChangeContext as e4, type ChangeContextPayloadOneOf as e5, type PropertiesChange as e6, type SiteCreated as e7, type SiteCloned as e8, type BaseEventMetadata as e9, type CloneErrorsWithLiterals as eA, type StatusWithLiterals as eB, type CategoryNotificationEventWithLiterals as eC, type BenefitTypeWithLiterals as eD, type EventWithLiterals as eE, type CrudTypeWithLiterals as eF, type PlacementTypeWithLiterals as eG, type DayOfWeekWithLiterals as eH, type ResolutionMethodWithLiterals as eI, type CommonSearchWithEntityContext as eJ, onServiceCreated as eK, onServiceDeleted as eL, onServiceUpdated as eM, createAddOnGroup as eN, deleteAddOnGroup as eO, updateAddOnGroup as eP, listAddOnGroupsByServiceId as eQ, setAddOnsForGroup as eR, createService as eS, bulkCreateServices as eT, getService as eU, updateService as eV, bulkUpdateServices as eW, bulkUpdateServicesByFilter as eX, deleteService as eY, bulkDeleteServices as eZ, bulkDeleteServicesByFilter as e_, type EventMetadata as ea, type ServicesQueryResult as eb, type ServiceSearchSpec as ec, type ServiceTypeWithLiterals as ed, type RateTypeWithLiterals as ee, type AddOnPaymentOptionsWithLiterals as ef, type LocationTypeWithLiterals as eg, type RankingOrderWithLiterals as eh, type SortingMethodTypeWithLiterals as ei, type TimingWithLiterals as ej, type CompletionRequirementWithLiterals as ek, type TaxableAddressTypeWithLiterals as el, type WebhookIdentityTypeWithLiterals as em, type V2RequestedFieldsWithLiterals as en, type SortOrderWithLiterals as eo, type SortTypeWithLiterals as ep, type SortDirectionWithLiterals as eq, type MissingValuesWithLiterals as er, type ScalarTypeWithLiterals as es, type NestedAggregationTypeWithLiterals as et, type IntervalWithLiterals as eu, type AggregationTypeWithLiterals as ev, type ModeWithLiterals as ew, type RequestedFieldsWithLiterals as ex, type ActionWithLiterals as ey, type InvalidSlugErrorWithLiterals as ez, type SetAddOnsForGroupResponse as f, queryPolicies as f0, queryBookingForms as f1, countServices as f2, queryLocations as f3, queryCategories as f4, setServiceLocations as f5, enablePricingPlansForService as f6, disablePricingPlansForService as f7, setCustomSlug as f8, validateSlug as f9, cloneService as fa, type SetAddOnsForGroupApplicationErrors as g, type Service as h, type CreateServiceValidationErrors as i, type BulkCreateServicesResponse as j, type UpdateService as k, type UpdateServiceValidationErrors as l, type BulkUpdateServicesOptions as m, type BulkUpdateServicesResponse as n, type BulkUpdateServicesByFilterOptions as o, type BulkUpdateServicesByFilterResponse as p, type DeleteServiceOptions as q, type BulkDeleteServicesOptions as r, type BulkDeleteServicesResponse as s, type BulkDeleteServicesByFilterOptions as t, type BulkDeleteServicesByFilterResponse as u, type ServiceSearch as v, type SearchServicesResponse as w, type CursorQuery as x, type QueryBookingFormsOptions as y, type QueryBookingFormsResponse as z };
|
|
5038
|
+
export { type SetAddOnsForGroupOptions 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 SetCustomSlugOptions as G, type SetCustomSlugResponse as H, type SetCustomSlugApplicationErrors as I, type SetCustomSlugValidationErrors as J, type ValidateSlugResponse as K, type Location as L, type CloneServiceResponse as M, type AddOnGroup as N, type CreateAddOnGroupOptions as O, type CreateAddOnGroupResponse as P, type QueryPoliciesResponse as Q, type DeleteAddOnGroupOptions as R, type Service as S, type DeleteAddOnGroupApplicationErrors as T, type UpdateService as U, type ValidateSlugOptions as V, type UpdateAddOnGroupOptions as W, type UpdateAddOnGroupResponse as X, type UpdateAddOnGroupApplicationErrors as Y, type ListAddOnGroupsByServiceIdOptions as Z, type ListAddOnGroupsByServiceIdResponse as _, type BulkCreateServicesResponse as a, type BookingPolicy as a$, type SetAddOnsForGroupResponse as a0, type SetAddOnsForGroupApplicationErrors as a1, type ServiceCreatedEnvelope as a2, type ServiceDeletedEnvelope as a3, type ServiceUpdatedEnvelope as a4, type QueryV2 as a5, typedQueryServices as a6, type QueryServicesOptions as a7, type ServicesQueryBuilder as a8, ServiceType as a9, Event as aA, CrudType as aB, PlacementType as aC, DayOfWeek as aD, ResolutionMethod as aE, type Media as aF, type MediaItem as aG, type MediaItemItemOneOf as aH, type V2Category as aI, type Form as aJ, type FormSettings as aK, type Payment as aL, type PaymentRateOneOf as aM, type FixedPayment as aN, type Money as aO, type CustomPayment as aP, type VariedPayment as aQ, type PaymentOptions as aR, type OnlineBooking as aS, type Conferencing as aT, type LocationOptionsOneOf as aU, type CommonAddress as aV, type CommonAddressStreetOneOf as aW, type StreetAddress as aX, type AddressLocation as aY, type BusinessLocationOptions as aZ, type CustomLocationOptions as a_, RateType as aa, AddOnPaymentOptions as ab, LocationType as ac, RankingOrder as ad, SortingMethodType as ae, Timing as af, CompletionRequirement as ag, TaxableAddressType as ah, WebhookIdentityType as ai, V2RequestedFields as aj, SortOrder as ak, SortType as al, SortDirection as am, MissingValues as an, ScalarType as ao, NestedAggregationType as ap, Interval as aq, AggregationType as ar, Mode as as, RequestedFields as at, Action as au, InvalidSlugError as av, CloneErrors as aw, Status as ax, CategoryNotificationEvent as ay, BenefitType as az, type UpdateServiceValidationErrors as b, type BulkServiceResult as b$, type PolicyDescription as b0, type LimitEarlyBookingPolicy as b1, type LimitLateBookingPolicy as b2, type BookAfterStartPolicy as b3, type CancellationPolicy as b4, type ReschedulePolicy as b5, type WaitlistPolicy as b6, type ParticipantsPolicy as b7, type ResourcesPolicy as b8, type CancellationFeePolicy as b9, type Settings as bA, type AddOnDetails as bB, type TaxableAddress as bC, type PhoneCall as bD, type ReindexMessage as bE, type ReindexMessageActionOneOf as bF, type Upsert as bG, type Delete as bH, type Schema as bI, type SetCustomSlugEvent as bJ, type ServicesUrlsChanged as bK, type DomainEvent as bL, type DomainEventBodyOneOf as bM, type EntityCreatedEvent as bN, type RestoreInfo as bO, type EntityUpdatedEvent as bP, type EntityDeletedEvent as bQ, type ActionEvent as bR, type MessageEnvelope as bS, type IdentificationData as bT, type IdentificationDataIdOneOf as bU, type CreateServiceRequest as bV, type CreateServiceResponse as bW, type ValidateServiceRequest as bX, type ValidateServiceResponse as bY, type FieldViolation as bZ, type BulkCreateServicesRequest as b_, type CancellationWindow as ba, type CancellationWindowFeeOneOf as bb, type SaveCreditCardPolicy as bc, type StaffSortingPolicy as bd, type StaffSortingPolicyOptionsOneOf as be, type RankingOptions as bf, type CustomOptions as bg, type IntakeFormPolicy as bh, type Schedule as bi, type AvailabilityConstraints as bj, type Duration as bk, type StaffMember as bl, type StaffMediaItem as bm, type StaffMediaItemItemOneOf 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 Slug as bu, type URLs as bv, type ExtendedFields as bw, type SeoSchema as bx, type Keyword as by, type Tag as bz, type BulkUpdateServicesOptions as c, type DateHistogramResults as c$, type ItemMetadata as c0, type ApplicationError as c1, type BulkActionMetadata as c2, type GetServiceRequest as c3, type GetServiceResponse as c4, type GetServiceAvailabilityConstraintsRequest as c5, type GetServiceAvailabilityConstraintsResponse as c6, type ServiceAvailabilityConstraints as c7, type SplitInterval as c8, type UpdateServiceRequest as c9, type RangeAggregation as cA, type ScalarAggregation as cB, type DateHistogramAggregation as cC, type NestedAggregationItem as cD, type NestedAggregationItemKindOneOf as cE, type NestedAggregation as cF, type GroupByAggregation as cG, type GroupByAggregationKindOneOf as cH, type SearchDetails as cI, type CursorPagingMetadata as cJ, type AggregationData as cK, type ValueAggregationResult as cL, type RangeAggregationResult as cM, type NestedAggregationResults as cN, type NestedAggregationResultsResultOneOf as cO, type ValueResults as cP, type RangeResults as cQ, type AggregationResultsScalarResult as cR, type NestedValueAggregationResult as cS, type ValueResult as cT, type RangeResult as cU, type ScalarResult as cV, type NestedResultValue as cW, type NestedResultValueResultOneOf as cX, type Results as cY, type DateHistogramResult as cZ, type GroupByValueResults as c_, type UpdateServiceResponse as ca, type BulkUpdateServicesRequest as cb, type MaskedService as cc, type BulkUpdateServicesByFilterRequest as cd, type DeleteServiceRequest as ce, type ParticipantNotification as cf, type DeleteServiceResponse as cg, type BulkDeleteServicesRequest as ch, type BulkDeleteServicesByFilterRequest as ci, type QueryServicesRequest as cj, type QueryV2PagingMethodOneOf as ck, type Sorting as cl, type Paging as cm, type CursorPaging as cn, type QueryServicesResponse as co, type PagingMetadataV2 as cp, type Cursors as cq, type SearchServicesRequest as cr, type CursorSearch as cs, type CursorSearchPagingMethodOneOf as ct, type Aggregation as cu, type AggregationKindOneOf as cv, type RangeBucket as cw, type IncludeMissingValuesOptions as cx, type ValueAggregation as cy, type ValueAggregationOptionsOneOf as cz, type BulkUpdateServicesResponse as d, type SiteCloned as d$, type NestedResults as d0, type AggregationResults as d1, type AggregationResultsResultOneOf as d2, type QueryPoliciesRequest as d3, type CursorQueryPagingMethodOneOf as d4, type BookingPolicyWithServices as d5, type QueryBookingFormsRequest as d6, type BookingForm as d7, type FormDetails as d8, type ConnectedService as d9, type EntryPass as dA, type Discount as dB, type DiscountDiscountOneOf as dC, type Behavior as dD, type BehaviorBehaviorOneOf as dE, type UserDomainInfoChangedEvent as dF, type HtmlSitePublished as dG, type Page as dH, type SitePropertiesNotification as dI, type SitePropertiesEvent as dJ, type Properties as dK, type Categories as dL, type Locale as dM, type Address as dN, type AddressHint as dO, type GeoCoordinates as dP, type BusinessSchedule as dQ, type TimePeriod as dR, type SpecialHourPeriod as dS, type Multilingual as dT, type SupportedLanguage as dU, type ConsentPolicy as dV, type Translation as dW, type ChangeContext as dX, type ChangeContextPayloadOneOf as dY, type PropertiesChange as dZ, type SiteCreated as d_, type CountServicesRequest as da, type QueryLocationsRequest as db, type QueryLocationsFilter as dc, type BusinessLocations as dd, type CustomLocations as de, type CustomerLocations as df, type QueryCategoriesRequest as dg, type QueryCategoriesFilter as dh, type QueryServicesMultiLanguageRequest as di, type QueryServicesMultiLanguageResponse as dj, type SetServiceLocationsRequest as dk, type RemovedLocationSessionsAction as dl, type RemovedLocationSessionsActionActionOptionsOneOf as dm, type MoveToNewLocationsOptions as dn, type EnablePricingPlansForServiceRequest as dp, type InvalidPricingPlan as dq, type DisablePricingPlansForServiceRequest as dr, type SetCustomSlugRequest as ds, type ValidateSlugRequest as dt, type CloneServiceRequest as du, type CategoryNotification as dv, type Category as dw, type Empty as dx, type BenefitNotification as dy, type Benefit as dz, type BulkUpdateServicesByFilterOptions as e, queryCategories as e$, type CreateAddOnGroupRequest as e0, type DeleteAddOnGroupRequest as e1, type DeleteAddOnGroupResponse as e2, type UpdateAddOnGroupRequest as e3, type ListAddOnGroupsByServiceIdRequest as e4, type AddOn as e5, type AddOnAddOnInfoOneOf as e6, type AddOnGroupDetail as e7, type SetAddOnsForGroupRequest as e8, type BaseEventMetadata as e9, type CloneErrorsWithLiterals as eA, type StatusWithLiterals as eB, type CategoryNotificationEventWithLiterals as eC, type BenefitTypeWithLiterals as eD, type EventWithLiterals as eE, type CrudTypeWithLiterals as eF, type PlacementTypeWithLiterals as eG, type DayOfWeekWithLiterals as eH, type ResolutionMethodWithLiterals as eI, type CommonSearchWithEntityContext as eJ, onServiceCreated as eK, onServiceDeleted as eL, onServiceUpdated as eM, createService as eN, bulkCreateServices as eO, getService as eP, updateService as eQ, bulkUpdateServices as eR, bulkUpdateServicesByFilter as eS, deleteService as eT, bulkDeleteServices as eU, bulkDeleteServicesByFilter as eV, queryServices as eW, queryPolicies as eX, queryBookingForms as eY, countServices as eZ, queryLocations as e_, type EventMetadata as ea, type ServicesQueryResult as eb, type ServiceSearchSpec as ec, type ServiceTypeWithLiterals as ed, type RateTypeWithLiterals as ee, type AddOnPaymentOptionsWithLiterals as ef, type LocationTypeWithLiterals as eg, type RankingOrderWithLiterals as eh, type SortingMethodTypeWithLiterals as ei, type TimingWithLiterals as ej, type CompletionRequirementWithLiterals as ek, type TaxableAddressTypeWithLiterals as el, type WebhookIdentityTypeWithLiterals as em, type V2RequestedFieldsWithLiterals as en, type SortOrderWithLiterals as eo, type SortTypeWithLiterals as ep, type SortDirectionWithLiterals as eq, type MissingValuesWithLiterals as er, type ScalarTypeWithLiterals as es, type NestedAggregationTypeWithLiterals as et, type IntervalWithLiterals as eu, type AggregationTypeWithLiterals as ev, type ModeWithLiterals as ew, type RequestedFieldsWithLiterals as ex, type ActionWithLiterals as ey, type InvalidSlugErrorWithLiterals as ez, type BulkUpdateServicesByFilterResponse as f, setServiceLocations as f0, enablePricingPlansForService as f1, disablePricingPlansForService as f2, setCustomSlug as f3, validateSlug as f4, cloneService as f5, createAddOnGroup as f6, deleteAddOnGroup as f7, updateAddOnGroup as f8, listAddOnGroupsByServiceId as f9, setAddOnsForGroup as fa, type BulkDeleteServicesOptions as g, 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 };
|