@wix/auto_sdk_bookings_services 1.0.40 → 1.0.41
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/src/bookings-services-v2-service-services.context.d.ts +1 -1
- package/build/cjs/src/bookings-services-v2-service-services.types.d.ts +163 -163
- package/build/cjs/src/bookings-services-v2-service-services.types.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service-services.universal.d.ts +163 -163
- package/build/cjs/src/bookings-services-v2-service-services.universal.js.map +1 -1
- package/build/es/src/bookings-services-v2-service-services.context.d.ts +1 -1
- package/build/es/src/bookings-services-v2-service-services.types.d.ts +163 -163
- package/build/es/src/bookings-services-v2-service-services.types.js.map +1 -1
- package/build/es/src/bookings-services-v2-service-services.universal.d.ts +163 -163
- package/build/es/src/bookings-services-v2-service-services.universal.js.map +1 -1
- package/build/internal/cjs/src/bookings-services-v2-service-services.context.d.ts +1 -1
- package/build/internal/cjs/src/bookings-services-v2-service-services.types.d.ts +163 -163
- package/build/internal/cjs/src/bookings-services-v2-service-services.types.js.map +1 -1
- package/build/internal/cjs/src/bookings-services-v2-service-services.universal.d.ts +163 -163
- package/build/internal/cjs/src/bookings-services-v2-service-services.universal.js.map +1 -1
- package/build/internal/es/src/bookings-services-v2-service-services.context.d.ts +1 -1
- package/build/internal/es/src/bookings-services-v2-service-services.types.d.ts +163 -163
- package/build/internal/es/src/bookings-services-v2-service-services.types.js.map +1 -1
- package/build/internal/es/src/bookings-services-v2-service-services.universal.d.ts +163 -163
- package/build/internal/es/src/bookings-services-v2-service-services.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -1378,169 +1378,6 @@ export declare enum WebhookIdentityType {
|
|
|
1378
1378
|
WIX_USER = "WIX_USER",
|
|
1379
1379
|
APP = "APP"
|
|
1380
1380
|
}
|
|
1381
|
-
export interface CreateAddOnGroupRequest {
|
|
1382
|
-
/** AddOnGroup to create. */
|
|
1383
|
-
addOnGroup?: AddOnGroup;
|
|
1384
|
-
/**
|
|
1385
|
-
* ID of the service to create the AddOnGroup for.
|
|
1386
|
-
* @format GUID
|
|
1387
|
-
*/
|
|
1388
|
-
serviceId?: string | null;
|
|
1389
|
-
}
|
|
1390
|
-
export interface CreateAddOnGroupResponse {
|
|
1391
|
-
/** Created AddOnGroup. */
|
|
1392
|
-
addOnGroup?: AddOnGroup;
|
|
1393
|
-
}
|
|
1394
|
-
export interface DeleteAddOnGroupRequest {
|
|
1395
|
-
/**
|
|
1396
|
-
* ID of the AddOnGroup to delete.
|
|
1397
|
-
* @format GUID
|
|
1398
|
-
*/
|
|
1399
|
-
addOnGroupId?: string | null;
|
|
1400
|
-
/**
|
|
1401
|
-
* ID of the service from which to delete the AddOnGroup.
|
|
1402
|
-
* @format GUID
|
|
1403
|
-
*/
|
|
1404
|
-
serviceId?: string | null;
|
|
1405
|
-
}
|
|
1406
|
-
export interface DeleteAddOnGroupResponse {
|
|
1407
|
-
}
|
|
1408
|
-
export interface UpdateAddOnGroupRequest {
|
|
1409
|
-
/** AddOnGroup to update. */
|
|
1410
|
-
addOnGroup?: AddOnGroup;
|
|
1411
|
-
/** Explicit list of fields to update. */
|
|
1412
|
-
mask?: string[];
|
|
1413
|
-
}
|
|
1414
|
-
export interface UpdateAddOnGroupResponse {
|
|
1415
|
-
/** Updated AddOnGroup */
|
|
1416
|
-
addOnGroup?: AddOnGroup;
|
|
1417
|
-
}
|
|
1418
|
-
export interface ListAddOnGroupsByServiceIdRequest {
|
|
1419
|
-
/**
|
|
1420
|
-
* ID of the service to retrieve AddOnGroups for.
|
|
1421
|
-
* @format GUID
|
|
1422
|
-
*/
|
|
1423
|
-
serviceId?: string | null;
|
|
1424
|
-
/**
|
|
1425
|
-
* List of group ids to return. If not provided, all groups are returned.
|
|
1426
|
-
* @format GUID
|
|
1427
|
-
* @maxSize 3
|
|
1428
|
-
*/
|
|
1429
|
-
groupIds?: string[] | null;
|
|
1430
|
-
}
|
|
1431
|
-
export interface ListAddOnGroupsByServiceIdResponse {
|
|
1432
|
-
/**
|
|
1433
|
-
* List of group IDs and their linked AddOns.
|
|
1434
|
-
* @maxSize 3
|
|
1435
|
-
*/
|
|
1436
|
-
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
1437
|
-
}
|
|
1438
|
-
export interface AddOn extends AddOnAddOnInfoOneOf {
|
|
1439
|
-
/** The AddOn description. */
|
|
1440
|
-
durationInMinutes?: number;
|
|
1441
|
-
/** The AddOn max quantity. */
|
|
1442
|
-
maxQuantity?: number;
|
|
1443
|
-
/**
|
|
1444
|
-
* The AddOn ID.
|
|
1445
|
-
* @format GUID
|
|
1446
|
-
*/
|
|
1447
|
-
addOnId?: string | null;
|
|
1448
|
-
/**
|
|
1449
|
-
* The AddOn name.
|
|
1450
|
-
* @maxLength 100
|
|
1451
|
-
*/
|
|
1452
|
-
name?: string | null;
|
|
1453
|
-
/** The AddOn price. */
|
|
1454
|
-
price?: Money;
|
|
1455
|
-
}
|
|
1456
|
-
/** @oneof */
|
|
1457
|
-
export interface AddOnAddOnInfoOneOf {
|
|
1458
|
-
/** The AddOn description. */
|
|
1459
|
-
durationInMinutes?: number;
|
|
1460
|
-
/** The AddOn max quantity. */
|
|
1461
|
-
maxQuantity?: number;
|
|
1462
|
-
}
|
|
1463
|
-
export interface AddOnGroupDetail {
|
|
1464
|
-
/**
|
|
1465
|
-
* The group ID.
|
|
1466
|
-
* @format GUID
|
|
1467
|
-
*/
|
|
1468
|
-
groupId?: string | null;
|
|
1469
|
-
/** The group max number of AddOns. */
|
|
1470
|
-
maxNumberOfAddOns?: number | null;
|
|
1471
|
-
/**
|
|
1472
|
-
* The group name.
|
|
1473
|
-
* @maxLength 100
|
|
1474
|
-
*/
|
|
1475
|
-
groupName?: string | null;
|
|
1476
|
-
/**
|
|
1477
|
-
* The AddOns information linked to the group.
|
|
1478
|
-
* @maxSize 7
|
|
1479
|
-
*/
|
|
1480
|
-
addOns?: AddOn[];
|
|
1481
|
-
/**
|
|
1482
|
-
* The group prompt.
|
|
1483
|
-
* @maxLength 200
|
|
1484
|
-
*/
|
|
1485
|
-
prompt?: string | null;
|
|
1486
|
-
}
|
|
1487
|
-
export interface SetAddOnsForGroupRequest {
|
|
1488
|
-
/**
|
|
1489
|
-
* The service ID to set AddOns for.
|
|
1490
|
-
* @format GUID
|
|
1491
|
-
*/
|
|
1492
|
-
serviceId?: string | null;
|
|
1493
|
-
/**
|
|
1494
|
-
* The group ID to set AddOns for.
|
|
1495
|
-
* @format GUID
|
|
1496
|
-
*/
|
|
1497
|
-
groupId?: string | null;
|
|
1498
|
-
/**
|
|
1499
|
-
* The IDs of AddOns to set.
|
|
1500
|
-
* @format GUID
|
|
1501
|
-
* @minSize 1
|
|
1502
|
-
* @maxSize 7
|
|
1503
|
-
*/
|
|
1504
|
-
addOnIds?: string[] | null;
|
|
1505
|
-
}
|
|
1506
|
-
export interface SetAddOnsForGroupResponse {
|
|
1507
|
-
/** The updated AddOnGroup. */
|
|
1508
|
-
addOnGroup?: AddOnGroup;
|
|
1509
|
-
}
|
|
1510
|
-
export interface ValidateAddOnsSelectionRequest {
|
|
1511
|
-
/**
|
|
1512
|
-
* The service ID to validate AddOns against.
|
|
1513
|
-
* @format GUID
|
|
1514
|
-
*/
|
|
1515
|
-
serviceId?: string | null;
|
|
1516
|
-
/**
|
|
1517
|
-
* The group ID to validate AddOns against.
|
|
1518
|
-
* @format GUID
|
|
1519
|
-
*/
|
|
1520
|
-
groupId?: string | null;
|
|
1521
|
-
/**
|
|
1522
|
-
* The IDs of AddOns to validate.
|
|
1523
|
-
* @format GUID
|
|
1524
|
-
* @minSize 1
|
|
1525
|
-
* @maxSize 7
|
|
1526
|
-
*/
|
|
1527
|
-
addOnIds?: string[] | null;
|
|
1528
|
-
}
|
|
1529
|
-
export interface ValidateAddOnsSelectionResponse {
|
|
1530
|
-
/** The validation result. */
|
|
1531
|
-
result?: ValidationResult;
|
|
1532
|
-
}
|
|
1533
|
-
export interface ValidationResult {
|
|
1534
|
-
/** Whether the AddOns selection is valid. */
|
|
1535
|
-
valid?: boolean | null;
|
|
1536
|
-
/**
|
|
1537
|
-
* A validation error message.
|
|
1538
|
-
* This field should populated when `valid` is `false`.
|
|
1539
|
-
* @minLength 1
|
|
1540
|
-
* @maxLength 300
|
|
1541
|
-
*/
|
|
1542
|
-
message?: string | null;
|
|
1543
|
-
}
|
|
1544
1381
|
export interface CreateServiceRequest {
|
|
1545
1382
|
/** Service to create. */
|
|
1546
1383
|
service: Service;
|
|
@@ -4046,3 +3883,166 @@ export interface SiteCloned {
|
|
|
4046
3883
|
/** Origin site id. */
|
|
4047
3884
|
originMetaSiteId?: string;
|
|
4048
3885
|
}
|
|
3886
|
+
export interface CreateAddOnGroupRequest {
|
|
3887
|
+
/** AddOnGroup to create. */
|
|
3888
|
+
addOnGroup?: AddOnGroup;
|
|
3889
|
+
/**
|
|
3890
|
+
* ID of the service to create the AddOnGroup for.
|
|
3891
|
+
* @format GUID
|
|
3892
|
+
*/
|
|
3893
|
+
serviceId?: string | null;
|
|
3894
|
+
}
|
|
3895
|
+
export interface CreateAddOnGroupResponse {
|
|
3896
|
+
/** Created AddOnGroup. */
|
|
3897
|
+
addOnGroup?: AddOnGroup;
|
|
3898
|
+
}
|
|
3899
|
+
export interface DeleteAddOnGroupRequest {
|
|
3900
|
+
/**
|
|
3901
|
+
* ID of the AddOnGroup to delete.
|
|
3902
|
+
* @format GUID
|
|
3903
|
+
*/
|
|
3904
|
+
addOnGroupId?: string | null;
|
|
3905
|
+
/**
|
|
3906
|
+
* ID of the service from which to delete the AddOnGroup.
|
|
3907
|
+
* @format GUID
|
|
3908
|
+
*/
|
|
3909
|
+
serviceId?: string | null;
|
|
3910
|
+
}
|
|
3911
|
+
export interface DeleteAddOnGroupResponse {
|
|
3912
|
+
}
|
|
3913
|
+
export interface UpdateAddOnGroupRequest {
|
|
3914
|
+
/** AddOnGroup to update. */
|
|
3915
|
+
addOnGroup?: AddOnGroup;
|
|
3916
|
+
/** Explicit list of fields to update. */
|
|
3917
|
+
mask?: string[];
|
|
3918
|
+
}
|
|
3919
|
+
export interface UpdateAddOnGroupResponse {
|
|
3920
|
+
/** Updated AddOnGroup */
|
|
3921
|
+
addOnGroup?: AddOnGroup;
|
|
3922
|
+
}
|
|
3923
|
+
export interface ListAddOnGroupsByServiceIdRequest {
|
|
3924
|
+
/**
|
|
3925
|
+
* ID of the service to retrieve AddOnGroups for.
|
|
3926
|
+
* @format GUID
|
|
3927
|
+
*/
|
|
3928
|
+
serviceId?: string | null;
|
|
3929
|
+
/**
|
|
3930
|
+
* List of group ids to return. If not provided, all groups are returned.
|
|
3931
|
+
* @format GUID
|
|
3932
|
+
* @maxSize 3
|
|
3933
|
+
*/
|
|
3934
|
+
groupIds?: string[] | null;
|
|
3935
|
+
}
|
|
3936
|
+
export interface ListAddOnGroupsByServiceIdResponse {
|
|
3937
|
+
/**
|
|
3938
|
+
* List of group IDs and their linked AddOns.
|
|
3939
|
+
* @maxSize 3
|
|
3940
|
+
*/
|
|
3941
|
+
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
3942
|
+
}
|
|
3943
|
+
export interface AddOn extends AddOnAddOnInfoOneOf {
|
|
3944
|
+
/** The AddOn description. */
|
|
3945
|
+
durationInMinutes?: number;
|
|
3946
|
+
/** The AddOn max quantity. */
|
|
3947
|
+
maxQuantity?: number;
|
|
3948
|
+
/**
|
|
3949
|
+
* The AddOn ID.
|
|
3950
|
+
* @format GUID
|
|
3951
|
+
*/
|
|
3952
|
+
addOnId?: string | null;
|
|
3953
|
+
/**
|
|
3954
|
+
* The AddOn name.
|
|
3955
|
+
* @maxLength 100
|
|
3956
|
+
*/
|
|
3957
|
+
name?: string | null;
|
|
3958
|
+
/** The AddOn price. */
|
|
3959
|
+
price?: Money;
|
|
3960
|
+
}
|
|
3961
|
+
/** @oneof */
|
|
3962
|
+
export interface AddOnAddOnInfoOneOf {
|
|
3963
|
+
/** The AddOn description. */
|
|
3964
|
+
durationInMinutes?: number;
|
|
3965
|
+
/** The AddOn max quantity. */
|
|
3966
|
+
maxQuantity?: number;
|
|
3967
|
+
}
|
|
3968
|
+
export interface AddOnGroupDetail {
|
|
3969
|
+
/**
|
|
3970
|
+
* The group ID.
|
|
3971
|
+
* @format GUID
|
|
3972
|
+
*/
|
|
3973
|
+
groupId?: string | null;
|
|
3974
|
+
/** The group max number of AddOns. */
|
|
3975
|
+
maxNumberOfAddOns?: number | null;
|
|
3976
|
+
/**
|
|
3977
|
+
* The group name.
|
|
3978
|
+
* @maxLength 100
|
|
3979
|
+
*/
|
|
3980
|
+
groupName?: string | null;
|
|
3981
|
+
/**
|
|
3982
|
+
* The AddOns information linked to the group.
|
|
3983
|
+
* @maxSize 7
|
|
3984
|
+
*/
|
|
3985
|
+
addOns?: AddOn[];
|
|
3986
|
+
/**
|
|
3987
|
+
* The group prompt.
|
|
3988
|
+
* @maxLength 200
|
|
3989
|
+
*/
|
|
3990
|
+
prompt?: string | null;
|
|
3991
|
+
}
|
|
3992
|
+
export interface SetAddOnsForGroupRequest {
|
|
3993
|
+
/**
|
|
3994
|
+
* The service ID to set AddOns for.
|
|
3995
|
+
* @format GUID
|
|
3996
|
+
*/
|
|
3997
|
+
serviceId?: string | null;
|
|
3998
|
+
/**
|
|
3999
|
+
* The group ID to set AddOns for.
|
|
4000
|
+
* @format GUID
|
|
4001
|
+
*/
|
|
4002
|
+
groupId?: string | null;
|
|
4003
|
+
/**
|
|
4004
|
+
* The IDs of AddOns to set.
|
|
4005
|
+
* @format GUID
|
|
4006
|
+
* @minSize 1
|
|
4007
|
+
* @maxSize 7
|
|
4008
|
+
*/
|
|
4009
|
+
addOnIds?: string[] | null;
|
|
4010
|
+
}
|
|
4011
|
+
export interface SetAddOnsForGroupResponse {
|
|
4012
|
+
/** The updated AddOnGroup. */
|
|
4013
|
+
addOnGroup?: AddOnGroup;
|
|
4014
|
+
}
|
|
4015
|
+
export interface ValidateAddOnsSelectionRequest {
|
|
4016
|
+
/**
|
|
4017
|
+
* The service ID to validate AddOns against.
|
|
4018
|
+
* @format GUID
|
|
4019
|
+
*/
|
|
4020
|
+
serviceId?: string | null;
|
|
4021
|
+
/**
|
|
4022
|
+
* The group ID to validate AddOns against.
|
|
4023
|
+
* @format GUID
|
|
4024
|
+
*/
|
|
4025
|
+
groupId?: string | null;
|
|
4026
|
+
/**
|
|
4027
|
+
* The IDs of AddOns to validate.
|
|
4028
|
+
* @format GUID
|
|
4029
|
+
* @minSize 1
|
|
4030
|
+
* @maxSize 7
|
|
4031
|
+
*/
|
|
4032
|
+
addOnIds?: string[] | null;
|
|
4033
|
+
}
|
|
4034
|
+
export interface ValidateAddOnsSelectionResponse {
|
|
4035
|
+
/** The validation result. */
|
|
4036
|
+
result?: ValidationResult;
|
|
4037
|
+
}
|
|
4038
|
+
export interface ValidationResult {
|
|
4039
|
+
/** Whether the AddOns selection is valid. */
|
|
4040
|
+
valid?: boolean | null;
|
|
4041
|
+
/**
|
|
4042
|
+
* A validation error message.
|
|
4043
|
+
* This field should populated when `valid` is `false`.
|
|
4044
|
+
* @minLength 1
|
|
4045
|
+
* @maxLength 300
|
|
4046
|
+
*/
|
|
4047
|
+
message?: string | null;
|
|
4048
|
+
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-services-v2-service-services.types.js","sourceRoot":"","sources":["../../../../src/bookings-services-v2-service-services.types.ts"],"names":[],"mappings":"AA2IA,MAAM,CAAN,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,iCAAiC;IACjC,0CAA2B,CAAA;IAC3B,qBAAqB;IACrB,8BAAe,CAAA;IACf,sBAAsB;IACtB,gCAAiB,CAAA;AACnB,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;AA+ID,MAAM,CAAN,IAAY,QAWX;AAXD,WAAY,QAAQ;IAClB,yBAAyB;IACzB,mDAAuC,CAAA;IACvC,qCAAqC;IACrC,2BAAe,CAAA;IACf,wEAAwE;IACxE,6BAAiB,CAAA;IACjB,uFAAuF;IACvF,6BAAiB,CAAA;IACjB,8CAA8C;IAC9C,6BAAiB,CAAA;AACnB,CAAC,EAXW,QAAQ,KAAR,QAAQ,QAWnB;AA6ID,MAAM,CAAN,IAAY,4BAiBX;AAjBD,WAAY,4BAA4B;IACtC,+EAA+C,CAAA;IAC/C;;;OAGG;IACH,iDAAiB,CAAA;IACjB;;;OAGG;IACH,qDAAqB,CAAA;IACrB;;;OAGG;IACH,qDAAqB,CAAA;AACvB,CAAC,EAjBW,4BAA4B,KAA5B,4BAA4B,QAiBvC;AAk+BD,MAAM,CAAN,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,KAAnB,mBAAmB,QAM9B;
|
|
1
|
+
{"version":3,"file":"bookings-services-v2-service-services.types.js","sourceRoot":"","sources":["../../../../src/bookings-services-v2-service-services.types.ts"],"names":[],"mappings":"AA2IA,MAAM,CAAN,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,iCAAiC;IACjC,0CAA2B,CAAA;IAC3B,qBAAqB;IACrB,8BAAe,CAAA;IACf,sBAAsB;IACtB,gCAAiB,CAAA;AACnB,CAAC,EAPW,WAAW,KAAX,WAAW,QAOtB;AA+ID,MAAM,CAAN,IAAY,QAWX;AAXD,WAAY,QAAQ;IAClB,yBAAyB;IACzB,mDAAuC,CAAA;IACvC,qCAAqC;IACrC,2BAAe,CAAA;IACf,wEAAwE;IACxE,6BAAiB,CAAA;IACjB,uFAAuF;IACvF,6BAAiB,CAAA;IACjB,8CAA8C;IAC9C,6BAAiB,CAAA;AACnB,CAAC,EAXW,QAAQ,KAAR,QAAQ,QAWnB;AA6ID,MAAM,CAAN,IAAY,4BAiBX;AAjBD,WAAY,4BAA4B;IACtC,+EAA+C,CAAA;IAC/C;;;OAGG;IACH,iDAAiB,CAAA;IACjB;;;OAGG;IACH,qDAAqB,CA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Y,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;AACrB,CAAC,EAJW,KAAK,KAAL,KAAK,QAIhB;AAUD,MAAM,CAAN,IAAY,QAOX;AAPD,WAAY,QAAQ;IAClB,mDAAuC,CAAA;IACvC,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,6BAAiB,CAAA;IACjB,qEAAqE;IACrE,iDAAqC,CAAA;AACvC,CAAC,EAPW,QAAQ,KAAR,QAAQ,QAOnB;AAsLD,gGAAgG;AAChG,MAAM,CAAN,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,KAAb,aAAa,QAIxB;AAiCD,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B"}
|
|
@@ -1338,169 +1338,6 @@ export declare enum WebhookIdentityType {
|
|
|
1338
1338
|
WIX_USER = "WIX_USER",
|
|
1339
1339
|
APP = "APP"
|
|
1340
1340
|
}
|
|
1341
|
-
export 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
|
-
export interface CreateAddOnGroupResponse {
|
|
1351
|
-
/** Created AddOnGroup. */
|
|
1352
|
-
addOnGroup?: AddOnGroup;
|
|
1353
|
-
}
|
|
1354
|
-
export 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
|
-
export interface DeleteAddOnGroupResponse {
|
|
1367
|
-
}
|
|
1368
|
-
export interface UpdateAddOnGroupRequest {
|
|
1369
|
-
/** AddOnGroup to update. */
|
|
1370
|
-
addOnGroup?: AddOnGroup;
|
|
1371
|
-
/** Explicit list of fields to update. */
|
|
1372
|
-
mask?: string[];
|
|
1373
|
-
}
|
|
1374
|
-
export interface UpdateAddOnGroupResponse {
|
|
1375
|
-
/** Updated AddOnGroup */
|
|
1376
|
-
addOnGroup?: AddOnGroup;
|
|
1377
|
-
}
|
|
1378
|
-
export interface ListAddOnGroupsByServiceIdRequest {
|
|
1379
|
-
/**
|
|
1380
|
-
* ID of the service to retrieve AddOnGroups for.
|
|
1381
|
-
* @format GUID
|
|
1382
|
-
*/
|
|
1383
|
-
serviceId?: string | null;
|
|
1384
|
-
/**
|
|
1385
|
-
* List of group ids to return. If not provided, all groups are returned.
|
|
1386
|
-
* @format GUID
|
|
1387
|
-
* @maxSize 3
|
|
1388
|
-
*/
|
|
1389
|
-
groupIds?: string[] | null;
|
|
1390
|
-
}
|
|
1391
|
-
export interface ListAddOnGroupsByServiceIdResponse {
|
|
1392
|
-
/**
|
|
1393
|
-
* List of group IDs and their linked AddOns.
|
|
1394
|
-
* @maxSize 3
|
|
1395
|
-
*/
|
|
1396
|
-
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
1397
|
-
}
|
|
1398
|
-
export interface AddOn extends AddOnAddOnInfoOneOf {
|
|
1399
|
-
/** The AddOn description. */
|
|
1400
|
-
durationInMinutes?: number;
|
|
1401
|
-
/** The AddOn max quantity. */
|
|
1402
|
-
maxQuantity?: number;
|
|
1403
|
-
/**
|
|
1404
|
-
* The AddOn ID.
|
|
1405
|
-
* @format GUID
|
|
1406
|
-
*/
|
|
1407
|
-
addOnId?: string | null;
|
|
1408
|
-
/**
|
|
1409
|
-
* The AddOn name.
|
|
1410
|
-
* @maxLength 100
|
|
1411
|
-
*/
|
|
1412
|
-
name?: string | null;
|
|
1413
|
-
/** The AddOn price. */
|
|
1414
|
-
price?: Money;
|
|
1415
|
-
}
|
|
1416
|
-
/** @oneof */
|
|
1417
|
-
export interface AddOnAddOnInfoOneOf {
|
|
1418
|
-
/** The AddOn description. */
|
|
1419
|
-
durationInMinutes?: number;
|
|
1420
|
-
/** The AddOn max quantity. */
|
|
1421
|
-
maxQuantity?: number;
|
|
1422
|
-
}
|
|
1423
|
-
export interface AddOnGroupDetail {
|
|
1424
|
-
/**
|
|
1425
|
-
* The group ID.
|
|
1426
|
-
* @format GUID
|
|
1427
|
-
*/
|
|
1428
|
-
groupId?: string | null;
|
|
1429
|
-
/** The group max number of AddOns. */
|
|
1430
|
-
maxNumberOfAddOns?: number | null;
|
|
1431
|
-
/**
|
|
1432
|
-
* The group name.
|
|
1433
|
-
* @maxLength 100
|
|
1434
|
-
*/
|
|
1435
|
-
groupName?: string | null;
|
|
1436
|
-
/**
|
|
1437
|
-
* The AddOns information linked to the group.
|
|
1438
|
-
* @maxSize 7
|
|
1439
|
-
*/
|
|
1440
|
-
addOns?: AddOn[];
|
|
1441
|
-
/**
|
|
1442
|
-
* The group prompt.
|
|
1443
|
-
* @maxLength 200
|
|
1444
|
-
*/
|
|
1445
|
-
prompt?: string | null;
|
|
1446
|
-
}
|
|
1447
|
-
export interface SetAddOnsForGroupRequest {
|
|
1448
|
-
/**
|
|
1449
|
-
* The service ID to set AddOns for.
|
|
1450
|
-
* @format GUID
|
|
1451
|
-
*/
|
|
1452
|
-
serviceId?: string | null;
|
|
1453
|
-
/**
|
|
1454
|
-
* The group ID to set AddOns for.
|
|
1455
|
-
* @format GUID
|
|
1456
|
-
*/
|
|
1457
|
-
groupId?: string | null;
|
|
1458
|
-
/**
|
|
1459
|
-
* The IDs of AddOns to set.
|
|
1460
|
-
* @format GUID
|
|
1461
|
-
* @minSize 1
|
|
1462
|
-
* @maxSize 7
|
|
1463
|
-
*/
|
|
1464
|
-
addOnIds?: string[] | null;
|
|
1465
|
-
}
|
|
1466
|
-
export interface SetAddOnsForGroupResponse {
|
|
1467
|
-
/** The updated AddOnGroup. */
|
|
1468
|
-
addOnGroup?: AddOnGroup;
|
|
1469
|
-
}
|
|
1470
|
-
export interface ValidateAddOnsSelectionRequest {
|
|
1471
|
-
/**
|
|
1472
|
-
* The service ID to validate AddOns against.
|
|
1473
|
-
* @format GUID
|
|
1474
|
-
*/
|
|
1475
|
-
serviceId?: string | null;
|
|
1476
|
-
/**
|
|
1477
|
-
* The group ID to validate AddOns against.
|
|
1478
|
-
* @format GUID
|
|
1479
|
-
*/
|
|
1480
|
-
groupId?: string | null;
|
|
1481
|
-
/**
|
|
1482
|
-
* The IDs of AddOns to validate.
|
|
1483
|
-
* @format GUID
|
|
1484
|
-
* @minSize 1
|
|
1485
|
-
* @maxSize 7
|
|
1486
|
-
*/
|
|
1487
|
-
addOnIds?: string[] | null;
|
|
1488
|
-
}
|
|
1489
|
-
export interface ValidateAddOnsSelectionResponse {
|
|
1490
|
-
/** The validation result. */
|
|
1491
|
-
result?: ValidationResult;
|
|
1492
|
-
}
|
|
1493
|
-
export interface ValidationResult {
|
|
1494
|
-
/** Whether the AddOns selection is valid. */
|
|
1495
|
-
valid?: boolean | null;
|
|
1496
|
-
/**
|
|
1497
|
-
* A validation error message.
|
|
1498
|
-
* This field should populated when `valid` is `false`.
|
|
1499
|
-
* @minLength 1
|
|
1500
|
-
* @maxLength 300
|
|
1501
|
-
*/
|
|
1502
|
-
message?: string | null;
|
|
1503
|
-
}
|
|
1504
1341
|
export interface CreateServiceRequest {
|
|
1505
1342
|
/** Service to create. */
|
|
1506
1343
|
service: Service;
|
|
@@ -3978,6 +3815,169 @@ export interface SiteCloned {
|
|
|
3978
3815
|
/** Origin site id. */
|
|
3979
3816
|
originMetaSiteId?: string;
|
|
3980
3817
|
}
|
|
3818
|
+
export interface CreateAddOnGroupRequest {
|
|
3819
|
+
/** AddOnGroup to create. */
|
|
3820
|
+
addOnGroup?: AddOnGroup;
|
|
3821
|
+
/**
|
|
3822
|
+
* ID of the service to create the AddOnGroup for.
|
|
3823
|
+
* @format GUID
|
|
3824
|
+
*/
|
|
3825
|
+
serviceId?: string | null;
|
|
3826
|
+
}
|
|
3827
|
+
export interface CreateAddOnGroupResponse {
|
|
3828
|
+
/** Created AddOnGroup. */
|
|
3829
|
+
addOnGroup?: AddOnGroup;
|
|
3830
|
+
}
|
|
3831
|
+
export interface DeleteAddOnGroupRequest {
|
|
3832
|
+
/**
|
|
3833
|
+
* ID of the AddOnGroup to delete.
|
|
3834
|
+
* @format GUID
|
|
3835
|
+
*/
|
|
3836
|
+
addOnGroupId?: string | null;
|
|
3837
|
+
/**
|
|
3838
|
+
* ID of the service from which to delete the AddOnGroup.
|
|
3839
|
+
* @format GUID
|
|
3840
|
+
*/
|
|
3841
|
+
serviceId?: string | null;
|
|
3842
|
+
}
|
|
3843
|
+
export interface DeleteAddOnGroupResponse {
|
|
3844
|
+
}
|
|
3845
|
+
export interface UpdateAddOnGroupRequest {
|
|
3846
|
+
/** AddOnGroup to update. */
|
|
3847
|
+
addOnGroup?: AddOnGroup;
|
|
3848
|
+
/** Explicit list of fields to update. */
|
|
3849
|
+
mask?: string[];
|
|
3850
|
+
}
|
|
3851
|
+
export interface UpdateAddOnGroupResponse {
|
|
3852
|
+
/** Updated AddOnGroup */
|
|
3853
|
+
addOnGroup?: AddOnGroup;
|
|
3854
|
+
}
|
|
3855
|
+
export interface ListAddOnGroupsByServiceIdRequest {
|
|
3856
|
+
/**
|
|
3857
|
+
* ID of the service to retrieve AddOnGroups for.
|
|
3858
|
+
* @format GUID
|
|
3859
|
+
*/
|
|
3860
|
+
serviceId?: string | null;
|
|
3861
|
+
/**
|
|
3862
|
+
* List of group ids to return. If not provided, all groups are returned.
|
|
3863
|
+
* @format GUID
|
|
3864
|
+
* @maxSize 3
|
|
3865
|
+
*/
|
|
3866
|
+
groupIds?: string[] | null;
|
|
3867
|
+
}
|
|
3868
|
+
export interface ListAddOnGroupsByServiceIdResponse {
|
|
3869
|
+
/**
|
|
3870
|
+
* List of group IDs and their linked AddOns.
|
|
3871
|
+
* @maxSize 3
|
|
3872
|
+
*/
|
|
3873
|
+
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
3874
|
+
}
|
|
3875
|
+
export interface AddOn extends AddOnAddOnInfoOneOf {
|
|
3876
|
+
/** The AddOn description. */
|
|
3877
|
+
durationInMinutes?: number;
|
|
3878
|
+
/** The AddOn max quantity. */
|
|
3879
|
+
maxQuantity?: number;
|
|
3880
|
+
/**
|
|
3881
|
+
* The AddOn ID.
|
|
3882
|
+
* @format GUID
|
|
3883
|
+
*/
|
|
3884
|
+
addOnId?: string | null;
|
|
3885
|
+
/**
|
|
3886
|
+
* The AddOn name.
|
|
3887
|
+
* @maxLength 100
|
|
3888
|
+
*/
|
|
3889
|
+
name?: string | null;
|
|
3890
|
+
/** The AddOn price. */
|
|
3891
|
+
price?: Money;
|
|
3892
|
+
}
|
|
3893
|
+
/** @oneof */
|
|
3894
|
+
export interface AddOnAddOnInfoOneOf {
|
|
3895
|
+
/** The AddOn description. */
|
|
3896
|
+
durationInMinutes?: number;
|
|
3897
|
+
/** The AddOn max quantity. */
|
|
3898
|
+
maxQuantity?: number;
|
|
3899
|
+
}
|
|
3900
|
+
export interface AddOnGroupDetail {
|
|
3901
|
+
/**
|
|
3902
|
+
* The group ID.
|
|
3903
|
+
* @format GUID
|
|
3904
|
+
*/
|
|
3905
|
+
groupId?: string | null;
|
|
3906
|
+
/** The group max number of AddOns. */
|
|
3907
|
+
maxNumberOfAddOns?: number | null;
|
|
3908
|
+
/**
|
|
3909
|
+
* The group name.
|
|
3910
|
+
* @maxLength 100
|
|
3911
|
+
*/
|
|
3912
|
+
groupName?: string | null;
|
|
3913
|
+
/**
|
|
3914
|
+
* The AddOns information linked to the group.
|
|
3915
|
+
* @maxSize 7
|
|
3916
|
+
*/
|
|
3917
|
+
addOns?: AddOn[];
|
|
3918
|
+
/**
|
|
3919
|
+
* The group prompt.
|
|
3920
|
+
* @maxLength 200
|
|
3921
|
+
*/
|
|
3922
|
+
prompt?: string | null;
|
|
3923
|
+
}
|
|
3924
|
+
export interface SetAddOnsForGroupRequest {
|
|
3925
|
+
/**
|
|
3926
|
+
* The service ID to set AddOns for.
|
|
3927
|
+
* @format GUID
|
|
3928
|
+
*/
|
|
3929
|
+
serviceId?: string | null;
|
|
3930
|
+
/**
|
|
3931
|
+
* The group ID to set AddOns for.
|
|
3932
|
+
* @format GUID
|
|
3933
|
+
*/
|
|
3934
|
+
groupId?: string | null;
|
|
3935
|
+
/**
|
|
3936
|
+
* The IDs of AddOns to set.
|
|
3937
|
+
* @format GUID
|
|
3938
|
+
* @minSize 1
|
|
3939
|
+
* @maxSize 7
|
|
3940
|
+
*/
|
|
3941
|
+
addOnIds?: string[] | null;
|
|
3942
|
+
}
|
|
3943
|
+
export interface SetAddOnsForGroupResponse {
|
|
3944
|
+
/** The updated AddOnGroup. */
|
|
3945
|
+
addOnGroup?: AddOnGroup;
|
|
3946
|
+
}
|
|
3947
|
+
export interface ValidateAddOnsSelectionRequest {
|
|
3948
|
+
/**
|
|
3949
|
+
* The service ID to validate AddOns against.
|
|
3950
|
+
* @format GUID
|
|
3951
|
+
*/
|
|
3952
|
+
serviceId?: string | null;
|
|
3953
|
+
/**
|
|
3954
|
+
* The group ID to validate AddOns against.
|
|
3955
|
+
* @format GUID
|
|
3956
|
+
*/
|
|
3957
|
+
groupId?: string | null;
|
|
3958
|
+
/**
|
|
3959
|
+
* The IDs of AddOns to validate.
|
|
3960
|
+
* @format GUID
|
|
3961
|
+
* @minSize 1
|
|
3962
|
+
* @maxSize 7
|
|
3963
|
+
*/
|
|
3964
|
+
addOnIds?: string[] | null;
|
|
3965
|
+
}
|
|
3966
|
+
export interface ValidateAddOnsSelectionResponse {
|
|
3967
|
+
/** The validation result. */
|
|
3968
|
+
result?: ValidationResult;
|
|
3969
|
+
}
|
|
3970
|
+
export interface ValidationResult {
|
|
3971
|
+
/** Whether the AddOns selection is valid. */
|
|
3972
|
+
valid?: boolean | null;
|
|
3973
|
+
/**
|
|
3974
|
+
* A validation error message.
|
|
3975
|
+
* This field should populated when `valid` is `false`.
|
|
3976
|
+
* @minLength 1
|
|
3977
|
+
* @maxLength 300
|
|
3978
|
+
*/
|
|
3979
|
+
message?: string | null;
|
|
3980
|
+
}
|
|
3981
3981
|
export interface BaseEventMetadata {
|
|
3982
3982
|
/**
|
|
3983
3983
|
* App instance ID.
|