@wix/auto_sdk_bookings_services 1.0.141 → 1.0.143
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-B4drRz1z.d.ts → bookings-services-v2-service-services.universal-2oircAIS.d.ts} +319 -295
- package/build/cjs/index.d.ts +77 -77
- package/build/cjs/index.js +328 -312
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +291 -275
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +188 -164
- package/build/cjs/meta.js +219 -203
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-B4drRz1z.d.mts → bookings-services-v2-service-services.universal-2oircAIS.d.mts} +319 -295
- package/build/es/index.d.mts +77 -77
- package/build/es/index.mjs +326 -312
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +289 -275
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +188 -164
- package/build/es/meta.mjs +217 -203
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-B4drRz1z.d.ts → bookings-services-v2-service-services.universal-2oircAIS.d.ts} +319 -295
- package/build/internal/cjs/index.d.ts +77 -77
- package/build/internal/cjs/index.js +328 -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 +291 -275
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +188 -164
- package/build/internal/cjs/meta.js +219 -203
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-B4drRz1z.d.mts → bookings-services-v2-service-services.universal-2oircAIS.d.mts} +319 -295
- package/build/internal/es/index.d.mts +77 -77
- package/build/internal/es/index.mjs +326 -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 +289 -275
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +188 -164
- package/build/internal/es/meta.mjs +217 -203
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -953,16 +953,18 @@ interface CustomOptions {
|
|
|
953
953
|
/** Policy for integrating with Intake form. Stores which form to use and when to present it. */
|
|
954
954
|
interface IntakeFormPolicy {
|
|
955
955
|
/**
|
|
956
|
-
*
|
|
957
|
-
*
|
|
956
|
+
* Whether intake form integration is enabled for the service.
|
|
957
|
+
* Default: `false`
|
|
958
958
|
*/
|
|
959
|
-
|
|
959
|
+
enabled?: boolean;
|
|
960
960
|
/**
|
|
961
|
-
*
|
|
962
|
-
*
|
|
963
|
-
* Default: `false`
|
|
961
|
+
* ID of the intake form to integrate with the service.
|
|
962
|
+
* @format GUID
|
|
964
963
|
*/
|
|
965
|
-
|
|
964
|
+
formId?: string | null;
|
|
965
|
+
/** When to present the intake form to the customer. */
|
|
966
|
+
timing?: TimingWithLiterals;
|
|
967
|
+
completionRequirement?: CompletionRequirementWithLiterals;
|
|
966
968
|
}
|
|
967
969
|
interface Schedule {
|
|
968
970
|
/**
|
|
@@ -1454,6 +1456,160 @@ declare enum WebhookIdentityType {
|
|
|
1454
1456
|
}
|
|
1455
1457
|
/** @enumType */
|
|
1456
1458
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1459
|
+
declare enum Timing {
|
|
1460
|
+
UNKNOWN_TIMING = "UNKNOWN_TIMING",
|
|
1461
|
+
/** Send form after booking. */
|
|
1462
|
+
AFTER_BOOKING = "AFTER_BOOKING",
|
|
1463
|
+
/** Show form during booking flow. */
|
|
1464
|
+
BEFORE_BOOKING = "BEFORE_BOOKING"
|
|
1465
|
+
}
|
|
1466
|
+
/** @enumType */
|
|
1467
|
+
type TimingWithLiterals = Timing | 'UNKNOWN_TIMING' | 'AFTER_BOOKING' | 'BEFORE_BOOKING';
|
|
1468
|
+
/** Requirement for completing the intake form. */
|
|
1469
|
+
declare enum CompletionRequirement {
|
|
1470
|
+
UNKNOWN_COMPLETION_REQUIREMENT = "UNKNOWN_COMPLETION_REQUIREMENT",
|
|
1471
|
+
/** Form completion is optional and can be skipped entirely. */
|
|
1472
|
+
OPTIONAL = "OPTIONAL",
|
|
1473
|
+
/**
|
|
1474
|
+
* Form must be completed before the booking can be finalized.
|
|
1475
|
+
* can used only if timing is BEFORE_BOOKING.
|
|
1476
|
+
*/
|
|
1477
|
+
REQUIRED_BEFORE_BOOKING = "REQUIRED_BEFORE_BOOKING"
|
|
1478
|
+
}
|
|
1479
|
+
/** @enumType */
|
|
1480
|
+
type CompletionRequirementWithLiterals = CompletionRequirement | 'UNKNOWN_COMPLETION_REQUIREMENT' | 'OPTIONAL' | 'REQUIRED_BEFORE_BOOKING';
|
|
1481
|
+
interface CreateAddOnGroupRequest {
|
|
1482
|
+
/** Add-on group to create. */
|
|
1483
|
+
addOnGroup: AddOnGroup;
|
|
1484
|
+
/**
|
|
1485
|
+
* ID of the service to create the add-on group for.
|
|
1486
|
+
* @format GUID
|
|
1487
|
+
*/
|
|
1488
|
+
serviceId?: string | null;
|
|
1489
|
+
}
|
|
1490
|
+
interface CreateAddOnGroupResponse {
|
|
1491
|
+
/** Created add-on group. */
|
|
1492
|
+
addOnGroup?: AddOnGroup;
|
|
1493
|
+
}
|
|
1494
|
+
interface DeleteAddOnGroupRequest {
|
|
1495
|
+
/**
|
|
1496
|
+
* ID of the add-on group to delete.
|
|
1497
|
+
* @format GUID
|
|
1498
|
+
*/
|
|
1499
|
+
addOnGroupId: string | null;
|
|
1500
|
+
/**
|
|
1501
|
+
* ID of the service from which to delete the add-on group.
|
|
1502
|
+
* @format GUID
|
|
1503
|
+
*/
|
|
1504
|
+
serviceId: string | null;
|
|
1505
|
+
}
|
|
1506
|
+
interface DeleteAddOnGroupResponse {
|
|
1507
|
+
}
|
|
1508
|
+
interface UpdateAddOnGroupRequest {
|
|
1509
|
+
/** Add-on group to update. */
|
|
1510
|
+
addOnGroup: AddOnGroup;
|
|
1511
|
+
/**
|
|
1512
|
+
* ID of the service that contains the add-on group.
|
|
1513
|
+
* @format GUID
|
|
1514
|
+
*/
|
|
1515
|
+
serviceId: string | null;
|
|
1516
|
+
}
|
|
1517
|
+
interface UpdateAddOnGroupResponse {
|
|
1518
|
+
/** Updated add-on group. */
|
|
1519
|
+
addOnGroup?: AddOnGroup;
|
|
1520
|
+
}
|
|
1521
|
+
interface ListAddOnGroupsByServiceIdRequest {
|
|
1522
|
+
/**
|
|
1523
|
+
* ID of the service to retrieve add-on groups for.
|
|
1524
|
+
* @format GUID
|
|
1525
|
+
*/
|
|
1526
|
+
serviceId: string | null;
|
|
1527
|
+
/**
|
|
1528
|
+
* List of group IDs to return. By default, all groups are returned.
|
|
1529
|
+
* @format GUID
|
|
1530
|
+
* @maxSize 3
|
|
1531
|
+
*/
|
|
1532
|
+
groupIds?: string[] | null;
|
|
1533
|
+
}
|
|
1534
|
+
interface ListAddOnGroupsByServiceIdResponse {
|
|
1535
|
+
/**
|
|
1536
|
+
* List of group details with their linked add-ons.
|
|
1537
|
+
* @maxSize 3
|
|
1538
|
+
*/
|
|
1539
|
+
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
1540
|
+
}
|
|
1541
|
+
interface AddOn extends AddOnAddOnInfoOneOf {
|
|
1542
|
+
/** Duration in minutes for duration-based add-ons that extend booking service time. */
|
|
1543
|
+
durationInMinutes?: number;
|
|
1544
|
+
/** Maximum quantity customers can purchase for quantity-based add-ons. */
|
|
1545
|
+
maxQuantity?: number;
|
|
1546
|
+
/**
|
|
1547
|
+
* Add-on ID.
|
|
1548
|
+
* @format GUID
|
|
1549
|
+
*/
|
|
1550
|
+
addOnId?: string | null;
|
|
1551
|
+
/**
|
|
1552
|
+
* Add-on name displayed to customers.
|
|
1553
|
+
* @maxLength 100
|
|
1554
|
+
*/
|
|
1555
|
+
name?: string | null;
|
|
1556
|
+
/** Add-on price. */
|
|
1557
|
+
price?: Money;
|
|
1558
|
+
}
|
|
1559
|
+
/** @oneof */
|
|
1560
|
+
interface AddOnAddOnInfoOneOf {
|
|
1561
|
+
/** Duration in minutes for duration-based add-ons that extend booking service time. */
|
|
1562
|
+
durationInMinutes?: number;
|
|
1563
|
+
/** Maximum quantity customers can purchase for quantity-based add-ons. */
|
|
1564
|
+
maxQuantity?: number;
|
|
1565
|
+
}
|
|
1566
|
+
interface AddOnGroupDetail {
|
|
1567
|
+
/**
|
|
1568
|
+
* Group ID.
|
|
1569
|
+
* @format GUID
|
|
1570
|
+
*/
|
|
1571
|
+
groupId?: string | null;
|
|
1572
|
+
/** Maximum number of add-ons customers can select from this group. */
|
|
1573
|
+
maxNumberOfAddOns?: number | null;
|
|
1574
|
+
/**
|
|
1575
|
+
* Group name displayed to customers.
|
|
1576
|
+
* @maxLength 100
|
|
1577
|
+
*/
|
|
1578
|
+
groupName?: string | null;
|
|
1579
|
+
/**
|
|
1580
|
+
* Add-ons linked to this group in display order.
|
|
1581
|
+
* @maxSize 7
|
|
1582
|
+
*/
|
|
1583
|
+
addOns?: AddOn[];
|
|
1584
|
+
/**
|
|
1585
|
+
* 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`.
|
|
1586
|
+
* @maxLength 200
|
|
1587
|
+
*/
|
|
1588
|
+
prompt?: string | null;
|
|
1589
|
+
}
|
|
1590
|
+
interface SetAddOnsForGroupRequest {
|
|
1591
|
+
/**
|
|
1592
|
+
* Service ID containing the group.
|
|
1593
|
+
* @format GUID
|
|
1594
|
+
*/
|
|
1595
|
+
serviceId: string | null;
|
|
1596
|
+
/**
|
|
1597
|
+
* Group ID to set add-ons for.
|
|
1598
|
+
* @format GUID
|
|
1599
|
+
*/
|
|
1600
|
+
groupId: string | null;
|
|
1601
|
+
/**
|
|
1602
|
+
* IDs of add-ons to set for the group in display order.
|
|
1603
|
+
* @format GUID
|
|
1604
|
+
* @minSize 1
|
|
1605
|
+
* @maxSize 7
|
|
1606
|
+
*/
|
|
1607
|
+
addOnIds: string[] | null;
|
|
1608
|
+
}
|
|
1609
|
+
interface SetAddOnsForGroupResponse {
|
|
1610
|
+
/** Updated add-on group. */
|
|
1611
|
+
addOnGroup?: AddOnGroup;
|
|
1612
|
+
}
|
|
1457
1613
|
interface CreateServiceRequest {
|
|
1458
1614
|
/** Service to create. */
|
|
1459
1615
|
service: Service;
|
|
@@ -3364,138 +3520,24 @@ interface SiteCloned {
|
|
|
3364
3520
|
/** Origin site id. */
|
|
3365
3521
|
originMetaSiteId?: string;
|
|
3366
3522
|
}
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
|
|
3378
|
-
|
|
3379
|
-
|
|
3380
|
-
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
addOnGroupId: string | null;
|
|
3386
|
-
/**
|
|
3387
|
-
* ID of the service from which to delete the add-on group.
|
|
3388
|
-
* @format GUID
|
|
3389
|
-
*/
|
|
3390
|
-
serviceId: string | null;
|
|
3391
|
-
}
|
|
3392
|
-
interface DeleteAddOnGroupResponse {
|
|
3393
|
-
}
|
|
3394
|
-
interface UpdateAddOnGroupRequest {
|
|
3395
|
-
/** Add-on group to update. */
|
|
3396
|
-
addOnGroup: AddOnGroup;
|
|
3397
|
-
/**
|
|
3398
|
-
* ID of the service that contains the add-on group.
|
|
3399
|
-
* @format GUID
|
|
3400
|
-
*/
|
|
3401
|
-
serviceId: string | null;
|
|
3402
|
-
}
|
|
3403
|
-
interface UpdateAddOnGroupResponse {
|
|
3404
|
-
/** Updated add-on group. */
|
|
3405
|
-
addOnGroup?: AddOnGroup;
|
|
3406
|
-
}
|
|
3407
|
-
interface ListAddOnGroupsByServiceIdRequest {
|
|
3408
|
-
/**
|
|
3409
|
-
* ID of the service to retrieve add-on groups for.
|
|
3410
|
-
* @format GUID
|
|
3411
|
-
*/
|
|
3412
|
-
serviceId: string | null;
|
|
3413
|
-
/**
|
|
3414
|
-
* List of group IDs to return. By default, all groups are returned.
|
|
3415
|
-
* @format GUID
|
|
3416
|
-
* @maxSize 3
|
|
3417
|
-
*/
|
|
3418
|
-
groupIds?: string[] | null;
|
|
3419
|
-
}
|
|
3420
|
-
interface ListAddOnGroupsByServiceIdResponse {
|
|
3421
|
-
/**
|
|
3422
|
-
* List of group details with their linked add-ons.
|
|
3423
|
-
* @maxSize 3
|
|
3424
|
-
*/
|
|
3425
|
-
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
3426
|
-
}
|
|
3427
|
-
interface AddOn extends AddOnAddOnInfoOneOf {
|
|
3428
|
-
/** Duration in minutes for duration-based add-ons that extend booking service time. */
|
|
3429
|
-
durationInMinutes?: number;
|
|
3430
|
-
/** Maximum quantity customers can purchase for quantity-based add-ons. */
|
|
3431
|
-
maxQuantity?: number;
|
|
3432
|
-
/**
|
|
3433
|
-
* Add-on ID.
|
|
3434
|
-
* @format GUID
|
|
3435
|
-
*/
|
|
3436
|
-
addOnId?: string | null;
|
|
3437
|
-
/**
|
|
3438
|
-
* Add-on name displayed to customers.
|
|
3439
|
-
* @maxLength 100
|
|
3440
|
-
*/
|
|
3441
|
-
name?: string | null;
|
|
3442
|
-
/** Add-on price. */
|
|
3443
|
-
price?: Money;
|
|
3444
|
-
}
|
|
3445
|
-
/** @oneof */
|
|
3446
|
-
interface AddOnAddOnInfoOneOf {
|
|
3447
|
-
/** Duration in minutes for duration-based add-ons that extend booking service time. */
|
|
3448
|
-
durationInMinutes?: number;
|
|
3449
|
-
/** Maximum quantity customers can purchase for quantity-based add-ons. */
|
|
3450
|
-
maxQuantity?: number;
|
|
3451
|
-
}
|
|
3452
|
-
interface AddOnGroupDetail {
|
|
3453
|
-
/**
|
|
3454
|
-
* Group ID.
|
|
3455
|
-
* @format GUID
|
|
3456
|
-
*/
|
|
3457
|
-
groupId?: string | null;
|
|
3458
|
-
/** Maximum number of add-ons customers can select from this group. */
|
|
3459
|
-
maxNumberOfAddOns?: number | null;
|
|
3460
|
-
/**
|
|
3461
|
-
* Group name displayed to customers.
|
|
3462
|
-
* @maxLength 100
|
|
3463
|
-
*/
|
|
3464
|
-
groupName?: string | null;
|
|
3465
|
-
/**
|
|
3466
|
-
* Add-ons linked to this group in display order.
|
|
3467
|
-
* @maxSize 7
|
|
3468
|
-
*/
|
|
3469
|
-
addOns?: AddOn[];
|
|
3470
|
-
/**
|
|
3471
|
-
* 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`.
|
|
3472
|
-
* @maxLength 200
|
|
3473
|
-
*/
|
|
3474
|
-
prompt?: string | null;
|
|
3475
|
-
}
|
|
3476
|
-
interface SetAddOnsForGroupRequest {
|
|
3477
|
-
/**
|
|
3478
|
-
* Service ID containing the group.
|
|
3479
|
-
* @format GUID
|
|
3480
|
-
*/
|
|
3481
|
-
serviceId: string | null;
|
|
3482
|
-
/**
|
|
3483
|
-
* Group ID to set add-ons for.
|
|
3484
|
-
* @format GUID
|
|
3485
|
-
*/
|
|
3486
|
-
groupId: string | null;
|
|
3487
|
-
/**
|
|
3488
|
-
* IDs of add-ons to set for the group in display order.
|
|
3489
|
-
* @format GUID
|
|
3490
|
-
* @minSize 1
|
|
3491
|
-
* @maxSize 7
|
|
3492
|
-
*/
|
|
3493
|
-
addOnIds: string[] | null;
|
|
3494
|
-
}
|
|
3495
|
-
interface SetAddOnsForGroupResponse {
|
|
3496
|
-
/** Updated add-on group. */
|
|
3497
|
-
addOnGroup?: AddOnGroup;
|
|
3498
|
-
}
|
|
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
|
+
};
|
|
3499
3541
|
/** @docsIgnore */
|
|
3500
3542
|
type CreateServiceValidationErrors = {
|
|
3501
3543
|
ruleName?: 'INVALID_FORM';
|
|
@@ -3616,24 +3658,6 @@ type SetCustomSlugApplicationErrors = {
|
|
|
3616
3658
|
type SetCustomSlugValidationErrors = {
|
|
3617
3659
|
ruleName?: 'SLUG_CONTAINS_ILLEGAL_CHARACTERS';
|
|
3618
3660
|
};
|
|
3619
|
-
/** @docsIgnore */
|
|
3620
|
-
type DeleteAddOnGroupApplicationErrors = {
|
|
3621
|
-
code?: 'GROUP_NOT_ON_SERVICE';
|
|
3622
|
-
description?: string;
|
|
3623
|
-
data?: Record<string, any>;
|
|
3624
|
-
};
|
|
3625
|
-
/** @docsIgnore */
|
|
3626
|
-
type UpdateAddOnGroupApplicationErrors = {
|
|
3627
|
-
code?: 'GROUP_NOT_ON_SERVICE';
|
|
3628
|
-
description?: string;
|
|
3629
|
-
data?: Record<string, any>;
|
|
3630
|
-
};
|
|
3631
|
-
/** @docsIgnore */
|
|
3632
|
-
type SetAddOnsForGroupApplicationErrors = {
|
|
3633
|
-
code?: 'ADD_ON_GROUP_NOT_FOUND';
|
|
3634
|
-
description?: string;
|
|
3635
|
-
data?: Record<string, any>;
|
|
3636
|
-
};
|
|
3637
3661
|
interface BaseEventMetadata {
|
|
3638
3662
|
/**
|
|
3639
3663
|
* App instance ID.
|
|
@@ -3756,6 +3780,143 @@ interface ServiceUpdatedEnvelope {
|
|
|
3756
3780
|
* @slug updated
|
|
3757
3781
|
*/
|
|
3758
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
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
3791
|
+
* @applicableIdentity APP
|
|
3792
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
|
|
3793
|
+
*/
|
|
3794
|
+
declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
|
|
3795
|
+
interface CreateAddOnGroupOptions {
|
|
3796
|
+
/**
|
|
3797
|
+
* ID of the service to create the add-on group for.
|
|
3798
|
+
* @format GUID
|
|
3799
|
+
*/
|
|
3800
|
+
serviceId?: string | null;
|
|
3801
|
+
}
|
|
3802
|
+
/**
|
|
3803
|
+
* Deletes an add-on group.
|
|
3804
|
+
*
|
|
3805
|
+
*
|
|
3806
|
+
* Deleting the group doesn't delete individual add-ons.
|
|
3807
|
+
* Any add-on not associated with another group isn't available for customers to book.
|
|
3808
|
+
* @param addOnGroupId - ID of the add-on group to delete.
|
|
3809
|
+
* @public
|
|
3810
|
+
* @documentationMaturity preview
|
|
3811
|
+
* @requiredField addOnGroupId
|
|
3812
|
+
* @requiredField options
|
|
3813
|
+
* @requiredField options.serviceId
|
|
3814
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
3815
|
+
* @applicableIdentity APP
|
|
3816
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
|
|
3817
|
+
*/
|
|
3818
|
+
declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
|
|
3819
|
+
__applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
|
|
3820
|
+
}>;
|
|
3821
|
+
interface DeleteAddOnGroupOptions {
|
|
3822
|
+
/**
|
|
3823
|
+
* ID of the service from which to delete the add-on group.
|
|
3824
|
+
* @format GUID
|
|
3825
|
+
*/
|
|
3826
|
+
serviceId: string | null;
|
|
3827
|
+
}
|
|
3828
|
+
/**
|
|
3829
|
+
* Updates an add-on group.
|
|
3830
|
+
*
|
|
3831
|
+
*
|
|
3832
|
+
* To update only add-on display order, call [Set Add Ons For Group](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/set-add-ons-for-group) instead.
|
|
3833
|
+
* @param addOnGroup - Add-on group to update.
|
|
3834
|
+
* @public
|
|
3835
|
+
* @documentationMaturity preview
|
|
3836
|
+
* @requiredField addOnGroup
|
|
3837
|
+
* @requiredField addOnGroup._id
|
|
3838
|
+
* @requiredField options
|
|
3839
|
+
* @requiredField options.serviceId
|
|
3840
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
|
|
3841
|
+
* @applicableIdentity APP
|
|
3842
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
|
|
3843
|
+
*/
|
|
3844
|
+
declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
3845
|
+
__applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
|
|
3846
|
+
}>;
|
|
3847
|
+
interface UpdateAddOnGroupOptions {
|
|
3848
|
+
/**
|
|
3849
|
+
* ID of the service that contains the add-on group.
|
|
3850
|
+
* @format GUID
|
|
3851
|
+
*/
|
|
3852
|
+
serviceId: string | null;
|
|
3853
|
+
}
|
|
3854
|
+
/**
|
|
3855
|
+
* Retrieves add-on groups for a service with enriched add-on details.
|
|
3856
|
+
*
|
|
3857
|
+
*
|
|
3858
|
+
* Add-on details are returned based on their display order.
|
|
3859
|
+
*
|
|
3860
|
+
* If you specify `groupIds`, only those groups are returned.
|
|
3861
|
+
* By default, all groups associated with the service are returned.
|
|
3862
|
+
* @param serviceId - ID of the service to retrieve add-on groups for.
|
|
3863
|
+
* @public
|
|
3864
|
+
* @documentationMaturity preview
|
|
3865
|
+
* @requiredField serviceId
|
|
3866
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
|
|
3867
|
+
* @applicableIdentity APP
|
|
3868
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
|
|
3869
|
+
*/
|
|
3870
|
+
declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 2>>;
|
|
3871
|
+
interface ListAddOnGroupsByServiceIdOptions {
|
|
3872
|
+
/**
|
|
3873
|
+
* List of group IDs to return. By default, all groups are returned.
|
|
3874
|
+
* @format GUID
|
|
3875
|
+
* @maxSize 3
|
|
3876
|
+
*/
|
|
3877
|
+
groupIds?: string[] | null;
|
|
3878
|
+
}
|
|
3879
|
+
/**
|
|
3880
|
+
* Sets the add-ons for a specific group, replacing any existing add-ons in the group.
|
|
3881
|
+
*
|
|
3882
|
+
*
|
|
3883
|
+
* Call this method when you want to:
|
|
3884
|
+
* - Add new add-ons to a group.
|
|
3885
|
+
* - Remove add-ons from a group.
|
|
3886
|
+
* - Reorder existing add-ons for optimal customer presentation.
|
|
3887
|
+
*
|
|
3888
|
+
* The order of add-ons in the request determines their display sequence to customers.
|
|
3889
|
+
* All specified add-ons must already exist before adding them to a group.
|
|
3890
|
+
*
|
|
3891
|
+
* 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.
|
|
3892
|
+
* @param serviceId - Service ID containing the group.
|
|
3893
|
+
* @public
|
|
3894
|
+
* @documentationMaturity preview
|
|
3895
|
+
* @requiredField options
|
|
3896
|
+
* @requiredField options.addOnIds
|
|
3897
|
+
* @requiredField options.groupId
|
|
3898
|
+
* @requiredField serviceId
|
|
3899
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
|
|
3900
|
+
* @applicableIdentity APP
|
|
3901
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
|
|
3902
|
+
*/
|
|
3903
|
+
declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 2>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
3904
|
+
__applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
|
|
3905
|
+
}>;
|
|
3906
|
+
interface SetAddOnsForGroupOptions {
|
|
3907
|
+
/**
|
|
3908
|
+
* Group ID to set add-ons for.
|
|
3909
|
+
* @format GUID
|
|
3910
|
+
*/
|
|
3911
|
+
groupId: string | null;
|
|
3912
|
+
/**
|
|
3913
|
+
* IDs of add-ons to set for the group in display order.
|
|
3914
|
+
* @format GUID
|
|
3915
|
+
* @minSize 1
|
|
3916
|
+
* @maxSize 7
|
|
3917
|
+
*/
|
|
3918
|
+
addOnIds: string[] | null;
|
|
3919
|
+
}
|
|
3759
3920
|
/**
|
|
3760
3921
|
* Creates a service.
|
|
3761
3922
|
*
|
|
@@ -4899,142 +5060,5 @@ interface ValidateSlugOptions {
|
|
|
4899
5060
|
* @fqn wix.bookings.services.v2.ServicesService.CloneService
|
|
4900
5061
|
*/
|
|
4901
5062
|
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.taxableAddress.taxableAddressType` | `errors`, 7>>;
|
|
4902
|
-
/**
|
|
4903
|
-
* Creates a new add-on group for a service and updates the service's `addOnGroups` array.
|
|
4904
|
-
* @param addOnGroup - Add-on group to create.
|
|
4905
|
-
* @public
|
|
4906
|
-
* @documentationMaturity preview
|
|
4907
|
-
* @requiredField addOnGroup
|
|
4908
|
-
* @requiredField addOnGroup.name
|
|
4909
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
4910
|
-
* @applicableIdentity APP
|
|
4911
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
|
|
4912
|
-
*/
|
|
4913
|
-
declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
|
|
4914
|
-
interface CreateAddOnGroupOptions {
|
|
4915
|
-
/**
|
|
4916
|
-
* ID of the service to create the add-on group for.
|
|
4917
|
-
* @format GUID
|
|
4918
|
-
*/
|
|
4919
|
-
serviceId?: string | null;
|
|
4920
|
-
}
|
|
4921
|
-
/**
|
|
4922
|
-
* Deletes an add-on group.
|
|
4923
|
-
*
|
|
4924
|
-
*
|
|
4925
|
-
* Deleting the group doesn't delete individual add-ons.
|
|
4926
|
-
* Any add-on not associated with another group isn't available for customers to book.
|
|
4927
|
-
* @param addOnGroupId - ID of the add-on group to delete.
|
|
4928
|
-
* @public
|
|
4929
|
-
* @documentationMaturity preview
|
|
4930
|
-
* @requiredField addOnGroupId
|
|
4931
|
-
* @requiredField options
|
|
4932
|
-
* @requiredField options.serviceId
|
|
4933
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
4934
|
-
* @applicableIdentity APP
|
|
4935
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
|
|
4936
|
-
*/
|
|
4937
|
-
declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
|
|
4938
|
-
__applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
|
|
4939
|
-
}>;
|
|
4940
|
-
interface DeleteAddOnGroupOptions {
|
|
4941
|
-
/**
|
|
4942
|
-
* ID of the service from which to delete the add-on group.
|
|
4943
|
-
* @format GUID
|
|
4944
|
-
*/
|
|
4945
|
-
serviceId: string | null;
|
|
4946
|
-
}
|
|
4947
|
-
/**
|
|
4948
|
-
* Updates an add-on group.
|
|
4949
|
-
*
|
|
4950
|
-
*
|
|
4951
|
-
* To update only add-on display order, call [Set Add Ons For Group](https://dev.wix.com/docs/rest/business-solutions/bookings/services/services-v2/set-add-ons-for-group) instead.
|
|
4952
|
-
* @param addOnGroup - Add-on group to update.
|
|
4953
|
-
* @public
|
|
4954
|
-
* @documentationMaturity preview
|
|
4955
|
-
* @requiredField addOnGroup
|
|
4956
|
-
* @requiredField addOnGroup._id
|
|
4957
|
-
* @requiredField options
|
|
4958
|
-
* @requiredField options.serviceId
|
|
4959
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
|
|
4960
|
-
* @applicableIdentity APP
|
|
4961
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
|
|
4962
|
-
*/
|
|
4963
|
-
declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
4964
|
-
__applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
|
|
4965
|
-
}>;
|
|
4966
|
-
interface UpdateAddOnGroupOptions {
|
|
4967
|
-
/**
|
|
4968
|
-
* ID of the service that contains the add-on group.
|
|
4969
|
-
* @format GUID
|
|
4970
|
-
*/
|
|
4971
|
-
serviceId: string | null;
|
|
4972
|
-
}
|
|
4973
|
-
/**
|
|
4974
|
-
* Retrieves add-on groups for a service with enriched add-on details.
|
|
4975
|
-
*
|
|
4976
|
-
*
|
|
4977
|
-
* Add-on details are returned based on their display order.
|
|
4978
|
-
*
|
|
4979
|
-
* If you specify `groupIds`, only those groups are returned.
|
|
4980
|
-
* By default, all groups associated with the service are returned.
|
|
4981
|
-
* @param serviceId - ID of the service to retrieve add-on groups for.
|
|
4982
|
-
* @public
|
|
4983
|
-
* @documentationMaturity preview
|
|
4984
|
-
* @requiredField serviceId
|
|
4985
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
|
|
4986
|
-
* @applicableIdentity APP
|
|
4987
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
|
|
4988
|
-
*/
|
|
4989
|
-
declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 2>>;
|
|
4990
|
-
interface ListAddOnGroupsByServiceIdOptions {
|
|
4991
|
-
/**
|
|
4992
|
-
* List of group IDs to return. By default, all groups are returned.
|
|
4993
|
-
* @format GUID
|
|
4994
|
-
* @maxSize 3
|
|
4995
|
-
*/
|
|
4996
|
-
groupIds?: string[] | null;
|
|
4997
|
-
}
|
|
4998
|
-
/**
|
|
4999
|
-
* Sets the add-ons for a specific group, replacing any existing add-ons in the group.
|
|
5000
|
-
*
|
|
5001
|
-
*
|
|
5002
|
-
* Call this method when you want to:
|
|
5003
|
-
* - Add new add-ons to a group.
|
|
5004
|
-
* - Remove add-ons from a group.
|
|
5005
|
-
* - Reorder existing add-ons for optimal customer presentation.
|
|
5006
|
-
*
|
|
5007
|
-
* The order of add-ons in the request determines their display sequence to customers.
|
|
5008
|
-
* All specified add-ons must already exist before adding them to a group.
|
|
5009
|
-
*
|
|
5010
|
-
* 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.
|
|
5011
|
-
* @param serviceId - Service ID containing the group.
|
|
5012
|
-
* @public
|
|
5013
|
-
* @documentationMaturity preview
|
|
5014
|
-
* @requiredField options
|
|
5015
|
-
* @requiredField options.addOnIds
|
|
5016
|
-
* @requiredField options.groupId
|
|
5017
|
-
* @requiredField serviceId
|
|
5018
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
|
|
5019
|
-
* @applicableIdentity APP
|
|
5020
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
|
|
5021
|
-
*/
|
|
5022
|
-
declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 2>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
5023
|
-
__applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
|
|
5024
|
-
}>;
|
|
5025
|
-
interface SetAddOnsForGroupOptions {
|
|
5026
|
-
/**
|
|
5027
|
-
* Group ID to set add-ons for.
|
|
5028
|
-
* @format GUID
|
|
5029
|
-
*/
|
|
5030
|
-
groupId: string | null;
|
|
5031
|
-
/**
|
|
5032
|
-
* IDs of add-ons to set for the group in display order.
|
|
5033
|
-
* @format GUID
|
|
5034
|
-
* @minSize 1
|
|
5035
|
-
* @maxSize 7
|
|
5036
|
-
*/
|
|
5037
|
-
addOnIds: string[] | null;
|
|
5038
|
-
}
|
|
5039
5063
|
|
|
5040
|
-
export { type ListAddOnGroupsByServiceIdResponse as $, type DisablePricingPlansForServiceOptions as A, type BulkCreateServicesOptions as B, type CreateServiceValidationErrors as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type DisablePricingPlansForServiceResponse as F, type DisablePricingPlansForServiceApplicationErrors as G, type SetCustomSlugOptions as H, type SetCustomSlugResponse as I, type SetCustomSlugApplicationErrors as J, type SetCustomSlugValidationErrors as K, type Location as L, type ValidateSlugResponse as M, type CloneServiceResponse as N, type AddOnGroup as O, type CreateAddOnGroupOptions as P, type QueryPoliciesResponse as Q, type CreateAddOnGroupResponse as R, type Service as S, type DeleteAddOnGroupOptions as T, type UpdateService as U, type ValidateSlugOptions as V, type DeleteAddOnGroupApplicationErrors as W, type UpdateAddOnGroupOptions as X, type UpdateAddOnGroupResponse as Y, type UpdateAddOnGroupApplicationErrors as Z, type ListAddOnGroupsByServiceIdOptions as _, type BulkCreateServicesResponse as a, type CancellationPolicy as a$, type SetAddOnsForGroupOptions as a0, type SetAddOnsForGroupResponse as a1, type SetAddOnsForGroupApplicationErrors as a2, type ServiceCreatedEnvelope as a3, type ServiceDeletedEnvelope as a4, type ServiceUpdatedEnvelope as a5, ServiceType as a6, RateType as a7, AddOnPaymentOptions as a8, LocationType as a9, type Media as aA, type MediaItem as aB, type MediaItemItemOneOf as aC, type V2Category as aD, type Form as aE, type FormSettings as aF, type Payment as aG, type PaymentRateOneOf as aH, type FixedPayment as aI, type Money as aJ, type CustomPayment as aK, type VariedPayment as aL, type PaymentOptions as aM, type OnlineBooking as aN, type Conferencing as aO, type LocationOptionsOneOf as aP, type CommonAddress as aQ, type CommonAddressStreetOneOf as aR, type StreetAddress as aS, type AddressLocation as aT, type BusinessLocationOptions as aU, type CustomLocationOptions as aV, type BookingPolicy as aW, type PolicyDescription as aX, type LimitEarlyBookingPolicy as aY, type LimitLateBookingPolicy as aZ, type BookAfterStartPolicy as a_, RankingOrder as aa, SortingMethodType as ab, TaxableAddressType as ac, WebhookIdentityType as ad, V2RequestedFields as ae, SortOrder as af, SortType as ag, SortDirection as ah, MissingValues as ai, ScalarType as aj, NestedAggregationType as ak, Interval as al, AggregationType as am, Mode as an, RequestedFields as ao, Action as ap, InvalidSlugError as aq, CloneErrors as ar, Status as as, CategoryNotificationEvent as at, BenefitType as au, Event as av, CrudType as aw, PlacementType as ax, DayOfWeek as ay, ResolutionMethod as az, type UpdateServiceValidationErrors as b, type GetServiceAvailabilityConstraintsRequest as b$, type ReschedulePolicy as b0, type WaitlistPolicy as b1, type ParticipantsPolicy as b2, type ResourcesPolicy as b3, type CancellationFeePolicy as b4, type CancellationWindow as b5, type CancellationWindowFeeOneOf as b6, type SaveCreditCardPolicy as b7, type StaffSortingPolicy as b8, type StaffSortingPolicyOptionsOneOf as b9, type Upsert as bA, type Delete as bB, type Schema as bC, type SetCustomSlugEvent as bD, type ServicesUrlsChanged as bE, type DomainEvent as bF, type DomainEventBodyOneOf as bG, type EntityCreatedEvent as bH, type RestoreInfo as bI, type EntityUpdatedEvent as bJ, type EntityDeletedEvent as bK, type ActionEvent as bL, type MessageEnvelope as bM, type IdentificationData as bN, type IdentificationDataIdOneOf as bO, type CreateServiceRequest as bP, type CreateServiceResponse as bQ, type ValidateServiceRequest as bR, type ValidateServiceResponse as bS, type FieldViolation as bT, type BulkCreateServicesRequest as bU, type BulkServiceResult as bV, type ItemMetadata as bW, type ApplicationError as bX, type BulkActionMetadata as bY, type GetServiceRequest as bZ, type GetServiceResponse as b_, type RankingOptions as ba, type CustomOptions as bb, type IntakeFormPolicy as bc, type Schedule as bd, type AvailabilityConstraints as be, type Duration as bf, type StaffMember as bg, type StaffMediaItem as bh, type StaffMediaItemItemOneOf as bi, type StaffMemberDetails as bj, type ResourceGroup as bk, type ResourceIds as bl, type ServiceResource as bm, type ServiceResourceSelectionOneOf as bn, type ResourceType as bo, type Slug as bp, type URLs as bq, type ExtendedFields as br, type SeoSchema as bs, type Keyword as bt, type Tag as bu, type Settings as bv, type AddOnDetails as bw, type TaxableAddress as bx, type ReindexMessage as by, type ReindexMessageActionOneOf as bz, type BulkUpdateServicesOptions as c, type CursorQueryPagingMethodOneOf as c$, type GetServiceAvailabilityConstraintsResponse as c0, type ServiceAvailabilityConstraints as c1, type SplitInterval as c2, type UpdateServiceRequest as c3, type UpdateServiceResponse as c4, type BulkUpdateServicesRequest as c5, type MaskedService as c6, type BulkUpdateServicesByFilterRequest as c7, type DeleteServiceRequest as c8, type ParticipantNotification as c9, type NestedAggregation as cA, type GroupByAggregation as cB, type GroupByAggregationKindOneOf as cC, type SearchDetails as cD, type CursorPagingMetadata as cE, type AggregationData as cF, type ValueAggregationResult as cG, type RangeAggregationResult as cH, type NestedAggregationResults as cI, type NestedAggregationResultsResultOneOf as cJ, type ValueResults as cK, type RangeResults as cL, type AggregationResultsScalarResult as cM, type NestedValueAggregationResult as cN, type ValueResult as cO, type RangeResult as cP, type ScalarResult as cQ, type NestedResultValue as cR, type NestedResultValueResultOneOf as cS, type Results as cT, type DateHistogramResult as cU, type GroupByValueResults as cV, type DateHistogramResults as cW, type NestedResults as cX, type AggregationResults as cY, type AggregationResultsResultOneOf as cZ, type QueryPoliciesRequest as c_, type DeleteServiceResponse as ca, type BulkDeleteServicesRequest as cb, type BulkDeleteServicesByFilterRequest as cc, type QueryServicesRequest as cd, type QueryV2 as ce, type QueryV2PagingMethodOneOf as cf, type Sorting as cg, type Paging as ch, type CursorPaging as ci, type QueryServicesResponse as cj, type PagingMetadataV2 as ck, type Cursors as cl, type SearchServicesRequest as cm, type CursorSearch as cn, type CursorSearchPagingMethodOneOf as co, type Aggregation as cp, type AggregationKindOneOf as cq, type RangeBucket as cr, type IncludeMissingValuesOptions as cs, type ValueAggregation as ct, type ValueAggregationOptionsOneOf as cu, type RangeAggregation as cv, type ScalarAggregation as cw, type DateHistogramAggregation as cx, type NestedAggregationItem as cy, type NestedAggregationItemKindOneOf as cz, type BulkUpdateServicesResponse as d, type ListAddOnGroupsByServiceIdRequest as d$, type BookingPolicyWithServices as d0, type QueryBookingFormsRequest as d1, type BookingForm as d2, type FormDetails as d3, type ConnectedService as d4, type CountServicesRequest as d5, type QueryLocationsRequest as d6, type QueryLocationsFilter as d7, type BusinessLocations as d8, type CustomLocations as d9, type UserDomainInfoChangedEvent as dA, type HtmlSitePublished as dB, type Page as dC, type SitePropertiesNotification as dD, type SitePropertiesEvent as dE, type Properties as dF, type Categories as dG, type Locale as dH, type Address as dI, type AddressHint as dJ, type GeoCoordinates as dK, type BusinessSchedule as dL, type TimePeriod as dM, type SpecialHourPeriod as dN, type Multilingual as dO, type SupportedLanguage as dP, type ConsentPolicy as dQ, type Translation as dR, type ChangeContext as dS, type ChangeContextPayloadOneOf as dT, type PropertiesChange as dU, type SiteCreated as dV, type SiteCloned as dW, type CreateAddOnGroupRequest as dX, type DeleteAddOnGroupRequest as dY, type DeleteAddOnGroupResponse as dZ, type UpdateAddOnGroupRequest as d_, type CustomerLocations as da, type QueryCategoriesRequest as db, type QueryCategoriesFilter as dc, type QueryServicesMultiLanguageRequest as dd, type QueryServicesMultiLanguageResponse as de, type SetServiceLocationsRequest as df, type RemovedLocationSessionsAction as dg, type RemovedLocationSessionsActionActionOptionsOneOf as dh, type MoveToNewLocationsOptions as di, type EnablePricingPlansForServiceRequest as dj, type InvalidPricingPlan as dk, type DisablePricingPlansForServiceRequest as dl, type SetCustomSlugRequest as dm, type ValidateSlugRequest as dn, type CloneServiceRequest as dp, type CategoryNotification as dq, type Category as dr, type Empty as ds, type BenefitNotification as dt, type Benefit as du, type EntryPass as dv, type Discount as dw, type DiscountDiscountOneOf as dx, type Behavior as dy, type BehaviorBehaviorOneOf as dz, type BulkUpdateServicesByFilterOptions as e, createAddOnGroup as e$, type AddOn as e0, type AddOnAddOnInfoOneOf as e1, type AddOnGroupDetail as e2, type SetAddOnsForGroupRequest as e3, type BaseEventMetadata as e4, type EventMetadata as e5, type ServicesQueryResult as e6, type ServiceSearchSpec as e7, type ServiceTypeWithLiterals as e8, type RateTypeWithLiterals as e9, type DayOfWeekWithLiterals as eA, type ResolutionMethodWithLiterals as eB, type CommonSearchWithEntityContext as eC, onServiceCreated as eD, onServiceDeleted as eE, onServiceUpdated as eF, createService as eG, bulkCreateServices as eH, getService as eI, updateService as eJ, bulkUpdateServices as eK, bulkUpdateServicesByFilter as eL, deleteService as eM, bulkDeleteServices as eN, bulkDeleteServicesByFilter as eO, queryServices as eP, queryPolicies as eQ, queryBookingForms as eR, countServices as eS, queryLocations as eT, queryCategories as eU, setServiceLocations as eV, enablePricingPlansForService as eW, disablePricingPlansForService as eX, setCustomSlug as eY, validateSlug as eZ, cloneService as e_, type AddOnPaymentOptionsWithLiterals as ea, type LocationTypeWithLiterals as eb, type RankingOrderWithLiterals as ec, type SortingMethodTypeWithLiterals as ed, type TaxableAddressTypeWithLiterals as ee, type WebhookIdentityTypeWithLiterals as ef, type V2RequestedFieldsWithLiterals as eg, type SortOrderWithLiterals as eh, type SortTypeWithLiterals as ei, type SortDirectionWithLiterals as ej, type MissingValuesWithLiterals as ek, type ScalarTypeWithLiterals as el, type NestedAggregationTypeWithLiterals as em, type IntervalWithLiterals as en, type AggregationTypeWithLiterals as eo, type ModeWithLiterals as ep, type RequestedFieldsWithLiterals as eq, type ActionWithLiterals as er, type InvalidSlugErrorWithLiterals as es, type CloneErrorsWithLiterals as et, type StatusWithLiterals as eu, type CategoryNotificationEventWithLiterals as ev, type BenefitTypeWithLiterals as ew, type EventWithLiterals as ex, type CrudTypeWithLiterals as ey, type PlacementTypeWithLiterals as ez, type BulkUpdateServicesByFilterResponse as f, deleteAddOnGroup as f0, updateAddOnGroup as f1, listAddOnGroupsByServiceId as f2, setAddOnsForGroup as f3, type BulkDeleteServicesOptions as g, type BulkDeleteServicesResponse as h, type BulkDeleteServicesByFilterOptions as i, type BulkDeleteServicesByFilterResponse as j, type ServicesQueryBuilder as k, type ServiceSearch as l, type SearchServicesResponse as m, type CursorQuery as n, type QueryBookingFormsOptions as o, type QueryBookingFormsResponse as p, type QueryBookingFormsApplicationErrors as q, type CountServicesOptions as r, type CountServicesResponse as s, type QueryLocationsOptions as t, type QueryLocationsResponse as u, type QueryCategoriesOptions as v, type QueryCategoriesResponse as w, type SetServiceLocationsOptions as x, type SetServiceLocationsResponse as y, type EnablePricingPlansForServiceApplicationErrors as z };
|
|
5064
|
+
export { type SetCustomSlugValidationErrors as $, type AddOnGroup as A, type BulkCreateServicesOptions as B, type CreateAddOnGroupOptions as C, type DeleteAddOnGroupOptions as D, type QueryBookingFormsResponse as E, type QueryBookingFormsApplicationErrors as F, type CountServicesOptions as G, type CountServicesResponse as H, type QueryLocationsOptions as I, type QueryLocationsResponse as J, type QueryCategoriesOptions as K, type ListAddOnGroupsByServiceIdOptions as L, type QueryCategoriesResponse as M, type Location as N, type SetServiceLocationsOptions as O, type SetServiceLocationsResponse as P, type QueryPoliciesResponse as Q, type EnablePricingPlansForServiceResponse as R, type SetAddOnsForGroupOptions as S, type EnablePricingPlansForServiceApplicationErrors as T, type UpdateAddOnGroupOptions as U, type DisablePricingPlansForServiceOptions as V, type DisablePricingPlansForServiceResponse as W, type DisablePricingPlansForServiceApplicationErrors as X, type SetCustomSlugOptions as Y, type SetCustomSlugResponse as Z, type SetCustomSlugApplicationErrors as _, type CreateAddOnGroupResponse as a, type LimitLateBookingPolicy as a$, type ValidateSlugOptions as a0, type ValidateSlugResponse as a1, type CloneServiceResponse as a2, type ServiceCreatedEnvelope as a3, type ServiceDeletedEnvelope as a4, type ServiceUpdatedEnvelope as a5, ServiceType as a6, RateType as a7, AddOnPaymentOptions as a8, LocationType as a9, DayOfWeek as aA, ResolutionMethod as aB, type Media as aC, type MediaItem as aD, type MediaItemItemOneOf as aE, type V2Category as aF, type Form as aG, type FormSettings as aH, type Payment as aI, type PaymentRateOneOf as aJ, type FixedPayment as aK, type Money as aL, type CustomPayment as aM, type VariedPayment as aN, type PaymentOptions as aO, type OnlineBooking as aP, type Conferencing as aQ, type LocationOptionsOneOf as aR, type CommonAddress as aS, type CommonAddressStreetOneOf as aT, type StreetAddress as aU, type AddressLocation as aV, type BusinessLocationOptions as aW, type CustomLocationOptions as aX, type BookingPolicy as aY, type PolicyDescription as aZ, type LimitEarlyBookingPolicy as a_, RankingOrder as aa, SortingMethodType as ab, TaxableAddressType as ac, WebhookIdentityType as ad, Timing as ae, CompletionRequirement as af, V2RequestedFields as ag, SortOrder as ah, SortType as ai, SortDirection as aj, MissingValues as ak, ScalarType as al, NestedAggregationType as am, Interval as an, AggregationType as ao, Mode as ap, RequestedFields as aq, Action as ar, InvalidSlugError as as, CloneErrors as at, Status as au, CategoryNotificationEvent as av, BenefitType as aw, Event as ax, CrudType as ay, PlacementType as az, type DeleteAddOnGroupApplicationErrors as b, type CreateServiceResponse as b$, type BookAfterStartPolicy as b0, type CancellationPolicy as b1, type ReschedulePolicy as b2, type WaitlistPolicy as b3, type ParticipantsPolicy as b4, type ResourcesPolicy as b5, type CancellationFeePolicy as b6, type CancellationWindow as b7, type CancellationWindowFeeOneOf as b8, type SaveCreditCardPolicy as b9, type ReindexMessage as bA, type ReindexMessageActionOneOf as bB, type Upsert as bC, type Delete as bD, type Schema as bE, type SetCustomSlugEvent as bF, type ServicesUrlsChanged as bG, type DomainEvent as bH, type DomainEventBodyOneOf as bI, type EntityCreatedEvent as bJ, type RestoreInfo as bK, type EntityUpdatedEvent as bL, type EntityDeletedEvent as bM, type ActionEvent as bN, type MessageEnvelope as bO, type IdentificationData as bP, type IdentificationDataIdOneOf as bQ, type CreateAddOnGroupRequest as bR, type DeleteAddOnGroupRequest as bS, type DeleteAddOnGroupResponse as bT, type UpdateAddOnGroupRequest as bU, type ListAddOnGroupsByServiceIdRequest as bV, type AddOn as bW, type AddOnAddOnInfoOneOf as bX, type AddOnGroupDetail as bY, type SetAddOnsForGroupRequest as bZ, type CreateServiceRequest as b_, type StaffSortingPolicy as ba, type StaffSortingPolicyOptionsOneOf as bb, type RankingOptions as bc, type CustomOptions as bd, type IntakeFormPolicy as be, type Schedule as bf, type AvailabilityConstraints as bg, type Duration as bh, type StaffMember as bi, type StaffMediaItem as bj, type StaffMediaItemItemOneOf as bk, type StaffMemberDetails as bl, type ResourceGroup as bm, type ResourceIds as bn, type ServiceResource as bo, type ServiceResourceSelectionOneOf as bp, type ResourceType as bq, type Slug as br, type URLs as bs, type ExtendedFields as bt, type SeoSchema as bu, type Keyword as bv, type Tag as bw, type Settings as bx, type AddOnDetails as by, type TaxableAddress as bz, type UpdateAddOnGroupResponse as c, type ScalarResult as c$, type ValidateServiceRequest as c0, type ValidateServiceResponse as c1, type FieldViolation as c2, type BulkCreateServicesRequest as c3, type BulkServiceResult as c4, type ItemMetadata as c5, type ApplicationError as c6, type BulkActionMetadata as c7, type GetServiceRequest as c8, type GetServiceResponse as c9, type Aggregation as cA, type AggregationKindOneOf as cB, type RangeBucket as cC, type IncludeMissingValuesOptions as cD, type ValueAggregation as cE, type ValueAggregationOptionsOneOf as cF, type RangeAggregation as cG, type ScalarAggregation as cH, type DateHistogramAggregation as cI, type NestedAggregationItem as cJ, type NestedAggregationItemKindOneOf as cK, type NestedAggregation as cL, type GroupByAggregation as cM, type GroupByAggregationKindOneOf as cN, type SearchDetails as cO, type CursorPagingMetadata as cP, type AggregationData as cQ, type ValueAggregationResult as cR, type RangeAggregationResult as cS, type NestedAggregationResults as cT, type NestedAggregationResultsResultOneOf as cU, type ValueResults as cV, type RangeResults as cW, type AggregationResultsScalarResult as cX, type NestedValueAggregationResult as cY, type ValueResult as cZ, type RangeResult as c_, type GetServiceAvailabilityConstraintsRequest as ca, type GetServiceAvailabilityConstraintsResponse as cb, type ServiceAvailabilityConstraints as cc, type SplitInterval as cd, type UpdateServiceRequest as ce, type UpdateServiceResponse as cf, type BulkUpdateServicesRequest as cg, type MaskedService as ch, type BulkUpdateServicesByFilterRequest as ci, type DeleteServiceRequest as cj, type ParticipantNotification as ck, type DeleteServiceResponse as cl, type BulkDeleteServicesRequest as cm, type BulkDeleteServicesByFilterRequest as cn, type QueryServicesRequest as co, type QueryV2 as cp, type QueryV2PagingMethodOneOf as cq, type Sorting as cr, type Paging as cs, type CursorPaging as ct, type QueryServicesResponse as cu, type PagingMetadataV2 as cv, type Cursors as cw, type SearchServicesRequest as cx, type CursorSearch as cy, type CursorSearchPagingMethodOneOf as cz, type UpdateAddOnGroupApplicationErrors as d, type ConsentPolicy as d$, type NestedResultValue as d0, type NestedResultValueResultOneOf as d1, type Results as d2, type DateHistogramResult as d3, type GroupByValueResults as d4, type DateHistogramResults as d5, type NestedResults as d6, type AggregationResults as d7, type AggregationResultsResultOneOf as d8, type QueryPoliciesRequest as d9, type CloneServiceRequest as dA, type CategoryNotification as dB, type Category as dC, type Empty as dD, type BenefitNotification as dE, type Benefit as dF, type EntryPass as dG, type Discount as dH, type DiscountDiscountOneOf as dI, type Behavior as dJ, type BehaviorBehaviorOneOf as dK, type UserDomainInfoChangedEvent as dL, type HtmlSitePublished as dM, type Page as dN, type SitePropertiesNotification as dO, type SitePropertiesEvent as dP, type Properties as dQ, type Categories as dR, type Locale as dS, type Address as dT, type AddressHint as dU, type GeoCoordinates as dV, type BusinessSchedule as dW, type TimePeriod as dX, type SpecialHourPeriod as dY, type Multilingual as dZ, type SupportedLanguage as d_, type CursorQueryPagingMethodOneOf as da, type BookingPolicyWithServices as db, type QueryBookingFormsRequest as dc, type BookingForm as dd, type FormDetails as de, type ConnectedService as df, type CountServicesRequest as dg, type QueryLocationsRequest as dh, type QueryLocationsFilter as di, type BusinessLocations as dj, type CustomLocations as dk, type CustomerLocations as dl, type QueryCategoriesRequest as dm, type QueryCategoriesFilter as dn, type QueryServicesMultiLanguageRequest as dp, type QueryServicesMultiLanguageResponse as dq, type SetServiceLocationsRequest as dr, type RemovedLocationSessionsAction as ds, type RemovedLocationSessionsActionActionOptionsOneOf as dt, type MoveToNewLocationsOptions as du, type EnablePricingPlansForServiceRequest as dv, type InvalidPricingPlan as dw, type DisablePricingPlansForServiceRequest as dx, type SetCustomSlugRequest as dy, type ValidateSlugRequest as dz, type ListAddOnGroupsByServiceIdResponse as e, countServices as e$, type Translation as e0, type ChangeContext as e1, type ChangeContextPayloadOneOf as e2, type PropertiesChange as e3, type SiteCreated as e4, type SiteCloned as e5, type BaseEventMetadata as e6, type EventMetadata as e7, type ServicesQueryResult as e8, type ServiceSearchSpec as e9, type BenefitTypeWithLiterals as eA, type EventWithLiterals as eB, type CrudTypeWithLiterals as eC, type PlacementTypeWithLiterals as eD, type DayOfWeekWithLiterals as eE, type ResolutionMethodWithLiterals as eF, type CommonSearchWithEntityContext as eG, onServiceCreated as eH, onServiceDeleted as eI, onServiceUpdated as eJ, createAddOnGroup as eK, deleteAddOnGroup as eL, updateAddOnGroup as eM, listAddOnGroupsByServiceId as eN, setAddOnsForGroup as eO, createService as eP, bulkCreateServices as eQ, getService as eR, updateService as eS, bulkUpdateServices as eT, bulkUpdateServicesByFilter as eU, deleteService as eV, bulkDeleteServices as eW, bulkDeleteServicesByFilter as eX, queryServices as eY, queryPolicies as eZ, queryBookingForms as e_, type ServiceTypeWithLiterals as ea, type RateTypeWithLiterals as eb, type AddOnPaymentOptionsWithLiterals as ec, type LocationTypeWithLiterals as ed, type RankingOrderWithLiterals as ee, type SortingMethodTypeWithLiterals as ef, type TaxableAddressTypeWithLiterals as eg, type WebhookIdentityTypeWithLiterals as eh, type TimingWithLiterals as ei, type CompletionRequirementWithLiterals as ej, type V2RequestedFieldsWithLiterals as ek, type SortOrderWithLiterals as el, type SortTypeWithLiterals as em, type SortDirectionWithLiterals as en, type MissingValuesWithLiterals as eo, type ScalarTypeWithLiterals as ep, type NestedAggregationTypeWithLiterals as eq, type IntervalWithLiterals as er, type AggregationTypeWithLiterals as es, type ModeWithLiterals as et, type RequestedFieldsWithLiterals as eu, type ActionWithLiterals as ev, type InvalidSlugErrorWithLiterals as ew, type CloneErrorsWithLiterals as ex, type StatusWithLiterals as ey, type CategoryNotificationEventWithLiterals as ez, type SetAddOnsForGroupResponse as f, queryLocations as f0, queryCategories as f1, setServiceLocations as f2, enablePricingPlansForService as f3, disablePricingPlansForService as f4, setCustomSlug as f5, validateSlug as f6, cloneService as f7, 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 ServicesQueryBuilder as v, type ServiceSearch as w, type SearchServicesResponse as x, type CursorQuery as y, type QueryBookingFormsOptions as z };
|