@mediquo/elements 0.3.1

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.
Files changed (187) hide show
  1. package/README.md +22 -0
  2. package/dist/chunks/api-chat-client-BTBtu01T.js +1 -0
  3. package/dist/chunks/apple-pay-outcomes-BlytM6W-.js +1 -0
  4. package/dist/chunks/appointment-details-DpzdYLjq.d.ts +24 -0
  5. package/dist/chunks/appointment.model.d-Dy50gMPg.d.ts +171 -0
  6. package/dist/chunks/ca_ES-nttMFJzr.js +1 -0
  7. package/dist/chunks/chunk-S5RWG6G2-oTcdgk2H.js +1 -0
  8. package/dist/chunks/chunk-YTQUGGS3-DN-JZpgG.js +1 -0
  9. package/dist/chunks/class-map-Co76I6aw.js +1 -0
  10. package/dist/chunks/context-provider-CiMFpvDA.js +1 -0
  11. package/dist/chunks/context-request-event-Dfydf1ub.js +1 -0
  12. package/dist/chunks/custom-element-DA9Fxvxd.js +1 -0
  13. package/dist/chunks/de_DE-CrwfSJnS.js +1 -0
  14. package/dist/chunks/default-IpEn36CA.d.ts +5 -0
  15. package/dist/chunks/directive-2EDmOukv.js +1 -0
  16. package/dist/chunks/en_US-BslWF9nj.js +1 -0
  17. package/dist/chunks/ensure-context-root-DbdqwnKB.js +1 -0
  18. package/dist/chunks/exports-XZaVrMLd.js +1 -0
  19. package/dist/chunks/external-zAbuzxDj.js +1 -0
  20. package/dist/chunks/format-Cm3B1GMy.js +1 -0
  21. package/dist/chunks/get-organization-setup-query-BMbuRi6v.js +1 -0
  22. package/dist/chunks/get-patient-profile-query-C8T8DJ7z.js +1 -0
  23. package/dist/chunks/if-defined-BYeVdwgd.js +1 -0
  24. package/dist/chunks/index-B9iWdvW3.js +1 -0
  25. package/dist/chunks/index-BYHKNPG2.js +1 -0
  26. package/dist/chunks/index-Bxh8Qfwr.js +1 -0
  27. package/dist/chunks/isBefore-Cof0D841.js +1 -0
  28. package/dist/chunks/isSameDay-DPfclwIL.js +1 -0
  29. package/dist/chunks/lit-element-DiWJYFwC.js +1 -0
  30. package/dist/chunks/login-token-task-BI-L2zSV.js +1 -0
  31. package/dist/chunks/mq-chat-room-DuG4RuIp.d.ts +503 -0
  32. package/dist/chunks/mq-layout-D8Mak16a.d.ts +21 -0
  33. package/dist/chunks/mq-layout-DpzeL9_i.js +1 -0
  34. package/dist/chunks/mutation-controller-OVT8NEt6.js +1 -0
  35. package/dist/chunks/parseISO-jT42c8Ob.js +1 -0
  36. package/dist/chunks/price-Dtdjx70D.js +1 -0
  37. package/dist/chunks/price.d-CwLosdAN.d.ts +10 -0
  38. package/dist/chunks/professional-overview-mO3tuMuH.d.ts +25 -0
  39. package/dist/chunks/property-scuRaFcM.js +1 -0
  40. package/dist/chunks/provide-CfT7g_Zi.js +1 -0
  41. package/dist/chunks/pt_PT-CFbbWowX.js +1 -0
  42. package/dist/chunks/query-CeeutdfT.js +1 -0
  43. package/dist/chunks/query-QJ1INUTG.js +1 -0
  44. package/dist/chunks/refund-cancel-policy-Bm5djPds.js +1 -0
  45. package/dist/chunks/runtime-Bg1WXVCx.js +1 -0
  46. package/dist/chunks/schemas.d-BEA8Pl6w.d.ts +44 -0
  47. package/dist/chunks/state-LQivXIgA.js +1 -0
  48. package/dist/chunks/style-map-CIdqdn7C.js +1 -0
  49. package/dist/chunks/task-Bj8p7kJX.js +1 -0
  50. package/dist/chunks/telemetry-client-CKCb9Gnf.js +1 -0
  51. package/dist/env.d.ts +21 -0
  52. package/dist/env.js +1 -0
  53. package/dist/events.d.ts +141 -0
  54. package/dist/events.js +1 -0
  55. package/dist/i18n.d.ts +11 -0
  56. package/dist/i18n.js +1 -0
  57. package/dist/index.d.ts +5 -0
  58. package/dist/index.js +1 -0
  59. package/dist/mq-apple-pay-checkout.d.ts +82 -0
  60. package/dist/mq-apple-pay-checkout.js +1 -0
  61. package/dist/mq-appointment-checkout.d.ts +55 -0
  62. package/dist/mq-appointment-checkout.js +1 -0
  63. package/dist/mq-chat-room.d.ts +20 -0
  64. package/dist/mq-chat-room.js +1 -0
  65. package/dist/mq-checkout.d.ts +108 -0
  66. package/dist/mq-checkout.js +1 -0
  67. package/dist/mq-google-pay-checkout.d.ts +117 -0
  68. package/dist/mq-google-pay-checkout.js +1 -0
  69. package/dist/mq-immediate-videocall-checkout.d.ts +47 -0
  70. package/dist/mq-immediate-videocall-checkout.js +1 -0
  71. package/dist/mq-my-appointments.d.ts +602 -0
  72. package/dist/mq-my-appointments.js +1 -0
  73. package/dist/mq-query-client-provider.d.ts +17 -0
  74. package/dist/mq-query-client-provider.js +1 -0
  75. package/dist/mq-schedule-success.d.ts +84 -0
  76. package/dist/mq-schedule-success.js +4 -0
  77. package/dist/mq-schedule.d.ts +1013 -0
  78. package/dist/mq-schedule.js +1 -0
  79. package/dist/mq-socket-provider.d.ts +103 -0
  80. package/dist/mq-socket-provider.js +1 -0
  81. package/dist/mq-support-chat.d.ts +86 -0
  82. package/dist/mq-support-chat.js +1 -0
  83. package/dist/mq-theme-provider.d.ts +34 -0
  84. package/dist/mq-theme-provider.js +1 -0
  85. package/dist/mq-videocall.d.ts +151 -0
  86. package/dist/mq-videocall.js +1 -0
  87. package/dist/theme.d.ts +200 -0
  88. package/dist/theme.js +1 -0
  89. package/dist/ui/back-link.d.ts +21 -0
  90. package/dist/ui/back-link.js +1 -0
  91. package/dist/ui/icons/alert-circle-icon.d.ts +6 -0
  92. package/dist/ui/icons/alert-circle-icon.js +1 -0
  93. package/dist/ui/icons/annotation-question-icon.d.ts +6 -0
  94. package/dist/ui/icons/annotation-question-icon.js +1 -0
  95. package/dist/ui/icons/briefcase-icon.d.ts +6 -0
  96. package/dist/ui/icons/briefcase-icon.js +1 -0
  97. package/dist/ui/icons/calendar-icon.d.ts +6 -0
  98. package/dist/ui/icons/calendar-icon.js +1 -0
  99. package/dist/ui/icons/chat-bubble-icon.d.ts +6 -0
  100. package/dist/ui/icons/chat-bubble-icon.js +1 -0
  101. package/dist/ui/icons/check-circle-icon.d.ts +5 -0
  102. package/dist/ui/icons/check-circle-icon.js +1 -0
  103. package/dist/ui/icons/check-double-icon.d.ts +6 -0
  104. package/dist/ui/icons/check-double-icon.js +1 -0
  105. package/dist/ui/icons/check-icon.d.ts +6 -0
  106. package/dist/ui/icons/check-icon.js +1 -0
  107. package/dist/ui/icons/chevron-down-icon.d.ts +6 -0
  108. package/dist/ui/icons/chevron-down-icon.js +1 -0
  109. package/dist/ui/icons/chevron-left-icon.d.ts +6 -0
  110. package/dist/ui/icons/chevron-left-icon.js +1 -0
  111. package/dist/ui/icons/chevron-right-icon.d.ts +6 -0
  112. package/dist/ui/icons/chevron-right-icon.js +1 -0
  113. package/dist/ui/icons/clock-icon.d.ts +6 -0
  114. package/dist/ui/icons/clock-icon.js +1 -0
  115. package/dist/ui/icons/download-icon.d.ts +6 -0
  116. package/dist/ui/icons/download-icon.js +1 -0
  117. package/dist/ui/icons/file-icon.d.ts +6 -0
  118. package/dist/ui/icons/file-icon.js +1 -0
  119. package/dist/ui/icons/heartbeat-icon.d.ts +5 -0
  120. package/dist/ui/icons/heartbeat-icon.js +1 -0
  121. package/dist/ui/icons/info-circle-outine-icon.d.ts +6 -0
  122. package/dist/ui/icons/info-circle-outine-icon.js +1 -0
  123. package/dist/ui/icons/message-bubble-icon.d.ts +6 -0
  124. package/dist/ui/icons/message-bubble-icon.js +1 -0
  125. package/dist/ui/icons/message-square-icon.d.ts +6 -0
  126. package/dist/ui/icons/message-square-icon.js +1 -0
  127. package/dist/ui/icons/mic-icon.d.ts +6 -0
  128. package/dist/ui/icons/mic-icon.js +1 -0
  129. package/dist/ui/icons/mic-off-icon.d.ts +6 -0
  130. package/dist/ui/icons/mic-off-icon.js +1 -0
  131. package/dist/ui/icons/phone-icon.d.ts +6 -0
  132. package/dist/ui/icons/phone-icon.js +1 -0
  133. package/dist/ui/icons/spinner-icon.d.ts +6 -0
  134. package/dist/ui/icons/spinner-icon.js +1 -0
  135. package/dist/ui/icons/tag-icon.d.ts +6 -0
  136. package/dist/ui/icons/tag-icon.js +1 -0
  137. package/dist/ui/icons/time-left-icon.d.ts +5 -0
  138. package/dist/ui/icons/time-left-icon.js +1 -0
  139. package/dist/ui/icons/types.d.ts +9 -0
  140. package/dist/ui/icons/types.js +1 -0
  141. package/dist/ui/icons/upload-icon.d.ts +6 -0
  142. package/dist/ui/icons/upload-icon.js +1 -0
  143. package/dist/ui/icons/video-icon.d.ts +6 -0
  144. package/dist/ui/icons/video-icon.js +1 -0
  145. package/dist/ui/icons/video-off-icon.d.ts +6 -0
  146. package/dist/ui/icons/video-off-icon.js +1 -0
  147. package/dist/ui/icons/x-icon.d.ts +6 -0
  148. package/dist/ui/icons/x-icon.js +1 -0
  149. package/dist/ui/mq-avatar.d.ts +37 -0
  150. package/dist/ui/mq-avatar.js +1 -0
  151. package/dist/ui/mq-button.d.ts +34 -0
  152. package/dist/ui/mq-button.js +1 -0
  153. package/dist/ui/mq-calendar.d.ts +66 -0
  154. package/dist/ui/mq-calendar.js +1 -0
  155. package/dist/ui/mq-callout.d.ts +23 -0
  156. package/dist/ui/mq-callout.js +1 -0
  157. package/dist/ui/mq-card.d.ts +18 -0
  158. package/dist/ui/mq-card.js +1 -0
  159. package/dist/ui/mq-checkbox.d.ts +41 -0
  160. package/dist/ui/mq-checkbox.js +1 -0
  161. package/dist/ui/mq-clamped-text.d.ts +46 -0
  162. package/dist/ui/mq-clamped-text.js +1 -0
  163. package/dist/ui/mq-dialog.d.ts +53 -0
  164. package/dist/ui/mq-dialog.js +1 -0
  165. package/dist/ui/mq-floating-bubble.d.ts +42 -0
  166. package/dist/ui/mq-floating-bubble.js +1 -0
  167. package/dist/ui/mq-input.d.ts +41 -0
  168. package/dist/ui/mq-input.js +1 -0
  169. package/dist/ui/mq-rating.d.ts +30 -0
  170. package/dist/ui/mq-rating.js +1 -0
  171. package/dist/ui/mq-select.d.ts +83 -0
  172. package/dist/ui/mq-select.js +1 -0
  173. package/dist/ui/mq-skeleton.d.ts +18 -0
  174. package/dist/ui/mq-skeleton.js +1 -0
  175. package/dist/ui/mq-tabs.d.ts +56 -0
  176. package/dist/ui/mq-tabs.js +1 -0
  177. package/dist/ui/mq-text-button.d.ts +39 -0
  178. package/dist/ui/mq-text-button.js +1 -0
  179. package/dist/ui/mq-textarea.d.ts +38 -0
  180. package/dist/ui/mq-textarea.js +1 -0
  181. package/dist/ui/mq-time-slot-picker.d.ts +84 -0
  182. package/dist/ui/mq-time-slot-picker.js +1 -0
  183. package/dist/ui/mq-toast.d.ts +111 -0
  184. package/dist/ui/mq-toast.js +1 -0
  185. package/dist/ui/mq-unread-badge.d.ts +15 -0
  186. package/dist/ui/mq-unread-badge.js +1 -0
  187. package/package.json +176 -0
