@wix/auto_sdk_bookings_services 1.0.61 → 1.0.62
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-DD93tnK_.d.ts → bookings-services-v2-service-services.universal-D4FwlNie.d.ts} +167 -167
- package/build/cjs/index.d.ts +2 -2
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/meta.d.ts +1 -1
- package/build/es/{bookings-services-v2-service-services.universal-DD93tnK_.d.mts → bookings-services-v2-service-services.universal-D4FwlNie.d.mts} +167 -167
- package/build/es/index.d.mts +2 -2
- package/build/es/index.mjs.map +1 -1
- package/build/es/meta.d.mts +1 -1
- package/build/internal/cjs/{bookings-services-v2-service-services.universal-DD93tnK_.d.ts → bookings-services-v2-service-services.universal-D4FwlNie.d.ts} +167 -167
- package/build/internal/cjs/index.d.ts +2 -2
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/meta.d.ts +1 -1
- package/build/internal/es/{bookings-services-v2-service-services.universal-DD93tnK_.d.mts → bookings-services-v2-service-services.universal-D4FwlNie.d.mts} +167 -167
- package/build/internal/es/index.d.mts +2 -2
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/meta.d.mts +1 -1
- package/package.json +2 -2
|
@@ -1338,6 +1338,172 @@ 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
|
+
interface ValidateAddOnsSelectionRequest {
|
|
1474
|
+
/**
|
|
1475
|
+
* The service ID to validate AddOns against.
|
|
1476
|
+
* @format GUID
|
|
1477
|
+
*/
|
|
1478
|
+
serviceId?: string | null;
|
|
1479
|
+
/**
|
|
1480
|
+
* The group ID to validate AddOns against.
|
|
1481
|
+
* @format GUID
|
|
1482
|
+
*/
|
|
1483
|
+
groupId?: string | null;
|
|
1484
|
+
/**
|
|
1485
|
+
* The IDs of AddOns to validate.
|
|
1486
|
+
* @format GUID
|
|
1487
|
+
* @minSize 1
|
|
1488
|
+
* @maxSize 7
|
|
1489
|
+
*/
|
|
1490
|
+
addOnIds?: string[] | null;
|
|
1491
|
+
}
|
|
1492
|
+
interface ValidateAddOnsSelectionResponse {
|
|
1493
|
+
/** The validation result. */
|
|
1494
|
+
result?: ValidationResult;
|
|
1495
|
+
}
|
|
1496
|
+
interface ValidationResult {
|
|
1497
|
+
/** Whether the AddOns selection is valid. */
|
|
1498
|
+
valid?: boolean | null;
|
|
1499
|
+
/**
|
|
1500
|
+
* A validation error message.
|
|
1501
|
+
* This field should populated when `valid` is `false`.
|
|
1502
|
+
* @minLength 1
|
|
1503
|
+
* @maxLength 300
|
|
1504
|
+
*/
|
|
1505
|
+
message?: string | null;
|
|
1506
|
+
}
|
|
1341
1507
|
interface CreateServiceRequest {
|
|
1342
1508
|
/** Service to create. */
|
|
1343
1509
|
service: Service;
|
|
@@ -3176,172 +3342,6 @@ interface SiteCloned {
|
|
|
3176
3342
|
/** Origin site id. */
|
|
3177
3343
|
originMetaSiteId?: string;
|
|
3178
3344
|
}
|
|
3179
|
-
interface CreateAddOnGroupRequest {
|
|
3180
|
-
/** AddOnGroup to create. */
|
|
3181
|
-
addOnGroup?: AddOnGroup;
|
|
3182
|
-
/**
|
|
3183
|
-
* ID of the service to create the AddOnGroup for.
|
|
3184
|
-
* @format GUID
|
|
3185
|
-
*/
|
|
3186
|
-
serviceId?: string | null;
|
|
3187
|
-
}
|
|
3188
|
-
interface CreateAddOnGroupResponse {
|
|
3189
|
-
/** Created AddOnGroup. */
|
|
3190
|
-
addOnGroup?: AddOnGroup;
|
|
3191
|
-
}
|
|
3192
|
-
interface DeleteAddOnGroupRequest {
|
|
3193
|
-
/**
|
|
3194
|
-
* ID of the AddOnGroup to delete.
|
|
3195
|
-
* @format GUID
|
|
3196
|
-
*/
|
|
3197
|
-
addOnGroupId?: string | null;
|
|
3198
|
-
/**
|
|
3199
|
-
* ID of the service from which to delete the AddOnGroup.
|
|
3200
|
-
* @format GUID
|
|
3201
|
-
*/
|
|
3202
|
-
serviceId?: string | null;
|
|
3203
|
-
}
|
|
3204
|
-
interface DeleteAddOnGroupResponse {
|
|
3205
|
-
}
|
|
3206
|
-
interface UpdateAddOnGroupRequest {
|
|
3207
|
-
/** AddOnGroup to update. */
|
|
3208
|
-
addOnGroup?: AddOnGroup;
|
|
3209
|
-
/**
|
|
3210
|
-
* ID of the service that contains the AddOnGroup.
|
|
3211
|
-
* @format GUID
|
|
3212
|
-
*/
|
|
3213
|
-
serviceId?: string | null;
|
|
3214
|
-
}
|
|
3215
|
-
interface UpdateAddOnGroupResponse {
|
|
3216
|
-
/** Updated AddOnGroup */
|
|
3217
|
-
addOnGroup?: AddOnGroup;
|
|
3218
|
-
}
|
|
3219
|
-
interface ListAddOnGroupsByServiceIdRequest {
|
|
3220
|
-
/**
|
|
3221
|
-
* ID of the service to retrieve AddOnGroups for.
|
|
3222
|
-
* @format GUID
|
|
3223
|
-
*/
|
|
3224
|
-
serviceId?: string | null;
|
|
3225
|
-
/**
|
|
3226
|
-
* List of group ids to return. If not provided, all groups are returned.
|
|
3227
|
-
* @format GUID
|
|
3228
|
-
* @maxSize 3
|
|
3229
|
-
*/
|
|
3230
|
-
groupIds?: string[] | null;
|
|
3231
|
-
}
|
|
3232
|
-
interface ListAddOnGroupsByServiceIdResponse {
|
|
3233
|
-
/**
|
|
3234
|
-
* List of group IDs and their linked AddOns.
|
|
3235
|
-
* @maxSize 3
|
|
3236
|
-
*/
|
|
3237
|
-
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
3238
|
-
}
|
|
3239
|
-
interface AddOn extends AddOnAddOnInfoOneOf {
|
|
3240
|
-
/** The AddOn description. */
|
|
3241
|
-
durationInMinutes?: number;
|
|
3242
|
-
/** The AddOn max quantity. */
|
|
3243
|
-
maxQuantity?: number;
|
|
3244
|
-
/**
|
|
3245
|
-
* The AddOn ID.
|
|
3246
|
-
* @format GUID
|
|
3247
|
-
*/
|
|
3248
|
-
addOnId?: string | null;
|
|
3249
|
-
/**
|
|
3250
|
-
* The AddOn name.
|
|
3251
|
-
* @maxLength 100
|
|
3252
|
-
*/
|
|
3253
|
-
name?: string | null;
|
|
3254
|
-
/** The AddOn price. */
|
|
3255
|
-
price?: Money;
|
|
3256
|
-
}
|
|
3257
|
-
/** @oneof */
|
|
3258
|
-
interface AddOnAddOnInfoOneOf {
|
|
3259
|
-
/** The AddOn description. */
|
|
3260
|
-
durationInMinutes?: number;
|
|
3261
|
-
/** The AddOn max quantity. */
|
|
3262
|
-
maxQuantity?: number;
|
|
3263
|
-
}
|
|
3264
|
-
interface AddOnGroupDetail {
|
|
3265
|
-
/**
|
|
3266
|
-
* The group ID.
|
|
3267
|
-
* @format GUID
|
|
3268
|
-
*/
|
|
3269
|
-
groupId?: string | null;
|
|
3270
|
-
/** The group max number of AddOns. */
|
|
3271
|
-
maxNumberOfAddOns?: number | null;
|
|
3272
|
-
/**
|
|
3273
|
-
* The group name.
|
|
3274
|
-
* @maxLength 100
|
|
3275
|
-
*/
|
|
3276
|
-
groupName?: string | null;
|
|
3277
|
-
/**
|
|
3278
|
-
* The AddOns information linked to the group.
|
|
3279
|
-
* @maxSize 7
|
|
3280
|
-
*/
|
|
3281
|
-
addOns?: AddOn[];
|
|
3282
|
-
/**
|
|
3283
|
-
* The group prompt.
|
|
3284
|
-
* @maxLength 200
|
|
3285
|
-
*/
|
|
3286
|
-
prompt?: string | null;
|
|
3287
|
-
}
|
|
3288
|
-
interface SetAddOnsForGroupRequest {
|
|
3289
|
-
/**
|
|
3290
|
-
* The service ID to set AddOns for.
|
|
3291
|
-
* @format GUID
|
|
3292
|
-
*/
|
|
3293
|
-
serviceId?: string | null;
|
|
3294
|
-
/**
|
|
3295
|
-
* The group ID to set AddOns for.
|
|
3296
|
-
* @format GUID
|
|
3297
|
-
*/
|
|
3298
|
-
groupId?: string | null;
|
|
3299
|
-
/**
|
|
3300
|
-
* The IDs of AddOns to set.
|
|
3301
|
-
* @format GUID
|
|
3302
|
-
* @minSize 1
|
|
3303
|
-
* @maxSize 7
|
|
3304
|
-
*/
|
|
3305
|
-
addOnIds?: string[] | null;
|
|
3306
|
-
}
|
|
3307
|
-
interface SetAddOnsForGroupResponse {
|
|
3308
|
-
/** The updated AddOnGroup. */
|
|
3309
|
-
addOnGroup?: AddOnGroup;
|
|
3310
|
-
}
|
|
3311
|
-
interface ValidateAddOnsSelectionRequest {
|
|
3312
|
-
/**
|
|
3313
|
-
* The service ID to validate AddOns against.
|
|
3314
|
-
* @format GUID
|
|
3315
|
-
*/
|
|
3316
|
-
serviceId?: string | null;
|
|
3317
|
-
/**
|
|
3318
|
-
* The group ID to validate AddOns against.
|
|
3319
|
-
* @format GUID
|
|
3320
|
-
*/
|
|
3321
|
-
groupId?: string | null;
|
|
3322
|
-
/**
|
|
3323
|
-
* The IDs of AddOns to validate.
|
|
3324
|
-
* @format GUID
|
|
3325
|
-
* @minSize 1
|
|
3326
|
-
* @maxSize 7
|
|
3327
|
-
*/
|
|
3328
|
-
addOnIds?: string[] | null;
|
|
3329
|
-
}
|
|
3330
|
-
interface ValidateAddOnsSelectionResponse {
|
|
3331
|
-
/** The validation result. */
|
|
3332
|
-
result?: ValidationResult;
|
|
3333
|
-
}
|
|
3334
|
-
interface ValidationResult {
|
|
3335
|
-
/** Whether the AddOns selection is valid. */
|
|
3336
|
-
valid?: boolean | null;
|
|
3337
|
-
/**
|
|
3338
|
-
* A validation error message.
|
|
3339
|
-
* This field should populated when `valid` is `false`.
|
|
3340
|
-
* @minLength 1
|
|
3341
|
-
* @maxLength 300
|
|
3342
|
-
*/
|
|
3343
|
-
message?: string | null;
|
|
3344
|
-
}
|
|
3345
3345
|
interface BaseEventMetadata {
|
|
3346
3346
|
/**
|
|
3347
3347
|
* App instance ID.
|
|
@@ -3903,4 +3903,4 @@ interface ValidateSlugOptions {
|
|
|
3903
3903
|
slug?: string;
|
|
3904
3904
|
}
|
|
3905
3905
|
|
|
3906
|
-
export { Mode as $, type ValidateSlugResponse as A, type BulkCreateServicesOptions as B, type CursorQuery as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type CloneServiceResponse as F, type ServiceCreatedEnvelope as G, type ServiceDeletedEnvelope as H, type ServiceUpdatedEnvelope as I, ServiceType as J, LocationType as K, type Location as L, V2RequestedFields as M, SortOrder as N, SortType as O, SortDirection as P, type QueryPoliciesResponse as Q, RateType as R, type Service as S, MissingValues as T, type UpdateService as U, type ValidateSlugOptions as V, WebhookIdentityType as W, ScalarType as X, NestedAggregationType as Y, Interval as Z, AggregationType as _, type BulkCreateServicesResponse as a, type SeoSchema as a$, RequestedFields as a0, Action as a1, InvalidSlugError as a2, CloneErrors as a3, Status as a4, CategoryNotificationEvent as a5, BenefitType as a6, Event as a7, CrudType as a8, PlacementType as a9, type LimitEarlyBookingPolicy as aA, type LimitLateBookingPolicy as aB, type BookAfterStartPolicy as aC, type CancellationPolicy as aD, type ReschedulePolicy as aE, type WaitlistPolicy as aF, type ParticipantsPolicy as aG, type ResourcesPolicy as aH, type CancellationFeePolicy as aI, type CancellationWindow as aJ, type CancellationWindowFeeOneOf as aK, type SaveCreditCardPolicy as aL, type Schedule as aM, type AvailabilityConstraints as aN, type Duration as aO, type StaffMember as aP, type StaffMediaItem as aQ, type StaffMediaItemItemOneOf as aR, type StaffMemberDetails as aS, type ResourceGroup as aT, type ResourceIds as aU, type ServiceResource as aV, type ServiceResourceSelectionOneOf as aW, type ResourceType as aX, type Slug as aY, type URLs as aZ, type ExtendedFields as a_, DayOfWeek as aa, ResolutionMethod as ab, type Media as ac, type MediaItem as ad, type MediaItemItemOneOf as ae, type V2Category as af, type Form as ag, type FormSettings as ah, type Payment as ai, type PaymentRateOneOf as aj, type FixedPayment as ak, type Money as al, type CustomPayment as am, type VariedPayment as an, type PaymentOptions as ao, type OnlineBooking as ap, type Conferencing as aq, type LocationOptionsOneOf as ar, type CommonAddress as as, type CommonAddressStreetOneOf as at, type StreetAddress as au, type AddressLocation as av, type BusinessLocationOptions as aw, type CustomLocationOptions as ax, type BookingPolicy as ay, type PolicyDescription as az, type BulkUpdateServicesOptions as b, type
|
|
3906
|
+
export { Mode as $, type ValidateSlugResponse as A, type BulkCreateServicesOptions as B, type CursorQuery as C, type DeleteServiceOptions as D, type EnablePricingPlansForServiceResponse as E, type CloneServiceResponse as F, type ServiceCreatedEnvelope as G, type ServiceDeletedEnvelope as H, type ServiceUpdatedEnvelope as I, ServiceType as J, LocationType as K, type Location as L, V2RequestedFields as M, SortOrder as N, SortType as O, SortDirection as P, type QueryPoliciesResponse as Q, RateType as R, type Service as S, MissingValues as T, type UpdateService as U, type ValidateSlugOptions as V, WebhookIdentityType as W, ScalarType as X, NestedAggregationType as Y, Interval as Z, AggregationType as _, type BulkCreateServicesResponse as a, type SeoSchema as a$, RequestedFields as a0, Action as a1, InvalidSlugError as a2, CloneErrors as a3, Status as a4, CategoryNotificationEvent as a5, BenefitType as a6, Event as a7, CrudType as a8, PlacementType as a9, type LimitEarlyBookingPolicy as aA, type LimitLateBookingPolicy as aB, type BookAfterStartPolicy as aC, type CancellationPolicy as aD, type ReschedulePolicy as aE, type WaitlistPolicy as aF, type ParticipantsPolicy as aG, type ResourcesPolicy as aH, type CancellationFeePolicy as aI, type CancellationWindow as aJ, type CancellationWindowFeeOneOf as aK, type SaveCreditCardPolicy as aL, type Schedule as aM, type AvailabilityConstraints as aN, type Duration as aO, type StaffMember as aP, type StaffMediaItem as aQ, type StaffMediaItemItemOneOf as aR, type StaffMemberDetails as aS, type ResourceGroup as aT, type ResourceIds as aU, type ServiceResource as aV, type ServiceResourceSelectionOneOf as aW, type ResourceType as aX, type Slug as aY, type URLs as aZ, type ExtendedFields as a_, DayOfWeek as aa, ResolutionMethod as ab, type Media as ac, type MediaItem as ad, type MediaItemItemOneOf as ae, type V2Category as af, type Form as ag, type FormSettings as ah, type Payment as ai, type PaymentRateOneOf as aj, type FixedPayment as ak, type Money as al, type CustomPayment as am, type VariedPayment as an, type PaymentOptions as ao, type OnlineBooking as ap, type Conferencing as aq, type LocationOptionsOneOf as ar, type CommonAddress as as, type CommonAddressStreetOneOf as at, type StreetAddress as au, type AddressLocation as av, type BusinessLocationOptions as aw, type CustomLocationOptions as ax, type BookingPolicy as ay, type PolicyDescription as az, type BulkUpdateServicesOptions as b, type BulkDeleteServicesByFilterRequest as b$, type Keyword as b0, type Tag as b1, type Settings as b2, type AddOnGroup as b3, type AddOnDetails as b4, type ReindexMessage as b5, type ReindexMessageActionOneOf as b6, type Upsert as b7, type Delete as b8, type Schema as b9, type ValidateAddOnsSelectionResponse as bA, type ValidationResult as bB, type CreateServiceRequest as bC, type CreateServiceResponse as bD, type ValidateServiceRequest as bE, type ValidateServiceResponse as bF, type FieldViolation as bG, type BulkCreateServicesRequest as bH, type BulkServiceResult as bI, type ItemMetadata as bJ, type ApplicationError as bK, type BulkActionMetadata as bL, type GetServiceRequest as bM, type GetServiceResponse as bN, type GetServiceAvailabilityConstraintsRequest as bO, type GetServiceAvailabilityConstraintsResponse as bP, type ServiceAvailabilityConstraints as bQ, type SplitInterval as bR, type UpdateServiceRequest as bS, type UpdateServiceResponse as bT, type BulkUpdateServicesRequest as bU, type MaskedService as bV, type BulkUpdateServicesByFilterRequest as bW, type DeleteServiceRequest as bX, type ParticipantNotification as bY, type DeleteServiceResponse as bZ, type BulkDeleteServicesRequest as b_, type SetCustomSlugEvent as ba, type ServicesUrlsChanged as bb, type DomainEvent as bc, type DomainEventBodyOneOf as bd, type EntityCreatedEvent as be, type RestoreInfo as bf, type EntityUpdatedEvent as bg, type EntityDeletedEvent as bh, type ActionEvent as bi, type MessageEnvelope as bj, type IdentificationData as bk, type IdentificationDataIdOneOf as bl, type CreateAddOnGroupRequest as bm, type CreateAddOnGroupResponse as bn, type DeleteAddOnGroupRequest as bo, type DeleteAddOnGroupResponse as bp, type UpdateAddOnGroupRequest as bq, type UpdateAddOnGroupResponse as br, type ListAddOnGroupsByServiceIdRequest as bs, type ListAddOnGroupsByServiceIdResponse as bt, type AddOn as bu, type AddOnAddOnInfoOneOf as bv, type AddOnGroupDetail as bw, type SetAddOnsForGroupRequest as bx, type SetAddOnsForGroupResponse as by, type ValidateAddOnsSelectionRequest as bz, type BulkUpdateServicesResponse as c, type QueryCategoriesFilter as c$, type QueryServicesRequest as c0, type QueryV2 as c1, type QueryV2PagingMethodOneOf as c2, type Sorting as c3, type Paging as c4, type CursorPaging as c5, type QueryServicesResponse as c6, type PagingMetadataV2 as c7, type Cursors as c8, type SearchServicesRequest as c9, type NestedValueAggregationResult as cA, type ValueResult as cB, type RangeResult as cC, type ScalarResult as cD, type NestedResultValue as cE, type NestedResultValueResultOneOf as cF, type Results as cG, type DateHistogramResult as cH, type GroupByValueResults as cI, type DateHistogramResults as cJ, type NestedResults as cK, type AggregationResults as cL, type AggregationResultsResultOneOf as cM, type QueryPoliciesRequest as cN, type CursorQueryPagingMethodOneOf as cO, type BookingPolicyWithServices as cP, type QueryBookingFormsRequest as cQ, type BookingForm as cR, type FormDetails as cS, type ConnectedService as cT, type CountServicesRequest as cU, type QueryLocationsRequest as cV, type QueryLocationsFilter as cW, type BusinessLocations as cX, type CustomLocations as cY, type CustomerLocations as cZ, type QueryCategoriesRequest as c_, type CursorSearch as ca, type CursorSearchPagingMethodOneOf as cb, type Aggregation as cc, type AggregationKindOneOf as cd, type RangeBucket as ce, type IncludeMissingValuesOptions as cf, type ValueAggregation as cg, type ValueAggregationOptionsOneOf as ch, type RangeAggregation as ci, type ScalarAggregation as cj, type DateHistogramAggregation as ck, type NestedAggregationItem as cl, type NestedAggregationItemKindOneOf as cm, type NestedAggregation as cn, type GroupByAggregation as co, type GroupByAggregationKindOneOf as cp, type SearchDetails as cq, type CursorPagingMetadata as cr, type AggregationData as cs, type ValueAggregationResult as ct, type RangeAggregationResult as cu, type NestedAggregationResults as cv, type NestedAggregationResultsResultOneOf as cw, type ValueResults as cx, type RangeResults as cy, type AggregationResultsScalarResult as cz, type BulkUpdateServicesByFilterOptions as d, type QueryServicesMultiLanguageRequest as d0, type QueryServicesMultiLanguageResponse as d1, type SetServiceLocationsRequest as d2, type RemovedLocationSessionsAction as d3, type RemovedLocationSessionsActionActionOptionsOneOf as d4, type MoveToNewLocationsOptions as d5, type EnablePricingPlansForServiceRequest as d6, type InvalidPricingPlan as d7, type DisablePricingPlansForServiceRequest as d8, type SetCustomSlugRequest as d9, type SpecialHourPeriod as dA, type Multilingual as dB, type SupportedLanguage as dC, type ConsentPolicy as dD, type Translation as dE, type ChangeContext as dF, type ChangeContextPayloadOneOf as dG, type PropertiesChange as dH, type SiteCreated as dI, type SiteCloned as dJ, type BaseEventMetadata as dK, type EventMetadata as dL, type ServicesQueryResult as dM, type ServiceSearchSpec as dN, type ValidateSlugRequest as da, type CloneServiceRequest as db, type CategoryNotification as dc, type Category as dd, type Empty as de, type BenefitNotification as df, type Benefit as dg, type EntryPass as dh, type Discount as di, type DiscountDiscountOneOf as dj, type Behavior as dk, type BehaviorBehaviorOneOf as dl, type UserDomainInfoChangedEvent as dm, type HtmlSitePublished as dn, type Page as dp, type SitePropertiesNotification as dq, type SitePropertiesEvent as dr, type Properties as ds, type Categories as dt, type Locale as du, type Address as dv, type AddressHint as dw, type GeoCoordinates as dx, type BusinessSchedule as dy, type TimePeriod as dz, type BulkUpdateServicesByFilterResponse as e, type BulkDeleteServicesOptions as f, type BulkDeleteServicesResponse as g, type BulkDeleteServicesByFilterOptions as h, type BulkDeleteServicesByFilterResponse as i, type ServicesQueryBuilder as j, type ServiceSearch as k, type SearchServicesResponse as l, type QueryBookingFormsOptions as m, type QueryBookingFormsResponse as n, type CountServicesOptions as o, type CountServicesResponse as p, type QueryLocationsOptions as q, type QueryLocationsResponse as r, type QueryCategoriesOptions as s, type QueryCategoriesResponse as t, type SetServiceLocationsOptions as u, type SetServiceLocationsResponse as v, type DisablePricingPlansForServiceOptions as w, type DisablePricingPlansForServiceResponse as x, type SetCustomSlugOptions as y, type SetCustomSlugResponse as z };
|
package/build/cjs/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient, EventDefinition, MaybeContext, BuildRESTFunction, BuildEventDefinition } from '@wix/sdk-types';
|
|
2
|
-
import { S as Service, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, U as UpdateService, b as BulkUpdateServicesOptions, c as BulkUpdateServicesResponse, d as BulkUpdateServicesByFilterOptions, e as BulkUpdateServicesByFilterResponse, D as DeleteServiceOptions, f as BulkDeleteServicesOptions, g as BulkDeleteServicesResponse, h as BulkDeleteServicesByFilterOptions, i as BulkDeleteServicesByFilterResponse, j as ServicesQueryBuilder, k as ServiceSearch, l as SearchServicesResponse, C as CursorQuery, Q as QueryPoliciesResponse, m as QueryBookingFormsOptions, n as QueryBookingFormsResponse, o as CountServicesOptions, p as CountServicesResponse, q as QueryLocationsOptions, r as QueryLocationsResponse, s as QueryCategoriesOptions, t as QueryCategoriesResponse, L as Location, u as SetServiceLocationsOptions, v as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, w as DisablePricingPlansForServiceOptions, x as DisablePricingPlansForServiceResponse, y as SetCustomSlugOptions, z as SetCustomSlugResponse, V as ValidateSlugOptions, A as ValidateSlugResponse, F as CloneServiceResponse, G as ServiceCreatedEnvelope, H as ServiceDeletedEnvelope, I as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-
|
|
3
|
-
export { a1 as Action, bi as ActionEvent,
|
|
2
|
+
import { S as Service, B as BulkCreateServicesOptions, a as BulkCreateServicesResponse, U as UpdateService, b as BulkUpdateServicesOptions, c as BulkUpdateServicesResponse, d as BulkUpdateServicesByFilterOptions, e as BulkUpdateServicesByFilterResponse, D as DeleteServiceOptions, f as BulkDeleteServicesOptions, g as BulkDeleteServicesResponse, h as BulkDeleteServicesByFilterOptions, i as BulkDeleteServicesByFilterResponse, j as ServicesQueryBuilder, k as ServiceSearch, l as SearchServicesResponse, C as CursorQuery, Q as QueryPoliciesResponse, m as QueryBookingFormsOptions, n as QueryBookingFormsResponse, o as CountServicesOptions, p as CountServicesResponse, q as QueryLocationsOptions, r as QueryLocationsResponse, s as QueryCategoriesOptions, t as QueryCategoriesResponse, L as Location, u as SetServiceLocationsOptions, v as SetServiceLocationsResponse, E as EnablePricingPlansForServiceResponse, w as DisablePricingPlansForServiceOptions, x as DisablePricingPlansForServiceResponse, y as SetCustomSlugOptions, z as SetCustomSlugResponse, V as ValidateSlugOptions, A as ValidateSlugResponse, F as CloneServiceResponse, G as ServiceCreatedEnvelope, H as ServiceDeletedEnvelope, I as ServiceUpdatedEnvelope } from './bookings-services-v2-service-services.universal-D4FwlNie.js';
|
|
3
|
+
export { a1 as Action, bi as ActionEvent, bu as AddOn, bv as AddOnAddOnInfoOneOf, b4 as AddOnDetails, b3 as AddOnGroup, bw as AddOnGroupDetail, dv as Address, dw as AddressHint, av as AddressLocation, cc as Aggregation, cs as AggregationData, cd as AggregationKindOneOf, cL as AggregationResults, cM as AggregationResultsResultOneOf, cz as AggregationResultsScalarResult, _ as AggregationType, bK as ApplicationError, aN as AvailabilityConstraints, dK as BaseEventMetadata, dk as Behavior, dl as BehaviorBehaviorOneOf, dg as Benefit, df as BenefitNotification, a6 as BenefitType, aC as BookAfterStartPolicy, cR as BookingForm, ay as BookingPolicy, cP as BookingPolicyWithServices, bL as BulkActionMetadata, bH as BulkCreateServicesRequest, b$ as BulkDeleteServicesByFilterRequest, b_ as BulkDeleteServicesRequest, bI as BulkServiceResult, bW as BulkUpdateServicesByFilterRequest, bU as BulkUpdateServicesRequest, aw as BusinessLocationOptions, cX as BusinessLocations, dy as BusinessSchedule, aI as CancellationFeePolicy, aD as CancellationPolicy, aJ as CancellationWindow, aK as CancellationWindowFeeOneOf, dt as Categories, dd as Category, dc as CategoryNotification, a5 as CategoryNotificationEvent, dF as ChangeContext, dG as ChangeContextPayloadOneOf, a3 as CloneErrors, db as CloneServiceRequest, as as CommonAddress, at as CommonAddressStreetOneOf, aq as Conferencing, cT as ConnectedService, dD as ConsentPolicy, cU as CountServicesRequest, bm as CreateAddOnGroupRequest, bn as CreateAddOnGroupResponse, bC as CreateServiceRequest, bD as CreateServiceResponse, a8 as CrudType, c5 as CursorPaging, cr as CursorPagingMetadata, cO as CursorQueryPagingMethodOneOf, ca as CursorSearch, cb as CursorSearchPagingMethodOneOf, c8 as Cursors, ax as CustomLocationOptions, cY as CustomLocations, am as CustomPayment, cZ as CustomerLocations, ck as DateHistogramAggregation, cH as DateHistogramResult, cJ as DateHistogramResults, aa as DayOfWeek, b8 as Delete, bo as DeleteAddOnGroupRequest, bp as DeleteAddOnGroupResponse, bX as DeleteServiceRequest, bZ as DeleteServiceResponse, d8 as DisablePricingPlansForServiceRequest, di as Discount, dj as DiscountDiscountOneOf, bc as DomainEvent, bd as DomainEventBodyOneOf, aO as Duration, de as Empty, d6 as EnablePricingPlansForServiceRequest, be as EntityCreatedEvent, bh as EntityDeletedEvent, bg as EntityUpdatedEvent, dh as EntryPass, a7 as Event, dL as EventMetadata, a_ as ExtendedFields, bG as FieldViolation, ak as FixedPayment, ag as Form, cS as FormDetails, ah as FormSettings, dx as GeoCoordinates, bO as GetServiceAvailabilityConstraintsRequest, bP as GetServiceAvailabilityConstraintsResponse, bM as GetServiceRequest, bN as GetServiceResponse, co as GroupByAggregation, cp as GroupByAggregationKindOneOf, cI as GroupByValueResults, dn as HtmlSitePublished, bk as IdentificationData, bl as IdentificationDataIdOneOf, cf as IncludeMissingValuesOptions, Z as Interval, d7 as InvalidPricingPlan, a2 as InvalidSlugError, bJ as ItemMetadata, b0 as Keyword, aA as LimitEarlyBookingPolicy, aB as LimitLateBookingPolicy, bs as ListAddOnGroupsByServiceIdRequest, bt as ListAddOnGroupsByServiceIdResponse, du as Locale, ar as LocationOptionsOneOf, K as LocationType, bV as MaskedService, ac as Media, ad as MediaItem, ae as MediaItemItemOneOf, bj as MessageEnvelope, T as MissingValues, $ as Mode, al as Money, d5 as MoveToNewLocationsOptions, dB as Multilingual, cn as NestedAggregation, cl as NestedAggregationItem, cm as NestedAggregationItemKindOneOf, cv as NestedAggregationResults, cw as NestedAggregationResultsResultOneOf, Y as NestedAggregationType, cE as NestedResultValue, cF as NestedResultValueResultOneOf, cK as NestedResults, cA as NestedValueAggregationResult, ap as OnlineBooking, dp as Page, c4 as Paging, c7 as PagingMetadataV2, bY as ParticipantNotification, aG as ParticipantsPolicy, ai as Payment, ao as PaymentOptions, aj as PaymentRateOneOf, a9 as PlacementType, az as PolicyDescription, ds as Properties, dH as PropertiesChange, cQ as QueryBookingFormsRequest, c$ as QueryCategoriesFilter, c_ as QueryCategoriesRequest, cW as QueryLocationsFilter, cV as QueryLocationsRequest, cN as QueryPoliciesRequest, d0 as QueryServicesMultiLanguageRequest, d1 as QueryServicesMultiLanguageResponse, c0 as QueryServicesRequest, c6 as QueryServicesResponse, c1 as QueryV2, c2 as QueryV2PagingMethodOneOf, ci as RangeAggregation, cu as RangeAggregationResult, ce as RangeBucket, cC as RangeResult, cy as RangeResults, R as RateType, b5 as ReindexMessage, b6 as ReindexMessageActionOneOf, d3 as RemovedLocationSessionsAction, d4 as RemovedLocationSessionsActionActionOptionsOneOf, a0 as RequestedFields, aE as ReschedulePolicy, ab as ResolutionMethod, aT as ResourceGroup, aU as ResourceIds, aX as ResourceType, aH as ResourcesPolicy, bf as RestoreInfo, cG as Results, aL as SaveCreditCardPolicy, cj as ScalarAggregation, cD as ScalarResult, X as ScalarType, aM as Schedule, b9 as Schema, cq as SearchDetails, c9 as SearchServicesRequest, a$ as SeoSchema, bQ as ServiceAvailabilityConstraints, aV as ServiceResource, aW as ServiceResourceSelectionOneOf, dN as ServiceSearchSpec, J as ServiceType, dM as ServicesQueryResult, bb as ServicesUrlsChanged, bx as SetAddOnsForGroupRequest, by as SetAddOnsForGroupResponse, ba as SetCustomSlugEvent, d9 as SetCustomSlugRequest, d2 as SetServiceLocationsRequest, b2 as Settings, dJ as SiteCloned, dI as SiteCreated, dr as SitePropertiesEvent, dq as SitePropertiesNotification, aY as Slug, P as SortDirection, N as SortOrder, O as SortType, c3 as Sorting, dA as SpecialHourPeriod, bR as SplitInterval, aQ as StaffMediaItem, aR as StaffMediaItemItemOneOf, aP as StaffMember, aS as StaffMemberDetails, a4 as Status, au as StreetAddress, dC as SupportedLanguage, b1 as Tag, dz as TimePeriod, dE as Translation, aZ as URLs, bq as UpdateAddOnGroupRequest, br as UpdateAddOnGroupResponse, bS as UpdateServiceRequest, bT as UpdateServiceResponse, b7 as Upsert, dm as UserDomainInfoChangedEvent, af as V2Category, M as V2RequestedFields, bz as ValidateAddOnsSelectionRequest, bA as ValidateAddOnsSelectionResponse, bE as ValidateServiceRequest, bF as ValidateServiceResponse, da as ValidateSlugRequest, bB as ValidationResult, cg as ValueAggregation, ch as ValueAggregationOptionsOneOf, ct as ValueAggregationResult, cB as ValueResult, cx as ValueResults, an as VariedPayment, aF as WaitlistPolicy, W as WebhookIdentityType } from './bookings-services-v2-service-services.universal-D4FwlNie.js';
|
|
4
4
|
|
|
5
5
|
declare function createService$1(httpClient: HttpClient): CreateServiceSignature;
|
|
6
6
|
interface CreateServiceSignature {
|