@wix/bookings 1.0.293 → 1.0.294
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-availability-v1-slot-availability.types.d.ts +6 -2
- package/build/cjs/src/bookings-availability-v1-slot-availability.types.js +14 -12
- package/build/cjs/src/bookings-availability-v1-slot-availability.types.js.map +1 -1
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.d.ts +6 -2
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js +14 -12
- package/build/cjs/src/bookings-availability-v1-slot-availability.universal.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v1-session.public.d.ts +6 -6
- package/build/cjs/src/bookings-calendar-v1-session.types.d.ts +39 -12
- package/build/cjs/src/bookings-calendar-v1-session.types.js +100 -88
- package/build/cjs/src/bookings-calendar-v1-session.types.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v1-session.universal.d.ts +40 -14
- package/build/cjs/src/bookings-calendar-v1-session.universal.js +100 -88
- package/build/cjs/src/bookings-calendar-v1-session.universal.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-external-calendar.types.d.ts +60 -19
- package/build/cjs/src/bookings-calendar-v2-external-calendar.types.js +160 -141
- package/build/cjs/src/bookings-calendar-v2-external-calendar.types.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.d.ts +59 -19
- package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.js +160 -141
- package/build/cjs/src/bookings-calendar-v2-external-calendar.universal.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-session-view.types.d.ts +42 -13
- package/build/cjs/src/bookings-calendar-v2-session-view.types.js +111 -98
- package/build/cjs/src/bookings-calendar-v2-session-view.types.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v2-session-view.universal.d.ts +42 -13
- package/build/cjs/src/bookings-calendar-v2-session-view.universal.js +111 -98
- package/build/cjs/src/bookings-calendar-v2-session-view.universal.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.public.d.ts +2 -2
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +67 -21
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.js +169 -148
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +67 -22
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js +169 -148
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.d.ts +44 -11
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.js +87 -76
- package/build/cjs/src/bookings-reader-v2-extended-booking.types.js.map +1 -1
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.d.ts +43 -11
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js +87 -76
- package/build/cjs/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.public.d.ts +9 -9
- package/build/cjs/src/bookings-services-v2-service.types.d.ts +83 -27
- package/build/cjs/src/bookings-services-v2-service.types.js +217 -190
- package/build/cjs/src/bookings-services-v2-service.types.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.universal.d.ts +83 -28
- package/build/cjs/src/bookings-services-v2-service.universal.js +217 -190
- package/build/cjs/src/bookings-services-v2-service.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-attendance.public.d.ts +1 -1
- package/build/cjs/src/bookings-v2-attendance.types.d.ts +11 -2
- package/build/cjs/src/bookings-v2-attendance.types.js +13 -11
- package/build/cjs/src/bookings-v2-attendance.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-attendance.universal.d.ts +11 -3
- package/build/cjs/src/bookings-v2-attendance.universal.js +13 -11
- package/build/cjs/src/bookings-v2-attendance.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.types.d.ts +46 -12
- package/build/cjs/src/bookings-v2-booking.types.js +97 -85
- package/build/cjs/src/bookings-v2-booking.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-booking.universal.d.ts +45 -12
- package/build/cjs/src/bookings-v2-booking.universal.js +97 -85
- package/build/cjs/src/bookings-v2-booking.universal.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.types.d.ts +37 -9
- package/build/cjs/src/bookings-v2-price-info.types.js +74 -65
- package/build/cjs/src/bookings-v2-price-info.types.js.map +1 -1
- package/build/cjs/src/bookings-v2-price-info.universal.d.ts +37 -9
- package/build/cjs/src/bookings-v2-price-info.universal.js +74 -65
- package/build/cjs/src/bookings-v2-price-info.universal.js.map +1 -1
- package/build/es/src/bookings-availability-v1-slot-availability.types.d.ts +6 -2
- package/build/es/src/bookings-availability-v1-slot-availability.types.js +14 -12
- package/build/es/src/bookings-availability-v1-slot-availability.types.js.map +1 -1
- package/build/es/src/bookings-availability-v1-slot-availability.universal.d.ts +6 -2
- package/build/es/src/bookings-availability-v1-slot-availability.universal.js +14 -12
- package/build/es/src/bookings-availability-v1-slot-availability.universal.js.map +1 -1
- package/build/es/src/bookings-calendar-v1-session.public.d.ts +6 -6
- package/build/es/src/bookings-calendar-v1-session.types.d.ts +39 -12
- package/build/es/src/bookings-calendar-v1-session.types.js +100 -88
- package/build/es/src/bookings-calendar-v1-session.types.js.map +1 -1
- package/build/es/src/bookings-calendar-v1-session.universal.d.ts +40 -14
- package/build/es/src/bookings-calendar-v1-session.universal.js +100 -88
- package/build/es/src/bookings-calendar-v1-session.universal.js.map +1 -1
- package/build/es/src/bookings-calendar-v2-external-calendar.types.d.ts +60 -19
- package/build/es/src/bookings-calendar-v2-external-calendar.types.js +160 -141
- package/build/es/src/bookings-calendar-v2-external-calendar.types.js.map +1 -1
- package/build/es/src/bookings-calendar-v2-external-calendar.universal.d.ts +59 -19
- package/build/es/src/bookings-calendar-v2-external-calendar.universal.js +160 -141
- package/build/es/src/bookings-calendar-v2-external-calendar.universal.js.map +1 -1
- package/build/es/src/bookings-calendar-v2-session-view.types.d.ts +42 -13
- package/build/es/src/bookings-calendar-v2-session-view.types.js +111 -98
- package/build/es/src/bookings-calendar-v2-session-view.types.js.map +1 -1
- package/build/es/src/bookings-calendar-v2-session-view.universal.d.ts +42 -13
- package/build/es/src/bookings-calendar-v2-session-view.universal.js +111 -98
- package/build/es/src/bookings-calendar-v2-session-view.universal.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.public.d.ts +2 -2
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +67 -21
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.js +169 -148
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.d.ts +67 -22
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js +169 -148
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.types.d.ts +44 -11
- package/build/es/src/bookings-reader-v2-extended-booking.types.js +87 -76
- package/build/es/src/bookings-reader-v2-extended-booking.types.js.map +1 -1
- package/build/es/src/bookings-reader-v2-extended-booking.universal.d.ts +43 -11
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js +87 -76
- package/build/es/src/bookings-reader-v2-extended-booking.universal.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.public.d.ts +9 -9
- package/build/es/src/bookings-services-v2-service.types.d.ts +83 -27
- package/build/es/src/bookings-services-v2-service.types.js +217 -190
- package/build/es/src/bookings-services-v2-service.types.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.universal.d.ts +83 -28
- package/build/es/src/bookings-services-v2-service.universal.js +217 -190
- package/build/es/src/bookings-services-v2-service.universal.js.map +1 -1
- package/build/es/src/bookings-v2-attendance.public.d.ts +1 -1
- package/build/es/src/bookings-v2-attendance.types.d.ts +11 -2
- package/build/es/src/bookings-v2-attendance.types.js +13 -11
- package/build/es/src/bookings-v2-attendance.types.js.map +1 -1
- package/build/es/src/bookings-v2-attendance.universal.d.ts +11 -3
- package/build/es/src/bookings-v2-attendance.universal.js +13 -11
- package/build/es/src/bookings-v2-attendance.universal.js.map +1 -1
- package/build/es/src/bookings-v2-booking.types.d.ts +46 -12
- package/build/es/src/bookings-v2-booking.types.js +97 -85
- package/build/es/src/bookings-v2-booking.types.js.map +1 -1
- package/build/es/src/bookings-v2-booking.universal.d.ts +45 -12
- package/build/es/src/bookings-v2-booking.universal.js +97 -85
- package/build/es/src/bookings-v2-booking.universal.js.map +1 -1
- package/build/es/src/bookings-v2-price-info.types.d.ts +37 -9
- package/build/es/src/bookings-v2-price-info.types.js +74 -65
- package/build/es/src/bookings-v2-price-info.types.js.map +1 -1
- package/build/es/src/bookings-v2-price-info.universal.d.ts +37 -9
- package/build/es/src/bookings-v2-price-info.universal.js +74 -65
- package/build/es/src/bookings-v2-price-info.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -240,13 +240,15 @@ export interface LinkedSchedule {
|
|
|
240
240
|
*/
|
|
241
241
|
scheduleOwnerId?: string;
|
|
242
242
|
}
|
|
243
|
-
|
|
243
|
+
declare enum TransparencyEnum {
|
|
244
244
|
UNDEFINED = "UNDEFINED",
|
|
245
245
|
/** The schedule can have available slots during the session. */
|
|
246
246
|
FREE = "FREE",
|
|
247
247
|
/** The schedule cannot have available slots during the session. Default value. */
|
|
248
248
|
BUSY = "BUSY"
|
|
249
249
|
}
|
|
250
|
+
declare type Transparency = `${TransparencyEnum}`;
|
|
251
|
+
export { TransparencyEnum as Transparency };
|
|
250
252
|
export interface Location {
|
|
251
253
|
/**
|
|
252
254
|
* Location type.
|
|
@@ -261,12 +263,14 @@ export interface Location {
|
|
|
261
263
|
/** Custom address, used when locationType is `"OWNER_CUSTOM"`. Might be used when locationType is `"CUSTOM"` in case the owner sets a custom address for the session which is different from the default. */
|
|
262
264
|
customAddress?: Address;
|
|
263
265
|
}
|
|
264
|
-
|
|
266
|
+
declare enum LocationTypeEnum {
|
|
265
267
|
UNDEFINED = "UNDEFINED",
|
|
266
268
|
OWNER_BUSINESS = "OWNER_BUSINESS",
|
|
267
269
|
OWNER_CUSTOM = "OWNER_CUSTOM",
|
|
268
270
|
CUSTOM = "CUSTOM"
|
|
269
271
|
}
|
|
272
|
+
declare type LocationType = `${LocationTypeEnum}`;
|
|
273
|
+
export { LocationTypeEnum as LocationType };
|
|
270
274
|
/** Physical address */
|
|
271
275
|
export interface Address extends AddressStreetOneOf {
|
|
272
276
|
/** Street name, number and apartment number. */
|
|
@@ -380,12 +384,15 @@ export interface LocationsLocation {
|
|
|
380
384
|
locationTypes?: LocationsLocationType[];
|
|
381
385
|
}
|
|
382
386
|
/** For future use */
|
|
383
|
-
|
|
387
|
+
declare enum LocationStatusEnum {
|
|
384
388
|
ACTIVE = "ACTIVE",
|
|
385
389
|
INACTIVE = "INACTIVE"
|
|
386
390
|
}
|
|
387
391
|
/** For future use */
|
|
388
|
-
|
|
392
|
+
declare type LocationStatus = `${LocationStatusEnum}`;
|
|
393
|
+
export { LocationStatusEnum as LocationStatus };
|
|
394
|
+
/** For future use */
|
|
395
|
+
declare enum LocationsLocationTypeEnum {
|
|
389
396
|
UNKNOWN = "UNKNOWN",
|
|
390
397
|
BRANCH = "BRANCH",
|
|
391
398
|
OFFICES = "OFFICES",
|
|
@@ -393,6 +400,9 @@ export declare enum LocationsLocationType {
|
|
|
393
400
|
HEADQUARTERS = "HEADQUARTERS",
|
|
394
401
|
INVENTORY = "INVENTORY"
|
|
395
402
|
}
|
|
403
|
+
/** For future use */
|
|
404
|
+
declare type LocationsLocationType = `${LocationsLocationTypeEnum}`;
|
|
405
|
+
export { LocationsLocationTypeEnum as LocationsLocationType };
|
|
396
406
|
export interface LocationsAddress {
|
|
397
407
|
/** 2-letter country code in an [ISO-3166 alpha-2](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2) format. */
|
|
398
408
|
country?: string | null;
|
|
@@ -454,7 +464,7 @@ export interface TimePeriod {
|
|
|
454
464
|
closeTime?: string;
|
|
455
465
|
}
|
|
456
466
|
/** Enumerates the days of the week. */
|
|
457
|
-
|
|
467
|
+
declare enum DayOfWeekEnum {
|
|
458
468
|
MONDAY = "MONDAY",
|
|
459
469
|
TUESDAY = "TUESDAY",
|
|
460
470
|
WEDNESDAY = "WEDNESDAY",
|
|
@@ -463,6 +473,9 @@ export declare enum DayOfWeek {
|
|
|
463
473
|
SATURDAY = "SATURDAY",
|
|
464
474
|
SUNDAY = "SUNDAY"
|
|
465
475
|
}
|
|
476
|
+
/** Enumerates the days of the week. */
|
|
477
|
+
declare type DayOfWeek = `${DayOfWeekEnum}`;
|
|
478
|
+
export { DayOfWeekEnum as DayOfWeek };
|
|
466
479
|
/** Exception to the business's regular hours. The business can be open or closed during the exception. */
|
|
467
480
|
export interface SpecialHourPeriod {
|
|
468
481
|
/** Start date and time of the exception in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format and [Coordinated Universal Time (UTC)](https://en.wikipedia.org/wiki/Coordinated_Universal_Time). */
|
|
@@ -528,7 +541,7 @@ export interface Participant {
|
|
|
528
541
|
*/
|
|
529
542
|
inherited?: boolean;
|
|
530
543
|
}
|
|
531
|
-
|
|
544
|
+
declare enum ApprovalStatusEnum {
|
|
532
545
|
/** Default. */
|
|
533
546
|
UNDEFINED = "UNDEFINED",
|
|
534
547
|
/** Pending business approval. */
|
|
@@ -538,11 +551,13 @@ export declare enum ApprovalStatus {
|
|
|
538
551
|
/** Declined by the business. */
|
|
539
552
|
DECLINED = "DECLINED"
|
|
540
553
|
}
|
|
554
|
+
declare type ApprovalStatus = `${ApprovalStatusEnum}`;
|
|
555
|
+
export { ApprovalStatusEnum as ApprovalStatus };
|
|
541
556
|
export interface ExternalCalendarInfo {
|
|
542
557
|
/** The external calendar type (e.g. Google Calendar, iCal, etc). */
|
|
543
558
|
calendarType?: CalendarType;
|
|
544
559
|
}
|
|
545
|
-
|
|
560
|
+
declare enum CalendarTypeEnum {
|
|
546
561
|
UNDEFINED = "UNDEFINED",
|
|
547
562
|
GOOGLE = "GOOGLE",
|
|
548
563
|
I_CAL = "I_CAL",
|
|
@@ -553,13 +568,15 @@ export declare enum CalendarType {
|
|
|
553
568
|
MICROSOFT = "MICROSOFT",
|
|
554
569
|
OTHER = "OTHER"
|
|
555
570
|
}
|
|
571
|
+
declare type CalendarType = `${CalendarTypeEnum}`;
|
|
572
|
+
export { CalendarTypeEnum as CalendarType };
|
|
556
573
|
export interface ExternalCalendarOverrides {
|
|
557
574
|
/** Synced title of the external calendar event. */
|
|
558
575
|
title?: string | null;
|
|
559
576
|
/** Synced description of the external calendar event. */
|
|
560
577
|
description?: string | null;
|
|
561
578
|
}
|
|
562
|
-
|
|
579
|
+
declare enum StatusEnum {
|
|
563
580
|
UNDEFINED = "UNDEFINED",
|
|
564
581
|
/** The session is confirmed. Default status. */
|
|
565
582
|
CONFIRMED = "CONFIRMED",
|
|
@@ -570,7 +587,9 @@ export declare enum Status {
|
|
|
570
587
|
*/
|
|
571
588
|
CANCELLED = "CANCELLED"
|
|
572
589
|
}
|
|
573
|
-
|
|
590
|
+
declare type Status = `${StatusEnum}`;
|
|
591
|
+
export { StatusEnum as Status };
|
|
592
|
+
declare enum SessionTypeEnum {
|
|
574
593
|
UNDEFINED = "UNDEFINED",
|
|
575
594
|
/**
|
|
576
595
|
* The session creates an event on the calendar for the owner of the schedule that the session belongs to.
|
|
@@ -584,6 +603,8 @@ export declare enum SessionType {
|
|
|
584
603
|
/** Deprecated. The session represents a resource's available hours. please use WORKING_HOURS */
|
|
585
604
|
AVAILABILITY = "AVAILABILITY"
|
|
586
605
|
}
|
|
606
|
+
declare type SessionType = `${SessionTypeEnum}`;
|
|
607
|
+
export { SessionTypeEnum as SessionType };
|
|
587
608
|
export interface CalendarConference {
|
|
588
609
|
/** Wix Calendar conference ID. */
|
|
589
610
|
id?: string;
|
|
@@ -611,13 +632,15 @@ export interface CalendarConference {
|
|
|
611
632
|
/** ID of the account owner in the video conferencing service. */
|
|
612
633
|
accountOwnerId?: string | null;
|
|
613
634
|
}
|
|
614
|
-
|
|
635
|
+
declare enum ConferenceTypeEnum {
|
|
615
636
|
UNDEFINED = "UNDEFINED",
|
|
616
637
|
/** API-generated online meeting. */
|
|
617
638
|
ONLINE_MEETING_PROVIDER = "ONLINE_MEETING_PROVIDER",
|
|
618
639
|
/** User-defined meeting. */
|
|
619
640
|
CUSTOM = "CUSTOM"
|
|
620
641
|
}
|
|
642
|
+
declare type ConferenceType = `${ConferenceTypeEnum}`;
|
|
643
|
+
export { ConferenceTypeEnum as ConferenceType };
|
|
621
644
|
export interface SessionVersion {
|
|
622
645
|
/** Incremental version number, which is updated on each change to the session or on changes affecting the session. */
|
|
623
646
|
number?: string | null;
|
|
@@ -874,7 +897,7 @@ export interface Interval {
|
|
|
874
897
|
/** The duration of the interval in minutes. Required. Part of the session end time calculation. minimum: 1, maximum: 86400. */
|
|
875
898
|
duration?: number;
|
|
876
899
|
}
|
|
877
|
-
|
|
900
|
+
declare enum DayEnum {
|
|
878
901
|
/** Undefined. */
|
|
879
902
|
UNDEFINED = "UNDEFINED",
|
|
880
903
|
/** Monday. */
|
|
@@ -892,11 +915,13 @@ export declare enum Day {
|
|
|
892
915
|
/** Sunday. */
|
|
893
916
|
SUN = "SUN"
|
|
894
917
|
}
|
|
918
|
+
declare type Day = `${DayEnum}`;
|
|
919
|
+
export { DayEnum as Day };
|
|
895
920
|
export interface Frequency {
|
|
896
921
|
/** The frequency of the recurrence in weeks. i.e. when this value is 4, the interval occurs every 4 weeks. Optional. The default is 1. minimum: 1, maximum: 52. */
|
|
897
922
|
repetition?: number | null;
|
|
898
923
|
}
|
|
899
|
-
|
|
924
|
+
declare enum RecurringIntervalTypeEnum {
|
|
900
925
|
/** The default value. Sessions for this interval will be of type EVENT. */
|
|
901
926
|
UNDEFINED = "UNDEFINED",
|
|
902
927
|
/** A recurring interval of events */
|
|
@@ -906,6 +931,8 @@ export declare enum RecurringIntervalType {
|
|
|
906
931
|
/** A recurring interval for availability */
|
|
907
932
|
AVAILABILITY = "AVAILABILITY"
|
|
908
933
|
}
|
|
934
|
+
declare type RecurringIntervalType = `${RecurringIntervalTypeEnum}`;
|
|
935
|
+
export { RecurringIntervalTypeEnum as RecurringIntervalType };
|
|
909
936
|
/**
|
|
910
937
|
* <!-- Needs updating when recurrence has been tested
|
|
911
938
|
* Schedule's availability calculation is executed by the schedule's available intervals and this additional information.
|
|
@@ -957,13 +984,15 @@ export interface SplitInterval {
|
|
|
957
984
|
/** Number of minutes between available slots' start times when `same_as_duration` is `false`. */
|
|
958
985
|
valueInMinutes?: number | null;
|
|
959
986
|
}
|
|
960
|
-
|
|
987
|
+
declare enum ScheduleStatusEnum {
|
|
961
988
|
UNDEFINED = "UNDEFINED",
|
|
962
989
|
/** The default value when the schedule is created. */
|
|
963
990
|
CREATED = "CREATED",
|
|
964
991
|
/** The schedule has been canceled. */
|
|
965
992
|
CANCELLED = "CANCELLED"
|
|
966
993
|
}
|
|
994
|
+
declare type ScheduleStatus = `${ScheduleStatusEnum}`;
|
|
995
|
+
export { ScheduleStatusEnum as ScheduleStatus };
|
|
967
996
|
export interface Version {
|
|
968
997
|
/** Schedule version number, updated each time the schedule is updated. */
|
|
969
998
|
scheduleVersion?: number | null;
|
|
@@ -1,142 +1,155 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ScheduleStatus = exports.RecurringIntervalType = exports.Day = exports.ConferenceType = exports.SessionType = exports.Status = exports.CalendarType = exports.ApprovalStatus = exports.DayOfWeek = exports.LocationsLocationType = exports.LocationStatus = exports.LocationType = exports.Transparency = void 0;
|
|
4
|
-
var
|
|
5
|
-
(function (
|
|
6
|
-
|
|
4
|
+
var TransparencyEnum;
|
|
5
|
+
(function (TransparencyEnum) {
|
|
6
|
+
TransparencyEnum["UNDEFINED"] = "UNDEFINED";
|
|
7
7
|
/** The schedule can have available slots during the session. */
|
|
8
|
-
|
|
8
|
+
TransparencyEnum["FREE"] = "FREE";
|
|
9
9
|
/** The schedule cannot have available slots during the session. Default value. */
|
|
10
|
-
|
|
11
|
-
})(
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
10
|
+
TransparencyEnum["BUSY"] = "BUSY";
|
|
11
|
+
})(TransparencyEnum || (TransparencyEnum = {}));
|
|
12
|
+
exports.Transparency = TransparencyEnum;
|
|
13
|
+
var LocationTypeEnum;
|
|
14
|
+
(function (LocationTypeEnum) {
|
|
15
|
+
LocationTypeEnum["UNDEFINED"] = "UNDEFINED";
|
|
16
|
+
LocationTypeEnum["OWNER_BUSINESS"] = "OWNER_BUSINESS";
|
|
17
|
+
LocationTypeEnum["OWNER_CUSTOM"] = "OWNER_CUSTOM";
|
|
18
|
+
LocationTypeEnum["CUSTOM"] = "CUSTOM";
|
|
19
|
+
})(LocationTypeEnum || (LocationTypeEnum = {}));
|
|
20
|
+
exports.LocationType = LocationTypeEnum;
|
|
19
21
|
/** For future use */
|
|
20
|
-
var
|
|
21
|
-
(function (
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
})(
|
|
22
|
+
var LocationStatusEnum;
|
|
23
|
+
(function (LocationStatusEnum) {
|
|
24
|
+
LocationStatusEnum["ACTIVE"] = "ACTIVE";
|
|
25
|
+
LocationStatusEnum["INACTIVE"] = "INACTIVE";
|
|
26
|
+
})(LocationStatusEnum || (LocationStatusEnum = {}));
|
|
27
|
+
exports.LocationStatus = LocationStatusEnum;
|
|
25
28
|
/** For future use */
|
|
26
|
-
var
|
|
27
|
-
(function (
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
})(
|
|
29
|
+
var LocationsLocationTypeEnum;
|
|
30
|
+
(function (LocationsLocationTypeEnum) {
|
|
31
|
+
LocationsLocationTypeEnum["UNKNOWN"] = "UNKNOWN";
|
|
32
|
+
LocationsLocationTypeEnum["BRANCH"] = "BRANCH";
|
|
33
|
+
LocationsLocationTypeEnum["OFFICES"] = "OFFICES";
|
|
34
|
+
LocationsLocationTypeEnum["RECEPTION"] = "RECEPTION";
|
|
35
|
+
LocationsLocationTypeEnum["HEADQUARTERS"] = "HEADQUARTERS";
|
|
36
|
+
LocationsLocationTypeEnum["INVENTORY"] = "INVENTORY";
|
|
37
|
+
})(LocationsLocationTypeEnum || (LocationsLocationTypeEnum = {}));
|
|
38
|
+
exports.LocationsLocationType = LocationsLocationTypeEnum;
|
|
35
39
|
/** Enumerates the days of the week. */
|
|
36
|
-
var
|
|
37
|
-
(function (
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
})(
|
|
46
|
-
|
|
47
|
-
|
|
40
|
+
var DayOfWeekEnum;
|
|
41
|
+
(function (DayOfWeekEnum) {
|
|
42
|
+
DayOfWeekEnum["MONDAY"] = "MONDAY";
|
|
43
|
+
DayOfWeekEnum["TUESDAY"] = "TUESDAY";
|
|
44
|
+
DayOfWeekEnum["WEDNESDAY"] = "WEDNESDAY";
|
|
45
|
+
DayOfWeekEnum["THURSDAY"] = "THURSDAY";
|
|
46
|
+
DayOfWeekEnum["FRIDAY"] = "FRIDAY";
|
|
47
|
+
DayOfWeekEnum["SATURDAY"] = "SATURDAY";
|
|
48
|
+
DayOfWeekEnum["SUNDAY"] = "SUNDAY";
|
|
49
|
+
})(DayOfWeekEnum || (DayOfWeekEnum = {}));
|
|
50
|
+
exports.DayOfWeek = DayOfWeekEnum;
|
|
51
|
+
var ApprovalStatusEnum;
|
|
52
|
+
(function (ApprovalStatusEnum) {
|
|
48
53
|
/** Default. */
|
|
49
|
-
|
|
54
|
+
ApprovalStatusEnum["UNDEFINED"] = "UNDEFINED";
|
|
50
55
|
/** Pending business approval. */
|
|
51
|
-
|
|
56
|
+
ApprovalStatusEnum["PENDING"] = "PENDING";
|
|
52
57
|
/** Approved by the business. */
|
|
53
|
-
|
|
58
|
+
ApprovalStatusEnum["APPROVED"] = "APPROVED";
|
|
54
59
|
/** Declined by the business. */
|
|
55
|
-
|
|
56
|
-
})(
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
ApprovalStatusEnum["DECLINED"] = "DECLINED";
|
|
61
|
+
})(ApprovalStatusEnum || (ApprovalStatusEnum = {}));
|
|
62
|
+
exports.ApprovalStatus = ApprovalStatusEnum;
|
|
63
|
+
var CalendarTypeEnum;
|
|
64
|
+
(function (CalendarTypeEnum) {
|
|
65
|
+
CalendarTypeEnum["UNDEFINED"] = "UNDEFINED";
|
|
66
|
+
CalendarTypeEnum["GOOGLE"] = "GOOGLE";
|
|
67
|
+
CalendarTypeEnum["I_CAL"] = "I_CAL";
|
|
62
68
|
/** Use `MICROSOFT` instead. */
|
|
63
|
-
|
|
69
|
+
CalendarTypeEnum["OUTLOOK"] = "OUTLOOK";
|
|
64
70
|
/** Use `MICROSOFT` instead. */
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
})(
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
71
|
+
CalendarTypeEnum["OFFICE_365"] = "OFFICE_365";
|
|
72
|
+
CalendarTypeEnum["MICROSOFT"] = "MICROSOFT";
|
|
73
|
+
CalendarTypeEnum["OTHER"] = "OTHER";
|
|
74
|
+
})(CalendarTypeEnum || (CalendarTypeEnum = {}));
|
|
75
|
+
exports.CalendarType = CalendarTypeEnum;
|
|
76
|
+
var StatusEnum;
|
|
77
|
+
(function (StatusEnum) {
|
|
78
|
+
StatusEnum["UNDEFINED"] = "UNDEFINED";
|
|
72
79
|
/** The session is confirmed. Default status. */
|
|
73
|
-
|
|
80
|
+
StatusEnum["CONFIRMED"] = "CONFIRMED";
|
|
74
81
|
/**
|
|
75
82
|
* The session is cancelled.
|
|
76
83
|
* A cancelled session can be the cancellation of a recurring session that should no longer be displayed or a deleted single session.
|
|
77
84
|
* The ListSessions returns cancelled sessions only if 'includeDelete' flag is set to true.
|
|
78
85
|
*/
|
|
79
|
-
|
|
80
|
-
})(
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
86
|
+
StatusEnum["CANCELLED"] = "CANCELLED";
|
|
87
|
+
})(StatusEnum || (StatusEnum = {}));
|
|
88
|
+
exports.Status = StatusEnum;
|
|
89
|
+
var SessionTypeEnum;
|
|
90
|
+
(function (SessionTypeEnum) {
|
|
91
|
+
SessionTypeEnum["UNDEFINED"] = "UNDEFINED";
|
|
84
92
|
/**
|
|
85
93
|
* The session creates an event on the calendar for the owner of the schedule that the session belongs to.
|
|
86
94
|
* Default type.
|
|
87
95
|
*/
|
|
88
|
-
|
|
96
|
+
SessionTypeEnum["EVENT"] = "EVENT";
|
|
89
97
|
/** The session represents a resource's available working hours. */
|
|
90
|
-
|
|
98
|
+
SessionTypeEnum["WORKING_HOURS"] = "WORKING_HOURS";
|
|
91
99
|
/** Deprecated. please use WORKING_HOURS */
|
|
92
|
-
|
|
100
|
+
SessionTypeEnum["TIME_AVAILABILITY"] = "TIME_AVAILABILITY";
|
|
93
101
|
/** Deprecated. The session represents a resource's available hours. please use WORKING_HOURS */
|
|
94
|
-
|
|
95
|
-
})(
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
102
|
+
SessionTypeEnum["AVAILABILITY"] = "AVAILABILITY";
|
|
103
|
+
})(SessionTypeEnum || (SessionTypeEnum = {}));
|
|
104
|
+
exports.SessionType = SessionTypeEnum;
|
|
105
|
+
var ConferenceTypeEnum;
|
|
106
|
+
(function (ConferenceTypeEnum) {
|
|
107
|
+
ConferenceTypeEnum["UNDEFINED"] = "UNDEFINED";
|
|
99
108
|
/** API-generated online meeting. */
|
|
100
|
-
|
|
109
|
+
ConferenceTypeEnum["ONLINE_MEETING_PROVIDER"] = "ONLINE_MEETING_PROVIDER";
|
|
101
110
|
/** User-defined meeting. */
|
|
102
|
-
|
|
103
|
-
})(
|
|
104
|
-
|
|
105
|
-
|
|
111
|
+
ConferenceTypeEnum["CUSTOM"] = "CUSTOM";
|
|
112
|
+
})(ConferenceTypeEnum || (ConferenceTypeEnum = {}));
|
|
113
|
+
exports.ConferenceType = ConferenceTypeEnum;
|
|
114
|
+
var DayEnum;
|
|
115
|
+
(function (DayEnum) {
|
|
106
116
|
/** Undefined. */
|
|
107
|
-
|
|
117
|
+
DayEnum["UNDEFINED"] = "UNDEFINED";
|
|
108
118
|
/** Monday. */
|
|
109
|
-
|
|
119
|
+
DayEnum["MON"] = "MON";
|
|
110
120
|
/** Tuesday. */
|
|
111
|
-
|
|
121
|
+
DayEnum["TUE"] = "TUE";
|
|
112
122
|
/** Wednesday. */
|
|
113
|
-
|
|
123
|
+
DayEnum["WED"] = "WED";
|
|
114
124
|
/** Thursday. */
|
|
115
|
-
|
|
125
|
+
DayEnum["THU"] = "THU";
|
|
116
126
|
/** Friday. */
|
|
117
|
-
|
|
127
|
+
DayEnum["FRI"] = "FRI";
|
|
118
128
|
/** Saturday. */
|
|
119
|
-
|
|
129
|
+
DayEnum["SAT"] = "SAT";
|
|
120
130
|
/** Sunday. */
|
|
121
|
-
|
|
122
|
-
})(
|
|
123
|
-
|
|
124
|
-
|
|
131
|
+
DayEnum["SUN"] = "SUN";
|
|
132
|
+
})(DayEnum || (DayEnum = {}));
|
|
133
|
+
exports.Day = DayEnum;
|
|
134
|
+
var RecurringIntervalTypeEnum;
|
|
135
|
+
(function (RecurringIntervalTypeEnum) {
|
|
125
136
|
/** The default value. Sessions for this interval will be of type EVENT. */
|
|
126
|
-
|
|
137
|
+
RecurringIntervalTypeEnum["UNDEFINED"] = "UNDEFINED";
|
|
127
138
|
/** A recurring interval of events */
|
|
128
|
-
|
|
139
|
+
RecurringIntervalTypeEnum["EVENT"] = "EVENT";
|
|
129
140
|
/** Deprecated */
|
|
130
|
-
|
|
141
|
+
RecurringIntervalTypeEnum["TIME_AVAILABILITY"] = "TIME_AVAILABILITY";
|
|
131
142
|
/** A recurring interval for availability */
|
|
132
|
-
|
|
133
|
-
})(
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
143
|
+
RecurringIntervalTypeEnum["AVAILABILITY"] = "AVAILABILITY";
|
|
144
|
+
})(RecurringIntervalTypeEnum || (RecurringIntervalTypeEnum = {}));
|
|
145
|
+
exports.RecurringIntervalType = RecurringIntervalTypeEnum;
|
|
146
|
+
var ScheduleStatusEnum;
|
|
147
|
+
(function (ScheduleStatusEnum) {
|
|
148
|
+
ScheduleStatusEnum["UNDEFINED"] = "UNDEFINED";
|
|
137
149
|
/** The default value when the schedule is created. */
|
|
138
|
-
|
|
150
|
+
ScheduleStatusEnum["CREATED"] = "CREATED";
|
|
139
151
|
/** The schedule has been canceled. */
|
|
140
|
-
|
|
141
|
-
})(
|
|
152
|
+
ScheduleStatusEnum["CANCELLED"] = "CANCELLED";
|
|
153
|
+
})(ScheduleStatusEnum || (ScheduleStatusEnum = {}));
|
|
154
|
+
exports.ScheduleStatus = ScheduleStatusEnum;
|
|
142
155
|
//# sourceMappingURL=bookings-calendar-v2-session-view.types.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-calendar-v2-session-view.types.js","sourceRoot":"","sources":["../../../src/bookings-calendar-v2-session-view.types.ts"],"names":[],"mappings":";;;AA0PA,
|
|
1
|
+
{"version":3,"file":"bookings-calendar-v2-session-view.types.js","sourceRoot":"","sources":["../../../src/bookings-calendar-v2-session-view.types.ts"],"names":[],"mappings":";;;AA0PA,IAAK,gBAMJ;AAND,WAAK,gBAAgB;IACnB,2CAAuB,CAAA;IACvB,gEAAgE;IAChE,iCAAa,CAAA;IACb,kFAAkF;IAClF,iCAAa,CAAA;AACf,CAAC,EANI,gBAAgB,KAAhB,gBAAgB,QAMpB;AAI4B,wCAAY;AAiBzC,IAAK,gBAKJ;AALD,WAAK,gBAAgB;IACnB,2CAAuB,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