@@ -0,0 +1,1013 @@
1
+ import * as lit_html from 'lit-html';
2
+ import * as lit from 'lit';
3
+ import { LitElement, PropertyValues, nothing } from 'lit';
4
+ import './chunks/mq-layout-D8Mak16a.js';
5
+ import './ui/mq-button.js';
6
+ import { Env } from './env.js';
7
+ import { A as AppointmentChannel, a as Appointment } from './chunks/appointment.model.d-Dy50gMPg.js';
8
+ import z, { z as z$1 } from 'zod';
9
+ import './ui/mq-callout.js';
10
+ import './ui/mq-text-button.js';
11
+ import './chunks/professional-overview-mO3tuMuH.js';
12
+ import './chunks/appointment-details-DpzdYLjq.js';
13
+ import './ui/mq-clamped-text.js';
14
+ import './ui/mq-card.js';
15
+ import { P as PriceInCents } from './chunks/price.d-CwLosdAN.js';
16
+ import { QueryClient } from '@tanstack/query-core';
17
+ import { C as CreatePaymentLinkRequest } from './chunks/schemas.d-BEA8Pl6w.js';
18
+ import './ui/mq-skeleton.js';
19
+ import './ui/mq-select.js';
20
+ import './ui/mq-time-slot-picker.js';
21
+ import './ui/mq-calendar.js';
22
+ import './ui/mq-avatar.js';
23
+
24
+ declare const ProfessionalSchema: z.ZodObject<{
25
+ id: z.ZodString;
26
+ name: z.ZodString;
27
+ avatar: z.ZodNullable<z.ZodString>;
28
+ description: z.ZodNullable<z.ZodString>;
29
+ collegiate_number: z.ZodNullable<z.ZodString>;
30
+ languages: z.ZodArray<z.ZodString, "many">;
31
+ speciality: z.ZodObject<{
32
+ id: z.ZodNumber;
33
+ }, "strip", z.ZodTypeAny, {
34
+ id: number;
35
+ }, {
36
+ id: number;
37
+ }>;
38
+ }, "strip", z.ZodTypeAny, {
39
+ id: string;
40
+ name: string;
41
+ avatar: string | null;
42
+ description: string | null;
43
+ collegiate_number: string | null;
44
+ languages: string[];
45
+ speciality: {
46
+ id: number;
47
+ };
48
+ }, {
49
+ id: string;
50
+ name: string;
51
+ avatar: string | null;
52
+ description: string | null;
53
+ collegiate_number: string | null;
54
+ languages: string[];
55
+ speciality: {
56
+ id: number;
57
+ };
58
+ }>;
59
+ type Professional = z.infer<typeof ProfessionalSchema>;
60
+
61
+ declare const ScheduleSlotSchema: z$1.ZodObject<{
62
+ id: z$1.ZodString;
63
+ channel: z$1.ZodEnum<["videocall", "chat", "phonecall"]>;
64
+ duration: z$1.ZodNumber;
65
+ starts_at: z$1.ZodString;
66
+ finishes_at: z$1.ZodString;
67
+ professional: z$1.ZodObject<{
68
+ id: z$1.ZodString;
69
+ name: z$1.ZodString;
70
+ }, "strip", z$1.ZodTypeAny, {
71
+ id: string;
72
+ name: string;
73
+ }, {
74
+ id: string;
75
+ name: string;
76
+ }>;
77
+ services: z$1.ZodArray<z$1.ZodObject<{
78
+ id: z$1.ZodString;
79
+ name: z$1.ZodString;
80
+ }, "strip", z$1.ZodTypeAny, {
81
+ id: string;
82
+ name: string;
83
+ }, {
84
+ id: string;
85
+ name: string;
86
+ }>, "many">;
87
+ speciality: z$1.ZodObject<{
88
+ id: z$1.ZodNumber;
89
+ price: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
90
+ amount: z$1.ZodNumber;
91
+ currency: z$1.ZodString;
92
+ }, "strip", z$1.ZodTypeAny, {
93
+ currency: string;
94
+ amount: number;
95
+ }, {
96
+ currency: string;
97
+ amount: number;
98
+ }>>>;
99
+ }, "strip", z$1.ZodTypeAny, {
100
+ id: number;
101
+ price?: {
102
+ currency: string;
103
+ amount: number;
104
+ } | null | undefined;
105
+ }, {
106
+ id: number;
107
+ price?: {
108
+ currency: string;
109
+ amount: number;
110
+ } | null | undefined;
111
+ }>;
112
+ status: z$1.ZodEnum<["available", "reserved"]>;
113
+ }, "strip", z$1.ZodTypeAny, {
114
+ status: "available" | "reserved";
115
+ id: string;
116
+ channel: "videocall" | "chat" | "phonecall";
117
+ duration: number;
118
+ speciality: {
119
+ id: number;
120
+ price?: {
121
+ currency: string;
122
+ amount: number;
123
+ } | null | undefined;
124
+ };
125
+ starts_at: string;
126
+ professional: {
127
+ id: string;
128
+ name: string;
129
+ };
130
+ finishes_at: string;
131
+ services: {
132
+ id: string;
133
+ name: string;
134
+ }[];
135
+ }, {
136
+ status: "available" | "reserved";
137
+ id: string;
138
+ channel: "videocall" | "chat" | "phonecall";
139
+ duration: number;
140
+ speciality: {
141
+ id: number;
142
+ price?: {
143
+ currency: string;
144
+ amount: number;
145
+ } | null | undefined;
146
+ };
147
+ starts_at: string;
148
+ professional: {
149
+ id: string;
150
+ name: string;
151
+ };
152
+ finishes_at: string;
153
+ services: {
154
+ id: string;
155
+ name: string;
156
+ }[];
157
+ }>;
158
+ type ScheduleSlot = z$1.infer<typeof ScheduleSlotSchema>;
159
+
160
+ declare const CompleteProfileFormSchema: z.ZodObject<{
161
+ first_name: z.ZodString;
162
+ last_name: z.ZodString;
163
+ email: z.ZodString;
164
+ phone: z.ZodString;
165
+ birth_date: z.ZodString;
166
+ tax_id: z.ZodString;
167
+ }, "strip", z.ZodTypeAny, {
168
+ email: string;
169
+ first_name: string;
170
+ last_name: string;
171
+ phone: string;
172
+ birth_date: string;
173
+ tax_id: string;
174
+ }, {
175
+ email: string;
176
+ first_name: string;
177
+ last_name: string;
178
+ phone: string;
179
+ birth_date: string;
180
+ tax_id: string;
181
+ }>;
182
+ type CompleteProfileFormData = z.infer<typeof CompleteProfileFormSchema>;
183
+ /**
184
+ * @fires success - Fired when the complete profile form is submitted successfully
185
+ */
186
+ declare class CompleteProfileForm extends LitElement {
187
+ static styles: lit.CSSResult;
188
+ isPending: boolean;
189
+ serviceId: string;
190
+ private errorMap;
191
+ private translateError;
192
+ defaultValues: CompleteProfileFormData;
193
+ private form;
194
+ protected willUpdate(_changedProperties: PropertyValues<this>): void;
195
+ private getScheduleServicesQuery;
196
+ render(): lit_html.TemplateResult<1>;
197
+ }
198
+ declare global {
199
+ interface HTMLElementTagNameMap {
200
+ "complete-profile-form": CompleteProfileForm;
201
+ }
202
+ }
203
+
204
+ interface SchedulePatient {
205
+ hash: string;
206
+ name: string;
207
+ timezone: string;
208
+ }
209
+
210
+ /**
211
+ * @fires back - Fired when the back button is clicked
212
+ */
213
+ declare class NewAppointmentHeader extends LitElement {
214
+ static styles: lit.CSSResult;
215
+ kind: "schedule" | "reschedule";
216
+ showBack: boolean;
217
+ patient: SchedulePatient;
218
+ render(): lit_html.TemplateResult<1>;
219
+ }
220
+ declare global {
221
+ interface HTMLElementTagNameMap {
222
+ "new-appointment-header": NewAppointmentHeader;
223
+ }
224
+ }
225
+
226
+ declare const GetScheduleServicesResponseSchema: z.ZodArray<z.ZodObject<{
227
+ id: z.ZodString;
228
+ name: z.ZodString;
229
+ code: z.ZodString;
230
+ channel: z.ZodEnum<["videocall", "chat", "phonecall"]>;
231
+ price: z.ZodNullable<z.ZodObject<{
232
+ /** Smallest currency unit (e.g. cents for EUR/USD). */
233
+ amount: z.ZodNumber;
234
+ currency: z.ZodString;
235
+ }, "strip", z.ZodTypeAny, {
236
+ currency: string;
237
+ amount: number;
238
+ }, {
239
+ currency: string;
240
+ amount: number;
241
+ }>>;
242
+ }, "strip", z.ZodTypeAny, {
243
+ code: string;
244
+ id: string;
245
+ channel: "videocall" | "chat" | "phonecall";
246
+ name: string;
247
+ price: {
248
+ currency: string;
249
+ amount: number;
250
+ } | null;
251
+ }, {
252
+ code: string;
253
+ id: string;
254
+ channel: "videocall" | "chat" | "phonecall";
255
+ name: string;
256
+ price: {
257
+ currency: string;
258
+ amount: number;
259
+ } | null;
260
+ }>, "many">;
261
+ type GetScheduleServicesResponse = z.infer<typeof GetScheduleServicesResponseSchema>;
262
+ declare const GetProfessionalsBySpecialtyAndServiceResponseSchema: z.ZodArray<z.ZodObject<{
263
+ id: z.ZodString;
264
+ avatar: z.ZodNullable<z.ZodString>;
265
+ description: z.ZodNullable<z.ZodString>;
266
+ collegiate_number: z.ZodNullable<z.ZodString>;
267
+ languages: z.ZodArray<z.ZodString, "many">;
268
+ name: z.ZodString;
269
+ slots: z.ZodArray<z.ZodObject<{
270
+ id: z.ZodString;
271
+ channel: z.ZodEnum<["videocall", "chat", "phonecall"]>;
272
+ duration: z.ZodNumber;
273
+ starts_at: z.ZodString;
274
+ finishes_at: z.ZodString;
275
+ professional: z.ZodObject<{
276
+ id: z.ZodString;
277
+ name: z.ZodString;
278
+ }, "strip", z.ZodTypeAny, {
279
+ id: string;
280
+ name: string;
281
+ }, {
282
+ id: string;
283
+ name: string;
284
+ }>;
285
+ services: z.ZodArray<z.ZodObject<{
286
+ id: z.ZodString;
287
+ name: z.ZodString;
288
+ }, "strip", z.ZodTypeAny, {
289
+ id: string;
290
+ name: string;
291
+ }, {
292
+ id: string;
293
+ name: string;
294
+ }>, "many">;
295
+ speciality: z.ZodObject<{
296
+ id: z.ZodNumber;
297
+ price: z.ZodOptional<z.ZodNullable<z.ZodObject<{
298
+ amount: z.ZodNumber;
299
+ currency: z.ZodString;
300
+ }, "strip", z.ZodTypeAny, {
301
+ currency: string;
302
+ amount: number;
303
+ }, {
304
+ currency: string;
305
+ amount: number;
306
+ }>>>;
307
+ }, "strip", z.ZodTypeAny, {
308
+ id: number;
309
+ price?: {
310
+ currency: string;
311
+ amount: number;
312
+ } | null | undefined;
313
+ }, {
314
+ id: number;
315
+ price?: {
316
+ currency: string;
317
+ amount: number;
318
+ } | null | undefined;
319
+ }>;
320
+ status: z.ZodEnum<["available", "reserved"]>;
321
+ }, "strip", z.ZodTypeAny, {
322
+ status: "available" | "reserved";
323
+ id: string;
324
+ channel: "videocall" | "chat" | "phonecall";
325
+ duration: number;
326
+ speciality: {
327
+ id: number;
328
+ price?: {
329
+ currency: string;
330
+ amount: number;
331
+ } | null | undefined;
332
+ };
333
+ starts_at: string;
334
+ professional: {
335
+ id: string;
336
+ name: string;
337
+ };
338
+ finishes_at: string;
339
+ services: {
340
+ id: string;
341
+ name: string;
342
+ }[];
343
+ }, {
344
+ status: "available" | "reserved";
345
+ id: string;
346
+ channel: "videocall" | "chat" | "phonecall";
347
+ duration: number;
348
+ speciality: {
349
+ id: number;
350
+ price?: {
351
+ currency: string;
352
+ amount: number;
353
+ } | null | undefined;
354
+ };
355
+ starts_at: string;
356
+ professional: {
357
+ id: string;
358
+ name: string;
359
+ };
360
+ finishes_at: string;
361
+ services: {
362
+ id: string;
363
+ name: string;
364
+ }[];
365
+ }>, "many">;
366
+ speciality: z.ZodObject<{
367
+ id: z.ZodNumber;
368
+ }, "strip", z.ZodTypeAny, {
369
+ id: number;
370
+ }, {
371
+ id: number;
372
+ }>;
373
+ tax_id: z.ZodNullable<z.ZodString>;
374
+ }, "strip", z.ZodTypeAny, {
375
+ id: string;
376
+ name: string;
377
+ avatar: string | null;
378
+ speciality: {
379
+ id: number;
380
+ };
381
+ collegiate_number: string | null;
382
+ languages: string[];
383
+ description: string | null;
384
+ slots: {
385
+ status: "available" | "reserved";
386
+ id: string;
387
+ channel: "videocall" | "chat" | "phonecall";
388
+ duration: number;
389
+ speciality: {
390
+ id: number;
391
+ price?: {
392
+ currency: string;
393
+ amount: number;
394
+ } | null | undefined;
395
+ };
396
+ starts_at: string;
397
+ professional: {
398
+ id: string;
399
+ name: string;
400
+ };
401
+ finishes_at: string;
402
+ services: {
403
+ id: string;
404
+ name: string;
405
+ }[];
406
+ }[];
407
+ tax_id: string | null;
408
+ }, {
409
+ id: string;
410
+ name: string;
411
+ avatar: string | null;
412
+ speciality: {
413
+ id: number;
414
+ };
415
+ collegiate_number: string | null;
416
+ languages: string[];
417
+ description: string | null;
418
+ slots: {
419
+ status: "available" | "reserved";
420
+ id: string;
421
+ channel: "videocall" | "chat" | "phonecall";
422
+ duration: number;
423
+ speciality: {
424
+ id: number;
425
+ price?: {
426
+ currency: string;
427
+ amount: number;
428
+ } | null | undefined;
429
+ };
430
+ starts_at: string;
431
+ professional: {
432
+ id: string;
433
+ name: string;
434
+ };
435
+ finishes_at: string;
436
+ services: {
437
+ id: string;
438
+ name: string;
439
+ }[];
440
+ }[];
441
+ tax_id: string | null;
442
+ }>, "many">;
443
+ type GetProfessionalsBySpecialtyAndServiceResponse = z.infer<typeof GetProfessionalsBySpecialtyAndServiceResponseSchema>;
444
+
445
+ /** Discount applied to an appointment, derived from the coupon + base price. */
446
+ interface AppliedDiscount {
447
+ code: string;
448
+ percentage: number;
449
+ discountAmount: number;
450
+ totalAmount: number;
451
+ /** ISO 4217 currency, mirrors the service price. */
452
+ currency: string;
453
+ }
454
+
455
+ /**
456
+ * Inline (accordion) discount-code entry shown in the appointment summary.
457
+ * Collapsed → expands to a code field; once a valid code is applied it shows an
458
+ * "applied" state with a "change code" action.
459
+ *
460
+ * @fires discount-applied - When a validated discount is applied.
461
+ */
462
+ declare class DiscountCodeField extends LitElement {
463
+ static styles: lit.CSSResult;
464
+ basePrice: PriceInCents | null;
465
+ /** Currently applied discount, if any (owned by the host). */
466
+ appliedDiscount: AppliedDiscount | null;
467
+ private expanded;
468
+ private form;
469
+ private validateCode;
470
+ private toggle;
471
+ private onChangeCode;
472
+ private renderInputForm;
473
+ render(): lit_html.TemplateResult<1>;
474
+ }
475
+ declare global {
476
+ interface HTMLElementTagNameMap {
477
+ "discount-code-field": DiscountCodeField;
478
+ }
479
+ }
480
+
481
+ /**
482
+ * @fires back - Fired when the back button is clicked
483
+ * @fires success - Fired when the complete profile form is submitted successfully
484
+ */
485
+ declare class CompleteProfileStep extends LitElement {
486
+ static styles: lit.CSSResult;
487
+ serviceId: string;
488
+ showBack: boolean;
489
+ scheduleSlot: ScheduleSlot;
490
+ professional: Professional;
491
+ channel: AppointmentChannel | undefined;
492
+ private getPatientProfileQuery;
493
+ private updatePatientProfileMutation;
494
+ private handleSubmit;
495
+ render(): lit_html.TemplateResult<1> | null;
496
+ }
497
+ declare global {
498
+ interface HTMLElementTagNameMap {
499
+ "complete-profile-step": CompleteProfileStep;
500
+ }
501
+ }
502
+
503
+ type FileAttachment = {
504
+ id: string;
505
+ file_path: string;
506
+ file_name: string;
507
+ };
508
+ /**
509
+ * @fires onfileschange - Fired when the files list changes
510
+ */
511
+ declare class FileAttachments extends LitElement {
512
+ static styles: lit.CSSResult;
513
+ uploadedFiles: Array<FileAttachment>;
514
+ private uploadingFile;
515
+ private fileInput;
516
+ private uploadFileMutation;
517
+ private handleClickUploadFile;
518
+ private getErrorMessageFromCode;
519
+ private handleUploadFile;
520
+ private handleRemoveFile;
521
+ render(): lit_html.TemplateResult<1>;
522
+ }
523
+ declare global {
524
+ interface HTMLElementTagNameMap {
525
+ "file-attachments": FileAttachments;
526
+ }
527
+ }
528
+
529
+ /**
530
+ * @fires back - Fired when the back button is clicked
531
+ * @fires success - Fired when the appointment is created or rescheduled without payment
532
+ * @fires payment-started - Fired when a payment link is ready (paid flow)
533
+ * @fires error - Fired when an error occurs
534
+ */
535
+ declare class ConfirmStep extends LitElement {
536
+ static styles: lit.CSSResult;
537
+ patient: SchedulePatient;
538
+ kind: "schedule" | "reschedule";
539
+ showBack: boolean;
540
+ requiresPayment: boolean;
541
+ scheduleSlot: ScheduleSlot;
542
+ professional: Professional;
543
+ startsAt: string;
544
+ duration: number;
545
+ channel: AppointmentChannel | undefined;
546
+ appointment: Appointment | undefined;
547
+ serviceId: string;
548
+ specialityId: string;
549
+ service: GetScheduleServicesResponse[number] | undefined;
550
+ /** Discount applied in the summary; threaded through so the code reaches the
551
+ * booking payload and persists into the payment step. */
552
+ appliedDiscount: AppliedDiscount | null;
553
+ private reason;
554
+ private attachedFiles;
555
+ get isPaymentFlow(): boolean;
556
+ get isFullyDiscounted(): boolean;
557
+ private get ctaLabel();
558
+ queryClientContext: QueryClient | undefined;
559
+ private createScheduleAppointment;
560
+ private rescheduleAppointmentMutation;
561
+ private createPaymentLinkMutation;
562
+ private handleSubmit;
563
+ private handleFilesChange;
564
+ protected firstUpdated(): void;
565
+ render(): lit_html.TemplateResult<1>;
566
+ }
567
+ declare global {
568
+ interface HTMLElementTagNameMap {
569
+ "confirm-step": ConfirmStep;
570
+ }
571
+ }
572
+
573
+ /**
574
+ * @fires payment-success - Fired when payment is confirmed (status === "paid")
575
+ * @fires error - Fired when the polling timeout is reached
576
+ */
577
+ declare class PaymentPendingStep extends LitElement {
578
+ static styles: lit.CSSResult;
579
+ sessionId: string;
580
+ private _timedOut;
581
+ private _remaining;
582
+ private _intervalId?;
583
+ connectedCallback(): void;
584
+ disconnectedCallback(): void;
585
+ render(): lit_html.TemplateResult<1>;
586
+ }
587
+ declare global {
588
+ interface HTMLElementTagNameMap {
589
+ "payment-pending-step": PaymentPendingStep;
590
+ }
591
+ }
592
+
593
+ /**
594
+ * Payment method picker for the schedule flow.
595
+ *
596
+ * @element payment-method-selector
597
+ * @fires payment-method-selected - Fired when the user confirms a method (bubbles, composed; `method` on the event)
598
+ */
599
+ declare class PaymentMethodSelector extends LitElement {
600
+ static styles: lit.CSSResult;
601
+ private _selected;
602
+ private _select;
603
+ private _confirm;
604
+ render(): lit_html.TemplateResult<1>;
605
+ }
606
+ declare global {
607
+ interface HTMLElementTagNameMap {
608
+ "payment-method-selector": PaymentMethodSelector;
609
+ }
610
+ }
611
+
612
+ /**
613
+ * @fires back - Fired when the back button in the header is clicked
614
+ * @fires payment-success - Fired when payment is confirmed (status === "paid")
615
+ * @fires payment-retry - Fired when the iframe requests a payment retry (new session/url)
616
+ * @fires apple-pay-opened - Cancelable. Fired before the Apple Pay popup opens.
617
+ * Call preventDefault() to open the URL yourself (e.g. Safari top-level).
618
+ * detail.url includes #token= (secret — do not log).
619
+ * @fires error - Fired when the polling timeout is reached
620
+ */
621
+ declare class PaymentStep extends LitElement {
622
+ static styles: lit.CSSResult;
623
+ sessionId: string;
624
+ showBack: boolean;
625
+ paymentUrl: string;
626
+ professional: Professional;
627
+ startsAt: string;
628
+ duration: number;
629
+ channel: AppointmentChannel | undefined;
630
+ service: GetScheduleServicesResponse[number] | undefined;
631
+ scheduleSlot: ScheduleSlot | undefined;
632
+ appliedDiscount: AppliedDiscount | null;
633
+ bookingRequest: CreatePaymentLinkRequest | null;
634
+ apiKey?: string;
635
+ /** Raw integrator token for the Apple Pay checkout shell (URL fragment). */
636
+ userToken?: string;
637
+ env: string;
638
+ locale: string;
639
+ countryCode: string;
640
+ successUrl?: string;
641
+ queryClientContext: QueryClient | undefined;
642
+ private _view;
643
+ private _applePayWaiting;
644
+ private _applePayUrl;
645
+ private _applePayPopupBlocked;
646
+ private _applePayConfigError;
647
+ private _timedOut;
648
+ private _iframeLoaded;
649
+ private _iframeHeight;
650
+ private _applePayPopup;
651
+ private _pollIntervalId?;
652
+ private _pollStartTimeoutId?;
653
+ private _pollDeadline;
654
+ get isFullyDiscounted(): boolean;
655
+ private createScheduleAppointment;
656
+ private confirmFree;
657
+ private _paymentAmountCents;
658
+ private _paymentCurrency;
659
+ private _paymentAmountLabel;
660
+ private _buildApplePayUrl;
661
+ private _stopPaymentPolling;
662
+ private _startPaymentPolling;
663
+ private _pollOnce;
664
+ private _onPaymentMethodSelected;
665
+ private _openApplePayPopup;
666
+ private _reopenApplePayPopup;
667
+ private _onHeaderBack;
668
+ updated(changed: PropertyValues): void;
669
+ connectedCallback(): void;
670
+ disconnectedCallback(): void;
671
+ private _onIframeLoad;
672
+ private _onMessage;
673
+ private _renderSummaryColumn;
674
+ private _renderPaymentColumn;
675
+ render(): lit_html.TemplateResult<1>;
676
+ }
677
+ declare global {
678
+ interface HTMLElementTagNameMap {
679
+ "payment-step": PaymentStep;
680
+ }
681
+ }
682
+
683
+ declare class ScheduleLoadingBanner extends LitElement {
684
+ static styles: lit.CSSResult;
685
+ render(): lit_html.TemplateResult<1>;
686
+ }
687
+ declare global {
688
+ interface HTMLElementTagNameMap {
689
+ "schedule-loading-banner": ScheduleLoadingBanner;
690
+ }
691
+ }
692
+
693
+ declare const SearchAvailabilityFormSchema: z.ZodObject<{
694
+ service: z.ZodString;
695
+ specialty: z.ZodString;
696
+ }, "strip", z.ZodTypeAny, {
697
+ service: string;
698
+ specialty: string;
699
+ }, {
700
+ service: string;
701
+ specialty: string;
702
+ }>;
703
+ type SearchAvailabilityFormData = z.infer<typeof SearchAvailabilityFormSchema>;
704
+ /**
705
+ * @fires success - Fired when the search professionals form is submitted successfully
706
+ */
707
+ declare class SearchProfessionalsForm extends LitElement {
708
+ static styles: lit.CSSResult;
709
+ patient: SchedulePatient;
710
+ defaultValues: SearchAvailabilityFormData;
711
+ private form;
712
+ private getScheduleServicesQuery;
713
+ private getOrganizationSpecialtiesQuery;
714
+ private get filtersLoading();
715
+ protected willUpdate(_changedProperties: PropertyValues<this>): void;
716
+ private renderScheduleServices;
717
+ private renderOrganizationSpecialties;
718
+ render(): lit_html.TemplateResult<1>;
719
+ }
720
+ declare global {
721
+ interface HTMLElementTagNameMap {
722
+ "search-professionals-form": SearchProfessionalsForm;
723
+ }
724
+ }
725
+
726
+ /**
727
+ * @fires selected-slot - Fired when a slot is selected
728
+ * @fires show-full-schedule - Fired when the full schedule button is clicked
729
+ */
730
+ declare class ProfessionalCard extends LitElement {
731
+ static styles: lit.CSSResult;
732
+ patient: SchedulePatient;
733
+ professional: GetProfessionalsBySpecialtyAndServiceResponse[number];
734
+ serviceId: string;
735
+ specialtyId: string;
736
+ showSlotUnavailableError: boolean;
737
+ queryClientContext: QueryClient | undefined;
738
+ private getOrganizationSpecialtiesQuery;
739
+ private checkForSlotAvailabilityMutation;
740
+ private get groupedSlots();
741
+ private get timezone();
742
+ private formatDay;
743
+ private formatDate;
744
+ private formatTime;
745
+ private handleSlotClick;
746
+ render(): lit_html.TemplateResult<1>;
747
+ }
748
+ declare global {
749
+ interface HTMLElementTagNameMap {
750
+ "professional-card": ProfessionalCard;
751
+ }
752
+ }
753
+
754
+ /**
755
+ * @fires selected-slot - Fired when a slot is selected
756
+ * @fires show-full-schedule - Fired when the full schedule button is clicked
757
+ */
758
+ declare class ProfessionalsList extends LitElement {
759
+ static styles: lit.CSSResult;
760
+ patient: SchedulePatient;
761
+ specialty_id: string | undefined;
762
+ service_id: string | undefined;
763
+ private getOrganizationSpecialtiesQuery;
764
+ private getScheduleServicesQuery;
765
+ private getProfessionalsBySpecialtyAndServiceQuery;
766
+ render(): lit_html.TemplateResult<1> | typeof nothing | null;
767
+ }
768
+ declare global {
769
+ interface HTMLElementTagNameMap {
770
+ "professionals-list": ProfessionalsList;
771
+ }
772
+ }
773
+
774
+ /**
775
+ * @fires success - Fired when the form is submitted
776
+ * @fires back - Fired when the back button is clicked
777
+ * @fires show-full-schedule - Fired when the full schedule button is clicked
778
+ */
779
+ declare class SelectProfessionalStep extends LitElement {
780
+ static styles: lit.CSSResult;
781
+ patient: SchedulePatient;
782
+ defaultSpecialty: string | undefined;
783
+ defaultService: string | undefined;
784
+ showBack: boolean;
785
+ formData: {
786
+ service_id: string;
787
+ specialty_id: string;
788
+ } | undefined;
789
+ private getScheduleServicesQuery;
790
+ private getOrganizationSpecialtiesQuery;
791
+ private get isScheduleFiltersReady();
792
+ /**
793
+ * Whether to render the search form (after filter queries succeeded).
794
+ * - Multiple services or specialties → always show so the user can change modality/especialidad.
795
+ * - Exactly one of each → hide until `formData` exists (`updated()` fills from URL defaults or the sole IDs).
796
+ * - Otherwise (e.g. user must pick first) → show until they submit a search (`formData` set).
797
+ */
798
+ private get showSearchForm();
799
+ protected updated(): void;
800
+ connectedCallback(): void;
801
+ private scrollToProfessionalsList;
802
+ render(): lit_html.TemplateResult<1>;
803
+ }
804
+ declare global {
805
+ interface HTMLElementTagNameMap {
806
+ "select-professional-step": SelectProfessionalStep;
807
+ }
808
+ }
809
+
810
+ /**
811
+ * @fires to-calendar-view - Fired when the user wants to switch to the calendar view
812
+ * @fires slot-select - Fired when the user selects a slot
813
+ * @fires slot-unavailable - Fired when the slot is unavailable
814
+ */
815
+ declare class DaysWindowView extends LitElement {
816
+ static styles: lit.CSSResult;
817
+ professionalId: string;
818
+ serviceId: string;
819
+ /** Forwarded to the slot lookup so the backend resolves the specialty price. */
820
+ specialityId: number | undefined;
821
+ /** Set only when rescheduling — forwarded to the slots endpoint. */
822
+ reschedulingAppointmentId: string | undefined;
823
+ windowStartDate: Date;
824
+ errorMessage: string | undefined;
825
+ patient: SchedulePatient;
826
+ private checkForSlotAvailabilityMutation;
827
+ private _visibleDays;
828
+ private _resizeHandler?;
829
+ private getScheduleServiceProfessionalSlotsQuery;
830
+ connectedCallback(): void;
831
+ disconnectedCallback(): void;
832
+ render(): lit_html.TemplateResult<1>;
833
+ }
834
+ declare global {
835
+ interface HTMLElementTagNameMap {
836
+ "days-window-view": DaysWindowView;
837
+ }
838
+ }
839
+
840
+ /**
841
+ * @fires date-select - Fired when a date is selected, includes the date
842
+ */
843
+ declare class CalendarView extends LitElement {
844
+ static styles: lit.CSSResult;
845
+ professionalId: string;
846
+ serviceId: string;
847
+ /** Set only when rescheduling — forwarded to the slots endpoint. */
848
+ reschedulingAppointmentId: string | undefined;
849
+ initialDate: Date | undefined;
850
+ private currentMonth;
851
+ connectedCallback(): void;
852
+ private getScheduleServiceProfessionalSlotsQuery;
853
+ render(): lit_html.TemplateResult<1>;
854
+ }
855
+ declare global {
856
+ interface HTMLElementTagNameMap {
857
+ "calendar-view": CalendarView;
858
+ }
859
+ }
860
+
861
+ /**
862
+ * @fires back - Fired when the back button is clicked
863
+ * @fires success - Fired when a slot is selected
864
+ */
865
+ declare class SelectSlotStep extends LitElement {
866
+ static styles: lit.CSSResult;
867
+ kind: "schedule" | "reschedule";
868
+ showBack: boolean;
869
+ serviceId: string;
870
+ professionalId: string;
871
+ /** Set only when rescheduling — forwarded to the slots endpoint. */
872
+ reschedulingAppointmentId: string | undefined;
873
+ professional: Professional;
874
+ startsAt: string | undefined;
875
+ duration: number | undefined;
876
+ channel: AppointmentChannel | undefined;
877
+ errorMessage: string | undefined;
878
+ initialDate: Date | undefined;
879
+ /** Service metadata (name/code) shown in the summary. */
880
+ service: GetScheduleServicesResponse[number] | undefined;
881
+ /** Discount applied here in the summary; mirrored into the wizard context so
882
+ * it survives the step into the questionnaire/confirmation. */
883
+ appliedDiscount: AppliedDiscount | null;
884
+ queryClientContext: QueryClient | undefined;
885
+ private getScheduleServiceSpecialitiesQuery;
886
+ view: "days-window" | "calendar";
887
+ windowStartDate: Date;
888
+ connectedCallback(): void;
889
+ private renderView;
890
+ render(): lit_html.TemplateResult<1>;
891
+ }
892
+ declare global {
893
+ interface HTMLElementTagNameMap {
894
+ "select-slot-step": SelectSlotStep;
895
+ }
896
+ }
897
+
898
+ declare class SelectSlotStepSkeleton extends LitElement {
899
+ static styles: lit.CSSResult;
900
+ render(): lit_html.TemplateResult<1>;
901
+ }
902
+ declare global {
903
+ interface HTMLElementTagNameMap {
904
+ "select-slot-step-skeleton": SelectSlotStepSkeleton;
905
+ }
906
+ }
907
+
908
+ declare class AppointmentCreatedEvent extends Event {
909
+ readonly detail: {
910
+ appointmentId: string;
911
+ };
912
+ static eventName: string;
913
+ constructor(detail: {
914
+ appointmentId: string;
915
+ });
916
+ }
917
+ /**
918
+ * @fires back - Fired when the back button is clicked
919
+ * @fires appointment-created - Fired when an appointment is successfully created
920
+ * @fires auth-required - Fired when a guest picks a slot (resume-after-login data)
921
+ */
922
+ declare class MqSchedule extends LitElement {
923
+ static styles: lit.CSSResult;
924
+ /** Preselected specialty. Accepts a public slug ("ginecologia") or a raw
925
+ * backend code ("gynecology"). */
926
+ defaultSpecialty?: string;
927
+ /** Preselected service. Accepts a public slug ("videoconsulta") or a raw
928
+ * backend code. */
929
+ defaultService?: string;
930
+ /** Pre-selects a professional and starts the wizard at the slot picker. */
931
+ defaultProfessionalHash?: string;
932
+ /** Resumes on a previously-chosen slot (guest → login). Requires `token` and
933
+ * `default-professional-hash`. */
934
+ defaultSlotId?: string;
935
+ kind?: "schedule" | "reschedule";
936
+ requiresPayment: boolean;
937
+ /** Appointment ID — required when kind="reschedule". */
938
+ appointmentId?: string;
939
+ showMediquoBranding: boolean;
940
+ /** When `false`, hides the back button on the wizard's first step. */
941
+ showBackButton: boolean;
942
+ /** Mediquo API key. Required when used standalone (outside mq-router). */
943
+ apiKey?: string;
944
+ /** Already-exchanged access token. Required when used standalone. */
945
+ token?: string;
946
+ /** Locale (e.g. "es_ES"). Optional; defaults to the host/build locale. */
947
+ locale?: string;
948
+ /** Environment override ("development" | "production"). Optional. */
949
+ env?: Env;
950
+ /**
951
+ * Raw integrator user token for Apple Pay checkout URLs (fragment). Distinct
952
+ * from `token` (JWT). Required for Apple Pay when used with the hosted shell.
953
+ */
954
+ userToken?: string;
955
+ /**
956
+ * Optional return URL passed to the Apple Pay shell as `success_url`.
957
+ * Omit when the parent tab polls the payment session (default schedule web flow).
958
+ */
959
+ applePaySuccessUrl?: string;
960
+ /** IANA timezone for slot times; the host supplies it (not in the profile),
961
+ * defaulting to the browser's. */
962
+ timezone?: string;
963
+ private _patient;
964
+ protected willUpdate(changed: PropertyValues<this>): void;
965
+ private _wizard;
966
+ private _emittedCreated;
967
+ private getAppointmentQuery;
968
+ private getProfessionalQuery;
969
+ private getScheduleSlotQuery;
970
+ private getPatientProfileQuery;
971
+ private getOrganizationSpecialtiesQuery;
972
+ private getScheduleServicesQuery;
973
+ private getOrganizationSetupQuery;
974
+ private _initWizard;
975
+ private _stepHandlers;
976
+ private _hostConfig;
977
+ private _renderStep;
978
+ private renderReschedulePolicyBlocked;
979
+ private _renderLayout;
980
+ render(): lit_html.TemplateResult<1>;
981
+ }
982
+ declare global {
983
+ interface HTMLElementTagNameMap {
984
+ "mq-schedule": MqSchedule;
985
+ }
986
+ }
987
+
988
+ /**
989
+ * Fired when a guest picks a slot. Each field maps to a `default-*` attribute
990
+ * to re-mount and resume the booking after login (with the session token).
991
+ */
992
+ declare class AuthRequiredEvent extends Event {
993
+ readonly detail: {
994
+ professionalHash: string;
995
+ slotId: string;
996
+ serviceId: string | undefined;
997
+ specialtyId: string | undefined;
998
+ };
999
+ static eventName: string;
1000
+ constructor(detail: {
1001
+ professionalHash: string;
1002
+ slotId: string;
1003
+ serviceId: string | undefined;
1004
+ specialtyId: string | undefined;
1005
+ });
1006
+ }
1007
+ declare global {
1008
+ interface HTMLElementEventMap {
1009
+ "auth-required": AuthRequiredEvent;
1010
+ }
1011
+ }
1012
+
1013
+ export { AppointmentCreatedEvent, AuthRequiredEvent, MqSchedule };