@mediquo/elements 0.8.0 → 0.8.2

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 (165) hide show
  1. package/README.md +61 -5
  2. package/dist/chunks/action-unavailable-message-BIgsXk9u.js +1 -0
  3. package/dist/chunks/api-chat-client-CJ1EGJe3.js +1 -0
  4. package/dist/chunks/api-client-context-V1UAGtKW.js +1 -0
  5. package/dist/chunks/{apple-pay-outcomes-BpcbdGfO.js → apple-pay-outcomes-B1LrUXHR.js} +1 -1
  6. package/dist/chunks/appointment-action-unavailable-dialog-CTiL4nMo.d.ts +54 -0
  7. package/dist/chunks/{appointment-card-skeleton-B7dKtGv0.d.ts → appointment-card-skeleton-C2Sim4nR.d.ts} +5 -3
  8. package/dist/chunks/appointment-card-skeleton-D8gypuKh.js +1 -0
  9. package/dist/chunks/appointment-details-DXLBQnPN.js +1 -0
  10. package/dist/chunks/chunk-6CCJWPGL-TiaqZaPV.js +1 -0
  11. package/dist/chunks/{chunk-BUV4MGML-Bn3JWCAv.js → chunk-BUV4MGML-CkhBbfUu.js} +1 -1
  12. package/dist/chunks/chunk-HN62IQ7S-xbkIy7k_.js +1 -0
  13. package/dist/chunks/chunk-Y4EKUX25-QqMl3eiq.js +1 -0
  14. package/dist/chunks/consume-CovVqBjI.js +1 -0
  15. package/dist/chunks/{chunk-6CCJWPGL-DlOpbEYH.js → context-consumer-ESdICVAb.js} +1 -1
  16. package/dist/chunks/documentation-view-BbMbGneD.js +1 -0
  17. package/dist/chunks/{get-appointment-query-lJe75hGS.js → get-appointment-query-C-gTTuiQ.js} +1 -1
  18. package/dist/chunks/{get-organization-setup-query-DxHNY0w8.js → get-organization-setup-query-Dr1cXnHl.js} +1 -1
  19. package/dist/chunks/{get-patient-documents-query-D1SfC_k_.js → get-patient-documents-query-NC9xCa_N.js} +1 -1
  20. package/dist/chunks/{get-patient-profile-query-DiU2f_QH.js → get-patient-profile-query-4AO6xvVn.js} +1 -1
  21. package/dist/chunks/{get-schedule-services-query-Ckvz9Fqh.js → get-schedule-services-query-Fzvb9ug9.js} +1 -1
  22. package/dist/chunks/index-Bw-MbGKw.js +1 -0
  23. package/dist/chunks/{index-Ca-l41nB.js → index-CXb3gOFA.js} +1 -1
  24. package/dist/chunks/{index-63zQSBy4.js → index-CyteNROM.js} +1 -1
  25. package/dist/chunks/index-D6Hg-beW.js +1 -0
  26. package/dist/chunks/{index-CDBk7hVW.d.ts → index-DTEtqjQF.d.ts} +0 -13
  27. package/dist/chunks/{index-czcKClL3.d.ts → index-Dbbpnw8f.d.ts} +8 -0
  28. package/dist/chunks/index-DdkeWQrh.d.ts +53 -0
  29. package/dist/chunks/index-Nf3nZ9O3.d.ts +16 -0
  30. package/dist/chunks/index-iaTXVzFa.js +1 -0
  31. package/dist/chunks/index-uHvVQMNc.js +1 -0
  32. package/dist/chunks/index.d-XSe7Hy-Q.d.ts +2989 -0
  33. package/dist/chunks/login-token-task-Yib__6a9.js +1 -0
  34. package/dist/chunks/{mq-chat-room-CRPruRJD.d.ts → mq-chat-room-jeDvIF1Z.d.ts} +12 -227
  35. package/dist/chunks/mq-layout-E5mKSz4A.js +1 -0
  36. package/dist/chunks/{index-CSJzkkRA.d.ts → mq-layout-TG2K4zRv.d.ts} +20 -0
  37. package/dist/chunks/provide-BwI4DDGF.js +1 -0
  38. package/dist/chunks/query-controller-BlO1Ax65.js +1 -0
  39. package/dist/chunks/refund-cancel-policy-CcsJ-pMx.js +1 -0
  40. package/dist/chunks/{schemas.d-D7bCe24u.d.ts → schemas.d-b6_AekBb.d.ts} +12 -1
  41. package/dist/chunks/telemetry-client-7fvNqUSU.js +1 -0
  42. package/dist/env.js +1 -1
  43. package/dist/i18n.js +1 -1
  44. package/dist/mq-api-client-provider.d.ts +39 -0
  45. package/dist/mq-api-client-provider.js +1 -0
  46. package/dist/mq-apple-pay-checkout.d.ts +12 -0
  47. package/dist/mq-apple-pay-checkout.js +1 -1
  48. package/dist/mq-appointment-checkout.d.ts +3 -1
  49. package/dist/mq-appointment-checkout.js +1 -1
  50. package/dist/mq-appointment-documentation.d.ts +13 -4
  51. package/dist/mq-appointment-documentation.js +1 -1
  52. package/dist/mq-chat-room.d.ts +5 -2
  53. package/dist/mq-chat-room.js +1 -1
  54. package/dist/mq-checkout.d.ts +21 -1
  55. package/dist/mq-checkout.js +1 -1
  56. package/dist/mq-dashboard.d.ts +21 -120
  57. package/dist/mq-dashboard.js +1 -1
  58. package/dist/mq-documents.d.ts +21 -7
  59. package/dist/mq-documents.js +1 -1
  60. package/dist/mq-google-pay-checkout.d.ts +12 -0
  61. package/dist/mq-google-pay-checkout.js +1 -1
  62. package/dist/mq-immediate-videocall-checkout.d.ts +3 -0
  63. package/dist/mq-immediate-videocall-checkout.js +1 -1
  64. package/dist/mq-my-appointments.d.ts +11 -7
  65. package/dist/mq-my-appointments.js +1 -1
  66. package/dist/mq-next-appointments.d.ts +17 -6
  67. package/dist/mq-next-appointments.js +1 -1
  68. package/dist/mq-payment-poller.d.ts +11 -0
  69. package/dist/mq-payment-poller.js +1 -1
  70. package/dist/mq-professional-presence-sync.d.ts +1 -0
  71. package/dist/mq-professional-presence-sync.js +1 -1
  72. package/dist/mq-query-client-provider.d.ts +4 -1
  73. package/dist/mq-query-client-provider.js +1 -1
  74. package/dist/mq-recent-documents.d.ts +19 -30
  75. package/dist/mq-recent-documents.js +1 -1
  76. package/dist/mq-schedule-success.d.ts +12 -2
  77. package/dist/mq-schedule-success.js +2 -2
  78. package/dist/mq-schedule.d.ts +24 -220
  79. package/dist/mq-schedule.js +1 -1
  80. package/dist/mq-session-provider.d.ts +1 -1
  81. package/dist/mq-session-provider.js +1 -1
  82. package/dist/mq-socket-provider.js +1 -1
  83. package/dist/mq-support-chat.d.ts +12 -2
  84. package/dist/mq-support-chat.js +1 -1
  85. package/dist/mq-terms-and-conditions.d.ts +5 -1
  86. package/dist/mq-terms-and-conditions.js +1 -1
  87. package/dist/mq-unread-count-sync.d.ts +1 -0
  88. package/dist/mq-unread-count-sync.js +1 -1
  89. package/dist/mq-videocall.d.ts +13 -3
  90. package/dist/mq-videocall.js +1 -1
  91. package/dist/react/mq-api-client-provider.d.ts +26 -0
  92. package/dist/react/mq-api-client-provider.js +2 -0
  93. package/dist/react/mq-apple-pay-checkout.d.ts +4 -1
  94. package/dist/react/mq-apple-pay-checkout.js +1 -1
  95. package/dist/react/mq-appointment-checkout.d.ts +3 -1
  96. package/dist/react/mq-appointment-checkout.js +1 -1
  97. package/dist/react/mq-appointment-documentation.d.ts +6 -4
  98. package/dist/react/mq-appointment-documentation.js +1 -1
  99. package/dist/react/mq-chat-room.d.ts +5 -2
  100. package/dist/react/mq-chat-room.js +1 -1
  101. package/dist/react/mq-checkout.d.ts +4 -1
  102. package/dist/react/mq-checkout.js +1 -1
  103. package/dist/react/mq-dashboard.d.ts +12 -11
  104. package/dist/react/mq-dashboard.js +1 -1
  105. package/dist/react/mq-documents-page.d.ts +7 -3
  106. package/dist/react/mq-documents-page.js +1 -1
  107. package/dist/react/mq-documents.d.ts +7 -3
  108. package/dist/react/mq-documents.js +1 -1
  109. package/dist/react/mq-google-pay-checkout.d.ts +4 -1
  110. package/dist/react/mq-google-pay-checkout.js +1 -1
  111. package/dist/react/mq-immediate-videocall-checkout.d.ts +3 -0
  112. package/dist/react/mq-immediate-videocall-checkout.js +1 -1
  113. package/dist/react/mq-my-appointments.d.ts +10 -8
  114. package/dist/react/mq-my-appointments.js +1 -1
  115. package/dist/react/mq-next-appointments.d.ts +12 -8
  116. package/dist/react/mq-next-appointments.js +1 -1
  117. package/dist/react/mq-payment-poller.d.ts +4 -0
  118. package/dist/react/mq-payment-poller.js +1 -1
  119. package/dist/react/mq-professional-presence-sync.js +1 -1
  120. package/dist/react/mq-query-client-provider.d.ts +1 -0
  121. package/dist/react/mq-query-client-provider.js +1 -1
  122. package/dist/react/mq-recent-documents.d.ts +8 -3
  123. package/dist/react/mq-recent-documents.js +1 -1
  124. package/dist/react/mq-schedule-success.d.ts +5 -2
  125. package/dist/react/mq-schedule-success.js +1 -1
  126. package/dist/react/mq-schedule.d.ts +4 -2
  127. package/dist/react/mq-schedule.js +1 -1
  128. package/dist/react/mq-session-provider.d.ts +1 -1
  129. package/dist/react/mq-session-provider.js +1 -1
  130. package/dist/react/mq-socket-provider.js +1 -1
  131. package/dist/react/mq-support-chat.d.ts +5 -2
  132. package/dist/react/mq-support-chat.js +1 -1
  133. package/dist/react/mq-terms-and-conditions.d.ts +5 -1
  134. package/dist/react/mq-terms-and-conditions.js +1 -1
  135. package/dist/react/mq-toast-container.js +1 -1
  136. package/dist/react/mq-unread-count-sync.js +1 -1
  137. package/dist/react/mq-videocall.d.ts +6 -4
  138. package/dist/react/mq-videocall.js +1 -1
  139. package/dist/theme.js +1 -1
  140. package/dist/ui/icons/download-02-icon.d.ts +6 -0
  141. package/dist/ui/icons/download-02-icon.js +1 -0
  142. package/dist/ui/mq-calendar.js +1 -1
  143. package/dist/ui/mq-clamped-text.js +1 -1
  144. package/package.json +5 -1
  145. package/dist/chunks/action-unavailable-message-CRLimFj5.js +0 -1
  146. package/dist/chunks/api-chat-client-BiiYnU-b.js +0 -1
  147. package/dist/chunks/appointment-action-unavailable-dialog-Da2IATYj.d.ts +0 -321
  148. package/dist/chunks/appointment-card-skeleton-ZfTAElLq.js +0 -1
  149. package/dist/chunks/appointment-details-Bm3Uuw2g.js +0 -1
  150. package/dist/chunks/chunk-Y4EKUX25-CqL3lLdx.js +0 -1
  151. package/dist/chunks/consume-BhoQNO_8.js +0 -1
  152. package/dist/chunks/context-provider--AKuwfs9.js +0 -1
  153. package/dist/chunks/documentation-view-CTnpWIxq.js +0 -1
  154. package/dist/chunks/i18n-formats-EgnwLxKt.js +0 -1
  155. package/dist/chunks/index-CZ9HtP96.js +0 -1
  156. package/dist/chunks/index-DMiowcMQ.js +0 -1
  157. package/dist/chunks/index-DZjrAnPq.js +0 -1
  158. package/dist/chunks/login-token-task-BI-L2zSV.js +0 -1
  159. package/dist/chunks/mq-layout-BndHxkbb.js +0 -1
  160. package/dist/chunks/mq-layout-D8Mak16a.d.ts +0 -21
  161. package/dist/chunks/provide-D2fnEhT2.js +0 -1
  162. package/dist/chunks/query-controller-D7jBX4X7.js +0 -1
  163. package/dist/chunks/refund-cancel-policy-DV6bzqcu.js +0 -1
  164. package/dist/chunks/schemas.d-Bss7CeCZ.d.ts +0 -53
  165. package/dist/chunks/telemetry-client-Bkbn48Dd.js +0 -1
