@wix/auto_sdk_bookings_services 1.0.120 → 1.0.121
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-DKi7EvxV.d.ts → bookings-services-v2-service-services.universal-eHS1PlTD.d.ts} +344 -271
- package/build/cjs/index.d.ts +60 -60
- package/build/cjs/index.js +352 -335
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +262 -245
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +138 -138
- package/build/cjs/meta.js +185 -185
- package/build/cjs/meta.js.map +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-DKi7EvxV.d.mts → bookings-services-v2-service-services.universal-eHS1PlTD.d.mts} +344 -271
- package/build/es/index.d.mts +60 -60
- package/build/es/index.mjs +350 -335
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +260 -245
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +138 -138
- package/build/es/meta.mjs +185 -185
- package/build/es/meta.mjs.map +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-DKi7EvxV.d.ts → bookings-services-v2-service-services.universal-eHS1PlTD.d.ts} +344 -271
- package/build/internal/cjs/index.d.ts +60 -60
- package/build/internal/cjs/index.js +352 -335
- 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 +262 -245
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +138 -138
- package/build/internal/cjs/meta.js +185 -185
- package/build/internal/cjs/meta.js.map +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-DKi7EvxV.d.mts → bookings-services-v2-service-services.universal-eHS1PlTD.d.mts} +344 -271
- package/build/internal/es/index.d.mts +60 -60
- package/build/internal/es/index.mjs +350 -335
- 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 +260 -245
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +138 -138
- package/build/internal/es/meta.mjs +185 -185
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1353,6 +1353,211 @@ declare enum WebhookIdentityType {
|
|
|
1353
1353
|
}
|
|
1354
1354
|
/** @enumType */
|
|
1355
1355
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1356
|
+
/**
|
|
1357
|
+
* Policy for determining how staff members are sorted and selected during the booking process.
|
|
1358
|
+
* This affects which staff member is chosen when multiple staff members are available for a service.
|
|
1359
|
+
*/
|
|
1360
|
+
interface StaffSortingPolicy extends StaffSortingPolicyOptionsOneOf {
|
|
1361
|
+
rankingOptions?: RankingOptions;
|
|
1362
|
+
customOptions?: CustomOptions;
|
|
1363
|
+
/**
|
|
1364
|
+
* Method used for sorting and selecting staff members.
|
|
1365
|
+
*
|
|
1366
|
+
* Default: `RANDOM`
|
|
1367
|
+
*/
|
|
1368
|
+
sortingMethodType?: SortingMethodTypeWithLiterals;
|
|
1369
|
+
}
|
|
1370
|
+
/** @oneof */
|
|
1371
|
+
interface StaffSortingPolicyOptionsOneOf {
|
|
1372
|
+
rankingOptions?: RankingOptions;
|
|
1373
|
+
customOptions?: CustomOptions;
|
|
1374
|
+
}
|
|
1375
|
+
/** Order for ranking-based staff selection. */
|
|
1376
|
+
declare enum RankingOrder {
|
|
1377
|
+
UNKNOWN_RANKING_ORDER = "UNKNOWN_RANKING_ORDER",
|
|
1378
|
+
/** Staff members with lower priority values are selected first. */
|
|
1379
|
+
LOWEST_TO_HIGHEST = "LOWEST_TO_HIGHEST",
|
|
1380
|
+
/** Staff members with higher priority values are selected first. */
|
|
1381
|
+
HIGHEST_TO_LOWEST = "HIGHEST_TO_LOWEST"
|
|
1382
|
+
}
|
|
1383
|
+
/** @enumType */
|
|
1384
|
+
type RankingOrderWithLiterals = RankingOrder | 'UNKNOWN_RANKING_ORDER' | 'LOWEST_TO_HIGHEST' | 'HIGHEST_TO_LOWEST';
|
|
1385
|
+
/** Method used to sort and select staff members. */
|
|
1386
|
+
declare enum SortingMethodType {
|
|
1387
|
+
UNKNOWN_SORTING_METHOD_TYPE = "UNKNOWN_SORTING_METHOD_TYPE",
|
|
1388
|
+
/** Staff members are selected randomly from available options. */
|
|
1389
|
+
RANDOM = "RANDOM",
|
|
1390
|
+
/** Staff members are selected based on their priority ranking. */
|
|
1391
|
+
RANKING = "RANKING",
|
|
1392
|
+
/**
|
|
1393
|
+
* Staff members are selected using a custom method provided by StaffSelectionSPI.
|
|
1394
|
+
* This allows third-party apps to implement custom staff selection logic.
|
|
1395
|
+
*/
|
|
1396
|
+
CUSTOM = "CUSTOM"
|
|
1397
|
+
}
|
|
1398
|
+
/** @enumType */
|
|
1399
|
+
type SortingMethodTypeWithLiterals = SortingMethodType | 'UNKNOWN_SORTING_METHOD_TYPE' | 'RANDOM' | 'RANKING' | 'CUSTOM';
|
|
1400
|
+
/**
|
|
1401
|
+
* Configuration options for ranking-based staff selection.
|
|
1402
|
+
* Used when `sorting_method_type` is set to `RANKING`.
|
|
1403
|
+
*/
|
|
1404
|
+
interface RankingOptions {
|
|
1405
|
+
/**
|
|
1406
|
+
* Order in which staff members are sorted by their priority ranking.
|
|
1407
|
+
*
|
|
1408
|
+
* Default: `LOWEST_TO_HIGHEST`
|
|
1409
|
+
*/
|
|
1410
|
+
order?: RankingOrderWithLiterals;
|
|
1411
|
+
}
|
|
1412
|
+
/**
|
|
1413
|
+
* Configuration options for custom staff selection methods.
|
|
1414
|
+
* Used when `sorting_method_type` is set to `CUSTOM`.
|
|
1415
|
+
*/
|
|
1416
|
+
interface CustomOptions {
|
|
1417
|
+
/**
|
|
1418
|
+
* ID of the custom selection method implemented in StaffSelectionSPI.
|
|
1419
|
+
* This identifies which custom sorting algorithm to use.
|
|
1420
|
+
* @format GUID
|
|
1421
|
+
*/
|
|
1422
|
+
methodId?: string;
|
|
1423
|
+
/**
|
|
1424
|
+
* ID of the app that provides the custom selection method.
|
|
1425
|
+
* @format GUID
|
|
1426
|
+
*/
|
|
1427
|
+
appId?: string;
|
|
1428
|
+
}
|
|
1429
|
+
interface CreateAddOnGroupRequest {
|
|
1430
|
+
/** AddOnGroup to create. */
|
|
1431
|
+
addOnGroup: AddOnGroup;
|
|
1432
|
+
/**
|
|
1433
|
+
* ID of the service to create the AddOnGroup for.
|
|
1434
|
+
* @format GUID
|
|
1435
|
+
*/
|
|
1436
|
+
serviceId?: string | null;
|
|
1437
|
+
}
|
|
1438
|
+
interface CreateAddOnGroupResponse {
|
|
1439
|
+
/** Created AddOnGroup. */
|
|
1440
|
+
addOnGroup?: AddOnGroup;
|
|
1441
|
+
}
|
|
1442
|
+
interface DeleteAddOnGroupRequest {
|
|
1443
|
+
/**
|
|
1444
|
+
* ID of the AddOnGroup to delete.
|
|
1445
|
+
* @format GUID
|
|
1446
|
+
*/
|
|
1447
|
+
addOnGroupId: string | null;
|
|
1448
|
+
/**
|
|
1449
|
+
* ID of the service from which to delete the AddOnGroup.
|
|
1450
|
+
* @format GUID
|
|
1451
|
+
*/
|
|
1452
|
+
serviceId: string | null;
|
|
1453
|
+
}
|
|
1454
|
+
interface DeleteAddOnGroupResponse {
|
|
1455
|
+
}
|
|
1456
|
+
interface UpdateAddOnGroupRequest {
|
|
1457
|
+
/** AddOnGroup to update. */
|
|
1458
|
+
addOnGroup: AddOnGroup;
|
|
1459
|
+
/**
|
|
1460
|
+
* ID of the service that contains the AddOnGroup.
|
|
1461
|
+
* @format GUID
|
|
1462
|
+
*/
|
|
1463
|
+
serviceId: string | null;
|
|
1464
|
+
}
|
|
1465
|
+
interface UpdateAddOnGroupResponse {
|
|
1466
|
+
/** Updated AddOnGroup */
|
|
1467
|
+
addOnGroup?: AddOnGroup;
|
|
1468
|
+
}
|
|
1469
|
+
interface ListAddOnGroupsByServiceIdRequest {
|
|
1470
|
+
/**
|
|
1471
|
+
* ID of the service to retrieve AddOnGroups for.
|
|
1472
|
+
* @format GUID
|
|
1473
|
+
*/
|
|
1474
|
+
serviceId: string | null;
|
|
1475
|
+
/**
|
|
1476
|
+
* List of group ids to return. If not provided, all groups are returned.
|
|
1477
|
+
* @format GUID
|
|
1478
|
+
* @maxSize 3
|
|
1479
|
+
*/
|
|
1480
|
+
groupIds?: string[] | null;
|
|
1481
|
+
}
|
|
1482
|
+
interface ListAddOnGroupsByServiceIdResponse {
|
|
1483
|
+
/**
|
|
1484
|
+
* List of group IDs and their linked AddOns.
|
|
1485
|
+
* @maxSize 3
|
|
1486
|
+
*/
|
|
1487
|
+
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
1488
|
+
}
|
|
1489
|
+
interface AddOn extends AddOnAddOnInfoOneOf {
|
|
1490
|
+
/** The AddOn description. */
|
|
1491
|
+
durationInMinutes?: number;
|
|
1492
|
+
/** The AddOn max quantity. */
|
|
1493
|
+
maxQuantity?: number;
|
|
1494
|
+
/**
|
|
1495
|
+
* The AddOn ID.
|
|
1496
|
+
* @format GUID
|
|
1497
|
+
*/
|
|
1498
|
+
addOnId?: string | null;
|
|
1499
|
+
/**
|
|
1500
|
+
* The AddOn name.
|
|
1501
|
+
* @maxLength 100
|
|
1502
|
+
*/
|
|
1503
|
+
name?: string | null;
|
|
1504
|
+
/** The AddOn price. */
|
|
1505
|
+
price?: Money;
|
|
1506
|
+
}
|
|
1507
|
+
/** @oneof */
|
|
1508
|
+
interface AddOnAddOnInfoOneOf {
|
|
1509
|
+
/** The AddOn description. */
|
|
1510
|
+
durationInMinutes?: number;
|
|
1511
|
+
/** The AddOn max quantity. */
|
|
1512
|
+
maxQuantity?: number;
|
|
1513
|
+
}
|
|
1514
|
+
interface AddOnGroupDetail {
|
|
1515
|
+
/**
|
|
1516
|
+
* The group ID.
|
|
1517
|
+
* @format GUID
|
|
1518
|
+
*/
|
|
1519
|
+
groupId?: string | null;
|
|
1520
|
+
/** The group max number of AddOns. */
|
|
1521
|
+
maxNumberOfAddOns?: number | null;
|
|
1522
|
+
/**
|
|
1523
|
+
* The group name.
|
|
1524
|
+
* @maxLength 100
|
|
1525
|
+
*/
|
|
1526
|
+
groupName?: string | null;
|
|
1527
|
+
/**
|
|
1528
|
+
* The AddOns information linked to the group.
|
|
1529
|
+
* @maxSize 7
|
|
1530
|
+
*/
|
|
1531
|
+
addOns?: AddOn[];
|
|
1532
|
+
/**
|
|
1533
|
+
* The group prompt.
|
|
1534
|
+
* @maxLength 200
|
|
1535
|
+
*/
|
|
1536
|
+
prompt?: string | null;
|
|
1537
|
+
}
|
|
1538
|
+
interface SetAddOnsForGroupRequest {
|
|
1539
|
+
/**
|
|
1540
|
+
* The service ID to set AddOns for.
|
|
1541
|
+
* @format GUID
|
|
1542
|
+
*/
|
|
1543
|
+
serviceId: string | null;
|
|
1544
|
+
/**
|
|
1545
|
+
* The group ID to set AddOns for.
|
|
1546
|
+
* @format GUID
|
|
1547
|
+
*/
|
|
1548
|
+
groupId: string | null;
|
|
1549
|
+
/**
|
|
1550
|
+
* The IDs of AddOns to set.
|
|
1551
|
+
* @format GUID
|
|
1552
|
+
* @minSize 1
|
|
1553
|
+
* @maxSize 7
|
|
1554
|
+
*/
|
|
1555
|
+
addOnIds: string[] | null;
|
|
1556
|
+
}
|
|
1557
|
+
interface SetAddOnsForGroupResponse {
|
|
1558
|
+
/** The updated AddOnGroup. */
|
|
1559
|
+
addOnGroup?: AddOnGroup;
|
|
1560
|
+
}
|
|
1356
1561
|
interface CreateServiceRequest {
|
|
1357
1562
|
/** Service to create. */
|
|
1358
1563
|
service: Service;
|
|
@@ -3261,138 +3466,24 @@ interface SiteCloned {
|
|
|
3261
3466
|
/** Origin site id. */
|
|
3262
3467
|
originMetaSiteId?: string;
|
|
3263
3468
|
}
|
|
3264
|
-
|
|
3265
|
-
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
|
|
3271
|
-
|
|
3272
|
-
|
|
3273
|
-
|
|
3274
|
-
|
|
3275
|
-
|
|
3276
|
-
|
|
3277
|
-
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
addOnGroupId: string | null;
|
|
3283
|
-
/**
|
|
3284
|
-
* ID of the service from which to delete the AddOnGroup.
|
|
3285
|
-
* @format GUID
|
|
3286
|
-
*/
|
|
3287
|
-
serviceId: string | null;
|
|
3288
|
-
}
|
|
3289
|
-
interface DeleteAddOnGroupResponse {
|
|
3290
|
-
}
|
|
3291
|
-
interface UpdateAddOnGroupRequest {
|
|
3292
|
-
/** AddOnGroup to update. */
|
|
3293
|
-
addOnGroup: AddOnGroup;
|
|
3294
|
-
/**
|
|
3295
|
-
* ID of the service that contains the AddOnGroup.
|
|
3296
|
-
* @format GUID
|
|
3297
|
-
*/
|
|
3298
|
-
serviceId: string | null;
|
|
3299
|
-
}
|
|
3300
|
-
interface UpdateAddOnGroupResponse {
|
|
3301
|
-
/** Updated AddOnGroup */
|
|
3302
|
-
addOnGroup?: AddOnGroup;
|
|
3303
|
-
}
|
|
3304
|
-
interface ListAddOnGroupsByServiceIdRequest {
|
|
3305
|
-
/**
|
|
3306
|
-
* ID of the service to retrieve AddOnGroups for.
|
|
3307
|
-
* @format GUID
|
|
3308
|
-
*/
|
|
3309
|
-
serviceId: string | null;
|
|
3310
|
-
/**
|
|
3311
|
-
* List of group ids to return. If not provided, all groups are returned.
|
|
3312
|
-
* @format GUID
|
|
3313
|
-
* @maxSize 3
|
|
3314
|
-
*/
|
|
3315
|
-
groupIds?: string[] | null;
|
|
3316
|
-
}
|
|
3317
|
-
interface ListAddOnGroupsByServiceIdResponse {
|
|
3318
|
-
/**
|
|
3319
|
-
* List of group IDs and their linked AddOns.
|
|
3320
|
-
* @maxSize 3
|
|
3321
|
-
*/
|
|
3322
|
-
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
3323
|
-
}
|
|
3324
|
-
interface AddOn extends AddOnAddOnInfoOneOf {
|
|
3325
|
-
/** The AddOn description. */
|
|
3326
|
-
durationInMinutes?: number;
|
|
3327
|
-
/** The AddOn max quantity. */
|
|
3328
|
-
maxQuantity?: number;
|
|
3329
|
-
/**
|
|
3330
|
-
* The AddOn ID.
|
|
3331
|
-
* @format GUID
|
|
3332
|
-
*/
|
|
3333
|
-
addOnId?: string | null;
|
|
3334
|
-
/**
|
|
3335
|
-
* The AddOn name.
|
|
3336
|
-
* @maxLength 100
|
|
3337
|
-
*/
|
|
3338
|
-
name?: string | null;
|
|
3339
|
-
/** The AddOn price. */
|
|
3340
|
-
price?: Money;
|
|
3341
|
-
}
|
|
3342
|
-
/** @oneof */
|
|
3343
|
-
interface AddOnAddOnInfoOneOf {
|
|
3344
|
-
/** The AddOn description. */
|
|
3345
|
-
durationInMinutes?: number;
|
|
3346
|
-
/** The AddOn max quantity. */
|
|
3347
|
-
maxQuantity?: number;
|
|
3348
|
-
}
|
|
3349
|
-
interface AddOnGroupDetail {
|
|
3350
|
-
/**
|
|
3351
|
-
* The group ID.
|
|
3352
|
-
* @format GUID
|
|
3353
|
-
*/
|
|
3354
|
-
groupId?: string | null;
|
|
3355
|
-
/** The group max number of AddOns. */
|
|
3356
|
-
maxNumberOfAddOns?: number | null;
|
|
3357
|
-
/**
|
|
3358
|
-
* The group name.
|
|
3359
|
-
* @maxLength 100
|
|
3360
|
-
*/
|
|
3361
|
-
groupName?: string | null;
|
|
3362
|
-
/**
|
|
3363
|
-
* The AddOns information linked to the group.
|
|
3364
|
-
* @maxSize 7
|
|
3365
|
-
*/
|
|
3366
|
-
addOns?: AddOn[];
|
|
3367
|
-
/**
|
|
3368
|
-
* The group prompt.
|
|
3369
|
-
* @maxLength 200
|
|
3370
|
-
*/
|
|
3371
|
-
prompt?: string | null;
|
|
3372
|
-
}
|
|
3373
|
-
interface SetAddOnsForGroupRequest {
|
|
3374
|
-
/**
|
|
3375
|
-
* The service ID to set AddOns for.
|
|
3376
|
-
* @format GUID
|
|
3377
|
-
*/
|
|
3378
|
-
serviceId: string | null;
|
|
3379
|
-
/**
|
|
3380
|
-
* The group ID to set AddOns for.
|
|
3381
|
-
* @format GUID
|
|
3382
|
-
*/
|
|
3383
|
-
groupId: string | null;
|
|
3384
|
-
/**
|
|
3385
|
-
* The IDs of AddOns to set.
|
|
3386
|
-
* @format GUID
|
|
3387
|
-
* @minSize 1
|
|
3388
|
-
* @maxSize 7
|
|
3389
|
-
*/
|
|
3390
|
-
addOnIds: string[] | null;
|
|
3391
|
-
}
|
|
3392
|
-
interface SetAddOnsForGroupResponse {
|
|
3393
|
-
/** The updated AddOnGroup. */
|
|
3394
|
-
addOnGroup?: AddOnGroup;
|
|
3395
|
-
}
|
|
3469
|
+
/** @docsIgnore */
|
|
3470
|
+
type DeleteAddOnGroupApplicationErrors = {
|
|
3471
|
+
code?: 'GROUP_NOT_ON_SERVICE';
|
|
3472
|
+
description?: string;
|
|
3473
|
+
data?: Record<string, any>;
|
|
3474
|
+
};
|
|
3475
|
+
/** @docsIgnore */
|
|
3476
|
+
type UpdateAddOnGroupApplicationErrors = {
|
|
3477
|
+
code?: 'GROUP_NOT_ON_SERVICE';
|
|
3478
|
+
description?: string;
|
|
3479
|
+
data?: Record<string, any>;
|
|
3480
|
+
};
|
|
3481
|
+
/** @docsIgnore */
|
|
3482
|
+
type SetAddOnsForGroupApplicationErrors = {
|
|
3483
|
+
code?: 'ADD_ON_GROUP_NOT_FOUND';
|
|
3484
|
+
description?: string;
|
|
3485
|
+
data?: Record<string, any>;
|
|
3486
|
+
};
|
|
3396
3487
|
/** @docsIgnore */
|
|
3397
3488
|
type CreateServiceValidationErrors = {
|
|
3398
3489
|
ruleName?: 'INVALID_FORM';
|
|
@@ -3513,24 +3604,6 @@ type SetCustomSlugApplicationErrors = {
|
|
|
3513
3604
|
type SetCustomSlugValidationErrors = {
|
|
3514
3605
|
ruleName?: 'SLUG_CONTAINS_ILLEGAL_CHARACTERS';
|
|
3515
3606
|
};
|
|
3516
|
-
/** @docsIgnore */
|
|
3517
|
-
type DeleteAddOnGroupApplicationErrors = {
|
|
3518
|
-
code?: 'GROUP_NOT_ON_SERVICE';
|
|
3519
|
-
description?: string;
|
|
3520
|
-
data?: Record<string, any>;
|
|
3521
|
-
};
|
|
3522
|
-
/** @docsIgnore */
|
|
3523
|
-
type UpdateAddOnGroupApplicationErrors = {
|
|
3524
|
-
code?: 'GROUP_NOT_ON_SERVICE';
|
|
3525
|
-
description?: string;
|
|
3526
|
-
data?: Record<string, any>;
|
|
3527
|
-
};
|
|
3528
|
-
/** @docsIgnore */
|
|
3529
|
-
type SetAddOnsForGroupApplicationErrors = {
|
|
3530
|
-
code?: 'ADD_ON_GROUP_NOT_FOUND';
|
|
3531
|
-
description?: string;
|
|
3532
|
-
data?: Record<string, any>;
|
|
3533
|
-
};
|
|
3534
3607
|
interface BaseEventMetadata {
|
|
3535
3608
|
/**
|
|
3536
3609
|
* App instance ID.
|
|
@@ -3653,6 +3726,126 @@ interface ServiceUpdatedEnvelope {
|
|
|
3653
3726
|
* @slug updated
|
|
3654
3727
|
*/
|
|
3655
3728
|
declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => void | Promise<void>): void;
|
|
3729
|
+
/**
|
|
3730
|
+
* Create a new AddOns group.
|
|
3731
|
+
* An AddOns group defines a collection of AddOns that can be linked to a Service,
|
|
3732
|
+
* with constraints such as minimum and maximum selections.
|
|
3733
|
+
* @param addOnGroup - AddOnGroup to create.
|
|
3734
|
+
* @public
|
|
3735
|
+
* @documentationMaturity preview
|
|
3736
|
+
* @requiredField addOnGroup
|
|
3737
|
+
* @requiredField addOnGroup.name
|
|
3738
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
3739
|
+
* @applicableIdentity APP
|
|
3740
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
|
|
3741
|
+
*/
|
|
3742
|
+
declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
|
|
3743
|
+
interface CreateAddOnGroupOptions {
|
|
3744
|
+
/**
|
|
3745
|
+
* ID of the service to create the AddOnGroup for.
|
|
3746
|
+
* @format GUID
|
|
3747
|
+
*/
|
|
3748
|
+
serviceId?: string | null;
|
|
3749
|
+
}
|
|
3750
|
+
/**
|
|
3751
|
+
* Delete an existing AddOns group.
|
|
3752
|
+
* This will remove the group and unlink all associated AddOns.
|
|
3753
|
+
* @param addOnGroupId - ID of the AddOnGroup to delete.
|
|
3754
|
+
* @public
|
|
3755
|
+
* @documentationMaturity preview
|
|
3756
|
+
* @requiredField addOnGroupId
|
|
3757
|
+
* @requiredField options
|
|
3758
|
+
* @requiredField options.serviceId
|
|
3759
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
3760
|
+
* @applicableIdentity APP
|
|
3761
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
|
|
3762
|
+
*/
|
|
3763
|
+
declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
|
|
3764
|
+
__applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
|
|
3765
|
+
}>;
|
|
3766
|
+
interface DeleteAddOnGroupOptions {
|
|
3767
|
+
/**
|
|
3768
|
+
* ID of the service from which to delete the AddOnGroup.
|
|
3769
|
+
* @format GUID
|
|
3770
|
+
*/
|
|
3771
|
+
serviceId: string | null;
|
|
3772
|
+
}
|
|
3773
|
+
/**
|
|
3774
|
+
* Update an existing AddOns group.
|
|
3775
|
+
* This allows modifying group settings such as its name, prompt, constraints, or associated AddOns.
|
|
3776
|
+
* @param addOnGroup - AddOnGroup to update.
|
|
3777
|
+
* @public
|
|
3778
|
+
* @documentationMaturity preview
|
|
3779
|
+
* @requiredField addOnGroup
|
|
3780
|
+
* @requiredField addOnGroup._id
|
|
3781
|
+
* @requiredField options
|
|
3782
|
+
* @requiredField options.serviceId
|
|
3783
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
|
|
3784
|
+
* @applicableIdentity APP
|
|
3785
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
|
|
3786
|
+
*/
|
|
3787
|
+
declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
3788
|
+
__applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
|
|
3789
|
+
}>;
|
|
3790
|
+
interface UpdateAddOnGroupOptions {
|
|
3791
|
+
/**
|
|
3792
|
+
* ID of the service that contains the AddOnGroup.
|
|
3793
|
+
* @format GUID
|
|
3794
|
+
*/
|
|
3795
|
+
serviceId: string | null;
|
|
3796
|
+
}
|
|
3797
|
+
/**
|
|
3798
|
+
* Retrieves a list of AddOnGroups including enriched AddOn details in the correct order.
|
|
3799
|
+
* If the group_id is specified, only the AddOns for the specified group will be returned,
|
|
3800
|
+
* otherwise all groups will be returned.
|
|
3801
|
+
* @param serviceId - ID of the service to retrieve AddOnGroups for.
|
|
3802
|
+
* @public
|
|
3803
|
+
* @documentationMaturity preview
|
|
3804
|
+
* @requiredField serviceId
|
|
3805
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
|
|
3806
|
+
* @applicableIdentity APP
|
|
3807
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
|
|
3808
|
+
*/
|
|
3809
|
+
declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 2>>;
|
|
3810
|
+
interface ListAddOnGroupsByServiceIdOptions {
|
|
3811
|
+
/**
|
|
3812
|
+
* List of group ids to return. If not provided, all groups are returned.
|
|
3813
|
+
* @format GUID
|
|
3814
|
+
* @maxSize 3
|
|
3815
|
+
*/
|
|
3816
|
+
groupIds?: string[] | null;
|
|
3817
|
+
}
|
|
3818
|
+
/**
|
|
3819
|
+
* Sets the AddOns for a specific group.
|
|
3820
|
+
* The order of the AddOns in the list will be used to determine their display order.
|
|
3821
|
+
* @param serviceId - The service ID to set AddOns for.
|
|
3822
|
+
* @public
|
|
3823
|
+
* @documentationMaturity preview
|
|
3824
|
+
* @requiredField options
|
|
3825
|
+
* @requiredField options.addOnIds
|
|
3826
|
+
* @requiredField options.groupId
|
|
3827
|
+
* @requiredField serviceId
|
|
3828
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
|
|
3829
|
+
* @applicableIdentity APP
|
|
3830
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
|
|
3831
|
+
*/
|
|
3832
|
+
declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 2>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
3833
|
+
__applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
|
|
3834
|
+
}>;
|
|
3835
|
+
interface SetAddOnsForGroupOptions {
|
|
3836
|
+
/**
|
|
3837
|
+
* The group ID to set AddOns for.
|
|
3838
|
+
* @format GUID
|
|
3839
|
+
*/
|
|
3840
|
+
groupId: string | null;
|
|
3841
|
+
/**
|
|
3842
|
+
* The IDs of AddOns to set.
|
|
3843
|
+
* @format GUID
|
|
3844
|
+
* @minSize 1
|
|
3845
|
+
* @maxSize 7
|
|
3846
|
+
*/
|
|
3847
|
+
addOnIds: string[] | null;
|
|
3848
|
+
}
|
|
3656
3849
|
/**
|
|
3657
3850
|
* Creates a service.
|
|
3658
3851
|
*
|
|
@@ -4788,125 +4981,5 @@ interface ValidateSlugOptions {
|
|
|
4788
4981
|
* @fqn wix.bookings.services.v2.ServicesService.CloneService
|
|
4789
4982
|
*/
|
|
4790
4983
|
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` | `errors`, 7>>;
|
|
4791
|
-
/**
|
|
4792
|
-
* Create a new AddOns group.
|
|
4793
|
-
* An AddOns group defines a collection of AddOns that can be linked to a Service,
|
|
4794
|
-
* with constraints such as minimum and maximum selections.
|
|
4795
|
-
* @param addOnGroup - AddOnGroup to create.
|
|
4796
|
-
* @public
|
|
4797
|
-
* @documentationMaturity preview
|
|
4798
|
-
* @requiredField addOnGroup
|
|
4799
|
-
* @requiredField addOnGroup.name
|
|
4800
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
4801
|
-
* @applicableIdentity APP
|
|
4802
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
|
|
4803
|
-
*/
|
|
4804
|
-
declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
|
|
4805
|
-
interface CreateAddOnGroupOptions {
|
|
4806
|
-
/**
|
|
4807
|
-
* ID of the service to create the AddOnGroup for.
|
|
4808
|
-
* @format GUID
|
|
4809
|
-
*/
|
|
4810
|
-
serviceId?: string | null;
|
|
4811
|
-
}
|
|
4812
|
-
/**
|
|
4813
|
-
* Delete an existing AddOns group.
|
|
4814
|
-
* This will remove the group and unlink all associated AddOns.
|
|
4815
|
-
* @param addOnGroupId - ID of the AddOnGroup to delete.
|
|
4816
|
-
* @public
|
|
4817
|
-
* @documentationMaturity preview
|
|
4818
|
-
* @requiredField addOnGroupId
|
|
4819
|
-
* @requiredField options
|
|
4820
|
-
* @requiredField options.serviceId
|
|
4821
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
4822
|
-
* @applicableIdentity APP
|
|
4823
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
|
|
4824
|
-
*/
|
|
4825
|
-
declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
|
|
4826
|
-
__applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
|
|
4827
|
-
}>;
|
|
4828
|
-
interface DeleteAddOnGroupOptions {
|
|
4829
|
-
/**
|
|
4830
|
-
* ID of the service from which to delete the AddOnGroup.
|
|
4831
|
-
* @format GUID
|
|
4832
|
-
*/
|
|
4833
|
-
serviceId: string | null;
|
|
4834
|
-
}
|
|
4835
|
-
/**
|
|
4836
|
-
* Update an existing AddOns group.
|
|
4837
|
-
* This allows modifying group settings such as its name, prompt, constraints, or associated AddOns.
|
|
4838
|
-
* @param addOnGroup - AddOnGroup to update.
|
|
4839
|
-
* @public
|
|
4840
|
-
* @documentationMaturity preview
|
|
4841
|
-
* @requiredField addOnGroup
|
|
4842
|
-
* @requiredField addOnGroup._id
|
|
4843
|
-
* @requiredField options
|
|
4844
|
-
* @requiredField options.serviceId
|
|
4845
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
|
|
4846
|
-
* @applicableIdentity APP
|
|
4847
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
|
|
4848
|
-
*/
|
|
4849
|
-
declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
4850
|
-
__applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
|
|
4851
|
-
}>;
|
|
4852
|
-
interface UpdateAddOnGroupOptions {
|
|
4853
|
-
/**
|
|
4854
|
-
* ID of the service that contains the AddOnGroup.
|
|
4855
|
-
* @format GUID
|
|
4856
|
-
*/
|
|
4857
|
-
serviceId: string | null;
|
|
4858
|
-
}
|
|
4859
|
-
/**
|
|
4860
|
-
* Retrieves a list of AddOnGroups including enriched AddOn details in the correct order.
|
|
4861
|
-
* If the group_id is specified, only the AddOns for the specified group will be returned,
|
|
4862
|
-
* otherwise all groups will be returned.
|
|
4863
|
-
* @param serviceId - ID of the service to retrieve AddOnGroups for.
|
|
4864
|
-
* @public
|
|
4865
|
-
* @documentationMaturity preview
|
|
4866
|
-
* @requiredField serviceId
|
|
4867
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
|
|
4868
|
-
* @applicableIdentity APP
|
|
4869
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
|
|
4870
|
-
*/
|
|
4871
|
-
declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 2>>;
|
|
4872
|
-
interface ListAddOnGroupsByServiceIdOptions {
|
|
4873
|
-
/**
|
|
4874
|
-
* List of group ids to return. If not provided, all groups are returned.
|
|
4875
|
-
* @format GUID
|
|
4876
|
-
* @maxSize 3
|
|
4877
|
-
*/
|
|
4878
|
-
groupIds?: string[] | null;
|
|
4879
|
-
}
|
|
4880
|
-
/**
|
|
4881
|
-
* Sets the AddOns for a specific group.
|
|
4882
|
-
* The order of the AddOns in the list will be used to determine their display order.
|
|
4883
|
-
* @param serviceId - The service ID to set AddOns for.
|
|
4884
|
-
* @public
|
|
4885
|
-
* @documentationMaturity preview
|
|
4886
|
-
* @requiredField options
|
|
4887
|
-
* @requiredField options.addOnIds
|
|
4888
|
-
* @requiredField options.groupId
|
|
4889
|
-
* @requiredField serviceId
|
|
4890
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
|
|
4891
|
-
* @applicableIdentity APP
|
|
4892
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
|
|
4893
|
-
*/
|
|
4894
|
-
declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 2>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
4895
|
-
__applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
|
|
4896
|
-
}>;
|
|
4897
|
-
interface SetAddOnsForGroupOptions {
|
|
4898
|
-
/**
|
|
4899
|
-
* The group ID to set AddOns for.
|
|
4900
|
-
* @format GUID
|
|
4901
|
-
*/
|
|
4902
|
-
groupId: string | null;
|
|
4903
|
-
/**
|
|
4904
|
-
* The IDs of AddOns to set.
|
|
4905
|
-
* @format GUID
|
|
4906
|
-
* @minSize 1
|
|
4907
|
-
* @maxSize 7
|
|
4908
|
-
*/
|
|
4909
|
-
addOnIds: string[] | null;
|
|
4910
|
-
}
|
|
4911
4984
|
|
|
4912
|
-
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 ParticipantsPolicy 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 V2Category as aA, type Form as aB, type FormSettings as aC, type Payment as aD, type PaymentRateOneOf as aE, type FixedPayment as aF, type Money as aG, type CustomPayment as aH, type VariedPayment as aI, type PaymentOptions as aJ, type OnlineBooking as aK, type Conferencing as aL, type LocationOptionsOneOf as aM, type CommonAddress as aN, type CommonAddressStreetOneOf as aO, type StreetAddress as aP, type AddressLocation as aQ, type BusinessLocationOptions as aR, type CustomLocationOptions as aS, type BookingPolicy as aT, type PolicyDescription as aU, type LimitEarlyBookingPolicy as aV, type LimitLateBookingPolicy as aW, type BookAfterStartPolicy as aX, type CancellationPolicy as aY, type ReschedulePolicy as aZ, type WaitlistPolicy as a_, WebhookIdentityType as aa, V2RequestedFields as ab, SortOrder as ac, SortType as ad, SortDirection as ae, MissingValues as af, ScalarType as ag, NestedAggregationType as ah, Interval as ai, AggregationType as aj, Mode as ak, RequestedFields as al, Action as am, InvalidSlugError as an, CloneErrors as ao, Status as ap, CategoryNotificationEvent as aq, BenefitType as ar, Event as as, CrudType as at, PlacementType as au, DayOfWeek as av, ResolutionMethod as aw, type Media as ax, type MediaItem as ay, type MediaItemItemOneOf as az, type UpdateServiceValidationErrors as b, type DeleteServiceRequest as b$, type ResourcesPolicy as b0, type CancellationFeePolicy as b1, type CancellationWindow as b2, type CancellationWindowFeeOneOf as b3, type SaveCreditCardPolicy as b4, type Schedule as b5, type AvailabilityConstraints as b6, type Duration as b7, type StaffMember as b8, type StaffMediaItem as b9, type EntityUpdatedEvent as bA, type EntityDeletedEvent as bB, type ActionEvent as bC, type MessageEnvelope as bD, type IdentificationData as bE, type IdentificationDataIdOneOf as bF, type CreateServiceRequest as bG, type CreateServiceResponse as bH, type ValidateServiceRequest as bI, type ValidateServiceResponse as bJ, type FieldViolation as bK, type BulkCreateServicesRequest as bL, type BulkServiceResult as bM, type ItemMetadata as bN, type ApplicationError as bO, type BulkActionMetadata as bP, type GetServiceRequest as bQ, type GetServiceResponse as bR, type GetServiceAvailabilityConstraintsRequest as bS, type GetServiceAvailabilityConstraintsResponse as bT, type ServiceAvailabilityConstraints as bU, type SplitInterval as bV, type UpdateServiceRequest as bW, type UpdateServiceResponse as bX, type BulkUpdateServicesRequest as bY, type MaskedService as bZ, type BulkUpdateServicesByFilterRequest as b_, type StaffMediaItemItemOneOf as ba, type StaffMemberDetails as bb, type ResourceGroup as bc, type ResourceIds as bd, type ServiceResource as be, type ServiceResourceSelectionOneOf as bf, type ResourceType as bg, type Slug as bh, type URLs as bi, type ExtendedFields as bj, type SeoSchema as bk, type Keyword as bl, type Tag as bm, type Settings as bn, type AddOnDetails as bo, type ReindexMessage as bp, type ReindexMessageActionOneOf as bq, type Upsert as br, type Delete as bs, type Schema as bt, type SetCustomSlugEvent as bu, type ServicesUrlsChanged as bv, type DomainEvent as bw, type DomainEventBodyOneOf as bx, type EntityCreatedEvent as by, type RestoreInfo as bz, type BulkUpdateServicesOptions as c, type BusinessLocations as c$, type ParticipantNotification as c0, type DeleteServiceResponse as c1, type BulkDeleteServicesRequest as c2, type BulkDeleteServicesByFilterRequest as c3, type QueryServicesRequest as c4, type QueryV2 as c5, type QueryV2PagingMethodOneOf as c6, type Sorting as c7, type Paging as c8, type CursorPaging as c9, type NestedAggregationResultsResultOneOf as cA, type ValueResults as cB, type RangeResults as cC, type AggregationResultsScalarResult as cD, type NestedValueAggregationResult as cE, type ValueResult as cF, type RangeResult as cG, type ScalarResult as cH, type NestedResultValue as cI, type NestedResultValueResultOneOf as cJ, type Results as cK, type DateHistogramResult as cL, type GroupByValueResults as cM, type DateHistogramResults as cN, type NestedResults as cO, type AggregationResults as cP, type AggregationResultsResultOneOf as cQ, type QueryPoliciesRequest as cR, type CursorQueryPagingMethodOneOf as cS, type BookingPolicyWithServices as cT, type QueryBookingFormsRequest as cU, type BookingForm as cV, type FormDetails as cW, type ConnectedService as cX, type CountServicesRequest as cY, type QueryLocationsRequest as cZ, type QueryLocationsFilter as c_, type QueryServicesResponse as ca, type PagingMetadataV2 as cb, type Cursors as cc, type SearchServicesRequest as cd, type CursorSearch as ce, type CursorSearchPagingMethodOneOf as cf, type Aggregation as cg, type AggregationKindOneOf as ch, type RangeBucket as ci, type IncludeMissingValuesOptions as cj, type ValueAggregation as ck, type ValueAggregationOptionsOneOf as cl, type RangeAggregation as cm, type ScalarAggregation as cn, type DateHistogramAggregation as co, type NestedAggregationItem as cp, type NestedAggregationItemKindOneOf as cq, type NestedAggregation as cr, type GroupByAggregation as cs, type GroupByAggregationKindOneOf as ct, type SearchDetails as cu, type CursorPagingMetadata as cv, type AggregationData as cw, type ValueAggregationResult as cx, type RangeAggregationResult as cy, type NestedAggregationResults as cz, type BulkUpdateServicesResponse as d, type ServiceTypeWithLiterals as d$, type CustomLocations as d0, type CustomerLocations as d1, type QueryCategoriesRequest as d2, type QueryCategoriesFilter as d3, type QueryServicesMultiLanguageRequest as d4, type QueryServicesMultiLanguageResponse as d5, type SetServiceLocationsRequest as d6, type RemovedLocationSessionsAction as d7, type RemovedLocationSessionsActionActionOptionsOneOf as d8, type MoveToNewLocationsOptions as d9, type AddressHint as dA, type GeoCoordinates as dB, type BusinessSchedule as dC, type TimePeriod as dD, type SpecialHourPeriod as dE, type Multilingual as dF, type SupportedLanguage as dG, type ConsentPolicy as dH, type Translation as dI, type ChangeContext as dJ, type ChangeContextPayloadOneOf as dK, type PropertiesChange as dL, type SiteCreated as dM, type SiteCloned as dN, type CreateAddOnGroupRequest as dO, type DeleteAddOnGroupRequest as dP, type DeleteAddOnGroupResponse as dQ, type UpdateAddOnGroupRequest as dR, type ListAddOnGroupsByServiceIdRequest as dS, type AddOn as dT, type AddOnAddOnInfoOneOf as dU, type AddOnGroupDetail as dV, type SetAddOnsForGroupRequest as dW, type BaseEventMetadata as dX, type EventMetadata as dY, type ServicesQueryResult as dZ, type ServiceSearchSpec as d_, type EnablePricingPlansForServiceRequest as da, type InvalidPricingPlan as db, type DisablePricingPlansForServiceRequest as dc, type SetCustomSlugRequest as dd, type ValidateSlugRequest as de, type CloneServiceRequest as df, type CategoryNotification as dg, type Category as dh, type Empty as di, type BenefitNotification as dj, type Benefit as dk, type EntryPass as dl, type Discount as dm, type DiscountDiscountOneOf as dn, type Behavior as dp, type BehaviorBehaviorOneOf as dq, type UserDomainInfoChangedEvent as dr, type HtmlSitePublished as ds, type Page as dt, type SitePropertiesNotification as du, type SitePropertiesEvent as dv, type Properties as dw, type Categories as dx, type Locale as dy, type Address as dz, type BulkUpdateServicesByFilterOptions as e, type RateTypeWithLiterals as e0, type AddOnPaymentOptionsWithLiterals as e1, type LocationTypeWithLiterals as e2, type WebhookIdentityTypeWithLiterals as e3, type V2RequestedFieldsWithLiterals as e4, type SortOrderWithLiterals as e5, type SortTypeWithLiterals as e6, type SortDirectionWithLiterals as e7, type MissingValuesWithLiterals as e8, type ScalarTypeWithLiterals as e9, deleteService as eA, bulkDeleteServices as eB, bulkDeleteServicesByFilter as eC, queryServices as eD, queryPolicies as eE, queryBookingForms as eF, countServices as eG, queryLocations as eH, queryCategories as eI, setServiceLocations as eJ, enablePricingPlansForService as eK, disablePricingPlansForService as eL, setCustomSlug as eM, validateSlug as eN, cloneService as eO, createAddOnGroup as eP, deleteAddOnGroup as eQ, updateAddOnGroup as eR, listAddOnGroupsByServiceId as eS, setAddOnsForGroup as eT, type NestedAggregationTypeWithLiterals as ea, type IntervalWithLiterals as eb, type AggregationTypeWithLiterals as ec, type ModeWithLiterals as ed, type RequestedFieldsWithLiterals as ee, type ActionWithLiterals as ef, type InvalidSlugErrorWithLiterals as eg, type CloneErrorsWithLiterals as eh, type StatusWithLiterals as ei, type CategoryNotificationEventWithLiterals as ej, type BenefitTypeWithLiterals as ek, type EventWithLiterals as el, type CrudTypeWithLiterals as em, type PlacementTypeWithLiterals as en, type DayOfWeekWithLiterals as eo, type ResolutionMethodWithLiterals as ep, type CommonSearchWithEntityContext as eq, onServiceCreated as er, onServiceDeleted as es, onServiceUpdated as et, createService as eu, bulkCreateServices as ev, getService as ew, updateService as ex, bulkUpdateServices as ey, bulkUpdateServicesByFilter as ez, type BulkUpdateServicesByFilterResponse as f, type BulkDeleteServicesOptions as g, type BulkDeleteServicesResponse as h, type BulkDeleteServicesByFilterOptions as i, type BulkDeleteServicesByFilterResponse as j, type ServicesQueryBuilder as k, type ServiceSearch as l, type SearchServicesResponse as m, type CursorQuery as n, type QueryBookingFormsOptions as o, type QueryBookingFormsResponse as p, type QueryBookingFormsApplicationErrors as q, type CountServicesOptions as r, type CountServicesResponse as s, type QueryLocationsOptions as t, type QueryLocationsResponse as u, type QueryCategoriesOptions as v, type QueryCategoriesResponse as w, type SetServiceLocationsOptions as x, type SetServiceLocationsResponse as y, type EnablePricingPlansForServiceApplicationErrors as z };
|
|
4985
|
+
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 ReschedulePolicy 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, type MediaItem as aA, type MediaItemItemOneOf as aB, type V2Category as aC, type Form as aD, type FormSettings as aE, type Payment as aF, type PaymentRateOneOf as aG, type FixedPayment as aH, type Money as aI, type CustomPayment as aJ, type VariedPayment as aK, type PaymentOptions as aL, type OnlineBooking as aM, type Conferencing as aN, type LocationOptionsOneOf as aO, type CommonAddress as aP, type CommonAddressStreetOneOf as aQ, type StreetAddress as aR, type AddressLocation as aS, type BusinessLocationOptions as aT, type CustomLocationOptions as aU, type BookingPolicy as aV, type PolicyDescription as aW, type LimitEarlyBookingPolicy as aX, type LimitLateBookingPolicy as aY, type BookAfterStartPolicy as aZ, type CancellationPolicy as a_, WebhookIdentityType as aa, RankingOrder as ab, SortingMethodType as ac, V2RequestedFields as ad, SortOrder as ae, SortType as af, SortDirection as ag, MissingValues as ah, ScalarType as ai, NestedAggregationType as aj, Interval as ak, AggregationType as al, Mode as am, RequestedFields as an, Action as ao, InvalidSlugError as ap, CloneErrors as aq, Status as ar, CategoryNotificationEvent as as, BenefitType as at, Event as au, CrudType as av, PlacementType as aw, DayOfWeek as ax, ResolutionMethod as ay, type Media as az, type DeleteAddOnGroupApplicationErrors as b, type BulkServiceResult as b$, type WaitlistPolicy as b0, type ParticipantsPolicy as b1, type ResourcesPolicy as b2, type CancellationFeePolicy as b3, type CancellationWindow as b4, type CancellationWindowFeeOneOf as b5, type SaveCreditCardPolicy as b6, type Schedule as b7, type AvailabilityConstraints as b8, type Duration as b9, type EntityCreatedEvent as bA, type RestoreInfo as bB, type EntityUpdatedEvent as bC, type EntityDeletedEvent as bD, type ActionEvent as bE, type MessageEnvelope as bF, type IdentificationData as bG, type IdentificationDataIdOneOf as bH, type StaffSortingPolicy as bI, type StaffSortingPolicyOptionsOneOf as bJ, type RankingOptions as bK, type CustomOptions as bL, type CreateAddOnGroupRequest as bM, type DeleteAddOnGroupRequest as bN, type DeleteAddOnGroupResponse as bO, type UpdateAddOnGroupRequest as bP, type ListAddOnGroupsByServiceIdRequest as bQ, type AddOn as bR, type AddOnAddOnInfoOneOf as bS, type AddOnGroupDetail as bT, type SetAddOnsForGroupRequest 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 StaffMember as ba, type StaffMediaItem as bb, type StaffMediaItemItemOneOf as bc, type StaffMemberDetails as bd, type ResourceGroup as be, type ResourceIds as bf, type ServiceResource as bg, type ServiceResourceSelectionOneOf as bh, type ResourceType as bi, type Slug as bj, type URLs as bk, type ExtendedFields as bl, type SeoSchema as bm, type Keyword as bn, type Tag as bo, type Settings as bp, type AddOnDetails as bq, type ReindexMessage as br, type ReindexMessageActionOneOf as bs, type Upsert as bt, type Delete as bu, type Schema as bv, type SetCustomSlugEvent as bw, type ServicesUrlsChanged as bx, type DomainEvent as by, type DomainEventBodyOneOf as bz, type UpdateAddOnGroupResponse as c, type GroupByValueResults 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 ValueAggregationOptionsOneOf as cA, type RangeAggregation as cB, type ScalarAggregation as cC, type DateHistogramAggregation as cD, type NestedAggregationItem as cE, type NestedAggregationItemKindOneOf as cF, type NestedAggregation as cG, type GroupByAggregation as cH, type GroupByAggregationKindOneOf as cI, type SearchDetails as cJ, type CursorPagingMetadata as cK, type AggregationData as cL, type ValueAggregationResult as cM, type RangeAggregationResult as cN, type NestedAggregationResults as cO, type NestedAggregationResultsResultOneOf as cP, type ValueResults as cQ, type RangeResults as cR, type AggregationResultsScalarResult as cS, type NestedValueAggregationResult as cT, type ValueResult as cU, type RangeResult as cV, type ScalarResult as cW, type NestedResultValue as cX, type NestedResultValueResultOneOf as cY, type Results as cZ, type DateHistogramResult 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 QueryV2 as ck, type QueryV2PagingMethodOneOf as cl, type Sorting as cm, type Paging as cn, type CursorPaging as co, type QueryServicesResponse as cp, type PagingMetadataV2 as cq, type Cursors as cr, type SearchServicesRequest as cs, type CursorSearch as ct, type CursorSearchPagingMethodOneOf as cu, type Aggregation as cv, type AggregationKindOneOf as cw, type RangeBucket as cx, type IncludeMissingValuesOptions as cy, type ValueAggregation as cz, type UpdateAddOnGroupApplicationErrors as d, type SiteCreated as d$, type DateHistogramResults as d0, type NestedResults as d1, type AggregationResults as d2, type AggregationResultsResultOneOf as d3, type QueryPoliciesRequest as d4, type CursorQueryPagingMethodOneOf as d5, type BookingPolicyWithServices as d6, type QueryBookingFormsRequest as d7, type BookingForm as d8, type FormDetails as d9, type Benefit as dA, type EntryPass as dB, type Discount as dC, type DiscountDiscountOneOf as dD, type Behavior as dE, type BehaviorBehaviorOneOf as dF, type UserDomainInfoChangedEvent as dG, type HtmlSitePublished as dH, type Page as dI, type SitePropertiesNotification as dJ, type SitePropertiesEvent as dK, type Properties as dL, type Categories as dM, type Locale as dN, type Address as dO, type AddressHint as dP, type GeoCoordinates as dQ, type BusinessSchedule as dR, type TimePeriod as dS, type SpecialHourPeriod as dT, type Multilingual as dU, type SupportedLanguage as dV, type ConsentPolicy as dW, type Translation as dX, type ChangeContext as dY, type ChangeContextPayloadOneOf as dZ, type PropertiesChange as d_, type ConnectedService as da, type CountServicesRequest as db, type QueryLocationsRequest as dc, type QueryLocationsFilter as dd, type BusinessLocations as de, type CustomLocations as df, type CustomerLocations as dg, type QueryCategoriesRequest as dh, type QueryCategoriesFilter as di, type QueryServicesMultiLanguageRequest as dj, type QueryServicesMultiLanguageResponse as dk, type SetServiceLocationsRequest as dl, type RemovedLocationSessionsAction as dm, type RemovedLocationSessionsActionActionOptionsOneOf as dn, type MoveToNewLocationsOptions as dp, type EnablePricingPlansForServiceRequest as dq, type InvalidPricingPlan as dr, type DisablePricingPlansForServiceRequest as ds, type SetCustomSlugRequest as dt, type ValidateSlugRequest as du, type CloneServiceRequest as dv, type CategoryNotification as dw, type Category as dx, type Empty as dy, type BenefitNotification as dz, type ListAddOnGroupsByServiceIdResponse as e, cloneService as e$, type SiteCloned as e0, type BaseEventMetadata as e1, type EventMetadata as e2, type ServicesQueryResult as e3, type ServiceSearchSpec as e4, type ServiceTypeWithLiterals as e5, type RateTypeWithLiterals as e6, type AddOnPaymentOptionsWithLiterals as e7, type LocationTypeWithLiterals as e8, type WebhookIdentityTypeWithLiterals as e9, onServiceDeleted as eA, onServiceUpdated as eB, createAddOnGroup as eC, deleteAddOnGroup as eD, updateAddOnGroup as eE, listAddOnGroupsByServiceId as eF, setAddOnsForGroup as eG, createService as eH, bulkCreateServices as eI, getService as eJ, updateService as eK, bulkUpdateServices as eL, bulkUpdateServicesByFilter as eM, deleteService as eN, bulkDeleteServices as eO, bulkDeleteServicesByFilter as eP, queryServices as eQ, queryPolicies as eR, queryBookingForms as eS, countServices as eT, queryLocations as eU, queryCategories as eV, setServiceLocations as eW, enablePricingPlansForService as eX, disablePricingPlansForService as eY, setCustomSlug as eZ, validateSlug as e_, type RankingOrderWithLiterals as ea, type SortingMethodTypeWithLiterals as eb, type V2RequestedFieldsWithLiterals as ec, type SortOrderWithLiterals as ed, type SortTypeWithLiterals as ee, type SortDirectionWithLiterals as ef, type MissingValuesWithLiterals as eg, type ScalarTypeWithLiterals as eh, type NestedAggregationTypeWithLiterals as ei, type IntervalWithLiterals as ej, type AggregationTypeWithLiterals as ek, type ModeWithLiterals as el, type RequestedFieldsWithLiterals as em, type ActionWithLiterals as en, type InvalidSlugErrorWithLiterals as eo, type CloneErrorsWithLiterals as ep, type StatusWithLiterals as eq, type CategoryNotificationEventWithLiterals as er, type BenefitTypeWithLiterals as es, type EventWithLiterals as et, type CrudTypeWithLiterals as eu, type PlacementTypeWithLiterals as ev, type DayOfWeekWithLiterals as ew, type ResolutionMethodWithLiterals as ex, type CommonSearchWithEntityContext as ey, onServiceCreated as ez, type SetAddOnsForGroupResponse as f, 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 };
|