@wix/bookings 1.0.144 → 1.0.145
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-calendar-v1-session.types.d.ts +5 -16
- package/build/cjs/src/bookings-calendar-v1-session.types.js.map +1 -1
- package/build/cjs/src/bookings-calendar-v1-session.universal.d.ts +11 -27
- 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 +20 -32
- 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 +20 -32
- 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 +20 -32
- 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 +20 -32
- package/build/cjs/src/bookings-calendar-v2-session-view.universal.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.http.js +12 -0
- package/build/cjs/src/bookings-catalog-v1-resource.http.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.public.d.ts +3 -0
- package/build/cjs/src/bookings-catalog-v1-resource.public.js +2 -1
- package/build/cjs/src/bookings-catalog-v1-resource.public.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.types.d.ts +23 -30
- package/build/cjs/src/bookings-catalog-v1-resource.types.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-resource.universal.d.ts +33 -30
- package/build/cjs/src/bookings-catalog-v1-resource.universal.js +10 -0
- package/build/cjs/src/bookings-catalog-v1-resource.universal.js.map +1 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.http.d.ts +1 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.http.js +1 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +20 -32
- 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 +24 -33
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js +4 -1
- package/build/cjs/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.types.d.ts +20 -32
- package/build/cjs/src/bookings-services-v2-service.types.js.map +1 -1
- package/build/cjs/src/bookings-services-v2-service.universal.d.ts +20 -32
- package/build/cjs/src/bookings-services-v2-service.universal.js.map +1 -1
- package/build/es/src/bookings-calendar-v1-session.types.d.ts +5 -16
- package/build/es/src/bookings-calendar-v1-session.types.js.map +1 -1
- package/build/es/src/bookings-calendar-v1-session.universal.d.ts +11 -27
- 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 +20 -32
- 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 +20 -32
- 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 +20 -32
- 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 +20 -32
- package/build/es/src/bookings-calendar-v2-session-view.universal.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-resource.http.js +12 -0
- package/build/es/src/bookings-catalog-v1-resource.http.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-resource.public.d.ts +3 -0
- package/build/es/src/bookings-catalog-v1-resource.public.js +1 -0
- package/build/es/src/bookings-catalog-v1-resource.public.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-resource.types.d.ts +23 -30
- package/build/es/src/bookings-catalog-v1-resource.types.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-resource.universal.d.ts +33 -30
- package/build/es/src/bookings-catalog-v1-resource.universal.js +10 -0
- package/build/es/src/bookings-catalog-v1-resource.universal.js.map +1 -1
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.http.d.ts +1 -1
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.http.js +1 -1
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.types.d.ts +20 -32
- 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 +24 -33
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js +4 -1
- package/build/es/src/bookings-catalog-v1-service-options-and-variants.universal.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.types.d.ts +20 -32
- package/build/es/src/bookings-services-v2-service.types.js.map +1 -1
- package/build/es/src/bookings-services-v2-service.universal.d.ts +20 -32
- package/build/es/src/bookings-services-v2-service.universal.js.map +1 -1
- package/package.json +2 -2
|
@@ -72,10 +72,7 @@ export interface Session {
|
|
|
72
72
|
* The value is inherited from the schedule and can be overridden unless the session is a recurring session.
|
|
73
73
|
*/
|
|
74
74
|
capacity?: number | null;
|
|
75
|
-
/**
|
|
76
|
-
* The price options offered for the session. Defaults to the schedule rate.
|
|
77
|
-
* The value is inherited from the schedule and can be overridden unless the session is a recurring session.
|
|
78
|
-
*/
|
|
75
|
+
/** Deprecated. Please use the [Booking Services V2](https://dev.wix.com/api/rest/wix-bookings/services-v2) payment instead. */
|
|
79
76
|
rate?: Rate;
|
|
80
77
|
/**
|
|
81
78
|
* Time reserved after the session end time, derived from the schedule availability constraints and the time between slots. Read-only.
|
|
@@ -94,9 +91,10 @@ export interface Session {
|
|
|
94
91
|
*/
|
|
95
92
|
totalNumberOfParticipants?: number;
|
|
96
93
|
/**
|
|
97
|
-
*
|
|
94
|
+
* *Partial list** list of participants booked for the session.
|
|
98
95
|
* The list includes participants who have registered for this specific session, and participants who have registered for a schedule that includes this session.
|
|
99
96
|
* If the session is a recurring session, this field must be empty.
|
|
97
|
+
* To retrieve the full list of session participants please use the [Query Extended Bookings API](https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/query-extended-bookings).
|
|
100
98
|
*/
|
|
101
99
|
participants?: Participant[];
|
|
102
100
|
/**
|
|
@@ -105,11 +103,7 @@ export interface Session {
|
|
|
105
103
|
* @readonly
|
|
106
104
|
*/
|
|
107
105
|
inheritedFields?: string[];
|
|
108
|
-
/**
|
|
109
|
-
* Title and description values to override session defaults when syncing to an external calendar.
|
|
110
|
-
* Learn more about [syncing calendars](https://support.wix.com/en/article/wix-bookings-important-information-about-syncing-google-calendars-with-wix-bookings).
|
|
111
|
-
* The value is inherited from the schedule and can be overridden unless the session is a recurring session.
|
|
112
|
-
*/
|
|
106
|
+
/** Deprecated and will be removed soon. */
|
|
113
107
|
externalCalendarOverrides?: ExternalCalendarOverrides;
|
|
114
108
|
/**
|
|
115
109
|
* Session status.
|
|
@@ -147,6 +141,7 @@ export interface Session {
|
|
|
147
141
|
/**
|
|
148
142
|
* A conference created for the session according to the details set in the schedule's conference provider information.
|
|
149
143
|
* If the session is a recurring session, this field is inherited from the schedule.
|
|
144
|
+
* **Partially deprecated.** Only `hostUrl` and `guestUrl` are to be supported.
|
|
150
145
|
*/
|
|
151
146
|
calendarConference?: CalendarConference;
|
|
152
147
|
/**
|
|
@@ -264,12 +259,6 @@ export interface Location {
|
|
|
264
259
|
address?: string | null;
|
|
265
260
|
/** 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. */
|
|
266
261
|
customAddress?: Address;
|
|
267
|
-
/**
|
|
268
|
-
* Valid when `locationType` is `OWNER_BUSINESS`. Defaults to the business's location.
|
|
269
|
-
*
|
|
270
|
-
* `businessSchedule` is not supported by Wix Bookings
|
|
271
|
-
*/
|
|
272
|
-
businessLocation?: LocationsLocation;
|
|
273
262
|
}
|
|
274
263
|
export declare enum LocationType {
|
|
275
264
|
UNDEFINED = "UNDEFINED",
|
|
@@ -774,12 +763,13 @@ export interface Schedule {
|
|
|
774
763
|
id?: string;
|
|
775
764
|
/** ID of the schedule's owner entity. This may be a resource ID or a service ID. */
|
|
776
765
|
scheduleOwnerId?: string | null;
|
|
777
|
-
timeZone?: string | null;
|
|
778
766
|
/**
|
|
779
|
-
*
|
|
780
|
-
*
|
|
781
|
-
*
|
|
767
|
+
* Schedule's time zone in [Area/Location](https://en.wikipedia.org/wiki/Tz_database) format. Read-only.
|
|
768
|
+
* Derived from the Wix Business time zone.
|
|
769
|
+
* @readonly
|
|
782
770
|
*/
|
|
771
|
+
timeZone?: string | null;
|
|
772
|
+
/** Deprecated. Please use the [Sessions API](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/session) instead. */
|
|
783
773
|
intervals?: RecurringInterval[];
|
|
784
774
|
/** Default title for the schedule's sessions. Maximum length: 6000 characters. */
|
|
785
775
|
title?: string | null;
|
|
@@ -795,12 +785,9 @@ export interface Schedule {
|
|
|
795
785
|
* Must be at most `1` for schedule whose availability is affected by another schedule. E.g, appointment schedules of the Wix Bookings app.
|
|
796
786
|
*/
|
|
797
787
|
capacity?: number | null;
|
|
798
|
-
/**
|
|
788
|
+
/** Deprecated. Please use the [Booking Services V2](https://dev.wix.com/api/rest/wix-bookings/services-v2) payment instead. */
|
|
799
789
|
rate?: Rate;
|
|
800
|
-
/**
|
|
801
|
-
* An object describing how to calculate the schedule's availability.
|
|
802
|
-
* An empty object indicates that the schedule is not available for booking.
|
|
803
|
-
*/
|
|
790
|
+
/** Deprecated and will be removed soon. */
|
|
804
791
|
availability?: Availability;
|
|
805
792
|
/**
|
|
806
793
|
* Number of participants registered to sessions in this schedule, calculated as the sum of the party sizes.
|
|
@@ -808,15 +795,13 @@ export interface Schedule {
|
|
|
808
795
|
*/
|
|
809
796
|
totalNumberOfParticipants?: number;
|
|
810
797
|
/**
|
|
811
|
-
*
|
|
798
|
+
* *Partial list** of participants which are registered to sessions in this schedule.
|
|
812
799
|
* Participants who are registered in the schedule are automatically registered to any session that is created for the schedule.
|
|
800
|
+
* To retrieve the full list of schedule participants please use the [Query Extended Bookings API](https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/query-extended-bookings).
|
|
813
801
|
* @readonly
|
|
814
802
|
*/
|
|
815
803
|
participants?: Participant[];
|
|
816
|
-
/**
|
|
817
|
-
* Title and description values to override session defaults when syncing to an external calendar.
|
|
818
|
-
* Learn more about [syncing calendars](https://support.wix.com/en/article/wix-bookings-important-information-about-syncing-google-calendars-with-wix-bookings).
|
|
819
|
-
*/
|
|
804
|
+
/** Deprecated and will be removed soon. */
|
|
820
805
|
externalCalendarOverrides?: ExternalCalendarOverrides;
|
|
821
806
|
/**
|
|
822
807
|
* Schedule status.
|
|
@@ -843,9 +828,12 @@ export interface Schedule {
|
|
|
843
828
|
* @readonly
|
|
844
829
|
*/
|
|
845
830
|
inheritedFields?: string[];
|
|
846
|
-
/**
|
|
831
|
+
/** Deprecated and will be removed soon. */
|
|
847
832
|
conferenceProvider?: ConferenceProvider;
|
|
848
|
-
/**
|
|
833
|
+
/**
|
|
834
|
+
* A conference created for the schedule. This is used when a participant is added to a schedule.
|
|
835
|
+
* **Partially deprecated.** Only `hostUrl` and `guestUrl` are to be supported.
|
|
836
|
+
*/
|
|
849
837
|
calendarConference?: CalendarConference;
|
|
850
838
|
}
|
|
851
839
|
export interface RecurringInterval {
|
|
@@ -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":";;;
|
|
1
|
+
{"version":3,"file":"bookings-calendar-v2-session-view.types.js","sourceRoot":"","sources":["../../../src/bookings-calendar-v2-session-view.types.ts"],"names":[],"mappings":";;;AAyPA,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,gEAAgE;IAChE,6BAAa,CAAA;IACb,kFAAkF;IAClF,6BAAa,CAAA;AACf,CAAC,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,CAAA;AAC/B,CAAC,EATW,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAShC;AAwDD,IAAY,cAMX;AAND,WAAY,cAAc;IACxB,yCAAuB,CAAA;IACvB,sDAAsD;IACtD,qCAAmB,CAAA;IACnB,sCAAsC;IACtC,yCAAuB,CAAA;AACzB,CAAC,EANW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAMzB"}
|
|
@@ -78,10 +78,7 @@ export interface Session {
|
|
|
78
78
|
* The value is inherited from the schedule and can be overridden unless the session is a recurring session.
|
|
79
79
|
*/
|
|
80
80
|
capacity?: number | null;
|
|
81
|
-
/**
|
|
82
|
-
* The price options offered for the session. Defaults to the schedule rate.
|
|
83
|
-
* The value is inherited from the schedule and can be overridden unless the session is a recurring session.
|
|
84
|
-
*/
|
|
81
|
+
/** Deprecated. Please use the [Booking Services V2](https://dev.wix.com/api/rest/wix-bookings/services-v2) payment instead. */
|
|
85
82
|
rate?: Rate;
|
|
86
83
|
/**
|
|
87
84
|
* Time reserved after the session end time, derived from the schedule availability constraints and the time between slots. Read-only.
|
|
@@ -100,9 +97,10 @@ export interface Session {
|
|
|
100
97
|
*/
|
|
101
98
|
totalNumberOfParticipants?: number;
|
|
102
99
|
/**
|
|
103
|
-
*
|
|
100
|
+
* *Partial list** list of participants booked for the session.
|
|
104
101
|
* The list includes participants who have registered for this specific session, and participants who have registered for a schedule that includes this session.
|
|
105
102
|
* If the session is a recurring session, this field must be empty.
|
|
103
|
+
* To retrieve the full list of session participants please use the [Query Extended Bookings API](https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/query-extended-bookings).
|
|
106
104
|
*/
|
|
107
105
|
participants?: Participant[];
|
|
108
106
|
/**
|
|
@@ -111,11 +109,7 @@ export interface Session {
|
|
|
111
109
|
* @readonly
|
|
112
110
|
*/
|
|
113
111
|
inheritedFields?: string[];
|
|
114
|
-
/**
|
|
115
|
-
* Title and description values to override session defaults when syncing to an external calendar.
|
|
116
|
-
* Learn more about [syncing calendars](https://support.wix.com/en/article/wix-bookings-important-information-about-syncing-google-calendars-with-wix-bookings).
|
|
117
|
-
* The value is inherited from the schedule and can be overridden unless the session is a recurring session.
|
|
118
|
-
*/
|
|
112
|
+
/** Deprecated and will be removed soon. */
|
|
119
113
|
externalCalendarOverrides?: ExternalCalendarOverrides;
|
|
120
114
|
/**
|
|
121
115
|
* Session status.
|
|
@@ -153,6 +147,7 @@ export interface Session {
|
|
|
153
147
|
/**
|
|
154
148
|
* A conference created for the session according to the details set in the schedule's conference provider information.
|
|
155
149
|
* If the session is a recurring session, this field is inherited from the schedule.
|
|
150
|
+
* **Partially deprecated.** Only `hostUrl` and `guestUrl` are to be supported.
|
|
156
151
|
*/
|
|
157
152
|
calendarConference?: CalendarConference;
|
|
158
153
|
/**
|
|
@@ -270,12 +265,6 @@ export interface Location {
|
|
|
270
265
|
address?: string | null;
|
|
271
266
|
/** 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. */
|
|
272
267
|
customAddress?: Address;
|
|
273
|
-
/**
|
|
274
|
-
* Valid when `locationType` is `OWNER_BUSINESS`. Defaults to the business's location.
|
|
275
|
-
*
|
|
276
|
-
* `businessSchedule` is not supported by Wix Bookings
|
|
277
|
-
*/
|
|
278
|
-
businessLocation?: LocationsLocation;
|
|
279
268
|
}
|
|
280
269
|
export declare enum LocationType {
|
|
281
270
|
UNDEFINED = "UNDEFINED",
|
|
@@ -774,12 +763,13 @@ export interface Schedule {
|
|
|
774
763
|
_id?: string;
|
|
775
764
|
/** ID of the schedule's owner entity. This may be a resource ID or a service ID. */
|
|
776
765
|
scheduleOwnerId?: string | null;
|
|
777
|
-
timeZone?: string | null;
|
|
778
766
|
/**
|
|
779
|
-
*
|
|
780
|
-
*
|
|
781
|
-
*
|
|
767
|
+
* Schedule's time zone in [Area/Location](https://en.wikipedia.org/wiki/Tz_database) format. Read-only.
|
|
768
|
+
* Derived from the Wix Business time zone.
|
|
769
|
+
* @readonly
|
|
782
770
|
*/
|
|
771
|
+
timeZone?: string | null;
|
|
772
|
+
/** Deprecated. Please use the [Sessions API](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/session) instead. */
|
|
783
773
|
intervals?: RecurringInterval[];
|
|
784
774
|
/** Default title for the schedule's sessions. Maximum length: 6000 characters. */
|
|
785
775
|
title?: string | null;
|
|
@@ -795,12 +785,9 @@ export interface Schedule {
|
|
|
795
785
|
* Must be at most `1` for schedule whose availability is affected by another schedule. E.g, appointment schedules of the Wix Bookings app.
|
|
796
786
|
*/
|
|
797
787
|
capacity?: number | null;
|
|
798
|
-
/**
|
|
788
|
+
/** Deprecated. Please use the [Booking Services V2](https://dev.wix.com/api/rest/wix-bookings/services-v2) payment instead. */
|
|
799
789
|
rate?: Rate;
|
|
800
|
-
/**
|
|
801
|
-
* An object describing how to calculate the schedule's availability.
|
|
802
|
-
* An empty object indicates that the schedule is not available for booking.
|
|
803
|
-
*/
|
|
790
|
+
/** Deprecated and will be removed soon. */
|
|
804
791
|
availability?: Availability;
|
|
805
792
|
/**
|
|
806
793
|
* Number of participants registered to sessions in this schedule, calculated as the sum of the party sizes.
|
|
@@ -808,15 +795,13 @@ export interface Schedule {
|
|
|
808
795
|
*/
|
|
809
796
|
totalNumberOfParticipants?: number;
|
|
810
797
|
/**
|
|
811
|
-
*
|
|
798
|
+
* *Partial list** of participants which are registered to sessions in this schedule.
|
|
812
799
|
* Participants who are registered in the schedule are automatically registered to any session that is created for the schedule.
|
|
800
|
+
* To retrieve the full list of schedule participants please use the [Query Extended Bookings API](https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/query-extended-bookings).
|
|
813
801
|
* @readonly
|
|
814
802
|
*/
|
|
815
803
|
participants?: Participant[];
|
|
816
|
-
/**
|
|
817
|
-
* Title and description values to override session defaults when syncing to an external calendar.
|
|
818
|
-
* Learn more about [syncing calendars](https://support.wix.com/en/article/wix-bookings-important-information-about-syncing-google-calendars-with-wix-bookings).
|
|
819
|
-
*/
|
|
804
|
+
/** Deprecated and will be removed soon. */
|
|
820
805
|
externalCalendarOverrides?: ExternalCalendarOverrides;
|
|
821
806
|
/**
|
|
822
807
|
* Schedule status.
|
|
@@ -843,9 +828,12 @@ export interface Schedule {
|
|
|
843
828
|
* @readonly
|
|
844
829
|
*/
|
|
845
830
|
inheritedFields?: string[];
|
|
846
|
-
/**
|
|
831
|
+
/** Deprecated and will be removed soon. */
|
|
847
832
|
conferenceProvider?: ConferenceProvider;
|
|
848
|
-
/**
|
|
833
|
+
/**
|
|
834
|
+
* A conference created for the schedule. This is used when a participant is added to a schedule.
|
|
835
|
+
* **Partially deprecated.** Only `hostUrl` and `guestUrl` are to be supported.
|
|
836
|
+
*/
|
|
849
837
|
calendarConference?: CalendarConference;
|
|
850
838
|
}
|
|
851
839
|
export interface RecurringInterval {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-calendar-v2-session-view.universal.js","sourceRoot":"","sources":["../../../src/bookings-calendar-v2-session-view.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqE;AAErE,qHAAuG;AAEvG,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;
|
|
1
|
+
{"version":3,"file":"bookings-calendar-v2-session-view.universal.js","sourceRoot":"","sources":["../../../src/bookings-calendar-v2-session-view.universal.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kDAAqE;AAErE,qHAAuG;AAEvG,IAAI,SAAS,GAAG,KAAK,CAAC;AAEtB,SAAS,KAAK,CAAC,GAAG,IAAW;IAC3B,SAAS,IAAI,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,CAAC,CAAC;AACpC,CAAC;AAED,SAAS,SAAS,CAAC,GAAQ;IACzB,OAAO,GAAG,CAAC;AACb,CAAC;AAEY,QAAA,OAAO,GAAG;IACrB,cAAc,EAAE;QACd,EAAE,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,IAAI,CAAC;QAC5B,GAAG,EAAE,GAAG,EAAE,CAAC,CAAC,SAAS,GAAG,KAAK,CAAC;KAC/B;CACF,CAAC;AACF,MAAM,aAAa,GAAG,GAAG,CAAC;AAC1B,MAAM,eAAe,GAAG,GAAG,CAAC;AA2P5B,IAAY,YAMX;AAND,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,gEAAgE;IAChE,6BAAa,CAAA;IACb,kFAAkF;IAClF,6BAAa,CAAA;AACf,CAAC,EANW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAMvB;AAiBD,IAAY,YAKX;AALD,WAAY,YAAY;IACtB,uCAAuB,CAAA;IACvB,iDAAiC,CAAA;IACjC,6CAA6B,CAAA;IAC7B,iCAAiB,CAAA;AACnB,CAAC,EALW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAKvB;AAkHD,qBAAqB;AACrB,IAAY,cAGX;AAHD,WAAY,cAAc;IACxB,mCAAiB,CAAA;IACjB,uCAAqB,CAAA;AACvB,CAAC,EAHW,cAAc,GAAd,sBAAc,KAAd,sBAAc,QAGzB;AAED,qBAAqB;AACrB,IAAY,qBAMX;AAND,WAAY,qBAAqB;IAC/B,4CAAmB,CAAA;IACnB,0CAA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AW,uBAAX,WAAW,CAAE,OAAO,+CAApB,WAAW,EAAY,GAAG,CAAC,CAAC;YAE5B,MAAM,gBAAgB,CAAC;SACxB;;CACF;AAjDD,wCAiDC"}
|
|
@@ -211,7 +211,9 @@ function list(payload) {
|
|
|
211
211
|
function __list({ host }) {
|
|
212
212
|
const serializedData = toReq(payload);
|
|
213
213
|
const metadata = {
|
|
214
|
+
entityFqdn: 'wix.bookings.catalog.v1.resource',
|
|
214
215
|
method: 'GET',
|
|
216
|
+
methodFqn: 'com.wixpress.bookings.resources.core.api.v1.resource.ResourcesService.List',
|
|
215
217
|
url: resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl({ protoPath: '/v1/resources', data: serializedData, host }),
|
|
216
218
|
params: (0, metro_runtime_1.toURLSearchParams)(serializedData),
|
|
217
219
|
transformResponse: fromRes,
|
|
@@ -262,7 +264,9 @@ function query(payload) {
|
|
|
262
264
|
function __query({ host }) {
|
|
263
265
|
const serializedData = toReq(payload);
|
|
264
266
|
const metadata = {
|
|
267
|
+
entityFqdn: 'wix.bookings.catalog.v1.resource',
|
|
265
268
|
method: 'POST',
|
|
269
|
+
methodFqn: 'com.wixpress.bookings.resources.core.api.v1.resource.ResourcesService.Query',
|
|
266
270
|
url: resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl({ protoPath: '/v1/resources/query', data: serializedData, host }),
|
|
267
271
|
data: serializedData,
|
|
268
272
|
transformResponse: fromRes,
|
|
@@ -345,7 +349,9 @@ function create(payload) {
|
|
|
345
349
|
function __create({ host }) {
|
|
346
350
|
const serializedData = toReq(payload);
|
|
347
351
|
const metadata = {
|
|
352
|
+
entityFqdn: 'wix.bookings.catalog.v1.resource',
|
|
348
353
|
method: 'POST',
|
|
354
|
+
methodFqn: 'com.wixpress.bookings.resources.core.api.v1.resource.ResourcesService.Create',
|
|
349
355
|
url: resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl({ protoPath: '/v1/resources', data: serializedData, host }),
|
|
350
356
|
data: serializedData,
|
|
351
357
|
transformResponse: fromRes,
|
|
@@ -414,7 +420,9 @@ function update(payload) {
|
|
|
414
420
|
function __update({ host }) {
|
|
415
421
|
const serializedData = toReq(payload);
|
|
416
422
|
const metadata = {
|
|
423
|
+
entityFqdn: 'wix.bookings.catalog.v1.resource',
|
|
417
424
|
method: 'PATCH',
|
|
425
|
+
methodFqn: 'com.wixpress.bookings.resources.core.api.v1.resource.ResourcesService.Update',
|
|
418
426
|
url: resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl({ protoPath: '/v1/resources/{resource.id}', data: serializedData, host }),
|
|
419
427
|
data: serializedData,
|
|
420
428
|
transformResponse: fromRes,
|
|
@@ -504,7 +512,9 @@ function updateSchedule(payload) {
|
|
|
504
512
|
function __updateSchedule({ host }) {
|
|
505
513
|
const serializedData = toReq(payload);
|
|
506
514
|
const metadata = {
|
|
515
|
+
entityFqdn: 'wix.bookings.catalog.v1.resource',
|
|
507
516
|
method: 'PATCH',
|
|
517
|
+
methodFqn: 'com.wixpress.bookings.resources.core.api.v1.resource.ResourcesService.UpdateSchedule',
|
|
508
518
|
url: resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl({
|
|
509
519
|
protoPath: '/v1/resources/{resourceId}/updateSchedule',
|
|
510
520
|
data: serializedData,
|
|
@@ -550,7 +560,9 @@ function _delete(payload) {
|
|
|
550
560
|
function ___delete({ host }) {
|
|
551
561
|
const serializedData = toReq(payload);
|
|
552
562
|
const metadata = {
|
|
563
|
+
entityFqdn: 'wix.bookings.catalog.v1.resource',
|
|
553
564
|
method: 'DELETE',
|
|
565
|
+
methodFqn: 'com.wixpress.bookings.resources.core.api.v1.resource.ResourcesService._delete',
|
|
554
566
|
url: resolveComWixpressBookingsResourcesCoreApiV1ResourceResourcesServiceUrl({ protoPath: '/v1/resources/{id}', data: serializedData, host }),
|
|
555
567
|
params: (0, metro_runtime_1.toURLSearchParams)(serializedData),
|
|
556
568
|
transformResponse: fromRes,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-catalog-v1-resource.http.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.http.ts"],"names":[],"mappings":";;;AAAA,sDAAuD;AACvD,8DAA2D;AAC3D,sDAAgD;AAkBhD,MAAM,QAAQ,GAAG,EAAE,OAAO,EAAE,kBAAkB,EAAE,CAAC;AACjD,MAAM,gBAAgB,GAAG;IACvB,QAAQ,EAAE,6BAA6B;IACvC,SAAS,EAAE,6BAA6B;CACzC,CAAC;AACF,MAAM,aAAa,GAAG;IACpB,KAAK,EAAE,2BAA2B;IAClC,GAAG,EAAE,2BAA2B;IAChC,SAAS,EAAE,WAAW;CACvB,CAAC;AACF,MAAM,aAAa,GAAG;IACpB,cAAc,EAAE,wBAAwB;IACxC,cAAc,EAAE,wBAAwB;IACxC,cAAc,EAAE,wBAAwB;CACzC,CAAC;AACF,MAAM,cAAc,GAAG;IACrB,OAAO,EAAE,WAAW;IACpB,OAAO,EAAE,WAAW;IACpB,SAAS,EAAE,WAAW;CACvB,CAAC;AACF,MAAM,sBAAsB,GAAG,EAAE,IAAI,EAAE,2BAA2B,EAAE,CAAC;AACrE,MAAM,sBAAsB,GAAG;IAC7B,QAAQ,EAAE,WAAW;IACrB,SAAS,EAAE,WAAW;CACvB,CAAC;AACF,MAAM,uBAAuB,GAAG,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC;AAC1D,MAAM,sBAAsB,GAAG,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC;AACzD,MAAM,sBAAsB,GAAG,EAAE,CAAC;AAClC,MAAM,uBAAuB,GAAG,EAAE,CAAC;AACnC,MAAM,MAAM,GAAG,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,CAAC;AAClE,MAAM,qBAAqB,GAAG,EAAE,CAAC;AACjC,MAAM,sBAAsB,GAAG,EAAE,SAAS,EAAE,WAAW,EAAE,CAAC;AAC1D,MAAM,SAAS,GAAG;IA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
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import { HttpClient } from '@wix/sdk-types';
|
|
2
2
|
import { Resource, CreateOptions, ListOptions, QueryOptions, UpdateOptions, UpdateScheduleOptions } from './bookings-catalog-v1-resource.universal';
|
|
3
|
+
export declare const __metadata: {
|
|
4
|
+
PACKAGE_NAME: string;
|
|
5
|
+
};
|
|
3
6
|
export declare function list(httpClient: HttpClient): (options?: ListOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").ListResourcesResponse>;
|
|
4
7
|
export declare function query(httpClient: HttpClient): (options?: QueryOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").QueryResourcesResponse>;
|
|
5
8
|
export declare function create(httpClient: HttpClient): (resource: Resource, options?: CreateOptions | undefined) => Promise<import("./bookings-catalog-v1-resource.universal").CreateResourceResponse>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.Event = exports.SortOrder = exports.ResourceStatus = exports.ConferenceType = exports.ScheduleStatus = exports.ApprovalStatus = exports.DayOfWeek = exports.LocationsLocationType = exports.LocationStatus = exports.LocationType = exports.RecurringIntervalType = exports.Transparency = exports.Day = exports._delete = exports.updateSchedule = exports.update = exports.create = exports.query = exports.list = void 0;
|
|
3
|
+
exports.Event = exports.SortOrder = exports.ResourceStatus = exports.ConferenceType = exports.ScheduleStatus = exports.ApprovalStatus = exports.DayOfWeek = exports.LocationsLocationType = exports.LocationStatus = exports.LocationType = exports.RecurringIntervalType = exports.Transparency = exports.Day = exports._delete = exports.updateSchedule = exports.update = exports.create = exports.query = exports.list = exports.__metadata = void 0;
|
|
4
4
|
const bookings_catalog_v1_resource_universal_1 = require("./bookings-catalog-v1-resource.universal");
|
|
5
|
+
exports.__metadata = { PACKAGE_NAME: '@wix/bookings' };
|
|
5
6
|
function list(httpClient) {
|
|
6
7
|
return (options) => (0, bookings_catalog_v1_resource_universal_1.list)(options,
|
|
7
8
|
// @ts-ignore
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-catalog-v1-resource.public.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.public.ts"],"names":[],"mappings":";;;AACA,qGAakD;
|
|
1
|
+
{"version":3,"file":"bookings-catalog-v1-resource.public.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.public.ts"],"names":[],"mappings":";;;AACA,qGAakD;AAErC,QAAA,UAAU,GAAG,EAAE,YAAY,EAAE,eAAe,EAAE,CAAC;AAE5D,SAAgB,IAAI,CAAC,UAAsB;IACzC,OAAO,CAAC,OAAqB,EAAE,EAAE,CAC/B,IAAA,6CAAa,EACX,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,oBAOC;AAED,SAAgB,KAAK,CAAC,UAAsB;IAC1C,OAAO,CAAC,OAAsB,EAAE,EAAE,CAChC,IAAA,8CAAc,EACZ,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,sBAOC;AAED,SAAgB,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,QAAkB,EAAE,OAAuB,EAAE,EAAE,CACrD,IAAA,+CAAe,EACb,QAAQ,EACR,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,wBAQC;AAED,SAAgB,MAAM,CAAC,UAAsB;IAC3C,OAAO,CAAC,GAAkB,EAAE,OAAuB,EAAE,EAAE,CACrD,IAAA,+CAAe,EACb,GAAG,EACH,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,wBAQC;AAED,SAAgB,cAAc,CAAC,UAAsB;IACnD,OAAO,CAAC,UAAyB,EAAE,OAA+B,EAAE,EAAE,CACpE,IAAA,uDAAuB,EACrB,UAAU,EACV,OAAO;IACP,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AARD,wCAQC;AAED,SAAgB,OAAO,CAAC,UAAsB;IAC5C,OAAO,CAAC,GAAW,EAAE,EAAE,CACrB,IAAA,gDAAgB,EACd,GAAG;IACH,aAAa;IACb,EAAE,UAAU,EAAE,CACf,CAAC;AACN,CAAC;AAPD,0BAOC;AAED,mGAckD;AAbhD,6HAAA,GAAG,OAAA;AACH,sIAAA,YAAY,OAAA;AACZ,+IAAA,qBAAqB,OAAA;AACrB,sIAAA,YAAY,OAAA;AACZ,wIAAA,cAAc,OAAA;AACd,+IAAA,qBAAqB,OAAA;AACrB,mIAAA,SAAS,OAAA;AACT,wIAAA,cAAc,OAAA;AACd,wIAAA,cAAc,OAAA;AACd,wIAAA,cAAc,OAAA;AACd,wIAAA,cAAc,OAAA;AACd,mIAAA,SAAS,OAAA;AACT,+HAAA,KAAK,OAAA"}
|
|
@@ -74,12 +74,13 @@ export interface Schedule {
|
|
|
74
74
|
id?: string;
|
|
75
75
|
/** ID of the schedule's owner entity. This may be a resource ID or a service ID. */
|
|
76
76
|
scheduleOwnerId?: string | null;
|
|
77
|
-
timeZone?: string | null;
|
|
78
77
|
/**
|
|
79
|
-
*
|
|
80
|
-
*
|
|
81
|
-
*
|
|
78
|
+
* Schedule's time zone in [Area/Location](https://en.wikipedia.org/wiki/Tz_database) format. Read-only.
|
|
79
|
+
* Derived from the Wix Business time zone.
|
|
80
|
+
* @readonly
|
|
82
81
|
*/
|
|
82
|
+
timeZone?: string | null;
|
|
83
|
+
/** Deprecated. Please use the [Sessions API](https://dev.wix.com/api/rest/wix-bookings/schedules-and-sessions/session) instead. */
|
|
83
84
|
intervals?: RecurringInterval[];
|
|
84
85
|
/** Default title for the schedule's sessions. Maximum length: 6000 characters. */
|
|
85
86
|
title?: string | null;
|
|
@@ -95,12 +96,9 @@ export interface Schedule {
|
|
|
95
96
|
* Must be at most `1` for schedule whose availability is affected by another schedule. E.g, appointment schedules of the Wix Bookings app.
|
|
96
97
|
*/
|
|
97
98
|
capacity?: number | null;
|
|
98
|
-
/**
|
|
99
|
+
/** Deprecated. Please use the [Booking Services V2](https://dev.wix.com/api/rest/wix-bookings/services-v2) payment instead. */
|
|
99
100
|
rate?: Rate;
|
|
100
|
-
/**
|
|
101
|
-
* An object describing how to calculate the schedule's availability.
|
|
102
|
-
* An empty object indicates that the schedule is not available for booking.
|
|
103
|
-
*/
|
|
101
|
+
/** Deprecated and will be removed soon. */
|
|
104
102
|
availability?: Availability;
|
|
105
103
|
/**
|
|
106
104
|
* Number of participants registered to sessions in this schedule, calculated as the sum of the party sizes.
|
|
@@ -108,15 +106,13 @@ export interface Schedule {
|
|
|
108
106
|
*/
|
|
109
107
|
totalNumberOfParticipants?: number;
|
|
110
108
|
/**
|
|
111
|
-
*
|
|
109
|
+
* *Partial list** of participants which are registered to sessions in this schedule.
|
|
112
110
|
* Participants who are registered in the schedule are automatically registered to any session that is created for the schedule.
|
|
111
|
+
* To retrieve the full list of schedule participants please use the [Query Extended Bookings API](https://dev.wix.com/api/rest/wix-bookings/bookings-reader-v2/query-extended-bookings).
|
|
113
112
|
* @readonly
|
|
114
113
|
*/
|
|
115
114
|
participants?: Participant[];
|
|
116
|
-
/**
|
|
117
|
-
* Title and description values to override session defaults when syncing to an external calendar.
|
|
118
|
-
* Learn more about [syncing calendars](https://support.wix.com/en/article/wix-bookings-important-information-about-syncing-google-calendars-with-wix-bookings).
|
|
119
|
-
*/
|
|
115
|
+
/** Deprecated and will be removed soon. */
|
|
120
116
|
externalCalendarOverrides?: ExternalCalendarOverrides;
|
|
121
117
|
/**
|
|
122
118
|
* Schedule status.
|
|
@@ -143,9 +139,12 @@ export interface Schedule {
|
|
|
143
139
|
* @readonly
|
|
144
140
|
*/
|
|
145
141
|
inheritedFields?: string[];
|
|
146
|
-
/**
|
|
142
|
+
/** Deprecated and will be removed soon. */
|
|
147
143
|
conferenceProvider?: ConferenceProvider;
|
|
148
|
-
/**
|
|
144
|
+
/**
|
|
145
|
+
* A conference created for the schedule. This is used when a participant is added to a schedule.
|
|
146
|
+
* **Partially deprecated.** Only `hostUrl` and `guestUrl` are to be supported.
|
|
147
|
+
*/
|
|
149
148
|
calendarConference?: CalendarConference;
|
|
150
149
|
}
|
|
151
150
|
export interface RecurringInterval {
|
|
@@ -260,12 +259,6 @@ export interface Location {
|
|
|
260
259
|
address?: string | null;
|
|
261
260
|
/** 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
261
|
customAddress?: Address;
|
|
263
|
-
/**
|
|
264
|
-
* Valid when `locationType` is `OWNER_BUSINESS`. Defaults to the business's location.
|
|
265
|
-
*
|
|
266
|
-
* `businessSchedule` is not supported by Wix Bookings
|
|
267
|
-
*/
|
|
268
|
-
businessLocation?: LocationsLocation;
|
|
269
262
|
}
|
|
270
263
|
export declare enum LocationType {
|
|
271
264
|
UNDEFINED = "UNDEFINED",
|
|
@@ -275,6 +268,10 @@ export declare enum LocationType {
|
|
|
275
268
|
}
|
|
276
269
|
/** Physical address */
|
|
277
270
|
export interface Address extends AddressStreetOneOf {
|
|
271
|
+
/** Street name, number and apartment number. */
|
|
272
|
+
streetAddress?: StreetAddress;
|
|
273
|
+
/** Main address line, usually street and number, as free text. */
|
|
274
|
+
addressLine?: string | null;
|
|
278
275
|
/** Country code. */
|
|
279
276
|
country?: string | null;
|
|
280
277
|
/** Subdivision. Usually state, region, prefecture or province code, according to [ISO 3166-2](https://en.wikipedia.org/wiki/ISO_3166-2). */
|
|
@@ -295,10 +292,6 @@ export interface Address extends AddressStreetOneOf {
|
|
|
295
292
|
countryFullname?: string | null;
|
|
296
293
|
/** Multi-level subdivisions from top to bottom. */
|
|
297
294
|
subdivisions?: Subdivision[];
|
|
298
|
-
/** Street name, number and apartment number. */
|
|
299
|
-
streetAddress?: StreetAddress;
|
|
300
|
-
/** Main address line, usually street and number, as free text. */
|
|
301
|
-
addressLine?: string | null;
|
|
302
295
|
}
|
|
303
296
|
/** @oneof */
|
|
304
297
|
export interface AddressStreetOneOf {
|
|
@@ -728,6 +721,10 @@ export interface QueryResourcesRequest {
|
|
|
728
721
|
query?: QueryV2;
|
|
729
722
|
}
|
|
730
723
|
export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
724
|
+
/** Paging options to limit and skip the number of items. */
|
|
725
|
+
paging?: Paging;
|
|
726
|
+
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
727
|
+
cursorPaging?: CursorPaging;
|
|
731
728
|
/**
|
|
732
729
|
* Filter object in the following format:
|
|
733
730
|
* `"filter" : {
|
|
@@ -746,10 +743,6 @@ export interface QueryV2 extends QueryV2PagingMethodOneOf {
|
|
|
746
743
|
fields?: string[];
|
|
747
744
|
/** Array of named, predefined sets of projected fields. A array of predefined named sets of fields to be returned. Specifying multiple `fieldsets` will return the union of fields from all sets. If `fields` are also specified, the union of `fieldsets` and `fields` is returned. */
|
|
748
745
|
fieldsets?: string[];
|
|
749
|
-
/** Paging options to limit and skip the number of items. */
|
|
750
|
-
paging?: Paging;
|
|
751
|
-
/** Cursor token pointing to a page of results. Not used in the first request. Following requests use the cursor token and not `filter` or `sort`. */
|
|
752
|
-
cursorPaging?: CursorPaging;
|
|
753
746
|
}
|
|
754
747
|
/** @oneof */
|
|
755
748
|
export interface QueryV2PagingMethodOneOf {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookings-catalog-v1-resource.types.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.types.ts"],"names":[],"mappings":";;;
|
|
1
|
+
{"version":3,"file":"bookings-catalog-v1-resource.types.js","sourceRoot":"","sources":["../../../src/bookings-catalog-v1-resource.types.ts"],"names":[],"mappings":";;;AA+LA,IAAY,GAiBX;AAjBD,WAAY,GAAG;IACb,iBAAiB;IACjB,8BAAuB,CAAA;IACvB,cAAc;IACd,kBAAW,CAAA;IACX,eAAe;IACf,kBAAW,CAAA;IACX,iBAAi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