@wix/auto_sdk_bookings_services 1.0.87 → 1.0.89
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-DOOy_oaz.d.ts → bookings-services-v2-service-services.universal-DwEl6MKV.d.ts} +397 -397
- package/build/cjs/index.d.ts +80 -80
- 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 +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-DOOy_oaz.d.mts → bookings-services-v2-service-services.universal-DwEl6MKV.d.mts} +397 -397
- package/build/es/index.d.mts +80 -80
- 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 +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-DOOy_oaz.d.ts → bookings-services-v2-service-services.universal-DwEl6MKV.d.ts} +397 -397
- package/build/internal/cjs/index.d.ts +80 -80
- 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 +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-DOOy_oaz.d.mts → bookings-services-v2-service-services.universal-DwEl6MKV.d.mts} +397 -397
- package/build/internal/es/index.d.mts +80 -80
- 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 +138 -138
- package/build/internal/es/meta.mjs +185 -185
- package/build/internal/es/meta.mjs.map +1 -1
- package/package.json +2 -2
|
@@ -1338,138 +1338,6 @@ declare enum WebhookIdentityType {
|
|
|
1338
1338
|
}
|
|
1339
1339
|
/** @enumType */
|
|
1340
1340
|
type WebhookIdentityTypeWithLiterals = WebhookIdentityType | 'UNKNOWN' | 'ANONYMOUS_VISITOR' | 'MEMBER' | 'WIX_USER' | 'APP';
|
|
1341
|
-
interface CreateAddOnGroupRequest {
|
|
1342
|
-
/** AddOnGroup to create. */
|
|
1343
|
-
addOnGroup: AddOnGroup;
|
|
1344
|
-
/**
|
|
1345
|
-
* ID of the service to create the AddOnGroup for.
|
|
1346
|
-
* @format GUID
|
|
1347
|
-
*/
|
|
1348
|
-
serviceId?: string | null;
|
|
1349
|
-
}
|
|
1350
|
-
interface CreateAddOnGroupResponse {
|
|
1351
|
-
/** Created AddOnGroup. */
|
|
1352
|
-
addOnGroup?: AddOnGroup;
|
|
1353
|
-
}
|
|
1354
|
-
interface DeleteAddOnGroupRequest {
|
|
1355
|
-
/**
|
|
1356
|
-
* ID of the AddOnGroup to delete.
|
|
1357
|
-
* @format GUID
|
|
1358
|
-
*/
|
|
1359
|
-
addOnGroupId: string | null;
|
|
1360
|
-
/**
|
|
1361
|
-
* ID of the service from which to delete the AddOnGroup.
|
|
1362
|
-
* @format GUID
|
|
1363
|
-
*/
|
|
1364
|
-
serviceId: string | null;
|
|
1365
|
-
}
|
|
1366
|
-
interface DeleteAddOnGroupResponse {
|
|
1367
|
-
}
|
|
1368
|
-
interface UpdateAddOnGroupRequest {
|
|
1369
|
-
/** AddOnGroup to update. */
|
|
1370
|
-
addOnGroup: AddOnGroup;
|
|
1371
|
-
/**
|
|
1372
|
-
* ID of the service that contains the AddOnGroup.
|
|
1373
|
-
* @format GUID
|
|
1374
|
-
*/
|
|
1375
|
-
serviceId: string | null;
|
|
1376
|
-
}
|
|
1377
|
-
interface UpdateAddOnGroupResponse {
|
|
1378
|
-
/** Updated AddOnGroup */
|
|
1379
|
-
addOnGroup?: AddOnGroup;
|
|
1380
|
-
}
|
|
1381
|
-
interface ListAddOnGroupsByServiceIdRequest {
|
|
1382
|
-
/**
|
|
1383
|
-
* ID of the service to retrieve AddOnGroups for.
|
|
1384
|
-
* @format GUID
|
|
1385
|
-
*/
|
|
1386
|
-
serviceId: string | null;
|
|
1387
|
-
/**
|
|
1388
|
-
* List of group ids to return. If not provided, all groups are returned.
|
|
1389
|
-
* @format GUID
|
|
1390
|
-
* @maxSize 3
|
|
1391
|
-
*/
|
|
1392
|
-
groupIds?: string[] | null;
|
|
1393
|
-
}
|
|
1394
|
-
interface ListAddOnGroupsByServiceIdResponse {
|
|
1395
|
-
/**
|
|
1396
|
-
* List of group IDs and their linked AddOns.
|
|
1397
|
-
* @maxSize 3
|
|
1398
|
-
*/
|
|
1399
|
-
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
1400
|
-
}
|
|
1401
|
-
interface AddOn extends AddOnAddOnInfoOneOf {
|
|
1402
|
-
/** The AddOn description. */
|
|
1403
|
-
durationInMinutes?: number;
|
|
1404
|
-
/** The AddOn max quantity. */
|
|
1405
|
-
maxQuantity?: number;
|
|
1406
|
-
/**
|
|
1407
|
-
* The AddOn ID.
|
|
1408
|
-
* @format GUID
|
|
1409
|
-
*/
|
|
1410
|
-
addOnId?: string | null;
|
|
1411
|
-
/**
|
|
1412
|
-
* The AddOn name.
|
|
1413
|
-
* @maxLength 100
|
|
1414
|
-
*/
|
|
1415
|
-
name?: string | null;
|
|
1416
|
-
/** The AddOn price. */
|
|
1417
|
-
price?: Money;
|
|
1418
|
-
}
|
|
1419
|
-
/** @oneof */
|
|
1420
|
-
interface AddOnAddOnInfoOneOf {
|
|
1421
|
-
/** The AddOn description. */
|
|
1422
|
-
durationInMinutes?: number;
|
|
1423
|
-
/** The AddOn max quantity. */
|
|
1424
|
-
maxQuantity?: number;
|
|
1425
|
-
}
|
|
1426
|
-
interface AddOnGroupDetail {
|
|
1427
|
-
/**
|
|
1428
|
-
* The group ID.
|
|
1429
|
-
* @format GUID
|
|
1430
|
-
*/
|
|
1431
|
-
groupId?: string | null;
|
|
1432
|
-
/** The group max number of AddOns. */
|
|
1433
|
-
maxNumberOfAddOns?: number | null;
|
|
1434
|
-
/**
|
|
1435
|
-
* The group name.
|
|
1436
|
-
* @maxLength 100
|
|
1437
|
-
*/
|
|
1438
|
-
groupName?: string | null;
|
|
1439
|
-
/**
|
|
1440
|
-
* The AddOns information linked to the group.
|
|
1441
|
-
* @maxSize 7
|
|
1442
|
-
*/
|
|
1443
|
-
addOns?: AddOn[];
|
|
1444
|
-
/**
|
|
1445
|
-
* The group prompt.
|
|
1446
|
-
* @maxLength 200
|
|
1447
|
-
*/
|
|
1448
|
-
prompt?: string | null;
|
|
1449
|
-
}
|
|
1450
|
-
interface SetAddOnsForGroupRequest {
|
|
1451
|
-
/**
|
|
1452
|
-
* The service ID to set AddOns for.
|
|
1453
|
-
* @format GUID
|
|
1454
|
-
*/
|
|
1455
|
-
serviceId: string | null;
|
|
1456
|
-
/**
|
|
1457
|
-
* The group ID to set AddOns for.
|
|
1458
|
-
* @format GUID
|
|
1459
|
-
*/
|
|
1460
|
-
groupId: string | null;
|
|
1461
|
-
/**
|
|
1462
|
-
* The IDs of AddOns to set.
|
|
1463
|
-
* @format GUID
|
|
1464
|
-
* @minSize 1
|
|
1465
|
-
* @maxSize 7
|
|
1466
|
-
*/
|
|
1467
|
-
addOnIds: string[] | null;
|
|
1468
|
-
}
|
|
1469
|
-
interface SetAddOnsForGroupResponse {
|
|
1470
|
-
/** The updated AddOnGroup. */
|
|
1471
|
-
addOnGroup?: AddOnGroup;
|
|
1472
|
-
}
|
|
1473
1341
|
interface CreateServiceRequest {
|
|
1474
1342
|
/** Service to create. */
|
|
1475
1343
|
service: Service;
|
|
@@ -3378,134 +3246,266 @@ interface SiteCloned {
|
|
|
3378
3246
|
/** Origin site id. */
|
|
3379
3247
|
originMetaSiteId?: string;
|
|
3380
3248
|
}
|
|
3381
|
-
|
|
3382
|
-
|
|
3383
|
-
|
|
3384
|
-
|
|
3385
|
-
|
|
3386
|
-
|
|
3387
|
-
|
|
3388
|
-
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3393
|
-
|
|
3394
|
-
|
|
3395
|
-
|
|
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
|
-
|
|
3249
|
+
interface CreateAddOnGroupRequest {
|
|
3250
|
+
/** AddOnGroup to create. */
|
|
3251
|
+
addOnGroup: AddOnGroup;
|
|
3252
|
+
/**
|
|
3253
|
+
* ID of the service to create the AddOnGroup for.
|
|
3254
|
+
* @format GUID
|
|
3255
|
+
*/
|
|
3256
|
+
serviceId?: string | null;
|
|
3257
|
+
}
|
|
3258
|
+
interface CreateAddOnGroupResponse {
|
|
3259
|
+
/** Created AddOnGroup. */
|
|
3260
|
+
addOnGroup?: AddOnGroup;
|
|
3261
|
+
}
|
|
3262
|
+
interface DeleteAddOnGroupRequest {
|
|
3263
|
+
/**
|
|
3264
|
+
* ID of the AddOnGroup to delete.
|
|
3265
|
+
* @format GUID
|
|
3266
|
+
*/
|
|
3267
|
+
addOnGroupId: string | null;
|
|
3268
|
+
/**
|
|
3269
|
+
* ID of the service from which to delete the AddOnGroup.
|
|
3270
|
+
* @format GUID
|
|
3271
|
+
*/
|
|
3272
|
+
serviceId: string | null;
|
|
3273
|
+
}
|
|
3274
|
+
interface DeleteAddOnGroupResponse {
|
|
3275
|
+
}
|
|
3276
|
+
interface UpdateAddOnGroupRequest {
|
|
3277
|
+
/** AddOnGroup to update. */
|
|
3278
|
+
addOnGroup: AddOnGroup;
|
|
3279
|
+
/**
|
|
3280
|
+
* ID of the service that contains the AddOnGroup.
|
|
3281
|
+
* @format GUID
|
|
3282
|
+
*/
|
|
3283
|
+
serviceId: string | null;
|
|
3284
|
+
}
|
|
3285
|
+
interface UpdateAddOnGroupResponse {
|
|
3286
|
+
/** Updated AddOnGroup */
|
|
3287
|
+
addOnGroup?: AddOnGroup;
|
|
3288
|
+
}
|
|
3289
|
+
interface ListAddOnGroupsByServiceIdRequest {
|
|
3290
|
+
/**
|
|
3291
|
+
* ID of the service to retrieve AddOnGroups for.
|
|
3292
|
+
* @format GUID
|
|
3293
|
+
*/
|
|
3294
|
+
serviceId: string | null;
|
|
3295
|
+
/**
|
|
3296
|
+
* List of group ids to return. If not provided, all groups are returned.
|
|
3297
|
+
* @format GUID
|
|
3298
|
+
* @maxSize 3
|
|
3299
|
+
*/
|
|
3300
|
+
groupIds?: string[] | null;
|
|
3301
|
+
}
|
|
3302
|
+
interface ListAddOnGroupsByServiceIdResponse {
|
|
3303
|
+
/**
|
|
3304
|
+
* List of group IDs and their linked AddOns.
|
|
3305
|
+
* @maxSize 3
|
|
3306
|
+
*/
|
|
3307
|
+
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
3308
|
+
}
|
|
3309
|
+
interface AddOn extends AddOnAddOnInfoOneOf {
|
|
3310
|
+
/** The AddOn description. */
|
|
3311
|
+
durationInMinutes?: number;
|
|
3312
|
+
/** The AddOn max quantity. */
|
|
3313
|
+
maxQuantity?: number;
|
|
3314
|
+
/**
|
|
3315
|
+
* The AddOn ID.
|
|
3316
|
+
* @format GUID
|
|
3317
|
+
*/
|
|
3318
|
+
addOnId?: string | null;
|
|
3319
|
+
/**
|
|
3320
|
+
* The AddOn name.
|
|
3321
|
+
* @maxLength 100
|
|
3322
|
+
*/
|
|
3323
|
+
name?: string | null;
|
|
3324
|
+
/** The AddOn price. */
|
|
3325
|
+
price?: Money;
|
|
3326
|
+
}
|
|
3327
|
+
/** @oneof */
|
|
3328
|
+
interface AddOnAddOnInfoOneOf {
|
|
3329
|
+
/** The AddOn description. */
|
|
3330
|
+
durationInMinutes?: number;
|
|
3331
|
+
/** The AddOn max quantity. */
|
|
3332
|
+
maxQuantity?: number;
|
|
3333
|
+
}
|
|
3334
|
+
interface AddOnGroupDetail {
|
|
3335
|
+
/**
|
|
3336
|
+
* The group ID.
|
|
3337
|
+
* @format GUID
|
|
3338
|
+
*/
|
|
3339
|
+
groupId?: string | null;
|
|
3340
|
+
/** The group max number of AddOns. */
|
|
3341
|
+
maxNumberOfAddOns?: number | null;
|
|
3342
|
+
/**
|
|
3343
|
+
* The group name.
|
|
3344
|
+
* @maxLength 100
|
|
3345
|
+
*/
|
|
3346
|
+
groupName?: string | null;
|
|
3347
|
+
/**
|
|
3348
|
+
* The AddOns information linked to the group.
|
|
3349
|
+
* @maxSize 7
|
|
3350
|
+
*/
|
|
3351
|
+
addOns?: AddOn[];
|
|
3352
|
+
/**
|
|
3353
|
+
* The group prompt.
|
|
3354
|
+
* @maxLength 200
|
|
3355
|
+
*/
|
|
3356
|
+
prompt?: string | null;
|
|
3357
|
+
}
|
|
3358
|
+
interface SetAddOnsForGroupRequest {
|
|
3359
|
+
/**
|
|
3360
|
+
* The service ID to set AddOns for.
|
|
3361
|
+
* @format GUID
|
|
3362
|
+
*/
|
|
3363
|
+
serviceId: string | null;
|
|
3364
|
+
/**
|
|
3365
|
+
* The group ID to set AddOns for.
|
|
3366
|
+
* @format GUID
|
|
3367
|
+
*/
|
|
3368
|
+
groupId: string | null;
|
|
3369
|
+
/**
|
|
3370
|
+
* The IDs of AddOns to set.
|
|
3371
|
+
* @format GUID
|
|
3372
|
+
* @minSize 1
|
|
3373
|
+
* @maxSize 7
|
|
3374
|
+
*/
|
|
3375
|
+
addOnIds: string[] | null;
|
|
3376
|
+
}
|
|
3377
|
+
interface SetAddOnsForGroupResponse {
|
|
3378
|
+
/** The updated AddOnGroup. */
|
|
3379
|
+
addOnGroup?: AddOnGroup;
|
|
3380
|
+
}
|
|
3381
|
+
type CreateServiceValidationErrors = {
|
|
3382
|
+
ruleName?: 'INVALID_FORM';
|
|
3383
|
+
} | {
|
|
3384
|
+
ruleName?: 'INVALID_CATEGORY';
|
|
3385
|
+
} | {
|
|
3386
|
+
ruleName?: 'INVALID_BOOKING_POLICY';
|
|
3387
|
+
} | {
|
|
3388
|
+
ruleName?: 'INVALID_SERVICE_TYPE';
|
|
3389
|
+
} | {
|
|
3390
|
+
ruleName?: 'INVALID_SERVICE_NAME';
|
|
3391
|
+
} | {
|
|
3392
|
+
ruleName?: 'INVALID_ONLINE_BOOKING';
|
|
3393
|
+
} | {
|
|
3394
|
+
ruleName?: 'INVALID_STAFF_MEMBER_IDS';
|
|
3395
|
+
} | {
|
|
3396
|
+
ruleName?: 'PAYMENT_REQUIRED';
|
|
3397
|
+
} | {
|
|
3398
|
+
ruleName?: 'INVALID_PAYMENT_TYPE';
|
|
3399
|
+
} | {
|
|
3400
|
+
ruleName?: 'INVALID_RATE';
|
|
3401
|
+
} | {
|
|
3402
|
+
ruleName?: 'INVALID_PAYMENT_OPTIONS';
|
|
3403
|
+
} | {
|
|
3404
|
+
ruleName?: 'INVALID_BUSINESS_LOCATIONS';
|
|
3405
|
+
} | {
|
|
3406
|
+
ruleName?: 'INVALID_LOCATIONS';
|
|
3407
|
+
} | {
|
|
3408
|
+
ruleName?: 'INVALID_BUSINESS_LOCATION';
|
|
3409
|
+
} | {
|
|
3410
|
+
ruleName?: 'INVALID_CUSTOM_LOCATION';
|
|
3411
|
+
} | {
|
|
3412
|
+
ruleName?: 'INVALID_CUSTOMER_LOCATION';
|
|
3413
|
+
} | {
|
|
3414
|
+
ruleName?: 'INVALID_UNKNOWN_LOCATION';
|
|
3415
|
+
} | {
|
|
3416
|
+
ruleName?: 'INVALID_MANUAL_APPROVAL_WITH_PRICING_PLANS';
|
|
3417
|
+
} | {
|
|
3418
|
+
ruleName?: 'INVALID_DEFAULT_CAPACITY';
|
|
3419
|
+
} | {
|
|
3420
|
+
ruleName?: 'INVALID_APPOINTMENT_CAPACITY';
|
|
3421
|
+
} | {
|
|
3422
|
+
ruleName?: 'INVALID_SESSION_DURATION';
|
|
3423
|
+
};
|
|
3424
|
+
type UpdateServiceValidationErrors = {
|
|
3425
|
+
ruleName?: 'INVALID_FORM';
|
|
3426
|
+
} | {
|
|
3427
|
+
ruleName?: 'INVALID_CATEGORY';
|
|
3428
|
+
} | {
|
|
3429
|
+
ruleName?: 'INVALID_BOOKING_POLICY';
|
|
3430
|
+
} | {
|
|
3431
|
+
ruleName?: 'INVALID_SERVICE_TYPE';
|
|
3432
|
+
} | {
|
|
3433
|
+
ruleName?: 'INVALID_SERVICE_NAME';
|
|
3434
|
+
} | {
|
|
3435
|
+
ruleName?: 'INVALID_ONLINE_BOOKING';
|
|
3436
|
+
} | {
|
|
3437
|
+
ruleName?: 'INVALID_STAFF_MEMBER_IDS';
|
|
3438
|
+
} | {
|
|
3439
|
+
ruleName?: 'PAYMENT_REQUIRED';
|
|
3440
|
+
} | {
|
|
3441
|
+
ruleName?: 'INVALID_PAYMENT_TYPE';
|
|
3442
|
+
} | {
|
|
3443
|
+
ruleName?: 'INVALID_RATE';
|
|
3444
|
+
} | {
|
|
3445
|
+
ruleName?: 'INVALID_PAYMENT_OPTIONS';
|
|
3446
|
+
} | {
|
|
3447
|
+
ruleName?: 'INVALID_BUSINESS_LOCATIONS';
|
|
3448
|
+
} | {
|
|
3449
|
+
ruleName?: 'INVALID_LOCATIONS';
|
|
3450
|
+
} | {
|
|
3451
|
+
ruleName?: 'INVALID_BUSINESS_LOCATION';
|
|
3452
|
+
} | {
|
|
3453
|
+
ruleName?: 'INVALID_CUSTOM_LOCATION';
|
|
3454
|
+
} | {
|
|
3455
|
+
ruleName?: 'INVALID_CUSTOMER_LOCATION';
|
|
3456
|
+
} | {
|
|
3457
|
+
ruleName?: 'INVALID_UNKNOWN_LOCATION';
|
|
3458
|
+
} | {
|
|
3459
|
+
ruleName?: 'INVALID_MANUAL_APPROVAL_WITH_PRICING_PLANS';
|
|
3460
|
+
} | {
|
|
3461
|
+
ruleName?: 'INVALID_DEFAULT_CAPACITY';
|
|
3462
|
+
} | {
|
|
3463
|
+
ruleName?: 'INVALID_APPOINTMENT_CAPACITY';
|
|
3464
|
+
} | {
|
|
3465
|
+
ruleName?: 'INVALID_SESSION_DURATION';
|
|
3466
|
+
};
|
|
3467
|
+
type QueryBookingFormsApplicationErrors = {
|
|
3468
|
+
code?: 'DEFAULT_BOOKING_FORM_NOT_FOUND';
|
|
3469
|
+
description?: string;
|
|
3470
|
+
data?: Record<string, any>;
|
|
3471
|
+
};
|
|
3472
|
+
type EnablePricingPlansForServiceApplicationErrors = {
|
|
3473
|
+
code?: 'INVALID_PRICING_PLAN';
|
|
3474
|
+
description?: string;
|
|
3475
|
+
data?: InvalidPricingPlan;
|
|
3476
|
+
} | {
|
|
3477
|
+
code?: 'SERVICE_DOES_NOT_SUPPORT_PRICING_PLANS';
|
|
3478
|
+
description?: string;
|
|
3479
|
+
data?: Record<string, any>;
|
|
3480
|
+
};
|
|
3481
|
+
type DisablePricingPlansForServiceApplicationErrors = {
|
|
3482
|
+
code?: 'INVALID_PRICING_PLAN';
|
|
3483
|
+
description?: string;
|
|
3484
|
+
data?: InvalidPricingPlan;
|
|
3485
|
+
};
|
|
3486
|
+
type SetCustomSlugApplicationErrors = {
|
|
3487
|
+
code?: 'SLUG_ALREADY_EXISTS';
|
|
3488
|
+
description?: string;
|
|
3489
|
+
data?: Record<string, any>;
|
|
3505
3490
|
};
|
|
3506
3491
|
type SetCustomSlugValidationErrors = {
|
|
3507
3492
|
ruleName?: 'SLUG_CONTAINS_ILLEGAL_CHARACTERS';
|
|
3508
3493
|
};
|
|
3494
|
+
type DeleteAddOnGroupApplicationErrors = {
|
|
3495
|
+
code?: 'GROUP_NOT_ON_SERVICE';
|
|
3496
|
+
description?: string;
|
|
3497
|
+
data?: Record<string, any>;
|
|
3498
|
+
};
|
|
3499
|
+
type UpdateAddOnGroupApplicationErrors = {
|
|
3500
|
+
code?: 'GROUP_NOT_ON_SERVICE';
|
|
3501
|
+
description?: string;
|
|
3502
|
+
data?: Record<string, any>;
|
|
3503
|
+
};
|
|
3504
|
+
type SetAddOnsForGroupApplicationErrors = {
|
|
3505
|
+
code?: 'ADD_ON_GROUP_NOT_FOUND';
|
|
3506
|
+
description?: string;
|
|
3507
|
+
data?: Record<string, any>;
|
|
3508
|
+
};
|
|
3509
3509
|
interface BaseEventMetadata {
|
|
3510
3510
|
/**
|
|
3511
3511
|
* App instance ID.
|
|
@@ -3628,127 +3628,6 @@ interface ServiceUpdatedEnvelope {
|
|
|
3628
3628
|
* @slug updated
|
|
3629
3629
|
*/
|
|
3630
3630
|
declare function onServiceUpdated(handler: (event: ServiceUpdatedEnvelope) => void | Promise<void>): void;
|
|
3631
|
-
/**
|
|
3632
|
-
* Create a new AddOns group.
|
|
3633
|
-
* An AddOns group defines a collection of AddOns that can be linked to a Service,
|
|
3634
|
-
* with constraints such as minimum and maximum selections.
|
|
3635
|
-
* @param addOnGroup - AddOnGroup to create.
|
|
3636
|
-
* @public
|
|
3637
|
-
* @documentationMaturity preview
|
|
3638
|
-
* @requiredField addOnGroup
|
|
3639
|
-
* @requiredField addOnGroup.name
|
|
3640
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
3641
|
-
* @applicableIdentity APP
|
|
3642
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
|
|
3643
|
-
*/
|
|
3644
|
-
declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`>>;
|
|
3645
|
-
interface CreateAddOnGroupOptions {
|
|
3646
|
-
/**
|
|
3647
|
-
* ID of the service to create the AddOnGroup for.
|
|
3648
|
-
* @format GUID
|
|
3649
|
-
*/
|
|
3650
|
-
serviceId?: string | null;
|
|
3651
|
-
}
|
|
3652
|
-
/**
|
|
3653
|
-
* Delete an existing AddOns group.
|
|
3654
|
-
* This will remove the group and unlink all associated AddOns.
|
|
3655
|
-
* @param addOnGroupId - ID of the AddOnGroup to delete.
|
|
3656
|
-
* @public
|
|
3657
|
-
* @documentationMaturity preview
|
|
3658
|
-
* @requiredField addOnGroupId
|
|
3659
|
-
* @requiredField options
|
|
3660
|
-
* @requiredField options.serviceId
|
|
3661
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
3662
|
-
* @applicableIdentity APP
|
|
3663
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
|
|
3664
|
-
*/
|
|
3665
|
-
declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`>): Promise<void & {
|
|
3666
|
-
__applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
|
|
3667
|
-
}>;
|
|
3668
|
-
interface DeleteAddOnGroupOptions {
|
|
3669
|
-
/**
|
|
3670
|
-
* ID of the service from which to delete the AddOnGroup.
|
|
3671
|
-
* @format GUID
|
|
3672
|
-
*/
|
|
3673
|
-
serviceId: string | null;
|
|
3674
|
-
}
|
|
3675
|
-
/**
|
|
3676
|
-
* Update an existing AddOns group.
|
|
3677
|
-
* This allows modifying group settings such as its name, prompt, constraints, or associated AddOns.
|
|
3678
|
-
* @param addOnGroup - AddOnGroup to update.
|
|
3679
|
-
* @public
|
|
3680
|
-
* @documentationMaturity preview
|
|
3681
|
-
* @requiredField addOnGroup
|
|
3682
|
-
* @requiredField addOnGroup._id
|
|
3683
|
-
* @requiredField options
|
|
3684
|
-
* @requiredField options.serviceId
|
|
3685
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
|
|
3686
|
-
* @applicableIdentity APP
|
|
3687
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
|
|
3688
|
-
*/
|
|
3689
|
-
declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`> & {
|
|
3690
|
-
__applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
|
|
3691
|
-
}>;
|
|
3692
|
-
interface UpdateAddOnGroupOptions {
|
|
3693
|
-
/**
|
|
3694
|
-
* ID of the service that contains the AddOnGroup.
|
|
3695
|
-
* @format GUID
|
|
3696
|
-
*/
|
|
3697
|
-
serviceId: string | null;
|
|
3698
|
-
}
|
|
3699
|
-
/**
|
|
3700
|
-
* Retrieves a list of AddOnGroups including enriched AddOn details in the correct order.
|
|
3701
|
-
* If the group_id is specified, only the AddOns for the specified group will be returned,
|
|
3702
|
-
* otherwise all groups will be returned.
|
|
3703
|
-
* @param serviceId - ID of the service to retrieve AddOnGroups for.
|
|
3704
|
-
* @public
|
|
3705
|
-
* @documentationMaturity preview
|
|
3706
|
-
* @requiredField serviceId
|
|
3707
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
|
|
3708
|
-
* @applicableIdentity APP
|
|
3709
|
-
* @applicableIdentity VISITOR
|
|
3710
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
|
|
3711
|
-
*/
|
|
3712
|
-
declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`>>;
|
|
3713
|
-
interface ListAddOnGroupsByServiceIdOptions {
|
|
3714
|
-
/**
|
|
3715
|
-
* List of group ids to return. If not provided, all groups are returned.
|
|
3716
|
-
* @format GUID
|
|
3717
|
-
* @maxSize 3
|
|
3718
|
-
*/
|
|
3719
|
-
groupIds?: string[] | null;
|
|
3720
|
-
}
|
|
3721
|
-
/**
|
|
3722
|
-
* Sets the AddOns for a specific group.
|
|
3723
|
-
* The order of the AddOns in the list will be used to determine their display order.
|
|
3724
|
-
* @param serviceId - The service ID to set AddOns for.
|
|
3725
|
-
* @public
|
|
3726
|
-
* @documentationMaturity preview
|
|
3727
|
-
* @requiredField options
|
|
3728
|
-
* @requiredField options.addOnIds
|
|
3729
|
-
* @requiredField options.groupId
|
|
3730
|
-
* @requiredField serviceId
|
|
3731
|
-
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
|
|
3732
|
-
* @applicableIdentity APP
|
|
3733
|
-
* @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
|
|
3734
|
-
*/
|
|
3735
|
-
declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`> & {
|
|
3736
|
-
__applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
|
|
3737
|
-
}>;
|
|
3738
|
-
interface SetAddOnsForGroupOptions {
|
|
3739
|
-
/**
|
|
3740
|
-
* The group ID to set AddOns for.
|
|
3741
|
-
* @format GUID
|
|
3742
|
-
*/
|
|
3743
|
-
groupId: string | null;
|
|
3744
|
-
/**
|
|
3745
|
-
* The IDs of AddOns to set.
|
|
3746
|
-
* @format GUID
|
|
3747
|
-
* @minSize 1
|
|
3748
|
-
* @maxSize 7
|
|
3749
|
-
*/
|
|
3750
|
-
addOnIds: string[] | null;
|
|
3751
|
-
}
|
|
3752
3631
|
/**
|
|
3753
3632
|
* Creates a service.
|
|
3754
3633
|
*
|
|
@@ -3800,7 +3679,7 @@ interface SetAddOnsForGroupOptions {
|
|
|
3800
3679
|
* @returns Created service.
|
|
3801
3680
|
* @fqn wix.bookings.services.v2.ServicesService.CreateService
|
|
3802
3681
|
*/
|
|
3803
|
-
declare function createService(service: Service): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain
|
|
3682
|
+
declare function createService(service: Service): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain`, 6> & {
|
|
3804
3683
|
__validationErrorsType?: CreateServiceValidationErrors;
|
|
3805
3684
|
}>;
|
|
3806
3685
|
/**
|
|
@@ -3817,7 +3696,7 @@ declare function createService(service: Service): Promise<NonNullablePaths<Servi
|
|
|
3817
3696
|
* @applicableIdentity APP
|
|
3818
3697
|
* @fqn wix.bookings.services.v2.ServicesService.BulkCreateServices
|
|
3819
3698
|
*/
|
|
3820
|
-
declare function bulkCreateServices(services: Service[], options?: BulkCreateServicesOptions): Promise<NonNullablePaths<BulkCreateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.bookingPolicy._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures
|
|
3699
|
+
declare function bulkCreateServices(services: Service[], options?: BulkCreateServicesOptions): Promise<NonNullablePaths<BulkCreateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.bookingPolicy._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
3821
3700
|
interface BulkCreateServicesOptions {
|
|
3822
3701
|
/** Whether to return the created service objects. */
|
|
3823
3702
|
returnEntity?: boolean;
|
|
@@ -3833,7 +3712,7 @@ interface BulkCreateServicesOptions {
|
|
|
3833
3712
|
* @returns Retrieved service.
|
|
3834
3713
|
* @fqn wix.bookings.services.v2.ServicesService.GetService
|
|
3835
3714
|
*/
|
|
3836
|
-
declare function getService(serviceId: string): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain
|
|
3715
|
+
declare function getService(serviceId: string): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain`, 6>>;
|
|
3837
3716
|
/**
|
|
3838
3717
|
* Updates a service.
|
|
3839
3718
|
*
|
|
@@ -3861,7 +3740,7 @@ declare function getService(serviceId: string): Promise<NonNullablePaths<Service
|
|
|
3861
3740
|
* @returns Updated service.
|
|
3862
3741
|
* @fqn wix.bookings.services.v2.ServicesService.UpdateService
|
|
3863
3742
|
*/
|
|
3864
|
-
declare function updateService(_id: string, service: NonNullablePaths<UpdateService, `revision
|
|
3743
|
+
declare function updateService(_id: string, service: NonNullablePaths<UpdateService, `revision`, 2>): Promise<NonNullablePaths<Service, `type` | `media.items` | `category._id` | `form._id` | `payment.fixed.price.value` | `payment.fixed.price.currency` | `payment.rateType` | `payment.pricingPlanIds` | `locations` | `locations.${number}.business._id` | `locations.${number}.business.name` | `locations.${number}.custom._id` | `locations.${number}._id` | `locations.${number}.type` | `bookingPolicy._id` | `bookingPolicy.customPolicyDescription.enabled` | `bookingPolicy.customPolicyDescription.description` | `bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicy.cancellationPolicy.enabled` | `bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicy.reschedulePolicy.enabled` | `bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicy.waitlistPolicy.enabled` | `bookingPolicy.waitlistPolicy.capacity` | `bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicy.resourcesPolicy.enabled` | `bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicy.cancellationFeePolicy.cancellationWindows` | `bookingPolicy.cancellationFeePolicy.cancellationWindows.${number}.percentage` | `bookingPolicy.saveCreditCardPolicy.enabled` | `schedule.availabilityConstraints.durations` | `schedule.availabilityConstraints.durations.${number}.minutes` | `schedule.availabilityConstraints.sessionDurations` | `schedule.availabilityConstraints.timeBetweenSessions` | `staffMemberIds` | `serviceResources` | `supportedSlugs` | `supportedSlugs.${number}.name` | `seoData.tags` | `seoData.tags.${number}.type` | `seoData.tags.${number}.children` | `seoData.tags.${number}.custom` | `seoData.tags.${number}.disabled` | `seoData.settings.preventAutoRedirect` | `seoData.settings.keywords` | `seoData.settings.keywords.${number}.term` | `seoData.settings.keywords.${number}.isMain`, 6> & {
|
|
3865
3744
|
__validationErrorsType?: UpdateServiceValidationErrors;
|
|
3866
3745
|
}>;
|
|
3867
3746
|
interface UpdateService {
|
|
@@ -4019,7 +3898,7 @@ interface UpdateService {
|
|
|
4019
3898
|
* @applicableIdentity APP
|
|
4020
3899
|
* @fqn wix.bookings.services.v2.ServicesService.BulkUpdateServices
|
|
4021
3900
|
*/
|
|
4022
|
-
declare function bulkUpdateServices(options?: NonNullablePaths<BulkUpdateServicesOptions, `services.${number}.service` | `services.${number}.service._id` | `services.${number}.service.revision
|
|
3901
|
+
declare function bulkUpdateServices(options?: NonNullablePaths<BulkUpdateServicesOptions, `services.${number}.service` | `services.${number}.service._id` | `services.${number}.service.revision`, 5>): Promise<NonNullablePaths<BulkUpdateServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.bookingPolicy._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
4023
3902
|
interface BulkUpdateServicesOptions {
|
|
4024
3903
|
/**
|
|
4025
3904
|
* Services to update.
|
|
@@ -4052,7 +3931,7 @@ interface BulkUpdateServicesOptions {
|
|
|
4052
3931
|
* @applicableIdentity APP
|
|
4053
3932
|
* @fqn wix.bookings.services.v2.ServicesService.BulkUpdateServicesByFilter
|
|
4054
3933
|
*/
|
|
4055
|
-
declare function bulkUpdateServicesByFilter(filter: Record<string, any>, options: NonNullablePaths<BulkUpdateServicesByFilterOptions, `service
|
|
3934
|
+
declare function bulkUpdateServicesByFilter(filter: Record<string, any>, options: NonNullablePaths<BulkUpdateServicesByFilterOptions, `service`, 2>): Promise<NonNullablePaths<BulkUpdateServicesByFilterResponse, `jobId`, 2>>;
|
|
4056
3935
|
interface BulkUpdateServicesByFilterOptions {
|
|
4057
3936
|
/** Service to update. */
|
|
4058
3937
|
service: Service;
|
|
@@ -4102,7 +3981,7 @@ interface DeleteServiceOptions {
|
|
|
4102
3981
|
* @applicableIdentity APP
|
|
4103
3982
|
* @fqn wix.bookings.services.v2.ServicesService.BulkDeleteServices
|
|
4104
3983
|
*/
|
|
4105
|
-
declare function bulkDeleteServices(ids: string[], options?: BulkDeleteServicesOptions): Promise<NonNullablePaths<BulkDeleteServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.bookingPolicy._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures
|
|
3984
|
+
declare function bulkDeleteServices(ids: string[], options?: BulkDeleteServicesOptions): Promise<NonNullablePaths<BulkDeleteServicesResponse, `results` | `results.${number}.itemMetadata.originalIndex` | `results.${number}.itemMetadata.success` | `results.${number}.itemMetadata.error.code` | `results.${number}.itemMetadata.error.description` | `results.${number}.item.type` | `results.${number}.item.category._id` | `results.${number}.item.form._id` | `results.${number}.item.payment.rateType` | `results.${number}.item.bookingPolicy._id` | `bulkActionMetadata.totalSuccesses` | `bulkActionMetadata.totalFailures` | `bulkActionMetadata.undetailedFailures`, 6>>;
|
|
4106
3985
|
interface BulkDeleteServicesOptions {
|
|
4107
3986
|
/**
|
|
4108
3987
|
* Whether to preserve future sessions with participants.
|
|
@@ -4140,7 +4019,7 @@ interface BulkDeleteServicesOptions {
|
|
|
4140
4019
|
* @applicableIdentity APP
|
|
4141
4020
|
* @fqn wix.bookings.services.v2.ServicesService.BulkDeleteServicesByFilter
|
|
4142
4021
|
*/
|
|
4143
|
-
declare function bulkDeleteServicesByFilter(filter: Record<string, any>, options?: BulkDeleteServicesByFilterOptions): Promise<NonNullablePaths<BulkDeleteServicesByFilterResponse, `jobId
|
|
4022
|
+
declare function bulkDeleteServicesByFilter(filter: Record<string, any>, options?: BulkDeleteServicesByFilterOptions): Promise<NonNullablePaths<BulkDeleteServicesByFilterResponse, `jobId`, 2>>;
|
|
4144
4023
|
interface BulkDeleteServicesByFilterOptions {
|
|
4145
4024
|
/**
|
|
4146
4025
|
* Whether to preserve future sessions with participants.
|
|
@@ -4479,7 +4358,7 @@ type ServiceSearch = {
|
|
|
4479
4358
|
* @applicableIdentity VISITOR
|
|
4480
4359
|
* @fqn wix.bookings.services.v2.ServicesService.QueryPolicies
|
|
4481
4360
|
*/
|
|
4482
|
-
declare function queryPolicies(query: CursorQuery): Promise<NonNullablePaths<QueryPoliciesResponse, `bookingPolicies` | `bookingPolicies.${number}.bookingPolicy._id` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.enabled` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.description` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.capacity` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicies.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicies.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | `bookingPolicies.${number}.totalServiceCount
|
|
4361
|
+
declare function queryPolicies(query: CursorQuery): Promise<NonNullablePaths<QueryPoliciesResponse, `bookingPolicies` | `bookingPolicies.${number}.bookingPolicy._id` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.enabled` | `bookingPolicies.${number}.bookingPolicy.customPolicyDescription.description` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitEarlyBookingPolicy.earliestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.limitLateBookingPolicy.latestBookingInMinutes` | `bookingPolicies.${number}.bookingPolicy.bookAfterStartPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.limitLatestCancellation` | `bookingPolicies.${number}.bookingPolicy.cancellationPolicy.latestCancellationInMinutes` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.limitLatestReschedule` | `bookingPolicies.${number}.bookingPolicy.reschedulePolicy.latestRescheduleInMinutes` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.capacity` | `bookingPolicies.${number}.bookingPolicy.waitlistPolicy.reservationTimeInMinutes` | `bookingPolicies.${number}.bookingPolicy.participantsPolicy.maxParticipantsPerBooking` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.resourcesPolicy.autoAssignAllowed` | `bookingPolicies.${number}.bookingPolicy.cancellationFeePolicy.enabled` | `bookingPolicies.${number}.bookingPolicy.saveCreditCardPolicy.enabled` | `bookingPolicies.${number}.totalServiceCount`, 6>>;
|
|
4483
4362
|
/**
|
|
4484
4363
|
* Retrieves a list of up to 100 *booking forms*
|
|
4485
4364
|
* ([SDK](https://dev.wix.com/docs/sdk/backend-modules/forms/introduction) | [REST](https://dev.wix.com/docs/rest/crm/forms/form-schemas/form-object)),
|
|
@@ -4533,7 +4412,7 @@ declare function queryPolicies(query: CursorQuery): Promise<NonNullablePaths<Que
|
|
|
4533
4412
|
* @applicableIdentity VISITOR
|
|
4534
4413
|
* @fqn wix.bookings.services.v2.ServicesService.QueryBookingForms
|
|
4535
4414
|
*/
|
|
4536
|
-
declare function queryBookingForms(query: CursorQuery, options?: QueryBookingFormsOptions): Promise<NonNullablePaths<QueryBookingFormsResponse, `bookingForms` | `bookingForms.${number}.formDetails.formId` | `bookingForms.${number}.totalServiceCount` | `defaultBookingForm.formDetails.formId` | `defaultBookingForm.connectedServices` | `defaultBookingForm.totalServiceCount
|
|
4415
|
+
declare function queryBookingForms(query: CursorQuery, options?: QueryBookingFormsOptions): Promise<NonNullablePaths<QueryBookingFormsResponse, `bookingForms` | `bookingForms.${number}.formDetails.formId` | `bookingForms.${number}.totalServiceCount` | `defaultBookingForm.formDetails.formId` | `defaultBookingForm.connectedServices` | `defaultBookingForm.totalServiceCount`, 5> & {
|
|
4537
4416
|
__applicationErrorsType?: QueryBookingFormsApplicationErrors;
|
|
4538
4417
|
}>;
|
|
4539
4418
|
interface QueryBookingFormsOptions {
|
|
@@ -4559,7 +4438,7 @@ interface QueryBookingFormsOptions {
|
|
|
4559
4438
|
* @applicableIdentity VISITOR
|
|
4560
4439
|
* @fqn wix.bookings.services.v2.ServicesService.CountServices
|
|
4561
4440
|
*/
|
|
4562
|
-
declare function countServices(options?: CountServicesOptions): Promise<NonNullablePaths<CountServicesResponse, `count
|
|
4441
|
+
declare function countServices(options?: CountServicesOptions): Promise<NonNullablePaths<CountServicesResponse, `count`, 2>>;
|
|
4563
4442
|
interface CountServicesOptions {
|
|
4564
4443
|
/**
|
|
4565
4444
|
* Query filter to base the count on. See supported filters
|
|
@@ -4600,7 +4479,7 @@ interface CountServicesOptions {
|
|
|
4600
4479
|
* @applicableIdentity VISITOR
|
|
4601
4480
|
* @fqn wix.bookings.services.v2.ServicesService.QueryLocations
|
|
4602
4481
|
*/
|
|
4603
|
-
declare function queryLocations(options?: QueryLocationsOptions): Promise<NonNullablePaths<QueryLocationsResponse, `businessLocations.exists` | `businessLocations.locations` | `businessLocations.locations.${number}.business._id` | `businessLocations.locations.${number}.business.name` | `businessLocations.locations.${number}.custom._id` | `businessLocations.locations.${number}._id` | `businessLocations.locations.${number}.type` | `customLocations.exists` | `customerLocations.exists
|
|
4482
|
+
declare function queryLocations(options?: QueryLocationsOptions): Promise<NonNullablePaths<QueryLocationsResponse, `businessLocations.exists` | `businessLocations.locations` | `businessLocations.locations.${number}.business._id` | `businessLocations.locations.${number}.business.name` | `businessLocations.locations.${number}.custom._id` | `businessLocations.locations.${number}._id` | `businessLocations.locations.${number}.type` | `customLocations.exists` | `customerLocations.exists`, 6>>;
|
|
4604
4483
|
interface QueryLocationsOptions {
|
|
4605
4484
|
/** Filter. */
|
|
4606
4485
|
filter?: QueryLocationsFilter;
|
|
@@ -4636,7 +4515,7 @@ interface QueryLocationsOptions {
|
|
|
4636
4515
|
* @applicableIdentity VISITOR
|
|
4637
4516
|
* @fqn wix.bookings.services.v2.ServicesService.QueryCategories
|
|
4638
4517
|
*/
|
|
4639
|
-
declare function queryCategories(options?: QueryCategoriesOptions): Promise<NonNullablePaths<QueryCategoriesResponse, `categories` | `categories.${number}._id
|
|
4518
|
+
declare function queryCategories(options?: QueryCategoriesOptions): Promise<NonNullablePaths<QueryCategoriesResponse, `categories` | `categories.${number}._id`, 4>>;
|
|
4640
4519
|
interface QueryCategoriesOptions {
|
|
4641
4520
|
/** Filter. */
|
|
4642
4521
|
filter?: QueryCategoriesFilter;
|
|
@@ -4700,7 +4579,7 @@ interface QueryCategoriesOptions {
|
|
|
4700
4579
|
* @applicableIdentity APP
|
|
4701
4580
|
* @fqn wix.bookings.services.v2.ServicesService.SetServiceLocations
|
|
4702
4581
|
*/
|
|
4703
|
-
declare function setServiceLocations(serviceId: string, locations: Location[], options?: SetServiceLocationsOptions): Promise<NonNullablePaths<SetServiceLocationsResponse, `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.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
|
|
4582
|
+
declare function setServiceLocations(serviceId: string, locations: Location[], options?: SetServiceLocationsOptions): Promise<NonNullablePaths<SetServiceLocationsResponse, `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.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`, 7>>;
|
|
4704
4583
|
interface SetServiceLocationsOptions {
|
|
4705
4584
|
/**
|
|
4706
4585
|
* The action to perform on sessions currently set to a removed location. For
|
|
@@ -4736,7 +4615,7 @@ interface SetServiceLocationsOptions {
|
|
|
4736
4615
|
* @applicableIdentity APP
|
|
4737
4616
|
* @fqn wix.bookings.services.v2.ServicesService.EnablePricingPlansForService
|
|
4738
4617
|
*/
|
|
4739
|
-
declare function enablePricingPlansForService(serviceId: string, pricingPlanIds: string[]): Promise<NonNullablePaths<EnablePricingPlansForServiceResponse, `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.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
|
|
4618
|
+
declare function enablePricingPlansForService(serviceId: string, pricingPlanIds: string[]): Promise<NonNullablePaths<EnablePricingPlansForServiceResponse, `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.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`, 7> & {
|
|
4740
4619
|
__applicationErrorsType?: EnablePricingPlansForServiceApplicationErrors;
|
|
4741
4620
|
}>;
|
|
4742
4621
|
/**
|
|
@@ -4755,7 +4634,7 @@ declare function enablePricingPlansForService(serviceId: string, pricingPlanIds:
|
|
|
4755
4634
|
* @applicableIdentity APP
|
|
4756
4635
|
* @fqn wix.bookings.services.v2.ServicesService.DisablePricingPlansForService
|
|
4757
4636
|
*/
|
|
4758
|
-
declare function disablePricingPlansForService(serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<NonNullablePaths<DisablePricingPlansForServiceResponse, `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.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
|
|
4637
|
+
declare function disablePricingPlansForService(serviceId: string, options?: DisablePricingPlansForServiceOptions): Promise<NonNullablePaths<DisablePricingPlansForServiceResponse, `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.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`, 7> & {
|
|
4759
4638
|
__applicationErrorsType?: DisablePricingPlansForServiceApplicationErrors;
|
|
4760
4639
|
}>;
|
|
4761
4640
|
interface DisablePricingPlansForServiceOptions {
|
|
@@ -4783,7 +4662,7 @@ interface DisablePricingPlansForServiceOptions {
|
|
|
4783
4662
|
* @applicableIdentity APP
|
|
4784
4663
|
* @fqn wix.bookings.services.v2.ServicesService.SetCustomSlug
|
|
4785
4664
|
*/
|
|
4786
|
-
declare function setCustomSlug(serviceId: string, options?: SetCustomSlugOptions): Promise<NonNullablePaths<SetCustomSlugResponse, `slug.name` | `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.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
|
|
4665
|
+
declare function setCustomSlug(serviceId: string, options?: SetCustomSlugOptions): Promise<NonNullablePaths<SetCustomSlugResponse, `slug.name` | `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.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`, 7> & {
|
|
4787
4666
|
__applicationErrorsType?: SetCustomSlugApplicationErrors;
|
|
4788
4667
|
__validationErrorsType?: SetCustomSlugValidationErrors;
|
|
4789
4668
|
}>;
|
|
@@ -4811,7 +4690,7 @@ interface SetCustomSlugOptions {
|
|
|
4811
4690
|
* @applicableIdentity APP
|
|
4812
4691
|
* @fqn wix.bookings.services.v2.ServicesService.ValidateSlug
|
|
4813
4692
|
*/
|
|
4814
|
-
declare function validateSlug(serviceId: string, options?: ValidateSlugOptions): Promise<NonNullablePaths<ValidateSlugResponse, `valid` | `errors
|
|
4693
|
+
declare function validateSlug(serviceId: string, options?: ValidateSlugOptions): Promise<NonNullablePaths<ValidateSlugResponse, `valid` | `errors`, 2>>;
|
|
4815
4694
|
interface ValidateSlugOptions {
|
|
4816
4695
|
/**
|
|
4817
4696
|
* Custom slug to validate.
|
|
@@ -4887,6 +4766,127 @@ interface ValidateSlugOptions {
|
|
|
4887
4766
|
* @applicableIdentity APP
|
|
4888
4767
|
* @fqn wix.bookings.services.v2.ServicesService.CloneService
|
|
4889
4768
|
*/
|
|
4890
|
-
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.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
|
|
4769
|
+
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.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>>;
|
|
4770
|
+
/**
|
|
4771
|
+
* Create a new AddOns group.
|
|
4772
|
+
* An AddOns group defines a collection of AddOns that can be linked to a Service,
|
|
4773
|
+
* with constraints such as minimum and maximum selections.
|
|
4774
|
+
* @param addOnGroup - AddOnGroup to create.
|
|
4775
|
+
* @public
|
|
4776
|
+
* @documentationMaturity preview
|
|
4777
|
+
* @requiredField addOnGroup
|
|
4778
|
+
* @requiredField addOnGroup.name
|
|
4779
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
4780
|
+
* @applicableIdentity APP
|
|
4781
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.CreateAddOnGroup
|
|
4782
|
+
*/
|
|
4783
|
+
declare function createAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `name`, 2>, options?: CreateAddOnGroupOptions): Promise<NonNullablePaths<CreateAddOnGroupResponse, `addOnGroup.addOnIds`, 3>>;
|
|
4784
|
+
interface CreateAddOnGroupOptions {
|
|
4785
|
+
/**
|
|
4786
|
+
* ID of the service to create the AddOnGroup for.
|
|
4787
|
+
* @format GUID
|
|
4788
|
+
*/
|
|
4789
|
+
serviceId?: string | null;
|
|
4790
|
+
}
|
|
4791
|
+
/**
|
|
4792
|
+
* Delete an existing AddOns group.
|
|
4793
|
+
* This will remove the group and unlink all associated AddOns.
|
|
4794
|
+
* @param addOnGroupId - ID of the AddOnGroup to delete.
|
|
4795
|
+
* @public
|
|
4796
|
+
* @documentationMaturity preview
|
|
4797
|
+
* @requiredField addOnGroupId
|
|
4798
|
+
* @requiredField options
|
|
4799
|
+
* @requiredField options.serviceId
|
|
4800
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_CREATE
|
|
4801
|
+
* @applicableIdentity APP
|
|
4802
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.DeleteAddOnGroup
|
|
4803
|
+
*/
|
|
4804
|
+
declare function deleteAddOnGroup(addOnGroupId: string, options: NonNullablePaths<DeleteAddOnGroupOptions, `serviceId`, 2>): Promise<void & {
|
|
4805
|
+
__applicationErrorsType?: DeleteAddOnGroupApplicationErrors;
|
|
4806
|
+
}>;
|
|
4807
|
+
interface DeleteAddOnGroupOptions {
|
|
4808
|
+
/**
|
|
4809
|
+
* ID of the service from which to delete the AddOnGroup.
|
|
4810
|
+
* @format GUID
|
|
4811
|
+
*/
|
|
4812
|
+
serviceId: string | null;
|
|
4813
|
+
}
|
|
4814
|
+
/**
|
|
4815
|
+
* Update an existing AddOns group.
|
|
4816
|
+
* This allows modifying group settings such as its name, prompt, constraints, or associated AddOns.
|
|
4817
|
+
* @param addOnGroup - AddOnGroup to update.
|
|
4818
|
+
* @public
|
|
4819
|
+
* @documentationMaturity preview
|
|
4820
|
+
* @requiredField addOnGroup
|
|
4821
|
+
* @requiredField addOnGroup._id
|
|
4822
|
+
* @requiredField options
|
|
4823
|
+
* @requiredField options.serviceId
|
|
4824
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUP_UPDATE
|
|
4825
|
+
* @applicableIdentity APP
|
|
4826
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.UpdateAddOnGroup
|
|
4827
|
+
*/
|
|
4828
|
+
declare function updateAddOnGroup(addOnGroup: NonNullablePaths<AddOnGroup, `_id`, 2>, options: NonNullablePaths<UpdateAddOnGroupOptions, `serviceId`, 2>): Promise<NonNullablePaths<UpdateAddOnGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
4829
|
+
__applicationErrorsType?: UpdateAddOnGroupApplicationErrors;
|
|
4830
|
+
}>;
|
|
4831
|
+
interface UpdateAddOnGroupOptions {
|
|
4832
|
+
/**
|
|
4833
|
+
* ID of the service that contains the AddOnGroup.
|
|
4834
|
+
* @format GUID
|
|
4835
|
+
*/
|
|
4836
|
+
serviceId: string | null;
|
|
4837
|
+
}
|
|
4838
|
+
/**
|
|
4839
|
+
* Retrieves a list of AddOnGroups including enriched AddOn details in the correct order.
|
|
4840
|
+
* If the group_id is specified, only the AddOns for the specified group will be returned,
|
|
4841
|
+
* otherwise all groups will be returned.
|
|
4842
|
+
* @param serviceId - ID of the service to retrieve AddOnGroups for.
|
|
4843
|
+
* @public
|
|
4844
|
+
* @documentationMaturity preview
|
|
4845
|
+
* @requiredField serviceId
|
|
4846
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_LIST
|
|
4847
|
+
* @applicableIdentity APP
|
|
4848
|
+
* @applicableIdentity VISITOR
|
|
4849
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.ListAddOnGroupsByServiceId
|
|
4850
|
+
*/
|
|
4851
|
+
declare function listAddOnGroupsByServiceId(serviceId: string, options?: ListAddOnGroupsByServiceIdOptions): Promise<NonNullablePaths<ListAddOnGroupsByServiceIdResponse, `addOnGroupsDetails`, 2>>;
|
|
4852
|
+
interface ListAddOnGroupsByServiceIdOptions {
|
|
4853
|
+
/**
|
|
4854
|
+
* List of group ids to return. If not provided, all groups are returned.
|
|
4855
|
+
* @format GUID
|
|
4856
|
+
* @maxSize 3
|
|
4857
|
+
*/
|
|
4858
|
+
groupIds?: string[] | null;
|
|
4859
|
+
}
|
|
4860
|
+
/**
|
|
4861
|
+
* Sets the AddOns for a specific group.
|
|
4862
|
+
* The order of the AddOns in the list will be used to determine their display order.
|
|
4863
|
+
* @param serviceId - The service ID to set AddOns for.
|
|
4864
|
+
* @public
|
|
4865
|
+
* @documentationMaturity preview
|
|
4866
|
+
* @requiredField options
|
|
4867
|
+
* @requiredField options.addOnIds
|
|
4868
|
+
* @requiredField options.groupId
|
|
4869
|
+
* @requiredField serviceId
|
|
4870
|
+
* @permissionId BOOKINGS.SERVICES_ADD_ON_GROUPS_SET_ADD_ONS
|
|
4871
|
+
* @applicableIdentity APP
|
|
4872
|
+
* @fqn wix.bookings.services.v2.AddOnGroupsService.SetAddOnsForGroup
|
|
4873
|
+
*/
|
|
4874
|
+
declare function setAddOnsForGroup(serviceId: string, options: NonNullablePaths<SetAddOnsForGroupOptions, `addOnIds` | `groupId`, 2>): Promise<NonNullablePaths<SetAddOnsForGroupResponse, `addOnGroup.addOnIds`, 3> & {
|
|
4875
|
+
__applicationErrorsType?: SetAddOnsForGroupApplicationErrors;
|
|
4876
|
+
}>;
|
|
4877
|
+
interface SetAddOnsForGroupOptions {
|
|
4878
|
+
/**
|
|
4879
|
+
* The group ID to set AddOns for.
|
|
4880
|
+
* @format GUID
|
|
4881
|
+
*/
|
|
4882
|
+
groupId: string | null;
|
|
4883
|
+
/**
|
|
4884
|
+
* The IDs of AddOns to set.
|
|
4885
|
+
* @format GUID
|
|
4886
|
+
* @minSize 1
|
|
4887
|
+
* @maxSize 7
|
|
4888
|
+
*/
|
|
4889
|
+
addOnIds: string[] | null;
|
|
4890
|
+
}
|
|
4891
4891
|
|
|
4892
|
-
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 ResourcesPolicy 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, LocationType as a8, WebhookIdentityType as a9, type Form as aA, type FormSettings as aB, type Payment as aC, type PaymentRateOneOf as aD, type FixedPayment as aE, type Money as aF, type CustomPayment as aG, type VariedPayment as aH, type PaymentOptions as aI, type OnlineBooking as aJ, type Conferencing as aK, type LocationOptionsOneOf as aL, type CommonAddress as aM, type CommonAddressStreetOneOf as aN, type StreetAddress as aO, type AddressLocation as aP, type BusinessLocationOptions as aQ, type CustomLocationOptions as aR, type BookingPolicy as aS, type PolicyDescription as aT, type LimitEarlyBookingPolicy as aU, type LimitLateBookingPolicy as aV, type BookAfterStartPolicy as aW, type CancellationPolicy as aX, type ReschedulePolicy as aY, type WaitlistPolicy as aZ, type ParticipantsPolicy as a_, V2RequestedFields as aa, SortOrder as ab, SortType as ac, SortDirection as ad, MissingValues as ae, ScalarType as af, NestedAggregationType as ag, Interval as ah, AggregationType as ai, Mode as aj, RequestedFields as ak, Action as al, InvalidSlugError as am, CloneErrors as an, Status as ao, CategoryNotificationEvent as ap, BenefitType as aq, Event as ar, CrudType as as, PlacementType as at, DayOfWeek as au, ResolutionMethod as av, type Media as aw, type MediaItem as ax, type MediaItemItemOneOf as ay, type V2Category as az, type DeleteAddOnGroupApplicationErrors as b, type GetServiceAvailabilityConstraintsResponse as b$, type CancellationFeePolicy as b0, type CancellationWindow as b1, type CancellationWindowFeeOneOf as b2, type SaveCreditCardPolicy as b3, type Schedule as b4, type AvailabilityConstraints as b5, type Duration as b6, type StaffMember as b7, type StaffMediaItem as b8, type StaffMediaItemItemOneOf as b9, type EntityDeletedEvent as bA, type ActionEvent as bB, type MessageEnvelope as bC, type IdentificationData as bD, type IdentificationDataIdOneOf as bE, type CreateAddOnGroupRequest as bF, type DeleteAddOnGroupRequest as bG, type DeleteAddOnGroupResponse as bH, type UpdateAddOnGroupRequest as bI, type ListAddOnGroupsByServiceIdRequest as bJ, type AddOn as bK, type AddOnAddOnInfoOneOf as bL, type AddOnGroupDetail as bM, type SetAddOnsForGroupRequest as bN, type CreateServiceRequest as bO, type CreateServiceResponse as bP, type ValidateServiceRequest as bQ, type ValidateServiceResponse as bR, type FieldViolation as bS, type BulkCreateServicesRequest as bT, type BulkServiceResult as bU, type ItemMetadata as bV, type ApplicationError as bW, type BulkActionMetadata as bX, type GetServiceRequest as bY, type GetServiceResponse as bZ, type GetServiceAvailabilityConstraintsRequest as b_, type StaffMemberDetails as ba, type ResourceGroup as bb, type ResourceIds as bc, type ServiceResource as bd, type ServiceResourceSelectionOneOf as be, type ResourceType as bf, type Slug as bg, type URLs as bh, type ExtendedFields as bi, type SeoSchema as bj, type Keyword as bk, type Tag as bl, type Settings as bm, type AddOnDetails as bn, type ReindexMessage as bo, type ReindexMessageActionOneOf as bp, type Upsert as bq, type Delete as br, type Schema as bs, type SetCustomSlugEvent as bt, type ServicesUrlsChanged as bu, type DomainEvent as bv, type DomainEventBodyOneOf as bw, type EntityCreatedEvent as bx, type RestoreInfo as by, type EntityUpdatedEvent as bz, type UpdateAddOnGroupResponse as c, type BookingPolicyWithServices as c$, type ServiceAvailabilityConstraints as c0, type SplitInterval as c1, type UpdateServiceRequest as c2, type UpdateServiceResponse as c3, type BulkUpdateServicesRequest as c4, type MaskedService as c5, type BulkUpdateServicesByFilterRequest as c6, type DeleteServiceRequest as c7, type ParticipantNotification as c8, type DeleteServiceResponse as c9, type GroupByAggregation as cA, type GroupByAggregationKindOneOf as cB, type SearchDetails as cC, type CursorPagingMetadata as cD, type AggregationData as cE, type ValueAggregationResult as cF, type RangeAggregationResult as cG, type NestedAggregationResults as cH, type NestedAggregationResultsResultOneOf as cI, type ValueResults as cJ, type RangeResults as cK, type AggregationResultsScalarResult as cL, type NestedValueAggregationResult as cM, type ValueResult as cN, type RangeResult as cO, type ScalarResult as cP, type NestedResultValue as cQ, type NestedResultValueResultOneOf as cR, type Results as cS, type DateHistogramResult as cT, type GroupByValueResults as cU, type DateHistogramResults as cV, type NestedResults as cW, type AggregationResults as cX, type AggregationResultsResultOneOf as cY, type QueryPoliciesRequest as cZ, type CursorQueryPagingMethodOneOf as c_, type BulkDeleteServicesRequest as ca, type BulkDeleteServicesByFilterRequest as cb, type QueryServicesRequest as cc, type QueryV2 as cd, type QueryV2PagingMethodOneOf as ce, type Sorting as cf, type Paging as cg, type CursorPaging as ch, type QueryServicesResponse as ci, type PagingMetadataV2 as cj, type Cursors as ck, type SearchServicesRequest as cl, type CursorSearch as cm, type CursorSearchPagingMethodOneOf as cn, type Aggregation as co, type AggregationKindOneOf as cp, type RangeBucket as cq, type IncludeMissingValuesOptions as cr, type ValueAggregation as cs, type ValueAggregationOptionsOneOf as ct, type RangeAggregation as cu, type ScalarAggregation as cv, type DateHistogramAggregation as cw, type NestedAggregationItem as cx, type NestedAggregationItemKindOneOf as cy, type NestedAggregation as cz, type UpdateAddOnGroupApplicationErrors as d, type RateTypeWithLiterals as d$, type QueryBookingFormsRequest as d0, type BookingForm as d1, type FormDetails as d2, type ConnectedService as d3, type CountServicesRequest as d4, type QueryLocationsRequest as d5, type QueryLocationsFilter as d6, type BusinessLocations as d7, type CustomLocations as d8, type CustomerLocations as d9, type HtmlSitePublished as dA, type Page as dB, type SitePropertiesNotification as dC, type SitePropertiesEvent as dD, type Properties as dE, type Categories as dF, type Locale as dG, type Address as dH, type AddressHint as dI, type GeoCoordinates as dJ, type BusinessSchedule as dK, type TimePeriod as dL, type SpecialHourPeriod as dM, type Multilingual as dN, type SupportedLanguage as dO, type ConsentPolicy as dP, type Translation as dQ, type ChangeContext as dR, type ChangeContextPayloadOneOf as dS, type PropertiesChange as dT, type SiteCreated as dU, type SiteCloned as dV, type BaseEventMetadata as dW, type EventMetadata as dX, type ServicesQueryResult as dY, type ServiceSearchSpec as dZ, type ServiceTypeWithLiterals as d_, type QueryCategoriesRequest as da, type QueryCategoriesFilter as db, type QueryServicesMultiLanguageRequest as dc, type QueryServicesMultiLanguageResponse as dd, type SetServiceLocationsRequest as de, type RemovedLocationSessionsAction as df, type RemovedLocationSessionsActionActionOptionsOneOf as dg, type MoveToNewLocationsOptions as dh, type EnablePricingPlansForServiceRequest as di, type InvalidPricingPlan as dj, type DisablePricingPlansForServiceRequest as dk, type SetCustomSlugRequest as dl, type ValidateSlugRequest as dm, type CloneServiceRequest as dn, type CategoryNotification as dp, type Category as dq, type Empty as dr, type BenefitNotification as ds, type Benefit as dt, type EntryPass as du, type Discount as dv, type DiscountDiscountOneOf as dw, type Behavior as dx, type BehaviorBehaviorOneOf as dy, type UserDomainInfoChangedEvent as dz, type ListAddOnGroupsByServiceIdResponse as e, type LocationTypeWithLiterals as e0, type WebhookIdentityTypeWithLiterals as e1, type V2RequestedFieldsWithLiterals as e2, type SortOrderWithLiterals as e3, type SortTypeWithLiterals as e4, type SortDirectionWithLiterals as e5, type MissingValuesWithLiterals as e6, type ScalarTypeWithLiterals as e7, type NestedAggregationTypeWithLiterals as e8, type IntervalWithLiterals as e9, updateService as eA, bulkUpdateServices as eB, bulkUpdateServicesByFilter as eC, deleteService as eD, bulkDeleteServices as eE, bulkDeleteServicesByFilter as eF, queryServices as eG, queryPolicies as eH, queryBookingForms as eI, countServices as eJ, queryLocations as eK, queryCategories as eL, setServiceLocations as eM, enablePricingPlansForService as eN, disablePricingPlansForService as eO, setCustomSlug as eP, validateSlug as eQ, cloneService as eR, type AggregationTypeWithLiterals as ea, type ModeWithLiterals as eb, type RequestedFieldsWithLiterals as ec, type ActionWithLiterals as ed, type InvalidSlugErrorWithLiterals as ee, type CloneErrorsWithLiterals as ef, type StatusWithLiterals as eg, type CategoryNotificationEventWithLiterals as eh, type BenefitTypeWithLiterals as ei, type EventWithLiterals as ej, type CrudTypeWithLiterals as ek, type PlacementTypeWithLiterals as el, type DayOfWeekWithLiterals as em, type ResolutionMethodWithLiterals as en, type CommonSearchWithEntityContext as eo, onServiceCreated as ep, onServiceDeleted as eq, onServiceUpdated as er, createAddOnGroup as es, deleteAddOnGroup as et, updateAddOnGroup as eu, listAddOnGroupsByServiceId as ev, setAddOnsForGroup as ew, createService as ex, bulkCreateServices as ey, getService 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 };
|
|
4892
|
+
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 ResourcesPolicy 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, LocationType as a8, WebhookIdentityType as a9, type Form as aA, type FormSettings as aB, type Payment as aC, type PaymentRateOneOf as aD, type FixedPayment as aE, type Money as aF, type CustomPayment as aG, type VariedPayment as aH, type PaymentOptions as aI, type OnlineBooking as aJ, type Conferencing as aK, type LocationOptionsOneOf as aL, type CommonAddress as aM, type CommonAddressStreetOneOf as aN, type StreetAddress as aO, type AddressLocation as aP, type BusinessLocationOptions as aQ, type CustomLocationOptions as aR, type BookingPolicy as aS, type PolicyDescription as aT, type LimitEarlyBookingPolicy as aU, type LimitLateBookingPolicy as aV, type BookAfterStartPolicy as aW, type CancellationPolicy as aX, type ReschedulePolicy as aY, type WaitlistPolicy as aZ, type ParticipantsPolicy as a_, V2RequestedFields as aa, SortOrder as ab, SortType as ac, SortDirection as ad, MissingValues as ae, ScalarType as af, NestedAggregationType as ag, Interval as ah, AggregationType as ai, Mode as aj, RequestedFields as ak, Action as al, InvalidSlugError as am, CloneErrors as an, Status as ao, CategoryNotificationEvent as ap, BenefitType as aq, Event as ar, CrudType as as, PlacementType as at, DayOfWeek as au, ResolutionMethod as av, type Media as aw, type MediaItem as ax, type MediaItemItemOneOf as ay, type V2Category as az, type UpdateServiceValidationErrors as b, type ParticipantNotification as b$, type CancellationFeePolicy as b0, type CancellationWindow as b1, type CancellationWindowFeeOneOf as b2, type SaveCreditCardPolicy as b3, type Schedule as b4, type AvailabilityConstraints as b5, type Duration as b6, type StaffMember as b7, type StaffMediaItem as b8, type StaffMediaItemItemOneOf as b9, type EntityDeletedEvent as bA, type ActionEvent as bB, type MessageEnvelope as bC, type IdentificationData as bD, type IdentificationDataIdOneOf as bE, type CreateServiceRequest as bF, type CreateServiceResponse as bG, type ValidateServiceRequest as bH, type ValidateServiceResponse as bI, type FieldViolation as bJ, type BulkCreateServicesRequest as bK, type BulkServiceResult as bL, type ItemMetadata as bM, type ApplicationError as bN, type BulkActionMetadata as bO, type GetServiceRequest as bP, type GetServiceResponse as bQ, type GetServiceAvailabilityConstraintsRequest as bR, type GetServiceAvailabilityConstraintsResponse as bS, type ServiceAvailabilityConstraints as bT, type SplitInterval as bU, type UpdateServiceRequest as bV, type UpdateServiceResponse as bW, type BulkUpdateServicesRequest as bX, type MaskedService as bY, type BulkUpdateServicesByFilterRequest as bZ, type DeleteServiceRequest as b_, type StaffMemberDetails as ba, type ResourceGroup as bb, type ResourceIds as bc, type ServiceResource as bd, type ServiceResourceSelectionOneOf as be, type ResourceType as bf, type Slug as bg, type URLs as bh, type ExtendedFields as bi, type SeoSchema as bj, type Keyword as bk, type Tag as bl, type Settings as bm, type AddOnDetails as bn, type ReindexMessage as bo, type ReindexMessageActionOneOf as bp, type Upsert as bq, type Delete as br, type Schema as bs, type SetCustomSlugEvent as bt, type ServicesUrlsChanged as bu, type DomainEvent as bv, type DomainEventBodyOneOf as bw, type EntityCreatedEvent as bx, type RestoreInfo as by, type EntityUpdatedEvent as bz, type BulkUpdateServicesOptions as c, type CustomLocations as c$, type DeleteServiceResponse as c0, type BulkDeleteServicesRequest as c1, type BulkDeleteServicesByFilterRequest as c2, type QueryServicesRequest as c3, type QueryV2 as c4, type QueryV2PagingMethodOneOf as c5, type Sorting as c6, type Paging as c7, type CursorPaging as c8, type QueryServicesResponse as c9, type ValueResults as cA, type RangeResults as cB, type AggregationResultsScalarResult as cC, type NestedValueAggregationResult as cD, type ValueResult as cE, type RangeResult as cF, type ScalarResult as cG, type NestedResultValue as cH, type NestedResultValueResultOneOf as cI, type Results as cJ, type DateHistogramResult as cK, type GroupByValueResults as cL, type DateHistogramResults as cM, type NestedResults as cN, type AggregationResults as cO, type AggregationResultsResultOneOf as cP, type QueryPoliciesRequest as cQ, type CursorQueryPagingMethodOneOf as cR, type BookingPolicyWithServices as cS, type QueryBookingFormsRequest as cT, type BookingForm as cU, type FormDetails as cV, type ConnectedService as cW, type CountServicesRequest as cX, type QueryLocationsRequest as cY, type QueryLocationsFilter as cZ, type BusinessLocations as c_, type PagingMetadataV2 as ca, type Cursors as cb, type SearchServicesRequest as cc, type CursorSearch as cd, type CursorSearchPagingMethodOneOf as ce, type Aggregation as cf, type AggregationKindOneOf as cg, type RangeBucket as ch, type IncludeMissingValuesOptions as ci, type ValueAggregation as cj, type ValueAggregationOptionsOneOf as ck, type RangeAggregation as cl, type ScalarAggregation as cm, type DateHistogramAggregation as cn, type NestedAggregationItem as co, type NestedAggregationItemKindOneOf as cp, type NestedAggregation as cq, type GroupByAggregation as cr, type GroupByAggregationKindOneOf as cs, type SearchDetails as ct, type CursorPagingMetadata as cu, type AggregationData as cv, type ValueAggregationResult as cw, type RangeAggregationResult as cx, type NestedAggregationResults as cy, type NestedAggregationResultsResultOneOf as cz, type BulkUpdateServicesResponse as d, type RateTypeWithLiterals as d$, type CustomerLocations as d0, type QueryCategoriesRequest as d1, type QueryCategoriesFilter as d2, type QueryServicesMultiLanguageRequest as d3, type QueryServicesMultiLanguageResponse as d4, type SetServiceLocationsRequest as d5, type RemovedLocationSessionsAction as d6, type RemovedLocationSessionsActionActionOptionsOneOf as d7, type MoveToNewLocationsOptions as d8, type EnablePricingPlansForServiceRequest as d9, type GeoCoordinates as dA, type BusinessSchedule as dB, type TimePeriod as dC, type SpecialHourPeriod as dD, type Multilingual as dE, type SupportedLanguage as dF, type ConsentPolicy as dG, type Translation as dH, type ChangeContext as dI, type ChangeContextPayloadOneOf as dJ, type PropertiesChange as dK, type SiteCreated as dL, type SiteCloned as dM, type CreateAddOnGroupRequest as dN, type DeleteAddOnGroupRequest as dO, type DeleteAddOnGroupResponse as dP, type UpdateAddOnGroupRequest as dQ, type ListAddOnGroupsByServiceIdRequest as dR, type AddOn as dS, type AddOnAddOnInfoOneOf as dT, type AddOnGroupDetail as dU, type SetAddOnsForGroupRequest as dV, type BaseEventMetadata as dW, type EventMetadata as dX, type ServicesQueryResult as dY, type ServiceSearchSpec as dZ, type ServiceTypeWithLiterals as d_, type InvalidPricingPlan as da, type DisablePricingPlansForServiceRequest as db, type SetCustomSlugRequest as dc, type ValidateSlugRequest as dd, type CloneServiceRequest as de, type CategoryNotification as df, type Category as dg, type Empty as dh, type BenefitNotification as di, type Benefit as dj, type EntryPass as dk, type Discount as dl, type DiscountDiscountOneOf as dm, type Behavior as dn, type BehaviorBehaviorOneOf as dp, type UserDomainInfoChangedEvent as dq, type HtmlSitePublished as dr, type Page as ds, type SitePropertiesNotification as dt, type SitePropertiesEvent as du, type Properties as dv, type Categories as dw, type Locale as dx, type Address as dy, type AddressHint as dz, type BulkUpdateServicesByFilterOptions as e, type LocationTypeWithLiterals as e0, type WebhookIdentityTypeWithLiterals as e1, type V2RequestedFieldsWithLiterals as e2, type SortOrderWithLiterals as e3, type SortTypeWithLiterals as e4, type SortDirectionWithLiterals as e5, type MissingValuesWithLiterals as e6, type ScalarTypeWithLiterals as e7, type NestedAggregationTypeWithLiterals as e8, type IntervalWithLiterals as e9, bulkDeleteServicesByFilter as eA, queryServices as eB, queryPolicies as eC, queryBookingForms as eD, countServices as eE, queryLocations as eF, queryCategories as eG, setServiceLocations as eH, enablePricingPlansForService as eI, disablePricingPlansForService as eJ, setCustomSlug as eK, validateSlug as eL, cloneService as eM, createAddOnGroup as eN, deleteAddOnGroup as eO, updateAddOnGroup as eP, listAddOnGroupsByServiceId as eQ, setAddOnsForGroup as eR, type AggregationTypeWithLiterals as ea, type ModeWithLiterals as eb, type RequestedFieldsWithLiterals as ec, type ActionWithLiterals as ed, type InvalidSlugErrorWithLiterals as ee, type CloneErrorsWithLiterals as ef, type StatusWithLiterals as eg, type CategoryNotificationEventWithLiterals as eh, type BenefitTypeWithLiterals as ei, type EventWithLiterals as ej, type CrudTypeWithLiterals as ek, type PlacementTypeWithLiterals as el, type DayOfWeekWithLiterals as em, type ResolutionMethodWithLiterals as en, type CommonSearchWithEntityContext as eo, onServiceCreated as ep, onServiceDeleted as eq, onServiceUpdated as er, createService as es, bulkCreateServices as et, getService as eu, updateService as ev, bulkUpdateServices as ew, bulkUpdateServicesByFilter as ex, deleteService as ey, bulkDeleteServices as ez, 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 };
|