@mediquo/elements 0.8.0 → 0.8.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/README.md +61 -5
  2. package/dist/chunks/action-unavailable-message-BIgsXk9u.js +1 -0
  3. package/dist/chunks/api-chat-client-CJ1EGJe3.js +1 -0
  4. package/dist/chunks/api-client-context-V1UAGtKW.js +1 -0
  5. package/dist/chunks/{apple-pay-outcomes-BpcbdGfO.js → apple-pay-outcomes-B1LrUXHR.js} +1 -1
  6. package/dist/chunks/appointment-action-unavailable-dialog-CTiL4nMo.d.ts +54 -0
  7. package/dist/chunks/{appointment-card-skeleton-B7dKtGv0.d.ts → appointment-card-skeleton-C2Sim4nR.d.ts} +5 -3
  8. package/dist/chunks/appointment-card-skeleton-D8gypuKh.js +1 -0
  9. package/dist/chunks/appointment-details-DXLBQnPN.js +1 -0
  10. package/dist/chunks/chunk-6CCJWPGL-TiaqZaPV.js +1 -0
  11. package/dist/chunks/{chunk-BUV4MGML-Bn3JWCAv.js → chunk-BUV4MGML-CkhBbfUu.js} +1 -1
  12. package/dist/chunks/chunk-HN62IQ7S-xbkIy7k_.js +1 -0
  13. package/dist/chunks/chunk-Y4EKUX25-QqMl3eiq.js +1 -0
  14. package/dist/chunks/consume-CovVqBjI.js +1 -0
  15. package/dist/chunks/{chunk-6CCJWPGL-DlOpbEYH.js → context-consumer-ESdICVAb.js} +1 -1
  16. package/dist/chunks/documentation-view-BbMbGneD.js +1 -0
  17. package/dist/chunks/{get-appointment-query-lJe75hGS.js → get-appointment-query-C-gTTuiQ.js} +1 -1
  18. package/dist/chunks/{get-organization-setup-query-DxHNY0w8.js → get-organization-setup-query-Dr1cXnHl.js} +1 -1
  19. package/dist/chunks/{get-patient-documents-query-D1SfC_k_.js → get-patient-documents-query-NC9xCa_N.js} +1 -1
  20. package/dist/chunks/{get-patient-profile-query-DiU2f_QH.js → get-patient-profile-query-4AO6xvVn.js} +1 -1
  21. package/dist/chunks/{get-schedule-services-query-Ckvz9Fqh.js → get-schedule-services-query-Fzvb9ug9.js} +1 -1
  22. package/dist/chunks/index-Bw-MbGKw.js +1 -0
  23. package/dist/chunks/{index-Ca-l41nB.js → index-CXb3gOFA.js} +1 -1
  24. package/dist/chunks/{index-63zQSBy4.js → index-CyteNROM.js} +1 -1
  25. package/dist/chunks/index-D6Hg-beW.js +1 -0
  26. package/dist/chunks/{index-CDBk7hVW.d.ts → index-DTEtqjQF.d.ts} +0 -13
  27. package/dist/chunks/{index-czcKClL3.d.ts → index-Dbbpnw8f.d.ts} +8 -0
  28. package/dist/chunks/index-DdkeWQrh.d.ts +53 -0
  29. package/dist/chunks/index-Nf3nZ9O3.d.ts +16 -0
  30. package/dist/chunks/index-iaTXVzFa.js +1 -0
  31. package/dist/chunks/index-uHvVQMNc.js +1 -0
  32. package/dist/chunks/index.d-XSe7Hy-Q.d.ts +2989 -0
  33. package/dist/chunks/login-token-task-Yib__6a9.js +1 -0
  34. package/dist/chunks/{mq-chat-room-CRPruRJD.d.ts → mq-chat-room-jeDvIF1Z.d.ts} +12 -227
  35. package/dist/chunks/mq-layout-E5mKSz4A.js +1 -0
  36. package/dist/chunks/{index-CSJzkkRA.d.ts → mq-layout-TG2K4zRv.d.ts} +20 -0
  37. package/dist/chunks/provide-BwI4DDGF.js +1 -0
  38. package/dist/chunks/query-controller-BlO1Ax65.js +1 -0
  39. package/dist/chunks/refund-cancel-policy-CcsJ-pMx.js +1 -0
  40. package/dist/chunks/{schemas.d-D7bCe24u.d.ts → schemas.d-b6_AekBb.d.ts} +12 -1
  41. package/dist/chunks/telemetry-client-7fvNqUSU.js +1 -0
  42. package/dist/env.js +1 -1
  43. package/dist/i18n.js +1 -1
  44. package/dist/mq-api-client-provider.d.ts +39 -0
  45. package/dist/mq-api-client-provider.js +1 -0
  46. package/dist/mq-apple-pay-checkout.d.ts +12 -0
  47. package/dist/mq-apple-pay-checkout.js +1 -1
  48. package/dist/mq-appointment-checkout.d.ts +3 -1
  49. package/dist/mq-appointment-checkout.js +1 -1
  50. package/dist/mq-appointment-documentation.d.ts +13 -4
  51. package/dist/mq-appointment-documentation.js +1 -1
  52. package/dist/mq-chat-room.d.ts +5 -2
  53. package/dist/mq-chat-room.js +1 -1
  54. package/dist/mq-checkout.d.ts +21 -1
  55. package/dist/mq-checkout.js +1 -1
  56. package/dist/mq-dashboard.d.ts +21 -120
  57. package/dist/mq-dashboard.js +1 -1
  58. package/dist/mq-documents.d.ts +21 -7
  59. package/dist/mq-documents.js +1 -1
  60. package/dist/mq-google-pay-checkout.d.ts +12 -0
  61. package/dist/mq-google-pay-checkout.js +1 -1
  62. package/dist/mq-immediate-videocall-checkout.d.ts +3 -0
  63. package/dist/mq-immediate-videocall-checkout.js +1 -1
  64. package/dist/mq-my-appointments.d.ts +11 -7
  65. package/dist/mq-my-appointments.js +1 -1
  66. package/dist/mq-next-appointments.d.ts +17 -6
  67. package/dist/mq-next-appointments.js +1 -1
  68. package/dist/mq-payment-poller.d.ts +11 -0
  69. package/dist/mq-payment-poller.js +1 -1
  70. package/dist/mq-professional-presence-sync.d.ts +1 -0
  71. package/dist/mq-professional-presence-sync.js +1 -1
  72. package/dist/mq-query-client-provider.d.ts +4 -1
  73. package/dist/mq-query-client-provider.js +1 -1
  74. package/dist/mq-recent-documents.d.ts +19 -30
  75. package/dist/mq-recent-documents.js +1 -1
  76. package/dist/mq-schedule-success.d.ts +12 -2
  77. package/dist/mq-schedule-success.js +2 -2
  78. package/dist/mq-schedule.d.ts +24 -220
  79. package/dist/mq-schedule.js +1 -1
  80. package/dist/mq-session-provider.d.ts +1 -1
  81. package/dist/mq-session-provider.js +1 -1
  82. package/dist/mq-socket-provider.js +1 -1
  83. package/dist/mq-support-chat.d.ts +12 -2
  84. package/dist/mq-support-chat.js +1 -1
  85. package/dist/mq-terms-and-conditions.d.ts +5 -1
  86. package/dist/mq-terms-and-conditions.js +1 -1
  87. package/dist/mq-unread-count-sync.d.ts +1 -0
  88. package/dist/mq-unread-count-sync.js +1 -1
  89. package/dist/mq-videocall.d.ts +13 -3
  90. package/dist/mq-videocall.js +1 -1
  91. package/dist/react/mq-api-client-provider.d.ts +26 -0
  92. package/dist/react/mq-api-client-provider.js +2 -0
  93. package/dist/react/mq-apple-pay-checkout.d.ts +4 -1
  94. package/dist/react/mq-apple-pay-checkout.js +1 -1
  95. package/dist/react/mq-appointment-checkout.d.ts +3 -1
  96. package/dist/react/mq-appointment-checkout.js +1 -1
  97. package/dist/react/mq-appointment-documentation.d.ts +6 -4
  98. package/dist/react/mq-appointment-documentation.js +1 -1
  99. package/dist/react/mq-chat-room.d.ts +5 -2
  100. package/dist/react/mq-chat-room.js +1 -1
  101. package/dist/react/mq-checkout.d.ts +4 -1
  102. package/dist/react/mq-checkout.js +1 -1
  103. package/dist/react/mq-dashboard.d.ts +12 -11
  104. package/dist/react/mq-dashboard.js +1 -1
  105. package/dist/react/mq-documents-page.d.ts +7 -3
  106. package/dist/react/mq-documents-page.js +1 -1
  107. package/dist/react/mq-documents.d.ts +7 -3
  108. package/dist/react/mq-documents.js +1 -1
  109. package/dist/react/mq-google-pay-checkout.d.ts +4 -1
  110. package/dist/react/mq-google-pay-checkout.js +1 -1
  111. package/dist/react/mq-immediate-videocall-checkout.d.ts +3 -0
  112. package/dist/react/mq-immediate-videocall-checkout.js +1 -1
  113. package/dist/react/mq-my-appointments.d.ts +10 -8
  114. package/dist/react/mq-my-appointments.js +1 -1
  115. package/dist/react/mq-next-appointments.d.ts +12 -8
  116. package/dist/react/mq-next-appointments.js +1 -1
  117. package/dist/react/mq-payment-poller.d.ts +4 -0
  118. package/dist/react/mq-payment-poller.js +1 -1
  119. package/dist/react/mq-professional-presence-sync.js +1 -1
  120. package/dist/react/mq-query-client-provider.d.ts +1 -0
  121. package/dist/react/mq-query-client-provider.js +1 -1
  122. package/dist/react/mq-recent-documents.d.ts +8 -3
  123. package/dist/react/mq-recent-documents.js +1 -1
  124. package/dist/react/mq-schedule-success.d.ts +5 -2
  125. package/dist/react/mq-schedule-success.js +1 -1
  126. package/dist/react/mq-schedule.d.ts +4 -2
  127. package/dist/react/mq-schedule.js +1 -1
  128. package/dist/react/mq-session-provider.d.ts +1 -1
  129. package/dist/react/mq-session-provider.js +1 -1
  130. package/dist/react/mq-socket-provider.js +1 -1
  131. package/dist/react/mq-support-chat.d.ts +5 -2
  132. package/dist/react/mq-support-chat.js +1 -1
  133. package/dist/react/mq-terms-and-conditions.d.ts +5 -1
  134. package/dist/react/mq-terms-and-conditions.js +1 -1
  135. package/dist/react/mq-toast-container.js +1 -1
  136. package/dist/react/mq-unread-count-sync.js +1 -1
  137. package/dist/react/mq-videocall.d.ts +6 -4
  138. package/dist/react/mq-videocall.js +1 -1
  139. package/dist/theme.js +1 -1
  140. package/dist/ui/icons/download-02-icon.d.ts +6 -0
  141. package/dist/ui/icons/download-02-icon.js +1 -0
  142. package/dist/ui/mq-calendar.js +1 -1
  143. package/dist/ui/mq-clamped-text.js +1 -1
  144. package/package.json +5 -1
  145. package/dist/chunks/action-unavailable-message-CRLimFj5.js +0 -1
  146. package/dist/chunks/api-chat-client-BiiYnU-b.js +0 -1
  147. package/dist/chunks/appointment-action-unavailable-dialog-Da2IATYj.d.ts +0 -321
  148. package/dist/chunks/appointment-card-skeleton-ZfTAElLq.js +0 -1
  149. package/dist/chunks/appointment-details-Bm3Uuw2g.js +0 -1
  150. package/dist/chunks/chunk-Y4EKUX25-CqL3lLdx.js +0 -1
  151. package/dist/chunks/consume-BhoQNO_8.js +0 -1
  152. package/dist/chunks/context-provider--AKuwfs9.js +0 -1
  153. package/dist/chunks/documentation-view-CTnpWIxq.js +0 -1
  154. package/dist/chunks/i18n-formats-EgnwLxKt.js +0 -1
  155. package/dist/chunks/index-CZ9HtP96.js +0 -1
  156. package/dist/chunks/index-DMiowcMQ.js +0 -1
  157. package/dist/chunks/index-DZjrAnPq.js +0 -1
  158. package/dist/chunks/login-token-task-BI-L2zSV.js +0 -1
  159. package/dist/chunks/mq-layout-BndHxkbb.js +0 -1
  160. package/dist/chunks/mq-layout-D8Mak16a.d.ts +0 -21
  161. package/dist/chunks/provide-D2fnEhT2.js +0 -1
  162. package/dist/chunks/query-controller-D7jBX4X7.js +0 -1
  163. package/dist/chunks/refund-cancel-policy-DV6bzqcu.js +0 -1
  164. package/dist/chunks/schemas.d-Bss7CeCZ.d.ts +0 -53
  165. package/dist/chunks/telemetry-client-Bkbn48Dd.js +0 -1
