@mediquo/elements 0.0.0-pr-383-20261029152148

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 (334) hide show
  1. package/README.md +386 -0
  2. package/dist/chunks/addDays-CdyO-PRI.js +1 -0
  3. package/dist/chunks/addSeconds-fO5orJrt.js +1 -0
  4. package/dist/chunks/api-chat-client-CcYgqPdC.js +1 -0
  5. package/dist/chunks/api-client-context-BXGqBAlO.js +1 -0
  6. package/dist/chunks/apple-pay-outcomes-D8hSE_oM.js +1 -0
  7. package/dist/chunks/appointment-details-Blo6OsLN.js +1 -0
  8. package/dist/chunks/appointment-details-KL9fK6vG.d.ts +23 -0
  9. package/dist/chunks/blob-to-base64-CUL1trde.js +1 -0
  10. package/dist/chunks/ca_ES-BHS8BUwp.js +1 -0
  11. package/dist/chunks/checkout-bridge-BFpVxNww.js +1 -0
  12. package/dist/chunks/chunk-5EJXDIGT-Bb4_pfDr.js +1 -0
  13. package/dist/chunks/chunk-6CCJWPGL-TiaqZaPV.js +1 -0
  14. package/dist/chunks/chunk-BUV4MGML-CkhBbfUu.js +1 -0
  15. package/dist/chunks/chunk-FUCSYDW7-Duj5hy8S.js +1 -0
  16. package/dist/chunks/chunk-NIAGR3ZC-BDlNUZa1.js +1 -0
  17. package/dist/chunks/chunk-RCFIJTXZ-C6Ir0-sM.js +1 -0
  18. package/dist/chunks/chunk-S5RWG6G2-CQJ38pW6.js +1 -0
  19. package/dist/chunks/chunk-Y4EKUX25-Bix9r5ry.js +1 -0
  20. package/dist/chunks/chunk-YTQUGGS3-DH0H7ld7.js +1 -0
  21. package/dist/chunks/class-map-CXGDNDhW.js +1 -0
  22. package/dist/chunks/consume-CovVqBjI.js +1 -0
  23. package/dist/chunks/context-consumer-ESdICVAb.js +1 -0
  24. package/dist/chunks/context-request-event-Dfydf1ub.js +1 -0
  25. package/dist/chunks/create-component-BB-6Gu6l.js +1 -0
  26. package/dist/chunks/create-context-DqP79qjF.js +1 -0
  27. package/dist/chunks/custom-element-CiOhPWP1-DPpsGZrV.js +1 -0
  28. package/dist/chunks/custom-element-D2ziPxYE.js +1 -0
  29. package/dist/chunks/de_DE-CveFSuUP.js +1 -0
  30. package/dist/chunks/default-IpEn36CA.d.ts +5 -0
  31. package/dist/chunks/directive-DrycXrFV.js +1 -0
  32. package/dist/chunks/directive-helpers-m2qHStQ1.js +1 -0
  33. package/dist/chunks/document.model.d-DIzMiOmd.d.ts +6 -0
  34. package/dist/chunks/documentation-view-CAU1T5j3.js +1 -0
  35. package/dist/chunks/en_US-B_aQeYjm.js +1 -0
  36. package/dist/chunks/ensure-context-root-DbdqwnKB.js +1 -0
  37. package/dist/chunks/external-JLtsAfi6.js +1 -0
  38. package/dist/chunks/format-tMwfQwDf.js +1 -0
  39. package/dist/chunks/get-appointment-query-DuHrjd8L.js +1 -0
  40. package/dist/chunks/get-organization-setup-query-De7eM6V3.js +1 -0
  41. package/dist/chunks/get-patient-profile-query-D9btgcxl.js +1 -0
  42. package/dist/chunks/get-schedule-services-query-Io2aQ_7G.js +1 -0
  43. package/dist/chunks/if-defined-DgEoHV04.js +1 -0
  44. package/dist/chunks/index-BO2YvuaV.d.ts +54 -0
  45. package/dist/chunks/index-BeyZqqE9.d.ts +31 -0
  46. package/dist/chunks/index-BkDanNQg.js +1 -0
  47. package/dist/chunks/index-BlRNICIU.js +1 -0
  48. package/dist/chunks/index-CSn2VnHN.js +1 -0
  49. package/dist/chunks/index-Cp5_a_ei.js +329 -0
  50. package/dist/chunks/index-Cu-DpEFM.js +1 -0
  51. package/dist/chunks/index-DTEtqjQF.d.ts +15 -0
  52. package/dist/chunks/index-DoKSSg_l.js +1 -0
  53. package/dist/chunks/index-DwlJg2um.d.ts +187 -0
  54. package/dist/chunks/index-IcMN_Zy_.js +1 -0
  55. package/dist/chunks/index-Nf3nZ9O3.d.ts +16 -0
  56. package/dist/chunks/index-_XIb963s.js +1 -0
  57. package/dist/chunks/index-mf2T4jWX.js +1 -0
  58. package/dist/chunks/index-ov4Ad6vl.d.ts +55 -0
  59. package/dist/chunks/index-xi0bxKot.js +341 -0
  60. package/dist/chunks/index.d-k8r5vUZn.d.ts +3353 -0
  61. package/dist/chunks/index.d-yyTprZdj.d.ts +84 -0
  62. package/dist/chunks/isBefore-DBi1CiNR.js +1 -0
  63. package/dist/chunks/keyed-c1C5T7e_.js +1 -0
  64. package/dist/chunks/lit-element-B5-nYi7k.js +1 -0
  65. package/dist/chunks/localized-decorator-BlOuLhym.js +1 -0
  66. package/dist/chunks/login-token-task-KxmMdqVo.js +1 -0
  67. package/dist/chunks/mq-chat-room-CwN_aR5x.js +1 -0
  68. package/dist/chunks/mq-chat-room-D2O_3Zur.d.ts +292 -0
  69. package/dist/chunks/mq-layout-D8Mak16a.d.ts +21 -0
  70. package/dist/chunks/mq-layout-qMP-lpxw.js +1 -0
  71. package/dist/chunks/mq-next-appointments-CZ1eKA8t.js +1 -0
  72. package/dist/chunks/mq-professional-presence-sync-Cw8kVtpC.d.ts +22 -0
  73. package/dist/chunks/mq-recent-documents-C2_iUYKT.js +1 -0
  74. package/dist/chunks/mq-schedule-9rEQK6SJ.js +1 -0
  75. package/dist/chunks/mq-support-chat-DWz3EZ9j.js +1 -0
  76. package/dist/chunks/mq-unread-count-sync-BviIsMJy.d.ts +22 -0
  77. package/dist/chunks/mq-videocall-CcRWCujw.js +870 -0
  78. package/dist/chunks/mutation-controller-CR2qcqhH.js +1 -0
  79. package/dist/chunks/next-appointment-card-DMCNzLUc.js +1 -0
  80. package/dist/chunks/next-appointment-card-Dhu45fRq.d.ts +123 -0
  81. package/dist/chunks/parseISO-CEksKisk.js +1 -0
  82. package/dist/chunks/price-DU3YLTpk.js +1 -0
  83. package/dist/chunks/price.d-CwLosdAN.d.ts +10 -0
  84. package/dist/chunks/professional-overview-QVHl_ITk.d.ts +26 -0
  85. package/dist/chunks/professional-overview-yVZgXRCU.js +1 -0
  86. package/dist/chunks/property-C1CmBSnw.js +1 -0
  87. package/dist/chunks/provide-BwI4DDGF.js +1 -0
  88. package/dist/chunks/pt_PT-D1CvMEpH.js +1 -0
  89. package/dist/chunks/query-CeeutdfT.js +1 -0
  90. package/dist/chunks/query-controller-B1byDHlF.js +1 -0
  91. package/dist/chunks/refund-cancel-policy-DoMzcLlL.js +1 -0
  92. package/dist/chunks/runtime-Bg1WXVCx.js +1 -0
  93. package/dist/chunks/schemas.d-b6_AekBb.d.ts +145 -0
  94. package/dist/chunks/state-Br45Av8Z.js +1 -0
  95. package/dist/chunks/style-map-MoXKugLp.js +1 -0
  96. package/dist/chunks/task-BYPV1iNw.js +1 -0
  97. package/dist/chunks/telemetry-client-DA2_SZBC.js +1 -0
  98. package/dist/env.d.ts +21 -0
  99. package/dist/env.js +1 -0
  100. package/dist/events.d.ts +134 -0
  101. package/dist/events.js +1 -0
  102. package/dist/i18n.d.ts +11 -0
  103. package/dist/i18n.js +1 -0
  104. package/dist/index.d.ts +5 -0
  105. package/dist/index.js +1 -0
  106. package/dist/mq-api-client-provider.d.ts +39 -0
  107. package/dist/mq-api-client-provider.js +1 -0
  108. package/dist/mq-apple-pay-checkout.d.ts +94 -0
  109. package/dist/mq-apple-pay-checkout.js +1 -0
  110. package/dist/mq-appointment-checkout.d.ts +65 -0
  111. package/dist/mq-appointment-checkout.js +1 -0
  112. package/dist/mq-appointment-documentation.d.ts +59 -0
  113. package/dist/mq-appointment-documentation.js +1 -0
  114. package/dist/mq-chat-room.d.ts +23 -0
  115. package/dist/mq-chat-room.js +1 -0
  116. package/dist/mq-checkout.d.ts +111 -0
  117. package/dist/mq-checkout.js +1 -0
  118. package/dist/mq-dashboard.d.ts +96 -0
  119. package/dist/mq-dashboard.js +1 -0
  120. package/dist/mq-documents.d.ts +96 -0
  121. package/dist/mq-documents.js +1 -0
  122. package/dist/mq-google-pay-checkout.d.ts +129 -0
  123. package/dist/mq-google-pay-checkout.js +1 -0
  124. package/dist/mq-immediate-videocall-checkout.d.ts +51 -0
  125. package/dist/mq-immediate-videocall-checkout.js +1 -0
  126. package/dist/mq-my-appointments.d.ts +172 -0
  127. package/dist/mq-my-appointments.js +1 -0
  128. package/dist/mq-next-appointments.d.ts +59 -0
  129. package/dist/mq-next-appointments.js +1 -0
  130. package/dist/mq-payment-poller.d.ts +71 -0
  131. package/dist/mq-payment-poller.js +1 -0
  132. package/dist/mq-professional-presence-sync.d.ts +32 -0
  133. package/dist/mq-professional-presence-sync.js +1 -0
  134. package/dist/mq-query-client-provider.d.ts +20 -0
  135. package/dist/mq-query-client-provider.js +1 -0
  136. package/dist/mq-recent-documents.d.ts +49 -0
  137. package/dist/mq-recent-documents.js +1 -0
  138. package/dist/mq-schedule-success.d.ts +100 -0
  139. package/dist/mq-schedule-success.js +4 -0
  140. package/dist/mq-schedule.d.ts +812 -0
  141. package/dist/mq-schedule.js +1 -0
  142. package/dist/mq-session-provider.d.ts +28 -0
  143. package/dist/mq-session-provider.js +1 -0
  144. package/dist/mq-socket-provider.d.ts +103 -0
  145. package/dist/mq-socket-provider.js +1 -0
  146. package/dist/mq-support-chat.d.ts +97 -0
  147. package/dist/mq-support-chat.js +1 -0
  148. package/dist/mq-terms-and-conditions.d.ts +27 -0
  149. package/dist/mq-terms-and-conditions.js +1 -0
  150. package/dist/mq-theme-provider.d.ts +33 -0
  151. package/dist/mq-theme-provider.js +1 -0
  152. package/dist/mq-unread-count-sync.d.ts +24 -0
  153. package/dist/mq-unread-count-sync.js +1 -0
  154. package/dist/mq-videocall.d.ts +698 -0
  155. package/dist/mq-videocall.js +1 -0
  156. package/dist/react/mq-api-client-provider.d.ts +26 -0
  157. package/dist/react/mq-api-client-provider.js +2 -0
  158. package/dist/react/mq-apple-pay-checkout.d.ts +35 -0
  159. package/dist/react/mq-apple-pay-checkout.js +2 -0
  160. package/dist/react/mq-appointment-checkout.d.ts +39 -0
  161. package/dist/react/mq-appointment-checkout.js +2 -0
  162. package/dist/react/mq-appointment-documentation.d.ts +43 -0
  163. package/dist/react/mq-appointment-documentation.js +2 -0
  164. package/dist/react/mq-chat-room.d.ts +47 -0
  165. package/dist/react/mq-chat-room.js +2 -0
  166. package/dist/react/mq-checkout.d.ts +38 -0
  167. package/dist/react/mq-checkout.js +2 -0
  168. package/dist/react/mq-dashboard.d.ts +62 -0
  169. package/dist/react/mq-dashboard.js +2 -0
  170. package/dist/react/mq-documents-page.d.ts +35 -0
  171. package/dist/react/mq-documents-page.js +2 -0
  172. package/dist/react/mq-documents.d.ts +32 -0
  173. package/dist/react/mq-documents.js +2 -0
  174. package/dist/react/mq-google-pay-checkout.d.ts +40 -0
  175. package/dist/react/mq-google-pay-checkout.js +2 -0
  176. package/dist/react/mq-immediate-videocall-checkout.d.ts +31 -0
  177. package/dist/react/mq-immediate-videocall-checkout.js +2 -0
  178. package/dist/react/mq-my-appointments.d.ts +51 -0
  179. package/dist/react/mq-my-appointments.js +2 -0
  180. package/dist/react/mq-next-appointments.d.ts +43 -0
  181. package/dist/react/mq-next-appointments.js +2 -0
  182. package/dist/react/mq-payment-poller.d.ts +37 -0
  183. package/dist/react/mq-payment-poller.js +2 -0
  184. package/dist/react/mq-professional-presence-sync.d.ts +13 -0
  185. package/dist/react/mq-professional-presence-sync.js +2 -0
  186. package/dist/react/mq-query-client-provider.d.ts +24 -0
  187. package/dist/react/mq-query-client-provider.js +2 -0
  188. package/dist/react/mq-recent-documents.d.ts +32 -0
  189. package/dist/react/mq-recent-documents.js +2 -0
  190. package/dist/react/mq-schedule-success.d.ts +54 -0
  191. package/dist/react/mq-schedule-success.js +2 -0
  192. package/dist/react/mq-schedule.d.ts +70 -0
  193. package/dist/react/mq-schedule.js +2 -0
  194. package/dist/react/mq-session-provider.d.ts +19 -0
  195. package/dist/react/mq-session-provider.js +2 -0
  196. package/dist/react/mq-socket-provider.d.ts +20 -0
  197. package/dist/react/mq-socket-provider.js +2 -0
  198. package/dist/react/mq-support-chat.d.ts +50 -0
  199. package/dist/react/mq-support-chat.js +2 -0
  200. package/dist/react/mq-terms-and-conditions.d.ts +34 -0
  201. package/dist/react/mq-terms-and-conditions.js +2 -0
  202. package/dist/react/mq-theme-provider.d.ts +19 -0
  203. package/dist/react/mq-theme-provider.js +2 -0
  204. package/dist/react/mq-toast-container.d.ts +17 -0
  205. package/dist/react/mq-toast-container.js +2 -0
  206. package/dist/react/mq-unread-count-sync.d.ts +13 -0
  207. package/dist/react/mq-unread-count-sync.js +2 -0
  208. package/dist/react/mq-videocall.d.ts +76 -0
  209. package/dist/react/mq-videocall.js +2 -0
  210. package/dist/theme.d.ts +218 -0
  211. package/dist/theme.js +11 -0
  212. package/dist/toast.d.ts +4 -0
  213. package/dist/toast.js +1 -0
  214. package/dist/ui/back-link.d.ts +24 -0
  215. package/dist/ui/back-link.js +1 -0
  216. package/dist/ui/icons/alert-circle-icon.d.ts +6 -0
  217. package/dist/ui/icons/alert-circle-icon.js +1 -0
  218. package/dist/ui/icons/annotation-question-icon.d.ts +6 -0
  219. package/dist/ui/icons/annotation-question-icon.js +1 -0
  220. package/dist/ui/icons/arrow-narrow-left-icon.d.ts +6 -0
  221. package/dist/ui/icons/arrow-narrow-left-icon.js +1 -0
  222. package/dist/ui/icons/arrow-right-icon.d.ts +6 -0
  223. package/dist/ui/icons/arrow-right-icon.js +1 -0
  224. package/dist/ui/icons/briefcase-icon.d.ts +6 -0
  225. package/dist/ui/icons/briefcase-icon.js +1 -0
  226. package/dist/ui/icons/calendar-icon.d.ts +6 -0
  227. package/dist/ui/icons/calendar-icon.js +1 -0
  228. package/dist/ui/icons/chat-bubble-icon.d.ts +6 -0
  229. package/dist/ui/icons/chat-bubble-icon.js +1 -0
  230. package/dist/ui/icons/check-circle-icon.d.ts +6 -0
  231. package/dist/ui/icons/check-circle-icon.js +1 -0
  232. package/dist/ui/icons/check-double-icon.d.ts +6 -0
  233. package/dist/ui/icons/check-double-icon.js +1 -0
  234. package/dist/ui/icons/check-icon.d.ts +6 -0
  235. package/dist/ui/icons/check-icon.js +1 -0
  236. package/dist/ui/icons/chevron-down-icon.d.ts +6 -0
  237. package/dist/ui/icons/chevron-down-icon.js +1 -0
  238. package/dist/ui/icons/chevron-left-icon.d.ts +6 -0
  239. package/dist/ui/icons/chevron-left-icon.js +1 -0
  240. package/dist/ui/icons/chevron-right-icon.d.ts +6 -0
  241. package/dist/ui/icons/chevron-right-icon.js +1 -0
  242. package/dist/ui/icons/clock-icon.d.ts +6 -0
  243. package/dist/ui/icons/clock-icon.js +1 -0
  244. package/dist/ui/icons/dots-horizontal-icon.d.ts +6 -0
  245. package/dist/ui/icons/dots-horizontal-icon.js +1 -0
  246. package/dist/ui/icons/download-02-icon.d.ts +6 -0
  247. package/dist/ui/icons/download-02-icon.js +1 -0
  248. package/dist/ui/icons/download-icon.d.ts +6 -0
  249. package/dist/ui/icons/download-icon.js +1 -0
  250. package/dist/ui/icons/file-icon.d.ts +6 -0
  251. package/dist/ui/icons/file-icon.js +1 -0
  252. package/dist/ui/icons/heartbeat-icon.d.ts +5 -0
  253. package/dist/ui/icons/heartbeat-icon.js +1 -0
  254. package/dist/ui/icons/help-circle-icon.d.ts +6 -0
  255. package/dist/ui/icons/help-circle-icon.js +1 -0
  256. package/dist/ui/icons/info-circle-outine-icon.d.ts +6 -0
  257. package/dist/ui/icons/info-circle-outine-icon.js +1 -0
  258. package/dist/ui/icons/message-bubble-icon.d.ts +6 -0
  259. package/dist/ui/icons/message-bubble-icon.js +1 -0
  260. package/dist/ui/icons/message-square-icon.d.ts +6 -0
  261. package/dist/ui/icons/message-square-icon.js +1 -0
  262. package/dist/ui/icons/mic-icon.d.ts +6 -0
  263. package/dist/ui/icons/mic-icon.js +1 -0
  264. package/dist/ui/icons/mic-off-icon.d.ts +6 -0
  265. package/dist/ui/icons/mic-off-icon.js +1 -0
  266. package/dist/ui/icons/phone-icon.d.ts +6 -0
  267. package/dist/ui/icons/phone-icon.js +1 -0
  268. package/dist/ui/icons/refresh-ccw-icon.d.ts +7 -0
  269. package/dist/ui/icons/refresh-ccw-icon.js +1 -0
  270. package/dist/ui/icons/refresh-icon.d.ts +6 -0
  271. package/dist/ui/icons/refresh-icon.js +1 -0
  272. package/dist/ui/icons/settings-icon.d.ts +6 -0
  273. package/dist/ui/icons/settings-icon.js +1 -0
  274. package/dist/ui/icons/spinner-icon.d.ts +6 -0
  275. package/dist/ui/icons/spinner-icon.js +1 -0
  276. package/dist/ui/icons/tag-icon.d.ts +6 -0
  277. package/dist/ui/icons/tag-icon.js +1 -0
  278. package/dist/ui/icons/time-left-icon.d.ts +5 -0
  279. package/dist/ui/icons/time-left-icon.js +1 -0
  280. package/dist/ui/icons/types.d.ts +10 -0
  281. package/dist/ui/icons/types.js +1 -0
  282. package/dist/ui/icons/upload-icon.d.ts +6 -0
  283. package/dist/ui/icons/upload-icon.js +1 -0
  284. package/dist/ui/icons/video-icon.d.ts +6 -0
  285. package/dist/ui/icons/video-icon.js +1 -0
  286. package/dist/ui/icons/video-off-icon.d.ts +6 -0
  287. package/dist/ui/icons/video-off-icon.js +1 -0
  288. package/dist/ui/icons/volume-icon.d.ts +6 -0
  289. package/dist/ui/icons/volume-icon.js +1 -0
  290. package/dist/ui/icons/x-icon.d.ts +6 -0
  291. package/dist/ui/icons/x-icon.js +1 -0
  292. package/dist/ui/mq-avatar.d.ts +37 -0
  293. package/dist/ui/mq-avatar.js +1 -0
  294. package/dist/ui/mq-badge.d.ts +18 -0
  295. package/dist/ui/mq-badge.js +4 -0
  296. package/dist/ui/mq-button.d.ts +37 -0
  297. package/dist/ui/mq-button.js +1 -0
  298. package/dist/ui/mq-calendar.d.ts +68 -0
  299. package/dist/ui/mq-calendar.js +1 -0
  300. package/dist/ui/mq-callout.d.ts +23 -0
  301. package/dist/ui/mq-callout.js +1 -0
  302. package/dist/ui/mq-card.d.ts +18 -0
  303. package/dist/ui/mq-card.js +1 -0
  304. package/dist/ui/mq-checkbox.d.ts +41 -0
  305. package/dist/ui/mq-checkbox.js +1 -0
  306. package/dist/ui/mq-clamped-text.d.ts +46 -0
  307. package/dist/ui/mq-clamped-text.js +1 -0
  308. package/dist/ui/mq-dialog.d.ts +98 -0
  309. package/dist/ui/mq-dialog.js +1 -0
  310. package/dist/ui/mq-floating-bubble.d.ts +42 -0
  311. package/dist/ui/mq-floating-bubble.js +1 -0
  312. package/dist/ui/mq-input.d.ts +42 -0
  313. package/dist/ui/mq-input.js +1 -0
  314. package/dist/ui/mq-page-title.d.ts +31 -0
  315. package/dist/ui/mq-page-title.js +1 -0
  316. package/dist/ui/mq-rating.d.ts +30 -0
  317. package/dist/ui/mq-rating.js +1 -0
  318. package/dist/ui/mq-select.d.ts +83 -0
  319. package/dist/ui/mq-select.js +1 -0
  320. package/dist/ui/mq-skeleton.d.ts +18 -0
  321. package/dist/ui/mq-skeleton.js +1 -0
  322. package/dist/ui/mq-tabs.d.ts +76 -0
  323. package/dist/ui/mq-tabs.js +106 -0
  324. package/dist/ui/mq-text-button.d.ts +39 -0
  325. package/dist/ui/mq-text-button.js +1 -0
  326. package/dist/ui/mq-textarea.d.ts +38 -0
  327. package/dist/ui/mq-textarea.js +1 -0
  328. package/dist/ui/mq-time-slot-picker.d.ts +85 -0
  329. package/dist/ui/mq-time-slot-picker.js +1 -0
  330. package/dist/ui/mq-toast.d.ts +20 -0
  331. package/dist/ui/mq-toast.js +1 -0
  332. package/dist/ui/mq-unread-badge.d.ts +15 -0
  333. package/dist/ui/mq-unread-badge.js +1 -0
  334. package/package.json +247 -0
