@wix/auto_sdk_bookings_services 1.0.164 → 1.0.165
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-DXSJhFF0.d.ts → bookings-services-v2-service-services.universal-DiQuZWmG.d.ts} +309 -309
- package/build/cjs/index.d.ts +81 -81
- package/build/cjs/index.js +312 -312
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +275 -275
- 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-DXSJhFF0.d.mts → bookings-services-v2-service-services.universal-DiQuZWmG.d.mts} +309 -309
- package/build/es/index.d.mts +81 -81
- package/build/es/index.mjs +312 -312
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +275 -275
- 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-DXSJhFF0.d.ts → bookings-services-v2-service-services.universal-DiQuZWmG.d.ts} +309 -309
- package/build/internal/cjs/index.d.ts +81 -81
- package/build/internal/cjs/index.js +312 -312
- 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 +275 -275
- 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-DXSJhFF0.d.mts → bookings-services-v2-service-services.universal-DiQuZWmG.d.mts} +309 -309
- package/build/internal/es/index.d.mts +81 -81
- package/build/internal/es/index.mjs +312 -312
- 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 +275 -275
- 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,6 +1470,153 @@ 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
|
+
}
|
|
1473
1620
|
interface CreateServiceRequest {
|
|
1474
1621
|
/** Service to create. */
|
|
1475
1622
|
service: Service;
|
|
@@ -3373,153 +3520,24 @@ interface SiteCloned {
|
|
|
3373
3520
|
/** Origin site id. */
|
|
3374
3521
|
originMetaSiteId?: string;
|
|
3375
3522
|
}
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
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 DeleteAddOnGroupApplicationErrors = {
|
|
3525
|
+
code?: 'GROUP_NOT_ON_SERVICE';
|
|
3526
|
+
description?: string;
|
|
3527
|
+
data?: Record<string, any>;
|
|
3528
|
+
};
|
|
3529
|
+
/** @docsIgnore */
|
|
3530
|
+
type UpdateAddOnGroupApplicationErrors = {
|
|
3531
|
+
code?: 'GROUP_NOT_ON_SERVICE';
|
|
3532
|
+
description?: string;
|
|
3533
|
+
data?: Record<string, any>;
|
|
3534
|
+
};
|
|
3535
|
+
/** @docsIgnore */
|
|
3536
|
+
type SetAddOnsForGroupApplicationErrors = {
|
|
3537
|
+
code?: 'ADD_ON_GROUP_NOT_FOUND';
|
|
3538
|
+
description?: string;
|
|
3539
|
+
data?: Record<string, any>;
|
|
3540
|
+
};
|
|
3523
3541
|
/** @docsIgnore */
|
|
3524
3542
|
type CreateServiceValidationErrors = {
|
|
3525
3543
|
ruleName?: 'INVALID_FORM';
|
|
@@ -3640,24 +3658,6 @@ type SetCustomSlugApplicationErrors = {
|
|
|
3640
3658
|
type SetCustomSlugValidationErrors = {
|
|
3641
3659
|
ruleName?: 'SLUG_CONTAINS_ILLEGAL_CHARACTERS';
|
|
3642
3660
|
};
|
|
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.
|
|
@@ -3786,6 +3786,149 @@ interface ServiceUpdatedEnvelope {
|
|
|
3786
3786
|
* @slug updated
|
|
3787
3787
|
*/
|
|
3788
3788
|
declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => void | Promise<void>): void;
|
|
3789
|
+
/**
|
|
3790
|
+
* Creates a new add-on group for a service and updates the service's `addOnGroups` array.
|
|
3791
|
+
* @param addOnGroup - Add-on group to create.
|
|
3792
|
+
* @public
|
|
3793
|
+
* @documentationMaturity preview
|
|
3794
|
+
* @requiredField addOnGroup
|
|
3795
|
+
* @requiredField addOnGroup.name
|
|
3796
|
+
* @requiredField options
|
|
3797
|
+
* @requiredField options.serviceId
|
|
3798
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
3799
|
+
* @applicableIdentity APP
|
|
3800
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
|
|
3801
|
+
*/
|
|
3802
|
+
declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options: NonNullablePaths<CreateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
|
|
3803
|
+
interface CreateAddOnGroupOptions {
|
|
3804
|
+
/**
|
|
3805
|
+
* ID of the service to create the add-on group for.
|
|
3806
|
+
* @format GUID
|
|
3807
|
+
*/
|
|
3808
|
+
serviceId: string | null;
|
|
3809
|
+
}
|
|
3810
|
+
/**
|
|
3811
|
+
* Deletes an add-on group.
|
|
3812
|
+
*
|
|
3813
|
+
*
|
|
3814
|
+
* Deleting the group doesn't delete individual add-ons.
|
|
3815
|
+
* Any add-on not associated with another group isn't available for customers to book.
|
|
3816
|
+
* @param addOnGroupId - ID of the add-on group to delete.
|
|
3817
|
+
* @public
|
|
3818
|
+
* @documentationMaturity preview
|
|
3819
|
+
* @requiredField addOnGroupId
|
|
3820
|
+
* @requiredField options
|
|
3821
|
+
* @requiredField options.serviceId
|
|
3822
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
3823
|
+
* @applicableIdentity APP
|
|
3824
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
|
|
3825
|
+
*/
|
|
3826
|
+
declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
|
|
3827
|
+
__applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
|
|
3828
|
+
}>;
|
|
3829
|
+
interface DeleteAddOnGroupOptions {
|
|
3830
|
+
/**
|
|
3831
|
+
* ID of the service from which to delete the add-on group.
|
|
3832
|
+
* @format GUID
|
|
3833
|
+
*/
|
|
3834
|
+
serviceId: string | null;
|
|
3835
|
+
}
|
|
3836
|
+
/**
|
|
3837
|
+
* Updates an add-on group.
|
|
3838
|
+
*
|
|
3839
|
+
*
|
|
3840
|
+
* 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.
|
|
3841
|
+
*
|
|
3842
|
+
* You can't change which service an add-on group belongs to.
|
|
3843
|
+
* Each add-on group is permanently associated with the service it was created for.
|
|
3844
|
+
* To use the same add-ons with a different service, create a new add-on group for that service.
|
|
3845
|
+
* @param addOnGroup - Add-on group to update.
|
|
3846
|
+
* @public
|
|
3847
|
+
* @documentationMaturity preview
|
|
3848
|
+
* @requiredField addOnGroup
|
|
3849
|
+
* @requiredField addOnGroup._id
|
|
3850
|
+
* @requiredField options
|
|
3851
|
+
* @requiredField options.serviceId
|
|
3852
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
|
|
3853
|
+
* @applicableIdentity APP
|
|
3854
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
|
|
3855
|
+
*/
|
|
3856
|
+
declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
3857
|
+
__applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
|
|
3858
|
+
}>;
|
|
3859
|
+
interface UpdateAddOnGroupOptions {
|
|
3860
|
+
/**
|
|
3861
|
+
* ID of the service that contains the add-on group.
|
|
3862
|
+
* @format GUID
|
|
3863
|
+
*/
|
|
3864
|
+
serviceId: string | null;
|
|
3865
|
+
}
|
|
3866
|
+
/**
|
|
3867
|
+
* Retrieves add-on groups for a service with enriched add-on details.
|
|
3868
|
+
*
|
|
3869
|
+
*
|
|
3870
|
+
* Add-on details are returned based on their display order.
|
|
3871
|
+
*
|
|
3872
|
+
* If you specify `groupIds`, only those groups are returned.
|
|
3873
|
+
* By default, all groups associated with the service are returned.
|
|
3874
|
+
* @param serviceId - ID of the service to retrieve add-on groups for.
|
|
3875
|
+
* @public
|
|
3876
|
+
* @documentationMaturity preview
|
|
3877
|
+
* @requiredField serviceId
|
|
3878
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
|
|
3879
|
+
* @applicableIdentity APP
|
|
3880
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
|
|
3881
|
+
*/
|
|
3882
|
+
declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 2>>;
|
|
3883
|
+
interface ListAddOnGroupsByServiceIdOptions {
|
|
3884
|
+
/**
|
|
3885
|
+
* List of group IDs to return. By default, all groups are returned.
|
|
3886
|
+
* @format GUID
|
|
3887
|
+
* @maxSize 3
|
|
3888
|
+
*/
|
|
3889
|
+
groupIds?: string[] | null;
|
|
3890
|
+
}
|
|
3891
|
+
/**
|
|
3892
|
+
* Sets the add-ons for a specific group, replacing any existing add-ons in the group.
|
|
3893
|
+
*
|
|
3894
|
+
*
|
|
3895
|
+
* Call this method when you want to:
|
|
3896
|
+
* - Add new add-ons to a group.
|
|
3897
|
+
* - Remove add-ons from a group.
|
|
3898
|
+
* - Reorder existing add-ons for optimal customer presentation.
|
|
3899
|
+
*
|
|
3900
|
+
* The order of add-ons in the request determines their display sequence to customers.
|
|
3901
|
+
* All specified add-ons must already exist before adding them to a group.
|
|
3902
|
+
*
|
|
3903
|
+
* 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.
|
|
3904
|
+
* @param serviceId - Service ID containing the group.
|
|
3905
|
+
* @public
|
|
3906
|
+
* @documentationMaturity preview
|
|
3907
|
+
* @requiredField options
|
|
3908
|
+
* @requiredField options.addOnIds
|
|
3909
|
+
* @requiredField options.groupId
|
|
3910
|
+
* @requiredField serviceId
|
|
3911
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
|
|
3912
|
+
* @applicableIdentity APP
|
|
3913
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
|
|
3914
|
+
*/
|
|
3915
|
+
declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 2>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
3916
|
+
__applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
|
|
3917
|
+
}>;
|
|
3918
|
+
interface SetAddOnsForGroupOptions {
|
|
3919
|
+
/**
|
|
3920
|
+
* Group ID to set add-ons for.
|
|
3921
|
+
* @format GUID
|
|
3922
|
+
*/
|
|
3923
|
+
groupId: string | null;
|
|
3924
|
+
/**
|
|
3925
|
+
* IDs of add-ons to set for the group in display order.
|
|
3926
|
+
* @format GUID
|
|
3927
|
+
* @minSize 1
|
|
3928
|
+
* @maxSize 7
|
|
3929
|
+
*/
|
|
3930
|
+
addOnIds: string[] | null;
|
|
3931
|
+
}
|
|
3789
3932
|
/**
|
|
3790
3933
|
* Creates a service.
|
|
3791
3934
|
*
|
|
@@ -4896,148 +5039,5 @@ interface ValidateSlugOptions {
|
|
|
4896
5039
|
* @fqn wix.bookings.services.v2.ServicesService.CloneService
|
|
4897
5040
|
*/
|
|
4898
5041
|
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>>;
|
|
4899
|
-
/**
|
|
4900
|
-
* Creates a new add-on group for a service and updates the service's `addOnGroups` array.
|
|
4901
|
-
* @param addOnGroup - Add-on group to create.
|
|
4902
|
-
* @public
|
|
4903
|
-
* @documentationMaturity preview
|
|
4904
|
-
* @requiredField addOnGroup
|
|
4905
|
-
* @requiredField addOnGroup.name
|
|
4906
|
-
* @requiredField options
|
|
4907
|
-
* @requiredField options.serviceId
|
|
4908
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
4909
|
-
* @applicableIdentity APP
|
|
4910
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
|
|
4911
|
-
*/
|
|
4912
|
-
declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options: NonNullablePaths<CreateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
|
|
4913
|
-
interface CreateAddOnGroupOptions {
|
|
4914
|
-
/**
|
|
4915
|
-
* ID of the service to create the add-on group for.
|
|
4916
|
-
* @format GUID
|
|
4917
|
-
*/
|
|
4918
|
-
serviceId: string | null;
|
|
4919
|
-
}
|
|
4920
|
-
/**
|
|
4921
|
-
* Deletes an add-on group.
|
|
4922
|
-
*
|
|
4923
|
-
*
|
|
4924
|
-
* Deleting the group doesn't delete individual add-ons.
|
|
4925
|
-
* Any add-on not associated with another group isn't available for customers to book.
|
|
4926
|
-
* @param addOnGroupId - ID of the add-on group to delete.
|
|
4927
|
-
* @public
|
|
4928
|
-
* @documentationMaturity preview
|
|
4929
|
-
* @requiredField addOnGroupId
|
|
4930
|
-
* @requiredField options
|
|
4931
|
-
* @requiredField options.serviceId
|
|
4932
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
4933
|
-
* @applicableIdentity APP
|
|
4934
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
|
|
4935
|
-
*/
|
|
4936
|
-
declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
|
|
4937
|
-
__applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
|
|
4938
|
-
}>;
|
|
4939
|
-
interface DeleteAddOnGroupOptions {
|
|
4940
|
-
/**
|
|
4941
|
-
* ID of the service from which to delete the add-on group.
|
|
4942
|
-
* @format GUID
|
|
4943
|
-
*/
|
|
4944
|
-
serviceId: string | null;
|
|
4945
|
-
}
|
|
4946
|
-
/**
|
|
4947
|
-
* Updates an add-on group.
|
|
4948
|
-
*
|
|
4949
|
-
*
|
|
4950
|
-
* 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.
|
|
4951
|
-
*
|
|
4952
|
-
* You can't change which service an add-on group belongs to.
|
|
4953
|
-
* Each add-on group is permanently associated with the service it was created for.
|
|
4954
|
-
* To use the same add-ons with a different service, create a new add-on group for that service.
|
|
4955
|
-
* @param addOnGroup - Add-on group to update.
|
|
4956
|
-
* @public
|
|
4957
|
-
* @documentationMaturity preview
|
|
4958
|
-
* @requiredField addOnGroup
|
|
4959
|
-
* @requiredField addOnGroup._id
|
|
4960
|
-
* @requiredField options
|
|
4961
|
-
* @requiredField options.serviceId
|
|
4962
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
|
|
4963
|
-
* @applicableIdentity APP
|
|
4964
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
|
|
4965
|
-
*/
|
|
4966
|
-
declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
4967
|
-
__applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
|
|
4968
|
-
}>;
|
|
4969
|
-
interface UpdateAddOnGroupOptions {
|
|
4970
|
-
/**
|
|
4971
|
-
* ID of the service that contains the add-on group.
|
|
4972
|
-
* @format GUID
|
|
4973
|
-
*/
|
|
4974
|
-
serviceId: string | null;
|
|
4975
|
-
}
|
|
4976
|
-
/**
|
|
4977
|
-
* Retrieves add-on groups for a service with enriched add-on details.
|
|
4978
|
-
*
|
|
4979
|
-
*
|
|
4980
|
-
* Add-on details are returned based on their display order.
|
|
4981
|
-
*
|
|
4982
|
-
* If you specify `groupIds`, only those groups are returned.
|
|
4983
|
-
* By default, all groups associated with the service are returned.
|
|
4984
|
-
* @param serviceId - ID of the service to retrieve add-on groups for.
|
|
4985
|
-
* @public
|
|
4986
|
-
* @documentationMaturity preview
|
|
4987
|
-
* @requiredField serviceId
|
|
4988
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
|
|
4989
|
-
* @applicableIdentity APP
|
|
4990
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
|
|
4991
|
-
*/
|
|
4992
|
-
declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 2>>;
|
|
4993
|
-
interface ListAddOnGroupsByServiceIdOptions {
|
|
4994
|
-
/**
|
|
4995
|
-
* List of group IDs to return. By default, all groups are returned.
|
|
4996
|
-
* @format GUID
|
|
4997
|
-
* @maxSize 3
|
|
4998
|
-
*/
|
|
4999
|
-
groupIds?: string[] | null;
|
|
5000
|
-
}
|
|
5001
|
-
/**
|
|
5002
|
-
* Sets the add-ons for a specific group, replacing any existing add-ons in the group.
|
|
5003
|
-
*
|
|
5004
|
-
*
|
|
5005
|
-
* Call this method when you want to:
|
|
5006
|
-
* - Add new add-ons to a group.
|
|
5007
|
-
* - Remove add-ons from a group.
|
|
5008
|
-
* - Reorder existing add-ons for optimal customer presentation.
|
|
5009
|
-
*
|
|
5010
|
-
* The order of add-ons in the request determines their display sequence to customers.
|
|
5011
|
-
* All specified add-ons must already exist before adding them to a group.
|
|
5012
|
-
*
|
|
5013
|
-
* 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.
|
|
5014
|
-
* @param serviceId - Service ID containing the group.
|
|
5015
|
-
* @public
|
|
5016
|
-
* @documentationMaturity preview
|
|
5017
|
-
* @requiredField options
|
|
5018
|
-
* @requiredField options.addOnIds
|
|
5019
|
-
* @requiredField options.groupId
|
|
5020
|
-
* @requiredField serviceId
|
|
5021
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
|
|
5022
|
-
* @applicableIdentity APP
|
|
5023
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
|
|
5024
|
-
*/
|
|
5025
|
-
declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 2>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
5026
|
-
__applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
|
|
5027
|
-
}>;
|
|
5028
|
-
interface SetAddOnsForGroupOptions {
|
|
5029
|
-
/**
|
|
5030
|
-
* Group ID to set add-ons for.
|
|
5031
|
-
* @format GUID
|
|
5032
|
-
*/
|
|
5033
|
-
groupId: string | null;
|
|
5034
|
-
/**
|
|
5035
|
-
* IDs of add-ons to set for the group in display order.
|
|
5036
|
-
* @format GUID
|
|
5037
|
-
* @minSize 1
|
|
5038
|
-
* @maxSize 7
|
|
5039
|
-
*/
|
|
5040
|
-
addOnIds: string[] | null;
|
|
5041
|
-
}
|
|
5042
5042
|
|
|
5043
|
-
export { type SetAddOnsForGroupResponse 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 CloneServiceResponse as L, type AddOnGroup as M, type CreateAddOnGroupOptions as N, type CreateAddOnGroupResponse as O, type DeleteAddOnGroupOptions as P, type QueryPoliciesResponse as Q, type DeleteAddOnGroupApplicationErrors as R, type Service as S, type UpdateAddOnGroupOptions as T, type UpdateService as U, type ValidateSlugOptions as V, type UpdateAddOnGroupResponse as W, type UpdateAddOnGroupApplicationErrors as X, type ListAddOnGroupsByServiceIdOptions as Y, type ListAddOnGroupsByServiceIdResponse as Z, type SetAddOnsForGroupOptions as _, type BulkCreateServicesResponse as a, type BookingPolicy as a$, type SetAddOnsForGroupApplicationErrors as a0, type ServiceCreatedEnvelope as a1, type ServiceDeletedEnvelope as a2, type ServiceUpdatedEnvelope as a3, type QueryV2 as a4, type QueryServicesOptions as a5, typedQueryServices as a6, type ServicesQueryBuilder as a7, ServiceType as a8, RateType as a9, CrudType as aA, PlacementType as aB, DayOfWeek as aC, ResolutionMethod as aD, type Media as aE, type MediaItem as aF, type MediaItemItemOneOf as aG, type V2Category as aH, type Form as aI, type FormSettings as aJ, type Payment as aK, type PaymentRateOneOf as aL, type FixedPayment as aM, type Money as aN, type CustomPayment as aO, type VariedPayment as aP, type PaymentOptions as aQ, type OnlineBooking as aR, type Conferencing as aS, type Location 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_, AddOnPaymentOptions as aa, LocationType as ab, RankingOrder as ac, SortingMethodType as ad, Timing as ae, CompletionRequirement as af, TaxableAddressType as ag, WebhookIdentityType as ah, V2RequestedFields as ai, SortOrder as aj, SortType as ak, SortDirection as al, MissingValues as am, ScalarType as an, NestedAggregationType as ao, Interval as ap, AggregationType as aq, Mode as ar, RequestedFields as as, Action as at, InvalidSlugError as au, CloneErrors as av, Status as aw, CategoryNotificationEvent as ax, BenefitType as ay, Event 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 };
|
|
5043
|
+
export { type ValidateSlugResponse 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 SetServiceLocationsOptions as M, type SetServiceLocationsResponse as N, type EnablePricingPlansForServiceResponse as O, type EnablePricingPlansForServiceApplicationErrors as P, type QueryPoliciesResponse as Q, type DisablePricingPlansForServiceOptions as R, type SetAddOnsForGroupOptions as S, type DisablePricingPlansForServiceResponse as T, type UpdateAddOnGroupOptions as U, type DisablePricingPlansForServiceApplicationErrors as V, type SetCustomSlugOptions as W, type SetCustomSlugResponse as X, type SetCustomSlugApplicationErrors as Y, type SetCustomSlugValidationErrors as Z, type ValidateSlugOptions as _, type CreateAddOnGroupResponse as a, type BookingPolicy as a$, type CloneServiceResponse as a0, type ServiceCreatedEnvelope as a1, type ServiceDeletedEnvelope as a2, type ServiceUpdatedEnvelope as a3, type QueryV2 as a4, type QueryServicesOptions as a5, typedQueryServices as a6, type ServicesQueryBuilder as a7, ServiceType as a8, RateType as a9, CrudType as aA, PlacementType as aB, DayOfWeek as aC, ResolutionMethod as aD, type Media as aE, type MediaItem as aF, type MediaItemItemOneOf as aG, type V2Category as aH, type Form as aI, type FormSettings as aJ, type Payment as aK, type PaymentRateOneOf as aL, type FixedPayment as aM, type Money as aN, type CustomPayment as aO, type VariedPayment as aP, type PaymentOptions as aQ, type OnlineBooking as aR, type Conferencing as aS, type Location 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_, AddOnPaymentOptions as aa, LocationType as ab, RankingOrder as ac, SortingMethodType as ad, Timing as ae, CompletionRequirement as af, TaxableAddressType as ag, WebhookIdentityType as ah, V2RequestedFields as ai, SortOrder as aj, SortType as ak, SortDirection as al, MissingValues as am, ScalarType as an, NestedAggregationType as ao, Interval as ap, AggregationType as aq, Mode as ar, RequestedFields as as, Action as at, InvalidSlugError as au, CloneErrors as av, Status as aw, CategoryNotificationEvent as ax, BenefitType as ay, Event 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 };
|