@@ -0,0 +1,2989 @@
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 SetReadyRequestSchema: z$1.ZodObject<{
865
+ professional_hash: z$1.ZodString;
866
+ consultation_id: z$1.ZodString;
867
+ consultation_type: z$1.ZodEnum<["appointment"]>;
868
+ }, "strip", z$1.ZodTypeAny, {
869
+ consultation_id: string;
870
+ consultation_type: "appointment";
871
+ professional_hash: string;
872
+ }, {
873
+ consultation_id: string;
874
+ consultation_type: "appointment";
875
+ professional_hash: string;
876
+ }>;
877
+ type SetReadyRequest = z$1.infer<typeof SetReadyRequestSchema>;
878
+ declare const LeaveWaitingRoomRequestSchema: z$1.ZodObject<{
879
+ professional_hash: z$1.ZodString;
880
+ consultation_id: z$1.ZodString;
881
+ consultation_type: z$1.ZodEnum<["appointment"]>;
882
+ }, "strip", z$1.ZodTypeAny, {
883
+ consultation_id: string;
884
+ consultation_type: "appointment";
885
+ professional_hash: string;
886
+ }, {
887
+ consultation_id: string;
888
+ consultation_type: "appointment";
889
+ professional_hash: string;
890
+ }>;
891
+ type LeaveWaitingRoomRequest = z$1.infer<typeof LeaveWaitingRoomRequestSchema>;
892
+ declare const GetSharedDocumentsRequestSchema: z$1.ZodObject<{
893
+ appointment_id: z$1.ZodString;
894
+ }, "strip", z$1.ZodTypeAny, {
895
+ appointment_id: string;
896
+ }, {
897
+ appointment_id: string;
898
+ }>;
899
+ type GetSharedDocumentsRequest = z$1.infer<typeof GetSharedDocumentsRequestSchema>;
900
+ declare const GetSharedDocumentsResponseSchema: z$1.ZodArray<z$1.ZodObject<{
901
+ document_id: z$1.ZodString;
902
+ document_type: z$1.ZodEnum<["prescription", "report", "diagnosticTestPrescription"]>;
903
+ name: z$1.ZodString;
904
+ professional: z$1.ZodObject<{
905
+ speciality_id: z$1.ZodNumber;
906
+ speciality_name: z$1.ZodOptional<z$1.ZodString>;
907
+ }, "strip", z$1.ZodTypeAny, {
908
+ speciality_id: number;
909
+ speciality_name?: string | undefined;
910
+ }, {
911
+ speciality_id: number;
912
+ speciality_name?: string | undefined;
913
+ }>;
914
+ status: z$1.ZodEnum<["published", "draft"]>;
915
+ url: z$1.ZodString;
916
+ created_at: z$1.ZodString;
917
+ }, "strip", z$1.ZodTypeAny, {
918
+ url: string;
919
+ status: "published" | "draft";
920
+ name: string;
921
+ created_at: string;
922
+ professional: {
923
+ speciality_id: number;
924
+ speciality_name?: string | undefined;
925
+ };
926
+ document_id: string;
927
+ document_type: "prescription" | "report" | "diagnosticTestPrescription";
928
+ }, {
929
+ url: string;
930
+ status: "published" | "draft";
931
+ name: string;
932
+ created_at: string;
933
+ professional: {
934
+ speciality_id: number;
935
+ speciality_name?: string | undefined;
936
+ };
937
+ document_id: string;
938
+ document_type: "prescription" | "report" | "diagnosticTestPrescription";
939
+ }>, "many">;
940
+ type GetSharedDocumentsResponse = z$1.infer<typeof GetSharedDocumentsResponseSchema>;
941
+ declare const DownloadDocumentRequestSchema: z$1.ZodObject<{
942
+ url: z$1.ZodString;
943
+ }, "strip", z$1.ZodTypeAny, {
944
+ url: string;
945
+ }, {
946
+ url: string;
947
+ }>;
948
+ type DownloadDocumentRequest = z$1.infer<typeof DownloadDocumentRequestSchema>;
949
+ declare const UpdatePatientProfileRequestSchema: z$1.ZodObject<{
950
+ first_name: z$1.ZodNullable<z$1.ZodString>;
951
+ last_name: z$1.ZodNullable<z$1.ZodString>;
952
+ tax_id: z$1.ZodNullable<z$1.ZodString>;
953
+ birth_date: z$1.ZodNullable<z$1.ZodString>;
954
+ gender: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodEnum<["male", "female"]>>>;
955
+ email: z$1.ZodNullable<z$1.ZodString>;
956
+ phone_prefix: z$1.ZodNullable<z$1.ZodString>;
957
+ phone: z$1.ZodNullable<z$1.ZodString>;
958
+ terms_accepted: z$1.ZodBoolean;
959
+ privacy_accepted: z$1.ZodBoolean;
960
+ }, "strip", z$1.ZodTypeAny, {
961
+ first_name: string | null;
962
+ last_name: string | null;
963
+ birth_date: string | null;
964
+ email: string | null;
965
+ phone: string | null;
966
+ phone_prefix: string | null;
967
+ tax_id: string | null;
968
+ terms_accepted: boolean;
969
+ privacy_accepted: boolean;
970
+ gender?: "male" | "female" | null | undefined;
971
+ }, {
972
+ first_name: string | null;
973
+ last_name: string | null;
974
+ birth_date: string | null;
975
+ email: string | null;
976
+ phone: string | null;
977
+ phone_prefix: string | null;
978
+ tax_id: string | null;
979
+ terms_accepted: boolean;
980
+ privacy_accepted: boolean;
981
+ gender?: "male" | "female" | null | undefined;
982
+ }>;
983
+ type UpdatePatientProfileRequest = z$1.infer<typeof UpdatePatientProfileRequestSchema>;
984
+ declare const GetPatientDocumentsRequestSchema: z$1.ZodObject<{
985
+ patient_hash: z$1.ZodString;
986
+ page: z$1.ZodOptional<z$1.ZodNumber>;
987
+ per_page: z$1.ZodOptional<z$1.ZodNumber>;
988
+ }, "strip", z$1.ZodTypeAny, {
989
+ patient_hash: string;
990
+ per_page?: number | undefined;
991
+ page?: number | undefined;
992
+ }, {
993
+ patient_hash: string;
994
+ per_page?: number | undefined;
995
+ page?: number | undefined;
996
+ }>;
997
+ type GetPatientDocumentsRequest = z$1.infer<typeof GetPatientDocumentsRequestSchema>;
998
+ declare const GetPatientDocumentsResponseSchema: z$1.ZodObject<{
999
+ data: z$1.ZodArray<z$1.ZodObject<{
1000
+ document_id: z$1.ZodString;
1001
+ document_type: z$1.ZodEnum<["prescription", "report", "diagnosticTestPrescription"]>;
1002
+ name: z$1.ZodString;
1003
+ professional: z$1.ZodObject<{
1004
+ speciality_id: z$1.ZodNumber;
1005
+ speciality_name: z$1.ZodOptional<z$1.ZodString>;
1006
+ }, "strip", z$1.ZodTypeAny, {
1007
+ speciality_id: number;
1008
+ speciality_name?: string | undefined;
1009
+ }, {
1010
+ speciality_id: number;
1011
+ speciality_name?: string | undefined;
1012
+ }>;
1013
+ status: z$1.ZodEnum<["published", "draft"]>;
1014
+ url: z$1.ZodString;
1015
+ created_at: z$1.ZodString;
1016
+ }, "strip", z$1.ZodTypeAny, {
1017
+ url: string;
1018
+ status: "published" | "draft";
1019
+ name: string;
1020
+ created_at: string;
1021
+ professional: {
1022
+ speciality_id: number;
1023
+ speciality_name?: string | undefined;
1024
+ };
1025
+ document_id: string;
1026
+ document_type: "prescription" | "report" | "diagnosticTestPrescription";
1027
+ }, {
1028
+ url: string;
1029
+ status: "published" | "draft";
1030
+ name: string;
1031
+ created_at: string;
1032
+ professional: {
1033
+ speciality_id: number;
1034
+ speciality_name?: string | undefined;
1035
+ };
1036
+ document_id: string;
1037
+ document_type: "prescription" | "report" | "diagnosticTestPrescription";
1038
+ }>, "many">;
1039
+ meta: z$1.ZodObject<{
1040
+ current_page: z$1.ZodNumber;
1041
+ last_page: z$1.ZodNumber;
1042
+ per_page: z$1.ZodNumber;
1043
+ total: z$1.ZodNumber;
1044
+ }, "strip", z$1.ZodTypeAny, {
1045
+ current_page: number;
1046
+ last_page: number;
1047
+ per_page: number;
1048
+ total: number;
1049
+ }, {
1050
+ current_page: number;
1051
+ last_page: number;
1052
+ per_page: number;
1053
+ total: number;
1054
+ }>;
1055
+ }, "strip", z$1.ZodTypeAny, {
1056
+ data: {
1057
+ url: string;
1058
+ status: "published" | "draft";
1059
+ name: string;
1060
+ created_at: string;
1061
+ professional: {
1062
+ speciality_id: number;
1063
+ speciality_name?: string | undefined;
1064
+ };
1065
+ document_id: string;
1066
+ document_type: "prescription" | "report" | "diagnosticTestPrescription";
1067
+ }[];
1068
+ meta: {
1069
+ current_page: number;
1070
+ last_page: number;
1071
+ per_page: number;
1072
+ total: number;
1073
+ };
1074
+ }, {
1075
+ data: {
1076
+ url: string;
1077
+ status: "published" | "draft";
1078
+ name: string;
1079
+ created_at: string;
1080
+ professional: {
1081
+ speciality_id: number;
1082
+ speciality_name?: string | undefined;
1083
+ };
1084
+ document_id: string;
1085
+ document_type: "prescription" | "report" | "diagnosticTestPrescription";
1086
+ }[];
1087
+ meta: {
1088
+ current_page: number;
1089
+ last_page: number;
1090
+ per_page: number;
1091
+ total: number;
1092
+ };
1093
+ }>;
1094
+ type GetPatientDocumentsResponse = z$1.infer<typeof GetPatientDocumentsResponseSchema>;
1095
+
1096
+ declare const GetOrganizationSpecialtiesResponseSchema: z$1.ZodArray<z$1.ZodObject<{
1097
+ id: z$1.ZodNumber;
1098
+ name: z$1.ZodString;
1099
+ code: z$1.ZodString;
1100
+ }, "strip", z$1.ZodTypeAny, {
1101
+ code: string;
1102
+ id: number;
1103
+ name: string;
1104
+ }, {
1105
+ code: string;
1106
+ id: number;
1107
+ name: string;
1108
+ }>, "many">;
1109
+ type GetOrganizationSpecialtiesResponse = z$1.infer<typeof GetOrganizationSpecialtiesResponseSchema>;
1110
+ declare const GetOrganizationSetupResponseSchema: z$1.ZodObject<{
1111
+ primary_color: z$1.ZodNullable<z$1.ZodString>;
1112
+ logo: z$1.ZodNullable<z$1.ZodString>;
1113
+ favicon: z$1.ZodNullable<z$1.ZodString>;
1114
+ support_professional: z$1.ZodOptional<z$1.ZodObject<{
1115
+ hash: z$1.ZodNullable<z$1.ZodString>;
1116
+ }, "strip", z$1.ZodTypeAny, {
1117
+ hash: string | null;
1118
+ }, {
1119
+ hash: string | null;
1120
+ }>>;
1121
+ home: z$1.ZodObject<{
1122
+ title: z$1.ZodNullable<z$1.ZodString>;
1123
+ description: z$1.ZodNullable<z$1.ZodString>;
1124
+ image_url: z$1.ZodNullable<z$1.ZodString>;
1125
+ }, "strip", z$1.ZodTypeAny, {
1126
+ description: string | null;
1127
+ title: string | null;
1128
+ image_url: string | null;
1129
+ }, {
1130
+ description: string | null;
1131
+ title: string | null;
1132
+ image_url: string | null;
1133
+ }>;
1134
+ appointments: z$1.ZodObject<{
1135
+ reserve_conditions: z$1.ZodNullable<z$1.ZodString>;
1136
+ seconds_before_start_to_refund_on_cancel: z$1.ZodNullable<z$1.ZodNumber>;
1137
+ has_nps: z$1.ZodOptional<z$1.ZodBoolean>;
1138
+ has_chat_in_appointment: z$1.ZodOptional<z$1.ZodBoolean>;
1139
+ has_discount_coupons_show: z$1.ZodOptional<z$1.ZodBoolean>;
1140
+ payment_provider: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodNativeEnum<{
1141
+ readonly Addon: "addon";
1142
+ readonly Stripe: "stripe";
1143
+ }>>>;
1144
+ }, "strip", z$1.ZodTypeAny, {
1145
+ reserve_conditions: string | null;
1146
+ seconds_before_start_to_refund_on_cancel: number | null;
1147
+ has_chat_in_appointment?: boolean | undefined;
1148
+ has_nps?: boolean | undefined;
1149
+ has_discount_coupons_show?: boolean | undefined;
1150
+ payment_provider?: "addon" | "stripe" | null | undefined;
1151
+ }, {
1152
+ reserve_conditions: string | null;
1153
+ seconds_before_start_to_refund_on_cancel: number | null;
1154
+ has_chat_in_appointment?: boolean | undefined;
1155
+ has_nps?: boolean | undefined;
1156
+ has_discount_coupons_show?: boolean | undefined;
1157
+ payment_provider?: "addon" | "stripe" | null | undefined;
1158
+ }>;
1159
+ legal_consent: z$1.ZodObject<{
1160
+ terms_url: z$1.ZodNullable<z$1.ZodString>;
1161
+ privacy_url: z$1.ZodNullable<z$1.ZodString>;
1162
+ }, "strip", z$1.ZodTypeAny, {
1163
+ terms_url: string | null;
1164
+ privacy_url: string | null;
1165
+ }, {
1166
+ terms_url: string | null;
1167
+ privacy_url: string | null;
1168
+ }>;
1169
+ }, "strip", z$1.ZodTypeAny, {
1170
+ legal_consent: {
1171
+ terms_url: string | null;
1172
+ privacy_url: string | null;
1173
+ };
1174
+ primary_color: string | null;
1175
+ logo: string | null;
1176
+ favicon: string | null;
1177
+ home: {
1178
+ description: string | null;
1179
+ title: string | null;
1180
+ image_url: string | null;
1181
+ };
1182
+ appointments: {
1183
+ reserve_conditions: string | null;
1184
+ seconds_before_start_to_refund_on_cancel: number | null;
1185
+ has_chat_in_appointment?: boolean | undefined;
1186
+ has_nps?: boolean | undefined;
1187
+ has_discount_coupons_show?: boolean | undefined;
1188
+ payment_provider?: "addon" | "stripe" | null | undefined;
1189
+ };
1190
+ support_professional?: {
1191
+ hash: string | null;
1192
+ } | undefined;
1193
+ }, {
1194
+ legal_consent: {
1195
+ terms_url: string | null;
1196
+ privacy_url: string | null;
1197
+ };
1198
+ primary_color: string | null;
1199
+ logo: string | null;
1200
+ favicon: string | null;
1201
+ home: {
1202
+ description: string | null;
1203
+ title: string | null;
1204
+ image_url: string | null;
1205
+ };
1206
+ appointments: {
1207
+ reserve_conditions: string | null;
1208
+ seconds_before_start_to_refund_on_cancel: number | null;
1209
+ has_chat_in_appointment?: boolean | undefined;
1210
+ has_nps?: boolean | undefined;
1211
+ has_discount_coupons_show?: boolean | undefined;
1212
+ payment_provider?: "addon" | "stripe" | null | undefined;
1213
+ };
1214
+ support_professional?: {
1215
+ hash: string | null;
1216
+ } | undefined;
1217
+ }>;
1218
+ type GetOrganizationSetupResponse = z$1.infer<typeof GetOrganizationSetupResponseSchema>;
1219
+
1220
+ declare const CreatePaymentLinkRequestSchema: z.ZodObject<{
1221
+ slot_id: z.ZodString;
1222
+ service_id: z.ZodString;
1223
+ /** ID of the medical specialty the booking belongs to. */
1224
+ specialty_id: z.ZodString;
1225
+ consultation_reason: z.ZodOptional<z.ZodString>;
1226
+ preconsultation_documents: z.ZodOptional<z.ZodArray<z.ZodObject<{
1227
+ file_path: z.ZodString;
1228
+ file_name: z.ZodString;
1229
+ }, "strip", z.ZodTypeAny, {
1230
+ file_path: string;
1231
+ file_name: string;
1232
+ }, {
1233
+ file_path: string;
1234
+ file_name: string;
1235
+ }>, "many">>;
1236
+ /** Discount coupon code applied to the booking, if any. */
1237
+ discount_code: z.ZodOptional<z.ZodString>;
1238
+ return_url: z.ZodOptional<z.ZodString>;
1239
+ }, "strip", z.ZodTypeAny, {
1240
+ service_id: string;
1241
+ slot_id: string;
1242
+ specialty_id: string;
1243
+ consultation_reason?: string | undefined;
1244
+ preconsultation_documents?: {
1245
+ file_path: string;
1246
+ file_name: string;
1247
+ }[] | undefined;
1248
+ discount_code?: string | undefined;
1249
+ return_url?: string | undefined;
1250
+ }, {
1251
+ service_id: string;
1252
+ slot_id: string;
1253
+ specialty_id: string;
1254
+ consultation_reason?: string | undefined;
1255
+ preconsultation_documents?: {
1256
+ file_path: string;
1257
+ file_name: string;
1258
+ }[] | undefined;
1259
+ discount_code?: string | undefined;
1260
+ return_url?: string | undefined;
1261
+ }>;
1262
+ type CreatePaymentLinkRequest = z.infer<typeof CreatePaymentLinkRequestSchema>;
1263
+ declare const GetConsultationCouponResponseSchema: z.ZodObject<{
1264
+ id: z.ZodString;
1265
+ percent_off: z.ZodNumber;
1266
+ code: z.ZodString;
1267
+ after_discount_amount: z.ZodNullable<z.ZodNumber>;
1268
+ }, "strip", z.ZodTypeAny, {
1269
+ code: string;
1270
+ id: string;
1271
+ percent_off: number;
1272
+ after_discount_amount: number | null;
1273
+ }, {
1274
+ code: string;
1275
+ id: string;
1276
+ percent_off: number;
1277
+ after_discount_amount: number | null;
1278
+ }>;
1279
+ type GetConsultationCouponResponse = z.infer<typeof GetConsultationCouponResponseSchema>;
1280
+ /**
1281
+ * Coupon applied to a booked appointment, for the confirmation view.
1282
+ * `GET /payments/v1/appointment/{appointmentId}/consultation-coupon`; 404 when
1283
+ * the appointment has no coupon. `name` is optional, so the UI falls back to `code`.
1284
+ */
1285
+ declare const GetAppointmentConsultationCouponResponseSchema: z.ZodObject<{
1286
+ id: z.ZodString;
1287
+ percent_off: z.ZodNumber;
1288
+ code: z.ZodString;
1289
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1290
+ }, "strip", z.ZodTypeAny, {
1291
+ code: string;
1292
+ id: string;
1293
+ percent_off: number;
1294
+ name?: string | null | undefined;
1295
+ }, {
1296
+ code: string;
1297
+ id: string;
1298
+ percent_off: number;
1299
+ name?: string | null | undefined;
1300
+ }>;
1301
+ type GetAppointmentConsultationCouponResponse = z.infer<typeof GetAppointmentConsultationCouponResponseSchema>;
1302
+ declare const PaymentProvider: {
1303
+ readonly Addon: "addon";
1304
+ readonly Stripe: "stripe";
1305
+ };
1306
+ type PaymentProvider = (typeof PaymentProvider)[keyof typeof PaymentProvider];
1307
+ declare const CreatePaymentLinkResponseSchema: z.ZodObject<{
1308
+ session_id: z.ZodString;
1309
+ payment_link: z.ZodString;
1310
+ provider: z.ZodOptional<z.ZodNativeEnum<{
1311
+ readonly Addon: "addon";
1312
+ readonly Stripe: "stripe";
1313
+ }>>;
1314
+ }, "strip", z.ZodTypeAny, {
1315
+ session_id: string;
1316
+ payment_link: string;
1317
+ provider?: "addon" | "stripe" | undefined;
1318
+ }, {
1319
+ session_id: string;
1320
+ payment_link: string;
1321
+ provider?: "addon" | "stripe" | undefined;
1322
+ }>;
1323
+ type CreatePaymentLinkResponse = z.infer<typeof CreatePaymentLinkResponseSchema>;
1324
+ /**
1325
+ * Request for `POST /payments/v1/immediate-videocall`. Addon Payments only; no
1326
+ * coupons, slot or service apply — just the videocall schedule to charge for.
1327
+ */
1328
+ declare const CreateImmediateVideocallPaymentLinkRequestSchema: z.ZodObject<{
1329
+ video_call_schedule_id: z.ZodString;
1330
+ }, "strip", z.ZodTypeAny, {
1331
+ video_call_schedule_id: string;
1332
+ }, {
1333
+ video_call_schedule_id: string;
1334
+ }>;
1335
+ type CreateImmediateVideocallPaymentLinkRequest = z.infer<typeof CreateImmediateVideocallPaymentLinkRequestSchema>;
1336
+ /**
1337
+ * Response for `POST /payments/v1/immediate-videocall`. Same `{ session_id,
1338
+ * payment_link }` shape as `POST /payments/v1/schedule`, so the `mq-checkout`
1339
+ * polling of `GET /payments/v1/session/{sessionId}` and iframe work unchanged.
1340
+ */
1341
+ declare const CreateImmediateVideocallPaymentLinkResponseSchema: z.ZodObject<{
1342
+ session_id: z.ZodString;
1343
+ payment_link: z.ZodString;
1344
+ provider: z.ZodOptional<z.ZodNativeEnum<{
1345
+ readonly Addon: "addon";
1346
+ readonly Stripe: "stripe";
1347
+ }>>;
1348
+ }, "strip", z.ZodTypeAny, {
1349
+ session_id: string;
1350
+ payment_link: string;
1351
+ provider?: "addon" | "stripe" | undefined;
1352
+ }, {
1353
+ session_id: string;
1354
+ payment_link: string;
1355
+ provider?: "addon" | "stripe" | undefined;
1356
+ }>;
1357
+ type CreateImmediateVideocallPaymentLinkResponse = z.infer<typeof CreateImmediateVideocallPaymentLinkResponseSchema>;
1358
+ declare const CreateChatConsultationPaymentLinkRequestSchema: z.ZodObject<{
1359
+ professional_hash: z.ZodString;
1360
+ }, "strip", z.ZodTypeAny, {
1361
+ professional_hash: string;
1362
+ }, {
1363
+ professional_hash: string;
1364
+ }>;
1365
+ type CreateChatConsultationPaymentLinkRequest = z.infer<typeof CreateChatConsultationPaymentLinkRequestSchema>;
1366
+ declare const CreateChatConsultationPaymentLinkResponseSchema: z.ZodObject<{
1367
+ session_id: z.ZodString;
1368
+ payment_link: z.ZodString;
1369
+ provider: z.ZodOptional<z.ZodNativeEnum<{
1370
+ readonly Addon: "addon";
1371
+ readonly Stripe: "stripe";
1372
+ }>>;
1373
+ }, "strip", z.ZodTypeAny, {
1374
+ session_id: string;
1375
+ payment_link: string;
1376
+ provider?: "addon" | "stripe" | undefined;
1377
+ }, {
1378
+ session_id: string;
1379
+ payment_link: string;
1380
+ provider?: "addon" | "stripe" | undefined;
1381
+ }>;
1382
+ type CreateChatConsultationPaymentLinkResponse = z.infer<typeof CreateChatConsultationPaymentLinkResponseSchema>;
1383
+ declare const GetPaymentSessionResponseSchema: z.ZodObject<{
1384
+ status: z.ZodNativeEnum<{
1385
+ readonly Paid: "paid";
1386
+ readonly Unpaid: "unpaid";
1387
+ readonly Denied: "denied";
1388
+ }>;
1389
+ consultation_id: z.ZodString;
1390
+ consultation_type: z.ZodString;
1391
+ }, "strip", z.ZodTypeAny, {
1392
+ status: "unpaid" | "paid" | "denied";
1393
+ consultation_id: string;
1394
+ consultation_type: string;
1395
+ }, {
1396
+ status: "unpaid" | "paid" | "denied";
1397
+ consultation_id: string;
1398
+ consultation_type: string;
1399
+ }>;
1400
+ type GetPaymentSessionResponse = z.infer<typeof GetPaymentSessionResponseSchema>;
1401
+ declare const ValidateApplePayMerchantRequestSchema: z.ZodObject<{
1402
+ order_id: z.ZodString;
1403
+ validation_url: z.ZodString;
1404
+ }, "strip", z.ZodTypeAny, {
1405
+ order_id: string;
1406
+ validation_url: string;
1407
+ }, {
1408
+ order_id: string;
1409
+ validation_url: string;
1410
+ }>;
1411
+ type ValidateApplePayMerchantRequest = z.infer<typeof ValidateApplePayMerchantRequestSchema>;
1412
+ /** Opaque Apple merchant session at the HTTP body root (not `{ data: … }`). */
1413
+ declare const ValidateApplePayMerchantResponseSchema: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1414
+ type ValidateApplePayMerchantResponse = z.infer<typeof ValidateApplePayMerchantResponseSchema>;
1415
+ declare const AuthorizeApplePayRequestSchema: z.ZodObject<{
1416
+ order_id: z.ZodString;
1417
+ /** Realex auth-mobile `<token>` string (JSON of Apple Pay `paymentData`). */
1418
+ token: z.ZodString;
1419
+ }, "strip", z.ZodTypeAny, {
1420
+ token: string;
1421
+ order_id: string;
1422
+ }, {
1423
+ token: string;
1424
+ order_id: string;
1425
+ }>;
1426
+ type AuthorizeApplePayRequest = z.infer<typeof AuthorizeApplePayRequestSchema>;
1427
+ declare const AuthorizeApplePayResponseSchema: z.ZodObject<{
1428
+ data: z.ZodObject<{
1429
+ status: z.ZodNativeEnum<{
1430
+ readonly Paid: "paid";
1431
+ readonly Unpaid: "unpaid";
1432
+ readonly Denied: "denied";
1433
+ }>;
1434
+ consultation_id: z.ZodString;
1435
+ consultation_type: z.ZodOptional<z.ZodString>;
1436
+ }, "strip", z.ZodTypeAny, {
1437
+ status: "unpaid" | "paid" | "denied";
1438
+ consultation_id: string;
1439
+ consultation_type?: string | undefined;
1440
+ }, {
1441
+ status: "unpaid" | "paid" | "denied";
1442
+ consultation_id: string;
1443
+ consultation_type?: string | undefined;
1444
+ }>;
1445
+ }, "strip", z.ZodTypeAny, {
1446
+ data: {
1447
+ status: "unpaid" | "paid" | "denied";
1448
+ consultation_id: string;
1449
+ consultation_type?: string | undefined;
1450
+ };
1451
+ }, {
1452
+ data: {
1453
+ status: "unpaid" | "paid" | "denied";
1454
+ consultation_id: string;
1455
+ consultation_type?: string | undefined;
1456
+ };
1457
+ }>;
1458
+ type AuthorizeApplePayResponse = z.infer<typeof AuthorizeApplePayResponseSchema>;
1459
+ declare const AuthorizeGooglePayRequestSchema: z.ZodObject<{
1460
+ order_id: z.ZodString;
1461
+ /** Global Payments auth-mobile `<token>` string from Google Pay `tokenizationData.token`. */
1462
+ token: z.ZodString;
1463
+ }, "strip", z.ZodTypeAny, {
1464
+ token: string;
1465
+ order_id: string;
1466
+ }, {
1467
+ token: string;
1468
+ order_id: string;
1469
+ }>;
1470
+ type AuthorizeGooglePayRequest = z.infer<typeof AuthorizeGooglePayRequestSchema>;
1471
+ declare const AuthorizeGooglePayResponseSchema: z.ZodObject<{
1472
+ data: z.ZodObject<{
1473
+ status: z.ZodNativeEnum<{
1474
+ readonly Paid: "paid";
1475
+ readonly Unpaid: "unpaid";
1476
+ readonly Denied: "denied";
1477
+ }>;
1478
+ consultation_id: z.ZodString;
1479
+ consultation_type: z.ZodOptional<z.ZodString>;
1480
+ }, "strip", z.ZodTypeAny, {
1481
+ status: "unpaid" | "paid" | "denied";
1482
+ consultation_id: string;
1483
+ consultation_type?: string | undefined;
1484
+ }, {
1485
+ status: "unpaid" | "paid" | "denied";
1486
+ consultation_id: string;
1487
+ consultation_type?: string | undefined;
1488
+ }>;
1489
+ }, "strip", z.ZodTypeAny, {
1490
+ data: {
1491
+ status: "unpaid" | "paid" | "denied";
1492
+ consultation_id: string;
1493
+ consultation_type?: string | undefined;
1494
+ };
1495
+ }, {
1496
+ data: {
1497
+ status: "unpaid" | "paid" | "denied";
1498
+ consultation_id: string;
1499
+ consultation_type?: string | undefined;
1500
+ };
1501
+ }>;
1502
+ type AuthorizeGooglePayResponse = z.infer<typeof AuthorizeGooglePayResponseSchema>;
1503
+
1504
+ declare const GetProfessionalRequestSchema: z.ZodObject<{
1505
+ hash: z.ZodString;
1506
+ }, "strip", z.ZodTypeAny, {
1507
+ hash: string;
1508
+ }, {
1509
+ hash: string;
1510
+ }>;
1511
+ type GetProfessionalRequest = z.infer<typeof GetProfessionalRequestSchema>;
1512
+ declare const GetProfessionalResponseSchema: z.ZodObject<{
1513
+ hash: z.ZodString;
1514
+ active_absence: z.ZodNullable<z.ZodObject<{
1515
+ id: z.ZodString;
1516
+ finishes_at: z.ZodString;
1517
+ }, "strip", z.ZodTypeAny, {
1518
+ id: string;
1519
+ finishes_at: string;
1520
+ }, {
1521
+ id: string;
1522
+ finishes_at: string;
1523
+ }>>;
1524
+ avatar: z.ZodNullable<z.ZodString>;
1525
+ collegiate_number: z.ZodNullable<z.ZodString>;
1526
+ description: z.ZodNullable<z.ZodString>;
1527
+ is_available: z.ZodBoolean;
1528
+ name: z.ZodString;
1529
+ overview: z.ZodNullable<z.ZodString>;
1530
+ schedule_description: z.ZodNullable<z.ZodString>;
1531
+ speciality_id: z.ZodNullable<z.ZodNumber>;
1532
+ status: z.ZodEnum<["online", "offline"]>;
1533
+ title: z.ZodNullable<z.ZodString>;
1534
+ chat_schedule: z.ZodNullable<z.ZodObject<{
1535
+ channel: z.ZodEnum<["videocall", "chat", "phonecall"]>;
1536
+ duration: z.ZodNumber;
1537
+ name: z.ZodString;
1538
+ timezone: z.ZodString;
1539
+ starts_at: z.ZodString;
1540
+ gaps: z.ZodArray<z.ZodObject<{
1541
+ days_of_week: z.ZodEnum<["monday", "tuesday", "wednesday", "thursday", "friday", "saturday", "sunday", "working_week", "weekend", "all_week"]>;
1542
+ from_time: z.ZodString;
1543
+ to_time: z.ZodString;
1544
+ }, "strip", z.ZodTypeAny, {
1545
+ days_of_week: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | "working_week" | "weekend" | "all_week";
1546
+ from_time: string;
1547
+ to_time: string;
1548
+ }, {
1549
+ days_of_week: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | "working_week" | "weekend" | "all_week";
1550
+ from_time: string;
1551
+ to_time: string;
1552
+ }>, "many">;
1553
+ }, "strip", z.ZodTypeAny, {
1554
+ channel: "videocall" | "chat" | "phonecall";
1555
+ duration: number;
1556
+ name: string;
1557
+ starts_at: string;
1558
+ timezone: string;
1559
+ gaps: {
1560
+ days_of_week: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | "working_week" | "weekend" | "all_week";
1561
+ from_time: string;
1562
+ to_time: string;
1563
+ }[];
1564
+ }, {
1565
+ channel: "videocall" | "chat" | "phonecall";
1566
+ duration: number;
1567
+ name: string;
1568
+ starts_at: string;
1569
+ timezone: string;
1570
+ gaps: {
1571
+ days_of_week: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | "working_week" | "weekend" | "all_week";
1572
+ from_time: string;
1573
+ to_time: string;
1574
+ }[];
1575
+ }>>;
1576
+ }, "strip", z.ZodTypeAny, {
1577
+ status: "online" | "offline";
1578
+ hash: string;
1579
+ name: string;
1580
+ avatar: string | null;
1581
+ collegiate_number: string | null;
1582
+ description: string | null;
1583
+ speciality_id: number | null;
1584
+ title: string | null;
1585
+ active_absence: {
1586
+ id: string;
1587
+ finishes_at: string;
1588
+ } | null;
1589
+ is_available: boolean;
1590
+ overview: string | null;
1591
+ schedule_description: string | null;
1592
+ chat_schedule: {
1593
+ channel: "videocall" | "chat" | "phonecall";
1594
+ duration: number;
1595
+ name: string;
1596
+ starts_at: string;
1597
+ timezone: string;
1598
+ gaps: {
1599
+ days_of_week: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | "working_week" | "weekend" | "all_week";
1600
+ from_time: string;
1601
+ to_time: string;
1602
+ }[];
1603
+ } | null;
1604
+ }, {
1605
+ status: "online" | "offline";
1606
+ hash: string;
1607
+ name: string;
1608
+ avatar: string | null;
1609
+ collegiate_number: string | null;
1610
+ description: string | null;
1611
+ speciality_id: number | null;
1612
+ title: string | null;
1613
+ active_absence: {
1614
+ id: string;
1615
+ finishes_at: string;
1616
+ } | null;
1617
+ is_available: boolean;
1618
+ overview: string | null;
1619
+ schedule_description: string | null;
1620
+ chat_schedule: {
1621
+ channel: "videocall" | "chat" | "phonecall";
1622
+ duration: number;
1623
+ name: string;
1624
+ starts_at: string;
1625
+ timezone: string;
1626
+ gaps: {
1627
+ days_of_week: "monday" | "tuesday" | "wednesday" | "thursday" | "friday" | "saturday" | "sunday" | "working_week" | "weekend" | "all_week";
1628
+ from_time: string;
1629
+ to_time: string;
1630
+ }[];
1631
+ } | null;
1632
+ }>;
1633
+ type GetProfessionalResponse = z.infer<typeof GetProfessionalResponseSchema>;
1634
+ declare const ReadAllMessagesRequestSchema: z.ZodObject<{
1635
+ roomId: z.ZodNumber;
1636
+ }, "strip", z.ZodTypeAny, {
1637
+ roomId: number;
1638
+ }, {
1639
+ roomId: number;
1640
+ }>;
1641
+ type ReadAllMessagesRequest = z.infer<typeof ReadAllMessagesRequestSchema>;
1642
+
1643
+ declare const GetPatientProfileResponseSchema: z.ZodObject<{
1644
+ hash: z.ZodString;
1645
+ profile: z.ZodObject<{
1646
+ first_name: z.ZodNullable<z.ZodString>;
1647
+ last_name: z.ZodNullable<z.ZodString>;
1648
+ birth_date: z.ZodNullable<z.ZodString>;
1649
+ gender: z.ZodNullable<z.ZodEnum<["male", "female"]>>;
1650
+ email: z.ZodNullable<z.ZodString>;
1651
+ phone_prefix: z.ZodNullable<z.ZodString>;
1652
+ phone: z.ZodNullable<z.ZodString>;
1653
+ billing: z.ZodObject<{
1654
+ tax_id: z.ZodNullable<z.ZodString>;
1655
+ address: z.ZodNullable<z.ZodString>;
1656
+ country_code: z.ZodNullable<z.ZodString>;
1657
+ region: z.ZodNullable<z.ZodString>;
1658
+ postal_code: z.ZodNullable<z.ZodString>;
1659
+ }, "strip", z.ZodTypeAny, {
1660
+ country_code: string | null;
1661
+ tax_id: string | null;
1662
+ address: string | null;
1663
+ region: string | null;
1664
+ postal_code: string | null;
1665
+ }, {
1666
+ country_code: string | null;
1667
+ tax_id: string | null;
1668
+ address: string | null;
1669
+ region: string | null;
1670
+ postal_code: string | null;
1671
+ }>;
1672
+ }, "strip", z.ZodTypeAny, {
1673
+ first_name: string | null;
1674
+ last_name: string | null;
1675
+ birth_date: string | null;
1676
+ email: string | null;
1677
+ phone: string | null;
1678
+ phone_prefix: string | null;
1679
+ gender: "male" | "female" | null;
1680
+ billing: {
1681
+ country_code: string | null;
1682
+ tax_id: string | null;
1683
+ address: string | null;
1684
+ region: string | null;
1685
+ postal_code: string | null;
1686
+ };
1687
+ }, {
1688
+ first_name: string | null;
1689
+ last_name: string | null;
1690
+ birth_date: string | null;
1691
+ email: string | null;
1692
+ phone: string | null;
1693
+ phone_prefix: string | null;
1694
+ gender: "male" | "female" | null;
1695
+ billing: {
1696
+ country_code: string | null;
1697
+ tax_id: string | null;
1698
+ address: string | null;
1699
+ region: string | null;
1700
+ postal_code: string | null;
1701
+ };
1702
+ }>;
1703
+ }, "strip", z.ZodTypeAny, {
1704
+ hash: string;
1705
+ profile: {
1706
+ first_name: string | null;
1707
+ last_name: string | null;
1708
+ birth_date: string | null;
1709
+ email: string | null;
1710
+ phone: string | null;
1711
+ phone_prefix: string | null;
1712
+ gender: "male" | "female" | null;
1713
+ billing: {
1714
+ country_code: string | null;
1715
+ tax_id: string | null;
1716
+ address: string | null;
1717
+ region: string | null;
1718
+ postal_code: string | null;
1719
+ };
1720
+ };
1721
+ }, {
1722
+ hash: string;
1723
+ profile: {
1724
+ first_name: string | null;
1725
+ last_name: string | null;
1726
+ birth_date: string | null;
1727
+ email: string | null;
1728
+ phone: string | null;
1729
+ phone_prefix: string | null;
1730
+ gender: "male" | "female" | null;
1731
+ billing: {
1732
+ country_code: string | null;
1733
+ tax_id: string | null;
1734
+ address: string | null;
1735
+ region: string | null;
1736
+ postal_code: string | null;
1737
+ };
1738
+ };
1739
+ }>;
1740
+ type GetPatientProfileResponse = z.infer<typeof GetPatientProfileResponseSchema>;
1741
+ declare const AcceptLegalConsentRequestSchema: z.ZodObject<{
1742
+ terms_accepted: z.ZodBoolean;
1743
+ privacy_accepted: z.ZodBoolean;
1744
+ commercial_accepted: z.ZodBoolean;
1745
+ }, "strip", z.ZodTypeAny, {
1746
+ terms_accepted: boolean;
1747
+ privacy_accepted: boolean;
1748
+ commercial_accepted: boolean;
1749
+ }, {
1750
+ terms_accepted: boolean;
1751
+ privacy_accepted: boolean;
1752
+ commercial_accepted: boolean;
1753
+ }>;
1754
+ type AcceptLegalConsentRequest = z.infer<typeof AcceptLegalConsentRequestSchema>;
1755
+ declare const GetProfessionalPublicProfileRequestSchema: z.ZodObject<{
1756
+ hash: z.ZodString;
1757
+ }, "strip", z.ZodTypeAny, {
1758
+ hash: string;
1759
+ }, {
1760
+ hash: string;
1761
+ }>;
1762
+ type GetProfessionalPublicProfileRequest = z.infer<typeof GetProfessionalPublicProfileRequestSchema>;
1763
+ declare const GetProfessionalPublicProfileResponseSchema: z.ZodObject<{
1764
+ id: z.ZodNumber;
1765
+ hash: z.ZodString;
1766
+ speciality_alias: z.ZodString;
1767
+ name: z.ZodString;
1768
+ avatar: z.ZodString;
1769
+ description: z.ZodString;
1770
+ collegiate_number: z.ZodString;
1771
+ languages: z.ZodArray<z.ZodString, "many">;
1772
+ centers: z.ZodArray<z.ZodObject<{
1773
+ id: z.ZodString;
1774
+ name: z.ZodString;
1775
+ }, "strip", z.ZodTypeAny, {
1776
+ id: string;
1777
+ name: string;
1778
+ }, {
1779
+ id: string;
1780
+ name: string;
1781
+ }>, "many">;
1782
+ }, "strip", z.ZodTypeAny, {
1783
+ id: number;
1784
+ hash: string;
1785
+ name: string;
1786
+ avatar: string;
1787
+ collegiate_number: string;
1788
+ languages: string[];
1789
+ description: string;
1790
+ speciality_alias: string;
1791
+ centers: {
1792
+ id: string;
1793
+ name: string;
1794
+ }[];
1795
+ }, {
1796
+ id: number;
1797
+ hash: string;
1798
+ name: string;
1799
+ avatar: string;
1800
+ collegiate_number: string;
1801
+ languages: string[];
1802
+ description: string;
1803
+ speciality_alias: string;
1804
+ centers: {
1805
+ id: string;
1806
+ name: string;
1807
+ }[];
1808
+ }>;
1809
+ type GetProfessionalPublicProfileResponse = z.infer<typeof GetProfessionalPublicProfileResponseSchema>;
1810
+
1811
+ declare const StringMessageSchema: z.ZodObject<{
1812
+ roomId: z.ZodNumber;
1813
+ messageId: z.ZodString;
1814
+ string: z.ZodString;
1815
+ status: z.ZodNumber;
1816
+ senderType: z.ZodEnum<["ordinary", "system"]>;
1817
+ fromUserHash: z.ZodString;
1818
+ auto: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
1819
+ createdAt: z.ZodNullable<z.ZodString>;
1820
+ deletedAt: z.ZodNullable<z.ZodString>;
1821
+ time: z.ZodNullable<z.ZodNumber>;
1822
+ } & {
1823
+ type: z.ZodLiteral<"string">;
1824
+ attachment: z.ZodNull;
1825
+ }, "strip", z.ZodTypeAny, {
1826
+ string: string;
1827
+ type: "string";
1828
+ status: number;
1829
+ roomId: number;
1830
+ messageId: string;
1831
+ senderType: "ordinary" | "system";
1832
+ fromUserHash: string;
1833
+ auto: 0 | 1;
1834
+ createdAt: string | null;
1835
+ deletedAt: string | null;
1836
+ time: number | null;
1837
+ attachment: null;
1838
+ }, {
1839
+ string: string;
1840
+ type: "string";
1841
+ status: number;
1842
+ roomId: number;
1843
+ messageId: string;
1844
+ senderType: "ordinary" | "system";
1845
+ fromUserHash: string;
1846
+ auto: 0 | 1;
1847
+ createdAt: string | null;
1848
+ deletedAt: string | null;
1849
+ time: number | null;
1850
+ attachment: null;
1851
+ }>;
1852
+ declare const FileMessageSchema: z.ZodObject<{
1853
+ roomId: z.ZodNumber;
1854
+ messageId: z.ZodString;
1855
+ string: z.ZodString;
1856
+ status: z.ZodNumber;
1857
+ senderType: z.ZodEnum<["ordinary", "system"]>;
1858
+ fromUserHash: z.ZodString;
1859
+ auto: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
1860
+ createdAt: z.ZodNullable<z.ZodString>;
1861
+ deletedAt: z.ZodNullable<z.ZodString>;
1862
+ time: z.ZodNullable<z.ZodNumber>;
1863
+ } & {
1864
+ type: z.ZodLiteral<"file">;
1865
+ attachment: z.ZodObject<{
1866
+ file_name: z.ZodString;
1867
+ file_size: z.ZodNumber;
1868
+ url: z.ZodString;
1869
+ signed_url: z.ZodNullable<z.ZodString>;
1870
+ type: z.ZodEnum<["uncategorized", "voice_note"]>;
1871
+ meta: z.ZodObject<{
1872
+ duration: z.ZodNumber;
1873
+ }, "strip", z.ZodTypeAny, {
1874
+ duration: number;
1875
+ }, {
1876
+ duration: number;
1877
+ }>;
1878
+ }, "strip", z.ZodTypeAny, {
1879
+ url: string;
1880
+ type: "uncategorized" | "voice_note";
1881
+ file_name: string;
1882
+ meta: {
1883
+ duration: number;
1884
+ };
1885
+ file_size: number;
1886
+ signed_url: string | null;
1887
+ }, {
1888
+ url: string;
1889
+ type: "uncategorized" | "voice_note";
1890
+ file_name: string;
1891
+ meta: {
1892
+ duration: number;
1893
+ };
1894
+ file_size: number;
1895
+ signed_url: string | null;
1896
+ }>;
1897
+ }, "strip", z.ZodTypeAny, {
1898
+ string: string;
1899
+ type: "file";
1900
+ status: number;
1901
+ roomId: number;
1902
+ messageId: string;
1903
+ senderType: "ordinary" | "system";
1904
+ fromUserHash: string;
1905
+ auto: 0 | 1;
1906
+ createdAt: string | null;
1907
+ deletedAt: string | null;
1908
+ time: number | null;
1909
+ attachment: {
1910
+ url: string;
1911
+ type: "uncategorized" | "voice_note";
1912
+ file_name: string;
1913
+ meta: {
1914
+ duration: number;
1915
+ };
1916
+ file_size: number;
1917
+ signed_url: string | null;
1918
+ };
1919
+ }, {
1920
+ string: string;
1921
+ type: "file";
1922
+ status: number;
1923
+ roomId: number;
1924
+ messageId: string;
1925
+ senderType: "ordinary" | "system";
1926
+ fromUserHash: string;
1927
+ auto: 0 | 1;
1928
+ createdAt: string | null;
1929
+ deletedAt: string | null;
1930
+ time: number | null;
1931
+ attachment: {
1932
+ url: string;
1933
+ type: "uncategorized" | "voice_note";
1934
+ file_name: string;
1935
+ meta: {
1936
+ duration: number;
1937
+ };
1938
+ file_size: number;
1939
+ signed_url: string | null;
1940
+ };
1941
+ }>;
1942
+ declare const ImageMessageSchema: z.ZodObject<{
1943
+ roomId: z.ZodNumber;
1944
+ messageId: z.ZodString;
1945
+ string: z.ZodString;
1946
+ status: z.ZodNumber;
1947
+ senderType: z.ZodEnum<["ordinary", "system"]>;
1948
+ fromUserHash: z.ZodString;
1949
+ auto: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
1950
+ createdAt: z.ZodNullable<z.ZodString>;
1951
+ deletedAt: z.ZodNullable<z.ZodString>;
1952
+ time: z.ZodNullable<z.ZodNumber>;
1953
+ } & {
1954
+ type: z.ZodLiteral<"image">;
1955
+ attachment: z.ZodObject<{
1956
+ file_name: z.ZodString;
1957
+ file_size: z.ZodNumber;
1958
+ url: z.ZodString;
1959
+ signed_url: z.ZodNullable<z.ZodString>;
1960
+ type: z.ZodEnum<["uncategorized", "voice_note"]>;
1961
+ meta: z.ZodObject<{
1962
+ duration: z.ZodNumber;
1963
+ }, "strip", z.ZodTypeAny, {
1964
+ duration: number;
1965
+ }, {
1966
+ duration: number;
1967
+ }>;
1968
+ }, "strip", z.ZodTypeAny, {
1969
+ url: string;
1970
+ type: "uncategorized" | "voice_note";
1971
+ file_name: string;
1972
+ meta: {
1973
+ duration: number;
1974
+ };
1975
+ file_size: number;
1976
+ signed_url: string | null;
1977
+ }, {
1978
+ url: string;
1979
+ type: "uncategorized" | "voice_note";
1980
+ file_name: string;
1981
+ meta: {
1982
+ duration: number;
1983
+ };
1984
+ file_size: number;
1985
+ signed_url: string | null;
1986
+ }>;
1987
+ }, "strip", z.ZodTypeAny, {
1988
+ string: string;
1989
+ type: "image";
1990
+ status: number;
1991
+ roomId: number;
1992
+ messageId: string;
1993
+ senderType: "ordinary" | "system";
1994
+ fromUserHash: string;
1995
+ auto: 0 | 1;
1996
+ createdAt: string | null;
1997
+ deletedAt: string | null;
1998
+ time: number | null;
1999
+ attachment: {
2000
+ url: string;
2001
+ type: "uncategorized" | "voice_note";
2002
+ file_name: string;
2003
+ meta: {
2004
+ duration: number;
2005
+ };
2006
+ file_size: number;
2007
+ signed_url: string | null;
2008
+ };
2009
+ }, {
2010
+ string: string;
2011
+ type: "image";
2012
+ status: number;
2013
+ roomId: number;
2014
+ messageId: string;
2015
+ senderType: "ordinary" | "system";
2016
+ fromUserHash: string;
2017
+ auto: 0 | 1;
2018
+ createdAt: string | null;
2019
+ deletedAt: string | null;
2020
+ time: number | null;
2021
+ attachment: {
2022
+ url: string;
2023
+ type: "uncategorized" | "voice_note";
2024
+ file_name: string;
2025
+ meta: {
2026
+ duration: number;
2027
+ };
2028
+ file_size: number;
2029
+ signed_url: string | null;
2030
+ };
2031
+ }>;
2032
+ declare const GetRoomMessagesRequestSchema: z.ZodObject<{
2033
+ roomId: z.ZodNumber;
2034
+ }, "strip", z.ZodTypeAny, {
2035
+ roomId: number;
2036
+ }, {
2037
+ roomId: number;
2038
+ }>;
2039
+ type GetRoomMessagesRequest = z.infer<typeof GetRoomMessagesRequestSchema>;
2040
+ declare const GetRoomMessagesResponseSchema: z.ZodArray<z.ZodUnion<[z.ZodObject<{
2041
+ roomId: z.ZodNumber;
2042
+ messageId: z.ZodString;
2043
+ string: z.ZodString;
2044
+ status: z.ZodNumber;
2045
+ senderType: z.ZodEnum<["ordinary", "system"]>;
2046
+ fromUserHash: z.ZodString;
2047
+ auto: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
2048
+ createdAt: z.ZodNullable<z.ZodString>;
2049
+ deletedAt: z.ZodNullable<z.ZodString>;
2050
+ time: z.ZodNullable<z.ZodNumber>;
2051
+ } & {
2052
+ type: z.ZodLiteral<"string">;
2053
+ attachment: z.ZodNull;
2054
+ }, "strip", z.ZodTypeAny, {
2055
+ string: string;
2056
+ type: "string";
2057
+ status: number;
2058
+ roomId: number;
2059
+ messageId: string;
2060
+ senderType: "ordinary" | "system";
2061
+ fromUserHash: string;
2062
+ auto: 0 | 1;
2063
+ createdAt: string | null;
2064
+ deletedAt: string | null;
2065
+ time: number | null;
2066
+ attachment: null;
2067
+ }, {
2068
+ string: string;
2069
+ type: "string";
2070
+ status: number;
2071
+ roomId: number;
2072
+ messageId: string;
2073
+ senderType: "ordinary" | "system";
2074
+ fromUserHash: string;
2075
+ auto: 0 | 1;
2076
+ createdAt: string | null;
2077
+ deletedAt: string | null;
2078
+ time: number | null;
2079
+ attachment: null;
2080
+ }>, z.ZodObject<{
2081
+ roomId: z.ZodNumber;
2082
+ messageId: z.ZodString;
2083
+ string: z.ZodString;
2084
+ status: z.ZodNumber;
2085
+ senderType: z.ZodEnum<["ordinary", "system"]>;
2086
+ fromUserHash: z.ZodString;
2087
+ auto: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
2088
+ createdAt: z.ZodNullable<z.ZodString>;
2089
+ deletedAt: z.ZodNullable<z.ZodString>;
2090
+ time: z.ZodNullable<z.ZodNumber>;
2091
+ } & {
2092
+ type: z.ZodLiteral<"file">;
2093
+ attachment: z.ZodObject<{
2094
+ file_name: z.ZodString;
2095
+ file_size: z.ZodNumber;
2096
+ url: z.ZodString;
2097
+ signed_url: z.ZodNullable<z.ZodString>;
2098
+ type: z.ZodEnum<["uncategorized", "voice_note"]>;
2099
+ meta: z.ZodObject<{
2100
+ duration: z.ZodNumber;
2101
+ }, "strip", z.ZodTypeAny, {
2102
+ duration: number;
2103
+ }, {
2104
+ duration: number;
2105
+ }>;
2106
+ }, "strip", z.ZodTypeAny, {
2107
+ url: string;
2108
+ type: "uncategorized" | "voice_note";
2109
+ file_name: string;
2110
+ meta: {
2111
+ duration: number;
2112
+ };
2113
+ file_size: number;
2114
+ signed_url: string | null;
2115
+ }, {
2116
+ url: string;
2117
+ type: "uncategorized" | "voice_note";
2118
+ file_name: string;
2119
+ meta: {
2120
+ duration: number;
2121
+ };
2122
+ file_size: number;
2123
+ signed_url: string | null;
2124
+ }>;
2125
+ }, "strip", z.ZodTypeAny, {
2126
+ string: string;
2127
+ type: "file";
2128
+ status: number;
2129
+ roomId: number;
2130
+ messageId: string;
2131
+ senderType: "ordinary" | "system";
2132
+ fromUserHash: string;
2133
+ auto: 0 | 1;
2134
+ createdAt: string | null;
2135
+ deletedAt: string | null;
2136
+ time: number | null;
2137
+ attachment: {
2138
+ url: string;
2139
+ type: "uncategorized" | "voice_note";
2140
+ file_name: string;
2141
+ meta: {
2142
+ duration: number;
2143
+ };
2144
+ file_size: number;
2145
+ signed_url: string | null;
2146
+ };
2147
+ }, {
2148
+ string: string;
2149
+ type: "file";
2150
+ status: number;
2151
+ roomId: number;
2152
+ messageId: string;
2153
+ senderType: "ordinary" | "system";
2154
+ fromUserHash: string;
2155
+ auto: 0 | 1;
2156
+ createdAt: string | null;
2157
+ deletedAt: string | null;
2158
+ time: number | null;
2159
+ attachment: {
2160
+ url: string;
2161
+ type: "uncategorized" | "voice_note";
2162
+ file_name: string;
2163
+ meta: {
2164
+ duration: number;
2165
+ };
2166
+ file_size: number;
2167
+ signed_url: string | null;
2168
+ };
2169
+ }>, z.ZodObject<{
2170
+ roomId: z.ZodNumber;
2171
+ messageId: z.ZodString;
2172
+ string: z.ZodString;
2173
+ status: z.ZodNumber;
2174
+ senderType: z.ZodEnum<["ordinary", "system"]>;
2175
+ fromUserHash: z.ZodString;
2176
+ auto: z.ZodUnion<[z.ZodLiteral<0>, z.ZodLiteral<1>]>;
2177
+ createdAt: z.ZodNullable<z.ZodString>;
2178
+ deletedAt: z.ZodNullable<z.ZodString>;
2179
+ time: z.ZodNullable<z.ZodNumber>;
2180
+ } & {
2181
+ type: z.ZodLiteral<"image">;
2182
+ attachment: z.ZodObject<{
2183
+ file_name: z.ZodString;
2184
+ file_size: z.ZodNumber;
2185
+ url: z.ZodString;
2186
+ signed_url: z.ZodNullable<z.ZodString>;
2187
+ type: z.ZodEnum<["uncategorized", "voice_note"]>;
2188
+ meta: z.ZodObject<{
2189
+ duration: z.ZodNumber;
2190
+ }, "strip", z.ZodTypeAny, {
2191
+ duration: number;
2192
+ }, {
2193
+ duration: number;
2194
+ }>;
2195
+ }, "strip", z.ZodTypeAny, {
2196
+ url: string;
2197
+ type: "uncategorized" | "voice_note";
2198
+ file_name: string;
2199
+ meta: {
2200
+ duration: number;
2201
+ };
2202
+ file_size: number;
2203
+ signed_url: string | null;
2204
+ }, {
2205
+ url: string;
2206
+ type: "uncategorized" | "voice_note";
2207
+ file_name: string;
2208
+ meta: {
2209
+ duration: number;
2210
+ };
2211
+ file_size: number;
2212
+ signed_url: string | null;
2213
+ }>;
2214
+ }, "strip", z.ZodTypeAny, {
2215
+ string: string;
2216
+ type: "image";
2217
+ status: number;
2218
+ roomId: number;
2219
+ messageId: string;
2220
+ senderType: "ordinary" | "system";
2221
+ fromUserHash: string;
2222
+ auto: 0 | 1;
2223
+ createdAt: string | null;
2224
+ deletedAt: string | null;
2225
+ time: number | null;
2226
+ attachment: {
2227
+ url: string;
2228
+ type: "uncategorized" | "voice_note";
2229
+ file_name: string;
2230
+ meta: {
2231
+ duration: number;
2232
+ };
2233
+ file_size: number;
2234
+ signed_url: string | null;
2235
+ };
2236
+ }, {
2237
+ string: string;
2238
+ type: "image";
2239
+ status: number;
2240
+ roomId: number;
2241
+ messageId: string;
2242
+ senderType: "ordinary" | "system";
2243
+ fromUserHash: string;
2244
+ auto: 0 | 1;
2245
+ createdAt: string | null;
2246
+ deletedAt: string | null;
2247
+ time: number | null;
2248
+ attachment: {
2249
+ url: string;
2250
+ type: "uncategorized" | "voice_note";
2251
+ file_name: string;
2252
+ meta: {
2253
+ duration: number;
2254
+ };
2255
+ file_size: number;
2256
+ signed_url: string | null;
2257
+ };
2258
+ }>]>, "many">;
2259
+ type GetRoomMessagesResponse = z.infer<typeof GetRoomMessagesResponseSchema>;
2260
+ declare const GetUnreadMessagesCountRequestSchema: z.ZodObject<{
2261
+ roomId: z.ZodNumber;
2262
+ }, "strip", z.ZodTypeAny, {
2263
+ roomId: number;
2264
+ }, {
2265
+ roomId: number;
2266
+ }>;
2267
+ type GetUnreadMessagesCountRequest = z.infer<typeof GetUnreadMessagesCountRequestSchema>;
2268
+ declare const GetUnreadMessagesCountResponseSchema: z.ZodObject<{
2269
+ unread_count: z.ZodNumber;
2270
+ }, "strip", z.ZodTypeAny, {
2271
+ unread_count: number;
2272
+ }, {
2273
+ unread_count: number;
2274
+ }>;
2275
+ type GetUnreadMessagesCountResponse = z.infer<typeof GetUnreadMessagesCountResponseSchema>;
2276
+ declare const CreateSupportRoomRequestSchema: z.ZodObject<{
2277
+ professional_hash: z.ZodString;
2278
+ }, "strip", z.ZodTypeAny, {
2279
+ professional_hash: string;
2280
+ }, {
2281
+ professional_hash: string;
2282
+ }>;
2283
+ type CreateSupportRoomRequest = z.infer<typeof CreateSupportRoomRequestSchema>;
2284
+ declare const CreateSupportRoomResponseSchema: z.ZodObject<{
2285
+ room_id: z.ZodNumber;
2286
+ }, "strip", z.ZodTypeAny, {
2287
+ room_id: number;
2288
+ }, {
2289
+ room_id: number;
2290
+ }>;
2291
+ type CreateSupportRoomResponse = z.infer<typeof CreateSupportRoomResponseSchema>;
2292
+ type StringMessage = z.infer<typeof StringMessageSchema>;
2293
+ type FileMessage = z.infer<typeof FileMessageSchema>;
2294
+ type ImageMessage = z.infer<typeof ImageMessageSchema>;
2295
+ type Message = StringMessage | FileMessage | ImageMessage;
2296
+
2297
+ declare const GetScheduleServicesResponseSchema: z$1.ZodArray<z$1.ZodObject<{
2298
+ id: z$1.ZodString;
2299
+ name: z$1.ZodString;
2300
+ code: z$1.ZodString;
2301
+ channel: z$1.ZodEnum<["videocall", "chat", "phonecall"]>;
2302
+ price: z$1.ZodNullable<z$1.ZodObject<{
2303
+ /** Smallest currency unit (e.g. cents for EUR/USD). */
2304
+ amount: z$1.ZodNumber;
2305
+ currency: z$1.ZodString;
2306
+ }, "strip", z$1.ZodTypeAny, {
2307
+ currency: string;
2308
+ amount: number;
2309
+ }, {
2310
+ currency: string;
2311
+ amount: number;
2312
+ }>>;
2313
+ }, "strip", z$1.ZodTypeAny, {
2314
+ code: string;
2315
+ id: string;
2316
+ channel: "videocall" | "chat" | "phonecall";
2317
+ name: string;
2318
+ price: {
2319
+ currency: string;
2320
+ amount: number;
2321
+ } | null;
2322
+ }, {
2323
+ code: string;
2324
+ id: string;
2325
+ channel: "videocall" | "chat" | "phonecall";
2326
+ name: string;
2327
+ price: {
2328
+ currency: string;
2329
+ amount: number;
2330
+ } | null;
2331
+ }>, "many">;
2332
+ type GetScheduleServicesResponse = z$1.infer<typeof GetScheduleServicesResponseSchema>;
2333
+ declare const GetProfessionalsBySpecialtyAndServiceResponseSchema: z$1.ZodArray<z$1.ZodObject<{
2334
+ id: z$1.ZodString;
2335
+ avatar: z$1.ZodNullable<z$1.ZodString>;
2336
+ description: z$1.ZodNullable<z$1.ZodString>;
2337
+ collegiate_number: z$1.ZodNullable<z$1.ZodString>;
2338
+ languages: z$1.ZodArray<z$1.ZodString, "many">;
2339
+ name: z$1.ZodString;
2340
+ slots: z$1.ZodArray<z$1.ZodObject<{
2341
+ id: z$1.ZodString;
2342
+ channel: z$1.ZodEnum<["videocall", "chat", "phonecall"]>;
2343
+ duration: z$1.ZodNumber;
2344
+ starts_at: z$1.ZodString;
2345
+ finishes_at: z$1.ZodString;
2346
+ professional: z$1.ZodObject<{
2347
+ id: z$1.ZodString;
2348
+ name: z$1.ZodString;
2349
+ }, "strip", z$1.ZodTypeAny, {
2350
+ id: string;
2351
+ name: string;
2352
+ }, {
2353
+ id: string;
2354
+ name: string;
2355
+ }>;
2356
+ services: z$1.ZodArray<z$1.ZodObject<{
2357
+ id: z$1.ZodString;
2358
+ name: z$1.ZodString;
2359
+ }, "strip", z$1.ZodTypeAny, {
2360
+ id: string;
2361
+ name: string;
2362
+ }, {
2363
+ id: string;
2364
+ name: string;
2365
+ }>, "many">;
2366
+ speciality: z$1.ZodObject<{
2367
+ id: z$1.ZodNumber;
2368
+ price: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
2369
+ amount: z$1.ZodNumber;
2370
+ currency: z$1.ZodString;
2371
+ }, "strip", z$1.ZodTypeAny, {
2372
+ currency: string;
2373
+ amount: number;
2374
+ }, {
2375
+ currency: string;
2376
+ amount: number;
2377
+ }>>>;
2378
+ }, "strip", z$1.ZodTypeAny, {
2379
+ id: number;
2380
+ price?: {
2381
+ currency: string;
2382
+ amount: number;
2383
+ } | null | undefined;
2384
+ }, {
2385
+ id: number;
2386
+ price?: {
2387
+ currency: string;
2388
+ amount: number;
2389
+ } | null | undefined;
2390
+ }>;
2391
+ status: z$1.ZodEnum<["available", "reserved"]>;
2392
+ }, "strip", z$1.ZodTypeAny, {
2393
+ status: "available" | "reserved";
2394
+ id: string;
2395
+ channel: "videocall" | "chat" | "phonecall";
2396
+ duration: number;
2397
+ speciality: {
2398
+ id: number;
2399
+ price?: {
2400
+ currency: string;
2401
+ amount: number;
2402
+ } | null | undefined;
2403
+ };
2404
+ starts_at: string;
2405
+ professional: {
2406
+ id: string;
2407
+ name: string;
2408
+ };
2409
+ finishes_at: string;
2410
+ services: {
2411
+ id: string;
2412
+ name: string;
2413
+ }[];
2414
+ }, {
2415
+ status: "available" | "reserved";
2416
+ id: string;
2417
+ channel: "videocall" | "chat" | "phonecall";
2418
+ duration: number;
2419
+ speciality: {
2420
+ id: number;
2421
+ price?: {
2422
+ currency: string;
2423
+ amount: number;
2424
+ } | null | undefined;
2425
+ };
2426
+ starts_at: string;
2427
+ professional: {
2428
+ id: string;
2429
+ name: string;
2430
+ };
2431
+ finishes_at: string;
2432
+ services: {
2433
+ id: string;
2434
+ name: string;
2435
+ }[];
2436
+ }>, "many">;
2437
+ speciality: z$1.ZodObject<{
2438
+ id: z$1.ZodNumber;
2439
+ }, "strip", z$1.ZodTypeAny, {
2440
+ id: number;
2441
+ }, {
2442
+ id: number;
2443
+ }>;
2444
+ tax_id: z$1.ZodNullable<z$1.ZodString>;
2445
+ }, "strip", z$1.ZodTypeAny, {
2446
+ id: string;
2447
+ name: string;
2448
+ avatar: string | null;
2449
+ speciality: {
2450
+ id: number;
2451
+ };
2452
+ collegiate_number: string | null;
2453
+ languages: string[];
2454
+ description: string | null;
2455
+ slots: {
2456
+ status: "available" | "reserved";
2457
+ id: string;
2458
+ channel: "videocall" | "chat" | "phonecall";
2459
+ duration: number;
2460
+ speciality: {
2461
+ id: number;
2462
+ price?: {
2463
+ currency: string;
2464
+ amount: number;
2465
+ } | null | undefined;
2466
+ };
2467
+ starts_at: string;
2468
+ professional: {
2469
+ id: string;
2470
+ name: string;
2471
+ };
2472
+ finishes_at: string;
2473
+ services: {
2474
+ id: string;
2475
+ name: string;
2476
+ }[];
2477
+ }[];
2478
+ tax_id: string | null;
2479
+ }, {
2480
+ id: string;
2481
+ name: string;
2482
+ avatar: string | null;
2483
+ speciality: {
2484
+ id: number;
2485
+ };
2486
+ collegiate_number: string | null;
2487
+ languages: string[];
2488
+ description: string | null;
2489
+ slots: {
2490
+ status: "available" | "reserved";
2491
+ id: string;
2492
+ channel: "videocall" | "chat" | "phonecall";
2493
+ duration: number;
2494
+ speciality: {
2495
+ id: number;
2496
+ price?: {
2497
+ currency: string;
2498
+ amount: number;
2499
+ } | null | undefined;
2500
+ };
2501
+ starts_at: string;
2502
+ professional: {
2503
+ id: string;
2504
+ name: string;
2505
+ };
2506
+ finishes_at: string;
2507
+ services: {
2508
+ id: string;
2509
+ name: string;
2510
+ }[];
2511
+ }[];
2512
+ tax_id: string | null;
2513
+ }>, "many">;
2514
+ type GetProfessionalsBySpecialtyAndServiceResponse = z$1.infer<typeof GetProfessionalsBySpecialtyAndServiceResponseSchema>;
2515
+ declare const GetProfessionalsBySpecialtyAndServiceRequestSchema: z$1.ZodObject<{
2516
+ speciality_id: z$1.ZodNumber;
2517
+ organization_schedule_service_id: z$1.ZodString;
2518
+ closest_slots_days: z$1.ZodOptional<z$1.ZodNumber>;
2519
+ slots_per_day: z$1.ZodOptional<z$1.ZodNumber>;
2520
+ }, "strip", z$1.ZodTypeAny, {
2521
+ speciality_id: number;
2522
+ organization_schedule_service_id: string;
2523
+ closest_slots_days?: number | undefined;
2524
+ slots_per_day?: number | undefined;
2525
+ }, {
2526
+ speciality_id: number;
2527
+ organization_schedule_service_id: string;
2528
+ closest_slots_days?: number | undefined;
2529
+ slots_per_day?: number | undefined;
2530
+ }>;
2531
+ type GetProfessionalsBySpecialtyAndServiceRequest = z$1.infer<typeof GetProfessionalsBySpecialtyAndServiceRequestSchema>;
2532
+ declare const GetScheduleServiceProfessionalSlotsRequestSchema: z$1.ZodObject<{
2533
+ service_id: z$1.ZodString;
2534
+ professional_hash: z$1.ZodString;
2535
+ starts_at: z$1.ZodString;
2536
+ finishes_at: z$1.ZodString;
2537
+ /** Set only when rescheduling — id of the appointment being rescheduled. */
2538
+ rescheduling_appointment_id: z$1.ZodOptional<z$1.ZodString>;
2539
+ }, "strip", z$1.ZodTypeAny, {
2540
+ service_id: string;
2541
+ starts_at: string;
2542
+ professional_hash: string;
2543
+ finishes_at: string;
2544
+ rescheduling_appointment_id?: string | undefined;
2545
+ }, {
2546
+ service_id: string;
2547
+ starts_at: string;
2548
+ professional_hash: string;
2549
+ finishes_at: string;
2550
+ rescheduling_appointment_id?: string | undefined;
2551
+ }>;
2552
+ type GetScheduleServiceProfessionalSlotsRequest = z$1.infer<typeof GetScheduleServiceProfessionalSlotsRequestSchema>;
2553
+ declare const GetScheduleServiceProfessionalSlotsResponseSchema: z$1.ZodArray<z$1.ZodObject<{
2554
+ id: z$1.ZodString;
2555
+ channel: z$1.ZodEnum<["videocall", "chat", "phonecall"]>;
2556
+ duration: z$1.ZodNumber;
2557
+ starts_at: z$1.ZodString;
2558
+ finishes_at: z$1.ZodString;
2559
+ professional: z$1.ZodObject<{
2560
+ id: z$1.ZodString;
2561
+ name: z$1.ZodString;
2562
+ }, "strip", z$1.ZodTypeAny, {
2563
+ id: string;
2564
+ name: string;
2565
+ }, {
2566
+ id: string;
2567
+ name: string;
2568
+ }>;
2569
+ services: z$1.ZodArray<z$1.ZodObject<{
2570
+ id: z$1.ZodString;
2571
+ name: z$1.ZodString;
2572
+ }, "strip", z$1.ZodTypeAny, {
2573
+ id: string;
2574
+ name: string;
2575
+ }, {
2576
+ id: string;
2577
+ name: string;
2578
+ }>, "many">;
2579
+ speciality: z$1.ZodObject<{
2580
+ id: z$1.ZodNumber;
2581
+ price: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
2582
+ amount: z$1.ZodNumber;
2583
+ currency: z$1.ZodString;
2584
+ }, "strip", z$1.ZodTypeAny, {
2585
+ currency: string;
2586
+ amount: number;
2587
+ }, {
2588
+ currency: string;
2589
+ amount: number;
2590
+ }>>>;
2591
+ }, "strip", z$1.ZodTypeAny, {
2592
+ id: number;
2593
+ price?: {
2594
+ currency: string;
2595
+ amount: number;
2596
+ } | null | undefined;
2597
+ }, {
2598
+ id: number;
2599
+ price?: {
2600
+ currency: string;
2601
+ amount: number;
2602
+ } | null | undefined;
2603
+ }>;
2604
+ status: z$1.ZodEnum<["available", "reserved"]>;
2605
+ }, "strip", z$1.ZodTypeAny, {
2606
+ status: "available" | "reserved";
2607
+ id: string;
2608
+ channel: "videocall" | "chat" | "phonecall";
2609
+ duration: number;
2610
+ speciality: {
2611
+ id: number;
2612
+ price?: {
2613
+ currency: string;
2614
+ amount: number;
2615
+ } | null | undefined;
2616
+ };
2617
+ starts_at: string;
2618
+ professional: {
2619
+ id: string;
2620
+ name: string;
2621
+ };
2622
+ finishes_at: string;
2623
+ services: {
2624
+ id: string;
2625
+ name: string;
2626
+ }[];
2627
+ }, {
2628
+ status: "available" | "reserved";
2629
+ id: string;
2630
+ channel: "videocall" | "chat" | "phonecall";
2631
+ duration: number;
2632
+ speciality: {
2633
+ id: number;
2634
+ price?: {
2635
+ currency: string;
2636
+ amount: number;
2637
+ } | null | undefined;
2638
+ };
2639
+ starts_at: string;
2640
+ professional: {
2641
+ id: string;
2642
+ name: string;
2643
+ };
2644
+ finishes_at: string;
2645
+ services: {
2646
+ id: string;
2647
+ name: string;
2648
+ }[];
2649
+ }>, "many">;
2650
+ type GetScheduleServiceProfessionalSlotsResponse = z$1.infer<typeof GetScheduleServiceProfessionalSlotsResponseSchema>;
2651
+ declare const GetScheduleServiceSpecialitiesResponseSchema: z$1.ZodArray<z$1.ZodObject<{
2652
+ id: z$1.ZodNumber;
2653
+ name: z$1.ZodString;
2654
+ code: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
2655
+ price: z$1.ZodNullable<z$1.ZodObject<{
2656
+ amount: z$1.ZodNumber;
2657
+ currency: z$1.ZodString;
2658
+ }, "strip", z$1.ZodTypeAny, {
2659
+ currency: string;
2660
+ amount: number;
2661
+ }, {
2662
+ currency: string;
2663
+ amount: number;
2664
+ }>>;
2665
+ }, "strip", z$1.ZodTypeAny, {
2666
+ id: number;
2667
+ name: string;
2668
+ price: {
2669
+ currency: string;
2670
+ amount: number;
2671
+ } | null;
2672
+ code?: string | null | undefined;
2673
+ }, {
2674
+ id: number;
2675
+ name: string;
2676
+ price: {
2677
+ currency: string;
2678
+ amount: number;
2679
+ } | null;
2680
+ code?: string | null | undefined;
2681
+ }>, "many">;
2682
+ type GetScheduleServiceSpecialitiesResponse = z$1.infer<typeof GetScheduleServiceSpecialitiesResponseSchema>;
2683
+ declare const GetScheduleSlotRequestSchema: z$1.ZodObject<{
2684
+ slot_id: z$1.ZodString;
2685
+ service_id: z$1.ZodOptional<z$1.ZodString>;
2686
+ speciality_id: z$1.ZodOptional<z$1.ZodNumber>;
2687
+ }, "strip", z$1.ZodTypeAny, {
2688
+ slot_id: string;
2689
+ speciality_id?: number | undefined;
2690
+ service_id?: string | undefined;
2691
+ }, {
2692
+ slot_id: string;
2693
+ speciality_id?: number | undefined;
2694
+ service_id?: string | undefined;
2695
+ }>;
2696
+ type GetScheduleSlotRequest = z$1.infer<typeof GetScheduleSlotRequestSchema>;
2697
+ declare const GetScheduleSlotResponseSchema: z$1.ZodObject<{
2698
+ id: z$1.ZodString;
2699
+ channel: z$1.ZodEnum<["videocall", "chat", "phonecall"]>;
2700
+ duration: z$1.ZodNumber;
2701
+ starts_at: z$1.ZodString;
2702
+ finishes_at: z$1.ZodString;
2703
+ professional: z$1.ZodObject<{
2704
+ id: z$1.ZodString;
2705
+ name: z$1.ZodString;
2706
+ }, "strip", z$1.ZodTypeAny, {
2707
+ id: string;
2708
+ name: string;
2709
+ }, {
2710
+ id: string;
2711
+ name: string;
2712
+ }>;
2713
+ services: z$1.ZodArray<z$1.ZodObject<{
2714
+ id: z$1.ZodString;
2715
+ name: z$1.ZodString;
2716
+ }, "strip", z$1.ZodTypeAny, {
2717
+ id: string;
2718
+ name: string;
2719
+ }, {
2720
+ id: string;
2721
+ name: string;
2722
+ }>, "many">;
2723
+ speciality: z$1.ZodObject<{
2724
+ id: z$1.ZodNumber;
2725
+ price: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodObject<{
2726
+ amount: z$1.ZodNumber;
2727
+ currency: z$1.ZodString;
2728
+ }, "strip", z$1.ZodTypeAny, {
2729
+ currency: string;
2730
+ amount: number;
2731
+ }, {
2732
+ currency: string;
2733
+ amount: number;
2734
+ }>>>;
2735
+ }, "strip", z$1.ZodTypeAny, {
2736
+ id: number;
2737
+ price?: {
2738
+ currency: string;
2739
+ amount: number;
2740
+ } | null | undefined;
2741
+ }, {
2742
+ id: number;
2743
+ price?: {
2744
+ currency: string;
2745
+ amount: number;
2746
+ } | null | undefined;
2747
+ }>;
2748
+ status: z$1.ZodEnum<["available", "reserved"]>;
2749
+ }, "strip", z$1.ZodTypeAny, {
2750
+ status: "available" | "reserved";
2751
+ id: string;
2752
+ channel: "videocall" | "chat" | "phonecall";
2753
+ duration: number;
2754
+ speciality: {
2755
+ id: number;
2756
+ price?: {
2757
+ currency: string;
2758
+ amount: number;
2759
+ } | null | undefined;
2760
+ };
2761
+ starts_at: string;
2762
+ professional: {
2763
+ id: string;
2764
+ name: string;
2765
+ };
2766
+ finishes_at: string;
2767
+ services: {
2768
+ id: string;
2769
+ name: string;
2770
+ }[];
2771
+ }, {
2772
+ status: "available" | "reserved";
2773
+ id: string;
2774
+ channel: "videocall" | "chat" | "phonecall";
2775
+ duration: number;
2776
+ speciality: {
2777
+ id: number;
2778
+ price?: {
2779
+ currency: string;
2780
+ amount: number;
2781
+ } | null | undefined;
2782
+ };
2783
+ starts_at: string;
2784
+ professional: {
2785
+ id: string;
2786
+ name: string;
2787
+ };
2788
+ finishes_at: string;
2789
+ services: {
2790
+ id: string;
2791
+ name: string;
2792
+ }[];
2793
+ }>;
2794
+ type GetScheduleSlotResponse = z$1.infer<typeof GetScheduleSlotResponseSchema>;
2795
+
2796
+ interface ValidateResponseOptions {
2797
+ debug?: boolean;
2798
+ }
2799
+ type ValidateFn = <T>(schema: ZodType<T>) => (response: {
2800
+ data: unknown;
2801
+ }) => T;
2802
+
2803
+ declare class ApiChatAppointmentsClient {
2804
+ private readonly httpClient;
2805
+ private readonly validate;
2806
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
2807
+ getAppointments(request: GetAppointmentsRequest): Promise<GetAppointmentsResponse>;
2808
+ createAppointment(request: CreateAppointmentRequest): Promise<CreateAppointmentResponse>;
2809
+ getAppointment(request: GetAppointmentRequest$1): Promise<GetAppointmentResponse$1>;
2810
+ getDocumentsStorage(): Promise<GetDocumentsStorageResponse>;
2811
+ rescheduleAppointment(request: RescheduleAppointmentRequest): Promise<void>;
2812
+ cancelAppointment(request: CancelAppointmentRequest): Promise<void>;
2813
+ updateAppointment(request: UpdateAppointmentRequest): Promise<void>;
2814
+ addDocument(request: AddDocumentRequest): Promise<void>;
2815
+ deleteDocument(request: DeleteDocumentRequest): Promise<void>;
2816
+ reconnectAppointment(request: ReconnectAppointmentRequest): Promise<void>;
2817
+ }
2818
+
2819
+ declare class ApiChatAuthClient {
2820
+ private readonly httpClient;
2821
+ private readonly validate;
2822
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
2823
+ loginToken(request: LoginTokenRequest): Promise<LoginTokenResponse>;
2824
+ }
2825
+
2826
+ declare class ApiChatConsultationsClient {
2827
+ private readonly httpClient;
2828
+ private readonly validate;
2829
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
2830
+ postReview(request: PostReviewRequest): Promise<void>;
2831
+ startChatConsultation(professionalHash: string): Promise<void>;
2832
+ getReview(consultationId: string): Promise<GetReviewResponse>;
2833
+ }
2834
+
2835
+ declare class ApiChatDocumentsClient {
2836
+ private readonly httpClient;
2837
+ private readonly validate;
2838
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
2839
+ uploadFile(request: UploadFileRequest): Promise<UploadFileResponse>;
2840
+ }
2841
+
2842
+ declare class ApiChatFlashClient {
2843
+ private readonly httpClient;
2844
+ private readonly validate;
2845
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
2846
+ getAppointment(request: GetAppointmentRequest): Promise<GetAppointmentResponse>;
2847
+ joinCall(request: JoinCallRequest): Promise<JoinCallResponse>;
2848
+ setReady(request: SetReadyRequest): Promise<void>;
2849
+ leaveWaitingRoom(request: LeaveWaitingRoomRequest): Promise<void>;
2850
+ getSharedDocuments(request: GetSharedDocumentsRequest): Promise<GetSharedDocumentsResponse>;
2851
+ downloadDocument(request: DownloadDocumentRequest): Promise<Blob>;
2852
+ updatePatientProfile(request: UpdatePatientProfileRequest): Promise<void>;
2853
+ getPatientDocuments(request: GetPatientDocumentsRequest): Promise<GetPatientDocumentsResponse>;
2854
+ }
2855
+
2856
+ declare class ApiChatOrganizationsClient {
2857
+ private readonly httpClient;
2858
+ private readonly validate;
2859
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
2860
+ getOrganizationSpecialties(): Promise<GetOrganizationSpecialtiesResponse>;
2861
+ getOrganizationSetup(): Promise<GetOrganizationSetupResponse>;
2862
+ }
2863
+
2864
+ declare class ApiChatPaymentsClient {
2865
+ private readonly httpClient;
2866
+ private readonly validate;
2867
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
2868
+ createPaymentLink(request: CreatePaymentLinkRequest): Promise<CreatePaymentLinkResponse>;
2869
+ /**
2870
+ * Creates a payment session for a paid immediate videocall. Returns the same
2871
+ * `{ session_id, payment_link }` shape as `createPaymentLink`, so the
2872
+ * `mq-checkout` polling and hosted portal work without changes. Addon Payments
2873
+ * only; the videocall itself is created by the Addon webhook post-payment.
2874
+ */
2875
+ createImmediateVideocallPaymentLink(request: CreateImmediateVideocallPaymentLinkRequest): Promise<CreateImmediateVideocallPaymentLinkResponse>;
2876
+ createChatConsultationPaymentLink(request: CreateChatConsultationPaymentLinkRequest): Promise<CreateChatConsultationPaymentLinkResponse>;
2877
+ /**
2878
+ * Fetches a coupon by code, sending `amount` so the backend returns the
2879
+ * authoritative total. Rejects with 404 when the coupon is unavailable.
2880
+ */
2881
+ getConsultationCoupon(code: string, amount: number): Promise<GetConsultationCouponResponse>;
2882
+ /**
2883
+ * Fetches the coupon applied to a booked appointment, for the confirmation
2884
+ * view. Rejects with 404 when the appointment has no associated coupon /
2885
+ * payment intent.
2886
+ */
2887
+ getAppointmentConsultationCoupon(appointmentId: string): Promise<GetAppointmentConsultationCouponResponse>;
2888
+ getPaymentSession(sessionId: string): Promise<GetPaymentSessionResponse>;
2889
+ /**
2890
+ * Validates the merchant session with Apple.
2891
+ * The HTTP body is Apple's merchant session JSON at the root (passed verbatim
2892
+ * to `ApplePaySession.completeMerchantValidation`) — not a `{ data: … }` wrapper.
2893
+ */
2894
+ validateApplePayMerchant(request: ValidateApplePayMerchantRequest): Promise<ValidateApplePayMerchantResponse>;
2895
+ /**
2896
+ * Authorizes an Apple Pay payment token against the given order.
2897
+ */
2898
+ authorizeApplePay(request: AuthorizeApplePayRequest): Promise<AuthorizeApplePayResponse>;
2899
+ /**
2900
+ * Authorizes a Google Pay payment token against the given order.
2901
+ */
2902
+ authorizeGooglePay(request: AuthorizeGooglePayRequest): Promise<AuthorizeGooglePayResponse>;
2903
+ }
2904
+
2905
+ declare class ApiChatProfessionalsClient {
2906
+ private readonly httpClient;
2907
+ private readonly validate;
2908
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
2909
+ getProfessional(request: GetProfessionalRequest): Promise<GetProfessionalResponse>;
2910
+ readAllMessages(request: ReadAllMessagesRequest): Promise<void>;
2911
+ }
2912
+
2913
+ declare class ApiChatProfileClient {
2914
+ private readonly httpClient;
2915
+ private readonly validate;
2916
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
2917
+ getPatientProfile(): Promise<GetPatientProfileResponse>;
2918
+ getProfessionalPublicProfile(request: GetProfessionalPublicProfileRequest): Promise<GetProfessionalPublicProfileResponse>;
2919
+ acceptLegalConsent(request: AcceptLegalConsentRequest): Promise<void>;
2920
+ }
2921
+
2922
+ declare class ApiChatRoomsClient {
2923
+ private readonly httpClient;
2924
+ private readonly validate;
2925
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
2926
+ getRoomMessages(request: GetRoomMessagesRequest): Promise<GetRoomMessagesResponse>;
2927
+ getUnreadMessagesCount(request: GetUnreadMessagesCountRequest): Promise<GetUnreadMessagesCountResponse>;
2928
+ createSupportRoom(request: CreateSupportRoomRequest): Promise<CreateSupportRoomResponse>;
2929
+ }
2930
+
2931
+ declare class ApiChatSchedulesClient {
2932
+ private readonly httpClient;
2933
+ private readonly validate;
2934
+ constructor(httpClient: AxiosInstance, validate: ValidateFn);
2935
+ getScheduleServices(): Promise<GetScheduleServicesResponse>;
2936
+ getProfessionalsBySpecialtyAndService(request: GetProfessionalsBySpecialtyAndServiceRequest): Promise<GetProfessionalsBySpecialtyAndServiceResponse>;
2937
+ getScheduleServiceProfessionalSlots(request: GetScheduleServiceProfessionalSlotsRequest): Promise<GetScheduleServiceProfessionalSlotsResponse>;
2938
+ getScheduleServiceSpecialities(serviceId: string): Promise<GetScheduleServiceSpecialitiesResponse>;
2939
+ getScheduleSlot(request: GetScheduleSlotRequest): Promise<GetScheduleSlotResponse>;
2940
+ }
2941
+
2942
+ type Env = "development" | "production";
2943
+ interface ApiChatClientConfig extends ValidateResponseOptions {
2944
+ env?: Env;
2945
+ baseURL?: string;
2946
+ /** Organization this client speaks for. Sent as `x-api-key` on every request. */
2947
+ apiKey?: string;
2948
+ /** Patient session token. Sent as `Authorization: Bearer`. */
2949
+ token?: string;
2950
+ /** Sent as `Accept-Language`. */
2951
+ locale?: string;
2952
+ }
2953
+ declare class MediquoApiChatClient {
2954
+ private readonly httpClient;
2955
+ private _apiKey?;
2956
+ flash: ApiChatFlashClient;
2957
+ auth: ApiChatAuthClient;
2958
+ appointments: ApiChatAppointmentsClient;
2959
+ payments: ApiChatPaymentsClient;
2960
+ schedules: ApiChatSchedulesClient;
2961
+ organizations: ApiChatOrganizationsClient;
2962
+ profile: ApiChatProfileClient;
2963
+ professionals: ApiChatProfessionalsClient;
2964
+ rooms: ApiChatRoomsClient;
2965
+ documents: ApiChatDocumentsClient;
2966
+ consultations: ApiChatConsultationsClient;
2967
+ constructor({ env, baseURL, debug, apiKey, token, locale, }?: ApiChatClientConfig);
2968
+ /**
2969
+ * Sets the patient session token on this instance only.
2970
+ *
2971
+ * Prefer passing `token` to the constructor. This setter is for the flows
2972
+ * that only learn their token after an exchange (the checkouts log in with
2973
+ * the host's token and get a session back).
2974
+ */
2975
+ setAuthToken(token: string): void;
2976
+ /**
2977
+ * Sets the organization on this instance only.
2978
+ *
2979
+ * Prefer passing `apiKey` to the constructor: an owner that never mutates its
2980
+ * client cannot be caught mid-swap by an in-flight request.
2981
+ */
2982
+ setApiKey(apiKey: string): void;
2983
+ /** The organization this client speaks for, for callers that scope by it. */
2984
+ getApiKey(): string | undefined;
2985
+ setLanguage(language: string): void;
2986
+ }
2987
+
2988
+ export { MediquoApiChatClient as M, PaymentProvider as P };
2989
+ export type { CreatePaymentLinkRequest as C, FileMessage as F, GetAppointmentsResponse as G, ImageMessage as I, Message as a, GetOrganizationSetupResponse as b, GetScheduleServicesResponse as c, GetProfessionalsBySpecialtyAndServiceResponse as d };