@@ -2,6 +2,7 @@ import * as lit_html_directive_js from 'lit-html/directive.js';
2
2
  import * as lit_html_directives_keyed_js from 'lit-html/directives/keyed.js';
3
3
  import * as lit from 'lit';
4
4
  import { LitElement, PropertyValues, TemplateResult, nothing } from 'lit';
5
+ import { M as MediquoApiChatClient, c as GetScheduleServicesResponse, C as CreatePaymentLinkRequest, P as PaymentProvider, d as GetProfessionalsBySpecialtyAndServiceResponse } from './chunks/index.d-XSe7Hy-Q.js';
5
6
  import './ui/mq-button.js';
6
7
  import { Env } from './env.js';
7
8
  import * as lit_html from 'lit-html';
@@ -15,12 +16,13 @@ import './ui/mq-clamped-text.js';
15
16
  import './ui/mq-card.js';
16
17
  import { P as PriceInCents } from './chunks/price.d-CwLosdAN.js';
17
18
  import { QueryClient } from '@tanstack/query-core';
18
- import { C as CreatePaymentLinkRequest, P as PaymentProvider } from './chunks/schemas.d-Bss7CeCZ.js';
19
19
  import './ui/mq-skeleton.js';
20
20
  import './ui/mq-text-button.js';
