@yonus_amire01/chat 0.1.0

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 (222) hide show
  1. package/README.md +127 -0
  2. package/dist/index.cjs +6 -0
  3. package/dist/index.cjs.map +1 -0
  4. package/dist/index.mjs +9360 -0
  5. package/dist/index.mjs.map +1 -0
  6. package/dist/style.css +1 -0
  7. package/dist/types/adapter/HostAdapter.d.ts +13 -0
  8. package/dist/types/adapter/HostAdapter.d.ts.map +1 -0
  9. package/dist/types/adapter/PushPort.d.ts +10 -0
  10. package/dist/types/adapter/PushPort.d.ts.map +1 -0
  11. package/dist/types/adapter/index.d.ts +7 -0
  12. package/dist/types/adapter/index.d.ts.map +1 -0
  13. package/dist/types/adapter/mock/MockCallAdapter.d.ts +14 -0
  14. package/dist/types/adapter/mock/MockCallAdapter.d.ts.map +1 -0
  15. package/dist/types/adapter/mock/MockChatActionAdapter.d.ts +9 -0
  16. package/dist/types/adapter/mock/MockChatActionAdapter.d.ts.map +1 -0
  17. package/dist/types/adapter/mock/MockChatAdapter.d.ts +7 -0
  18. package/dist/types/adapter/mock/MockChatAdapter.d.ts.map +1 -0
  19. package/dist/types/adapter/mock/MockMedicationAdapter.d.ts +7 -0
  20. package/dist/types/adapter/mock/MockMedicationAdapter.d.ts.map +1 -0
  21. package/dist/types/adapter/mock/MockServiceAdapter.d.ts +6 -0
  22. package/dist/types/adapter/mock/MockServiceAdapter.d.ts.map +1 -0
  23. package/dist/types/adapter/mock/createMockAdapter.d.ts +13 -0
  24. package/dist/types/adapter/mock/createMockAdapter.d.ts.map +1 -0
  25. package/dist/types/adapter/mock/index.d.ts +12 -0
  26. package/dist/types/adapter/mock/index.d.ts.map +1 -0
  27. package/dist/types/adapter/ports/CallAdapter.d.ts +36 -0
  28. package/dist/types/adapter/ports/CallAdapter.d.ts.map +1 -0
  29. package/dist/types/adapter/ports/ChatActionAdapter.d.ts +17 -0
  30. package/dist/types/adapter/ports/ChatActionAdapter.d.ts.map +1 -0
  31. package/dist/types/adapter/ports/ChatAdapter.d.ts +22 -0
  32. package/dist/types/adapter/ports/ChatAdapter.d.ts.map +1 -0
  33. package/dist/types/adapter/ports/MedicationAdapter.d.ts +6 -0
  34. package/dist/types/adapter/ports/MedicationAdapter.d.ts.map +1 -0
  35. package/dist/types/adapter/ports/ServiceAdapter.d.ts +16 -0
  36. package/dist/types/adapter/ports/ServiceAdapter.d.ts.map +1 -0
  37. package/dist/types/components/ChatPage.vue.d.ts +8 -0
  38. package/dist/types/components/ChatPage.vue.d.ts.map +1 -0
  39. package/dist/types/components/call/CallBoard.vue.d.ts +154 -0
  40. package/dist/types/components/call/CallBoard.vue.d.ts.map +1 -0
  41. package/dist/types/components/call/CallMemberDisplay.vue.d.ts +57 -0
  42. package/dist/types/components/call/CallMemberDisplay.vue.d.ts.map +1 -0
  43. package/dist/types/components/call/CallPageOverlay.vue.d.ts +1365 -0
  44. package/dist/types/components/call/CallPageOverlay.vue.d.ts.map +1 -0
  45. package/dist/types/components/call/paint-board/BoardColorPicker.vue.d.ts +41 -0
  46. package/dist/types/components/call/paint-board/BoardColorPicker.vue.d.ts.map +1 -0
  47. package/dist/types/components/call/paint-board/BrushSizeSlider.vue.d.ts +48 -0
  48. package/dist/types/components/call/paint-board/BrushSizeSlider.vue.d.ts.map +1 -0
  49. package/dist/types/components/call/paint-board/CallPaintBoard.vue.d.ts +127 -0
  50. package/dist/types/components/call/paint-board/CallPaintBoard.vue.d.ts.map +1 -0
  51. package/dist/types/components/chat/ChatBubble.vue.d.ts +12236 -0
  52. package/dist/types/components/chat/ChatBubble.vue.d.ts.map +1 -0
  53. package/dist/types/components/chat/ChatInput.vue.d.ts +2477 -0
  54. package/dist/types/components/chat/ChatInput.vue.d.ts.map +1 -0
  55. package/dist/types/components/chat/ChatMessages.vue.d.ts +13873 -0
  56. package/dist/types/components/chat/ChatMessages.vue.d.ts.map +1 -0
  57. package/dist/types/components/chat/ChatPageBar.vue.d.ts +1204 -0
  58. package/dist/types/components/chat/ChatPageBar.vue.d.ts.map +1 -0
  59. package/dist/types/components/chat/ChatProfileOverview.vue.d.ts +327 -0
  60. package/dist/types/components/chat/ChatProfileOverview.vue.d.ts.map +1 -0
  61. package/dist/types/components/chat/ChatView.vue.d.ts +4 -0
  62. package/dist/types/components/chat/ChatView.vue.d.ts.map +1 -0
  63. package/dist/types/components/chat/PatientReferral.vue.d.ts +33 -0
  64. package/dist/types/components/chat/PatientReferral.vue.d.ts.map +1 -0
  65. package/dist/types/components/chat/chat-bubbles/BubbleOptions.vue.d.ts +53 -0
  66. package/dist/types/components/chat/chat-bubbles/BubbleOptions.vue.d.ts.map +1 -0
  67. package/dist/types/components/chat/chat-bubbles/BubbleVideo.vue.d.ts +103 -0
  68. package/dist/types/components/chat/chat-bubbles/BubbleVideo.vue.d.ts.map +1 -0
  69. package/dist/types/components/chat/chat-bubbles/FileDisplay.vue.d.ts +170 -0
  70. package/dist/types/components/chat/chat-bubbles/FileDisplay.vue.d.ts.map +1 -0
  71. package/dist/types/components/chat/chat-bubbles/ImageGroupDisplay.vue.d.ts +74 -0
  72. package/dist/types/components/chat/chat-bubbles/ImageGroupDisplay.vue.d.ts.map +1 -0
  73. package/dist/types/components/chat/chat-bubbles/RequestCard.vue.d.ts +11449 -0
  74. package/dist/types/components/chat/chat-bubbles/RequestCard.vue.d.ts.map +1 -0
  75. package/dist/types/components/chat/chat-bubbles/VoiceDisplay.vue.d.ts +107 -0
  76. package/dist/types/components/chat/chat-bubbles/VoiceDisplay.vue.d.ts.map +1 -0
  77. package/dist/types/components/chat/chat-bubbles/request-card/ProviderDisplay.vue.d.ts +56 -0
  78. package/dist/types/components/chat/chat-bubbles/request-card/ProviderDisplay.vue.d.ts.map +1 -0
  79. package/dist/types/components/chat/chat-input/AttachementFileDisplay.vue.d.ts +28 -0
  80. package/dist/types/components/chat/chat-input/AttachementFileDisplay.vue.d.ts.map +1 -0
  81. package/dist/types/components/chat/chat-input/InputAttachement.vue.d.ts +72 -0
  82. package/dist/types/components/chat/chat-input/InputAttachement.vue.d.ts.map +1 -0
  83. package/dist/types/components/chat/chat-input/PermissionPopup.vue.d.ts +15 -0
  84. package/dist/types/components/chat/chat-input/PermissionPopup.vue.d.ts.map +1 -0
  85. package/dist/types/components/chat/chat-input/VideoRecordDisplay.vue.d.ts +149 -0
  86. package/dist/types/components/chat/chat-input/VideoRecordDisplay.vue.d.ts.map +1 -0
  87. package/dist/types/components/chat/contact/ChatContactDisplay.vue.d.ts +85 -0
  88. package/dist/types/components/chat/contact/ChatContactDisplay.vue.d.ts.map +1 -0
  89. package/dist/types/components/chat/contact/ChatList.vue.d.ts +3111 -0
  90. package/dist/types/components/chat/contact/ChatList.vue.d.ts.map +1 -0
  91. package/dist/types/components/chat/contact/ChatListSearch.vue.d.ts +24 -0
  92. package/dist/types/components/chat/contact/ChatListSearch.vue.d.ts.map +1 -0
  93. package/dist/types/components/chat/contact/ContactAvatar.vue.d.ts +28 -0
  94. package/dist/types/components/chat/contact/ContactAvatar.vue.d.ts.map +1 -0
  95. package/dist/types/components/chat/medic-features/MedicDisplay.vue.d.ts +61 -0
  96. package/dist/types/components/chat/medic-features/MedicDisplay.vue.d.ts.map +1 -0
  97. package/dist/types/components/chat/medic-features/MedicSelector.vue.d.ts +1113 -0
  98. package/dist/types/components/chat/medic-features/MedicSelector.vue.d.ts.map +1 -0
  99. package/dist/types/components/chat/medic-features/MedicSelectorContent.vue.d.ts +1060 -0
  100. package/dist/types/components/chat/medic-features/MedicSelectorContent.vue.d.ts.map +1 -0
  101. package/dist/types/components/chat/medic-features/PrescribtionDisplay.vue.d.ts +1431 -0
  102. package/dist/types/components/chat/medic-features/PrescribtionDisplay.vue.d.ts.map +1 -0
  103. package/dist/types/components/chat/profile/FileDisplay.vue.d.ts +28 -0
  104. package/dist/types/components/chat/profile/FileDisplay.vue.d.ts.map +1 -0
  105. package/dist/types/components/general/FileFormatDisplay.vue.d.ts +60 -0
  106. package/dist/types/components/general/FileFormatDisplay.vue.d.ts.map +1 -0
  107. package/dist/types/components/general/LoadingStatus.vue.d.ts +59 -0
  108. package/dist/types/components/general/LoadingStatus.vue.d.ts.map +1 -0
  109. package/dist/types/components/general/NoDataDisplay.vue.d.ts +24 -0
  110. package/dist/types/components/general/NoDataDisplay.vue.d.ts.map +1 -0
  111. package/dist/types/components/general/SafeEmojiText.vue.d.ts +24 -0
  112. package/dist/types/components/general/SafeEmojiText.vue.d.ts.map +1 -0
  113. package/dist/types/components/global/BCarousel.vue.d.ts +48 -0
  114. package/dist/types/components/global/BCarousel.vue.d.ts.map +1 -0
  115. package/dist/types/composables/chat/useChatRecording.d.ts +74 -0
  116. package/dist/types/composables/chat/useChatRecording.d.ts.map +1 -0
  117. package/dist/types/composables/useAppPermissions.d.ts +25 -0
  118. package/dist/types/composables/useAppPermissions.d.ts.map +1 -0
  119. package/dist/types/composables/useAppToast.d.ts +6 -0
  120. package/dist/types/composables/useAppToast.d.ts.map +1 -0
  121. package/dist/types/composables/useClickOutside.d.ts +3 -0
  122. package/dist/types/composables/useClickOutside.d.ts.map +1 -0
  123. package/dist/types/composables/useDate.d.ts +24 -0
  124. package/dist/types/composables/useDate.d.ts.map +1 -0
  125. package/dist/types/composables/useDevice.d.ts +32 -0
  126. package/dist/types/composables/useDevice.d.ts.map +1 -0
  127. package/dist/types/composables/useLocale.d.ts +12 -0
  128. package/dist/types/composables/useLocale.d.ts.map +1 -0
  129. package/dist/types/composables/useTheme.d.ts +4 -0
  130. package/dist/types/composables/useTheme.d.ts.map +1 -0
  131. package/dist/types/composables/useValidation.d.ts +20 -0
  132. package/dist/types/composables/useValidation.d.ts.map +1 -0
  133. package/dist/types/composables/useWindowSize.d.ts +5 -0
  134. package/dist/types/composables/useWindowSize.d.ts.map +1 -0
  135. package/dist/types/directives/filePicker.d.ts +4 -0
  136. package/dist/types/directives/filePicker.d.ts.map +1 -0
  137. package/dist/types/directives/imagePicker.d.ts +4 -0
  138. package/dist/types/directives/imagePicker.d.ts.map +1 -0
  139. package/dist/types/directives/loading.d.ts +6 -0
  140. package/dist/types/directives/loading.d.ts.map +1 -0
  141. package/dist/types/index.d.ts +10 -0
  142. package/dist/types/index.d.ts.map +1 -0
  143. package/dist/types/install.d.ts +20 -0
  144. package/dist/types/install.d.ts.map +1 -0
  145. package/dist/types/mock/chat.seed.d.ts +20 -0
  146. package/dist/types/mock/chat.seed.d.ts.map +1 -0
  147. package/dist/types/mock/helpers.d.ts +3 -0
  148. package/dist/types/mock/helpers.d.ts.map +1 -0
  149. package/dist/types/mock/index.d.ts +5 -0
  150. package/dist/types/mock/index.d.ts.map +1 -0
  151. package/dist/types/mock/medication.seed.d.ts +4 -0
  152. package/dist/types/mock/medication.seed.d.ts.map +1 -0
  153. package/dist/types/mock/service.seed.d.ts +13 -0
  154. package/dist/types/mock/service.seed.d.ts.map +1 -0
  155. package/dist/types/nuxt-shims.d.ts +43 -0
  156. package/dist/types/nuxt-shims.d.ts.map +1 -0
  157. package/dist/types/prime-preset.d.ts +72 -0
  158. package/dist/types/prime-preset.d.ts.map +1 -0
  159. package/dist/types/stores/callStore.d.ts +518 -0
  160. package/dist/types/stores/callStore.d.ts.map +1 -0
  161. package/dist/types/stores/chatActionStore.d.ts +11303 -0
  162. package/dist/types/stores/chatActionStore.d.ts.map +1 -0
  163. package/dist/types/stores/chatStore.d.ts +2966 -0
  164. package/dist/types/stores/chatStore.d.ts.map +1 -0
  165. package/dist/types/stores/createStores.d.ts +19290 -0
  166. package/dist/types/stores/createStores.d.ts.map +1 -0
  167. package/dist/types/stores/medicationsStore.d.ts +3542 -0
  168. package/dist/types/stores/medicationsStore.d.ts.map +1 -0
  169. package/dist/types/stores/serviceStore.d.ts +953 -0
  170. package/dist/types/stores/serviceStore.d.ts.map +1 -0
  171. package/dist/types/themes/factory.d.ts +4 -0
  172. package/dist/types/themes/factory.d.ts.map +1 -0
  173. package/dist/types/types/address.d.ts +26 -0
  174. package/dist/types/types/address.d.ts.map +1 -0
  175. package/dist/types/types/calendar.d.ts +88 -0
  176. package/dist/types/types/calendar.d.ts.map +1 -0
  177. package/dist/types/types/call.d.ts +9 -0
  178. package/dist/types/types/call.d.ts.map +1 -0
  179. package/dist/types/types/chat.d.ts +71 -0
  180. package/dist/types/types/chat.d.ts.map +1 -0
  181. package/dist/types/types/clinic.d.ts +7 -0
  182. package/dist/types/types/clinic.d.ts.map +1 -0
  183. package/dist/types/types/components/chat-input.d.ts +4 -0
  184. package/dist/types/types/components/chat-input.d.ts.map +1 -0
  185. package/dist/types/types/components/input.d.ts +13 -0
  186. package/dist/types/types/components/input.d.ts.map +1 -0
  187. package/dist/types/types/components/menu-options.d.ts +7 -0
  188. package/dist/types/types/components/menu-options.d.ts.map +1 -0
  189. package/dist/types/types/components/menu.d.ts +5 -0
  190. package/dist/types/types/components/menu.d.ts.map +1 -0
  191. package/dist/types/types/components/modal.d.ts +17 -0
  192. package/dist/types/types/components/modal.d.ts.map +1 -0
  193. package/dist/types/types/components/nav-item.d.ts +11 -0
  194. package/dist/types/types/components/nav-item.d.ts.map +1 -0
  195. package/dist/types/types/components/nav-sub-item.d.ts +9 -0
  196. package/dist/types/types/components/nav-sub-item.d.ts.map +1 -0
  197. package/dist/types/types/components/popup.d.ts +5 -0
  198. package/dist/types/types/components/popup.d.ts.map +1 -0
  199. package/dist/types/types/components/select.d.ts +8 -0
  200. package/dist/types/types/components/select.d.ts.map +1 -0
  201. package/dist/types/types/components/toast.d.ts +5 -0
  202. package/dist/types/types/components/toast.d.ts.map +1 -0
  203. package/dist/types/types/env/runtimeConfig.d.ts +22 -0
  204. package/dist/types/types/invoice.d.ts +8 -0
  205. package/dist/types/types/invoice.d.ts.map +1 -0
  206. package/dist/types/types/medic.d.ts +6 -0
  207. package/dist/types/types/medic.d.ts.map +1 -0
  208. package/dist/types/types/medication.d.ts +25 -0
  209. package/dist/types/types/medication.d.ts.map +1 -0
  210. package/dist/types/types/notification.d.ts +10 -0
  211. package/dist/types/types/notification.d.ts.map +1 -0
  212. package/dist/types/types/service.d.ts +25 -0
  213. package/dist/types/types/service.d.ts.map +1 -0
  214. package/dist/types/types/story.d.ts +12 -0
  215. package/dist/types/types/story.d.ts.map +1 -0
  216. package/dist/types/types/theme.d.ts +26 -0
  217. package/dist/types/types/theme.d.ts.map +1 -0
  218. package/dist/types/utils/emojiParser.d.ts +2 -0
  219. package/dist/types/utils/emojiParser.d.ts.map +1 -0
  220. package/dist/types/utils/format.d.ts +52 -0
  221. package/dist/types/utils/format.d.ts.map +1 -0
  222. package/package.json +68 -0
