@wix/auto_sdk_bookings_services 1.0.11 → 1.0.13
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.public.d.ts +1 -1
- package/build/cjs/src/bookings-services-v2-service-services.public.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service-services.types.d.ts +188 -2
- package/build/cjs/src/bookings-services-v2-service-services.types.js +7 -2
- 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 +188 -2
- package/build/cjs/src/bookings-services-v2-service-services.universal.js +7 -2
- 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.public.d.ts +1 -1
- package/build/es/src/bookings-services-v2-service-services.public.js.map +1 -1
- package/build/es/src/bookings-services-v2-service-services.types.d.ts +188 -2
- package/build/es/src/bookings-services-v2-service-services.types.js +7 -2
- 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 +188 -2
- package/build/es/src/bookings-services-v2-service-services.universal.js +7 -2
- 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.public.d.ts +1 -1
- package/build/internal/cjs/src/bookings-services-v2-service-services.public.js.map +1 -1
- package/build/internal/cjs/src/bookings-services-v2-service-services.types.d.ts +188 -2
- package/build/internal/cjs/src/bookings-services-v2-service-services.types.js +7 -2
- 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 +188 -2
- package/build/internal/cjs/src/bookings-services-v2-service-services.universal.js +7 -2
- 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.public.d.ts +1 -1
- package/build/internal/es/src/bookings-services-v2-service-services.public.js.map +1 -1
- package/build/internal/es/src/bookings-services-v2-service-services.types.d.ts +188 -2
- package/build/internal/es/src/bookings-services-v2-service-services.types.js +7 -2
- 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 +188 -2
- package/build/internal/es/src/bookings-services-v2-service-services.universal.js +7 -2
- package/build/internal/es/src/bookings-services-v2-service-services.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -1337,6 +1337,44 @@ export declare enum WebhookIdentityType {
|
|
|
1337
1337
|
WIX_USER = "WIX_USER",
|
|
1338
1338
|
APP = "APP"
|
|
1339
1339
|
}
|
|
1340
|
+
export interface AddOnsGroup {
|
|
1341
|
+
/**
|
|
1342
|
+
* ID of the group.
|
|
1343
|
+
* @readonly
|
|
1344
|
+
* @format GUID
|
|
1345
|
+
*/
|
|
1346
|
+
id?: string | null;
|
|
1347
|
+
/**
|
|
1348
|
+
* The name of the group.
|
|
1349
|
+
* @maxLength 100
|
|
1350
|
+
*/
|
|
1351
|
+
name?: string | null;
|
|
1352
|
+
/**
|
|
1353
|
+
* The maximum number of AddOns that can be selected from this group.
|
|
1354
|
+
*
|
|
1355
|
+
* If not set, there is no upper limit.
|
|
1356
|
+
*/
|
|
1357
|
+
maxNumberOfAddOns?: number | null;
|
|
1358
|
+
/**
|
|
1359
|
+
* List of AddOn IDs that are part of this group.
|
|
1360
|
+
* @format GUID
|
|
1361
|
+
* @maxSize 7
|
|
1362
|
+
*/
|
|
1363
|
+
addOnIds?: string[] | null;
|
|
1364
|
+
}
|
|
1365
|
+
export interface AddOnDetails {
|
|
1366
|
+
/**
|
|
1367
|
+
* ID of the AddOn.
|
|
1368
|
+
* @format GUID
|
|
1369
|
+
*/
|
|
1370
|
+
addOnId?: string | null;
|
|
1371
|
+
/**
|
|
1372
|
+
* The duration of the AddOn in minutes.
|
|
1373
|
+
*
|
|
1374
|
+
* This field can be empty if the AddOn has no specific duration.
|
|
1375
|
+
*/
|
|
1376
|
+
durationInMinutes?: number | null;
|
|
1377
|
+
}
|
|
1340
1378
|
export interface CreateServiceRequest {
|
|
1341
1379
|
/** Service to create. */
|
|
1342
1380
|
service: Service;
|
|
@@ -2654,6 +2692,149 @@ export declare enum CloneErrors {
|
|
|
2654
2692
|
/** Failed to clone the original service's *booking form*. */
|
|
2655
2693
|
FORM = "FORM"
|
|
2656
2694
|
}
|
|
2695
|
+
export interface CreateAddOnsGroupRequest {
|
|
2696
|
+
/** AddOnsGroup to create. */
|
|
2697
|
+
addOnsGroup?: AddOnsGroup;
|
|
2698
|
+
/** @format GUID */
|
|
2699
|
+
serviceId?: string | null;
|
|
2700
|
+
}
|
|
2701
|
+
export interface CreateAddOnsGroupResponse {
|
|
2702
|
+
/** Created AddOnsGroup. */
|
|
2703
|
+
addOnsGroup?: AddOnsGroup;
|
|
2704
|
+
}
|
|
2705
|
+
export interface DeleteAddOnsGroupRequest {
|
|
2706
|
+
/**
|
|
2707
|
+
* ID of the AddOnsGroup to delete.
|
|
2708
|
+
* @format GUID
|
|
2709
|
+
*/
|
|
2710
|
+
addOnsGroupId?: string | null;
|
|
2711
|
+
}
|
|
2712
|
+
export interface DeleteAddOnsGroupResponse {
|
|
2713
|
+
}
|
|
2714
|
+
export interface UpdateAddOnsGroupRequest {
|
|
2715
|
+
/** AddOnsGroup to update. */
|
|
2716
|
+
addOnsGroup?: AddOnsGroup;
|
|
2717
|
+
/** Explicit list of fields to update. */
|
|
2718
|
+
mask?: string[];
|
|
2719
|
+
}
|
|
2720
|
+
export interface UpdateAddOnsGroupResponse {
|
|
2721
|
+
/** Updated AddOnsGroup */
|
|
2722
|
+
addOnsGroup?: AddOnsGroup;
|
|
2723
|
+
}
|
|
2724
|
+
export interface ListAddOnGroupsByServiceIdRequest {
|
|
2725
|
+
/**
|
|
2726
|
+
* ID of the service to retrieve AddOns for.
|
|
2727
|
+
* @format GUID
|
|
2728
|
+
*/
|
|
2729
|
+
serviceId?: string | null;
|
|
2730
|
+
/**
|
|
2731
|
+
* List of group ids to return. If not provided, all groups are returned.
|
|
2732
|
+
* @format GUID
|
|
2733
|
+
* @maxSize 3
|
|
2734
|
+
*/
|
|
2735
|
+
groupIds?: string[] | null;
|
|
2736
|
+
}
|
|
2737
|
+
export interface ListAddOnGroupsByServiceIdResponse {
|
|
2738
|
+
/**
|
|
2739
|
+
* List of group IDs and their linked AddOns.
|
|
2740
|
+
* @maxSize 3
|
|
2741
|
+
*/
|
|
2742
|
+
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
2743
|
+
}
|
|
2744
|
+
export interface AddOn {
|
|
2745
|
+
/**
|
|
2746
|
+
* The AddOn ID.
|
|
2747
|
+
* @format GUID
|
|
2748
|
+
*/
|
|
2749
|
+
addOnId?: string | null;
|
|
2750
|
+
/**
|
|
2751
|
+
* The AddOn name.
|
|
2752
|
+
* @maxLength 100
|
|
2753
|
+
*/
|
|
2754
|
+
name?: string | null;
|
|
2755
|
+
/** The AddOn description. */
|
|
2756
|
+
durationInMinutes?: number | null;
|
|
2757
|
+
/**
|
|
2758
|
+
* The AddOn price.
|
|
2759
|
+
* @readonly
|
|
2760
|
+
* @maxLength 100
|
|
2761
|
+
*/
|
|
2762
|
+
formattedAmount?: string | null;
|
|
2763
|
+
}
|
|
2764
|
+
export interface AddOnGroupDetail {
|
|
2765
|
+
/**
|
|
2766
|
+
* The group ID.
|
|
2767
|
+
* @format GUID
|
|
2768
|
+
*/
|
|
2769
|
+
groupId?: string | null;
|
|
2770
|
+
/**
|
|
2771
|
+
* The group name.
|
|
2772
|
+
* @maxLength 100
|
|
2773
|
+
*/
|
|
2774
|
+
groupName?: string | null;
|
|
2775
|
+
/**
|
|
2776
|
+
* The AddOns information linked to the group.
|
|
2777
|
+
* @maxSize 7
|
|
2778
|
+
*/
|
|
2779
|
+
addOns?: AddOn[];
|
|
2780
|
+
}
|
|
2781
|
+
export interface SetAddOnsForGroupRequest {
|
|
2782
|
+
/**
|
|
2783
|
+
* The service ID to set AddOns for.
|
|
2784
|
+
* @format GUID
|
|
2785
|
+
*/
|
|
2786
|
+
serviceId?: string | null;
|
|
2787
|
+
/**
|
|
2788
|
+
* The group ID to set AddOns for.
|
|
2789
|
+
* @format GUID
|
|
2790
|
+
*/
|
|
2791
|
+
groupId?: string | null;
|
|
2792
|
+
/**
|
|
2793
|
+
* The IDs of AddOns to set.
|
|
2794
|
+
* @format GUID
|
|
2795
|
+
* @minSize 1
|
|
2796
|
+
* @maxSize 7
|
|
2797
|
+
*/
|
|
2798
|
+
addOnIds?: string[] | null;
|
|
2799
|
+
}
|
|
2800
|
+
export interface SetAddOnsForGroupResponse {
|
|
2801
|
+
/** The updated AddOnsGroup. */
|
|
2802
|
+
addOnsGroup?: AddOnsGroup;
|
|
2803
|
+
}
|
|
2804
|
+
export interface ValidateAddOnsSelectionRequest {
|
|
2805
|
+
/**
|
|
2806
|
+
* The service ID to validate AddOns against.
|
|
2807
|
+
* @format GUID
|
|
2808
|
+
*/
|
|
2809
|
+
serviceId?: string | null;
|
|
2810
|
+
/**
|
|
2811
|
+
* The group ID to validate AddOns against.
|
|
2812
|
+
* @format GUID
|
|
2813
|
+
*/
|
|
2814
|
+
groupId?: string | null;
|
|
2815
|
+
/**
|
|
2816
|
+
* The IDs of AddOns to validate.
|
|
2817
|
+
* @format GUID
|
|
2818
|
+
* @minSize 1
|
|
2819
|
+
* @maxSize 7
|
|
2820
|
+
*/
|
|
2821
|
+
addOnIds?: string[] | null;
|
|
2822
|
+
}
|
|
2823
|
+
export interface ValidateAddOnsSelectionResponse {
|
|
2824
|
+
/** The validation result. */
|
|
2825
|
+
result?: ValidationResult;
|
|
2826
|
+
}
|
|
2827
|
+
export interface ValidationResult {
|
|
2828
|
+
/** Whether the AddOns selection is valid. */
|
|
2829
|
+
valid?: boolean | null;
|
|
2830
|
+
/**
|
|
2831
|
+
* A validation error message.
|
|
2832
|
+
* This field should populated when `valid` is `false`.
|
|
2833
|
+
* @minLength 1
|
|
2834
|
+
* @maxLength 300
|
|
2835
|
+
*/
|
|
2836
|
+
message?: string | null;
|
|
2837
|
+
}
|
|
2657
2838
|
/** An event sent every time a category entity is changed. */
|
|
2658
2839
|
export interface CategoryNotification {
|
|
2659
2840
|
category?: Category;
|
|
@@ -3618,14 +3799,19 @@ export interface ExternalCalendarInfo {
|
|
|
3618
3799
|
calendarType?: CalendarType;
|
|
3619
3800
|
}
|
|
3620
3801
|
export declare enum CalendarType {
|
|
3802
|
+
/** There is no information about the external calendar type. */
|
|
3621
3803
|
UNDEFINED = "UNDEFINED",
|
|
3804
|
+
/** [Google Calendar](https://developers.google.com/calendar/api/guides/overview). */
|
|
3622
3805
|
GOOGLE = "GOOGLE",
|
|
3806
|
+
/** Apple iCalendar. */
|
|
3623
3807
|
I_CAL = "I_CAL",
|
|
3624
|
-
/** Use `MICROSOFT` instead. */
|
|
3808
|
+
/** __Deprecated__. Use `MICROSOFT` instead. */
|
|
3625
3809
|
OUTLOOK = "OUTLOOK",
|
|
3626
|
-
/** Use `MICROSOFT` instead. */
|
|
3810
|
+
/** __Deprecated__. Use `MICROSOFT` instead. */
|
|
3627
3811
|
OFFICE_365 = "OFFICE_365",
|
|
3812
|
+
/** Microsoft Calendar. For example, Office 365 calendar or Outlook calendar. */
|
|
3628
3813
|
MICROSOFT = "MICROSOFT",
|
|
3814
|
+
/** A different type of external calendar, not listed here. */
|
|
3629
3815
|
OTHER = "OTHER"
|
|
3630
3816
|
}
|
|
3631
3817
|
export declare enum Status {
|
|
@@ -287,14 +287,19 @@ var ConferenceType;
|
|
|
287
287
|
})(ConferenceType || (exports.ConferenceType = ConferenceType = {}));
|
|
288
288
|
var CalendarType;
|
|
289
289
|
(function (CalendarType) {
|
|
290
|
+
/** There is no information about the external calendar type. */
|
|
290
291
|
CalendarType["UNDEFINED"] = "UNDEFINED";
|
|
292
|
+
/** [Google Calendar](https://developers.google.com/calendar/api/guides/overview). */
|
|
291
293
|
CalendarType["GOOGLE"] = "GOOGLE";
|
|
294
|
+
/** Apple iCalendar. */
|
|
292
295
|
CalendarType["I_CAL"] = "I_CAL";
|
|
293
|
-
/** Use `MICROSOFT` instead. */
|
|
296
|
+
/** __Deprecated__. Use `MICROSOFT` instead. */
|
|
294
297
|
CalendarType["OUTLOOK"] = "OUTLOOK";
|
|
295
|
-
/** Use `MICROSOFT` instead. */
|
|
298
|
+
/** __Deprecated__. Use `MICROSOFT` instead. */
|
|
296
299
|
CalendarType["OFFICE_365"] = "OFFICE_365";
|
|
300
|
+
/** Microsoft Calendar. For example, Office 365 calendar or Outlook calendar. */
|
|
297
301
|
CalendarType["MICROSOFT"] = "MICROSOFT";
|
|
302
|
+
/** A different type of external calendar, not listed here. */
|
|
298
303
|
CalendarType["OTHER"] = "OTHER";
|
|
299
304
|
})(CalendarType || (exports.CalendarType = CalendarType = {}));
|
|
300
305
|
var Status;
|
|
@@ -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,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,iCAAiC;IACjC,0CAA2B,CAAA;IAC3B,qBAAqB;IACrB,8BAAe,CAAA;IACf,sBAAsB;IACtB,gCAAiB,CAAA;AACnB,CAAC,EAPW,WAAW,2BAAX,WAAW,QAOtB;AA+ID,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,wBAAR,QAAQ,QAWnB;AA6ID,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,4CAA5B,4BAA4B,QAiBvC;AAu7BD,IAAY,mBAMX;AAND,WAAY,mBAAmB;IAC7B,0CAAmB,CAAA;IACnB,8DAAuC,CAAA;IACvC,wCAAiB,CAAA;IACjB,4CAAqB,CAAA;IACrB,kCAAW,CAAA;AACb,CAAC,EANW,mBAAmB,mCAAnB,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,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,iCAAiC;IACjC,0CAA2B,CAAA;IAC3B,qBAAqB;IACrB,8BAAe,CAAA;IACf,sBAAsB;IACtB,gCAAiB,CAAA;AACnB,CAAC,EAPW,WAAW,2BAAX,WAAW,QAOtB;AA+ID,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,wBAAR,QAAQ,QAWnB;AA6ID,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,4CAA5B,4BAA4B,QAiBvC;AAu7BD,IAAY,mBAMX;AAND,WAA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AAgC;IAChC,kEAAqC,CAAA;AACvC,CAAC,EAXW,yBAAyB,yCAAzB,yBAAyB,QAWpC;AAmFD,IAAY,WAOX;AAPD,WAAY,WAAW;IACrB,2BAA2B;IAC3B,sCAAuB,CAAA;IACvB,2BAA2B;IAC3B,kCAAmB,CAAA;IACnB,6BAA6B;IAC7B,sCAAuB,CAAA;AACzB,CAAC,EAPW,WAAW,2BAAX,WAAW,QAOtB;AAiBD,IAAY,KAIX;AAJD,WAAY,KAAK;IACf,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;IACnB,4BAAmB,CAAA;AACrB,CAAC,EAJW,KAAK,qBAAL,KAAK,QAIhB;AAUD,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,wBAAR,QAAQ,QAOnB;AAsLD,gGAAgG;AAChG,IAAY,aAIX;AAJD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,oCAAmB,CAAA;AACrB,CAAC,EAJW,aAAa,6BAAb,aAAa,QAIxB;AAiCD,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,+CAA2B,CAAA;IAC3B,2CAAuB,CAAA;IACvB,iDAA6B,CAAA;AAC/B,CAAC,EAJW,gBAAgB,gCAAhB,gBAAgB,QAI3B"}
|
|
@@ -1296,6 +1296,44 @@ export declare enum WebhookIdentityType {
|
|
|
1296
1296
|
WIX_USER = "WIX_USER",
|
|
1297
1297
|
APP = "APP"
|
|
1298
1298
|
}
|
|
1299
|
+
export interface AddOnsGroup {
|
|
1300
|
+
/**
|
|
1301
|
+
* ID of the group.
|
|
1302
|
+
* @readonly
|
|
1303
|
+
* @format GUID
|
|
1304
|
+
*/
|
|
1305
|
+
_id?: string | null;
|
|
1306
|
+
/**
|
|
1307
|
+
* The name of the group.
|
|
1308
|
+
* @maxLength 100
|
|
1309
|
+
*/
|
|
1310
|
+
name?: string | null;
|
|
1311
|
+
/**
|
|
1312
|
+
* The maximum number of AddOns that can be selected from this group.
|
|
1313
|
+
*
|
|
1314
|
+
* If not set, there is no upper limit.
|
|
1315
|
+
*/
|
|
1316
|
+
maxNumberOfAddOns?: number | null;
|
|
1317
|
+
/**
|
|
1318
|
+
* List of AddOn IDs that are part of this group.
|
|
1319
|
+
* @format GUID
|
|
1320
|
+
* @maxSize 7
|
|
1321
|
+
*/
|
|
1322
|
+
addOnIds?: string[] | null;
|
|
1323
|
+
}
|
|
1324
|
+
export interface AddOnDetails {
|
|
1325
|
+
/**
|
|
1326
|
+
* ID of the AddOn.
|
|
1327
|
+
* @format GUID
|
|
1328
|
+
*/
|
|
1329
|
+
addOnId?: string | null;
|
|
1330
|
+
/**
|
|
1331
|
+
* The duration of the AddOn in minutes.
|
|
1332
|
+
*
|
|
1333
|
+
* This field can be empty if the AddOn has no specific duration.
|
|
1334
|
+
*/
|
|
1335
|
+
durationInMinutes?: number | null;
|
|
1336
|
+
}
|
|
1299
1337
|
export interface CreateServiceRequest {
|
|
1300
1338
|
/** Service to create. */
|
|
1301
1339
|
service: Service;
|
|
@@ -2613,6 +2651,149 @@ export declare enum CloneErrors {
|
|
|
2613
2651
|
/** Failed to clone the original service's *booking form*. */
|
|
2614
2652
|
FORM = "FORM"
|
|
2615
2653
|
}
|
|
2654
|
+
export interface CreateAddOnsGroupRequest {
|
|
2655
|
+
/** AddOnsGroup to create. */
|
|
2656
|
+
addOnsGroup?: AddOnsGroup;
|
|
2657
|
+
/** @format GUID */
|
|
2658
|
+
serviceId?: string | null;
|
|
2659
|
+
}
|
|
2660
|
+
export interface CreateAddOnsGroupResponse {
|
|
2661
|
+
/** Created AddOnsGroup. */
|
|
2662
|
+
addOnsGroup?: AddOnsGroup;
|
|
2663
|
+
}
|
|
2664
|
+
export interface DeleteAddOnsGroupRequest {
|
|
2665
|
+
/**
|
|
2666
|
+
* ID of the AddOnsGroup to delete.
|
|
2667
|
+
* @format GUID
|
|
2668
|
+
*/
|
|
2669
|
+
addOnsGroupId?: string | null;
|
|
2670
|
+
}
|
|
2671
|
+
export interface DeleteAddOnsGroupResponse {
|
|
2672
|
+
}
|
|
2673
|
+
export interface UpdateAddOnsGroupRequest {
|
|
2674
|
+
/** AddOnsGroup to update. */
|
|
2675
|
+
addOnsGroup?: AddOnsGroup;
|
|
2676
|
+
/** Explicit list of fields to update. */
|
|
2677
|
+
mask?: string[];
|
|
2678
|
+
}
|
|
2679
|
+
export interface UpdateAddOnsGroupResponse {
|
|
2680
|
+
/** Updated AddOnsGroup */
|
|
2681
|
+
addOnsGroup?: AddOnsGroup;
|
|
2682
|
+
}
|
|
2683
|
+
export interface ListAddOnGroupsByServiceIdRequest {
|
|
2684
|
+
/**
|
|
2685
|
+
* ID of the service to retrieve AddOns for.
|
|
2686
|
+
* @format GUID
|
|
2687
|
+
*/
|
|
2688
|
+
serviceId?: string | null;
|
|
2689
|
+
/**
|
|
2690
|
+
* List of group ids to return. If not provided, all groups are returned.
|
|
2691
|
+
* @format GUID
|
|
2692
|
+
* @maxSize 3
|
|
2693
|
+
*/
|
|
2694
|
+
groupIds?: string[] | null;
|
|
2695
|
+
}
|
|
2696
|
+
export interface ListAddOnGroupsByServiceIdResponse {
|
|
2697
|
+
/**
|
|
2698
|
+
* List of group IDs and their linked AddOns.
|
|
2699
|
+
* @maxSize 3
|
|
2700
|
+
*/
|
|
2701
|
+
addOnGroupsDetails?: AddOnGroupDetail[];
|
|
2702
|
+
}
|
|
2703
|
+
export interface AddOn {
|
|
2704
|
+
/**
|
|
2705
|
+
* The AddOn ID.
|
|
2706
|
+
* @format GUID
|
|
2707
|
+
*/
|
|
2708
|
+
addOnId?: string | null;
|
|
2709
|
+
/**
|
|
2710
|
+
* The AddOn name.
|
|
2711
|
+
* @maxLength 100
|
|
2712
|
+
*/
|
|
2713
|
+
name?: string | null;
|
|
2714
|
+
/** The AddOn description. */
|
|
2715
|
+
durationInMinutes?: number | null;
|
|
2716
|
+
/**
|
|
2717
|
+
* The AddOn price.
|
|
2718
|
+
* @readonly
|
|
2719
|
+
* @maxLength 100
|
|
2720
|
+
*/
|
|
2721
|
+
formattedAmount?: string | null;
|
|
2722
|
+
}
|
|
2723
|
+
export interface AddOnGroupDetail {
|
|
2724
|
+
/**
|
|
2725
|
+
* The group ID.
|
|
2726
|
+
* @format GUID
|
|
2727
|
+
*/
|
|
2728
|
+
groupId?: string | null;
|
|
2729
|
+
/**
|
|
2730
|
+
* The group name.
|
|
2731
|
+
* @maxLength 100
|
|
2732
|
+
*/
|
|
2733
|
+
groupName?: string | null;
|
|
2734
|
+
/**
|
|
2735
|
+
* The AddOns information linked to the group.
|
|
2736
|
+
* @maxSize 7
|
|
2737
|
+
*/
|
|
2738
|
+
addOns?: AddOn[];
|
|
2739
|
+
}
|
|
2740
|
+
export interface SetAddOnsForGroupRequest {
|
|
2741
|
+
/**
|
|
2742
|
+
* The service ID to set AddOns for.
|
|
2743
|
+
* @format GUID
|
|
2744
|
+
*/
|
|
2745
|
+
serviceId?: string | null;
|
|
2746
|
+
/**
|
|
2747
|
+
* The group ID to set AddOns for.
|
|
2748
|
+
* @format GUID
|
|
2749
|
+
*/
|
|
2750
|
+
groupId?: string | null;
|
|
2751
|
+
/**
|
|
2752
|
+
* The IDs of AddOns to set.
|
|
2753
|
+
* @format GUID
|
|
2754
|
+
* @minSize 1
|
|
2755
|
+
* @maxSize 7
|
|
2756
|
+
*/
|
|
2757
|
+
addOnIds?: string[] | null;
|
|
2758
|
+
}
|
|
2759
|
+
export interface SetAddOnsForGroupResponse {
|
|
2760
|
+
/** The updated AddOnsGroup. */
|
|
2761
|
+
addOnsGroup?: AddOnsGroup;
|
|
2762
|
+
}
|
|
2763
|
+
export interface ValidateAddOnsSelectionRequest {
|
|
2764
|
+
/**
|
|
2765
|
+
* The service ID to validate AddOns against.
|
|
2766
|
+
* @format GUID
|
|
2767
|
+
*/
|
|
2768
|
+
serviceId?: string | null;
|
|
2769
|
+
/**
|
|
2770
|
+
* The group ID to validate AddOns against.
|
|
2771
|
+
* @format GUID
|
|
2772
|
+
*/
|
|
2773
|
+
groupId?: string | null;
|
|
2774
|
+
/**
|
|
2775
|
+
* The IDs of AddOns to validate.
|
|
2776
|
+
* @format GUID
|
|
2777
|
+
* @minSize 1
|
|
2778
|
+
* @maxSize 7
|
|
2779
|
+
*/
|
|
2780
|
+
addOnIds?: string[] | null;
|
|
2781
|
+
}
|
|
2782
|
+
export interface ValidateAddOnsSelectionResponse {
|
|
2783
|
+
/** The validation result. */
|
|
2784
|
+
result?: ValidationResult;
|
|
2785
|
+
}
|
|
2786
|
+
export interface ValidationResult {
|
|
2787
|
+
/** Whether the AddOns selection is valid. */
|
|
2788
|
+
valid?: boolean | null;
|
|
2789
|
+
/**
|
|
2790
|
+
* A validation error message.
|
|
2791
|
+
* This field should populated when `valid` is `false`.
|
|
2792
|
+
* @minLength 1
|
|
2793
|
+
* @maxLength 300
|
|
2794
|
+
*/
|
|
2795
|
+
message?: string | null;
|
|
2796
|
+
}
|
|
2616
2797
|
/** An event sent every time a category entity is changed. */
|
|
2617
2798
|
export interface CategoryNotification {
|
|
2618
2799
|
category?: Category;
|
|
@@ -3572,14 +3753,19 @@ export interface ExternalCalendarInfo {
|
|
|
3572
3753
|
calendarType?: CalendarType;
|
|
3573
3754
|
}
|
|
3574
3755
|
export declare enum CalendarType {
|
|
3756
|
+
/** There is no information about the external calendar type. */
|
|
3575
3757
|
UNDEFINED = "UNDEFINED",
|
|
3758
|
+
/** [Google Calendar](https://developers.google.com/calendar/api/guides/overview). */
|
|
3576
3759
|
GOOGLE = "GOOGLE",
|
|
3760
|
+
/** Apple iCalendar. */
|
|
3577
3761
|
I_CAL = "I_CAL",
|
|
3578
|
-
/** Use `MICROSOFT` instead. */
|
|
3762
|
+
/** __Deprecated__. Use `MICROSOFT` instead. */
|
|
3579
3763
|
OUTLOOK = "OUTLOOK",
|
|
3580
|
-
/** Use `MICROSOFT` instead. */
|
|
3764
|
+
/** __Deprecated__. Use `MICROSOFT` instead. */
|
|
3581
3765
|
OFFICE_365 = "OFFICE_365",
|
|
3766
|
+
/** Microsoft Calendar. For example, Office 365 calendar or Outlook calendar. */
|
|
3582
3767
|
MICROSOFT = "MICROSOFT",
|
|
3768
|
+
/** A different type of external calendar, not listed here. */
|
|
3583
3769
|
OTHER = "OTHER"
|
|
3584
3770
|
}
|
|
3585
3771
|
export declare enum Status {
|
|
@@ -323,14 +323,19 @@ var ConferenceType;
|
|
|
323
323
|
})(ConferenceType || (exports.ConferenceType = ConferenceType = {}));
|
|
324
324
|
var CalendarType;
|
|
325
325
|
(function (CalendarType) {
|
|
326
|
+
/** There is no information about the external calendar type. */
|
|
326
327
|
CalendarType["UNDEFINED"] = "UNDEFINED";
|
|
328
|
+
/** [Google Calendar](https://developers.google.com/calendar/api/guides/overview). */
|
|
327
329
|
CalendarType["GOOGLE"] = "GOOGLE";
|
|
330
|
+
/** Apple iCalendar. */
|
|
328
331
|
CalendarType["I_CAL"] = "I_CAL";
|
|
329
|
-
/** Use `MICROSOFT` instead. */
|
|
332
|
+
/** __Deprecated__. Use `MICROSOFT` instead. */
|
|
330
333
|
CalendarType["OUTLOOK"] = "OUTLOOK";
|
|
331
|
-
/** Use `MICROSOFT` instead. */
|
|
334
|
+
/** __Deprecated__. Use `MICROSOFT` instead. */
|
|
332
335
|
CalendarType["OFFICE_365"] = "OFFICE_365";
|
|
336
|
+
/** Microsoft Calendar. For example, Office 365 calendar or Outlook calendar. */
|
|
333
337
|
CalendarType["MICROSOFT"] = "MICROSOFT";
|
|
338
|
+
/** A different type of external calendar, not listed here. */
|
|
334
339
|
CalendarType["OTHER"] = "OTHER";
|
|
335
340
|
})(CalendarType || (exports.CalendarType = CalendarType = {}));
|
|
336
341
|
var Status;
|