@@ -0,0 +1,3353 @@
1
+ import { AxiosInstance } from 'axios';
2
+ import z$1, { z, ZodType } from 'zod';
3
+ import { a as LoginTokenRequest, L as LoginTokenResponse } from './schemas.d-b6_AekBb.js';
4
+
5
+ declare const GetAppointmentsRequestSchema: z.ZodObject<{
6
+ status: z.ZodOptional<z.ZodArray<z.ZodEnum<["pending", "expired", "accepted", "inCall", "declined", "cancelled", "finished", "free_of_charge", "owed", "unpaid", "reporting"]>, "many">>;
7
+ order: z.ZodOptional<z.ZodObject<{
8
+ field: z.ZodOptional<z.ZodEnum<["starts_at"]>>;
9
+ direction: z.ZodOptional<z.ZodEnum<["asc", "desc"]>>;
10
+ }, "strip", z.ZodTypeAny, {
11
+ field?: "starts_at" | undefined;
12
+ direction?: "asc" | "desc" | undefined;
13
+ }, {
14
+ field?: "starts_at" | undefined;
15
+ direction?: "asc" | "desc" | undefined;
16
+ }>>;
17
+ page: z.ZodOptional<z.ZodNumber>;
18
+ per_page: z.ZodOptional<z.ZodNumber>;
19
+ }, "strip", z.ZodTypeAny, {
20
+ status?: ("pending" | "expired" | "accepted" | "inCall" | "declined" | "cancelled" | "finished" | "free_of_charge" | "owed" | "unpaid" | "reporting")[] | undefined;
21
+ per_page?: number | undefined;
22
+ order?: {
23
+ field?: "starts_at" | undefined;
24
+ direction?: "asc" | "desc" | undefined;
25
+ } | undefined;
26
+ page?: number | undefined;
27
+ }, {
28
+ status?: ("pending" | "expired" | "accepted" | "inCall" | "declined" | "cancelled" | "finished" | "free_of_charge" | "owed" | "unpaid" | "reporting")[] | undefined;
29
+ per_page?: number | undefined;
30
+ order?: {
31
+ field?: "starts_at" | undefined;
32
+ direction?: "asc" | "desc" | undefined;
33
+ } | undefined;
34
+ page?: number | undefined;
35
+ }>;
36
+ type GetAppointmentsRequest = z.infer<typeof GetAppointmentsRequestSchema>;
37
+ declare const GetAppointmentsResponseSchema: z.ZodObject<{
38
+ data: z.ZodArray<z.ZodObject<{
39
+ appointment: z.ZodObject<{
40
+ id: z.ZodString;
41
+ url: z.ZodString;
42
+ starts_at: z.ZodString;
43
+ duration: z.ZodNumber;
44
+ status: z.ZodEnum<["pending", "expired", "accepted", "inCall", "declined", "cancelled", "finished", "free_of_charge", "owed", "unpaid", "reporting"]>;
45
+ channel: z.ZodEnum<["videocall", "chat", "phonecall"]>;
46
+ expires_at: z.ZodNullable<z.ZodString>;
47
+ service_id: z.ZodNullable<z.ZodString>;
48
+ has_chat_in_appointment: z.ZodOptional<z.ZodBoolean>;
49
+ }, "strip", z.ZodTypeAny, {
50
+ url: string;
51
+ status: "pending" | "expired" | "accepted" | "inCall" | "declined" | "cancelled" | "finished" | "free_of_charge" | "owed" | "unpaid" | "reporting";
52
+ id: string;
53
+ channel: "videocall" | "chat" | "phonecall";
54
+ duration: number;
55
+ expires_at: string | null;
56
+ service_id: string | null;
57
+ starts_at: string;
58
+ has_chat_in_appointment?: boolean | undefined;
59
+ }, {
60
+ url: string;
61
+ status: "pending" | "expired" | "accepted" | "inCall" | "declined" | "cancelled" | "finished" | "free_of_charge" | "owed" | "unpaid" | "reporting";
62
+ id: string;
63
+ channel: "videocall" | "chat" | "phonecall";
64
+ duration: number;
65
+ expires_at: string | null;
66
+ service_id: string | null;
67
+ starts_at: string;
68
+ has_chat_in_appointment?: boolean | undefined;
69
+ }>;
70
+ room: z.ZodObject<{
71
+ id: z.ZodNumber;
72
+ }, "strip", z.ZodTypeAny, {
73
+ id: number;
74
+ }, {
75
+ id: number;
76
+ }>;
77
+ price: z.ZodNullable<z.ZodObject<{
78
+ amount: z.ZodNumber;
79
+ currency: z.ZodString;
80
+ }, "strip", z.ZodTypeAny, {
81
+ currency: string;
82
+ amount: number;
83
+ }, {
84
+ currency: string;
85
+ amount: number;
86
+ }>>;
87
+ patient: z.ZodObject<{
88
+ hash: z.ZodString;
89
+ }, "strip", z.ZodTypeAny, {
90
+ hash: string;
91
+ }, {
92
+ hash: string;
93
+ }>;
94
+ slots: z.ZodArray<z.ZodAny, "many">;
95
+ professional: z.ZodObject<{
96
+ hash: z.ZodString;
97
+ name: z.ZodString;
98
+ avatar: z.ZodOptional<z.ZodString>;
99
+ description: z.ZodOptional<z.ZodString>;
100
+ languages: z.ZodArray<z.ZodString, "many">;
101
+ collegiate_number: z.ZodOptional<z.ZodString>;
102
+ }, "strip", z.ZodTypeAny, {
103
+ hash: string;
104
+ name: string;
105
+ languages: string[];
106
+ avatar?: string | undefined;
107
+ collegiate_number?: string | undefined;
108
+ description?: string | undefined;
109
+ }, {
110
+ hash: string;
111
+ name: string;
112
+ languages: string[];
113
+ avatar?: string | undefined;
114
+ collegiate_number?: string | undefined;
115
+ description?: string | undefined;
116
+ }>;
117
+ speciality: z.ZodObject<{
118
+ id: z.ZodNumber;
119
+ name: z.ZodString;
120
+ }, "strip", z.ZodTypeAny, {
121
+ id: number;
122
+ name: string;
123
+ }, {
124
+ id: number;
125
+ name: string;
126
+ }>;
127
+ }, "strip", z.ZodTypeAny, {
128
+ speciality: {
129
+ id: number;
130
+ name: string;
131
+ };
132
+ price: {
133
+ currency: string;
134
+ amount: number;
135
+ } | null;
136
+ appointment: {
137
+ url: string;
138
+ status: "pending" | "expired" | "accepted" | "inCall" | "declined" | "cancelled" | "finished" | "free_of_charge" | "owed" | "unpaid" | "reporting";
139
+ id: string;
140
+ channel: "videocall" | "chat" | "phonecall";
141
+ duration: number;
142
+ expires_at: string | null;
143
+ service_id: string | null;
144
+ starts_at: string;
145
+ has_chat_in_appointment?: boolean | undefined;
146
+ };
147
+ room: {
148
+ id: number;
149
+ };
150
+ patient: {
151
+ hash: string;
152
+ };
153
+ slots: any[];
154
+ professional: {
155
+ hash: string;
156
+ name: string;
157
+ languages: string[];
158
+ avatar?: string | undefined;
159
+ collegiate_number?: string | undefined;
160
+ description?: string | undefined;
161
+ };
162
+ }, {
163
+ speciality: {
164
+ id: number;
165
+ name: string;
166
+ };
167
+ price: {
168
+ currency: string;
169
+ amount: number;
170
+ } | null;
171
+ appointment: {
172
+ url: string;
173
+ status: "pending" | "expired" | "accepted" | "inCall" | "declined" | "cancelled" | "finished" | "free_of_charge" | "owed" | "unpaid" | "reporting";
174
+ id: string;
175
+ channel: "videocall" | "chat" | "phonecall";
176
+ duration: number;
177
+ expires_at: string | null;
178
+ service_id: string | null;
179
+ starts_at: string;
180
+ has_chat_in_appointment?: boolean | undefined;
181
+ };
182
+ room: {
183
+ id: number;
184
+ };
185
+ patient: {
186
+ hash: string;
187
+ };
188
+ slots: any[];
189
+ professional: {
190
+ hash: string;
191
+ name: string;
192
+ languages: string[];
193
+ avatar?: string | undefined;
194
+ collegiate_number?: string | undefined;
195
+ description?: string | undefined;
196
+ };
197
+ }>, "many">;
198
+ meta: z.ZodObject<{
199
+ current_page: z.ZodNumber;
200
+ last_page: z.ZodNumber;
201
+ per_page: z.ZodNumber;
202
+ total: z.ZodNumber;
203
+ }, "strip", z.ZodTypeAny, {
204
+ current_page: number;
205
+ last_page: number;
206
+ per_page: number;
207
+ total: number;
208
+ }, {
209
+ current_page: number;
210
+ last_page: number;
211
+ per_page: number;
212
+ total: number;
213
+ }>;
214
+ }, "strip", z.ZodTypeAny, {
215
+ data: {
216
+ speciality: {
217
+ id: number;
218
+ name: string;
219
+ };
220
+ price: {
221
+ currency: string;
222
+ amount: number;
223
+ } | null;
224
+ appointment: {
225
+ url: string;
226
+ status: "pending" | "expired" | "accepted" | "inCall" | "declined" | "cancelled" | "finished" | "free_of_charge" | "owed" | "unpaid" | "reporting";
227
+ id: string;
228
+ channel: "videocall" | "chat" | "phonecall";
229
+ duration: number;
230
+ expires_at: string | null;
231
+ service_id: string | null;
232
+ starts_at: string;
233
+ has_chat_in_appointment?: boolean | undefined;
234
+ };
235
+ room: {
236
+ id: number;
237
+ };
238
+ patient: {
239
+ hash: string;
240
+ };
241
+ slots: any[];
242
+ professional: {
243
+ hash: string;
244
+ name: string;
245
+ languages: string[];
246
+ avatar?: string | undefined;
247
+ collegiate_number?: string | undefined;
248
+ description?: string | undefined;
249
+ };
250
+ }[];
251
+ meta: {
252
+ current_page: number;
253
+ last_page: number;
254
+ per_page: number;
255
+ total: number;
256
+ };
257
+ }, {
258
+ data: {
259
+ speciality: {
260
+ id: number;
261
+ name: string;
262
+ };
263
+ price: {
264
+ currency: string;
265
+ amount: number;
266
+ } | null;
267
+ appointment: {
268
+ url: string;
269
+ status: "pending" | "expired" | "accepted" | "inCall" | "declined" | "cancelled" | "finished" | "free_of_charge" | "owed" | "unpaid" | "reporting";
270
+ id: string;
271
+ channel: "videocall" | "chat" | "phonecall";
272
+ duration: number;
273
+ expires_at: string | null;
274
+ service_id: string | null;
275
+ starts_at: string;
276
+ has_chat_in_appointment?: boolean | undefined;
277
+ };
278
+ room: {
279
+ id: number;
280
+ };
281
+ patient: {
282
+ hash: string;
283
+ };
284
+ slots: any[];
285
+ professional: {
286
+ hash: string;
287
+ name: string;
288
+ languages: string[];
289
+ avatar?: string | undefined;
290
+ collegiate_number?: string | undefined;
291
+ description?: string | undefined;
292
+ };
293
+ }[];
294
+ meta: {
295
+ current_page: number;
296
+ last_page: number;
297
+ per_page: number;
298
+ total: number;
299
+ };
300
+ }>;
301
+ type GetAppointmentsResponse = z.infer<typeof GetAppointmentsResponseSchema>;
302
+ declare const CreateAppointmentRequestSchema: z.ZodObject<{
303
+ slot_id: z.ZodString;
304
+ service_id: z.ZodString;
305
+ consultation_reason: z.ZodOptional<z.ZodString>;
306
+ preconsultation_documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
307
+ file_path: z.ZodString;
308
+ file_name: z.ZodString;
309
+ }, "strip", z.ZodTypeAny, {
310
+ file_path: string;
311
+ file_name: string;
312
+ }, {
313
+ file_path: string;
314
+ file_name: string;
315
+ }>, "many">>;
316
+ discount_code: z.ZodOptional<z.ZodString>;
317
+ }, "strip", z.ZodTypeAny, {
318
+ service_id: string;
319
+ slot_id: string;
320
+ consultation_reason?: string | undefined;
321
+ preconsultation_documents?: {
322
+ file_path: string;
323
+ file_name: string;
324
+ }[] | undefined;
325
+ discount_code?: string | undefined;
326
+ }, {
327
+ service_id: string;
328
+ slot_id: string;
329
+ consultation_reason?: string | undefined;
330
+ preconsultation_documents?: {
331
+ file_path: string;
332
+ file_name: string;
333
+ }[] | undefined;
334
+ discount_code?: string | undefined;
335
+ }>;
336
+ type CreateAppointmentRequest = z.infer<typeof CreateAppointmentRequestSchema>;
337
+ declare const CreateAppointmentResponseSchema: z.ZodObject<{
338
+ appointment: z.ZodObject<{
339
+ id: z.ZodString;
340
+ }, "strip", z.ZodTypeAny, {
341
+ id: string;
342
+ }, {
343
+ id: string;
344
+ }>;
345
+ }, "strip", z.ZodTypeAny, {
346
+ appointment: {
347
+ id: string;
348
+ };
349
+ }, {
350
+ appointment: {
351
+ id: string;
352
+ };
353
+ }>;
354
+ type CreateAppointmentResponse = z.infer<typeof CreateAppointmentResponseSchema>;
355
+ declare const GetAppointmentRequestSchema$1: z.ZodObject<{
356
+ id: z.ZodString;
357
+ }, "strip", z.ZodTypeAny, {
358
+ id: string;
359
+ }, {
360
+ id: string;
361
+ }>;
362
+ type GetAppointmentRequest$1 = z.infer<typeof GetAppointmentRequestSchema$1>;
363
+ declare const GetAppointmentResponseSchema$1: z.ZodObject<{
364
+ id: z.ZodString;
365
+ room_id: z.ZodString;
366
+ channel: z.ZodEnum<["videocall", "chat", "phonecall"]>;
367
+ consultation_short_url: z.ZodNullable<z.ZodString>;
368
+ call_id: z.ZodString;
369
+ duration: z.ZodNumber;
370
+ from: z.ZodObject<{
371
+ hash: z.ZodString;
372
+ name: z.ZodNullable<z.ZodString>;
373
+ avatar: z.ZodNullable<z.ZodString>;
374
+ speciality: z.ZodNullable<z.ZodString>;
375
+ collegiate_number: z.ZodNullable<z.ZodString>;
376
+ is_dismissed: z.ZodBoolean;
377
+ languages: z.ZodArray<z.ZodString, "many">;
378
+ description: z.ZodNullable<z.ZodString>;
379
+ }, "strip", z.ZodTypeAny, {
380
+ hash: string;
381
+ name: string | null;
382
+ avatar: string | null;
383
+ speciality: string | null;
384
+ collegiate_number: string | null;
385
+ is_dismissed: boolean;
386
+ languages: string[];
387
+ description: string | null;
388
+ }, {
389
+ hash: string;
390
+ name: string | null;
391
+ avatar: string | null;
392
+ speciality: string | null;
393
+ collegiate_number: string | null;
394
+ is_dismissed: boolean;
395
+ languages: string[];
396
+ description: string | null;
397
+ }>;
398
+ to: z.ZodObject<{
399
+ id: z.ZodNumber;
400
+ hash: z.ZodString;
401
+ name: z.ZodNullable<z.ZodString>;
402
+ avatar: z.ZodNullable<z.ZodString>;
403
+ is_dismissed: z.ZodBoolean;
404
+ }, "strip", z.ZodTypeAny, {
405
+ id: number;
406
+ hash: string;
407
+ name: string | null;
408
+ avatar: string | null;
409
+ is_dismissed: boolean;
410
+ }, {
411
+ id: number;
412
+ hash: string;
413
+ name: string | null;
414
+ avatar: string | null;
415
+ is_dismissed: boolean;
416
+ }>;
417
+ speciality_id: z.ZodNullable<z.ZodNumber>;
418
+ has_chat_in_appointment: z.ZodOptional<z.ZodBoolean>;
419
+ created_at: z.ZodString;
420
+ status: z.ZodEnum<["pending", "expired", "accepted", "inCall", "declined", "cancelled", "finished", "free_of_charge", "owed", "unpaid", "reporting"]>;
421
+ seconds_to_open: z.ZodNumber;
422
+ start_date: z.ZodString;
423
+ started_at: z.ZodNullable<z.ZodString>;
424
+ expires_at: z.ZodNullable<z.ZodString>;
425
+ consultation_reason: z.ZodNullable<z.ZodString>;
426
+ preconsultation_documents: z.ZodNullable<z.ZodArray<z.ZodObject<{
427
+ file_path: z.ZodString;
428
+ file_name: z.ZodString;
429
+ id: z.ZodString;
430
+ }, "strip", z.ZodTypeAny, {
431
+ id: string;
432
+ file_path: string;
433
+ file_name: string;
434
+ }, {
435
+ id: string;
436
+ file_path: string;
437
+ file_name: string;
438
+ }>, "many">>;
439
+ service_id: z.ZodNullable<z.ZodString>;
440
+ price: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
441
+ currency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
442
+ discount_amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
443
+ }, "strip", z.ZodTypeAny, {
444
+ status: "pending" | "expired" | "accepted" | "inCall" | "declined" | "cancelled" | "finished" | "free_of_charge" | "owed" | "unpaid" | "reporting";
445
+ id: string;
446
+ room_id: string;
447
+ channel: "videocall" | "chat" | "phonecall";
448
+ consultation_short_url: string | null;
449
+ call_id: string;
450
+ duration: number;
451
+ from: {
452
+ hash: string;
453
+ name: string | null;
454
+ avatar: string | null;
455
+ speciality: string | null;
456
+ collegiate_number: string | null;
457
+ is_dismissed: boolean;
458
+ languages: string[];
459
+ description: string | null;
460
+ };
461
+ to: {
462
+ id: number;
463
+ hash: string;
464
+ name: string | null;
465
+ avatar: string | null;
466
+ is_dismissed: boolean;
467
+ };
468
+ speciality_id: number | null;
469
+ created_at: string;
470
+ seconds_to_open: number;
471
+ start_date: string;
472
+ started_at: string | null;
473
+ expires_at: string | null;
474
+ consultation_reason: string | null;
475
+ preconsultation_documents: {
476
+ id: string;
477
+ file_path: string;
478
+ file_name: string;
479
+ }[] | null;
480
+ service_id: string | null;
481
+ has_chat_in_appointment?: boolean | undefined;
482
+ price?: number | null | undefined;
483
+ currency?: string | null | undefined;
484
+ discount_amount?: number | null | undefined;
485
+ }, {
486
+ status: "pending" | "expired" | "accepted" | "inCall" | "declined" | "cancelled" | "finished" | "free_of_charge" | "owed" | "unpaid" | "reporting";
487
+ id: string;
488
+ room_id: string;
489
+ channel: "videocall" | "chat" | "phonecall";
490
+ consultation_short_url: string | null;
491
+ call_id: string;
492
+ duration: number;
493
+ from: {
494
+ hash: string;
495
+ name: string | null;
496
+ avatar: string | null;
497
+ speciality: string | null;
498
+ collegiate_number: string | null;
499
+ is_dismissed: boolean;
500
+ languages: string[];
501
+ description: string | null;
502
+ };
503
+ to: {
504
+ id: number;
505
+ hash: string;
506
+ name: string | null;
507
+ avatar: string | null;
508
+ is_dismissed: boolean;
509
+ };
510
+ speciality_id: number | null;
511
+ created_at: string;
512
+ seconds_to_open: number;
513
+ start_date: string;
514
+ started_at: string | null;
515
+ expires_at: string | null;
516
+ consultation_reason: string | null;
517
+ preconsultation_documents: {
518
+ id: string;
519
+ file_path: string;
520
+ file_name: string;
521
+ }[] | null;
522
+ service_id: string | null;
523
+ has_chat_in_appointment?: boolean | undefined;
524
+ price?: number | null | undefined;
525
+ currency?: string | null | undefined;
526
+ discount_amount?: number | null | undefined;
527
+ }>;
528
+ type GetAppointmentResponse$1 = z.infer<typeof GetAppointmentResponseSchema$1>;
529
+ declare const GetDocumentsStorageResponseSchema: z.ZodObject<{
530
+ file_path: z.ZodString;
531
+ presigned_storage_url: z.ZodString;
532
+ }, "strip", z.ZodTypeAny, {
533
+ file_path: string;
534
+ presigned_storage_url: string;
535
+ }, {
536
+ file_path: string;
537
+ presigned_storage_url: string;
538
+ }>;
539
+ type GetDocumentsStorageResponse = z.infer<typeof GetDocumentsStorageResponseSchema>;
540
+ declare const RescheduleAppointmentRequestSchema: z.ZodObject<{
541
+ id: z.ZodString;
542
+ slot_id: z.ZodString;
543
+ consultation_reason: z.ZodOptional<z.ZodString>;
544
+ preconsultation_documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
545
+ file_path: z.ZodString;
546
+ file_name: z.ZodString;
547
+ }, "strip", z.ZodTypeAny, {
548
+ file_path: string;
549
+ file_name: string;
550
+ }, {
551
+ file_path: string;
552
+ file_name: string;
553
+ }>, "many">>;
554
+ }, "strip", z.ZodTypeAny, {
555
+ id: string;
556
+ slot_id: string;
557
+ consultation_reason?: string | undefined;
558
+ preconsultation_documents?: {
559
+ file_path: string;
560
+ file_name: string;
561
+ }[] | undefined;
562
+ }, {
563
+ id: string;
564
+ slot_id: string;
565
+ consultation_reason?: string | undefined;
566
+ preconsultation_documents?: {
567
+ file_path: string;
568
+ file_name: string;
569
+ }[] | undefined;
570
+ }>;
571
+ type RescheduleAppointmentRequest = z.infer<typeof RescheduleAppointmentRequestSchema>;
572
+ declare const CancelAppointmentRequestSchema: z.ZodObject<{
573
+ id: z.ZodString;
574
+ }, "strip", z.ZodTypeAny, {
575
+ id: string;
576
+ }, {
577
+ id: string;
578
+ }>;
579
+ type CancelAppointmentRequest = z.infer<typeof CancelAppointmentRequestSchema>;
580
+ declare const UpdateAppointmentRequestSchema: z.ZodObject<{
581
+ appointment_id: z.ZodString;
582
+ consultation_reason: z.ZodOptional<z.ZodString>;
583
+ }, "strip", z.ZodTypeAny, {
584
+ appointment_id: string;
585
+ consultation_reason?: string | undefined;
586
+ }, {
587
+ appointment_id: string;
588
+ consultation_reason?: string | undefined;
589
+ }>;
590
+ type UpdateAppointmentRequest = z.infer<typeof UpdateAppointmentRequestSchema>;
591
+ declare const AddDocumentRequestSchema: z.ZodObject<{
592
+ appointment_id: z.ZodString;
593
+ file_path: z.ZodString;
594
+ file_name: z.ZodString;
595
+ }, "strip", z.ZodTypeAny, {
596
+ file_path: string;
597
+ file_name: string;
598
+ appointment_id: string;
599
+ }, {
600
+ file_path: string;
601
+ file_name: string;
602
+ appointment_id: string;
603
+ }>;
604
+ type AddDocumentRequest = z.infer<typeof AddDocumentRequestSchema>;
605
+ declare const DeleteDocumentRequestSchema: z.ZodObject<{
606
+ appointment_id: z.ZodString;
607
+ document_id: z.ZodString;
608
+ }, "strip", z.ZodTypeAny, {
609
+ appointment_id: string;
610
+ document_id: string;
611
+ }, {
612
+ appointment_id: string;
613
+ document_id: string;
614
+ }>;
615
+ type DeleteDocumentRequest = z.infer<typeof DeleteDocumentRequestSchema>;
616
+ declare const ReconnectAppointmentRequestSchema: z.ZodObject<{
617
+ appointmentId: z.ZodString;
618
+ }, "strip", z.ZodTypeAny, {
619
+ appointmentId: string;
620
+ }, {
621
+ appointmentId: string;
622
+ }>;
623
+ type ReconnectAppointmentRequest = z.infer<typeof ReconnectAppointmentRequestSchema>;
624
+
625
+ declare const PostReviewRequestSchema: z.ZodObject<{
626
+ consultation_id: z.ZodString;
627
+ consultation_type: z.ZodEnum<["appointment", "chat", "immediate"]>;
628
+ rating: z.ZodNumber;
629
+ comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
630
+ }, "strip", z.ZodTypeAny, {
631
+ consultation_id: string;
632
+ consultation_type: "chat" | "appointment" | "immediate";
633
+ rating: number;
634
+ comment?: string | null | undefined;
635
+ }, {
636
+ consultation_id: string;
637
+ consultation_type: "chat" | "appointment" | "immediate";
638
+ rating: number;
639
+ comment?: string | null | undefined;
640
+ }>;
641
+ type PostReviewRequest = z.infer<typeof PostReviewRequestSchema>;
642
+ declare const GetReviewResponseSchema: z.ZodObject<{
643
+ rating: z.ZodOptional<z.ZodNumber>;
644
+ comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
645
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
646
+ rating: z.ZodOptional<z.ZodNumber>;
647
+ comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
648
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
649
+ rating: z.ZodOptional<z.ZodNumber>;
650
+ comment: z.ZodOptional<z.ZodNullable<z.ZodString>>;
651
+ }, z.ZodTypeAny, "passthrough">>;
652
+ type GetReviewResponse = z.infer<typeof GetReviewResponseSchema>;
653
+
654
+ declare const UploadFileRequestSchema: z.ZodObject<{
655
+ file: z.ZodType<File, z.ZodTypeDef, File>;
656
+ }, "strip", z.ZodTypeAny, {
657
+ file: File;
658
+ }, {
659
+ file: File;
660
+ }>;
661
+ type UploadFileRequest = z.infer<typeof UploadFileRequestSchema>;
662
+ declare const UploadFileResponseSchema: z.ZodObject<{
663
+ url: z.ZodString;
664
+ }, "strip", z.ZodTypeAny, {
665
+ url: string;
666
+ }, {
667
+ url: string;
668
+ }>;
669
+ type UploadFileResponse = z.infer<typeof UploadFileResponseSchema>;
670
+
671
+ declare const GetAppointmentRequestSchema: z$1.ZodObject<{
672
+ appointmentId: z$1.ZodString;
673
+ }, "strip", z$1.ZodTypeAny, {
674
+ appointmentId: string;
675
+ }, {
676
+ appointmentId: string;
677
+ }>;
678
+ type GetAppointmentRequest = z$1.infer<typeof GetAppointmentRequestSchema>;
679
+ declare const GetAppointmentResponseSchema: z$1.ZodObject<{
680
+ id: z$1.ZodString;
681
+ room_id: z$1.ZodString;
682
+ channel: z$1.ZodEnum<["videocall", "chat", "phonecall"]>;
683
+ consultation_short_url: z$1.ZodNullable<z$1.ZodString>;
684
+ call_id: z$1.ZodString;
685
+ duration: z$1.ZodNumber;
686
+ from: z$1.ZodObject<{
687
+ hash: z$1.ZodString;
688
+ name: z$1.ZodNullable<z$1.ZodString>;
689
+ avatar: z$1.ZodNullable<z$1.ZodString>;
690
+ speciality: z$1.ZodNullable<z$1.ZodString>;
691
+ collegiate_number: z$1.ZodNullable<z$1.ZodString>;
692
+ is_dismissed: z$1.ZodBoolean;
693
+ languages: z$1.ZodArray<z$1.ZodString, "many">;
694
+ description: z$1.ZodNullable<z$1.ZodString>;
695
+ }, "strip", z$1.ZodTypeAny, {
696
+ hash: string;
697
+ name: string | null;
698
+ avatar: string | null;
699
+ speciality: string | null;
700
+ collegiate_number: string | null;
701
+ is_dismissed: boolean;
702
+ languages: string[];
703
+ description: string | null;
704
+ }, {
705
+ hash: string;
706
+ name: string | null;
707
+ avatar: string | null;
708
+ speciality: string | null;
709
+ collegiate_number: string | null;
710
+ is_dismissed: boolean;
711
+ languages: string[];
712
+ description: string | null;
713
+ }>;
714
+ to: z$1.ZodObject<{
715
+ id: z$1.ZodNumber;
716
+ hash: z$1.ZodString;
717
+ name: z$1.ZodNullable<z$1.ZodString>;
718
+ avatar: z$1.ZodNullable<z$1.ZodString>;
719
+ is_dismissed: z$1.ZodBoolean;
720
+ }, "strip", z$1.ZodTypeAny, {
721
+ id: number;
722
+ hash: string;
723
+ name: string | null;
724
+ avatar: string | null;
725
+ is_dismissed: boolean;
726
+ }, {
727
+ id: number;
728
+ hash: string;
729
+ name: string | null;
730
+ avatar: string | null;
731
+ is_dismissed: boolean;
732
+ }>;
733
+ speciality_id: z$1.ZodNullable<z$1.ZodNumber>;
734
+ has_chat_in_appointment: z$1.ZodOptional<z$1.ZodBoolean>;
735
+ created_at: z$1.ZodString;
736
+ status: z$1.ZodEnum<["pending", "expired", "accepted", "inCall", "declined", "cancelled", "finished", "free_of_charge", "owed", "unpaid", "reporting"]>;
737
+ seconds_to_open: z$1.ZodNumber;
738
+ start_date: z$1.ZodString;
739
+ started_at: z$1.ZodNullable<z$1.ZodString>;
740
+ expires_at: z$1.ZodNullable<z$1.ZodString>;
741
+ consultation_reason: z$1.ZodNullable<z$1.ZodString>;
742
+ preconsultation_documents: z$1.ZodNullable<z$1.ZodArray<z$1.ZodObject<{
743
+ file_path: z$1.ZodString;
744
+ file_name: z$1.ZodString;
745
+ id: z$1.ZodString;
746
+ }, "strip", z$1.ZodTypeAny, {
747
+ id: string;
748
+ file_path: string;
749
+ file_name: string;
750
+ }, {
751
+ id: string;
752
+ file_path: string;
753
+ file_name: string;
754
+ }>, "many">>;
755
+ service_id: z$1.ZodNullable<z$1.ZodString>;
756
+ price: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
757
+ currency: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
758
+ discount_amount: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNumber>>;
759
+ }, "strip", z$1.ZodTypeAny, {
760
+ status: "pending" | "expired" | "accepted" | "inCall" | "declined" | "cancelled" | "finished" | "free_of_charge" | "owed" | "unpaid" | "reporting";
761
+ id: string;
762
+ room_id: string;
763
+ channel: "videocall" | "chat" | "phonecall";
764
+ consultation_short_url: string | null;
765
+ call_id: string;
766
+ duration: number;
767
+ from: {
768
+ hash: string;
769
+ name: string | null;
770
+ avatar: string | null;
771
+ speciality: string | null;
772
+ collegiate_number: string | null;
773
+ is_dismissed: boolean;
774
+ languages: string[];
775
+ description: string | null;
776
+ };
777
+ to: {
778
+ id: number;
779
+ hash: string;
780
+ name: string | null;
781
+ avatar: string | null;
782
+ is_dismissed: boolean;
783
+ };
784
+ speciality_id: number | null;
785
+ created_at: string;
786
+ seconds_to_open: number;
787
+ start_date: string;
788
+ started_at: string | null;
789
+ expires_at: string | null;
790
+ consultation_reason: string | null;
791
+ preconsultation_documents: {
792
+ id: string;
793
+ file_path: string;
794
+ file_name: string;
795
+ }[] | null;
796
+ service_id: string | null;
797
+ has_chat_in_appointment?: boolean | undefined;
798
+ price?: number | null | undefined;
799
+ currency?: string | null | undefined;
800
+ discount_amount?: number | null | undefined;
801
+ }, {
802
+ status: "pending" | "expired" | "accepted" | "inCall" | "declined" | "cancelled" | "finished" | "free_of_charge" | "owed" | "unpaid" | "reporting";
803
+ id: string;
804
+ room_id: string;
805
+ channel: "videocall" | "chat" | "phonecall";
806
+ consultation_short_url: string | null;
807
+ call_id: string;
808
+ duration: number;
809
+ from: {
810
+ hash: string;
811
+ name: string | null;
812
+ avatar: string | null;
813
+ speciality: string | null;
814
+ collegiate_number: string | null;
815
+ is_dismissed: boolean;
816
+ languages: string[];
817
+ description: string | null;
818
+ };
819
+ to: {
820
+ id: number;
821
+ hash: string;
822
+ name: string | null;
823
+ avatar: string | null;
824
+ is_dismissed: boolean;
825
+ };
826
+ speciality_id: number | null;
827
+ created_at: string;
828
+ seconds_to_open: number;
829
+ start_date: string;
830
+ started_at: string | null;
831
+ expires_at: string | null;
832
+ consultation_reason: string | null;
833
+ preconsultation_documents: {
834
+ id: string;
835
+ file_path: string;
836
+ file_name: string;
837
+ }[] | null;
838
+ service_id: string | null;
839
+ has_chat_in_appointment?: boolean | undefined;
840
+ price?: number | null | undefined;
841
+ currency?: string | null | undefined;
842
+ discount_amount?: number | null | undefined;
843
+ }>;
844
+ type GetAppointmentResponse = z$1.infer<typeof GetAppointmentResponseSchema>;
845
+ declare const JoinCallRequestSchema: z$1.ZodObject<{
846
+ callId: z$1.ZodString;
847
+ }, "strip", z$1.ZodTypeAny, {
848
+ callId: string;
849
+ }, {
850
+ callId: string;
851
+ }>;
852
+ type JoinCallRequest = z$1.infer<typeof JoinCallRequestSchema>;
853
+ declare const JoinCallResponseSchema: z$1.ZodObject<{
854
+ session_id: z$1.ZodString;
855
+ session_token: z$1.ZodString;
856
+ }, "strip", z$1.ZodTypeAny, {
857
+ session_id: string;
858
+ session_token: string;
859
+ }, {
860
+ session_id: string;
861
+ session_token: string;
862
+ }>;
863
+ type JoinCallResponse = z$1.infer<typeof JoinCallResponseSchema>;
864
+ declare const CreateNetworkTestResponseSchema: z$1.ZodObject<{
865
+ api_key: z$1.ZodString;
866
+ session_id: z$1.ZodString;
867
+ session_token: z$1.ZodString;
868
+ expires_at: z$1.ZodString;
869
+ }, "strip", z$1.ZodTypeAny, {
870
+ expires_at: string;
871
+ api_key: string;
872
+ session_id: string;
873
+ session_token: string;
874
+ }, {
875
+ expires_at: string;
876
+ api_key: string;
877
+ session_id: string;
878
+ session_token: string;
879
+ }>;
880
+ type CreateNetworkTestResponse = z$1.infer<typeof CreateNetworkTestResponseSchema>;
881
+ declare const SetReadyRequestSchema: z$1.ZodObject<{
882
+ professional_hash: z$1.ZodString;
883
+ consultation_id: z$1.ZodString;
884
+ consultation_type: z$1.ZodEnum<["appointment"]>;
885
+ }, "strip", z$1.ZodTypeAny, {
886
+ consultation_id: string;
887
+ consultation_type: "appointment";
888
+ professional_hash: string;
889
+ }, {
890
+ consultation_id: string;
891
+ consultation_type: "appointment";
892
+ professional_hash: string;
893
+ }>;
894
+ type SetReadyRequest = z$1.infer<typeof SetReadyRequestSchema>;
895
+ declare const LeaveWaitingRoomRequestSchema: z$1.ZodObject<{
896
+ professional_hash: z$1.ZodString;
897
+ consultation_id: z$1.ZodString;
898
+ consultation_type: z$1.ZodEnum<["appointment"]>;
899
+ }, "strip", z$1.ZodTypeAny, {
900
+ consultation_id: string;
901
+ consultation_type: "appointment";
902
+ professional_hash: string;
903
+ }, {
904
+ consultation_id: string;
905
+ consultation_type: "appointment";
906
+ professional_hash: string;
907
+ }>;
908
+ type LeaveWaitingRoomRequest = z$1.infer<typeof LeaveWaitingRoomRequestSchema>;
909
+ declare const GetSharedDocumentsRequestSchema: z$1.ZodObject<{
910
+ appointment_id: z$1.ZodString;
911
+ }, "strip", z$1.ZodTypeAny, {
912
+ appointment_id: string;
913
+ }, {
914
+ appointment_id: string;
915
+ }>;
916
+ type GetSharedDocumentsRequest = z$1.infer<typeof GetSharedDocumentsRequestSchema>;
917
+ declare const GetSharedDocumentsResponseSchema: z$1.ZodArray<z$1.ZodObject<{
918
+ document_id: z$1.ZodString;
919
+ document_type: z$1.ZodEnum<["prescription", "report", "diagnosticTestPrescription"]>;
920
+ name: z$1.ZodString;
921
+ professional: z$1.ZodObject<{
922
+ speciality_id: z$1.ZodNumber;
923
+ speciality_name: z$1.ZodOptional<z$1.ZodString>;
924
+ }, "strip", z$1.ZodTypeAny, {
925
+ speciality_id: number;
926
+ speciality_name?: string | undefined;
927
+ }, {
928
+ speciality_id: number;
929
+ speciality_name?: string | undefined;
930
+ }>;
931
+ status: z$1.ZodEnum<["published", "draft"]>;
932
+ url: z$1.ZodString;
933
+ created_at: z$1.ZodString;
934
+ }, "strip", z$1.ZodTypeAny, {
935
+ url: string;
936
+ status: "published" | "draft";
937
+ name: string;
938
+ created_at: string;
939
+ professional: {
940
+ speciality_id: number;
941
+ speciality_name?: string | undefined;
942
+ };
943
+ document_id: string;
944
+ document_type: "prescription" | "report" | "diagnosticTestPrescription";
945
+ }, {
946
+ url: string;
947
+ status: "published" | "draft";
948
+ name: string;
949
+ created_at: string;
950
+ professional: {
951
+ speciality_id: number;
952
+ speciality_name?: string | undefined;
953
+ };
954
+ document_id: string;
955
+ document_type: "prescription" | "report" | "diagnosticTestPrescription";
956
+ }>, "many">;
957
+ type GetSharedDocumentsResponse = z$1.infer<typeof GetSharedDocumentsResponseSchema>;
958
+ declare const DownloadDocumentRequestSchema: z$1.ZodObject<{
959
+ url: z$1.ZodString;
960
+ }, "strip", z$1.ZodTypeAny, {
961
+ url: string;
962
+ }, {
963
+ url: string;
964
+ }>;
965
+ type DownloadDocumentRequest = z$1.infer<typeof DownloadDocumentRequestSchema>;
966
+ declare const UpdatePatientProfileRequestSchema: z$1.ZodObject<{
967
+ first_name: z$1.ZodNullable<z$1.ZodString>;
968
+ last_name: z$1.ZodNullable<z$1.ZodString>;
969
+ tax_id: z$1.ZodNullable<z$1.ZodString>;
970
+ birth_date: z$1.ZodNullable<z$1.ZodString>;
971
+ gender: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodEnum<["male", "female"]>>>;
972
+ email: z$1.ZodNullable<z$1.ZodString>;
973
+ phone_prefix: z$1.ZodNullable<z$1.ZodString>;
974
+ phone: z$1.ZodNullable<z$1.ZodString>;
975
+ terms_accepted: z$1.ZodBoolean;
976
+ privacy_accepted: z$1.ZodBoolean;
977
+ }, "strip", z$1.ZodTypeAny, {
978
+ first_name: string | null;
979
+ last_name: string | null;
980
+ birth_date: string | null;
981
+ email: string | null;
982
+ phone: string | null;
983
+ phone_prefix: string | null;
984
+ tax_id: string | null;
985
+ terms_accepted: boolean;
986
+ privacy_accepted: boolean;
987
+ gender?: "male" | "female" | null | undefined;
988
+ }, {
989
+ first_name: string | null;
990
+ last_name: string | null;
991
+ birth_date: string | null;
992
+ email: string | null;
993
+ phone: string | null;
994
+ phone_prefix: string | null;
995
+ tax_id: string | null;
996
+ terms_accepted: boolean;
997
+ privacy_accepted: boolean;
998
+ gender?: "male" | "female" | null | undefined;
999
+ }>;
1000
+ type UpdatePatientProfileRequest = z$1.infer<typeof UpdatePatientProfileRequestSchema>;
1001
+ declare const GetPatientDocumentsRequestSchema: z$1.ZodObject<{
1002
+ patient_hash: z$1.ZodString;
1003
+ page: z$1.ZodOptional<z$1.ZodNumber>;
1004
+ per_page: z$1.ZodOptional<z$1.ZodNumber>;
1005
+ }, "strip", z$1.ZodTypeAny, {
1006
+ patient_hash: string;
1007
+ per_page?: number | undefined;
1008
+ page?: number | undefined;
1009
+ }, {
1010
+ patient_hash: string;
1011
+ per_page?: number | undefined;
1012
+ page?: number | undefined;
1013
+ }>;
1014
+ type GetPatientDocumentsRequest = z$1.infer<typeof GetPatientDocumentsRequestSchema>;
1015
+ declare const GetPatientDocumentsResponseSchema: z$1.ZodObject<{
1016
+ data: z$1.ZodArray<z$1.ZodObject<{
1017
+ document_id: z$1.ZodString;
1018
+ document_type: z$1.ZodEnum<["prescription", "report", "diagnosticTestPrescription"]>;
1019
+ name: z$1.ZodString;
1020
+ professional: z$1.ZodObject<{
1021
+ speciality_id: z$1.ZodNumber;
1022
+ speciality_name: z$1.ZodOptional<z$1.ZodString>;
1023
+ }, "strip", z$1.ZodTypeAny, {
1024
+ speciality_id: number;
1025
+ speciality_name?: string | undefined;
1026
+ }, {
1027
+ speciality_id: number;
1028
+ speciality_name?: string | undefined;
1029
+ }>;
1030
+ status: z$1.ZodEnum<["published", "draft"]>;
1031
+ url: z$1.ZodString;
1032
+ created_at: z$1.ZodString;
1033
+ }, "strip", z$1.ZodTypeAny, {
1034
+ url: string;
1035
+ status: "published" | "draft";
1036
+ name: string;
1037
+ created_at: string;
1038
+ professional: {
1039
+ speciality_id: number;
1040
+ speciality_name?: string | undefined;
1041
+ };
1042
+ document_id: string;
1043
+ document_type: "prescription" | "report" | "diagnosticTestPrescription";
1044
+ }, {
1045
+ url: string;
1046
+ status: "published" | "draft";
1047
+ name: string;
1048
+ created_at: string;
1049
+ professional: {
1050
+ speciality_id: number;
1051
+ speciality_name?: string | undefined;
1052
+ };
1053
+ document_id: string;
1054
+ document_type: "prescription" | "report" | "diagnosticTestPrescription";
1055
+ }>, "many">;
1056
+ meta: z$1.ZodObject<{
1057
+ current_page: z$1.ZodNumber;
1058
+ last_page: z$1.ZodNumber;
1059
+ per_page: z$1.ZodNumber;
1060
+ total: z$1.ZodNumber;
1061
+ }, "strip", z$1.ZodTypeAny, {
1062
+ current_page: number;
1063
+ last_page: number;
1064
+ per_page: number;
1065
+ total: number;
1066
+ }, {
1067
+ current_page: number;
1068
+ last_page: number;
1069
+ per_page: number;
1070
+ total: number;
1071
+ }>;
1072
+ }, "strip", z$1.ZodTypeAny, {
1073
+ data: {
1074
+ url: string;
1075
+ status: "published" | "draft";
1076
+ name: string;
1077
+ created_at: string;
1078
+ professional: {
1079
+ speciality_id: number;
1080
+ speciality_name?: string | undefined;
1081
+ };
1082
+ document_id: string;
1083
+ document_type: "prescription" | "report" | "diagnosticTestPrescription";
1084
+ }[];
1085
+ meta: {
1086
+ current_page: number;
1087
+ last_page: number;
1088
+ per_page: number;
1089
+ total: number;
1090
+ };
1091
+ }, {
1092
+ data: {
1093
+ url: string;
1094
+ status: "published" | "draft";
1095
+ name: string;
1096
+ created_at: string;
1097
+ professional: {
1098
+ speciality_id: number;
1099
+ speciality_name?: string | undefined;
1100
+ };
1101
+ document_id: string;
1102
+ document_type: "prescription" | "report" | "diagnosticTestPrescription";
1103
+ }[];
1104
+ meta: {
1105
+ current_page: number;
1106
+ last_page: number;
1107
+ per_page: number;
1108
+ total: number;
1109
+ };
1110
+ }>;
1111
+ type GetPatientDocumentsResponse = z$1.infer<typeof GetPatientDocumentsResponseSchema>;
1112
+
1113
+ declare const GetOrganizationSpecialtiesResponseSchema: z$1.ZodArray<z$1.ZodObject<{
1114
+ id: z$1.ZodNumber;
1115
+ name: z$1.ZodString;
1116
+ code: z$1.ZodString;
1117
+ }, "strip", z$1.ZodTypeAny, {
1118
+ code: string;
1119
+ id: number;
1120
+ name: string;
1121
+ }, {
1122
+ code: string;
1123
+ id: number;
1124
+ name: string;
1125
+ }>, "many">;
1126
+ type GetOrganizationSpecialtiesResponse = z$1.infer<typeof GetOrganizationSpecialtiesResponseSchema>;
1127
+ declare const GetOrganizationSetupResponseSchema: z$1.ZodObject<{
1128
+ primary_color: z$1.ZodNullable<z$1.ZodString>;
1129
+ logo: z$1.ZodNullable<z$1.ZodString>;
1130
+ favicon: z$1.ZodNullable<z$1.ZodString>;
1131
+ support_professional: z$1.ZodOptional<z$1.ZodObject<{
1132
+ hash: z$1.ZodNullable<z$1.ZodString>;
1133
+ }, "strip", z$1.ZodTypeAny, {
1134
+ hash: string | null;
1135
+ }, {
1136
+ hash: string | null;
1137
+ }>>;
1138
+ home: z$1.ZodObject<{
1139
+ title: z$1.ZodNullable<z$1.ZodString>;
1140
+ description: z$1.ZodNullable<z$1.ZodString>;
1141
+ image_url: z$1.ZodNullable<z$1.ZodString>;
1142
+ }, "strip", z$1.ZodTypeAny, {
1143
+ description: string | null;
1144
+ title: string | null;
1145
+ image_url: string | null;
1146
+ }, {
1147
+ description: string | null;
1148
+ title: string | null;
1149
+ image_url: string | null;
1150
+ }>;
1151
+ appointments: z$1.ZodObject<{
1152
+ reserve_conditions: z$1.ZodNullable<z$1.ZodString>;
1153
+ seconds_before_start_to_refund_on_cancel: z$1.ZodNullable<z$1.ZodNumber>;
1154
+ has_nps: z$1.ZodOptional<z$1.ZodBoolean>;
1155
+ has_chat_in_appointment: z$1.ZodOptional<z$1.ZodBoolean>;
1156
+ has_discount_coupons_show: z$1.ZodOptional<z$1.ZodBoolean>;
1157
+ payment_provider: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNativeEnum<{
1158
+ readonly Addon: "addon";
1159
+ readonly Stripe: "stripe";
1160
+ }>>>;
1161
+ }, "strip", z$1.ZodTypeAny, {
1162
+ reserve_conditions: string | null;
1163
+ seconds_before_start_to_refund_on_cancel: number | null;
1164
+ has_chat_in_appointment?: boolean | undefined;
1165
+ has_nps?: boolean | undefined;
1166
+ has_discount_coupons_show?: boolean | undefined;
1167
+ payment_provider?: "addon" | "stripe" | null | undefined;
1168
+ }, {
1169
+ reserve_conditions: string | null;
1170
+ seconds_before_start_to_refund_on_cancel: number | null;
1171
+ has_chat_in_appointment?: boolean | undefined;
1172
+ has_nps?: boolean | undefined;
1173
+ has_discount_coupons_show?: boolean | undefined;
1174
+ payment_provider?: "addon" | "stripe" | null | undefined;
1175
+ }>;
1176
+ legal_consent: z$1.ZodObject<{
1177
+ terms_url: z$1.ZodNullable<z$1.ZodString>;
1178
+ privacy_url: z$1.ZodNullable<z$1.ZodString>;
1179
+ }, "strip", z$1.ZodTypeAny, {
1180
+ terms_url: string | null;
1181
+ privacy_url: string | null;
1182
+ }, {
1183
+ terms_url: string | null;
1184
+ privacy_url: string | null;
1185
+ }>;
1186
+ }, "strip", z$1.ZodTypeAny, {
1187
+ legal_consent: {
1188
+ terms_url: string | null;
1189
+ privacy_url: string | null;
1190
+ };
1191
+ primary_color: string | null;
1192
+ logo: string | null;
1193
+ favicon: string | null;
1194
+ home: {
1195
+ description: string | null;
1196
+ title: string | null;
1197
+ image_url: string | null;
1198
+ };
1199
+ appointments: {
1200
+ reserve_conditions: string | null;
1201
+ seconds_before_start_to_refund_on_cancel: number | null;
1202
+ has_chat_in_appointment?: boolean | undefined;
1203
+ has_nps?: boolean | undefined;
1204
+ has_discount_coupons_show?: boolean | undefined;
1205
+ payment_provider?: "addon" | "stripe" | null | undefined;
1206
+ };
1207
+ support_professional?: {
1208
+ hash: string | null;
1209
+ } | undefined;
1210
+ }, {
1211
+ legal_consent: {
1212
+ terms_url: string | null;
1213
+ privacy_url: string | null;
1214
+ };
1215
+ primary_color: string | null;
1216
+ logo: string | null;
1217
+ favicon: string | null;
1218
+ home: {
1219
+ description: string | null;
1220
+ title: string | null;
1221
+ image_url: string | null;
1222
+ };
1223
+ appointments: {
1224
+ reserve_conditions: string | null;
1225
+ seconds_before_start_to_refund_on_cancel: number | null;
1226
+ has_chat_in_appointment?: boolean | undefined;
1227
+ has_nps?: boolean | undefined;
1228
+ has_discount_coupons_show?: boolean | undefined;
1229
+ payment_provider?: "addon" | "stripe" | null | undefined;
1230
+ };
1231
+ support_professional?: {
1232
+ hash: string | null;
1233
+ } | undefined;
1234
+ }>;
1235
+ type GetOrganizationSetupResponse = z$1.infer<typeof GetOrganizationSetupResponseSchema>;
1236
+
1237
+ declare const CreatePaymentLinkRequestSchema: z.ZodObject<{
1238
+ slot_id: z.ZodString;
1239
+ service_id: z.ZodString;
1240
+ specialty_id: z.ZodString;
1241
+ consultation_reason: z.ZodOptional<z.ZodString>;
1242
+ preconsultation_documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
1243
+ file_path: z.ZodString;
1244
+ file_name: z.ZodString;
1245
+ }, "strip", z.ZodTypeAny, {
1246
+ file_path: string;
1247
+ file_name: string;
1248
+ }, {
1249
+ file_path: string;
1250
+ file_name: string;
1251
+ }>, "many">>;
1252
+ discount_code: z.ZodOptional<z.ZodString>;
1253
+ return_url: z.ZodOptional<z.ZodString>;
1254
+ /** Stripe payable taken from the selected slot. */
1255
+ payable_reference: z.ZodOptional<z.ZodString>;
1256
+ }, "strip", z.ZodTypeAny, {
1257
+ service_id: string;
1258
+ slot_id: string;
1259
+ specialty_id: string;
1260
+ consultation_reason?: string | undefined;
1261
+ preconsultation_documents?: {
1262
+ file_path: string;
1263
+ file_name: string;
1264
+ }[] | undefined;
1265
+ discount_code?: string | undefined;
1266
+ return_url?: string | undefined;
1267
+ payable_reference?: string | undefined;
1268
+ }, {
1269
+ service_id: string;
1270
+ slot_id: string;
1271
+ specialty_id: string;
1272
+ consultation_reason?: string | undefined;
1273
+ preconsultation_documents?: {
1274
+ file_path: string;
1275
+ file_name: string;
1276
+ }[] | undefined;
1277
+ discount_code?: string | undefined;
1278
+ return_url?: string | undefined;
1279
+ payable_reference?: string | undefined;
1280
+ }>;
1281
+ type CreatePaymentLinkRequest = z.infer<typeof CreatePaymentLinkRequestSchema>;
1282
+ declare const GetConsultationCouponResponseSchema: z.ZodObject<{
1283
+ id: z.ZodString;
1284
+ percent_off: z.ZodNumber;
1285
+ code: z.ZodString;
1286
+ after_discount_amount: z.ZodNullable<z.ZodNumber>;
1287
+ }, "strip", z.ZodTypeAny, {
1288
+ code: string;
1289
+ id: string;
1290
+ percent_off: number;
1291
+ after_discount_amount: number | null;
1292
+ }, {
1293
+ code: string;
1294
+ id: string;
1295
+ percent_off: number;
1296
+ after_discount_amount: number | null;
1297
+ }>;
1298
+ type GetConsultationCouponResponse = z.infer<typeof GetConsultationCouponResponseSchema>;
1299
+ /**
1300
+ * `GET /payments/v1/appointment/{appointmentId}/consultation-coupon`; 404 when
1301
+ * the appointment has no coupon. `name` is optional, so the UI falls back to `code`.
1302
+ */
1303
+ declare const GetAppointmentConsultationCouponResponseSchema: z.ZodObject<{
1304
+ id: z.ZodString;
1305
+ percent_off: z.ZodNumber;
1306
+ code: z.ZodString;
1307
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1308
+ }, "strip", z.ZodTypeAny, {
1309
+ code: string;
1310
+ id: string;
1311
+ percent_off: number;
1312
+ name?: string | null | undefined;
1313
+ }, {
1314
+ code: string;
1315
+ id: string;
1316
+ percent_off: number;
1317
+ name?: string | null | undefined;
1318
+ }>;
1319
+ type GetAppointmentConsultationCouponResponse = z.infer<typeof GetAppointmentConsultationCouponResponseSchema>;
1320
+ declare const CreatePaymentLinkResponseSchema: z.ZodObject<{
1321
+ session_id: z.ZodString;
1322
+ payment_link: z.ZodString;
1323
+ provider: z.ZodOptional<z.ZodNativeEnum<{
1324
+ readonly Addon: "addon";
1325
+ readonly Stripe: "stripe";
1326
+ }>>;
1327
+ }, "strip", z.ZodTypeAny, {
1328
+ session_id: string;
1329
+ payment_link: string;
1330
+ provider?: "addon" | "stripe" | undefined;
1331
+ }, {
1332
+ session_id: string;
1333
+ payment_link: string;
1334
+ provider?: "addon" | "stripe" | undefined;
1335
+ }>;
1336
+ type CreatePaymentLinkResponse = z.infer<typeof CreatePaymentLinkResponseSchema>;
1337
+ declare const CreateImmediateVideocallPaymentLinkRequestSchema: z.ZodObject<{
1338
+ video_call_schedule_id: z.ZodString;
1339
+ }, "strip", z.ZodTypeAny, {
1340
+ video_call_schedule_id: string;
1341
+ }, {
1342
+ video_call_schedule_id: string;
1343
+ }>;
1344
+ type CreateImmediateVideocallPaymentLinkRequest = z.infer<typeof CreateImmediateVideocallPaymentLinkRequestSchema>;
1345
+ declare const CreateImmediateVideocallPaymentLinkResponseSchema: z.ZodObject<{
1346
+ session_id: z.ZodString;
1347
+ payment_link: z.ZodString;
1348
+ provider: z.ZodOptional<z.ZodNativeEnum<{
1349
+ readonly Addon: "addon";
1350
+ readonly Stripe: "stripe";
1351
+ }>>;
1352
+ }, "strip", z.ZodTypeAny, {
1353
+ session_id: string;
1354
+ payment_link: string;
1355
+ provider?: "addon" | "stripe" | undefined;
1356
+ }, {
1357
+ session_id: string;
1358
+ payment_link: string;
1359
+ provider?: "addon" | "stripe" | undefined;
1360
+ }>;
1361
+ type CreateImmediateVideocallPaymentLinkResponse = z.infer<typeof CreateImmediateVideocallPaymentLinkResponseSchema>;
1362
+ declare const CreateChatConsultationPaymentLinkRequestSchema: z.ZodObject<{
1363
+ professional_hash: z.ZodString;
1364
+ }, "strip", z.ZodTypeAny, {
1365
+ professional_hash: string;
1366
+ }, {
1367
+ professional_hash: string;
1368
+ }>;
1369
+ type CreateChatConsultationPaymentLinkRequest = z.infer<typeof CreateChatConsultationPaymentLinkRequestSchema>;
1370
+ declare const CreateChatConsultationPaymentLinkResponseSchema: z.ZodObject<{
1371
+ session_id: z.ZodString;
1372
+ payment_link: z.ZodString;
1373
+ provider: z.ZodOptional<z.ZodNativeEnum<{
1374
+ readonly Addon: "addon";
1375
+ readonly Stripe: "stripe";
1376
+ }>>;
1377
+ }, "strip", z.ZodTypeAny, {
1378
+ session_id: string;
1379
+ payment_link: string;
1380
+ provider?: "addon" | "stripe" | undefined;
1381
+ }, {
1382
+ session_id: string;
1383
+ payment_link: string;
1384
+ provider?: "addon" | "stripe" | undefined;
1385
+ }>;
1386
+ type CreateChatConsultationPaymentLinkResponse = z.infer<typeof CreateChatConsultationPaymentLinkResponseSchema>;
1387
+ declare const GetPaymentSessionResponseSchema: z.ZodObject<{
1388
+ status: z.ZodNativeEnum<{
1389
+ readonly Paid: "paid";
1390
+ readonly Unpaid: "unpaid";
1391
+ readonly Denied: "denied";
1392
+ readonly Refunded: "refunded";
1393
+ }>;
1394
+ consultation_id: z.ZodString;
1395
+ consultation_type: z.ZodString;
1396
+ }, "strip", z.ZodTypeAny, {
1397
+ status: "unpaid" | "paid" | "denied" | "refunded";
1398
+ consultation_id: string;
1399
+ consultation_type: string;
1400
+ }, {
1401
+ status: "unpaid" | "paid" | "denied" | "refunded";
1402
+ consultation_id: string;
1403
+ consultation_type: string;
1404
+ }>;
1405
+ type GetPaymentSessionResponse = z.infer<typeof GetPaymentSessionResponseSchema>;
1406
+ declare const ValidateApplePayMerchantRequestSchema: z.ZodObject<{
1407
+ order_id: z.ZodString;
1408
+ validation_url: z.ZodString;
1409
+ }, "strip", z.ZodTypeAny, {
1410
+ order_id: string;
1411
+ validation_url: string;
1412
+ }, {
1413
+ order_id: string;
1414
+ validation_url: string;
1415
+ }>;
1416
+ type ValidateApplePayMerchantRequest = z.infer<typeof ValidateApplePayMerchantRequestSchema>;
1417
+ /** Opaque Apple merchant session at the HTTP body root (not `{ data: … }`). */
1418
+ declare const ValidateApplePayMerchantResponseSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1419
+ type ValidateApplePayMerchantResponse = z.infer<typeof ValidateApplePayMerchantResponseSchema>;
1420
+ declare const AuthorizeApplePayRequestSchema: z.ZodObject<{
1421
+ order_id: z.ZodString;
1422
+ /** Realex auth-mobile `<token>` string (JSON of Apple Pay `paymentData`). */
1423
+ token: z.ZodString;
1424
+ }, "strip", z.ZodTypeAny, {
1425
+ token: string;
1426
+ order_id: string;
1427
+ }, {
1428
+ token: string;
1429
+ order_id: string;
1430
+ }>;
1431
+ type AuthorizeApplePayRequest = z.infer<typeof AuthorizeApplePayRequestSchema>;
1432
+ declare const AuthorizeApplePayResponseSchema: z.ZodObject<{
1433
+ data: z.ZodObject<{
1434
+ status: z.ZodNativeEnum<{
1435
+ readonly Paid: "paid";
1436
+ readonly Unpaid: "unpaid";
1437
+ readonly Denied: "denied";
1438
+ readonly Refunded: "refunded";
1439
+ }>;
1440
+ consultation_id: z.ZodString;
1441
+ consultation_type: z.ZodOptional<z.ZodString>;
1442
+ }, "strip", z.ZodTypeAny, {
1443
+ status: "unpaid" | "paid" | "denied" | "refunded";
1444
+ consultation_id: string;
1445
+ consultation_type?: string | undefined;
1446
+ }, {
1447
+ status: "unpaid" | "paid" | "denied" | "refunded";
1448
+ consultation_id: string;
1449
+ consultation_type?: string | undefined;
1450
+ }>;
1451
+ }, "strip", z.ZodTypeAny, {
1452
+ data: {
1453
+ status: "unpaid" | "paid" | "denied" | "refunded";
1454
+ consultation_id: string;
1455
+ consultation_type?: string | undefined;
1456
+ };
1457
+ }, {
1458
+ data: {
1459
+ status: "unpaid" | "paid" | "denied" | "refunded";
1460
+ consultation_id: string;
1461
+ consultation_type?: string | undefined;
1462
+ };
1463
+ }>;
1464
+ type AuthorizeApplePayResponse = z.infer<typeof AuthorizeApplePayResponseSchema>;
1465
+ declare const AuthorizeGooglePayRequestSchema: z.ZodObject<{
1466
+ order_id: z.ZodString;
1467
+ /** Global Payments auth-mobile `<token>` string from Google Pay `tokenizationData.token`. */
1468
+ token: z.ZodString;
1469
+ }, "strip", z.ZodTypeAny, {
1470
+ token: string;
1471
+ order_id: string;
1472
+ }, {
1473
+ token: string;
1474
+ order_id: string;
1475
+ }>;
1476
+ type AuthorizeGooglePayRequest = z.infer<typeof AuthorizeGooglePayRequestSchema>;
1477
+ declare const AuthorizeGooglePayResponseSchema: z.ZodObject<{
1478
+ data: z.ZodObject<{
1479
+ status: z.ZodNativeEnum<{
1480
+ readonly Paid: "paid";
1481
+ readonly Unpaid: "unpaid";
1482
+ readonly Denied: "denied";
1483
+ readonly Refunded: "refunded";
1484
+ }>;
1485
+ consultation_id: z.ZodString;
1486
+ consultation_type: z.ZodOptional<z.ZodString>;
1487
+ }, "strip", z.ZodTypeAny, {
1488
+ status: "unpaid" | "paid" | "denied" | "refunded";
1489
+ consultation_id: string;
1490
+ consultation_type?: string | undefined;
1491
+ }, {
1492
+ status: "unpaid" | "paid" | "denied" | "refunded";
1493
+ consultation_id: string;
1494
+ consultation_type?: string | undefined;
1495
+ }>;
1496
+ }, "strip", z.ZodTypeAny, {
1497
+ data: {
1498
+ status: "unpaid" | "paid" | "denied" | "refunded";
1499
+ consultation_id: string;
1500
+ consultation_type?: string | undefined;
1501
+ };
1502
+ }, {
1503
+ data: {
1504
+ status: "unpaid" | "paid" | "denied" | "refunded";
1505
+ consultation_id: string;
1506
+ consultation_type?: string | undefined;
1507
+ };
1508
+ }>;
1509
+ type AuthorizeGooglePayResponse = z.infer<typeof AuthorizeGooglePayResponseSchema>;
1510
+
1511
+ declare const GetProfessionalRequestSchema: z.ZodObject<{
1512
+ hash: z.ZodString;
1513
+ }, "strip", z.ZodTypeAny, {
1514
+ hash: string;
1515
+ }, {
1516
+ hash: string;
1517
+ }>;
1518
+ type GetProfessionalRequest = z.infer<typeof GetProfessionalRequestSchema>;
1519
+ declare const GetProfessionalResponseSchema: z.ZodObject<{
1520
+ hash: z.ZodString;
1521
+ active_absence: z.ZodNullable<z.ZodObject<{
1522
+ id: z.ZodString;
1523
+ finishes_at: z.ZodString;
1524
+ }, "strip", z.ZodTypeAny, {
1525
+ id: string;
1526
+ finishes_at: string;
1527
+ }, {
1528
+ id: string;
1529
+ finishes_at: string;
1530
+ }>>;
1531
+ avatar: z.ZodNullable<z.ZodString>;
1532
+ collegiate_number: z.ZodNullable<z.ZodString>;
1533
+ description: z.ZodNullable<z.ZodString>;
1534
+ is_available: z.ZodBoolean;
1535
+ name: z.ZodString;
1536
+ overview: z.ZodNullable<z.ZodString>;
1537
+ schedule_description: z.ZodNullable<z.ZodString>;
1538
+ speciality_id: z.ZodNullable<z.ZodNumber>;
1539
+ status: z.ZodEnum<["online", "offline"]>;
1540
+ title: z.ZodNullable<z.ZodString>;
1541
+ chat_schedule: z.ZodNullable<z.ZodObject<{
1542
+ channel: z.ZodEnum<["videocall", "chat", "phonecall"]>;
1543
+ duration: z.ZodNumber;
1544
+ name: z.ZodString;
1545
+ timezone: z.ZodString;
1546
+ starts_at: z.ZodString;
1547
+ gaps: z.ZodArray<z.ZodObject<{
1548
+ days_of_week: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday", "working_week", "weekend", "all_week"]>;
1549
+ from_time: z.ZodString;
1550
+ to_time: z.ZodString;
1551
+ }, "strip", z.ZodTypeAny, {
1552
+ days_of_week: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | "working_week" | "weekend" | "all_week";
1553
+ from_time: string;
1554
+ to_time: string;
1555
+ }, {
1556
+ days_of_week: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | "working_week" | "weekend" | "all_week";
1557
+ from_time: string;
1558
+ to_time: string;
1559
+ }>, "many">;
1560
+ }, "strip", z.ZodTypeAny, {
1561
+ channel: "videocall" | "chat" | "phonecall";
1562
+ duration: number;
1563
+ name: string;
1564
+ starts_at: string;
1565
+ timezone: string;
1566
+ gaps: {
1567
+ days_of_week: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | "working_week" | "weekend" | "all_week";
1568
+ from_time: string;
1569
+ to_time: string;
1570
+ }[];
1571
+ }, {
1572
+ channel: "videocall" | "chat" | "phonecall";
1573
+ duration: number;
1574
+ name: string;
1575
+ starts_at: string;
1576
+ timezone: string;
1577
+ gaps: {
1578
+ days_of_week: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | "working_week" | "weekend" | "all_week";
1579
+ from_time: string;
1580
+ to_time: string;
1581
+ }[];
1582
+ }>>;
1583
+ }, "strip", z.ZodTypeAny, {
1584
+ status: "online" | "offline";
1585
+ hash: string;
1586
+ name: string;
1587
+ avatar: string | null;
1588
+ collegiate_number: string | null;
1589
+ description: string | null;
1590
+ speciality_id: number | null;
1591
+ title: string | null;
1592
+ active_absence: {
1593
+ id: string;
1594
+ finishes_at: string;
1595
+ } | null;
1596
+ is_available: boolean;
1597
+ overview: string | null;
1598
+ schedule_description: string | null;
1599
+ chat_schedule: {
1600
+ channel: "videocall" | "chat" | "phonecall";
1601
+ duration: number;
1602
+ name: string;
1603
+ starts_at: string;
1604
+ timezone: string;
1605
+ gaps: {
1606
+ days_of_week: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | "working_week" | "weekend" | "all_week";
1607
+ from_time: string;
1608
+ to_time: string;
1609
+ }[];
1610
+ } | null;
1611
+ }, {
1612
+ status: "online" | "offline";
1613
+ hash: string;
1614
+ name: string;
1615
+ avatar: string | null;
1616
+ collegiate_number: string | null;
1617
+ description: string | null;
1618
+ speciality_id: number | null;
1619
+ title: string | null;
1620
+ active_absence: {
1621
+ id: string;
1622
+ finishes_at: string;
1623
+ } | null;
1624
+ is_available: boolean;
1625
+ overview: string | null;
1626
+ schedule_description: string | null;
1627
+ chat_schedule: {
1628
+ channel: "videocall" | "chat" | "phonecall";
1629
+ duration: number;
1630
+ name: string;
1631
+ starts_at: string;
1632
+ timezone: string;
1633
+ gaps: {
1634
+ days_of_week: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | "working_week" | "weekend" | "all_week";
1635
+ from_time: string;
1636
+ to_time: string;
1637
+ }[];
1638
+ } | null;
1639
+ }>;
1640
+ type GetProfessionalResponse = z.infer<typeof GetProfessionalResponseSchema>;
1641
+ declare const ReadAllMessagesRequestSchema: z.ZodObject<{
1642
+ roomId: z.ZodNumber;
1643
+ }, "strip", z.ZodTypeAny, {
1644
+ roomId: number;
1645
+ }, {
1646
+ roomId: number;
1647
+ }>;
1648
+ type ReadAllMessagesRequest = z.infer<typeof ReadAllMessagesRequestSchema>;
1649
+
1650
+ declare const GetPatientProfileResponseSchema: z.ZodObject<{
1651
+ hash: z.ZodString;
1652
+ profile: z.ZodObject<{
1653
+ first_name: z.ZodNullable<z.ZodString>;
1654
+ last_name: z.ZodNullable<z.ZodString>;
1655
+ birth_date: z.ZodNullable<z.ZodString>;
1656
+ gender: z.ZodNullable<z.ZodEnum<["male", "female"]>>;
1657
+ email: z.ZodNullable<z.ZodString>;
1658
+ phone_prefix: z.ZodNullable<z.ZodString>;
1659
+ phone: z.ZodNullable<z.ZodString>;
1660
+ billing: z.ZodObject<{
1661
+ tax_id: z.ZodNullable<z.ZodString>;
1662
+ address: z.ZodNullable<z.ZodString>;
1663
+ country_code: z.ZodNullable<z.ZodString>;
1664
+ region: z.ZodNullable<z.ZodString>;
1665
+ postal_code: z.ZodNullable<z.ZodString>;
1666
+ }, "strip", z.ZodTypeAny, {
1667
+ country_code: string | null;
1668
+ tax_id: string | null;
1669
+ address: string | null;
1670
+ region: string | null;
1671
+ postal_code: string | null;
1672
+ }, {
1673
+ country_code: string | null;
1674
+ tax_id: string | null;
1675
+ address: string | null;
1676
+ region: string | null;
1677
+ postal_code: string | null;
1678
+ }>;
1679
+ }, "strip", z.ZodTypeAny, {
1680
+ first_name: string | null;
1681
+ last_name: string | null;
1682
+ birth_date: string | null;
1683
+ email: string | null;
1684
+ phone: string | null;
1685
+ phone_prefix: string | null;
1686
+ gender: "male" | "female" | null;
1687
+ billing: {
1688
+ country_code: string | null;
1689
+ tax_id: string | null;
1690
+ address: string | null;
1691
+ region: string | null;
1692
+ postal_code: string | null;
1693
+ };
1694
+ }, {
1695
+ first_name: string | null;
1696
+ last_name: string | null;
1697
+ birth_date: string | null;
1698
+ email: string | null;
1699
+ phone: string | null;
1700
+ phone_prefix: string | null;
1701
+ gender: "male" | "female" | null;
1702
+ billing: {
1703
+ country_code: string | null;
1704
+ tax_id: string | null;
1705
+ address: string | null;
1706
+ region: string | null;
1707
+ postal_code: string | null;
1708
+ };
1709
+ }>;
1710
+ }, "strip", z.ZodTypeAny, {
1711
+ hash: string;
1712
+ profile: {
1713
+ first_name: string | null;
1714
+ last_name: string | null;
1715
+ birth_date: string | null;
1716
+ email: string | null;
1717
+ phone: string | null;
1718
+ phone_prefix: string | null;
1719
+ gender: "male" | "female" | null;
1720
+ billing: {
1721
+ country_code: string | null;
1722
+ tax_id: string | null;
1723
+ address: string | null;
1724
+ region: string | null;
1725
+ postal_code: string | null;
1726
+ };
1727
+ };
1728
+ }, {
1729
+ hash: string;
1730
+ profile: {
1731
+ first_name: string | null;
1732
+ last_name: string | null;
1733
+ birth_date: string | null;
1734
+ email: string | null;
1735
+ phone: string | null;
1736
+ phone_prefix: string | null;
1737
+ gender: "male" | "female" | null;
1738
+ billing: {
1739
+ country_code: string | null;
1740
+ tax_id: string | null;
1741
+ address: string | null;
1742
+ region: string | null;
1743
+ postal_code: string | null;
1744
+ };
1745
+ };
1746
+ }>;
1747
+ type GetPatientProfileResponse = z.infer<typeof GetPatientProfileResponseSchema>;
1748
+ declare const AcceptLegalConsentRequestSchema: z.ZodObject<{
1749
+ terms_accepted: z.ZodBoolean;
1750
+ privacy_accepted: z.ZodBoolean;
1751
+ commercial_accepted: z.ZodBoolean;
1752
+ }, "strip", z.ZodTypeAny, {
1753
+ terms_accepted: boolean;
1754
+ privacy_accepted: boolean;
1755
+ commercial_accepted: boolean;
1756
+ }, {
1757
+ terms_accepted: boolean;
1758
+ privacy_accepted: boolean;
1759
+ commercial_accepted: boolean;
1760
+ }>;
1761
+ type AcceptLegalConsentRequest = z.infer<typeof AcceptLegalConsentRequestSchema>;
1762
+ declare const GetProfessionalPublicProfileRequestSchema: z.ZodObject<{
1763
+ hash: z.ZodString;
1764
+ }, "strip", z.ZodTypeAny, {
1765
+ hash: string;
1766
+ }, {
1767
+ hash: string;
1768
+ }>;
1769
+ type GetProfessionalPublicProfileRequest = z.infer<typeof GetProfessionalPublicProfileRequestSchema>;
1770
+ declare const GetProfessionalPublicProfileResponseSchema: z.ZodObject<{
1771
+ id: z.ZodNumber;
1772
+ hash: z.ZodString;
1773
+ speciality_alias: z.ZodString;
1774
+ name: z.ZodString;
1775
+ avatar: z.ZodString;
1776
+ description: z.ZodString;
1777
+ collegiate_number: z.ZodString;
1778
+ languages: z.ZodArray<z.ZodString, "many">;
1779
+ centers: z.ZodArray<z.ZodObject<{
1780
+ id: z.ZodString;
1781
+ name: z.ZodString;
1782
+ }, "strip", z.ZodTypeAny, {
1783
+ id: string;
1784
+ name: string;
1785
+ }, {
1786
+ id: string;
1787
+ name: string;
1788
+ }>, "many">;
1789
+ }, "strip", z.ZodTypeAny, {
1790
+ id: number;
1791
+ hash: string;
1792
+ name: string;
1793
+ avatar: string;
1794
+ collegiate_number: string;
1795
+ languages: string[];
1796
+ description: string;
1797
+ speciality_alias: string;
1798
+ centers: {
1799
+ id: string;
1800
+ name: string;
1801
+ }[];
1802
+ }, {
1803
+ id: number;
1804
+ hash: string;
1805
+ name: string;
1806
+ avatar: string;
1807
+ collegiate_number: string;
1808
+ languages: string[];
1809
+ description: string;
1810
+ speciality_alias: string;
1811
+ centers: {
1812
+ id: string;
1813
+ name: string;
1814
+ }[];
1815
+ }>;
1816
+ type GetProfessionalPublicProfileResponse = z.infer<typeof GetProfessionalPublicProfileResponseSchema>;
1817
+
1818
+ declare const StringMessageSchema: z.ZodObject<{
1819
+ roomId: z.ZodNumber;
1820
+ messageId: z.ZodString;
1821
+ string: z.ZodString;
1822
+ status: z.ZodNumber;
1823
+ senderType: z.ZodEnum<["ordinary", "system"]>;
1824
+ fromUserHash: z.ZodString;
1825
+ auto: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
1826
+ createdAt: z.ZodNullable<z.ZodString>;
1827
+ deletedAt: z.ZodNullable<z.ZodString>;
1828
+ time: z.ZodNullable<z.ZodNumber>;
1829
+ } & {
1830
+ type: z.ZodLiteral<"string">;
1831
+ attachment: z.ZodNull;
1832
+ }, "strip", z.ZodTypeAny, {
1833
+ string: string;
1834
+ type: "string";
1835
+ status: number;
1836
+ roomId: number;
1837
+ messageId: string;
1838
+ senderType: "ordinary" | "system";
1839
+ fromUserHash: string;
1840
+ auto: 0 | 1;
1841
+ createdAt: string | null;
1842
+ deletedAt: string | null;
1843
+ time: number | null;
1844
+ attachment: null;
1845
+ }, {
1846
+ string: string;
1847
+ type: "string";
1848
+ status: number;
1849
+ roomId: number;
1850
+ messageId: string;
1851
+ senderType: "ordinary" | "system";
1852
+ fromUserHash: string;
1853
+ auto: 0 | 1;
1854
+ createdAt: string | null;
1855
+ deletedAt: string | null;
1856
+ time: number | null;
1857
+ attachment: null;
1858
+ }>;
1859
+ declare const FileMessageSchema: z.ZodObject<{
1860
+ roomId: z.ZodNumber;
1861
+ messageId: z.ZodString;
1862
+ string: z.ZodString;
1863
+ status: z.ZodNumber;
1864
+ senderType: z.ZodEnum<["ordinary", "system"]>;
1865
+ fromUserHash: z.ZodString;
1866
+ auto: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
1867
+ createdAt: z.ZodNullable<z.ZodString>;
1868
+ deletedAt: z.ZodNullable<z.ZodString>;
1869
+ time: z.ZodNullable<z.ZodNumber>;
1870
+ } & {
1871
+ type: z.ZodLiteral<"file">;
1872
+ attachment: z.ZodObject<{
1873
+ file_name: z.ZodString;
1874
+ file_size: z.ZodNumber;
1875
+ url: z.ZodString;
1876
+ signed_url: z.ZodNullable<z.ZodString>;
1877
+ type: z.ZodEnum<["uncategorized", "voice_note"]>;
1878
+ meta: z.ZodObject<{
1879
+ duration: z.ZodNumber;
1880
+ }, "strip", z.ZodTypeAny, {
1881
+ duration: number;
1882
+ }, {
1883
+ duration: number;
1884
+ }>;
1885
+ }, "strip", z.ZodTypeAny, {
1886
+ url: string;
1887
+ type: "uncategorized" | "voice_note";
1888
+ file_name: string;
1889
+ meta: {
1890
+ duration: number;
1891
+ };
1892
+ file_size: number;
1893
+ signed_url: string | null;
1894
+ }, {
1895
+ url: string;
1896
+ type: "uncategorized" | "voice_note";
1897
+ file_name: string;
1898
+ meta: {
1899
+ duration: number;
1900
+ };
1901
+ file_size: number;
1902
+ signed_url: string | null;
1903
+ }>;
1904
+ }, "strip", z.ZodTypeAny, {
1905
+ string: string;
1906
+ type: "file";
1907
+ status: number;
1908
+ roomId: number;
1909
+ messageId: string;
1910
+ senderType: "ordinary" | "system";
1911
+ fromUserHash: string;
1912
+ auto: 0 | 1;
1913
+ createdAt: string | null;
1914
+ deletedAt: string | null;
1915
+ time: number | null;
1916
+ attachment: {
1917
+ url: string;
1918
+ type: "uncategorized" | "voice_note";
1919
+ file_name: string;
1920
+ meta: {
1921
+ duration: number;
1922
+ };
1923
+ file_size: number;
1924
+ signed_url: string | null;
1925
+ };
1926
+ }, {
1927
+ string: string;
1928
+ type: "file";
1929
+ status: number;
1930
+ roomId: number;
1931
+ messageId: string;
1932
+ senderType: "ordinary" | "system";
1933
+ fromUserHash: string;
1934
+ auto: 0 | 1;
1935
+ createdAt: string | null;
1936
+ deletedAt: string | null;
1937
+ time: number | null;
1938
+ attachment: {
1939
+ url: string;
1940
+ type: "uncategorized" | "voice_note";
1941
+ file_name: string;
1942
+ meta: {
1943
+ duration: number;
1944
+ };
1945
+ file_size: number;
1946
+ signed_url: string | null;
1947
+ };
1948
+ }>;
1949
+ declare const ImageMessageSchema: z.ZodObject<{
1950
+ roomId: z.ZodNumber;
1951
+ messageId: z.ZodString;
1952
+ string: z.ZodString;
1953
+ status: z.ZodNumber;
1954
+ senderType: z.ZodEnum<["ordinary", "system"]>;
1955
+ fromUserHash: z.ZodString;
1956
+ auto: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
1957
+ createdAt: z.ZodNullable<z.ZodString>;
1958
+ deletedAt: z.ZodNullable<z.ZodString>;
1959
+ time: z.ZodNullable<z.ZodNumber>;
1960
+ } & {
1961
+ type: z.ZodLiteral<"image">;
1962
+ attachment: z.ZodObject<{
1963
+ file_name: z.ZodString;
1964
+ file_size: z.ZodNumber;
1965
+ url: z.ZodString;
1966
+ signed_url: z.ZodNullable<z.ZodString>;
1967
+ type: z.ZodEnum<["uncategorized", "voice_note"]>;
1968
+ meta: z.ZodObject<{
1969
+ duration: z.ZodNumber;
1970
+ }, "strip", z.ZodTypeAny, {
1971
+ duration: number;
1972
+ }, {
1973
+ duration: number;
1974
+ }>;
1975
+ }, "strip", z.ZodTypeAny, {
1976
+ url: string;
1977
+ type: "uncategorized" | "voice_note";
1978
+ file_name: string;
1979
+ meta: {
1980
+ duration: number;
1981
+ };
1982
+ file_size: number;
1983
+ signed_url: string | null;
1984
+ }, {
1985
+ url: string;
1986
+ type: "uncategorized" | "voice_note";
1987
+ file_name: string;
1988
+ meta: {
1989
+ duration: number;
1990
+ };
1991
+ file_size: number;
1992
+ signed_url: string | null;
1993
+ }>;
1994
+ }, "strip", z.ZodTypeAny, {
1995
+ string: string;
1996
+ type: "image";
1997
+ status: number;
1998
+ roomId: number;
1999
+ messageId: string;
2000
+ senderType: "ordinary" | "system";
2001
+ fromUserHash: string;
2002
+ auto: 0 | 1;
2003
+ createdAt: string | null;
2004
+ deletedAt: string | null;
2005
+ time: number | null;
2006
+ attachment: {
2007
+ url: string;
2008
+ type: "uncategorized" | "voice_note";
2009
+ file_name: string;
2010
+ meta: {
2011
+ duration: number;
2012
+ };
2013
+ file_size: number;
2014
+ signed_url: string | null;
2015
+ };
2016
+ }, {
2017
+ string: string;
2018
+ type: "image";
2019
+ status: number;
2020
+ roomId: number;
2021
+ messageId: string;
2022
+ senderType: "ordinary" | "system";
2023
+ fromUserHash: string;
2024
+ auto: 0 | 1;
2025
+ createdAt: string | null;
2026
+ deletedAt: string | null;
2027
+ time: number | null;
2028
+ attachment: {
2029
+ url: string;
2030
+ type: "uncategorized" | "voice_note";
2031
+ file_name: string;
2032
+ meta: {
2033
+ duration: number;
2034
+ };
2035
+ file_size: number;
2036
+ signed_url: string | null;
2037
+ };
2038
+ }>;
2039
+ declare const GetRoomMessagesRequestSchema: z.ZodObject<{
2040
+ roomId: z.ZodNumber;
2041
+ }, "strip", z.ZodTypeAny, {
2042
+ roomId: number;
2043
+ }, {
2044
+ roomId: number;
2045
+ }>;
2046
+ type GetRoomMessagesRequest = z.infer<typeof GetRoomMessagesRequestSchema>;
2047
+ declare const GetRoomMessagesResponseSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2048
+ roomId: z.ZodNumber;
2049
+ messageId: z.ZodString;
2050
+ string: z.ZodString;
2051
+ status: z.ZodNumber;
2052
+ senderType: z.ZodEnum<["ordinary", "system"]>;
2053
+ fromUserHash: z.ZodString;
2054
+ auto: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
2055
+ createdAt: z.ZodNullable<z.ZodString>;
2056
+ deletedAt: z.ZodNullable<z.ZodString>;
2057
+ time: z.ZodNullable<z.ZodNumber>;
2058
+ } & {
2059
+ type: z.ZodLiteral<"string">;
2060
+ attachment: z.ZodNull;
2061
+ }, "strip", z.ZodTypeAny, {
2062
+ string: string;
2063
+ type: "string";
2064
+ status: number;
2065
+ roomId: number;
2066
+ messageId: string;
2067
+ senderType: "ordinary" | "system";
2068
+ fromUserHash: string;
2069
+ auto: 0 | 1;
2070
+ createdAt: string | null;
2071
+ deletedAt: string | null;
2072
+ time: number | null;
2073
+ attachment: null;
2074
+ }, {
2075
+ string: string;
2076
+ type: "string";
2077
+ status: number;
2078
+ roomId: number;
2079
+ messageId: string;
2080
+ senderType: "ordinary" | "system";
2081
+ fromUserHash: string;
2082
+ auto: 0 | 1;
2083
+ createdAt: string | null;
2084
+ deletedAt: string | null;
2085
+ time: number | null;
2086
+ attachment: null;
2087
+ }>, z.ZodObject<{
2088
+ roomId: z.ZodNumber;
2089
+ messageId: z.ZodString;
2090
+ string: z.ZodString;
2091
+ status: z.ZodNumber;
2092
+ senderType: z.ZodEnum<["ordinary", "system"]>;
2093
+ fromUserHash: z.ZodString;
2094
+ auto: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
2095
+ createdAt: z.ZodNullable<z.ZodString>;
2096
+ deletedAt: z.ZodNullable<z.ZodString>;
2097
+ time: z.ZodNullable<z.ZodNumber>;
2098
+ } & {
2099
+ type: z.ZodLiteral<"file">;
2100
+ attachment: z.ZodObject<{
2101
+ file_name: z.ZodString;
2102
+ file_size: z.ZodNumber;
2103
+ url: z.ZodString;
2104
+ signed_url: z.ZodNullable<z.ZodString>;
2105
+ type: z.ZodEnum<["uncategorized", "voice_note"]>;
2106
+ meta: z.ZodObject<{
2107
+ duration: z.ZodNumber;
2108
+ }, "strip", z.ZodTypeAny, {
2109
+ duration: number;
2110
+ }, {
2111
+ duration: number;
2112
+ }>;
2113
+ }, "strip", z.ZodTypeAny, {
2114
+ url: string;
2115
+ type: "uncategorized" | "voice_note";
2116
+ file_name: string;
2117
+ meta: {
2118
+ duration: number;
2119
+ };
2120
+ file_size: number;
2121
+ signed_url: string | null;
2122
+ }, {
2123
+ url: string;
2124
+ type: "uncategorized" | "voice_note";
2125
+ file_name: string;
2126
+ meta: {
2127
+ duration: number;
2128
+ };
2129
+ file_size: number;
2130
+ signed_url: string | null;
2131
+ }>;
2132
+ }, "strip", z.ZodTypeAny, {
2133
+ string: string;
2134
+ type: "file";
2135
+ status: number;
2136
+ roomId: number;
2137
+ messageId: string;
2138
+ senderType: "ordinary" | "system";
2139
+ fromUserHash: string;
2140
+ auto: 0 | 1;
2141
+ createdAt: string | null;
2142
+ deletedAt: string | null;
2143
+ time: number | null;
2144
+ attachment: {
2145
+ url: string;
2146
+ type: "uncategorized" | "voice_note";
2147
+ file_name: string;
2148
+ meta: {
2149
+ duration: number;
2150
+ };
2151
+ file_size: number;
2152
+ signed_url: string | null;
2153
+ };
2154
+ }, {
2155
+ string: string;
2156
+ type: "file";
2157
+ status: number;
2158
+ roomId: number;
2159
+ messageId: string;
2160
+ senderType: "ordinary" | "system";
2161
+ fromUserHash: string;
2162
+ auto: 0 | 1;
2163
+ createdAt: string | null;
2164
+ deletedAt: string | null;
2165
+ time: number | null;
2166
+ attachment: {
2167
+ url: string;
2168
+ type: "uncategorized" | "voice_note";
2169
+ file_name: string;
2170
+ meta: {
2171
+ duration: number;
2172
+ };
2173
+ file_size: number;
2174
+ signed_url: string | null;
2175
+ };
2176
+ }>, z.ZodObject<{
2177
+ roomId: z.ZodNumber;
2178
+ messageId: z.ZodString;
2179
+ string: z.ZodString;
2180
+ status: z.ZodNumber;
2181
+ senderType: z.ZodEnum<["ordinary", "system"]>;
2182
+ fromUserHash: z.ZodString;
2183
+ auto: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
2184
+ createdAt: z.ZodNullable<z.ZodString>;
2185
+ deletedAt: z.ZodNullable<z.ZodString>;
2186
+ time: z.ZodNullable<z.ZodNumber>;
2187
+ } & {
2188
+ type: z.ZodLiteral<"image">;
2189
+ attachment: z.ZodObject<{
2190
+ file_name: z.ZodString;
2191
+ file_size: z.ZodNumber;
2192
+ url: z.ZodString;
2193
+ signed_url: z.ZodNullable<z.ZodString>;
2194
+ type: z.ZodEnum<["uncategorized", "voice_note"]>;
2195
+ meta: z.ZodObject<{
2196
+ duration: z.ZodNumber;
2197
+ }, "strip", z.ZodTypeAny, {
2198
+ duration: number;
2199
+ }, {
2200
+ duration: number;
2201
+ }>;
2202
+ }, "strip", z.ZodTypeAny, {
2203
+ url: string;
2204
+ type: "uncategorized" | "voice_note";
2205
+ file_name: string;
2206
+ meta: {
2207
+ duration: number;
2208
+ };
2209
+ file_size: number;
2210
+ signed_url: string | null;
2211
+ }, {
2212
+ url: string;
2213
+ type: "uncategorized" | "voice_note";
2214
+ file_name: string;
2215
+ meta: {
2216
+ duration: number;
2217
+ };
2218
+ file_size: number;
2219
+ signed_url: string | null;
2220
+ }>;
2221
+ }, "strip", z.ZodTypeAny, {
2222
+ string: string;
2223
+ type: "image";
2224
+ status: number;
2225
+ roomId: number;
2226
+ messageId: string;
2227
+ senderType: "ordinary" | "system";
2228
+ fromUserHash: string;
2229
+ auto: 0 | 1;
2230
+ createdAt: string | null;
2231
+ deletedAt: string | null;
2232
+ time: number | null;
2233
+ attachment: {
2234
+ url: string;
2235
+ type: "uncategorized" | "voice_note";
2236
+ file_name: string;
2237
+ meta: {
2238
+ duration: number;
2239
+ };
2240
+ file_size: number;
2241
+ signed_url: string | null;
2242
+ };
2243
+ }, {
2244
+ string: string;
2245
+ type: "image";
2246
+ status: number;
2247
+ roomId: number;
2248
+ messageId: string;
2249
+ senderType: "ordinary" | "system";
2250
+ fromUserHash: string;
2251
+ auto: 0 | 1;
2252
+ createdAt: string | null;
2253
+ deletedAt: string | null;
2254
+ time: number | null;
2255
+ attachment: {
2256
+ url: string;
2257
+ type: "uncategorized" | "voice_note";
2258
+ file_name: string;
2259
+ meta: {
2260
+ duration: number;
2261
+ };
2262
+ file_size: number;
2263
+ signed_url: string | null;
2264
+ };
2265
+ }>]>, "many">;
2266
+ type GetRoomMessagesResponse = z.infer<typeof GetRoomMessagesResponseSchema>;
2267
+ declare const GetUnreadMessagesCountRequestSchema: z.ZodObject<{
2268
+ roomId: z.ZodNumber;
2269
+ }, "strip", z.ZodTypeAny, {
2270
+ roomId: number;
2271
+ }, {
2272
+ roomId: number;
2273
+ }>;
2274
+ type GetUnreadMessagesCountRequest = z.infer<typeof GetUnreadMessagesCountRequestSchema>;
2275
+ declare const GetUnreadMessagesCountResponseSchema: z.ZodObject<{
2276
+ unread_count: z.ZodNumber;
2277
+ }, "strip", z.ZodTypeAny, {
2278
+ unread_count: number;
2279
+ }, {
2280
+ unread_count: number;
2281
+ }>;
2282
+ type GetUnreadMessagesCountResponse = z.infer<typeof GetUnreadMessagesCountResponseSchema>;
2283
+ declare const CreateSupportRoomRequestSchema: z.ZodObject<{
2284
+ professional_hash: z.ZodString;
2285
+ }, "strip", z.ZodTypeAny, {
2286
+ professional_hash: string;
2287
+ }, {
2288
+ professional_hash: string;
2289
+ }>;
2290
+ type CreateSupportRoomRequest = z.infer<typeof CreateSupportRoomRequestSchema>;
2291
+ declare const CreateSupportRoomResponseSchema: z.ZodObject<{
2292
+ room_id: z.ZodNumber;
2293
+ }, "strip", z.ZodTypeAny, {
2294
+ room_id: number;
2295
+ }, {
2296
+ room_id: number;
2297
+ }>;
2298
+ type CreateSupportRoomResponse = z.infer<typeof CreateSupportRoomResponseSchema>;
2299
+ type StringMessage = z.infer<typeof StringMessageSchema>;
2300
+ type FileMessage = z.infer<typeof FileMessageSchema>;
2301
+ type ImageMessage = z.infer<typeof ImageMessageSchema>;
2302
+ type Message = StringMessage | FileMessage | ImageMessage;
2303
+
2304
+ declare const GetScheduleServicesResponseSchema: z$1.ZodArray<z$1.ZodObject<{
2305
+ id: z$1.ZodString;
2306
+ name: z$1.ZodString;
2307
+ code: z$1.ZodString;
2308
+ channel: z$1.ZodEnum<["videocall", "chat", "phonecall"]>;
2309
+ price: z$1.ZodNullable<z$1.ZodObject<{
2310
+ /** Smallest currency unit (e.g. cents for EUR/USD). */
2311
+ amount: z$1.ZodNumber;
2312
+ currency: z$1.ZodString;
2313
+ }, "strip", z$1.ZodTypeAny, {
2314
+ currency: string;
2315
+ amount: number;
2316
+ }, {
2317
+ currency: string;
2318
+ amount: number;
2319
+ }>>;
2320
+ }, "strip", z$1.ZodTypeAny, {
2321
+ code: string;
2322
+ id: string;
2323
+ channel: "videocall" | "chat" | "phonecall";
2324
+ name: string;
2325
+ price: {
2326
+ currency: string;
2327
+ amount: number;
2328
+ } | null;
2329
+ }, {
2330
+ code: string;
2331
+ id: string;
2332
+ channel: "videocall" | "chat" | "phonecall";
2333
+ name: string;
2334
+ price: {
2335
+ currency: string;
2336
+ amount: number;
2337
+ } | null;
2338
+ }>, "many">;
2339
+ type GetScheduleServicesResponse = z$1.infer<typeof GetScheduleServicesResponseSchema>;
2340
+ declare const ScheduleProfessionalSchema: z$1.ZodObject<{
2341
+ id: z$1.ZodString;
2342
+ avatar: z$1.ZodNullable<z$1.ZodString>;
2343
+ description: z$1.ZodNullable<z$1.ZodString>;
2344
+ collegiate_number: z$1.ZodNullable<z$1.ZodString>;
2345
+ languages: z$1.ZodArray<z$1.ZodString, "many">;
2346
+ name: z$1.ZodString;
2347
+ slots: z$1.ZodArray<z$1.ZodObject<{
2348
+ id: z$1.ZodString;
2349
+ channel: z$1.ZodEnum<["videocall", "chat", "phonecall"]>;
2350
+ duration: z$1.ZodNumber;
2351
+ starts_at: z$1.ZodString;
2352
+ finishes_at: z$1.ZodString;
2353
+ professional: z$1.ZodObject<{
2354
+ id: z$1.ZodString;
2355
+ name: z$1.ZodString;
2356
+ }, "strip", z$1.ZodTypeAny, {
2357
+ id: string;
2358
+ name: string;
2359
+ }, {
2360
+ id: string;
2361
+ name: string;
2362
+ }>;
2363
+ services: z$1.ZodArray<z$1.ZodObject<{
2364
+ id: z$1.ZodString;
2365
+ name: z$1.ZodString;
2366
+ }, "strip", z$1.ZodTypeAny, {
2367
+ id: string;
2368
+ name: string;
2369
+ }, {
2370
+ id: string;
2371
+ name: string;
2372
+ }>, "many">;
2373
+ speciality: z$1.ZodObject<{
2374
+ id: z$1.ZodNumber;
2375
+ price: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
2376
+ amount: z$1.ZodNumber;
2377
+ currency: z$1.ZodString;
2378
+ }, "strip", z$1.ZodTypeAny, {
2379
+ currency: string;
2380
+ amount: number;
2381
+ }, {
2382
+ currency: string;
2383
+ amount: number;
2384
+ }>>>;
2385
+ }, "strip", z$1.ZodTypeAny, {
2386
+ id: number;
2387
+ price?: {
2388
+ currency: string;
2389
+ amount: number;
2390
+ } | null | undefined;
2391
+ }, {
2392
+ id: number;
2393
+ price?: {
2394
+ currency: string;
2395
+ amount: number;
2396
+ } | null | undefined;
2397
+ }>;
2398
+ status: z$1.ZodEnum<["available", "reserved"]>;
2399
+ payable_reference: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
2400
+ }, "strip", z$1.ZodTypeAny, {
2401
+ status: "available" | "reserved";
2402
+ id: string;
2403
+ channel: "videocall" | "chat" | "phonecall";
2404
+ duration: number;
2405
+ speciality: {
2406
+ id: number;
2407
+ price?: {
2408
+ currency: string;
2409
+ amount: number;
2410
+ } | null | undefined;
2411
+ };
2412
+ starts_at: string;
2413
+ professional: {
2414
+ id: string;
2415
+ name: string;
2416
+ };
2417
+ finishes_at: string;
2418
+ services: {
2419
+ id: string;
2420
+ name: string;
2421
+ }[];
2422
+ payable_reference?: string | null | undefined;
2423
+ }, {
2424
+ status: "available" | "reserved";
2425
+ id: string;
2426
+ channel: "videocall" | "chat" | "phonecall";
2427
+ duration: number;
2428
+ speciality: {
2429
+ id: number;
2430
+ price?: {
2431
+ currency: string;
2432
+ amount: number;
2433
+ } | null | undefined;
2434
+ };
2435
+ starts_at: string;
2436
+ professional: {
2437
+ id: string;
2438
+ name: string;
2439
+ };
2440
+ finishes_at: string;
2441
+ services: {
2442
+ id: string;
2443
+ name: string;
2444
+ }[];
2445
+ payable_reference?: string | null | undefined;
2446
+ }>, "many">;
2447
+ speciality: z$1.ZodObject<{
2448
+ id: z$1.ZodNumber;
2449
+ }, "strip", z$1.ZodTypeAny, {
2450
+ id: number;
2451
+ }, {
2452
+ id: number;
2453
+ }>;
2454
+ tax_id: z$1.ZodNullable<z$1.ZodString>;
2455
+ }, "strip", z$1.ZodTypeAny, {
2456
+ id: string;
2457
+ name: string;
2458
+ avatar: string | null;
2459
+ speciality: {
2460
+ id: number;
2461
+ };
2462
+ collegiate_number: string | null;
2463
+ languages: string[];
2464
+ description: string | null;
2465
+ slots: {
2466
+ status: "available" | "reserved";
2467
+ id: string;
2468
+ channel: "videocall" | "chat" | "phonecall";
2469
+ duration: number;
2470
+ speciality: {
2471
+ id: number;
2472
+ price?: {
2473
+ currency: string;
2474
+ amount: number;
2475
+ } | null | undefined;
2476
+ };
2477
+ starts_at: string;
2478
+ professional: {
2479
+ id: string;
2480
+ name: string;
2481
+ };
2482
+ finishes_at: string;
2483
+ services: {
2484
+ id: string;
2485
+ name: string;
2486
+ }[];
2487
+ payable_reference?: string | null | undefined;
2488
+ }[];
2489
+ tax_id: string | null;
2490
+ }, {
2491
+ id: string;
2492
+ name: string;
2493
+ avatar: string | null;
2494
+ speciality: {
2495
+ id: number;
2496
+ };
2497
+ collegiate_number: string | null;
2498
+ languages: string[];
2499
+ description: string | null;
2500
+ slots: {
2501
+ status: "available" | "reserved";
2502
+ id: string;
2503
+ channel: "videocall" | "chat" | "phonecall";
2504
+ duration: number;
2505
+ speciality: {
2506
+ id: number;
2507
+ price?: {
2508
+ currency: string;
2509
+ amount: number;
2510
+ } | null | undefined;
2511
+ };
2512
+ starts_at: string;
2513
+ professional: {
2514
+ id: string;
2515
+ name: string;
2516
+ };
2517
+ finishes_at: string;
2518
+ services: {
2519
+ id: string;
2520
+ name: string;
2521
+ }[];
2522
+ payable_reference?: string | null | undefined;
2523
+ }[];
2524
+ tax_id: string | null;
2525
+ }>;
2526
+ type ScheduleProfessional = z$1.infer<typeof ScheduleProfessionalSchema>;
2527
+ declare const GetProfessionalsBySpecialtyAndServiceResponseSchema: z$1.ZodObject<{
2528
+ data: z$1.ZodArray<z$1.ZodObject<{
2529
+ id: z$1.ZodString;
2530
+ avatar: z$1.ZodNullable<z$1.ZodString>;
2531
+ description: z$1.ZodNullable<z$1.ZodString>;
2532
+ collegiate_number: z$1.ZodNullable<z$1.ZodString>;
2533
+ languages: z$1.ZodArray<z$1.ZodString, "many">;
2534
+ name: z$1.ZodString;
2535
+ slots: z$1.ZodArray<z$1.ZodObject<{
2536
+ id: z$1.ZodString;
2537
+ channel: z$1.ZodEnum<["videocall", "chat", "phonecall"]>;
2538
+ duration: z$1.ZodNumber;
2539
+ starts_at: z$1.ZodString;
2540
+ finishes_at: z$1.ZodString;
2541
+ professional: z$1.ZodObject<{
2542
+ id: z$1.ZodString;
2543
+ name: z$1.ZodString;
2544
+ }, "strip", z$1.ZodTypeAny, {
2545
+ id: string;
2546
+ name: string;
2547
+ }, {
2548
+ id: string;
2549
+ name: string;
2550
+ }>;
2551
+ services: z$1.ZodArray<z$1.ZodObject<{
2552
+ id: z$1.ZodString;
2553
+ name: z$1.ZodString;
2554
+ }, "strip", z$1.ZodTypeAny, {
2555
+ id: string;
2556
+ name: string;
2557
+ }, {
2558
+ id: string;
2559
+ name: string;
2560
+ }>, "many">;
2561
+ speciality: z$1.ZodObject<{
2562
+ id: z$1.ZodNumber;
2563
+ price: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
2564
+ amount: z$1.ZodNumber;
2565
+ currency: z$1.ZodString;
2566
+ }, "strip", z$1.ZodTypeAny, {
2567
+ currency: string;
2568
+ amount: number;
2569
+ }, {
2570
+ currency: string;
2571
+ amount: number;
2572
+ }>>>;
2573
+ }, "strip", z$1.ZodTypeAny, {
2574
+ id: number;
2575
+ price?: {
2576
+ currency: string;
2577
+ amount: number;
2578
+ } | null | undefined;
2579
+ }, {
2580
+ id: number;
2581
+ price?: {
2582
+ currency: string;
2583
+ amount: number;
2584
+ } | null | undefined;
2585
+ }>;
2586
+ status: z$1.ZodEnum<["available", "reserved"]>;
2587
+ payable_reference: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
2588
+ }, "strip", z$1.ZodTypeAny, {
2589
+ status: "available" | "reserved";
2590
+ id: string;
2591
+ channel: "videocall" | "chat" | "phonecall";
2592
+ duration: number;
2593
+ speciality: {
2594
+ id: number;
2595
+ price?: {
2596
+ currency: string;
2597
+ amount: number;
2598
+ } | null | undefined;
2599
+ };
2600
+ starts_at: string;
2601
+ professional: {
2602
+ id: string;
2603
+ name: string;
2604
+ };
2605
+ finishes_at: string;
2606
+ services: {
2607
+ id: string;
2608
+ name: string;
2609
+ }[];
2610
+ payable_reference?: string | null | undefined;
2611
+ }, {
2612
+ status: "available" | "reserved";
2613
+ id: string;
2614
+ channel: "videocall" | "chat" | "phonecall";
2615
+ duration: number;
2616
+ speciality: {
2617
+ id: number;
2618
+ price?: {
2619
+ currency: string;
2620
+ amount: number;
2621
+ } | null | undefined;
2622
+ };
2623
+ starts_at: string;
2624
+ professional: {
2625
+ id: string;
2626
+ name: string;
2627
+ };
2628
+ finishes_at: string;
2629
+ services: {
2630
+ id: string;
2631
+ name: string;
2632
+ }[];
2633
+ payable_reference?: string | null | undefined;
2634
+ }>, "many">;
2635
+ speciality: z$1.ZodObject<{
2636
+ id: z$1.ZodNumber;
2637
+ }, "strip", z$1.ZodTypeAny, {
2638
+ id: number;
2639
+ }, {
2640
+ id: number;
2641
+ }>;
2642
+ tax_id: z$1.ZodNullable<z$1.ZodString>;
2643
+ }, "strip", z$1.ZodTypeAny, {
2644
+ id: string;
2645
+ name: string;
2646
+ avatar: string | null;
2647
+ speciality: {
2648
+ id: number;
2649
+ };
2650
+ collegiate_number: string | null;
2651
+ languages: string[];
2652
+ description: string | null;
2653
+ slots: {
2654
+ status: "available" | "reserved";
2655
+ id: string;
2656
+ channel: "videocall" | "chat" | "phonecall";
2657
+ duration: number;
2658
+ speciality: {
2659
+ id: number;
2660
+ price?: {
2661
+ currency: string;
2662
+ amount: number;
2663
+ } | null | undefined;
2664
+ };
2665
+ starts_at: string;
2666
+ professional: {
2667
+ id: string;
2668
+ name: string;
2669
+ };
2670
+ finishes_at: string;
2671
+ services: {
2672
+ id: string;
2673
+ name: string;
2674
+ }[];
2675
+ payable_reference?: string | null | undefined;
2676
+ }[];
2677
+ tax_id: string | null;
2678
+ }, {
2679
+ id: string;
2680
+ name: string;
2681
+ avatar: string | null;
2682
+ speciality: {
2683
+ id: number;
2684
+ };
2685
+ collegiate_number: string | null;
2686
+ languages: string[];
2687
+ description: string | null;
2688
+ slots: {
2689
+ status: "available" | "reserved";
2690
+ id: string;
2691
+ channel: "videocall" | "chat" | "phonecall";
2692
+ duration: number;
2693
+ speciality: {
2694
+ id: number;
2695
+ price?: {
2696
+ currency: string;
2697
+ amount: number;
2698
+ } | null | undefined;
2699
+ };
2700
+ starts_at: string;
2701
+ professional: {
2702
+ id: string;
2703
+ name: string;
2704
+ };
2705
+ finishes_at: string;
2706
+ services: {
2707
+ id: string;
2708
+ name: string;
2709
+ }[];
2710
+ payable_reference?: string | null | undefined;
2711
+ }[];
2712
+ tax_id: string | null;
2713
+ }>, "many">;
2714
+ meta: z$1.ZodOptional<z$1.ZodObject<{
2715
+ high_demand: z$1.ZodOptional<z$1.ZodBoolean>;
2716
+ }, "strip", z$1.ZodTypeAny, {
2717
+ high_demand?: boolean | undefined;
2718
+ }, {
2719
+ high_demand?: boolean | undefined;
2720
+ }>>;
2721
+ }, "strip", z$1.ZodTypeAny, {
2722
+ data: {
2723
+ id: string;
2724
+ name: string;
2725
+ avatar: string | null;
2726
+ speciality: {
2727
+ id: number;
2728
+ };
2729
+ collegiate_number: string | null;
2730
+ languages: string[];
2731
+ description: string | null;
2732
+ slots: {
2733
+ status: "available" | "reserved";
2734
+ id: string;
2735
+ channel: "videocall" | "chat" | "phonecall";
2736
+ duration: number;
2737
+ speciality: {
2738
+ id: number;
2739
+ price?: {
2740
+ currency: string;
2741
+ amount: number;
2742
+ } | null | undefined;
2743
+ };
2744
+ starts_at: string;
2745
+ professional: {
2746
+ id: string;
2747
+ name: string;
2748
+ };
2749
+ finishes_at: string;
2750
+ services: {
2751
+ id: string;
2752
+ name: string;
2753
+ }[];
2754
+ payable_reference?: string | null | undefined;
2755
+ }[];
2756
+ tax_id: string | null;
2757
+ }[];
2758
+ meta?: {
2759
+ high_demand?: boolean | undefined;
2760
+ } | undefined;
2761
+ }, {
2762
+ data: {
2763
+ id: string;
2764
+ name: string;
2765
+ avatar: string | null;
2766
+ speciality: {
2767
+ id: number;
2768
+ };
2769
+ collegiate_number: string | null;
2770
+ languages: string[];
2771
+ description: string | null;
2772
+ slots: {
2773
+ status: "available" | "reserved";
2774
+ id: string;
2775
+ channel: "videocall" | "chat" | "phonecall";
2776
+ duration: number;
2777
+ speciality: {
2778
+ id: number;
2779
+ price?: {
2780
+ currency: string;
2781
+ amount: number;
2782
+ } | null | undefined;
2783
+ };
2784
+ starts_at: string;
2785
+ professional: {
2786
+ id: string;
2787
+ name: string;
2788
+ };
2789
+ finishes_at: string;
2790
+ services: {
2791
+ id: string;
2792
+ name: string;
2793
+ }[];
2794
+ payable_reference?: string | null | undefined;
2795
+ }[];
2796
+ tax_id: string | null;
2797
+ }[];
2798
+ meta?: {
2799
+ high_demand?: boolean | undefined;
2800
+ } | undefined;
2801
+ }>;
2802
+ type GetProfessionalsBySpecialtyAndServiceResponse = z$1.infer<typeof GetProfessionalsBySpecialtyAndServiceResponseSchema>;
2803
+ declare const GetProfessionalsBySpecialtyAndServiceRequestSchema: z$1.ZodObject<{
2804
+ speciality_id: z$1.ZodNumber;
2805
+ organization_schedule_service_id: z$1.ZodString;
2806
+ closest_slots_days: z$1.ZodOptional<z$1.ZodNumber>;
2807
+ slots_per_day: z$1.ZodOptional<z$1.ZodNumber>;
2808
+ }, "strip", z$1.ZodTypeAny, {
2809
+ speciality_id: number;
2810
+ organization_schedule_service_id: string;
2811
+ closest_slots_days?: number | undefined;
2812
+ slots_per_day?: number | undefined;
2813
+ }, {
2814
+ speciality_id: number;
2815
+ organization_schedule_service_id: string;
2816
+ closest_slots_days?: number | undefined;
2817
+ slots_per_day?: number | undefined;
2818
+ }>;
2819
+ type GetProfessionalsBySpecialtyAndServiceRequest = z$1.infer<typeof GetProfessionalsBySpecialtyAndServiceRequestSchema>;
2820
+ declare const GetScheduleServiceProfessionalSlotsRequestSchema: z$1.ZodObject<{
2821
+ service_id: z$1.ZodString;
2822
+ professional_hash: z$1.ZodString;
2823
+ starts_at: z$1.ZodString;
2824
+ finishes_at: z$1.ZodString;
2825
+ /** Set only when rescheduling — id of the appointment being rescheduled. */
2826
+ rescheduling_appointment_id: z$1.ZodOptional<z$1.ZodString>;
2827
+ }, "strip", z$1.ZodTypeAny, {
2828
+ service_id: string;
2829
+ starts_at: string;
2830
+ professional_hash: string;
2831
+ finishes_at: string;
2832
+ rescheduling_appointment_id?: string | undefined;
2833
+ }, {
2834
+ service_id: string;
2835
+ starts_at: string;
2836
+ professional_hash: string;
2837
+ finishes_at: string;
2838
+ rescheduling_appointment_id?: string | undefined;
2839
+ }>;
2840
+ type GetScheduleServiceProfessionalSlotsRequest = z$1.infer<typeof GetScheduleServiceProfessionalSlotsRequestSchema>;
2841
+ declare const GetScheduleServiceProfessionalSlotsResponseSchema: z$1.ZodObject<{
2842
+ data: z$1.ZodArray<z$1.ZodObject<{
2843
+ id: z$1.ZodString;
2844
+ channel: z$1.ZodEnum<["videocall", "chat", "phonecall"]>;
2845
+ duration: z$1.ZodNumber;
2846
+ starts_at: z$1.ZodString;
2847
+ finishes_at: z$1.ZodString;
2848
+ professional: z$1.ZodObject<{
2849
+ id: z$1.ZodString;
2850
+ name: z$1.ZodString;
2851
+ }, "strip", z$1.ZodTypeAny, {
2852
+ id: string;
2853
+ name: string;
2854
+ }, {
2855
+ id: string;
2856
+ name: string;
2857
+ }>;
2858
+ services: z$1.ZodArray<z$1.ZodObject<{
2859
+ id: z$1.ZodString;
2860
+ name: z$1.ZodString;
2861
+ }, "strip", z$1.ZodTypeAny, {
2862
+ id: string;
2863
+ name: string;
2864
+ }, {
2865
+ id: string;
2866
+ name: string;
2867
+ }>, "many">;
2868
+ speciality: z$1.ZodObject<{
2869
+ id: z$1.ZodNumber;
2870
+ price: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
2871
+ amount: z$1.ZodNumber;
2872
+ currency: z$1.ZodString;
2873
+ }, "strip", z$1.ZodTypeAny, {
2874
+ currency: string;
2875
+ amount: number;
2876
+ }, {
2877
+ currency: string;
2878
+ amount: number;
2879
+ }>>>;
2880
+ }, "strip", z$1.ZodTypeAny, {
2881
+ id: number;
2882
+ price?: {
2883
+ currency: string;
2884
+ amount: number;
2885
+ } | null | undefined;
2886
+ }, {
2887
+ id: number;
2888
+ price?: {
2889
+ currency: string;
2890
+ amount: number;
2891
+ } | null | undefined;
2892
+ }>;
2893
+ status: z$1.ZodEnum<["available", "reserved"]>;
2894
+ payable_reference: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
2895
+ }, "strip", z$1.ZodTypeAny, {
2896
+ status: "available" | "reserved";
2897
+ id: string;
2898
+ channel: "videocall" | "chat" | "phonecall";
2899
+ duration: number;
2900
+ speciality: {
2901
+ id: number;
2902
+ price?: {
2903
+ currency: string;
2904
+ amount: number;
2905
+ } | null | undefined;
2906
+ };
2907
+ starts_at: string;
2908
+ professional: {
2909
+ id: string;
2910
+ name: string;
2911
+ };
2912
+ finishes_at: string;
2913
+ services: {
2914
+ id: string;
2915
+ name: string;
2916
+ }[];
2917
+ payable_reference?: string | null | undefined;
2918
+ }, {
2919
+ status: "available" | "reserved";
2920
+ id: string;
2921
+ channel: "videocall" | "chat" | "phonecall";
2922
+ duration: number;
2923
+ speciality: {
2924
+ id: number;
2925
+ price?: {
2926
+ currency: string;
2927
+ amount: number;
2928
+ } | null | undefined;
2929
+ };
2930
+ starts_at: string;
2931
+ professional: {
2932
+ id: string;
2933
+ name: string;
2934
+ };
2935
+ finishes_at: string;
2936
+ services: {
2937
+ id: string;
2938
+ name: string;
2939
+ }[];
2940
+ payable_reference?: string | null | undefined;
2941
+ }>, "many">;
2942
+ meta: z$1.ZodOptional<z$1.ZodObject<{
2943
+ high_demand: z$1.ZodOptional<z$1.ZodBoolean>;
2944
+ }, "strip", z$1.ZodTypeAny, {
2945
+ high_demand?: boolean | undefined;
2946
+ }, {
2947
+ high_demand?: boolean | undefined;
2948
+ }>>;
2949
+ }, "strip", z$1.ZodTypeAny, {
2950
+ data: {
2951
+ status: "available" | "reserved";
2952
+ id: string;
2953
+ channel: "videocall" | "chat" | "phonecall";
2954
+ duration: number;
2955
+ speciality: {
2956
+ id: number;
2957
+ price?: {
2958
+ currency: string;
2959
+ amount: number;
2960
+ } | null | undefined;
2961
+ };
2962
+ starts_at: string;
2963
+ professional: {
2964
+ id: string;
2965
+ name: string;
2966
+ };
2967
+ finishes_at: string;
2968
+ services: {
2969
+ id: string;
2970
+ name: string;
2971
+ }[];
2972
+ payable_reference?: string | null | undefined;
2973
+ }[];
2974
+ meta?: {
2975
+ high_demand?: boolean | undefined;
2976
+ } | undefined;
2977
+ }, {
2978
+ data: {
2979
+ status: "available" | "reserved";
2980
+ id: string;
2981
+ channel: "videocall" | "chat" | "phonecall";
2982
+ duration: number;
2983
+ speciality: {
2984
+ id: number;
2985
+ price?: {
2986
+ currency: string;
2987
+ amount: number;
2988
+ } | null | undefined;
2989
+ };
2990
+ starts_at: string;
2991
+ professional: {
2992
+ id: string;
2993
+ name: string;
2994
+ };
2995
+ finishes_at: string;
2996
+ services: {
2997
+ id: string;
2998
+ name: string;
2999
+ }[];
3000
+ payable_reference?: string | null | undefined;
3001
+ }[];
3002
+ meta?: {
3003
+ high_demand?: boolean | undefined;
3004
+ } | undefined;
3005
+ }>;
3006
+ type GetScheduleServiceProfessionalSlotsResponse = z$1.infer<typeof GetScheduleServiceProfessionalSlotsResponseSchema>;
3007
+ declare const GetScheduleServiceSpecialitiesResponseSchema: z$1.ZodArray<z$1.ZodObject<{
3008
+ id: z$1.ZodNumber;
3009
+ name: z$1.ZodString;
3010
+ code: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
3011
+ price: z$1.ZodNullable<z$1.ZodObject<{
3012
+ amount: z$1.ZodNumber;
3013
+ currency: z$1.ZodString;
3014
+ }, "strip", z$1.ZodTypeAny, {
3015
+ currency: string;
3016
+ amount: number;
3017
+ }, {
3018
+ currency: string;
3019
+ amount: number;
3020
+ }>>;
3021
+ }, "strip", z$1.ZodTypeAny, {
3022
+ id: number;
3023
+ name: string;
3024
+ price: {
3025
+ currency: string;
3026
+ amount: number;
3027
+ } | null;
3028
+ code?: string | null | undefined;
3029
+ }, {
3030
+ id: number;
3031
+ name: string;
3032
+ price: {
3033
+ currency: string;
3034
+ amount: number;
3035
+ } | null;
3036
+ code?: string | null | undefined;
3037
+ }>, "many">;
3038
+ type GetScheduleServiceSpecialitiesResponse = z$1.infer<typeof GetScheduleServiceSpecialitiesResponseSchema>;
3039
+ declare const GetScheduleSlotRequestSchema: z$1.ZodObject<{
3040
+ slot_id: z$1.ZodString;
3041
+ service_id: z$1.ZodOptional<z$1.ZodString>;
3042
+ speciality_id: z$1.ZodOptional<z$1.ZodNumber>;
3043
+ }, "strip", z$1.ZodTypeAny, {
3044
+ slot_id: string;
3045
+ speciality_id?: number | undefined;
3046
+ service_id?: string | undefined;
3047
+ }, {
3048
+ slot_id: string;
3049
+ speciality_id?: number | undefined;
3050
+ service_id?: string | undefined;
3051
+ }>;
3052
+ type GetScheduleSlotRequest = z$1.infer<typeof GetScheduleSlotRequestSchema>;
3053
+ declare const GetScheduleSlotResponseSchema: z$1.ZodObject<{
3054
+ id: z$1.ZodString;
3055
+ channel: z$1.ZodEnum<["videocall", "chat", "phonecall"]>;
3056
+ duration: z$1.ZodNumber;
3057
+ starts_at: z$1.ZodString;
3058
+ finishes_at: z$1.ZodString;
3059
+ professional: z$1.ZodObject<{
3060
+ id: z$1.ZodString;
3061
+ name: z$1.ZodString;
3062
+ }, "strip", z$1.ZodTypeAny, {
3063
+ id: string;
3064
+ name: string;
3065
+ }, {
3066
+ id: string;
3067
+ name: string;
3068
+ }>;
3069
+ services: z$1.ZodArray<z$1.ZodObject<{
3070
+ id: z$1.ZodString;
3071
+ name: z$1.ZodString;
3072
+ }, "strip", z$1.ZodTypeAny, {
3073
+ id: string;
3074
+ name: string;
3075
+ }, {
3076
+ id: string;
3077
+ name: string;
3078
+ }>, "many">;
3079
+ speciality: z$1.ZodObject<{
3080
+ id: z$1.ZodNumber;
3081
+ price: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
3082
+ amount: z$1.ZodNumber;
3083
+ currency: z$1.ZodString;
3084
+ }, "strip", z$1.ZodTypeAny, {
3085
+ currency: string;
3086
+ amount: number;
3087
+ }, {
3088
+ currency: string;
3089
+ amount: number;
3090
+ }>>>;
3091
+ }, "strip", z$1.ZodTypeAny, {
3092
+ id: number;
3093
+ price?: {
3094
+ currency: string;
3095
+ amount: number;
3096
+ } | null | undefined;
3097
+ }, {
3098
+ id: number;
3099
+ price?: {
3100
+ currency: string;
3101
+ amount: number;
3102
+ } | null | undefined;
3103
+ }>;
3104
+ status: z$1.ZodEnum<["available", "reserved"]>;
3105
+ payable_reference: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
3106
+ }, "strip", z$1.ZodTypeAny, {
3107
+ status: "available" | "reserved";
3108
+ id: string;
3109
+ channel: "videocall" | "chat" | "phonecall";
3110
+ duration: number;
3111
+ speciality: {
3112
+ id: number;
3113
+ price?: {
3114
+ currency: string;
3115
+ amount: number;
3116
+ } | null | undefined;
3117
+ };
3118
+ starts_at: string;
3119
+ professional: {
3120
+ id: string;
3121
+ name: string;
3122
+ };
3123
+ finishes_at: string;
3124
+ services: {
3125
+ id: string;
3126
+ name: string;
3127
+ }[];
3128
+ payable_reference?: string | null | undefined;
3129
+ }, {
3130
+ status: "available" | "reserved";
3131
+ id: string;
3132
+ channel: "videocall" | "chat" | "phonecall";
3133
+ duration: number;
3134
+ speciality: {
3135
+ id: number;
3136
+ price?: {
3137
+ currency: string;
3138
+ amount: number;
3139
+ } | null | undefined;
3140
+ };
3141
+ starts_at: string;
3142
+ professional: {
3143
+ id: string;
3144
+ name: string;
3145
+ };
3146
+ finishes_at: string;
3147
+ services: {
3148
+ id: string;
3149
+ name: string;
3150
+ }[];
3151
+ payable_reference?: string | null | undefined;
3152
+ }>;
3153
+ type GetScheduleSlotResponse = z$1.infer<typeof GetScheduleSlotResponseSchema>;
3154
+
3155
+ interface ValidateResponseOptions {
3156
+ debug?: boolean;
3157
+ }
3158
+ type ValidateFn = <T>(schema: ZodType<T>) => (response: {
3159
+ data: unknown;
3160
+ }) => T;
3161
+
3162
+ declare class ApiChatAppointmentsClient {
3163
+ private readonly httpClient;
3164
+ private readonly validate;
3165
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
3166
+ getAppointments(request: GetAppointmentsRequest): Promise<GetAppointmentsResponse>;
3167
+ createAppointment(request: CreateAppointmentRequest): Promise<CreateAppointmentResponse>;
3168
+ getAppointment(request: GetAppointmentRequest$1): Promise<GetAppointmentResponse$1>;
3169
+ getDocumentsStorage(): Promise<GetDocumentsStorageResponse>;
3170
+ rescheduleAppointment(request: RescheduleAppointmentRequest): Promise<void>;
3171
+ cancelAppointment(request: CancelAppointmentRequest): Promise<void>;
3172
+ updateAppointment(request: UpdateAppointmentRequest): Promise<void>;
3173
+ addDocument(request: AddDocumentRequest): Promise<void>;
3174
+ deleteDocument(request: DeleteDocumentRequest): Promise<void>;
3175
+ reconnectAppointment(request: ReconnectAppointmentRequest): Promise<void>;
3176
+ }
3177
+
3178
+ declare class ApiChatAuthClient {
3179
+ private readonly httpClient;
3180
+ private readonly validate;
3181
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
3182
+ loginToken(request: LoginTokenRequest): Promise<LoginTokenResponse>;
3183
+ }
3184
+
3185
+ declare class ApiChatConsultationsClient {
3186
+ private readonly httpClient;
3187
+ private readonly validate;
3188
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
3189
+ postReview(request: PostReviewRequest): Promise<void>;
3190
+ startChatConsultation(professionalHash: string): Promise<void>;
3191
+ getReview(consultationId: string): Promise<GetReviewResponse>;
3192
+ }
3193
+
3194
+ declare class ApiChatDocumentsClient {
3195
+ private readonly httpClient;
3196
+ private readonly validate;
3197
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
3198
+ uploadFile(request: UploadFileRequest): Promise<UploadFileResponse>;
3199
+ }
3200
+
3201
+ declare class ApiChatFlashClient {
3202
+ private readonly httpClient;
3203
+ private readonly validate;
3204
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
3205
+ getAppointment(request: GetAppointmentRequest): Promise<GetAppointmentResponse>;
3206
+ joinCall(request: JoinCallRequest): Promise<JoinCallResponse>;
3207
+ /**
3208
+ * A new empty session for the pre-call network test. Its token only works for
3209
+ * that session and lasts 10 minutes, so ask for one right before each test.
3210
+ */
3211
+ createNetworkTest(): Promise<CreateNetworkTestResponse>;
3212
+ setReady(request: SetReadyRequest): Promise<void>;
3213
+ leaveWaitingRoom(request: LeaveWaitingRoomRequest): Promise<void>;
3214
+ getSharedDocuments(request: GetSharedDocumentsRequest): Promise<GetSharedDocumentsResponse>;
3215
+ downloadDocument(request: DownloadDocumentRequest): Promise<Blob>;
3216
+ updatePatientProfile(request: UpdatePatientProfileRequest): Promise<void>;
3217
+ getPatientDocuments(request: GetPatientDocumentsRequest): Promise<GetPatientDocumentsResponse>;
3218
+ }
3219
+
3220
+ declare class ApiChatOrganizationsClient {
3221
+ private readonly httpClient;
3222
+ private readonly validate;
3223
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
3224
+ getOrganizationSpecialties(): Promise<GetOrganizationSpecialtiesResponse>;
3225
+ getOrganizationSetup(): Promise<GetOrganizationSetupResponse>;
3226
+ }
3227
+
3228
+ declare class ApiChatPaymentsClient {
3229
+ private readonly httpClient;
3230
+ private readonly validate;
3231
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
3232
+ createPaymentLink(request: CreatePaymentLinkRequest): Promise<CreatePaymentLinkResponse>;
3233
+ /**
3234
+ * Creates a payment session for a paid immediate videocall. Returns the same
3235
+ * `{ session_id, payment_link }` shape as `createPaymentLink`, so the
3236
+ * `mq-checkout` polling and hosted portal work without changes. Addon Payments
3237
+ * only; the videocall itself is created by the Addon webhook post-payment.
3238
+ */
3239
+ createImmediateVideocallPaymentLink(request: CreateImmediateVideocallPaymentLinkRequest): Promise<CreateImmediateVideocallPaymentLinkResponse>;
3240
+ createChatConsultationPaymentLink(request: CreateChatConsultationPaymentLinkRequest): Promise<CreateChatConsultationPaymentLinkResponse>;
3241
+ /**
3242
+ * Fetches a coupon by code, sending `amount` so the backend returns the
3243
+ * authoritative total. Rejects with 404 when the coupon is unavailable.
3244
+ */
3245
+ getConsultationCoupon(code: string, amount: number): Promise<GetConsultationCouponResponse>;
3246
+ /**
3247
+ * Fetches the coupon applied to a booked appointment, for the confirmation
3248
+ * view. Rejects with 404 when the appointment has no associated coupon /
3249
+ * payment intent.
3250
+ */
3251
+ getAppointmentConsultationCoupon(appointmentId: string): Promise<GetAppointmentConsultationCouponResponse>;
3252
+ getPaymentSession(sessionId: string): Promise<GetPaymentSessionResponse>;
3253
+ /**
3254
+ * Validates the merchant session with Apple.
3255
+ * The HTTP body is Apple's merchant session JSON at the root (passed verbatim
3256
+ * to `ApplePaySession.completeMerchantValidation`) — not a `{ data: … }` wrapper.
3257
+ */
3258
+ validateApplePayMerchant(request: ValidateApplePayMerchantRequest): Promise<ValidateApplePayMerchantResponse>;
3259
+ /**
3260
+ * Authorizes an Apple Pay payment token against the given order.
3261
+ */
3262
+ authorizeApplePay(request: AuthorizeApplePayRequest): Promise<AuthorizeApplePayResponse>;
3263
+ /**
3264
+ * Authorizes a Google Pay payment token against the given order.
3265
+ */
3266
+ authorizeGooglePay(request: AuthorizeGooglePayRequest): Promise<AuthorizeGooglePayResponse>;
3267
+ }
3268
+
3269
+ declare class ApiChatProfessionalsClient {
3270
+ private readonly httpClient;
3271
+ private readonly validate;
3272
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
3273
+ getProfessional(request: GetProfessionalRequest): Promise<GetProfessionalResponse>;
3274
+ readAllMessages(request: ReadAllMessagesRequest): Promise<void>;
3275
+ }
3276
+
3277
+ declare class ApiChatProfileClient {
3278
+ private readonly httpClient;
3279
+ private readonly validate;
3280
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
3281
+ getPatientProfile(): Promise<GetPatientProfileResponse>;
3282
+ getProfessionalPublicProfile(request: GetProfessionalPublicProfileRequest): Promise<GetProfessionalPublicProfileResponse>;
3283
+ acceptLegalConsent(request: AcceptLegalConsentRequest): Promise<void>;
3284
+ }
3285
+
3286
+ declare class ApiChatRoomsClient {
3287
+ private readonly httpClient;
3288
+ private readonly validate;
3289
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
3290
+ getRoomMessages(request: GetRoomMessagesRequest): Promise<GetRoomMessagesResponse>;
3291
+ getUnreadMessagesCount(request: GetUnreadMessagesCountRequest): Promise<GetUnreadMessagesCountResponse>;
3292
+ createSupportRoom(request: CreateSupportRoomRequest): Promise<CreateSupportRoomResponse>;
3293
+ }
3294
+
3295
+ declare class ApiChatSchedulesClient {
3296
+ private readonly httpClient;
3297
+ private readonly validate;
3298
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
3299
+ getScheduleServices(): Promise<GetScheduleServicesResponse>;
3300
+ getProfessionalsBySpecialtyAndService(request: GetProfessionalsBySpecialtyAndServiceRequest): Promise<GetProfessionalsBySpecialtyAndServiceResponse>;
3301
+ getScheduleServiceProfessionalSlots(request: GetScheduleServiceProfessionalSlotsRequest): Promise<GetScheduleServiceProfessionalSlotsResponse>;
3302
+ getScheduleServiceSpecialities(serviceId: string): Promise<GetScheduleServiceSpecialitiesResponse>;
3303
+ getScheduleSlot(request: GetScheduleSlotRequest): Promise<GetScheduleSlotResponse>;
3304
+ }
3305
+
3306
+ type Env = "development" | "production";
3307
+ interface ApiChatClientConfig extends ValidateResponseOptions {
3308
+ env?: Env;
3309
+ baseURL?: string;
3310
+ /** Organization this client speaks for. Sent as `x-api-key` on every request. */
3311
+ apiKey?: string;
3312
+ /** Patient session token. Sent as `Authorization: Bearer`. */
3313
+ token?: string;
3314
+ /** Sent as `Accept-Language`. */
3315
+ locale?: string;
3316
+ }
3317
+ declare class MediquoApiChatClient {
3318
+ private readonly httpClient;
3319
+ private _apiKey?;
3320
+ flash: ApiChatFlashClient;
3321
+ auth: ApiChatAuthClient;
3322
+ appointments: ApiChatAppointmentsClient;
3323
+ payments: ApiChatPaymentsClient;
3324
+ schedules: ApiChatSchedulesClient;
3325
+ organizations: ApiChatOrganizationsClient;
3326
+ profile: ApiChatProfileClient;
3327
+ professionals: ApiChatProfessionalsClient;
3328
+ rooms: ApiChatRoomsClient;
3329
+ documents: ApiChatDocumentsClient;
3330
+ consultations: ApiChatConsultationsClient;
3331
+ constructor({ env, baseURL, debug, apiKey, token, locale, }?: ApiChatClientConfig);
3332
+ /**
3333
+ * Sets the patient session token on this instance only.
3334
+ *
3335
+ * Prefer passing `token` to the constructor. This setter is for the flows
3336
+ * that only learn their token after an exchange (the checkouts log in with
3337
+ * the host's token and get a session back).
3338
+ */
3339
+ setAuthToken(token: string): void;
3340
+ /**
3341
+ * Sets the organization on this instance only.
3342
+ *
3343
+ * Prefer passing `apiKey` to the constructor: an owner that never mutates its
3344
+ * client cannot be caught mid-swap by an in-flight request.
3345
+ */
3346
+ setApiKey(apiKey: string): void;
3347
+ /** The organization this client speaks for, for callers that scope by it. */
3348
+ getApiKey(): string | undefined;
3349
+ setLanguage(language: string): void;
3350
+ }
3351
+
3352
+ export { MediquoApiChatClient as M };
3353
+ export type { FileMessage as F, GetAppointmentsResponse as G, ImageMessage as I, ScheduleProfessional as S, Message as a, GetOrganizationSetupResponse as b, GetScheduleServicesResponse as c };