@@ -0,0 +1,953 @@
1
+ export declare const useServiceStore: () => import('pinia').Store<"service", Pick<{
2
+ isLoading: import('vue').Ref<boolean, boolean>;
3
+ isLoadingServices: import('vue').Ref<boolean, boolean>;
4
+ currentResultPage: import('vue').Ref<number, number>;
5
+ searchText: import('vue').Ref<string, string>;
6
+ selectedServiceId: import('vue').Ref<string, string>;
7
+ providersPerPage: import('vue').Ref<number, number>;
8
+ hasProviderNextPage: import('vue').Ref<boolean, boolean>;
9
+ services: import('vue').Ref<{
10
+ id: string;
11
+ icon?: string;
12
+ label: string;
13
+ fellowships: {
14
+ id: string;
15
+ title: string;
16
+ }[];
17
+ expertiseLevel: "speciality" | "sub-speciality";
18
+ price: number;
19
+ }[], import('../types/service').Service[] | {
20
+ id: string;
21
+ icon?: string;
22
+ label: string;
23
+ fellowships: {
24
+ id: string;
25
+ title: string;
26
+ }[];
27
+ expertiseLevel: "speciality" | "sub-speciality";
28
+ price: number;
29
+ }[]>;
30
+ providers: import('vue').Ref<{
31
+ expertise: string;
32
+ service: {
33
+ id: string;
34
+ icon?: string;
35
+ label: string;
36
+ fellowships: {
37
+ id: string;
38
+ title: string;
39
+ }[];
40
+ expertiseLevel: "speciality" | "sub-speciality";
41
+ price: number;
42
+ };
43
+ clinics: {
44
+ id: string;
45
+ title: number;
46
+ latitude: number;
47
+ longitude: number;
48
+ }[];
49
+ fellowships: {
50
+ id: string;
51
+ title: string;
52
+ }[];
53
+ type: import('../types/service').InsitutionType;
54
+ illnesses?: {
55
+ [x: string]: unknown;
56
+ id: number | string;
57
+ name: string;
58
+ }[];
59
+ id: string;
60
+ name: string;
61
+ lastName: string;
62
+ isOnline: boolean;
63
+ lastSeen: Date;
64
+ imageUrl: string;
65
+ nationalCode?: string;
66
+ phoneNumber?: string;
67
+ isActive: boolean;
68
+ birthDate: Date;
69
+ lastMessage?: {
70
+ id: string;
71
+ conversationId: string;
72
+ date: Date;
73
+ type: import('../types/chat').MessageType;
74
+ text?: string;
75
+ imageUrl?: string[];
76
+ fileUrl?: string;
77
+ voiceUrl?: string;
78
+ videoUrl?: string;
79
+ isEdited: boolean;
80
+ senderId: string;
81
+ isSent: boolean;
82
+ isRead: boolean;
83
+ repliedTo: /*elided*/ any;
84
+ request?: {
85
+ id: string;
86
+ type: "personal-info" | "add-person";
87
+ request: {
88
+ id: string;
89
+ date: Date;
90
+ status: import('../types/chat').status;
91
+ } | {
92
+ status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
93
+ provider?: {
94
+ status: "pending" | "approved" | "payment" | "rejected" | "expired";
95
+ expertise: string;
96
+ service: {
97
+ id: string;
98
+ icon?: string;
99
+ label: string;
100
+ fellowships: {
101
+ id: string;
102
+ title: string;
103
+ }[];
104
+ expertiseLevel: "speciality" | "sub-speciality";
105
+ price: number;
106
+ };
107
+ clinics: {
108
+ id: string;
109
+ title: number;
110
+ latitude: number;
111
+ longitude: number;
112
+ }[];
113
+ fellowships: {
114
+ id: string;
115
+ title: string;
116
+ }[];
117
+ type: import('../types/service').InsitutionType;
118
+ illnesses?: {
119
+ [x: string]: unknown;
120
+ id: number | string;
121
+ name: string;
122
+ }[];
123
+ id: string;
124
+ name: string;
125
+ lastName: string;
126
+ isOnline: boolean;
127
+ lastSeen: Date;
128
+ imageUrl: string;
129
+ nationalCode?: string;
130
+ phoneNumber?: string;
131
+ isActive: boolean;
132
+ birthDate: Date;
133
+ lastMessage?: /*elided*/ any;
134
+ unreadCount?: number;
135
+ serviceType?: "video-call" | "voice-call" | "chat";
136
+ userType: import('../types/chat').UserRoleKey[];
137
+ }[];
138
+ service?: {
139
+ id: string;
140
+ icon?: string;
141
+ label: string;
142
+ fellowships: {
143
+ id: string;
144
+ title: string;
145
+ }[];
146
+ expertiseLevel: "speciality" | "sub-speciality";
147
+ price: number;
148
+ };
149
+ serviceType?: import('../types/chat').ServicePresence;
150
+ invoice?: {
151
+ [x: string]: unknown;
152
+ id: number | string;
153
+ amount?: number;
154
+ currency?: string;
155
+ status?: string;
156
+ };
157
+ id: string;
158
+ icon?: string;
159
+ label: string;
160
+ fellowships: {
161
+ id: string;
162
+ title: string;
163
+ }[];
164
+ expertiseLevel: "speciality" | "sub-speciality";
165
+ price: number;
166
+ };
167
+ };
168
+ };
169
+ unreadCount?: number;
170
+ serviceType?: "video-call" | "voice-call" | "chat";
171
+ userType: import('../types/chat').UserRoleKey[];
172
+ }[], import('../types/service').Provider[] | {
173
+ expertise: string;
174
+ service: {
175
+ id: string;
176
+ icon?: string;
177
+ label: string;
178
+ fellowships: {
179
+ id: string;
180
+ title: string;
181
+ }[];
182
+ expertiseLevel: "speciality" | "sub-speciality";
183
+ price: number;
184
+ };
185
+ clinics: {
186
+ id: string;
187
+ title: number;
188
+ latitude: number;
189
+ longitude: number;
190
+ }[];
191
+ fellowships: {
192
+ id: string;
193
+ title: string;
194
+ }[];
195
+ type: import('../types/service').InsitutionType;
196
+ illnesses?: {
197
+ [x: string]: unknown;
198
+ id: number | string;
199
+ name: string;
200
+ }[];
201
+ id: string;
202
+ name: string;
203
+ lastName: string;
204
+ isOnline: boolean;
205
+ lastSeen: Date;
206
+ imageUrl: string;
207
+ nationalCode?: string;
208
+ phoneNumber?: string;
209
+ isActive: boolean;
210
+ birthDate: Date;
211
+ lastMessage?: {
212
+ id: string;
213
+ conversationId: string;
214
+ date: Date;
215
+ type: import('../types/chat').MessageType;
216
+ text?: string;
217
+ imageUrl?: string[];
218
+ fileUrl?: string;
219
+ voiceUrl?: string;
220
+ videoUrl?: string;
221
+ isEdited: boolean;
222
+ senderId: string;
223
+ isSent: boolean;
224
+ isRead: boolean;
225
+ repliedTo: /*elided*/ any;
226
+ request?: {
227
+ id: string;
228
+ type: "personal-info" | "add-person";
229
+ request: {
230
+ id: string;
231
+ date: Date;
232
+ status: import('../types/chat').status;
233
+ } | {
234
+ status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
235
+ provider?: {
236
+ status: "pending" | "approved" | "payment" | "rejected" | "expired";
237
+ expertise: string;
238
+ service: {
239
+ id: string;
240
+ icon?: string;
241
+ label: string;
242
+ fellowships: {
243
+ id: string;
244
+ title: string;
245
+ }[];
246
+ expertiseLevel: "speciality" | "sub-speciality";
247
+ price: number;
248
+ };
249
+ clinics: {
250
+ id: string;
251
+ title: number;
252
+ latitude: number;
253
+ longitude: number;
254
+ }[];
255
+ fellowships: {
256
+ id: string;
257
+ title: string;
258
+ }[];
259
+ type: import('../types/service').InsitutionType;
260
+ illnesses?: {
261
+ [x: string]: unknown;
262
+ id: number | string;
263
+ name: string;
264
+ }[];
265
+ id: string;
266
+ name: string;
267
+ lastName: string;
268
+ isOnline: boolean;
269
+ lastSeen: Date;
270
+ imageUrl: string;
271
+ nationalCode?: string;
272
+ phoneNumber?: string;
273
+ isActive: boolean;
274
+ birthDate: Date;
275
+ lastMessage?: /*elided*/ any;
276
+ unreadCount?: number;
277
+ serviceType?: "video-call" | "voice-call" | "chat";
278
+ userType: import('../types/chat').UserRoleKey[];
279
+ }[];
280
+ service?: {
281
+ id: string;
282
+ icon?: string;
283
+ label: string;
284
+ fellowships: {
285
+ id: string;
286
+ title: string;
287
+ }[];
288
+ expertiseLevel: "speciality" | "sub-speciality";
289
+ price: number;
290
+ };
291
+ serviceType?: import('../types/chat').ServicePresence;
292
+ invoice?: {
293
+ [x: string]: unknown;
294
+ id: number | string;
295
+ amount?: number;
296
+ currency?: string;
297
+ status?: string;
298
+ };
299
+ id: string;
300
+ icon?: string;
301
+ label: string;
302
+ fellowships: {
303
+ id: string;
304
+ title: string;
305
+ }[];
306
+ expertiseLevel: "speciality" | "sub-speciality";
307
+ price: number;
308
+ };
309
+ };
310
+ };
311
+ unreadCount?: number;
312
+ serviceType?: "video-call" | "voice-call" | "chat";
313
+ userType: import('../types/chat').UserRoleKey[];
314
+ }[]>;
315
+ fetchServices: () => Promise<void>;
316
+ fetchProviders: (isLoadMore?: boolean, serviceId?: string, searchString?: string) => Promise<void>;
317
+ resetProviderData: () => void;
318
+ }, "isLoading" | "isLoadingServices" | "currentResultPage" | "searchText" | "selectedServiceId" | "providersPerPage" | "hasProviderNextPage" | "services" | "providers">, Pick<{
319
+ isLoading: import('vue').Ref<boolean, boolean>;
320
+ isLoadingServices: import('vue').Ref<boolean, boolean>;
321
+ currentResultPage: import('vue').Ref<number, number>;
322
+ searchText: import('vue').Ref<string, string>;
323
+ selectedServiceId: import('vue').Ref<string, string>;
324
+ providersPerPage: import('vue').Ref<number, number>;
325
+ hasProviderNextPage: import('vue').Ref<boolean, boolean>;
326
+ services: import('vue').Ref<{
327
+ id: string;
328
+ icon?: string;
329
+ label: string;
330
+ fellowships: {
331
+ id: string;
332
+ title: string;
333
+ }[];
334
+ expertiseLevel: "speciality" | "sub-speciality";
335
+ price: number;
336
+ }[], import('../types/service').Service[] | {
337
+ id: string;
338
+ icon?: string;
339
+ label: string;
340
+ fellowships: {
341
+ id: string;
342
+ title: string;
343
+ }[];
344
+ expertiseLevel: "speciality" | "sub-speciality";
345
+ price: number;
346
+ }[]>;
347
+ providers: import('vue').Ref<{
348
+ expertise: string;
349
+ service: {
350
+ id: string;
351
+ icon?: string;
352
+ label: string;
353
+ fellowships: {
354
+ id: string;
355
+ title: string;
356
+ }[];
357
+ expertiseLevel: "speciality" | "sub-speciality";
358
+ price: number;
359
+ };
360
+ clinics: {
361
+ id: string;
362
+ title: number;
363
+ latitude: number;
364
+ longitude: number;
365
+ }[];
366
+ fellowships: {
367
+ id: string;
368
+ title: string;
369
+ }[];
370
+ type: import('../types/service').InsitutionType;
371
+ illnesses?: {
372
+ [x: string]: unknown;
373
+ id: number | string;
374
+ name: string;
375
+ }[];
376
+ id: string;
377
+ name: string;
378
+ lastName: string;
379
+ isOnline: boolean;
380
+ lastSeen: Date;
381
+ imageUrl: string;
382
+ nationalCode?: string;
383
+ phoneNumber?: string;
384
+ isActive: boolean;
385
+ birthDate: Date;
386
+ lastMessage?: {
387
+ id: string;
388
+ conversationId: string;
389
+ date: Date;
390
+ type: import('../types/chat').MessageType;
391
+ text?: string;
392
+ imageUrl?: string[];
393
+ fileUrl?: string;
394
+ voiceUrl?: string;
395
+ videoUrl?: string;
396
+ isEdited: boolean;
397
+ senderId: string;
398
+ isSent: boolean;
399
+ isRead: boolean;
400
+ repliedTo: /*elided*/ any;
401
+ request?: {
402
+ id: string;
403
+ type: "personal-info" | "add-person";
404
+ request: {
405
+ id: string;
406
+ date: Date;
407
+ status: import('../types/chat').status;
408
+ } | {
409
+ status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
410
+ provider?: {
411
+ status: "pending" | "approved" | "payment" | "rejected" | "expired";
412
+ expertise: string;
413
+ service: {
414
+ id: string;
415
+ icon?: string;
416
+ label: string;
417
+ fellowships: {
418
+ id: string;
419
+ title: string;
420
+ }[];
421
+ expertiseLevel: "speciality" | "sub-speciality";
422
+ price: number;
423
+ };
424
+ clinics: {
425
+ id: string;
426
+ title: number;
427
+ latitude: number;
428
+ longitude: number;
429
+ }[];
430
+ fellowships: {
431
+ id: string;
432
+ title: string;
433
+ }[];
434
+ type: import('../types/service').InsitutionType;
435
+ illnesses?: {
436
+ [x: string]: unknown;
437
+ id: number | string;
438
+ name: string;
439
+ }[];
440
+ id: string;
441
+ name: string;
442
+ lastName: string;
443
+ isOnline: boolean;
444
+ lastSeen: Date;
445
+ imageUrl: string;
446
+ nationalCode?: string;
447
+ phoneNumber?: string;
448
+ isActive: boolean;
449
+ birthDate: Date;
450
+ lastMessage?: /*elided*/ any;
451
+ unreadCount?: number;
452
+ serviceType?: "video-call" | "voice-call" | "chat";
453
+ userType: import('../types/chat').UserRoleKey[];
454
+ }[];
455
+ service?: {
456
+ id: string;
457
+ icon?: string;
458
+ label: string;
459
+ fellowships: {
460
+ id: string;
461
+ title: string;
462
+ }[];
463
+ expertiseLevel: "speciality" | "sub-speciality";
464
+ price: number;
465
+ };
466
+ serviceType?: import('../types/chat').ServicePresence;
467
+ invoice?: {
468
+ [x: string]: unknown;
469
+ id: number | string;
470
+ amount?: number;
471
+ currency?: string;
472
+ status?: string;
473
+ };
474
+ id: string;
475
+ icon?: string;
476
+ label: string;
477
+ fellowships: {
478
+ id: string;
479
+ title: string;
480
+ }[];
481
+ expertiseLevel: "speciality" | "sub-speciality";
482
+ price: number;
483
+ };
484
+ };
485
+ };
486
+ unreadCount?: number;
487
+ serviceType?: "video-call" | "voice-call" | "chat";
488
+ userType: import('../types/chat').UserRoleKey[];
489
+ }[], import('../types/service').Provider[] | {
490
+ expertise: string;
491
+ service: {
492
+ id: string;
493
+ icon?: string;
494
+ label: string;
495
+ fellowships: {
496
+ id: string;
497
+ title: string;
498
+ }[];
499
+ expertiseLevel: "speciality" | "sub-speciality";
500
+ price: number;
501
+ };
502
+ clinics: {
503
+ id: string;
504
+ title: number;
505
+ latitude: number;
506
+ longitude: number;
507
+ }[];
508
+ fellowships: {
509
+ id: string;
510
+ title: string;
511
+ }[];
512
+ type: import('../types/service').InsitutionType;
513
+ illnesses?: {
514
+ [x: string]: unknown;
515
+ id: number | string;
516
+ name: string;
517
+ }[];
518
+ id: string;
519
+ name: string;
520
+ lastName: string;
521
+ isOnline: boolean;
522
+ lastSeen: Date;
523
+ imageUrl: string;
524
+ nationalCode?: string;
525
+ phoneNumber?: string;
526
+ isActive: boolean;
527
+ birthDate: Date;
528
+ lastMessage?: {
529
+ id: string;
530
+ conversationId: string;
531
+ date: Date;
532
+ type: import('../types/chat').MessageType;
533
+ text?: string;
534
+ imageUrl?: string[];
535
+ fileUrl?: string;
536
+ voiceUrl?: string;
537
+ videoUrl?: string;
538
+ isEdited: boolean;
539
+ senderId: string;
540
+ isSent: boolean;
541
+ isRead: boolean;
542
+ repliedTo: /*elided*/ any;
543
+ request?: {
544
+ id: string;
545
+ type: "personal-info" | "add-person";
546
+ request: {
547
+ id: string;
548
+ date: Date;
549
+ status: import('../types/chat').status;
550
+ } | {
551
+ status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
552
+ provider?: {
553
+ status: "pending" | "approved" | "payment" | "rejected" | "expired";
554
+ expertise: string;
555
+ service: {
556
+ id: string;
557
+ icon?: string;
558
+ label: string;
559
+ fellowships: {
560
+ id: string;
561
+ title: string;
562
+ }[];
563
+ expertiseLevel: "speciality" | "sub-speciality";
564
+ price: number;
565
+ };
566
+ clinics: {
567
+ id: string;
568
+ title: number;
569
+ latitude: number;
570
+ longitude: number;
571
+ }[];
572
+ fellowships: {
573
+ id: string;
574
+ title: string;
575
+ }[];
576
+ type: import('../types/service').InsitutionType;
577
+ illnesses?: {
578
+ [x: string]: unknown;
579
+ id: number | string;
580
+ name: string;
581
+ }[];
582
+ id: string;
583
+ name: string;
584
+ lastName: string;
585
+ isOnline: boolean;
586
+ lastSeen: Date;
587
+ imageUrl: string;
588
+ nationalCode?: string;
589
+ phoneNumber?: string;
590
+ isActive: boolean;
591
+ birthDate: Date;
592
+ lastMessage?: /*elided*/ any;
593
+ unreadCount?: number;
594
+ serviceType?: "video-call" | "voice-call" | "chat";
595
+ userType: import('../types/chat').UserRoleKey[];
596
+ }[];
597
+ service?: {
598
+ id: string;
599
+ icon?: string;
600
+ label: string;
601
+ fellowships: {
602
+ id: string;
603
+ title: string;
604
+ }[];
605
+ expertiseLevel: "speciality" | "sub-speciality";
606
+ price: number;
607
+ };
608
+ serviceType?: import('../types/chat').ServicePresence;
609
+ invoice?: {
610
+ [x: string]: unknown;
611
+ id: number | string;
612
+ amount?: number;
613
+ currency?: string;
614
+ status?: string;
615
+ };
616
+ id: string;
617
+ icon?: string;
618
+ label: string;
619
+ fellowships: {
620
+ id: string;
621
+ title: string;
622
+ }[];
623
+ expertiseLevel: "speciality" | "sub-speciality";
624
+ price: number;
625
+ };
626
+ };
627
+ };
628
+ unreadCount?: number;
629
+ serviceType?: "video-call" | "voice-call" | "chat";
630
+ userType: import('../types/chat').UserRoleKey[];
631
+ }[]>;
632
+ fetchServices: () => Promise<void>;
633
+ fetchProviders: (isLoadMore?: boolean, serviceId?: string, searchString?: string) => Promise<void>;
634
+ resetProviderData: () => void;
635
+ }, never>, Pick<{
636
+ isLoading: import('vue').Ref<boolean, boolean>;
637
+ isLoadingServices: import('vue').Ref<boolean, boolean>;
638
+ currentResultPage: import('vue').Ref<number, number>;
639
+ searchText: import('vue').Ref<string, string>;
640
+ selectedServiceId: import('vue').Ref<string, string>;
641
+ providersPerPage: import('vue').Ref<number, number>;
642
+ hasProviderNextPage: import('vue').Ref<boolean, boolean>;
643
+ services: import('vue').Ref<{
644
+ id: string;
645
+ icon?: string;
646
+ label: string;
647
+ fellowships: {
648
+ id: string;
649
+ title: string;
650
+ }[];
651
+ expertiseLevel: "speciality" | "sub-speciality";
652
+ price: number;
653
+ }[], import('../types/service').Service[] | {
654
+ id: string;
655
+ icon?: string;
656
+ label: string;
657
+ fellowships: {
658
+ id: string;
659
+ title: string;
660
+ }[];
661
+ expertiseLevel: "speciality" | "sub-speciality";
662
+ price: number;
663
+ }[]>;
664
+ providers: import('vue').Ref<{
665
+ expertise: string;
666
+ service: {
667
+ id: string;
668
+ icon?: string;
669
+ label: string;
670
+ fellowships: {
671
+ id: string;
672
+ title: string;
673
+ }[];
674
+ expertiseLevel: "speciality" | "sub-speciality";
675
+ price: number;
676
+ };
677
+ clinics: {
678
+ id: string;
679
+ title: number;
680
+ latitude: number;
681
+ longitude: number;
682
+ }[];
683
+ fellowships: {
684
+ id: string;
685
+ title: string;
686
+ }[];
687
+ type: import('../types/service').InsitutionType;
688
+ illnesses?: {
689
+ [x: string]: unknown;
690
+ id: number | string;
691
+ name: string;
692
+ }[];
693
+ id: string;
694
+ name: string;
695
+ lastName: string;
696
+ isOnline: boolean;
697
+ lastSeen: Date;
698
+ imageUrl: string;
699
+ nationalCode?: string;
700
+ phoneNumber?: string;
701
+ isActive: boolean;
702
+ birthDate: Date;
703
+ lastMessage?: {
704
+ id: string;
705
+ conversationId: string;
706
+ date: Date;
707
+ type: import('../types/chat').MessageType;
708
+ text?: string;
709
+ imageUrl?: string[];
710
+ fileUrl?: string;
711
+ voiceUrl?: string;
712
+ videoUrl?: string;
713
+ isEdited: boolean;
714
+ senderId: string;
715
+ isSent: boolean;
716
+ isRead: boolean;
717
+ repliedTo: /*elided*/ any;
718
+ request?: {
719
+ id: string;
720
+ type: "personal-info" | "add-person";
721
+ request: {
722
+ id: string;
723
+ date: Date;
724
+ status: import('../types/chat').status;
725
+ } | {
726
+ status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
727
+ provider?: {
728
+ status: "pending" | "approved" | "payment" | "rejected" | "expired";
729
+ expertise: string;
730
+ service: {
731
+ id: string;
732
+ icon?: string;
733
+ label: string;
734
+ fellowships: {
735
+ id: string;
736
+ title: string;
737
+ }[];
738
+ expertiseLevel: "speciality" | "sub-speciality";
739
+ price: number;
740
+ };
741
+ clinics: {
742
+ id: string;
743
+ title: number;
744
+ latitude: number;
745
+ longitude: number;
746
+ }[];
747
+ fellowships: {
748
+ id: string;
749
+ title: string;
750
+ }[];
751
+ type: import('../types/service').InsitutionType;
752
+ illnesses?: {
753
+ [x: string]: unknown;
754
+ id: number | string;
755
+ name: string;
756
+ }[];
757
+ id: string;
758
+ name: string;
759
+ lastName: string;
760
+ isOnline: boolean;
761
+ lastSeen: Date;
762
+ imageUrl: string;
763
+ nationalCode?: string;
764
+ phoneNumber?: string;
765
+ isActive: boolean;
766
+ birthDate: Date;
767
+ lastMessage?: /*elided*/ any;
768
+ unreadCount?: number;
769
+ serviceType?: "video-call" | "voice-call" | "chat";
770
+ userType: import('../types/chat').UserRoleKey[];
771
+ }[];
772
+ service?: {
773
+ id: string;
774
+ icon?: string;
775
+ label: string;
776
+ fellowships: {
777
+ id: string;
778
+ title: string;
779
+ }[];
780
+ expertiseLevel: "speciality" | "sub-speciality";
781
+ price: number;
782
+ };
783
+ serviceType?: import('../types/chat').ServicePresence;
784
+ invoice?: {
785
+ [x: string]: unknown;
786
+ id: number | string;
787
+ amount?: number;
788
+ currency?: string;
789
+ status?: string;
790
+ };
791
+ id: string;
792
+ icon?: string;
793
+ label: string;
794
+ fellowships: {
795
+ id: string;
796
+ title: string;
797
+ }[];
798
+ expertiseLevel: "speciality" | "sub-speciality";
799
+ price: number;
800
+ };
801
+ };
802
+ };
803
+ unreadCount?: number;
804
+ serviceType?: "video-call" | "voice-call" | "chat";
805
+ userType: import('../types/chat').UserRoleKey[];
806
+ }[], import('../types/service').Provider[] | {
807
+ expertise: string;
808
+ service: {
809
+ id: string;
810
+ icon?: string;
811
+ label: string;
812
+ fellowships: {
813
+ id: string;
814
+ title: string;
815
+ }[];
816
+ expertiseLevel: "speciality" | "sub-speciality";
817
+ price: number;
818
+ };
819
+ clinics: {
820
+ id: string;
821
+ title: number;
822
+ latitude: number;
823
+ longitude: number;
824
+ }[];
825
+ fellowships: {
826
+ id: string;
827
+ title: string;
828
+ }[];
829
+ type: import('../types/service').InsitutionType;
830
+ illnesses?: {
831
+ [x: string]: unknown;
832
+ id: number | string;
833
+ name: string;
834
+ }[];
835
+ id: string;
836
+ name: string;
837
+ lastName: string;
838
+ isOnline: boolean;
839
+ lastSeen: Date;
840
+ imageUrl: string;
841
+ nationalCode?: string;
842
+ phoneNumber?: string;
843
+ isActive: boolean;
844
+ birthDate: Date;
845
+ lastMessage?: {
846
+ id: string;
847
+ conversationId: string;
848
+ date: Date;
849
+ type: import('../types/chat').MessageType;
850
+ text?: string;
851
+ imageUrl?: string[];
852
+ fileUrl?: string;
853
+ voiceUrl?: string;
854
+ videoUrl?: string;
855
+ isEdited: boolean;
856
+ senderId: string;
857
+ isSent: boolean;
858
+ isRead: boolean;
859
+ repliedTo: /*elided*/ any;
860
+ request?: {
861
+ id: string;
862
+ type: "personal-info" | "add-person";
863
+ request: {
864
+ id: string;
865
+ date: Date;
866
+ status: import('../types/chat').status;
867
+ } | {
868
+ status?: "searching" | "pending" | "approved" | "payment" | "rejected" | "expired";
869
+ provider?: {
870
+ status: "pending" | "approved" | "payment" | "rejected" | "expired";
871
+ expertise: string;
872
+ service: {
873
+ id: string;
874
+ icon?: string;
875
+ label: string;
876
+ fellowships: {
877
+ id: string;
878
+ title: string;
879
+ }[];
880
+ expertiseLevel: "speciality" | "sub-speciality";
881
+ price: number;
882
+ };
883
+ clinics: {
884
+ id: string;
885
+ title: number;
886
+ latitude: number;
887
+ longitude: number;
888
+ }[];
889
+ fellowships: {
890
+ id: string;
891
+ title: string;
892
+ }[];
893
+ type: import('../types/service').InsitutionType;
894
+ illnesses?: {
895
+ [x: string]: unknown;
896
+ id: number | string;
897
+ name: string;
898
+ }[];
899
+ id: string;
900
+ name: string;
901
+ lastName: string;
902
+ isOnline: boolean;
903
+ lastSeen: Date;
904
+ imageUrl: string;
905
+ nationalCode?: string;
906
+ phoneNumber?: string;
907
+ isActive: boolean;
908
+ birthDate: Date;
909
+ lastMessage?: /*elided*/ any;
910
+ unreadCount?: number;
911
+ serviceType?: "video-call" | "voice-call" | "chat";
912
+ userType: import('../types/chat').UserRoleKey[];
913
+ }[];
914
+ service?: {
915
+ id: string;
916
+ icon?: string;
917
+ label: string;
918
+ fellowships: {
919
+ id: string;
920
+ title: string;
921
+ }[];
922
+ expertiseLevel: "speciality" | "sub-speciality";
923
+ price: number;
924
+ };
925
+ serviceType?: import('../types/chat').ServicePresence;
926
+ invoice?: {
927
+ [x: string]: unknown;
928
+ id: number | string;
929
+ amount?: number;
930
+ currency?: string;
931
+ status?: string;
932
+ };
933
+ id: string;
934
+ icon?: string;
935
+ label: string;
936
+ fellowships: {
937
+ id: string;
938
+ title: string;
939
+ }[];
940
+ expertiseLevel: "speciality" | "sub-speciality";
941
+ price: number;
942
+ };
943
+ };
944
+ };
945
+ unreadCount?: number;
946
+ serviceType?: "video-call" | "voice-call" | "chat";
947
+ userType: import('../types/chat').UserRoleKey[];
948
+ }[]>;
949
+ fetchServices: () => Promise<void>;
950
+ fetchProviders: (isLoadMore?: boolean, serviceId?: string, searchString?: string) => Promise<void>;
951
+ resetProviderData: () => void;
952
+ }, "fetchServices" | "fetchProviders" | "resetProviderData">>;
953
+ //# sourceMappingURL=serviceStore.d.ts.map