@wix/auto_sdk_bookings_services 1.0.115 → 1.0.117
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-KorTqIDU.d.ts → bookings-services-v2-service-services.universal-D4XsOFkA.d.ts} +409 -382
- package/build/cjs/index.d.ts +68 -61
- package/build/cjs/index.js +316 -316
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/index.typings.d.ts +2 -2
- package/build/cjs/index.typings.js +245 -245
- package/build/cjs/index.typings.js.map +1 -1
- package/build/cjs/meta.d.ts +148 -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-KorTqIDU.d.mts → bookings-services-v2-service-services.universal-D4XsOFkA.d.mts} +409 -382
- package/build/es/index.d.mts +68 -61
- package/build/es/index.mjs +316 -316
- package/build/es/index.mjs.map +1 -1
- package/build/es/index.typings.d.mts +2 -2
- package/build/es/index.typings.mjs +245 -245
- package/build/es/index.typings.mjs.map +1 -1
- package/build/es/meta.d.mts +148 -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-KorTqIDU.d.ts → bookings-services-v2-service-services.universal-D4XsOFkA.d.ts} +409 -382
- package/build/internal/cjs/index.d.ts +68 -61
- package/build/internal/cjs/index.js +316 -316
- 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 +245 -245
- package/build/internal/cjs/index.typings.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +148 -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-KorTqIDU.d.mts → bookings-services-v2-service-services.universal-D4XsOFkA.d.mts} +409 -382
- package/build/internal/es/index.d.mts +68 -61
- package/build/internal/es/index.mjs +316 -316
- 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 +245 -245
- package/build/internal/es/index.typings.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +148 -138
- package/build/internal/es/meta.mjs +185 -185
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -8,6 +8,16 @@ interface Service {
|
|
|
8
8
|
* @readonly
|
|
9
9
|
*/
|
|
10
10
|
_id?: string | null;
|
|
11
|
+
/**
|
|
12
|
+
* ID of the app associated with the service. You can't update `appId`.
|
|
13
|
+
*
|
|
14
|
+
* Services belonging to [Wix Services](https://support.wix.com/en/article/about-wix-services) have `{"appId": "cc552162-24a4-45e0-9695-230c4931ef40"}` or any other app are not displayed in Wix Bookings.
|
|
15
|
+
*
|
|
16
|
+
* Default: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)
|
|
17
|
+
* @format GUID
|
|
18
|
+
* @immutable
|
|
19
|
+
*/
|
|
20
|
+
appId?: string | null;
|
|
11
21
|
/**
|
|
12
22
|
* Service type.
|
|
13
23
|
* Learn more about *service types*
|
|
@@ -1353,138 +1363,6 @@ declare enum WebhookIdentityType {
|
|
|
1353
1363
|
}
|
|
1354
1364
|
/** @enumType */
|
|
1355
1365
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1356
|
-
interface CreateAddOnGroupRequest {
|
|
1357
|
-
/** AddOnGroup to create. */
|
|
1358
|
-
addOnGroup: AddOnGroup;
|
|
1359
|
-
/**
|
|
1360
|
-
* ID of the service to create the AddOnGroup for.
|
|
1361
|
-
* @format GUID
|
|
1362
|
-
*/
|
|
1363
|
-
serviceId?: string | null;
|
|
1364
|
-
}
|
|
1365
|
-
interface CreateAddOnGroupResponse {
|
|
1366
|
-
/** Created AddOnGroup. */
|
|
1367
|
-
addOnGroup?: AddOnGroup;
|
|
1368
|
-
}
|
|
1369
|
-
interface DeleteAddOnGroupRequest {
|
|
1370
|
-
/**
|
|
1371
|
-
* ID of the AddOnGroup to delete.
|
|
1372
|
-
* @format GUID
|
|
1373
|
-
*/
|
|
1374
|
-
addOnGroupId: string | null;
|
|
1375
|
-
/**
|
|
1376
|
-
* ID of the service from which to delete the AddOnGroup.
|
|
1377
|
-
* @format GUID
|
|
1378
|
-
*/
|
|
1379
|
-
serviceId: string | null;
|
|
1380
|
-
}
|
|
1381
|
-
interface DeleteAddOnGroupResponse {
|
|
1382
|
-
}
|
|
1383
|
-
interface UpdateAddOnGroupRequest {
|
|
1384
|
-
/** AddOnGroup to update. */
|
|
1385
|
-
addOnGroup: AddOnGroup;
|
|
1386
|
-
/**
|
|
1387
|
-
* ID of the service that contains the AddOnGroup.
|
|
1388
|
-
* @format GUID
|
|
1389
|
-
*/
|
|
1390
|
-
serviceId: string | null;
|
|
1391
|
-
}
|
|
1392
|
-
interface UpdateAddOnGroupResponse {
|
|
1393
|
-
/** Updated AddOnGroup */
|
|
1394
|
-
addOnGroup?: AddOnGroup;
|
|
1395
|
-
}
|
|
1396
|
-
interface ListAddOnGroupsByServiceIdRequest {
|
|
1397
|
-
/**
|
|
1398
|
-
* ID of the service to retrieve AddOnGroups for.
|
|
1399
|
-
* @format GUID
|
|
1400
|
-
*/
|
|
1401
|
-
serviceId: string | null;
|
|
1402
|
-
/**
|
|
1403
|
-
* List of group ids to return. If not provided, all groups are returned.
|
|
1404
|
-
* @format GUID
|
|
1405
|
-
* @maxSize 3
|
|
1406
|
-
*/
|
|
1407
|
-
groupIds?: string[] | null;
|
|
1408
|
-
}
|
|
1409
|
-
interface ListAddOnGroupsByServiceIdResponse {
|
|
1410
|
-
/**
|
|
1411
|
-
* List of group IDs and their linked AddOns.
|
|
1412
|
-
* @maxSize 3
|
|
1413
|
-
*/
|
|
1414
|
-
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
1415
|
-
}
|
|
1416
|
-
interface AddOn extends AddOnAddOnInfoOneOf {
|
|
1417
|
-
/** The AddOn description. */
|
|
1418
|
-
durationInMinutes?: number;
|
|
1419
|
-
/** The AddOn max quantity. */
|
|
1420
|
-
maxQuantity?: number;
|
|
1421
|
-
/**
|
|
1422
|
-
* The AddOn ID.
|
|
1423
|
-
* @format GUID
|
|
1424
|
-
*/
|
|
1425
|
-
addOnId?: string | null;
|
|
1426
|
-
/**
|
|
1427
|
-
* The AddOn name.
|
|
1428
|
-
* @maxLength 100
|
|
1429
|
-
*/
|
|
1430
|
-
name?: string | null;
|
|
1431
|
-
/** The AddOn price. */
|
|
1432
|
-
price?: Money;
|
|
1433
|
-
}
|
|
1434
|
-
/** @oneof */
|
|
1435
|
-
interface AddOnAddOnInfoOneOf {
|
|
1436
|
-
/** The AddOn description. */
|
|
1437
|
-
durationInMinutes?: number;
|
|
1438
|
-
/** The AddOn max quantity. */
|
|
1439
|
-
maxQuantity?: number;
|
|
1440
|
-
}
|
|
1441
|
-
interface AddOnGroupDetail {
|
|
1442
|
-
/**
|
|
1443
|
-
* The group ID.
|
|
1444
|
-
* @format GUID
|
|
1445
|
-
*/
|
|
1446
|
-
groupId?: string | null;
|
|
1447
|
-
/** The group max number of AddOns. */
|
|
1448
|
-
maxNumberOfAddOns?: number | null;
|
|
1449
|
-
/**
|
|
1450
|
-
* The group name.
|
|
1451
|
-
* @maxLength 100
|
|
1452
|
-
*/
|
|
1453
|
-
groupName?: string | null;
|
|
1454
|
-
/**
|
|
1455
|
-
* The AddOns information linked to the group.
|
|
1456
|
-
* @maxSize 7
|
|
1457
|
-
*/
|
|
1458
|
-
addOns?: AddOn[];
|
|
1459
|
-
/**
|
|
1460
|
-
* The group prompt.
|
|
1461
|
-
* @maxLength 200
|
|
1462
|
-
*/
|
|
1463
|
-
prompt?: string | null;
|
|
1464
|
-
}
|
|
1465
|
-
interface SetAddOnsForGroupRequest {
|
|
1466
|
-
/**
|
|
1467
|
-
* The service ID to set AddOns for.
|
|
1468
|
-
* @format GUID
|
|
1469
|
-
*/
|
|
1470
|
-
serviceId: string | null;
|
|
1471
|
-
/**
|
|
1472
|
-
* The group ID to set AddOns for.
|
|
1473
|
-
* @format GUID
|
|
1474
|
-
*/
|
|
1475
|
-
groupId: string | null;
|
|
1476
|
-
/**
|
|
1477
|
-
* The IDs of AddOns to set.
|
|
1478
|
-
* @format GUID
|
|
1479
|
-
* @minSize 1
|
|
1480
|
-
* @maxSize 7
|
|
1481
|
-
*/
|
|
1482
|
-
addOnIds: string[] | null;
|
|
1483
|
-
}
|
|
1484
|
-
interface SetAddOnsForGroupResponse {
|
|
1485
|
-
/** The updated AddOnGroup. */
|
|
1486
|
-
addOnGroup?: AddOnGroup;
|
|
1487
|
-
}
|
|
1488
1366
|
interface CreateServiceRequest {
|
|
1489
1367
|
/** Service to create. */
|
|
1490
1368
|
service: Service;
|
|
@@ -3393,124 +3271,238 @@ interface SiteCloned {
|
|
|
3393
3271
|
/** Origin site id. */
|
|
3394
3272
|
originMetaSiteId?: string;
|
|
3395
3273
|
}
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
|
|
3410
|
-
|
|
3411
|
-
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
|
-
|
|
3419
|
-
|
|
3420
|
-
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
}
|
|
3432
|
-
|
|
3433
|
-
|
|
3434
|
-
|
|
3435
|
-
}
|
|
3436
|
-
|
|
3437
|
-
|
|
3438
|
-
|
|
3439
|
-
|
|
3440
|
-
|
|
3441
|
-
|
|
3442
|
-
|
|
3443
|
-
|
|
3444
|
-
|
|
3445
|
-
|
|
3446
|
-
|
|
3447
|
-
|
|
3448
|
-
|
|
3449
|
-
|
|
3450
|
-
|
|
3451
|
-
|
|
3452
|
-
|
|
3453
|
-
|
|
3454
|
-
|
|
3455
|
-
}
|
|
3456
|
-
|
|
3457
|
-
|
|
3458
|
-
|
|
3459
|
-
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
|
-
|
|
3463
|
-
|
|
3464
|
-
|
|
3465
|
-
|
|
3466
|
-
|
|
3467
|
-
|
|
3468
|
-
|
|
3469
|
-
|
|
3470
|
-
|
|
3471
|
-
|
|
3472
|
-
|
|
3473
|
-
}
|
|
3474
|
-
|
|
3475
|
-
|
|
3476
|
-
|
|
3477
|
-
|
|
3478
|
-
|
|
3479
|
-
|
|
3480
|
-
|
|
3481
|
-
|
|
3482
|
-
|
|
3483
|
-
|
|
3484
|
-
|
|
3485
|
-
|
|
3486
|
-
|
|
3487
|
-
|
|
3488
|
-
|
|
3489
|
-
|
|
3490
|
-
|
|
3491
|
-
|
|
3492
|
-
|
|
3493
|
-
|
|
3494
|
-
|
|
3495
|
-
|
|
3496
|
-
|
|
3497
|
-
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
|
|
3501
|
-
|
|
3502
|
-
|
|
3503
|
-
|
|
3504
|
-
|
|
3505
|
-
|
|
3506
|
-
|
|
3507
|
-
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
|
-
|
|
3511
|
-
|
|
3512
|
-
|
|
3513
|
-
|
|
3274
|
+
interface CreateAddOnGroupRequest {
|
|
3275
|
+
/** AddOnGroup to create. */
|
|
3276
|
+
addOnGroup: AddOnGroup;
|
|
3277
|
+
/**
|
|
3278
|
+
* ID of the service to create the AddOnGroup for.
|
|
3279
|
+
* @format GUID
|
|
3280
|
+
*/
|
|
3281
|
+
serviceId?: string | null;
|
|
3282
|
+
}
|
|
3283
|
+
interface CreateAddOnGroupResponse {
|
|
3284
|
+
/** Created AddOnGroup. */
|
|
3285
|
+
addOnGroup?: AddOnGroup;
|
|
3286
|
+
}
|
|
3287
|
+
interface DeleteAddOnGroupRequest {
|
|
3288
|
+
/**
|
|
3289
|
+
* ID of the AddOnGroup to delete.
|
|
3290
|
+
* @format GUID
|
|
3291
|
+
*/
|
|
3292
|
+
addOnGroupId: string | null;
|
|
3293
|
+
/**
|
|
3294
|
+
* ID of the service from which to delete the AddOnGroup.
|
|
3295
|
+
* @format GUID
|
|
3296
|
+
*/
|
|
3297
|
+
serviceId: string | null;
|
|
3298
|
+
}
|
|
3299
|
+
interface DeleteAddOnGroupResponse {
|
|
3300
|
+
}
|
|
3301
|
+
interface UpdateAddOnGroupRequest {
|
|
3302
|
+
/** AddOnGroup to update. */
|
|
3303
|
+
addOnGroup: AddOnGroup;
|
|
3304
|
+
/**
|
|
3305
|
+
* ID of the service that contains the AddOnGroup.
|
|
3306
|
+
* @format GUID
|
|
3307
|
+
*/
|
|
3308
|
+
serviceId: string | null;
|
|
3309
|
+
}
|
|
3310
|
+
interface UpdateAddOnGroupResponse {
|
|
3311
|
+
/** Updated AddOnGroup */
|
|
3312
|
+
addOnGroup?: AddOnGroup;
|
|
3313
|
+
}
|
|
3314
|
+
interface ListAddOnGroupsByServiceIdRequest {
|
|
3315
|
+
/**
|
|
3316
|
+
* ID of the service to retrieve AddOnGroups for.
|
|
3317
|
+
* @format GUID
|
|
3318
|
+
*/
|
|
3319
|
+
serviceId: string | null;
|
|
3320
|
+
/**
|
|
3321
|
+
* List of group ids to return. If not provided, all groups are returned.
|
|
3322
|
+
* @format GUID
|
|
3323
|
+
* @maxSize 3
|
|
3324
|
+
*/
|
|
3325
|
+
groupIds?: string[] | null;
|
|
3326
|
+
}
|
|
3327
|
+
interface ListAddOnGroupsByServiceIdResponse {
|
|
3328
|
+
/**
|
|
3329
|
+
* List of group IDs and their linked AddOns.
|
|
3330
|
+
* @maxSize 3
|
|
3331
|
+
*/
|
|
3332
|
+
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
3333
|
+
}
|
|
3334
|
+
interface AddOn extends AddOnAddOnInfoOneOf {
|
|
3335
|
+
/** The AddOn description. */
|
|
3336
|
+
durationInMinutes?: number;
|
|
3337
|
+
/** The AddOn max quantity. */
|
|
3338
|
+
maxQuantity?: number;
|
|
3339
|
+
/**
|
|
3340
|
+
* The AddOn ID.
|
|
3341
|
+
* @format GUID
|
|
3342
|
+
*/
|
|
3343
|
+
addOnId?: string | null;
|
|
3344
|
+
/**
|
|
3345
|
+
* The AddOn name.
|
|
3346
|
+
* @maxLength 100
|
|
3347
|
+
*/
|
|
3348
|
+
name?: string | null;
|
|
3349
|
+
/** The AddOn price. */
|
|
3350
|
+
price?: Money;
|
|
3351
|
+
}
|
|
3352
|
+
/** @oneof */
|
|
3353
|
+
interface AddOnAddOnInfoOneOf {
|
|
3354
|
+
/** The AddOn description. */
|
|
3355
|
+
durationInMinutes?: number;
|
|
3356
|
+
/** The AddOn max quantity. */
|
|
3357
|
+
maxQuantity?: number;
|
|
3358
|
+
}
|
|
3359
|
+
interface AddOnGroupDetail {
|
|
3360
|
+
/**
|
|
3361
|
+
* The group ID.
|
|
3362
|
+
* @format GUID
|
|
3363
|
+
*/
|
|
3364
|
+
groupId?: string | null;
|
|
3365
|
+
/** The group max number of AddOns. */
|
|
3366
|
+
maxNumberOfAddOns?: number | null;
|
|
3367
|
+
/**
|
|
3368
|
+
* The group name.
|
|
3369
|
+
* @maxLength 100
|
|
3370
|
+
*/
|
|
3371
|
+
groupName?: string | null;
|
|
3372
|
+
/**
|
|
3373
|
+
* The AddOns information linked to the group.
|
|
3374
|
+
* @maxSize 7
|
|
3375
|
+
*/
|
|
3376
|
+
addOns?: AddOn[];
|
|
3377
|
+
/**
|
|
3378
|
+
* The group prompt.
|
|
3379
|
+
* @maxLength 200
|
|
3380
|
+
*/
|
|
3381
|
+
prompt?: string | null;
|
|
3382
|
+
}
|
|
3383
|
+
interface SetAddOnsForGroupRequest {
|
|
3384
|
+
/**
|
|
3385
|
+
* The service ID to set AddOns for.
|
|
3386
|
+
* @format GUID
|
|
3387
|
+
*/
|
|
3388
|
+
serviceId: string | null;
|
|
3389
|
+
/**
|
|
3390
|
+
* The group ID to set AddOns for.
|
|
3391
|
+
* @format GUID
|
|
3392
|
+
*/
|
|
3393
|
+
groupId: string | null;
|
|
3394
|
+
/**
|
|
3395
|
+
* The IDs of AddOns to set.
|
|
3396
|
+
* @format GUID
|
|
3397
|
+
* @minSize 1
|
|
3398
|
+
* @maxSize 7
|
|
3399
|
+
*/
|
|
3400
|
+
addOnIds: string[] | null;
|
|
3401
|
+
}
|
|
3402
|
+
interface SetAddOnsForGroupResponse {
|
|
3403
|
+
/** The updated AddOnGroup. */
|
|
3404
|
+
addOnGroup?: AddOnGroup;
|
|
3405
|
+
}
|
|
3406
|
+
/** @docsIgnore */
|
|
3407
|
+
type CreateServiceValidationErrors = {
|
|
3408
|
+
ruleName?: 'INVALID_FORM';
|
|
3409
|
+
} | {
|
|
3410
|
+
ruleName?: 'INVALID_CATEGORY';
|
|
3411
|
+
} | {
|
|
3412
|
+
ruleName?: 'INVALID_BOOKING_POLICY';
|
|
3413
|
+
} | {
|
|
3414
|
+
ruleName?: 'INVALID_SERVICE_TYPE';
|
|
3415
|
+
} | {
|
|
3416
|
+
ruleName?: 'INVALID_SERVICE_NAME';
|
|
3417
|
+
} | {
|
|
3418
|
+
ruleName?: 'INVALID_ONLINE_BOOKING';
|
|
3419
|
+
} | {
|
|
3420
|
+
ruleName?: 'INVALID_STAFF_MEMBER_IDS';
|
|
3421
|
+
} | {
|
|
3422
|
+
ruleName?: 'PAYMENT_REQUIRED';
|
|
3423
|
+
} | {
|
|
3424
|
+
ruleName?: 'INVALID_PAYMENT_TYPE';
|
|
3425
|
+
} | {
|
|
3426
|
+
ruleName?: 'INVALID_RATE';
|
|
3427
|
+
} | {
|
|
3428
|
+
ruleName?: 'INVALID_PAYMENT_OPTIONS';
|
|
3429
|
+
} | {
|
|
3430
|
+
ruleName?: 'INVALID_BUSINESS_LOCATIONS';
|
|
3431
|
+
} | {
|
|
3432
|
+
ruleName?: 'INVALID_LOCATIONS';
|
|
3433
|
+
} | {
|
|
3434
|
+
ruleName?: 'INVALID_BUSINESS_LOCATION';
|
|
3435
|
+
} | {
|
|
3436
|
+
ruleName?: 'INVALID_CUSTOM_LOCATION';
|
|
3437
|
+
} | {
|
|
3438
|
+
ruleName?: 'INVALID_CUSTOMER_LOCATION';
|
|
3439
|
+
} | {
|
|
3440
|
+
ruleName?: 'INVALID_UNKNOWN_LOCATION';
|
|
3441
|
+
} | {
|
|
3442
|
+
ruleName?: 'INVALID_MANUAL_APPROVAL_WITH_PRICING_PLANS';
|
|
3443
|
+
} | {
|
|
3444
|
+
ruleName?: 'INVALID_DEFAULT_CAPACITY';
|
|
3445
|
+
} | {
|
|
3446
|
+
ruleName?: 'INVALID_APPOINTMENT_CAPACITY';
|
|
3447
|
+
} | {
|
|
3448
|
+
ruleName?: 'INVALID_SESSION_DURATION';
|
|
3449
|
+
};
|
|
3450
|
+
/** @docsIgnore */
|
|
3451
|
+
type UpdateServiceValidationErrors = {
|
|
3452
|
+
ruleName?: 'INVALID_FORM';
|
|
3453
|
+
} | {
|
|
3454
|
+
ruleName?: 'INVALID_CATEGORY';
|
|
3455
|
+
} | {
|
|
3456
|
+
ruleName?: 'INVALID_BOOKING_POLICY';
|
|
3457
|
+
} | {
|
|
3458
|
+
ruleName?: 'INVALID_SERVICE_TYPE';
|
|
3459
|
+
} | {
|
|
3460
|
+
ruleName?: 'INVALID_SERVICE_NAME';
|
|
3461
|
+
} | {
|
|
3462
|
+
ruleName?: 'INVALID_ONLINE_BOOKING';
|
|
3463
|
+
} | {
|
|
3464
|
+
ruleName?: 'INVALID_STAFF_MEMBER_IDS';
|
|
3465
|
+
} | {
|
|
3466
|
+
ruleName?: 'PAYMENT_REQUIRED';
|
|
3467
|
+
} | {
|
|
3468
|
+
ruleName?: 'INVALID_PAYMENT_TYPE';
|
|
3469
|
+
} | {
|
|
3470
|
+
ruleName?: 'INVALID_RATE';
|
|
3471
|
+
} | {
|
|
3472
|
+
ruleName?: 'INVALID_PAYMENT_OPTIONS';
|
|
3473
|
+
} | {
|
|
3474
|
+
ruleName?: 'INVALID_BUSINESS_LOCATIONS';
|
|
3475
|
+
} | {
|
|
3476
|
+
ruleName?: 'INVALID_LOCATIONS';
|
|
3477
|
+
} | {
|
|
3478
|
+
ruleName?: 'INVALID_BUSINESS_LOCATION';
|
|
3479
|
+
} | {
|
|
3480
|
+
ruleName?: 'INVALID_CUSTOM_LOCATION';
|
|
3481
|
+
} | {
|
|
3482
|
+
ruleName?: 'INVALID_CUSTOMER_LOCATION';
|
|
3483
|
+
} | {
|
|
3484
|
+
ruleName?: 'INVALID_UNKNOWN_LOCATION';
|
|
3485
|
+
} | {
|
|
3486
|
+
ruleName?: 'INVALID_MANUAL_APPROVAL_WITH_PRICING_PLANS';
|
|
3487
|
+
} | {
|
|
3488
|
+
ruleName?: 'INVALID_DEFAULT_CAPACITY';
|
|
3489
|
+
} | {
|
|
3490
|
+
ruleName?: 'INVALID_APPOINTMENT_CAPACITY';
|
|
3491
|
+
} | {
|
|
3492
|
+
ruleName?: 'INVALID_SESSION_DURATION';
|
|
3493
|
+
};
|
|
3494
|
+
/** @docsIgnore */
|
|
3495
|
+
type QueryBookingFormsApplicationErrors = {
|
|
3496
|
+
code?: 'DEFAULT_BOOKING_FORM_NOT_FOUND';
|
|
3497
|
+
description?: string;
|
|
3498
|
+
data?: Record<string, any>;
|
|
3499
|
+
};
|
|
3500
|
+
/** @docsIgnore */
|
|
3501
|
+
type EnablePricingPlansForServiceApplicationErrors = {
|
|
3502
|
+
code?: 'INVALID_PRICING_PLAN';
|
|
3503
|
+
description?: string;
|
|
3504
|
+
data?: InvalidPricingPlan;
|
|
3505
|
+
} | {
|
|
3514
3506
|
code?: 'SERVICE_DOES_NOT_SUPPORT_PRICING_PLANS';
|
|
3515
3507
|
description?: string;
|
|
3516
3508
|
data?: Record<string, any>;
|
|
@@ -3531,6 +3523,24 @@ type SetCustomSlugApplicationErrors = {
|
|
|
3531
3523
|
type SetCustomSlugValidationErrors = {
|
|
3532
3524
|
ruleName?: 'SLUG_CONTAINS_ILLEGAL_CHARACTERS';
|
|
3533
3525
|
};
|
|
3526
|
+
/** @docsIgnore */
|
|
3527
|
+
type DeleteAddOnGroupApplicationErrors = {
|
|
3528
|
+
code?: 'GROUP_NOT_ON_SERVICE';
|
|
3529
|
+
description?: string;
|
|
3530
|
+
data?: Record<string, any>;
|
|
3531
|
+
};
|
|
3532
|
+
/** @docsIgnore */
|
|
3533
|
+
type UpdateAddOnGroupApplicationErrors = {
|
|
3534
|
+
code?: 'GROUP_NOT_ON_SERVICE';
|
|
3535
|
+
description?: string;
|
|
3536
|
+
data?: Record<string, any>;
|
|
3537
|
+
};
|
|
3538
|
+
/** @docsIgnore */
|
|
3539
|
+
type SetAddOnsForGroupApplicationErrors = {
|
|
3540
|
+
code?: 'ADD_ON_GROUP_NOT_FOUND';
|
|
3541
|
+
description?: string;
|
|
3542
|
+
data?: Record<string, any>;
|
|
3543
|
+
};
|
|
3534
3544
|
interface BaseEventMetadata {
|
|
3535
3545
|
/**
|
|
3536
3546
|
* App instance ID.
|
|
@@ -3653,131 +3663,11 @@ interface ServiceUpdatedEnvelope {
|
|
|
3653
3663
|
* @slug updated
|
|
3654
3664
|
*/
|
|
3655
3665
|
declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => void | Promise<void>): void;
|
|
3656
|
-
/**
|
|
3657
|
-
* Create a new AddOns group.
|
|
3658
|
-
* An AddOns group defines a collection of AddOns that can be linked to a Service,
|
|
3659
|
-
* with constraints such as minimum and maximum selections.
|
|
3660
|
-
* @param addOnGroup - AddOnGroup to create.
|
|
3661
|
-
* @public
|
|
3662
|
-
* @documentationMaturity preview
|
|
3663
|
-
* @requiredField addOnGroup
|
|
3664
|
-
* @requiredField addOnGroup.name
|
|
3665
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
3666
|
-
* @applicableIdentity APP
|
|
3667
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
|
|
3668
|
-
*/
|
|
3669
|
-
declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
|
|
3670
|
-
interface CreateAddOnGroupOptions {
|
|
3671
|
-
/**
|
|
3672
|
-
* ID of the service to create the AddOnGroup for.
|
|
3673
|
-
* @format GUID
|
|
3674
|
-
*/
|
|
3675
|
-
serviceId?: string | null;
|
|
3676
|
-
}
|
|
3677
|
-
/**
|
|
3678
|
-
* Delete an existing AddOns group.
|
|
3679
|
-
* This will remove the group and unlink all associated AddOns.
|
|
3680
|
-
* @param addOnGroupId - ID of the AddOnGroup to delete.
|
|
3681
|
-
* @public
|
|
3682
|
-
* @documentationMaturity preview
|
|
3683
|
-
* @requiredField addOnGroupId
|
|
3684
|
-
* @requiredField options
|
|
3685
|
-
* @requiredField options.serviceId
|
|
3686
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
3687
|
-
* @applicableIdentity APP
|
|
3688
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
|
|
3689
|
-
*/
|
|
3690
|
-
declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
|
|
3691
|
-
__applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
|
|
3692
|
-
}>;
|
|
3693
|
-
interface DeleteAddOnGroupOptions {
|
|
3694
|
-
/**
|
|
3695
|
-
* ID of the service from which to delete the AddOnGroup.
|
|
3696
|
-
* @format GUID
|
|
3697
|
-
*/
|
|
3698
|
-
serviceId: string | null;
|
|
3699
|
-
}
|
|
3700
|
-
/**
|
|
3701
|
-
* Update an existing AddOns group.
|
|
3702
|
-
* This allows modifying group settings such as its name, prompt, constraints, or associated AddOns.
|
|
3703
|
-
* @param addOnGroup - AddOnGroup to update.
|
|
3704
|
-
* @public
|
|
3705
|
-
* @documentationMaturity preview
|
|
3706
|
-
* @requiredField addOnGroup
|
|
3707
|
-
* @requiredField addOnGroup._id
|
|
3708
|
-
* @requiredField options
|
|
3709
|
-
* @requiredField options.serviceId
|
|
3710
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
|
|
3711
|
-
* @applicableIdentity APP
|
|
3712
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
|
|
3713
|
-
*/
|
|
3714
|
-
declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
3715
|
-
__applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
|
|
3716
|
-
}>;
|
|
3717
|
-
interface UpdateAddOnGroupOptions {
|
|
3718
|
-
/**
|
|
3719
|
-
* ID of the service that contains the AddOnGroup.
|
|
3720
|
-
* @format GUID
|
|
3721
|
-
*/
|
|
3722
|
-
serviceId: string | null;
|
|
3723
|
-
}
|
|
3724
|
-
/**
|
|
3725
|
-
* Retrieves a list of AddOnGroups including enriched AddOn details in the correct order.
|
|
3726
|
-
* If the group_id is specified, only the AddOns for the specified group will be returned,
|
|
3727
|
-
* otherwise all groups will be returned.
|
|
3728
|
-
* @param serviceId - ID of the service to retrieve AddOnGroups for.
|
|
3729
|
-
* @public
|
|
3730
|
-
* @documentationMaturity preview
|
|
3731
|
-
* @requiredField serviceId
|
|
3732
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
|
|
3733
|
-
* @applicableIdentity APP
|
|
3734
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
|
|
3735
|
-
*/
|
|
3736
|
-
declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 2>>;
|
|
3737
|
-
interface ListAddOnGroupsByServiceIdOptions {
|
|
3738
|
-
/**
|
|
3739
|
-
* List of group ids to return. If not provided, all groups are returned.
|
|
3740
|
-
* @format GUID
|
|
3741
|
-
* @maxSize 3
|
|
3742
|
-
*/
|
|
3743
|
-
groupIds?: string[] | null;
|
|
3744
|
-
}
|
|
3745
|
-
/**
|
|
3746
|
-
* Sets the AddOns for a specific group.
|
|
3747
|
-
* The order of the AddOns in the list will be used to determine their display order.
|
|
3748
|
-
* @param serviceId - The service ID to set AddOns for.
|
|
3749
|
-
* @public
|
|
3750
|
-
* @documentationMaturity preview
|
|
3751
|
-
* @requiredField options
|
|
3752
|
-
* @requiredField options.addOnIds
|
|
3753
|
-
* @requiredField options.groupId
|
|
3754
|
-
* @requiredField serviceId
|
|
3755
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
|
|
3756
|
-
* @applicableIdentity APP
|
|
3757
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
|
|
3758
|
-
*/
|
|
3759
|
-
declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 2>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
3760
|
-
__applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
|
|
3761
|
-
}>;
|
|
3762
|
-
interface SetAddOnsForGroupOptions {
|
|
3763
|
-
/**
|
|
3764
|
-
* The group ID to set AddOns for.
|
|
3765
|
-
* @format GUID
|
|
3766
|
-
*/
|
|
3767
|
-
groupId: string | null;
|
|
3768
|
-
/**
|
|
3769
|
-
* The IDs of AddOns to set.
|
|
3770
|
-
* @format GUID
|
|
3771
|
-
* @minSize 1
|
|
3772
|
-
* @maxSize 7
|
|
3773
|
-
*/
|
|
3774
|
-
addOnIds: string[] | null;
|
|
3775
|
-
}
|
|
3776
3666
|
/**
|
|
3777
3667
|
* Creates a service.
|
|
3778
3668
|
*
|
|
3779
3669
|
*
|
|
3780
|
-
* ### Required fields
|
|
3670
|
+
* ### Required fields for Bookings service
|
|
3781
3671
|
*
|
|
3782
3672
|
* When creating a service you must specify the following fields:
|
|
3783
3673
|
* - `type`
|
|
@@ -3817,6 +3707,13 @@ interface SetAddOnsForGroupOptions {
|
|
|
3817
3707
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/bookings/service-options-and-variants/introduction) | [REST](https://dev.wix.com/docs/rest/business-solutions/bookings/services/service-options-and-variants/introduction)).
|
|
3818
3708
|
* - It is mandatory to specify `schedule.availabilityConstraints.sessionDurations`,
|
|
3819
3709
|
* even though these values are ignored.
|
|
3710
|
+
*
|
|
3711
|
+
* ### App ID
|
|
3712
|
+
*
|
|
3713
|
+
* By default, services are associated with Wix Bookings `{"appId": "13d21c63-b5ec-5912-8397-c3a5ddb27a97}`. Only these services are displayed in Wix Bookings.
|
|
3714
|
+
*
|
|
3715
|
+
* You can specify a different app ID. For example, `{"appId": "cc552162-24a4-45e0-9695-230c4931ef40"}` for [Wix Services](https://support.wix.com/en/article/about-wix-services).
|
|
3716
|
+
* Note that you can't update a service's `appId`.
|
|
3820
3717
|
* @param service - Service to create.
|
|
3821
3718
|
* @public
|
|
3822
3719
|
* @requiredField service
|
|
@@ -3899,6 +3796,16 @@ interface UpdateService {
|
|
|
3899
3796
|
* @readonly
|
|
3900
3797
|
*/
|
|
3901
3798
|
_id?: string | null;
|
|
3799
|
+
/**
|
|
3800
|
+
* ID of the app associated with the service. You can't update `appId`.
|
|
3801
|
+
*
|
|
3802
|
+
* Services belonging to [Wix Services](https://support.wix.com/en/article/about-wix-services) have `{"appId": "cc552162-24a4-45e0-9695-230c4931ef40"}` or any other app are not displayed in Wix Bookings.
|
|
3803
|
+
*
|
|
3804
|
+
* Default: `13d21c63-b5ec-5912-8397-c3a5ddb27a97` (Wix Bookings app ID)
|
|
3805
|
+
* @format GUID
|
|
3806
|
+
* @immutable
|
|
3807
|
+
*/
|
|
3808
|
+
appId?: string | null;
|
|
3902
3809
|
/**
|
|
3903
3810
|
* Service type.
|
|
3904
3811
|
* Learn more about *service types*
|
|
@@ -4221,41 +4128,41 @@ interface ServicesQueryBuilder {
|
|
|
4221
4128
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4222
4129
|
* @param value - Value to compare against.
|
|
4223
4130
|
*/
|
|
4224
|
-
eq: (propertyName: '_id' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4131
|
+
eq: (propertyName: '_id' | 'appId' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4225
4132
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4226
4133
|
* @param value - Value to compare against.
|
|
4227
4134
|
*/
|
|
4228
|
-
ne: (propertyName: '_id' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4135
|
+
ne: (propertyName: '_id' | 'appId' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4229
4136
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4230
4137
|
* @param value - Value to compare against.
|
|
4231
4138
|
*/
|
|
4232
|
-
ge: (propertyName: '_id' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4139
|
+
ge: (propertyName: '_id' | 'appId' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4233
4140
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4234
4141
|
* @param value - Value to compare against.
|
|
4235
4142
|
*/
|
|
4236
|
-
gt: (propertyName: '_id' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4143
|
+
gt: (propertyName: '_id' | 'appId' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4237
4144
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4238
4145
|
* @param value - Value to compare against.
|
|
4239
4146
|
*/
|
|
4240
|
-
le: (propertyName: '_id' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4147
|
+
le: (propertyName: '_id' | 'appId' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4241
4148
|
/** @param propertyName - Property whose value is compared with `value`.
|
|
4242
4149
|
* @param value - Value to compare against.
|
|
4243
4150
|
*/
|
|
4244
|
-
lt: (propertyName: '_id' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4151
|
+
lt: (propertyName: '_id' | 'appId' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4245
4152
|
/** @param propertyName - Property whose value is compared with `string`.
|
|
4246
4153
|
* @param string - String to compare against. Case-insensitive.
|
|
4247
4154
|
*/
|
|
4248
|
-
startsWith: (propertyName: '_id' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'supportedSlugs.name' | 'mainSlug.name', value: string) => ServicesQueryBuilder;
|
|
4155
|
+
startsWith: (propertyName: '_id' | 'appId' | 'name' | 'description' | 'tagLine' | 'category.id' | 'category.name' | 'form.id' | 'locations.business.id' | 'supportedSlugs.name' | 'mainSlug.name', value: string) => ServicesQueryBuilder;
|
|
4249
4156
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
4250
4157
|
* @param values - List of values to compare against.
|
|
4251
4158
|
*/
|
|
4252
|
-
hasSome: (propertyName: '_id' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any[]) => ServicesQueryBuilder;
|
|
4159
|
+
hasSome: (propertyName: '_id' | 'appId' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any[]) => ServicesQueryBuilder;
|
|
4253
4160
|
/** @param propertyName - Property whose value is compared with `values`.
|
|
4254
4161
|
* @param values - List of values to compare against.
|
|
4255
4162
|
*/
|
|
4256
4163
|
hasAll: (propertyName: 'staffMemberIds', value: any[]) => ServicesQueryBuilder;
|
|
4257
|
-
in: (propertyName: '_id' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4258
|
-
exists: (propertyName: '_id' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: boolean) => ServicesQueryBuilder;
|
|
4164
|
+
in: (propertyName: '_id' | 'appId' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: any) => ServicesQueryBuilder;
|
|
4165
|
+
exists: (propertyName: '_id' | 'appId' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name', value: boolean) => ServicesQueryBuilder;
|
|
4259
4166
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
4260
4167
|
ascending: (...propertyNames: Array<'_id' | 'appId' | 'type' | 'name' | 'description' | 'tagLine' | 'hidden' | 'category.id' | 'category.name' | 'form.id' | 'payment.options.online' | 'payment.options.inPerson' | 'payment.options.pricingPlan' | 'onlineBooking.enabled' | 'locations.business.id' | 'schedule.firstSessionStart' | 'schedule.lastSessionEnd' | 'staffMemberIds' | 'supportedSlugs.name' | 'mainSlug.name'>) => ServicesQueryBuilder;
|
|
4261
4168
|
/** @param propertyNames - Properties used in the sort. To sort by multiple properties, pass properties as additional arguments. */
|
|
@@ -4908,5 +4815,125 @@ interface ValidateSlugOptions {
|
|
|
4908
4815
|
* @fqn wix.bookings.services.v2.ServicesService.CloneService
|
|
4909
4816
|
*/
|
|
4910
4817
|
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>>;
|
|
4818
|
+
/**
|
|
4819
|
+
* Create a new AddOns group.
|
|
4820
|
+
* An AddOns group defines a collection of AddOns that can be linked to a Service,
|
|
4821
|
+
* with constraints such as minimum and maximum selections.
|
|
4822
|
+
* @param addOnGroup - AddOnGroup to create.
|
|
4823
|
+
* @public
|
|
4824
|
+
* @documentationMaturity preview
|
|
4825
|
+
* @requiredField addOnGroup
|
|
4826
|
+
* @requiredField addOnGroup.name
|
|
4827
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
4828
|
+
* @applicableIdentity APP
|
|
4829
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
|
|
4830
|
+
*/
|
|
4831
|
+
declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
|
|
4832
|
+
interface CreateAddOnGroupOptions {
|
|
4833
|
+
/**
|
|
4834
|
+
* ID of the service to create the AddOnGroup for.
|
|
4835
|
+
* @format GUID
|
|
4836
|
+
*/
|
|
4837
|
+
serviceId?: string | null;
|
|
4838
|
+
}
|
|
4839
|
+
/**
|
|
4840
|
+
* Delete an existing AddOns group.
|
|
4841
|
+
* This will remove the group and unlink all associated AddOns.
|
|
4842
|
+
* @param addOnGroupId - ID of the AddOnGroup to delete.
|
|
4843
|
+
* @public
|
|
4844
|
+
* @documentationMaturity preview
|
|
4845
|
+
* @requiredField addOnGroupId
|
|
4846
|
+
* @requiredField options
|
|
4847
|
+
* @requiredField options.serviceId
|
|
4848
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
4849
|
+
* @applicableIdentity APP
|
|
4850
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
|
|
4851
|
+
*/
|
|
4852
|
+
declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
|
|
4853
|
+
__applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
|
|
4854
|
+
}>;
|
|
4855
|
+
interface DeleteAddOnGroupOptions {
|
|
4856
|
+
/**
|
|
4857
|
+
* ID of the service from which to delete the AddOnGroup.
|
|
4858
|
+
* @format GUID
|
|
4859
|
+
*/
|
|
4860
|
+
serviceId: string | null;
|
|
4861
|
+
}
|
|
4862
|
+
/**
|
|
4863
|
+
* Update an existing AddOns group.
|
|
4864
|
+
* This allows modifying group settings such as its name, prompt, constraints, or associated AddOns.
|
|
4865
|
+
* @param addOnGroup - AddOnGroup to update.
|
|
4866
|
+
* @public
|
|
4867
|
+
* @documentationMaturity preview
|
|
4868
|
+
* @requiredField addOnGroup
|
|
4869
|
+
* @requiredField addOnGroup._id
|
|
4870
|
+
* @requiredField options
|
|
4871
|
+
* @requiredField options.serviceId
|
|
4872
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
|
|
4873
|
+
* @applicableIdentity APP
|
|
4874
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
|
|
4875
|
+
*/
|
|
4876
|
+
declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
4877
|
+
__applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
|
|
4878
|
+
}>;
|
|
4879
|
+
interface UpdateAddOnGroupOptions {
|
|
4880
|
+
/**
|
|
4881
|
+
* ID of the service that contains the AddOnGroup.
|
|
4882
|
+
* @format GUID
|
|
4883
|
+
*/
|
|
4884
|
+
serviceId: string | null;
|
|
4885
|
+
}
|
|
4886
|
+
/**
|
|
4887
|
+
* Retrieves a list of AddOnGroups including enriched AddOn details in the correct order.
|
|
4888
|
+
* If the group_id is specified, only the AddOns for the specified group will be returned,
|
|
4889
|
+
* otherwise all groups will be returned.
|
|
4890
|
+
* @param serviceId - ID of the service to retrieve AddOnGroups for.
|
|
4891
|
+
* @public
|
|
4892
|
+
* @documentationMaturity preview
|
|
4893
|
+
* @requiredField serviceId
|
|
4894
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
|
|
4895
|
+
* @applicableIdentity APP
|
|
4896
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
|
|
4897
|
+
*/
|
|
4898
|
+
declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 2>>;
|
|
4899
|
+
interface ListAddOnGroupsByServiceIdOptions {
|
|
4900
|
+
/**
|
|
4901
|
+
* List of group ids to return. If not provided, all groups are returned.
|
|
4902
|
+
* @format GUID
|
|
4903
|
+
* @maxSize 3
|
|
4904
|
+
*/
|
|
4905
|
+
groupIds?: string[] | null;
|
|
4906
|
+
}
|
|
4907
|
+
/**
|
|
4908
|
+
* Sets the AddOns for a specific group.
|
|
4909
|
+
* The order of the AddOns in the list will be used to determine their display order.
|
|
4910
|
+
* @param serviceId - The service ID to set AddOns for.
|
|
4911
|
+
* @public
|
|
4912
|
+
* @documentationMaturity preview
|
|
4913
|
+
* @requiredField options
|
|
4914
|
+
* @requiredField options.addOnIds
|
|
4915
|
+
* @requiredField options.groupId
|
|
4916
|
+
* @requiredField serviceId
|
|
4917
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
|
|
4918
|
+
* @applicableIdentity APP
|
|
4919
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
|
|
4920
|
+
*/
|
|
4921
|
+
declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 2>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
4922
|
+
__applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
|
|
4923
|
+
}>;
|
|
4924
|
+
interface SetAddOnsForGroupOptions {
|
|
4925
|
+
/**
|
|
4926
|
+
* The group ID to set AddOns for.
|
|
4927
|
+
* @format GUID
|
|
4928
|
+
*/
|
|
4929
|
+
groupId: string | null;
|
|
4930
|
+
/**
|
|
4931
|
+
* The IDs of AddOns to set.
|
|
4932
|
+
* @format GUID
|
|
4933
|
+
* @minSize 1
|
|
4934
|
+
* @maxSize 7
|
|
4935
|
+
*/
|
|
4936
|
+
addOnIds: string[] | null;
|
|
4937
|
+
}
|
|
4911
4938
|
|
|
4912
|
-
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 ParticipantsPolicy 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 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 DeleteAddOnGroupApplicationErrors as b, type GetServiceAvailabilityConstraintsRequest 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 CreateAddOnGroupRequest as bG, type DeleteAddOnGroupRequest as bH, type DeleteAddOnGroupResponse as bI, type UpdateAddOnGroupRequest as bJ, type ListAddOnGroupsByServiceIdRequest as bK, type AddOn as bL, type AddOnAddOnInfoOneOf as bM, type AddOnGroupDetail as bN, type SetAddOnsForGroupRequest 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 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 UpdateAddOnGroupResponse 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 UpdateAddOnGroupApplicationErrors as d, type ServiceTypeWithLiterals 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 BaseEventMetadata as dX, type EventMetadata as dY, type ServicesQueryResult as dZ, type ServiceSearchSpec 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 ListAddOnGroupsByServiceIdResponse 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, bulkCreateServices as eA, getService as eB, updateService as eC, bulkUpdateServices as eD, bulkUpdateServicesByFilter as eE, deleteService as eF, bulkDeleteServices as eG, bulkDeleteServicesByFilter as eH, queryServices as eI, queryPolicies as eJ, queryBookingForms as eK, countServices as eL, queryLocations as eM, queryCategories as eN, setServiceLocations as eO, enablePricingPlansForService as eP, disablePricingPlansForService as eQ, setCustomSlug as eR, validateSlug as eS, cloneService 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, createAddOnGroup as eu, deleteAddOnGroup as ev, updateAddOnGroup as ew, listAddOnGroupsByServiceId as ex, setAddOnsForGroup as ey, createService 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 };
|
|
4939
|
+
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 };
|