21
21
  import './ui/mq-select.js';
22
22
  import './ui/mq-time-slot-picker.js';
23
23
  import './ui/mq-calendar.js';
24
+ import 'axios';
25
+ import './chunks/schemas.d-b6_AekBb.js';
24
26
  import './ui/mq-avatar.js';
25
27
 
26
28
  declare const ProfessionalSchema: z.ZodObject<{
@@ -186,6 +188,7 @@ type CompleteProfileFormData = z.infer<typeof CompleteProfileFormSchema>;
186
188
  * @fires success - Fired when the complete profile form is submitted successfully
187
189
  */
188
190
  declare class CompleteProfileForm extends LitElement {
191
+ apiClient: MediquoApiChatClient;
189
192
  static styles: lit.CSSResult;
190
193
  isPending: boolean;
191
194
  serviceId: string;
@@ -209,225 +212,6 @@ interface SchedulePatient {
209
212
  timezone: string;
210
213
  }
211
214
 
212
- declare const GetScheduleServicesResponseSchema: z.ZodArray<z.ZodObject<{
213
- id: z.ZodString;
214
- name: z.ZodString;
215
- code: z.ZodString;
216
- channel: z.ZodEnum<["videocall", "chat", "phonecall"]>;
217
- price: z.ZodNullable<z.ZodObject<{
218
- /** Smallest currency unit (e.g. cents for EUR/USD). */
219
- amount: z.ZodNumber;
220
- currency: z.ZodString;
221
- }, "strip", z.ZodTypeAny, {
222
- currency: string;
223
- amount: number;
224
- }, {
225
- currency: string;
226
- amount: number;
227
- }>>;
228
- }, "strip", z.ZodTypeAny, {
229
- code: string;
230
- id: string;
231
- channel: "videocall" | "chat" | "phonecall";
232
- name: string;
233
- price: {
234
- currency: string;
235
- amount: number;
236
- } | null;
237
- }, {
238
- code: string;
239
- id: string;
240
- channel: "videocall" | "chat" | "phonecall";
241
- name: string;
242
- price: {
243
- currency: string;
244
- amount: number;
245
- } | null;
246
- }>, "many">;
247
- type GetScheduleServicesResponse = z.infer<typeof GetScheduleServicesResponseSchema>;
248
- declare const GetProfessionalsBySpecialtyAndServiceResponseSchema: z.ZodArray<z.ZodObject<{
249
- id: z.ZodString;
250
- avatar: z.ZodNullable<z.ZodString>;
251
- description: z.ZodNullable<z.ZodString>;
252
- collegiate_number: z.ZodNullable<z.ZodString>;
253
- languages: z.ZodArray<z.ZodString, "many">;
254
- name: z.ZodString;
255
- slots: z.ZodArray<z.ZodObject<{
256
- id: z.ZodString;
257
- channel: z.ZodEnum<["videocall", "chat", "phonecall"]>;
258
- duration: z.ZodNumber;
259
- starts_at: z.ZodString;
260
- finishes_at: z.ZodString;
261
- professional: z.ZodObject<{
262
- id: z.ZodString;
263
- name: z.ZodString;
264
- }, "strip", z.ZodTypeAny, {
265
- id: string;
266
- name: string;
267
- }, {
268
- id: string;
269
- name: string;
270
- }>;
271
- services: z.ZodArray<z.ZodObject<{
272
- id: z.ZodString;
273
- name: z.ZodString;
274
- }, "strip", z.ZodTypeAny, {
275
- id: string;
276
- name: string;
277
- }, {
278
- id: string;
279
- name: string;
280
- }>, "many">;
281
- speciality: z.ZodObject<{
282
- id: z.ZodNumber;
283
- price: z.ZodOptional<z.ZodNullable<z.ZodObject<{
284
- amount: z.ZodNumber;
285
- currency: z.ZodString;
286
- }, "strip", z.ZodTypeAny, {
287
- currency: string;
288
- amount: number;
289
- }, {
290
- currency: string;
291
- amount: number;
292
- }>>>;
293
- }, "strip", z.ZodTypeAny, {
294
- id: number;
295
- price?: {
296
- currency: string;
297
- amount: number;
298
- } | null | undefined;
299
- }, {
300
- id: number;
301
- price?: {
302
- currency: string;
303
- amount: number;
304
- } | null | undefined;
305
- }>;
306
- status: z.ZodEnum<["available", "reserved"]>;
307
- }, "strip", z.ZodTypeAny, {
308
- status: "available" | "reserved";
309
- id: string;
310
- channel: "videocall" | "chat" | "phonecall";
311
- duration: number;
312
- speciality: {
313
- id: number;
314
- price?: {
315
- currency: string;
316
- amount: number;
317
- } | null | undefined;
318
- };
319
- starts_at: string;
320
- professional: {
321
- id: string;
322
- name: string;
323
- };
324
- finishes_at: string;
325
- services: {
326
- id: string;
327
- name: string;
328
- }[];
329
- }, {
330
- status: "available" | "reserved";
331
- id: string;
332
- channel: "videocall" | "chat" | "phonecall";
333
- duration: number;
334
- speciality: {
335
- id: number;
336
- price?: {
337
- currency: string;
338
- amount: number;
339
- } | null | undefined;
340
- };
341
- starts_at: string;
342
- professional: {
343
- id: string;
344
- name: string;
345
- };
346
- finishes_at: string;
347
- services: {
348
- id: string;
349
- name: string;
350
- }[];
351
- }>, "many">;
352
- speciality: z.ZodObject<{
353
- id: z.ZodNumber;
354
- }, "strip", z.ZodTypeAny, {
355
- id: number;
356
- }, {
357
- id: number;
358
- }>;
359
- tax_id: z.ZodNullable<z.ZodString>;
360
- }, "strip", z.ZodTypeAny, {
361
- id: string;
362
- name: string;
363
- avatar: string | null;
364
- speciality: {
365
- id: number;
366
- };
367
- collegiate_number: string | null;
368
- languages: string[];
369
- description: string | null;
370
- slots: {
371
- status: "available" | "reserved";
372
- id: string;
373
- channel: "videocall" | "chat" | "phonecall";
374
- duration: number;
375
- speciality: {
376
- id: number;
377
- price?: {
378
- currency: string;
379
- amount: number;
380
- } | null | undefined;
381
- };
382
- starts_at: string;
383
- professional: {
384
- id: string;
385
- name: string;
386
- };
387
- finishes_at: string;
388
- services: {
389
- id: string;
390
- name: string;
391
- }[];
392
- }[];
393
- tax_id: string | null;
394
- }, {
395
- id: string;
396
- name: string;
397
- avatar: string | null;
398
- speciality: {
399
- id: number;
400
- };
401
- collegiate_number: string | null;
402
- languages: string[];
403
- description: string | null;
404
- slots: {
405
- status: "available" | "reserved";
406
- id: string;
407
- channel: "videocall" | "chat" | "phonecall";
408
- duration: number;
409
- speciality: {
410
- id: number;
411
- price?: {
412
- currency: string;
413
- amount: number;
414
- } | null | undefined;
415
- };
416
- starts_at: string;
417
- professional: {
418
- id: string;
419
- name: string;
420
- };
421
- finishes_at: string;
422
- services: {
423
- id: string;
424
- name: string;
425
- }[];
426
- }[];
427
- tax_id: string | null;
428
- }>, "many">;
429
- type GetProfessionalsBySpecialtyAndServiceResponse = z.infer<typeof GetProfessionalsBySpecialtyAndServiceResponseSchema>;
430
-
431
215
  /** Discount applied to an appointment, derived from the coupon + base price. */
432
216
  interface AppliedDiscount {
433
217
  code: string;
@@ -446,6 +230,7 @@ interface AppliedDiscount {
446
230
  * @fires discount-applied - When a validated discount is applied.
447
231
  */
448
232
  declare class DiscountCodeField extends LitElement {
233
+ apiClient: MediquoApiChatClient;
449
234
  static styles: lit.CSSResult;
450
235
  basePrice: PriceInCents | null;
451
236
  /** Currently applied discount, if any (owned by the host). */
@@ -469,6 +254,7 @@ declare global {
469
254
  * @fires success - Fired when the complete profile form is submitted successfully
470
255
  */
471
256
  declare class CompleteProfileStep extends LitElement {
257
+ apiClient: MediquoApiChatClient;
472
258
  static styles: lit.CSSResult;
473
259
  serviceId: string;
474
260
  showBack: boolean;
@@ -495,6 +281,7 @@ type FileAttachment = {
495
281
  * @fires onfileschange - Fired when the files list changes
496
282
  */
497
283
  declare class FileAttachments extends LitElement {
284
+ apiClient: MediquoApiChatClient;
498
285
  static styles: lit.CSSResult;
499
286
  uploadedFiles: Array<FileAttachment>;
500
287
  private uploadingFile;
@@ -519,6 +306,7 @@ declare global {
519
306
  * @fires error - Fired when an error occurs
520
307
  */
521
308
  declare class ConfirmStep extends LitElement {
309
+ apiClient: MediquoApiChatClient;
522
310
  static styles: lit.CSSResult;
523
311
  patient: SchedulePatient;
524
312
  kind: "schedule" | "reschedule";
@@ -562,6 +350,7 @@ declare global {
562
350
  * @fires error - Fired when the polling timeout is reached
563
351
  */
564
352
  declare class PaymentPendingStep extends LitElement {
353
+ apiClient: MediquoApiChatClient;
565
354
  static styles: lit.CSSResult;
566
355
  sessionId: string;
567
356
  private _timedOut;
@@ -616,6 +405,7 @@ declare global {
616
405
  * @fires error - Fired when the polling timeout is reached
617
406
  */
618
407
  declare class PaymentStep extends LitElement {
408
+ apiClient: MediquoApiChatClient;
619
409
  static styles: lit.CSSResult;
620
410
  sessionId: string;
621
411
  showBack: boolean;
@@ -710,6 +500,7 @@ type SearchAvailabilityFormData = z.infer<typeof SearchAvailabilityFormSchema>;
710
500
  * @fires success - Fired when the search professionals form is submitted successfully
711
501
  */
712
502
  declare class SearchProfessionalsForm extends LitElement {
503
+ apiClient: MediquoApiChatClient;
713
504
  static styles: lit.CSSResult;
714
505
  patient: SchedulePatient;
715
506
  defaultValues: SearchAvailabilityFormData;
@@ -733,6 +524,7 @@ declare global {
733
524
  * @fires show-full-schedule - Fired when the full schedule button is clicked
734
525
  */
735
526
  declare class ProfessionalCard extends LitElement {
527
+ apiClient: MediquoApiChatClient;
736
528
  static styles: lit.CSSResult;
737
529
  patient: SchedulePatient;
738
530
  professional: GetProfessionalsBySpecialtyAndServiceResponse[number];
@@ -761,6 +553,7 @@ declare global {
761
553
  * @fires show-full-schedule - Fired when the full schedule button is clicked
762
554
  */
763
555
  declare class ProfessionalsList extends LitElement {
556
+ apiClient: MediquoApiChatClient;
764
557
  static styles: lit.CSSResult;
765
558
  patient: SchedulePatient;
766
559
  specialty_id: string | undefined;
@@ -782,6 +575,7 @@ declare global {
782
575
  * @fires show-full-schedule - Fired when the full schedule button is clicked
783
576
  */
784
577
  declare class SelectProfessionalStep extends LitElement {
578
+ apiClient: MediquoApiChatClient;
785
579
  static styles: lit.CSSResult;
786
580
  patient: SchedulePatient;
787
581
  defaultSpecialty: string | undefined;
@@ -818,6 +612,7 @@ declare global {
818
612
  * @fires slot-unavailable - Fired when the slot is unavailable
819
613
  */
820
614
  declare class DaysWindowView extends LitElement {
615
+ apiClient: MediquoApiChatClient;
821
616
  static styles: lit.CSSResult;
822
617
  professionalId: string;
823
618
  serviceId: string;
@@ -846,6 +641,7 @@ declare global {
846
641
  * @fires date-select - Fired when a date is selected, includes the date
847
642
  */
848
643
  declare class CalendarView extends LitElement {
644
+ apiClient: MediquoApiChatClient;
849
645
  static styles: lit.CSSResult;
850
646
  professionalId: string;
851
647
  serviceId: string;
@@ -868,6 +664,7 @@ declare global {
868
664
  * @fires success - Fired when a slot is selected
869
665
  */
870
666
  declare class SelectSlotStep extends LitElement {
667
+ apiClient: MediquoApiChatClient;
871
668
  static styles: lit.CSSResult;
872
669
  kind: "schedule" | "reschedule";
873
670
  showBack: boolean;
@@ -961,6 +758,13 @@ declare class MqSchedule extends LitElement {
961
758
  * defaulting to the browser's. */
962
759
  timezone?: string;
963
760
  private _patient;
761
+ /** The organization scope this element was mounted under, if any. */
762
+ private inheritedApiClient?;
763
+ /**
764
+ * This element's own transport, bound to its `api-key` and provided to every
765
+ * descendant. Never shared with another element.
766
+ */
767
+ apiClient: MediquoApiChatClient;
964
768
  protected willUpdate(changed: PropertyValues<this>): void;
965
769
  private _wizard;
966
770
  private _emittedCreated;