ch-api-client-typescript2 5.46.3 → 5.47.3

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 (527) hide show
  1. package/lib/api/about-us-api.d.ts.map +1 -1
  2. package/lib/api/about-us-api.js +32 -11
  3. package/lib/api/accounts-api.d.ts.map +1 -1
  4. package/lib/api/accounts-api.js +18 -5
  5. package/lib/api/accreditations-api.d.ts.map +1 -1
  6. package/lib/api/accreditations-api.js +25 -8
  7. package/lib/api/app-version-api.d.ts.map +1 -1
  8. package/lib/api/app-version-api.js +18 -5
  9. package/lib/api/appointments-api.d.ts.map +1 -1
  10. package/lib/api/appointments-api.js +67 -26
  11. package/lib/api/articles-api.d.ts.map +1 -1
  12. package/lib/api/articles-api.js +88 -35
  13. package/lib/api/call-histories-api.d.ts.map +1 -1
  14. package/lib/api/call-histories-api.js +25 -8
  15. package/lib/api/chat-users-api.d.ts.map +1 -1
  16. package/lib/api/chat-users-api.js +53 -20
  17. package/lib/api/communications-api.d.ts.map +1 -1
  18. package/lib/api/communications-api.js +32 -11
  19. package/lib/api/contributors-api.d.ts.map +1 -1
  20. package/lib/api/contributors-api.js +46 -17
  21. package/lib/api/countries-api.d.ts.map +1 -1
  22. package/lib/api/countries-api.js +46 -17
  23. package/lib/api/curations-api.d.ts.map +1 -1
  24. package/lib/api/curations-api.js +39 -14
  25. package/lib/api/currencies-api.d.ts.map +1 -1
  26. package/lib/api/currencies-api.js +18 -5
  27. package/lib/api/deals-api.d.ts.map +1 -1
  28. package/lib/api/deals-api.js +74 -29
  29. package/lib/api/devices-api.d.ts.map +1 -1
  30. package/lib/api/devices-api.js +46 -17
  31. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  32. package/lib/api/doctor-affiliations-api.js +53 -20
  33. package/lib/api/doctors-api.d.ts.map +1 -1
  34. package/lib/api/doctors-api.js +116 -47
  35. package/lib/api/external-api.d.ts.map +1 -1
  36. package/lib/api/external-api.js +18 -5
  37. package/lib/api/faq-categories-api.d.ts.map +1 -1
  38. package/lib/api/faq-categories-api.js +32 -11
  39. package/lib/api/faqs-api.d.ts.map +1 -1
  40. package/lib/api/faqs-api.js +60 -23
  41. package/lib/api/form-results-api.d.ts.map +1 -1
  42. package/lib/api/form-results-api.js +39 -14
  43. package/lib/api/form-templates-api.d.ts.map +1 -1
  44. package/lib/api/form-templates-api.js +18 -5
  45. package/lib/api/group-channels-api.d.ts.map +1 -1
  46. package/lib/api/group-channels-api.js +46 -17
  47. package/lib/api/hospitals-api.d.ts.map +1 -1
  48. package/lib/api/hospitals-api.js +438 -185
  49. package/lib/api/images-api.d.ts.map +1 -1
  50. package/lib/api/images-api.js +18 -5
  51. package/lib/api/languages-api.d.ts.map +1 -1
  52. package/lib/api/languages-api.js +25 -8
  53. package/lib/api/medias-api.d.ts.map +1 -1
  54. package/lib/api/medias-api.js +18 -5
  55. package/lib/api/messages-api.d.ts.map +1 -1
  56. package/lib/api/messages-api.js +18 -5
  57. package/lib/api/notifications-api.d.ts.map +1 -1
  58. package/lib/api/notifications-api.js +25 -8
  59. package/lib/api/origins-api.d.ts.map +1 -1
  60. package/lib/api/origins-api.js +39 -14
  61. package/lib/api/patients-api.d.ts.map +1 -1
  62. package/lib/api/patients-api.js +53 -20
  63. package/lib/api/plans-api.d.ts.map +1 -1
  64. package/lib/api/plans-api.js +39 -14
  65. package/lib/api/prescriptions-api.d.ts.map +1 -1
  66. package/lib/api/prescriptions-api.js +25 -8
  67. package/lib/api/profiles-api.d.ts.map +1 -1
  68. package/lib/api/profiles-api.js +60 -23
  69. package/lib/api/promotions-api.d.ts.map +1 -1
  70. package/lib/api/promotions-api.js +18 -5
  71. package/lib/api/secure-containers-api.d.ts.map +1 -1
  72. package/lib/api/secure-containers-api.js +46 -17
  73. package/lib/api/service-reviews-api.d.ts.map +1 -1
  74. package/lib/api/service-reviews-api.js +81 -32
  75. package/lib/api/services-api.d.ts.map +1 -1
  76. package/lib/api/services-api.js +32 -11
  77. package/lib/api/services-categories-api.d.ts.map +1 -1
  78. package/lib/api/services-categories-api.js +25 -8
  79. package/lib/api/specialties-api.d.ts.map +1 -1
  80. package/lib/api/specialties-api.js +53 -20
  81. package/lib/api/specialty-types-api.d.ts.map +1 -1
  82. package/lib/api/specialty-types-api.js +60 -23
  83. package/lib/api/survey-forms-api.d.ts.map +1 -1
  84. package/lib/api/survey-forms-api.js +18 -5
  85. package/lib/api/survey-results-api.d.ts.map +1 -1
  86. package/lib/api/survey-results-api.js +25 -8
  87. package/lib/api/tags-api.d.ts.map +1 -1
  88. package/lib/api/tags-api.js +25 -8
  89. package/lib/api/vonage-users-api.d.ts.map +1 -1
  90. package/lib/api/vonage-users-api.js +32 -11
  91. package/lib/common.d.ts.map +1 -1
  92. package/lib/common.js +2 -2
  93. package/package.json +11 -6
  94. package/.gitattributes +0 -2
  95. package/.github/workflows/publish-npm.yml +0 -45
  96. package/openapitools.json +0 -7
  97. package/src/.openapi-generator/FILES +0 -430
  98. package/src/.openapi-generator/VERSION +0 -1
  99. package/src/.openapi-generator-ignore +0 -23
  100. package/src/api/about-us-api.ts +0 -490
  101. package/src/api/accounts-api.ts +0 -149
  102. package/src/api/accreditations-api.ts +0 -283
  103. package/src/api/app-version-api.ts +0 -139
  104. package/src/api/appointments-api.ts +0 -1107
  105. package/src/api/articles-api.ts +0 -1682
  106. package/src/api/call-histories-api.ts +0 -245
  107. package/src/api/chat-users-api.ts +0 -587
  108. package/src/api/communications-api.ts +0 -252
  109. package/src/api/contributors-api.ts +0 -799
  110. package/src/api/countries-api.ts +0 -759
  111. package/src/api/curations-api.ts +0 -469
  112. package/src/api/currencies-api.ts +0 -200
  113. package/src/api/deals-api.ts +0 -1894
  114. package/src/api/devices-api.ts +0 -621
  115. package/src/api/doctor-affiliations-api.ts +0 -972
  116. package/src/api/doctors-api.ts +0 -2383
  117. package/src/api/external-api.ts +0 -120
  118. package/src/api/faq-categories-api.ts +0 -476
  119. package/src/api/faqs-api.ts +0 -980
  120. package/src/api/form-results-api.ts +0 -557
  121. package/src/api/form-templates-api.ts +0 -183
  122. package/src/api/group-channels-api.ts +0 -567
  123. package/src/api/hospitals-api.ts +0 -9242
  124. package/src/api/images-api.ts +0 -148
  125. package/src/api/languages-api.ts +0 -311
  126. package/src/api/medias-api.ts +0 -154
  127. package/src/api/messages-api.ts +0 -147
  128. package/src/api/notifications-api.ts +0 -293
  129. package/src/api/origins-api.ts +0 -365
  130. package/src/api/patients-api.ts +0 -603
  131. package/src/api/plans-api.ts +0 -506
  132. package/src/api/prescriptions-api.ts +0 -333
  133. package/src/api/profiles-api.ts +0 -623
  134. package/src/api/promotions-api.ts +0 -216
  135. package/src/api/secure-containers-api.ts +0 -610
  136. package/src/api/service-reviews-api.ts +0 -1291
  137. package/src/api/services-api.ts +0 -664
  138. package/src/api/services-categories-api.ts +0 -283
  139. package/src/api/specialties-api.ts +0 -1059
  140. package/src/api/specialty-types-api.ts +0 -1174
  141. package/src/api/survey-forms-api.ts +0 -183
  142. package/src/api/survey-results-api.ts +0 -228
  143. package/src/api/tags-api.ts +0 -283
  144. package/src/api/vonage-users-api.ts +0 -301
  145. package/src/api.ts +0 -62
  146. package/src/base.ts +0 -71
  147. package/src/common.ts +0 -148
  148. package/src/configuration.ts +0 -101
  149. package/src/git_push.sh +0 -57
  150. package/src/index.ts +0 -18
  151. package/src/models/about-us-page-item-model.ts +0 -63
  152. package/src/models/about-us-page-model.ts +0 -117
  153. package/src/models/about-us-pages-model.ts +0 -42
  154. package/src/models/accreditation-document-model.ts +0 -50
  155. package/src/models/accreditation-item-model.ts +0 -54
  156. package/src/models/accreditation-model.ts +0 -54
  157. package/src/models/accreditations-model.ts +0 -42
  158. package/src/models/admin-message-model.ts +0 -84
  159. package/src/models/app-version-model.ts +0 -51
  160. package/src/models/appointment-change-log-model.ts +0 -51
  161. package/src/models/appointment-item-model.ts +0 -372
  162. package/src/models/appointment-model.ts +0 -396
  163. package/src/models/appointment-option-document-model.ts +0 -60
  164. package/src/models/appointment-option-model.ts +0 -66
  165. package/src/models/appointment-refund-bank-transfer-model.ts +0 -54
  166. package/src/models/appointment-refund-upi-model.ts +0 -42
  167. package/src/models/appointment-status.ts +0 -39
  168. package/src/models/appointment-timetable-date-model.ts +0 -69
  169. package/src/models/appointment-timetable-status.ts +0 -31
  170. package/src/models/appointment-timetable-time-slot-model.ts +0 -81
  171. package/src/models/appointment-type.ts +0 -34
  172. package/src/models/appointments-model.ts +0 -42
  173. package/src/models/article-contributor-document-model.ts +0 -45
  174. package/src/models/article-contributor-item-model.ts +0 -108
  175. package/src/models/article-contributor-model.ts +0 -144
  176. package/src/models/article-contributors-model.ts +0 -42
  177. package/src/models/article-document-model.ts +0 -426
  178. package/src/models/article-item-model.ts +0 -186
  179. package/src/models/article-model.ts +0 -207
  180. package/src/models/article-sources-model.ts +0 -42
  181. package/src/models/article-tag-item-model.ts +0 -42
  182. package/src/models/article-tag-model.ts +0 -42
  183. package/src/models/article-tags-model.ts +0 -42
  184. package/src/models/article-type.ts +0 -33
  185. package/src/models/articles-model.ts +0 -42
  186. package/src/models/auditable-entity-document-model.ts +0 -54
  187. package/src/models/auditable-entity-model.ts +0 -72
  188. package/src/models/auditable-entity.ts +0 -72
  189. package/src/models/award-model.ts +0 -48
  190. package/src/models/bank-account-info-item-model.ts +0 -78
  191. package/src/models/bank-account-info-model.ts +0 -78
  192. package/src/models/bank-account-infos-model.ts +0 -42
  193. package/src/models/bank-transfer-payment-model.ts +0 -48
  194. package/src/models/call-status.ts +0 -40
  195. package/src/models/cancel-appointment-command.ts +0 -48
  196. package/src/models/change-email-command.ts +0 -30
  197. package/src/models/channel-messenger.ts +0 -30
  198. package/src/models/channel-mms.ts +0 -30
  199. package/src/models/channel-pstn.ts +0 -30
  200. package/src/models/channel-sip.ts +0 -42
  201. package/src/models/channel-sms.ts +0 -30
  202. package/src/models/channel-vbc.ts +0 -30
  203. package/src/models/channel-viber.ts +0 -30
  204. package/src/models/channel-web-socket.ts +0 -42
  205. package/src/models/channel-whats-app.ts +0 -30
  206. package/src/models/charge-status.ts +0 -32
  207. package/src/models/chat-user-model.ts +0 -78
  208. package/src/models/chat-users-model.ts +0 -39
  209. package/src/models/check-notifications-command.ts +0 -36
  210. package/src/models/communication-user-token-model.ts +0 -48
  211. package/src/models/confirm-email-command.ts +0 -30
  212. package/src/models/contact-type.ts +0 -36
  213. package/src/models/contribution-type.ts +0 -32
  214. package/src/models/contributor-item-model.ts +0 -123
  215. package/src/models/contributor-model.ts +0 -153
  216. package/src/models/contributor-sns-handles-model.ts +0 -42
  217. package/src/models/contributor-sub-document-model.ts +0 -315
  218. package/src/models/contributors-model.ts +0 -42
  219. package/src/models/coordinate-system.ts +0 -42
  220. package/src/models/countries-model.ts +0 -42
  221. package/src/models/country-currency-document-model.ts +0 -48
  222. package/src/models/country-currency-item-model.ts +0 -60
  223. package/src/models/country-document-model.ts +0 -411
  224. package/src/models/country-item-model.ts +0 -129
  225. package/src/models/country-language-document-model.ts +0 -48
  226. package/src/models/country-language-item-model.ts +0 -54
  227. package/src/models/country-model.ts +0 -159
  228. package/src/models/create-appointment-command.ts +0 -159
  229. package/src/models/create-call-history-command.ts +0 -69
  230. package/src/models/create-chat-user-command.ts +0 -54
  231. package/src/models/create-cors-command.ts +0 -30
  232. package/src/models/create-device-command.ts +0 -69
  233. package/src/models/create-form-result-command.ts +0 -51
  234. package/src/models/create-media-command.ts +0 -57
  235. package/src/models/create-patient-command.ts +0 -93
  236. package/src/models/create-profile-command.ts +0 -96
  237. package/src/models/create-service-review-command.ts +0 -87
  238. package/src/models/create-survey-result-command.ts +0 -63
  239. package/src/models/curation-categories-model.ts +0 -42
  240. package/src/models/curation-category-model.ts +0 -42
  241. package/src/models/curation-model.ts +0 -66
  242. package/src/models/curations-by-category-item-model.ts +0 -54
  243. package/src/models/curations-by-category-model.ts +0 -51
  244. package/src/models/currencies-model.ts +0 -42
  245. package/src/models/currency-item-model.ts +0 -48
  246. package/src/models/day-of-week.ts +0 -36
  247. package/src/models/deal-document-model.ts +0 -447
  248. package/src/models/deal-item-model.ts +0 -210
  249. package/src/models/deal-item-simple-model.ts +0 -54
  250. package/src/models/deal-mapping-model.ts +0 -33
  251. package/src/models/deal-model.ts +0 -264
  252. package/src/models/deal-package-item-model.ts +0 -132
  253. package/src/models/deal-package-mapping-model.ts +0 -75
  254. package/src/models/deal-package-model.ts +0 -171
  255. package/src/models/deal-packages-model.ts +0 -42
  256. package/src/models/deal-service-item-model.ts +0 -72
  257. package/src/models/deal-service-mapping-model.ts +0 -42
  258. package/src/models/deal-service-model.ts +0 -72
  259. package/src/models/deal-service-sub-document-model.ts +0 -333
  260. package/src/models/deal-service-translation-item-document-model.ts +0 -42
  261. package/src/models/deal-services-model.ts +0 -42
  262. package/src/models/deal-translation-document-model.ts +0 -42
  263. package/src/models/deals-model.ts +0 -42
  264. package/src/models/deals-simple-model.ts +0 -42
  265. package/src/models/department-document-model.ts +0 -375
  266. package/src/models/department-sub-document-model.ts +0 -327
  267. package/src/models/device-item-model.ts +0 -63
  268. package/src/models/device-model.ts +0 -69
  269. package/src/models/devices-model.ts +0 -42
  270. package/src/models/doctor-affiliation-item-model.ts +0 -261
  271. package/src/models/doctor-affiliation-model.ts +0 -351
  272. package/src/models/doctor-affiliation-translation-document-model.ts +0 -60
  273. package/src/models/doctor-affiliations-model.ts +0 -42
  274. package/src/models/doctor-certificate-item-model.ts +0 -66
  275. package/src/models/doctor-certificate-model.ts +0 -66
  276. package/src/models/doctor-certificate-sub-document-model.ts +0 -48
  277. package/src/models/doctor-certificates-model.ts +0 -42
  278. package/src/models/doctor-document-model.ts +0 -513
  279. package/src/models/doctor-education-item-model.ts +0 -78
  280. package/src/models/doctor-education-model.ts +0 -78
  281. package/src/models/doctor-educations-model.ts +0 -42
  282. package/src/models/doctor-item-model.ts +0 -105
  283. package/src/models/doctor-language-item-model.ts +0 -60
  284. package/src/models/doctor-language-model.ts +0 -60
  285. package/src/models/doctor-languages-model.ts +0 -42
  286. package/src/models/doctor-model.ts +0 -135
  287. package/src/models/doctor-portfolio-item-model.ts +0 -66
  288. package/src/models/doctor-portfolio-item-simple-model.ts +0 -48
  289. package/src/models/doctor-portfolio-model.ts +0 -66
  290. package/src/models/doctor-portfolios-model.ts +0 -42
  291. package/src/models/doctor-prefix.ts +0 -31
  292. package/src/models/doctor-simple-item-model.ts +0 -48
  293. package/src/models/doctor-specialties-model.ts +0 -42
  294. package/src/models/doctor-specialty-item-model.ts +0 -66
  295. package/src/models/doctor-specialty-model.ts +0 -66
  296. package/src/models/doctor-specialty-sub-document-model.ts +0 -321
  297. package/src/models/doctor-specialty-translation-item-document-model.ts +0 -42
  298. package/src/models/doctors-model.ts +0 -42
  299. package/src/models/doctors-simple-model.ts +0 -42
  300. package/src/models/facebook-user-data-deletion-response-model.ts +0 -48
  301. package/src/models/faq-categories-model.ts +0 -42
  302. package/src/models/faq-category-item-model.ts +0 -99
  303. package/src/models/faq-category-model.ts +0 -126
  304. package/src/models/faq-item-model.ts +0 -138
  305. package/src/models/faq-model.ts +0 -171
  306. package/src/models/faq-tag-item-model.ts +0 -42
  307. package/src/models/faq-tag-model.ts +0 -42
  308. package/src/models/faq-tags-model.ts +0 -42
  309. package/src/models/faqs-model.ts +0 -42
  310. package/src/models/feature-detail-document-model.ts +0 -78
  311. package/src/models/feature-detail-model.ts +0 -78
  312. package/src/models/feature-model.ts +0 -39
  313. package/src/models/footer-navigation-item-model.ts +0 -72
  314. package/src/models/form-field-model.ts +0 -129
  315. package/src/models/form-field-option-model.ts +0 -60
  316. package/src/models/form-result-field-input-model.ts +0 -39
  317. package/src/models/form-result-field-model.ts +0 -99
  318. package/src/models/form-result-item-model.ts +0 -111
  319. package/src/models/form-result-model.ts +0 -120
  320. package/src/models/form-result-section-input-model.ts +0 -39
  321. package/src/models/form-result-section-model.ts +0 -69
  322. package/src/models/form-result-status.ts +0 -32
  323. package/src/models/form-result-value-input-model.ts +0 -42
  324. package/src/models/form-result-value-model.ts +0 -66
  325. package/src/models/form-results-model.ts +0 -42
  326. package/src/models/form-section-model.ts +0 -69
  327. package/src/models/form-template-model.ts +0 -129
  328. package/src/models/form-template-status.ts +0 -31
  329. package/src/models/form-template-type.ts +0 -32
  330. package/src/models/gender.ts +0 -34
  331. package/src/models/geography-point.ts +0 -63
  332. package/src/models/get-appointment-timetables-response-model.ts +0 -51
  333. package/src/models/grade-document-model.ts +0 -48
  334. package/src/models/grade-model.ts +0 -48
  335. package/src/models/header-navigation-item-model.ts +0 -78
  336. package/src/models/hospital-accreditation-item-model.ts +0 -54
  337. package/src/models/hospital-accreditation-model.ts +0 -54
  338. package/src/models/hospital-accreditations-model.ts +0 -42
  339. package/src/models/hospital-branch-item-mapping-model.ts +0 -93
  340. package/src/models/hospital-branch-item-model.ts +0 -69
  341. package/src/models/hospital-branches-model.ts +0 -51
  342. package/src/models/hospital-consultation-option-model.ts +0 -42
  343. package/src/models/hospital-contact-document-model.ts +0 -78
  344. package/src/models/hospital-contact-item-model.ts +0 -87
  345. package/src/models/hospital-contacts-model.ts +0 -42
  346. package/src/models/hospital-doctor-portfolio-item-model.ts +0 -60
  347. package/src/models/hospital-doctor-portfolios-model.ts +0 -42
  348. package/src/models/hospital-document-model.ts +0 -516
  349. package/src/models/hospital-equipment-item-model.ts +0 -72
  350. package/src/models/hospital-equipment-model.ts +0 -72
  351. package/src/models/hospital-equipments-model.ts +0 -42
  352. package/src/models/hospital-evaluation-item-model.ts +0 -36
  353. package/src/models/hospital-evaluation-model.ts +0 -48
  354. package/src/models/hospital-evaluations-model.ts +0 -42
  355. package/src/models/hospital-group-item-model.ts +0 -60
  356. package/src/models/hospital-item-model.ts +0 -265
  357. package/src/models/hospital-language-item-model.ts +0 -60
  358. package/src/models/hospital-languages-model.ts +0 -42
  359. package/src/models/hospital-model.ts +0 -388
  360. package/src/models/hospital-payment-gateway-model.ts +0 -36
  361. package/src/models/hospital-payment-method-model.ts +0 -90
  362. package/src/models/hospital-payment-methods-model.ts +0 -42
  363. package/src/models/hospital-rating-item-model.ts +0 -72
  364. package/src/models/hospital-ratings-model.ts +0 -42
  365. package/src/models/hospital-service-item-model.ts +0 -162
  366. package/src/models/hospital-service-model.ts +0 -255
  367. package/src/models/hospital-services-model.ts +0 -42
  368. package/src/models/hospital-simple-item-model.ts +0 -54
  369. package/src/models/hospital-sns-handles-model.ts +0 -42
  370. package/src/models/hospital-specialties-model.ts +0 -42
  371. package/src/models/hospital-specialties-simple-model.ts +0 -42
  372. package/src/models/hospital-specialty-item-model.ts +0 -162
  373. package/src/models/hospital-specialty-model.ts +0 -243
  374. package/src/models/hospital-specialty-simple-item-model.ts +0 -60
  375. package/src/models/hospital-specialty-sub-document-model.ts +0 -333
  376. package/src/models/hospital-specialty-translation-item-document-model.ts +0 -48
  377. package/src/models/hospital-sub-document-model.ts +0 -360
  378. package/src/models/hospital-tag-item-model.ts +0 -36
  379. package/src/models/hospital-tag-model.ts +0 -42
  380. package/src/models/hospital-tags-model.ts +0 -42
  381. package/src/models/hospital-translation-document-model.ts +0 -72
  382. package/src/models/hospital-working-day-of-week-model.ts +0 -45
  383. package/src/models/hospital-working-days-model.ts +0 -42
  384. package/src/models/hospitals-model.ts +0 -42
  385. package/src/models/hospitals-simple-model.ts +0 -42
  386. package/src/models/index.ts +0 -375
  387. package/src/models/invite-send-bird-group-channel-command.ts +0 -30
  388. package/src/models/landing-item-model.ts +0 -81
  389. package/src/models/landing-model.ts +0 -141
  390. package/src/models/landings-model.ts +0 -42
  391. package/src/models/language-item-model.ts +0 -60
  392. package/src/models/language-model.ts +0 -60
  393. package/src/models/languages-model.ts +0 -42
  394. package/src/models/localized-url-model.ts +0 -42
  395. package/src/models/location-document-model.ts +0 -93
  396. package/src/models/location-model.ts +0 -103
  397. package/src/models/marketing-type.ts +0 -32
  398. package/src/models/media-document-model.ts +0 -66
  399. package/src/models/media-model.ts +0 -69
  400. package/src/models/media-type.ts +0 -37
  401. package/src/models/medias-model.ts +0 -42
  402. package/src/models/metadata.ts +0 -42
  403. package/src/models/notice-item-model.ts +0 -93
  404. package/src/models/notice-status.ts +0 -32
  405. package/src/models/notices-model.ts +0 -42
  406. package/src/models/notification-code.ts +0 -68
  407. package/src/models/notification-model.ts +0 -93
  408. package/src/models/notifications-model.ts +0 -48
  409. package/src/models/package-sub-document-model.ts +0 -72
  410. package/src/models/page-block-link-model.ts +0 -81
  411. package/src/models/page-block-link-type.ts +0 -32
  412. package/src/models/page-block-location-model.ts +0 -48
  413. package/src/models/page-block-model.ts +0 -147
  414. package/src/models/page-block-type.ts +0 -48
  415. package/src/models/page-item-model.ts +0 -102
  416. package/src/models/page-item-status.ts +0 -32
  417. package/src/models/page-section-list-type.ts +0 -34
  418. package/src/models/page-section-model.ts +0 -69
  419. package/src/models/paged-list-meta-data.ts +0 -84
  420. package/src/models/patient-model.ts +0 -129
  421. package/src/models/pay-appointment-command.ts +0 -39
  422. package/src/models/payment-method.ts +0 -35
  423. package/src/models/payment-model.ts +0 -87
  424. package/src/models/payment-status.ts +0 -33
  425. package/src/models/plan-hospital-item-model.ts +0 -54
  426. package/src/models/plan-hospital-model.ts +0 -54
  427. package/src/models/plan-hospitals-model.ts +0 -42
  428. package/src/models/plan-item-model.ts +0 -75
  429. package/src/models/plan-model.ts +0 -75
  430. package/src/models/plans-model.ts +0 -42
  431. package/src/models/platform.ts +0 -32
  432. package/src/models/policies-model.ts +0 -42
  433. package/src/models/policy-item-model.ts +0 -66
  434. package/src/models/policy-model.ts +0 -126
  435. package/src/models/prescription-diagnosis-model.ts +0 -42
  436. package/src/models/prescription-item-model.ts +0 -180
  437. package/src/models/prescription-medication-model.ts +0 -84
  438. package/src/models/prescription-model.ts +0 -207
  439. package/src/models/prescription-symptom-model.ts +0 -54
  440. package/src/models/prescriptions-model.ts +0 -42
  441. package/src/models/problem-details.ts +0 -56
  442. package/src/models/procedure.ts +0 -31
  443. package/src/models/promotion-model.ts +0 -108
  444. package/src/models/promotion-type.ts +0 -32
  445. package/src/models/promotions-model.ts +0 -42
  446. package/src/models/recurring-interval.ts +0 -33
  447. package/src/models/refund-appointment-command.ts +0 -48
  448. package/src/models/refund-policy.ts +0 -32
  449. package/src/models/refund-status.ts +0 -32
  450. package/src/models/register-patient-command.ts +0 -42
  451. package/src/models/registered-account-model.ts +0 -66
  452. package/src/models/reject-reason.ts +0 -33
  453. package/src/models/remove-cors-command.ts +0 -30
  454. package/src/models/request-handoff-command.ts +0 -48
  455. package/src/models/reschedule-appointment-command.ts +0 -42
  456. package/src/models/review-type.ts +0 -32
  457. package/src/models/secure-container-item-model.ts +0 -48
  458. package/src/models/secure-container-model.ts +0 -57
  459. package/src/models/secure-containers-model.ts +0 -42
  460. package/src/models/secure-file-item-input-model.ts +0 -48
  461. package/src/models/secure-file-model.ts +0 -93
  462. package/src/models/secure-files-uploaded-model.ts +0 -33
  463. package/src/models/send-bird-group-channel-member.ts +0 -87
  464. package/src/models/send-bird-group-channel-model.ts +0 -153
  465. package/src/models/send-bird-group-channelr-operator.ts +0 -42
  466. package/src/models/service-categories-model.ts +0 -42
  467. package/src/models/service-category-item-model.ts +0 -60
  468. package/src/models/service-category-model.ts +0 -60
  469. package/src/models/service-review-item-model.ts +0 -183
  470. package/src/models/service-review-model.ts +0 -183
  471. package/src/models/service-reviews-model.ts +0 -42
  472. package/src/models/simple-translation-model.ts +0 -60
  473. package/src/models/simple-translation-with-description-model.ts +0 -66
  474. package/src/models/sns-handle-document-model.ts +0 -36
  475. package/src/models/sns-handle-model.ts +0 -45
  476. package/src/models/sns-type.ts +0 -35
  477. package/src/models/source-model.ts +0 -48
  478. package/src/models/specialties-model.ts +0 -42
  479. package/src/models/specialties-simple-model.ts +0 -42
  480. package/src/models/specialty-document-model.ts +0 -372
  481. package/src/models/specialty-item-model.ts +0 -123
  482. package/src/models/specialty-item-simple-model.ts +0 -60
  483. package/src/models/specialty-model.ts +0 -150
  484. package/src/models/specialty-type-item-model.ts +0 -132
  485. package/src/models/specialty-type-model.ts +0 -159
  486. package/src/models/specialty-type-simple-item-model.ts +0 -54
  487. package/src/models/specialty-types-model.ts +0 -42
  488. package/src/models/specialty-types-simple-model.ts +0 -42
  489. package/src/models/survey-form-affiliation-model.ts +0 -63
  490. package/src/models/survey-form-element-model.ts +0 -96
  491. package/src/models/survey-form-element-option-model.ts +0 -66
  492. package/src/models/survey-form-element-types.ts +0 -44
  493. package/src/models/survey-form-model.ts +0 -117
  494. package/src/models/survey-form-status.ts +0 -31
  495. package/src/models/survey-result-element-input-model.ts +0 -54
  496. package/src/models/survey-result-element-value-input-model.ts +0 -42
  497. package/src/models/tag-document-model.ts +0 -36
  498. package/src/models/tag-item-model.ts +0 -48
  499. package/src/models/tag-model.ts +0 -48
  500. package/src/models/tags-model.ts +0 -42
  501. package/src/models/translation-document-model.ts +0 -36
  502. package/src/models/translation-item-document-model.ts +0 -36
  503. package/src/models/update-appointment-command.ts +0 -99
  504. package/src/models/update-call-history-command.ts +0 -81
  505. package/src/models/update-chat-user-command.ts +0 -48
  506. package/src/models/update-device-command.ts +0 -54
  507. package/src/models/update-media-command.ts +0 -57
  508. package/src/models/update-patient-command.ts +0 -87
  509. package/src/models/update-profile-command.ts +0 -84
  510. package/src/models/update-secure-container-command.ts +0 -45
  511. package/src/models/update-service-review-command.ts +0 -84
  512. package/src/models/update-survey-result-command.ts +0 -36
  513. package/src/models/update-vonage-user-command.ts +0 -66
  514. package/src/models/upi-payment-model.ts +0 -36
  515. package/src/models/uploaded-medias-model.ts +0 -33
  516. package/src/models/user-channels.ts +0 -105
  517. package/src/models/user-language-document-model.ts +0 -60
  518. package/src/models/user-language-model.ts +0 -60
  519. package/src/models/user-model.ts +0 -123
  520. package/src/models/user-property.ts +0 -30
  521. package/src/models/validate-specialty-names-by-specialty-type-command.ts +0 -42
  522. package/src/models/validate-specialty-names-result.ts +0 -30
  523. package/src/models/vonage-user.ts +0 -63
  524. package/src/models/web-app-metadata-model.ts +0 -66
  525. package/src/models/working-day-item-model.ts +0 -60
  526. package/src/models/working-day-model.ts +0 -60
  527. package/tsconfig.json +0 -71
@@ -1,2383 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * CloudHospital Api
5
- * CloudHospital application with Swagger, Swashbuckle, and API versioning.
6
- *
7
- * The version of the OpenAPI document: 2
8
- * Contact: developer@icloudhospital.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
- import { Configuration } from '../configuration';
18
- // Some imports not used depending on template conditions
19
- // @ts-ignore
20
- import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
- // @ts-ignore
22
- import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
- // @ts-ignore
24
- import { DoctorCertificateModel } from '../models';
25
- // @ts-ignore
26
- import { DoctorCertificatesModel } from '../models';
27
- // @ts-ignore
28
- import { DoctorEducationModel } from '../models';
29
- // @ts-ignore
30
- import { DoctorEducationsModel } from '../models';
31
- // @ts-ignore
32
- import { DoctorLanguageModel } from '../models';
33
- // @ts-ignore
34
- import { DoctorLanguagesModel } from '../models';
35
- // @ts-ignore
36
- import { DoctorModel } from '../models';
37
- // @ts-ignore
38
- import { DoctorPortfolioModel } from '../models';
39
- // @ts-ignore
40
- import { DoctorPortfoliosModel } from '../models';
41
- // @ts-ignore
42
- import { DoctorSpecialtiesModel } from '../models';
43
- // @ts-ignore
44
- import { DoctorSpecialtyModel } from '../models';
45
- // @ts-ignore
46
- import { DoctorsModel } from '../models';
47
- // @ts-ignore
48
- import { DoctorsSimpleModel } from '../models';
49
- // @ts-ignore
50
- import { Gender } from '../models';
51
- // @ts-ignore
52
- import { MediaModel } from '../models';
53
- // @ts-ignore
54
- import { MediaType } from '../models';
55
- // @ts-ignore
56
- import { MediasModel } from '../models';
57
- /**
58
- * DoctorsApi - axios parameter creator
59
- * @export
60
- */
61
- export const DoctorsApiAxiosParamCreator = function (configuration?: Configuration) {
62
- return {
63
- /**
64
- *
65
- * @summary Get DoctorCertificate.
66
- * @param {string} doctorId
67
- * @param {string} certificateId
68
- * @param {*} [options] Override http request option.
69
- * @throws {RequiredError}
70
- */
71
- apiV2DoctorsDoctorIdCertificatesCertificateIdGet: async (doctorId: string, certificateId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
72
- // verify required parameter 'doctorId' is not null or undefined
73
- assertParamExists('apiV2DoctorsDoctorIdCertificatesCertificateIdGet', 'doctorId', doctorId)
74
- // verify required parameter 'certificateId' is not null or undefined
75
- assertParamExists('apiV2DoctorsDoctorIdCertificatesCertificateIdGet', 'certificateId', certificateId)
76
- const localVarPath = `/api/v2/doctors/{doctorId}/certificates/{certificateId}`
77
- .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
78
- .replace(`{${"certificateId"}}`, encodeURIComponent(String(certificateId)));
79
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
80
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
81
- let baseOptions;
82
- if (configuration) {
83
- baseOptions = configuration.baseOptions;
84
- }
85
-
86
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
87
- const localVarHeaderParameter = {} as any;
88
- const localVarQueryParameter = {} as any;
89
-
90
-
91
-
92
- setSearchParams(localVarUrlObj, localVarQueryParameter);
93
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
94
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
95
-
96
- return {
97
- url: toPathString(localVarUrlObj),
98
- options: localVarRequestOptions,
99
- };
100
- },
101
- /**
102
- *
103
- * @summary Get All DoctorCertificate.
104
- * @param {string} doctorId
105
- * @param {string} [doctorName]
106
- * @param {string} [certificateId]
107
- * @param {string} [certificate]
108
- * @param {Date} [activeFrom]
109
- * @param {Date} [activeTo]
110
- * @param {number} [page]
111
- * @param {number} [limit]
112
- * @param {Date} [lastRetrieved]
113
- * @param {*} [options] Override http request option.
114
- * @throws {RequiredError}
115
- */
116
- apiV2DoctorsDoctorIdCertificatesGet: async (doctorId: string, doctorName?: string, certificateId?: string, certificate?: string, activeFrom?: Date, activeTo?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
117
- // verify required parameter 'doctorId' is not null or undefined
118
- assertParamExists('apiV2DoctorsDoctorIdCertificatesGet', 'doctorId', doctorId)
119
- const localVarPath = `/api/v2/doctors/{doctorId}/certificates`
120
- .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
121
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
122
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
123
- let baseOptions;
124
- if (configuration) {
125
- baseOptions = configuration.baseOptions;
126
- }
127
-
128
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
129
- const localVarHeaderParameter = {} as any;
130
- const localVarQueryParameter = {} as any;
131
-
132
- if (doctorName !== undefined) {
133
- localVarQueryParameter['DoctorName'] = doctorName;
134
- }
135
-
136
- if (certificateId !== undefined) {
137
- localVarQueryParameter['CertificateId'] = certificateId;
138
- }
139
-
140
- if (certificate !== undefined) {
141
- localVarQueryParameter['Certificate'] = certificate;
142
- }
143
-
144
- if (activeFrom !== undefined) {
145
- localVarQueryParameter['ActiveFrom'] = (activeFrom as any instanceof Date) ?
146
- (activeFrom as any).toISOString() :
147
- activeFrom;
148
- }
149
-
150
- if (activeTo !== undefined) {
151
- localVarQueryParameter['ActiveTo'] = (activeTo as any instanceof Date) ?
152
- (activeTo as any).toISOString() :
153
- activeTo;
154
- }
155
-
156
- if (page !== undefined) {
157
- localVarQueryParameter['page'] = page;
158
- }
159
-
160
- if (limit !== undefined) {
161
- localVarQueryParameter['limit'] = limit;
162
- }
163
-
164
- if (lastRetrieved !== undefined) {
165
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
166
- (lastRetrieved as any).toISOString() :
167
- lastRetrieved;
168
- }
169
-
170
-
171
-
172
- setSearchParams(localVarUrlObj, localVarQueryParameter);
173
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
174
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
175
-
176
- return {
177
- url: toPathString(localVarUrlObj),
178
- options: localVarRequestOptions,
179
- };
180
- },
181
- /**
182
- *
183
- * @summary Get DoctorEducation.
184
- * @param {string} doctorId
185
- * @param {string} educationId
186
- * @param {*} [options] Override http request option.
187
- * @throws {RequiredError}
188
- */
189
- apiV2DoctorsDoctorIdEducationsEducationIdGet: async (doctorId: string, educationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
190
- // verify required parameter 'doctorId' is not null or undefined
191
- assertParamExists('apiV2DoctorsDoctorIdEducationsEducationIdGet', 'doctorId', doctorId)
192
- // verify required parameter 'educationId' is not null or undefined
193
- assertParamExists('apiV2DoctorsDoctorIdEducationsEducationIdGet', 'educationId', educationId)
194
- const localVarPath = `/api/v2/doctors/{doctorId}/educations/{educationId}`
195
- .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
196
- .replace(`{${"educationId"}}`, encodeURIComponent(String(educationId)));
197
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
198
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
199
- let baseOptions;
200
- if (configuration) {
201
- baseOptions = configuration.baseOptions;
202
- }
203
-
204
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
205
- const localVarHeaderParameter = {} as any;
206
- const localVarQueryParameter = {} as any;
207
-
208
-
209
-
210
- setSearchParams(localVarUrlObj, localVarQueryParameter);
211
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
212
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
213
-
214
- return {
215
- url: toPathString(localVarUrlObj),
216
- options: localVarRequestOptions,
217
- };
218
- },
219
- /**
220
- *
221
- * @summary Get all DoctorEducations.
222
- * @param {string} doctorId
223
- * @param {string} [doctorName]
224
- * @param {string} [educationId]
225
- * @param {string} [institution]
226
- * @param {string} [qualification]
227
- * @param {Date} [graduationDate]
228
- * @param {number} [page]
229
- * @param {number} [limit]
230
- * @param {Date} [lastRetrieved]
231
- * @param {*} [options] Override http request option.
232
- * @throws {RequiredError}
233
- */
234
- apiV2DoctorsDoctorIdEducationsGet: async (doctorId: string, doctorName?: string, educationId?: string, institution?: string, qualification?: string, graduationDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
235
- // verify required parameter 'doctorId' is not null or undefined
236
- assertParamExists('apiV2DoctorsDoctorIdEducationsGet', 'doctorId', doctorId)
237
- const localVarPath = `/api/v2/doctors/{doctorId}/educations`
238
- .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
239
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
240
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
241
- let baseOptions;
242
- if (configuration) {
243
- baseOptions = configuration.baseOptions;
244
- }
245
-
246
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
247
- const localVarHeaderParameter = {} as any;
248
- const localVarQueryParameter = {} as any;
249
-
250
- if (doctorName !== undefined) {
251
- localVarQueryParameter['DoctorName'] = doctorName;
252
- }
253
-
254
- if (educationId !== undefined) {
255
- localVarQueryParameter['EducationId'] = educationId;
256
- }
257
-
258
- if (institution !== undefined) {
259
- localVarQueryParameter['Institution'] = institution;
260
- }
261
-
262
- if (qualification !== undefined) {
263
- localVarQueryParameter['Qualification'] = qualification;
264
- }
265
-
266
- if (graduationDate !== undefined) {
267
- localVarQueryParameter['GraduationDate'] = (graduationDate as any instanceof Date) ?
268
- (graduationDate as any).toISOString() :
269
- graduationDate;
270
- }
271
-
272
- if (page !== undefined) {
273
- localVarQueryParameter['page'] = page;
274
- }
275
-
276
- if (limit !== undefined) {
277
- localVarQueryParameter['limit'] = limit;
278
- }
279
-
280
- if (lastRetrieved !== undefined) {
281
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
282
- (lastRetrieved as any).toISOString() :
283
- lastRetrieved;
284
- }
285
-
286
-
287
-
288
- setSearchParams(localVarUrlObj, localVarQueryParameter);
289
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
290
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
291
-
292
- return {
293
- url: toPathString(localVarUrlObj),
294
- options: localVarRequestOptions,
295
- };
296
- },
297
- /**
298
- *
299
- * @summary
300
- * @param {string} doctorId
301
- * @param {string} [languageCode]
302
- * @param {boolean} [returnDefaultValue]
303
- * @param {*} [options] Override http request option.
304
- * @throws {RequiredError}
305
- */
306
- apiV2DoctorsDoctorIdGet: async (doctorId: string, languageCode?: string, returnDefaultValue?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
307
- // verify required parameter 'doctorId' is not null or undefined
308
- assertParamExists('apiV2DoctorsDoctorIdGet', 'doctorId', doctorId)
309
- const localVarPath = `/api/v2/doctors/{doctorId}`
310
- .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
311
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
312
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
313
- let baseOptions;
314
- if (configuration) {
315
- baseOptions = configuration.baseOptions;
316
- }
317
-
318
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
319
- const localVarHeaderParameter = {} as any;
320
- const localVarQueryParameter = {} as any;
321
-
322
- if (languageCode !== undefined) {
323
- localVarQueryParameter['languageCode'] = languageCode;
324
- }
325
-
326
- if (returnDefaultValue !== undefined) {
327
- localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
328
- }
329
-
330
-
331
-
332
- setSearchParams(localVarUrlObj, localVarQueryParameter);
333
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
334
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
335
-
336
- return {
337
- url: toPathString(localVarUrlObj),
338
- options: localVarRequestOptions,
339
- };
340
- },
341
- /**
342
- *
343
- * @summary Get all DoctorLanguages.
344
- * @param {string} doctorId
345
- * @param {string} [languageCode]
346
- * @param {number} [page]
347
- * @param {number} [limit]
348
- * @param {Date} [lastRetrieved]
349
- * @param {*} [options] Override http request option.
350
- * @throws {RequiredError}
351
- */
352
- apiV2DoctorsDoctorIdLanguagesGet: async (doctorId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
353
- // verify required parameter 'doctorId' is not null or undefined
354
- assertParamExists('apiV2DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId)
355
- const localVarPath = `/api/v2/doctors/{doctorId}/languages`
356
- .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
357
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
358
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
359
- let baseOptions;
360
- if (configuration) {
361
- baseOptions = configuration.baseOptions;
362
- }
363
-
364
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
365
- const localVarHeaderParameter = {} as any;
366
- const localVarQueryParameter = {} as any;
367
-
368
- if (languageCode !== undefined) {
369
- localVarQueryParameter['LanguageCode'] = languageCode;
370
- }
371
-
372
- if (page !== undefined) {
373
- localVarQueryParameter['page'] = page;
374
- }
375
-
376
- if (limit !== undefined) {
377
- localVarQueryParameter['limit'] = limit;
378
- }
379
-
380
- if (lastRetrieved !== undefined) {
381
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
382
- (lastRetrieved as any).toISOString() :
383
- lastRetrieved;
384
- }
385
-
386
-
387
-
388
- setSearchParams(localVarUrlObj, localVarQueryParameter);
389
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
390
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
391
-
392
- return {
393
- url: toPathString(localVarUrlObj),
394
- options: localVarRequestOptions,
395
- };
396
- },
397
- /**
398
- *
399
- * @summary Get DoctorLanguage.
400
- * @param {string} doctorId
401
- * @param {string} languageCode
402
- * @param {*} [options] Override http request option.
403
- * @throws {RequiredError}
404
- */
405
- apiV2DoctorsDoctorIdLanguagesLanguageCodeGet: async (doctorId: string, languageCode: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
406
- // verify required parameter 'doctorId' is not null or undefined
407
- assertParamExists('apiV2DoctorsDoctorIdLanguagesLanguageCodeGet', 'doctorId', doctorId)
408
- // verify required parameter 'languageCode' is not null or undefined
409
- assertParamExists('apiV2DoctorsDoctorIdLanguagesLanguageCodeGet', 'languageCode', languageCode)
410
- const localVarPath = `/api/v2/doctors/{doctorId}/languages/{languageCode}`
411
- .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
412
- .replace(`{${"languageCode"}}`, encodeURIComponent(String(languageCode)));
413
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
414
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
415
- let baseOptions;
416
- if (configuration) {
417
- baseOptions = configuration.baseOptions;
418
- }
419
-
420
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
421
- const localVarHeaderParameter = {} as any;
422
- const localVarQueryParameter = {} as any;
423
-
424
-
425
-
426
- setSearchParams(localVarUrlObj, localVarQueryParameter);
427
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
428
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
429
-
430
- return {
431
- url: toPathString(localVarUrlObj),
432
- options: localVarRequestOptions,
433
- };
434
- },
435
- /**
436
- *
437
- * @summary Get all DoctorMedias.
438
- * @param {string} doctorId
439
- * @param {string} [id]
440
- * @param {MediaType} [mediaType]
441
- * @param {number} [page]
442
- * @param {number} [limit]
443
- * @param {Date} [lastRetrieved]
444
- * @param {*} [options] Override http request option.
445
- * @throws {RequiredError}
446
- */
447
- apiV2DoctorsDoctorIdMediasGet: async (doctorId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
448
- // verify required parameter 'doctorId' is not null or undefined
449
- assertParamExists('apiV2DoctorsDoctorIdMediasGet', 'doctorId', doctorId)
450
- const localVarPath = `/api/v2/doctors/{doctorId}/medias`
451
- .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
452
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
453
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
454
- let baseOptions;
455
- if (configuration) {
456
- baseOptions = configuration.baseOptions;
457
- }
458
-
459
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
460
- const localVarHeaderParameter = {} as any;
461
- const localVarQueryParameter = {} as any;
462
-
463
- if (id !== undefined) {
464
- localVarQueryParameter['Id'] = id;
465
- }
466
-
467
- if (mediaType !== undefined) {
468
- localVarQueryParameter['MediaType'] = mediaType;
469
- }
470
-
471
- if (page !== undefined) {
472
- localVarQueryParameter['page'] = page;
473
- }
474
-
475
- if (limit !== undefined) {
476
- localVarQueryParameter['limit'] = limit;
477
- }
478
-
479
- if (lastRetrieved !== undefined) {
480
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
481
- (lastRetrieved as any).toISOString() :
482
- lastRetrieved;
483
- }
484
-
485
-
486
-
487
- setSearchParams(localVarUrlObj, localVarQueryParameter);
488
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
489
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
490
-
491
- return {
492
- url: toPathString(localVarUrlObj),
493
- options: localVarRequestOptions,
494
- };
495
- },
496
- /**
497
- *
498
- * @summary Get DoctorMedia.
499
- * @param {string} doctorId
500
- * @param {string} mediaId
501
- * @param {*} [options] Override http request option.
502
- * @throws {RequiredError}
503
- */
504
- apiV2DoctorsDoctorIdMediasMediaIdGet: async (doctorId: string, mediaId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
505
- // verify required parameter 'doctorId' is not null or undefined
506
- assertParamExists('apiV2DoctorsDoctorIdMediasMediaIdGet', 'doctorId', doctorId)
507
- // verify required parameter 'mediaId' is not null or undefined
508
- assertParamExists('apiV2DoctorsDoctorIdMediasMediaIdGet', 'mediaId', mediaId)
509
- const localVarPath = `/api/v2/doctors/{doctorId}/medias/{mediaId}`
510
- .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
511
- .replace(`{${"mediaId"}}`, encodeURIComponent(String(mediaId)));
512
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
513
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
514
- let baseOptions;
515
- if (configuration) {
516
- baseOptions = configuration.baseOptions;
517
- }
518
-
519
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
520
- const localVarHeaderParameter = {} as any;
521
- const localVarQueryParameter = {} as any;
522
-
523
-
524
-
525
- setSearchParams(localVarUrlObj, localVarQueryParameter);
526
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
527
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
528
-
529
- return {
530
- url: toPathString(localVarUrlObj),
531
- options: localVarRequestOptions,
532
- };
533
- },
534
- /**
535
- *
536
- * @summary Get All DoctorPortfolios
537
- * @param {string} doctorId
538
- * @param {string} [doctorName]
539
- * @param {string} [portfolioId]
540
- * @param {string} [name]
541
- * @param {number} [page]
542
- * @param {number} [limit]
543
- * @param {Date} [lastRetrieved]
544
- * @param {*} [options] Override http request option.
545
- * @throws {RequiredError}
546
- */
547
- apiV2DoctorsDoctorIdPortfoliosGet: async (doctorId: string, doctorName?: string, portfolioId?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
548
- // verify required parameter 'doctorId' is not null or undefined
549
- assertParamExists('apiV2DoctorsDoctorIdPortfoliosGet', 'doctorId', doctorId)
550
- const localVarPath = `/api/v2/doctors/{doctorId}/portfolios`
551
- .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
552
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
553
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
554
- let baseOptions;
555
- if (configuration) {
556
- baseOptions = configuration.baseOptions;
557
- }
558
-
559
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
560
- const localVarHeaderParameter = {} as any;
561
- const localVarQueryParameter = {} as any;
562
-
563
- if (doctorName !== undefined) {
564
- localVarQueryParameter['DoctorName'] = doctorName;
565
- }
566
-
567
- if (portfolioId !== undefined) {
568
- localVarQueryParameter['PortfolioId'] = portfolioId;
569
- }
570
-
571
- if (name !== undefined) {
572
- localVarQueryParameter['Name'] = name;
573
- }
574
-
575
- if (page !== undefined) {
576
- localVarQueryParameter['page'] = page;
577
- }
578
-
579
- if (limit !== undefined) {
580
- localVarQueryParameter['limit'] = limit;
581
- }
582
-
583
- if (lastRetrieved !== undefined) {
584
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
585
- (lastRetrieved as any).toISOString() :
586
- lastRetrieved;
587
- }
588
-
589
-
590
-
591
- setSearchParams(localVarUrlObj, localVarQueryParameter);
592
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
593
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
594
-
595
- return {
596
- url: toPathString(localVarUrlObj),
597
- options: localVarRequestOptions,
598
- };
599
- },
600
- /**
601
- *
602
- * @summary Get DoctorPortfolio.
603
- * @param {string} doctorId
604
- * @param {string} portfolioId
605
- * @param {*} [options] Override http request option.
606
- * @throws {RequiredError}
607
- */
608
- apiV2DoctorsDoctorIdPortfoliosPortfolioIdGet: async (doctorId: string, portfolioId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
609
- // verify required parameter 'doctorId' is not null or undefined
610
- assertParamExists('apiV2DoctorsDoctorIdPortfoliosPortfolioIdGet', 'doctorId', doctorId)
611
- // verify required parameter 'portfolioId' is not null or undefined
612
- assertParamExists('apiV2DoctorsDoctorIdPortfoliosPortfolioIdGet', 'portfolioId', portfolioId)
613
- const localVarPath = `/api/v2/doctors/{doctorId}/portfolios/{portfolioId}`
614
- .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
615
- .replace(`{${"portfolioId"}}`, encodeURIComponent(String(portfolioId)));
616
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
617
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
618
- let baseOptions;
619
- if (configuration) {
620
- baseOptions = configuration.baseOptions;
621
- }
622
-
623
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
624
- const localVarHeaderParameter = {} as any;
625
- const localVarQueryParameter = {} as any;
626
-
627
-
628
-
629
- setSearchParams(localVarUrlObj, localVarQueryParameter);
630
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
631
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
632
-
633
- return {
634
- url: toPathString(localVarUrlObj),
635
- options: localVarRequestOptions,
636
- };
637
- },
638
- /**
639
- *
640
- * @summary Get All DoctorSpecialties.
641
- * @param {string} doctorId
642
- * @param {string} [doctorName]
643
- * @param {string} [specialtyId]
644
- * @param {string} [specialtyName]
645
- * @param {string} [languageCode]
646
- * @param {number} [page]
647
- * @param {number} [limit]
648
- * @param {Date} [lastRetrieved]
649
- * @param {*} [options] Override http request option.
650
- * @throws {RequiredError}
651
- */
652
- apiV2DoctorsDoctorIdSpecialtiesGet: async (doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
653
- // verify required parameter 'doctorId' is not null or undefined
654
- assertParamExists('apiV2DoctorsDoctorIdSpecialtiesGet', 'doctorId', doctorId)
655
- const localVarPath = `/api/v2/doctors/{doctorId}/specialties`
656
- .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)));
657
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
658
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
659
- let baseOptions;
660
- if (configuration) {
661
- baseOptions = configuration.baseOptions;
662
- }
663
-
664
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
665
- const localVarHeaderParameter = {} as any;
666
- const localVarQueryParameter = {} as any;
667
-
668
- if (doctorName !== undefined) {
669
- localVarQueryParameter['DoctorName'] = doctorName;
670
- }
671
-
672
- if (specialtyId !== undefined) {
673
- localVarQueryParameter['SpecialtyId'] = specialtyId;
674
- }
675
-
676
- if (specialtyName !== undefined) {
677
- localVarQueryParameter['SpecialtyName'] = specialtyName;
678
- }
679
-
680
- if (languageCode !== undefined) {
681
- localVarQueryParameter['LanguageCode'] = languageCode;
682
- }
683
-
684
- if (page !== undefined) {
685
- localVarQueryParameter['page'] = page;
686
- }
687
-
688
- if (limit !== undefined) {
689
- localVarQueryParameter['limit'] = limit;
690
- }
691
-
692
- if (lastRetrieved !== undefined) {
693
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
694
- (lastRetrieved as any).toISOString() :
695
- lastRetrieved;
696
- }
697
-
698
-
699
-
700
- setSearchParams(localVarUrlObj, localVarQueryParameter);
701
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
702
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
703
-
704
- return {
705
- url: toPathString(localVarUrlObj),
706
- options: localVarRequestOptions,
707
- };
708
- },
709
- /**
710
- *
711
- * @summary Get DoctorSpecialty
712
- * @param {string} doctorId
713
- * @param {string} specialtyId
714
- * @param {string} [languageCode]
715
- * @param {*} [options] Override http request option.
716
- * @throws {RequiredError}
717
- */
718
- apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet: async (doctorId: string, specialtyId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
719
- // verify required parameter 'doctorId' is not null or undefined
720
- assertParamExists('apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet', 'doctorId', doctorId)
721
- // verify required parameter 'specialtyId' is not null or undefined
722
- assertParamExists('apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet', 'specialtyId', specialtyId)
723
- const localVarPath = `/api/v2/doctors/{doctorId}/specialties/{specialtyId}`
724
- .replace(`{${"doctorId"}}`, encodeURIComponent(String(doctorId)))
725
- .replace(`{${"specialtyId"}}`, encodeURIComponent(String(specialtyId)));
726
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
727
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
728
- let baseOptions;
729
- if (configuration) {
730
- baseOptions = configuration.baseOptions;
731
- }
732
-
733
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
734
- const localVarHeaderParameter = {} as any;
735
- const localVarQueryParameter = {} as any;
736
-
737
- if (languageCode !== undefined) {
738
- localVarQueryParameter['languageCode'] = languageCode;
739
- }
740
-
741
-
742
-
743
- setSearchParams(localVarUrlObj, localVarQueryParameter);
744
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
745
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
746
-
747
- return {
748
- url: toPathString(localVarUrlObj),
749
- options: localVarRequestOptions,
750
- };
751
- },
752
- /**
753
- *
754
- * @summary Get all Doctors.
755
- * @param {string} [hospitalId]
756
- * @param {string} [hospitalName]
757
- * @param {Array<string>} [ids]
758
- * @param {string} [specialtyId]
759
- * @param {boolean} [consultationEnabled]
760
- * @param {string} [languageCode]
761
- * @param {string} [id]
762
- * @param {string} [fullname]
763
- * @param {string} [email]
764
- * @param {Gender} [gender]
765
- * @param {Date} [dateOfBirth]
766
- * @param {Date} [created]
767
- * @param {number} [page]
768
- * @param {number} [limit]
769
- * @param {Date} [lastRetrieved]
770
- * @param {*} [options] Override http request option.
771
- * @throws {RequiredError}
772
- */
773
- apiV2DoctorsGet: async (hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
774
- const localVarPath = `/api/v2/doctors`;
775
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
776
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
777
- let baseOptions;
778
- if (configuration) {
779
- baseOptions = configuration.baseOptions;
780
- }
781
-
782
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
783
- const localVarHeaderParameter = {} as any;
784
- const localVarQueryParameter = {} as any;
785
-
786
- if (hospitalId !== undefined) {
787
- localVarQueryParameter['HospitalId'] = hospitalId;
788
- }
789
-
790
- if (hospitalName !== undefined) {
791
- localVarQueryParameter['HospitalName'] = hospitalName;
792
- }
793
-
794
- if (ids) {
795
- localVarQueryParameter['Ids'] = ids;
796
- }
797
-
798
- if (specialtyId !== undefined) {
799
- localVarQueryParameter['SpecialtyId'] = specialtyId;
800
- }
801
-
802
- if (consultationEnabled !== undefined) {
803
- localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
804
- }
805
-
806
- if (languageCode !== undefined) {
807
- localVarQueryParameter['LanguageCode'] = languageCode;
808
- }
809
-
810
- if (id !== undefined) {
811
- localVarQueryParameter['Id'] = id;
812
- }
813
-
814
- if (fullname !== undefined) {
815
- localVarQueryParameter['Fullname'] = fullname;
816
- }
817
-
818
- if (email !== undefined) {
819
- localVarQueryParameter['Email'] = email;
820
- }
821
-
822
- if (gender !== undefined) {
823
- localVarQueryParameter['Gender'] = gender;
824
- }
825
-
826
- if (dateOfBirth !== undefined) {
827
- localVarQueryParameter['DateOfBirth'] = (dateOfBirth as any instanceof Date) ?
828
- (dateOfBirth as any).toISOString() :
829
- dateOfBirth;
830
- }
831
-
832
- if (created !== undefined) {
833
- localVarQueryParameter['Created'] = (created as any instanceof Date) ?
834
- (created as any).toISOString() :
835
- created;
836
- }
837
-
838
- if (page !== undefined) {
839
- localVarQueryParameter['page'] = page;
840
- }
841
-
842
- if (limit !== undefined) {
843
- localVarQueryParameter['limit'] = limit;
844
- }
845
-
846
- if (lastRetrieved !== undefined) {
847
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
848
- (lastRetrieved as any).toISOString() :
849
- lastRetrieved;
850
- }
851
-
852
-
853
-
854
- setSearchParams(localVarUrlObj, localVarQueryParameter);
855
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
856
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
857
-
858
- return {
859
- url: toPathString(localVarUrlObj),
860
- options: localVarRequestOptions,
861
- };
862
- },
863
- /**
864
- *
865
- * @summary Get all Doctors.
866
- * @param {string} [hospitalId]
867
- * @param {string} [hospitalName]
868
- * @param {Array<string>} [ids]
869
- * @param {string} [specialtyId]
870
- * @param {boolean} [consultationEnabled]
871
- * @param {string} [languageCode]
872
- * @param {string} [id]
873
- * @param {string} [fullname]
874
- * @param {string} [email]
875
- * @param {Gender} [gender]
876
- * @param {Date} [dateOfBirth]
877
- * @param {Date} [created]
878
- * @param {number} [page]
879
- * @param {number} [limit]
880
- * @param {Date} [lastRetrieved]
881
- * @param {*} [options] Override http request option.
882
- * @throws {RequiredError}
883
- */
884
- apiV2DoctorsSimpleGet: async (hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
885
- const localVarPath = `/api/v2/doctors/simple`;
886
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
887
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
888
- let baseOptions;
889
- if (configuration) {
890
- baseOptions = configuration.baseOptions;
891
- }
892
-
893
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
894
- const localVarHeaderParameter = {} as any;
895
- const localVarQueryParameter = {} as any;
896
-
897
- if (hospitalId !== undefined) {
898
- localVarQueryParameter['HospitalId'] = hospitalId;
899
- }
900
-
901
- if (hospitalName !== undefined) {
902
- localVarQueryParameter['HospitalName'] = hospitalName;
903
- }
904
-
905
- if (ids) {
906
- localVarQueryParameter['Ids'] = ids;
907
- }
908
-
909
- if (specialtyId !== undefined) {
910
- localVarQueryParameter['SpecialtyId'] = specialtyId;
911
- }
912
-
913
- if (consultationEnabled !== undefined) {
914
- localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
915
- }
916
-
917
- if (languageCode !== undefined) {
918
- localVarQueryParameter['LanguageCode'] = languageCode;
919
- }
920
-
921
- if (id !== undefined) {
922
- localVarQueryParameter['Id'] = id;
923
- }
924
-
925
- if (fullname !== undefined) {
926
- localVarQueryParameter['Fullname'] = fullname;
927
- }
928
-
929
- if (email !== undefined) {
930
- localVarQueryParameter['Email'] = email;
931
- }
932
-
933
- if (gender !== undefined) {
934
- localVarQueryParameter['Gender'] = gender;
935
- }
936
-
937
- if (dateOfBirth !== undefined) {
938
- localVarQueryParameter['DateOfBirth'] = (dateOfBirth as any instanceof Date) ?
939
- (dateOfBirth as any).toISOString() :
940
- dateOfBirth;
941
- }
942
-
943
- if (created !== undefined) {
944
- localVarQueryParameter['Created'] = (created as any instanceof Date) ?
945
- (created as any).toISOString() :
946
- created;
947
- }
948
-
949
- if (page !== undefined) {
950
- localVarQueryParameter['page'] = page;
951
- }
952
-
953
- if (limit !== undefined) {
954
- localVarQueryParameter['limit'] = limit;
955
- }
956
-
957
- if (lastRetrieved !== undefined) {
958
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
959
- (lastRetrieved as any).toISOString() :
960
- lastRetrieved;
961
- }
962
-
963
-
964
-
965
- setSearchParams(localVarUrlObj, localVarQueryParameter);
966
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
967
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
968
-
969
- return {
970
- url: toPathString(localVarUrlObj),
971
- options: localVarRequestOptions,
972
- };
973
- },
974
- }
975
- };
976
-
977
- /**
978
- * DoctorsApi - functional programming interface
979
- * @export
980
- */
981
- export const DoctorsApiFp = function(configuration?: Configuration) {
982
- const localVarAxiosParamCreator = DoctorsApiAxiosParamCreator(configuration)
983
- return {
984
- /**
985
- *
986
- * @summary Get DoctorCertificate.
987
- * @param {string} doctorId
988
- * @param {string} certificateId
989
- * @param {*} [options] Override http request option.
990
- * @throws {RequiredError}
991
- */
992
- async apiV2DoctorsDoctorIdCertificatesCertificateIdGet(doctorId: string, certificateId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorCertificateModel>> {
993
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdCertificatesCertificateIdGet(doctorId, certificateId, options);
994
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
995
- },
996
- /**
997
- *
998
- * @summary Get All DoctorCertificate.
999
- * @param {string} doctorId
1000
- * @param {string} [doctorName]
1001
- * @param {string} [certificateId]
1002
- * @param {string} [certificate]
1003
- * @param {Date} [activeFrom]
1004
- * @param {Date} [activeTo]
1005
- * @param {number} [page]
1006
- * @param {number} [limit]
1007
- * @param {Date} [lastRetrieved]
1008
- * @param {*} [options] Override http request option.
1009
- * @throws {RequiredError}
1010
- */
1011
- async apiV2DoctorsDoctorIdCertificatesGet(doctorId: string, doctorName?: string, certificateId?: string, certificate?: string, activeFrom?: Date, activeTo?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorCertificatesModel>> {
1012
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdCertificatesGet(doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options);
1013
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1014
- },
1015
- /**
1016
- *
1017
- * @summary Get DoctorEducation.
1018
- * @param {string} doctorId
1019
- * @param {string} educationId
1020
- * @param {*} [options] Override http request option.
1021
- * @throws {RequiredError}
1022
- */
1023
- async apiV2DoctorsDoctorIdEducationsEducationIdGet(doctorId: string, educationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorEducationModel>> {
1024
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdEducationsEducationIdGet(doctorId, educationId, options);
1025
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1026
- },
1027
- /**
1028
- *
1029
- * @summary Get all DoctorEducations.
1030
- * @param {string} doctorId
1031
- * @param {string} [doctorName]
1032
- * @param {string} [educationId]
1033
- * @param {string} [institution]
1034
- * @param {string} [qualification]
1035
- * @param {Date} [graduationDate]
1036
- * @param {number} [page]
1037
- * @param {number} [limit]
1038
- * @param {Date} [lastRetrieved]
1039
- * @param {*} [options] Override http request option.
1040
- * @throws {RequiredError}
1041
- */
1042
- async apiV2DoctorsDoctorIdEducationsGet(doctorId: string, doctorName?: string, educationId?: string, institution?: string, qualification?: string, graduationDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorEducationsModel>> {
1043
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdEducationsGet(doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options);
1044
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1045
- },
1046
- /**
1047
- *
1048
- * @summary
1049
- * @param {string} doctorId
1050
- * @param {string} [languageCode]
1051
- * @param {boolean} [returnDefaultValue]
1052
- * @param {*} [options] Override http request option.
1053
- * @throws {RequiredError}
1054
- */
1055
- async apiV2DoctorsDoctorIdGet(doctorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorModel>> {
1056
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options);
1057
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1058
- },
1059
- /**
1060
- *
1061
- * @summary Get all DoctorLanguages.
1062
- * @param {string} doctorId
1063
- * @param {string} [languageCode]
1064
- * @param {number} [page]
1065
- * @param {number} [limit]
1066
- * @param {Date} [lastRetrieved]
1067
- * @param {*} [options] Override http request option.
1068
- * @throws {RequiredError}
1069
- */
1070
- async apiV2DoctorsDoctorIdLanguagesGet(doctorId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguagesModel>> {
1071
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdLanguagesGet(doctorId, languageCode, page, limit, lastRetrieved, options);
1072
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1073
- },
1074
- /**
1075
- *
1076
- * @summary Get DoctorLanguage.
1077
- * @param {string} doctorId
1078
- * @param {string} languageCode
1079
- * @param {*} [options] Override http request option.
1080
- * @throws {RequiredError}
1081
- */
1082
- async apiV2DoctorsDoctorIdLanguagesLanguageCodeGet(doctorId: string, languageCode: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorLanguageModel>> {
1083
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdLanguagesLanguageCodeGet(doctorId, languageCode, options);
1084
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1085
- },
1086
- /**
1087
- *
1088
- * @summary Get all DoctorMedias.
1089
- * @param {string} doctorId
1090
- * @param {string} [id]
1091
- * @param {MediaType} [mediaType]
1092
- * @param {number} [page]
1093
- * @param {number} [limit]
1094
- * @param {Date} [lastRetrieved]
1095
- * @param {*} [options] Override http request option.
1096
- * @throws {RequiredError}
1097
- */
1098
- async apiV2DoctorsDoctorIdMediasGet(doctorId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediasModel>> {
1099
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdMediasGet(doctorId, id, mediaType, page, limit, lastRetrieved, options);
1100
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1101
- },
1102
- /**
1103
- *
1104
- * @summary Get DoctorMedia.
1105
- * @param {string} doctorId
1106
- * @param {string} mediaId
1107
- * @param {*} [options] Override http request option.
1108
- * @throws {RequiredError}
1109
- */
1110
- async apiV2DoctorsDoctorIdMediasMediaIdGet(doctorId: string, mediaId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MediaModel>> {
1111
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdMediasMediaIdGet(doctorId, mediaId, options);
1112
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1113
- },
1114
- /**
1115
- *
1116
- * @summary Get All DoctorPortfolios
1117
- * @param {string} doctorId
1118
- * @param {string} [doctorName]
1119
- * @param {string} [portfolioId]
1120
- * @param {string} [name]
1121
- * @param {number} [page]
1122
- * @param {number} [limit]
1123
- * @param {Date} [lastRetrieved]
1124
- * @param {*} [options] Override http request option.
1125
- * @throws {RequiredError}
1126
- */
1127
- async apiV2DoctorsDoctorIdPortfoliosGet(doctorId: string, doctorName?: string, portfolioId?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorPortfoliosModel>> {
1128
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdPortfoliosGet(doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options);
1129
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1130
- },
1131
- /**
1132
- *
1133
- * @summary Get DoctorPortfolio.
1134
- * @param {string} doctorId
1135
- * @param {string} portfolioId
1136
- * @param {*} [options] Override http request option.
1137
- * @throws {RequiredError}
1138
- */
1139
- async apiV2DoctorsDoctorIdPortfoliosPortfolioIdGet(doctorId: string, portfolioId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorPortfolioModel>> {
1140
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdPortfoliosPortfolioIdGet(doctorId, portfolioId, options);
1141
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1142
- },
1143
- /**
1144
- *
1145
- * @summary Get All DoctorSpecialties.
1146
- * @param {string} doctorId
1147
- * @param {string} [doctorName]
1148
- * @param {string} [specialtyId]
1149
- * @param {string} [specialtyName]
1150
- * @param {string} [languageCode]
1151
- * @param {number} [page]
1152
- * @param {number} [limit]
1153
- * @param {Date} [lastRetrieved]
1154
- * @param {*} [options] Override http request option.
1155
- * @throws {RequiredError}
1156
- */
1157
- async apiV2DoctorsDoctorIdSpecialtiesGet(doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorSpecialtiesModel>> {
1158
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options);
1159
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1160
- },
1161
- /**
1162
- *
1163
- * @summary Get DoctorSpecialty
1164
- * @param {string} doctorId
1165
- * @param {string} specialtyId
1166
- * @param {string} [languageCode]
1167
- * @param {*} [options] Override http request option.
1168
- * @throws {RequiredError}
1169
- */
1170
- async apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet(doctorId: string, specialtyId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorSpecialtyModel>> {
1171
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet(doctorId, specialtyId, languageCode, options);
1172
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1173
- },
1174
- /**
1175
- *
1176
- * @summary Get all Doctors.
1177
- * @param {string} [hospitalId]
1178
- * @param {string} [hospitalName]
1179
- * @param {Array<string>} [ids]
1180
- * @param {string} [specialtyId]
1181
- * @param {boolean} [consultationEnabled]
1182
- * @param {string} [languageCode]
1183
- * @param {string} [id]
1184
- * @param {string} [fullname]
1185
- * @param {string} [email]
1186
- * @param {Gender} [gender]
1187
- * @param {Date} [dateOfBirth]
1188
- * @param {Date} [created]
1189
- * @param {number} [page]
1190
- * @param {number} [limit]
1191
- * @param {Date} [lastRetrieved]
1192
- * @param {*} [options] Override http request option.
1193
- * @throws {RequiredError}
1194
- */
1195
- async apiV2DoctorsGet(hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsModel>> {
1196
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options);
1197
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1198
- },
1199
- /**
1200
- *
1201
- * @summary Get all Doctors.
1202
- * @param {string} [hospitalId]
1203
- * @param {string} [hospitalName]
1204
- * @param {Array<string>} [ids]
1205
- * @param {string} [specialtyId]
1206
- * @param {boolean} [consultationEnabled]
1207
- * @param {string} [languageCode]
1208
- * @param {string} [id]
1209
- * @param {string} [fullname]
1210
- * @param {string} [email]
1211
- * @param {Gender} [gender]
1212
- * @param {Date} [dateOfBirth]
1213
- * @param {Date} [created]
1214
- * @param {number} [page]
1215
- * @param {number} [limit]
1216
- * @param {Date} [lastRetrieved]
1217
- * @param {*} [options] Override http request option.
1218
- * @throws {RequiredError}
1219
- */
1220
- async apiV2DoctorsSimpleGet(hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DoctorsSimpleModel>> {
1221
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options);
1222
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1223
- },
1224
- }
1225
- };
1226
-
1227
- /**
1228
- * DoctorsApi - factory interface
1229
- * @export
1230
- */
1231
- export const DoctorsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
1232
- const localVarFp = DoctorsApiFp(configuration)
1233
- return {
1234
- /**
1235
- *
1236
- * @summary Get DoctorCertificate.
1237
- * @param {string} doctorId
1238
- * @param {string} certificateId
1239
- * @param {*} [options] Override http request option.
1240
- * @throws {RequiredError}
1241
- */
1242
- apiV2DoctorsDoctorIdCertificatesCertificateIdGet(doctorId: string, certificateId: string, options?: any): AxiosPromise<DoctorCertificateModel> {
1243
- return localVarFp.apiV2DoctorsDoctorIdCertificatesCertificateIdGet(doctorId, certificateId, options).then((request) => request(axios, basePath));
1244
- },
1245
- /**
1246
- *
1247
- * @summary Get All DoctorCertificate.
1248
- * @param {string} doctorId
1249
- * @param {string} [doctorName]
1250
- * @param {string} [certificateId]
1251
- * @param {string} [certificate]
1252
- * @param {Date} [activeFrom]
1253
- * @param {Date} [activeTo]
1254
- * @param {number} [page]
1255
- * @param {number} [limit]
1256
- * @param {Date} [lastRetrieved]
1257
- * @param {*} [options] Override http request option.
1258
- * @throws {RequiredError}
1259
- */
1260
- apiV2DoctorsDoctorIdCertificatesGet(doctorId: string, doctorName?: string, certificateId?: string, certificate?: string, activeFrom?: Date, activeTo?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorCertificatesModel> {
1261
- return localVarFp.apiV2DoctorsDoctorIdCertificatesGet(doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
1262
- },
1263
- /**
1264
- *
1265
- * @summary Get DoctorEducation.
1266
- * @param {string} doctorId
1267
- * @param {string} educationId
1268
- * @param {*} [options] Override http request option.
1269
- * @throws {RequiredError}
1270
- */
1271
- apiV2DoctorsDoctorIdEducationsEducationIdGet(doctorId: string, educationId: string, options?: any): AxiosPromise<DoctorEducationModel> {
1272
- return localVarFp.apiV2DoctorsDoctorIdEducationsEducationIdGet(doctorId, educationId, options).then((request) => request(axios, basePath));
1273
- },
1274
- /**
1275
- *
1276
- * @summary Get all DoctorEducations.
1277
- * @param {string} doctorId
1278
- * @param {string} [doctorName]
1279
- * @param {string} [educationId]
1280
- * @param {string} [institution]
1281
- * @param {string} [qualification]
1282
- * @param {Date} [graduationDate]
1283
- * @param {number} [page]
1284
- * @param {number} [limit]
1285
- * @param {Date} [lastRetrieved]
1286
- * @param {*} [options] Override http request option.
1287
- * @throws {RequiredError}
1288
- */
1289
- apiV2DoctorsDoctorIdEducationsGet(doctorId: string, doctorName?: string, educationId?: string, institution?: string, qualification?: string, graduationDate?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorEducationsModel> {
1290
- return localVarFp.apiV2DoctorsDoctorIdEducationsGet(doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
1291
- },
1292
- /**
1293
- *
1294
- * @summary
1295
- * @param {string} doctorId
1296
- * @param {string} [languageCode]
1297
- * @param {boolean} [returnDefaultValue]
1298
- * @param {*} [options] Override http request option.
1299
- * @throws {RequiredError}
1300
- */
1301
- apiV2DoctorsDoctorIdGet(doctorId: string, languageCode?: string, returnDefaultValue?: boolean, options?: any): AxiosPromise<DoctorModel> {
1302
- return localVarFp.apiV2DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then((request) => request(axios, basePath));
1303
- },
1304
- /**
1305
- *
1306
- * @summary Get all DoctorLanguages.
1307
- * @param {string} doctorId
1308
- * @param {string} [languageCode]
1309
- * @param {number} [page]
1310
- * @param {number} [limit]
1311
- * @param {Date} [lastRetrieved]
1312
- * @param {*} [options] Override http request option.
1313
- * @throws {RequiredError}
1314
- */
1315
- apiV2DoctorsDoctorIdLanguagesGet(doctorId: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorLanguagesModel> {
1316
- return localVarFp.apiV2DoctorsDoctorIdLanguagesGet(doctorId, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
1317
- },
1318
- /**
1319
- *
1320
- * @summary Get DoctorLanguage.
1321
- * @param {string} doctorId
1322
- * @param {string} languageCode
1323
- * @param {*} [options] Override http request option.
1324
- * @throws {RequiredError}
1325
- */
1326
- apiV2DoctorsDoctorIdLanguagesLanguageCodeGet(doctorId: string, languageCode: string, options?: any): AxiosPromise<DoctorLanguageModel> {
1327
- return localVarFp.apiV2DoctorsDoctorIdLanguagesLanguageCodeGet(doctorId, languageCode, options).then((request) => request(axios, basePath));
1328
- },
1329
- /**
1330
- *
1331
- * @summary Get all DoctorMedias.
1332
- * @param {string} doctorId
1333
- * @param {string} [id]
1334
- * @param {MediaType} [mediaType]
1335
- * @param {number} [page]
1336
- * @param {number} [limit]
1337
- * @param {Date} [lastRetrieved]
1338
- * @param {*} [options] Override http request option.
1339
- * @throws {RequiredError}
1340
- */
1341
- apiV2DoctorsDoctorIdMediasGet(doctorId: string, id?: string, mediaType?: MediaType, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<MediasModel> {
1342
- return localVarFp.apiV2DoctorsDoctorIdMediasGet(doctorId, id, mediaType, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
1343
- },
1344
- /**
1345
- *
1346
- * @summary Get DoctorMedia.
1347
- * @param {string} doctorId
1348
- * @param {string} mediaId
1349
- * @param {*} [options] Override http request option.
1350
- * @throws {RequiredError}
1351
- */
1352
- apiV2DoctorsDoctorIdMediasMediaIdGet(doctorId: string, mediaId: string, options?: any): AxiosPromise<MediaModel> {
1353
- return localVarFp.apiV2DoctorsDoctorIdMediasMediaIdGet(doctorId, mediaId, options).then((request) => request(axios, basePath));
1354
- },
1355
- /**
1356
- *
1357
- * @summary Get All DoctorPortfolios
1358
- * @param {string} doctorId
1359
- * @param {string} [doctorName]
1360
- * @param {string} [portfolioId]
1361
- * @param {string} [name]
1362
- * @param {number} [page]
1363
- * @param {number} [limit]
1364
- * @param {Date} [lastRetrieved]
1365
- * @param {*} [options] Override http request option.
1366
- * @throws {RequiredError}
1367
- */
1368
- apiV2DoctorsDoctorIdPortfoliosGet(doctorId: string, doctorName?: string, portfolioId?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorPortfoliosModel> {
1369
- return localVarFp.apiV2DoctorsDoctorIdPortfoliosGet(doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
1370
- },
1371
- /**
1372
- *
1373
- * @summary Get DoctorPortfolio.
1374
- * @param {string} doctorId
1375
- * @param {string} portfolioId
1376
- * @param {*} [options] Override http request option.
1377
- * @throws {RequiredError}
1378
- */
1379
- apiV2DoctorsDoctorIdPortfoliosPortfolioIdGet(doctorId: string, portfolioId: string, options?: any): AxiosPromise<DoctorPortfolioModel> {
1380
- return localVarFp.apiV2DoctorsDoctorIdPortfoliosPortfolioIdGet(doctorId, portfolioId, options).then((request) => request(axios, basePath));
1381
- },
1382
- /**
1383
- *
1384
- * @summary Get All DoctorSpecialties.
1385
- * @param {string} doctorId
1386
- * @param {string} [doctorName]
1387
- * @param {string} [specialtyId]
1388
- * @param {string} [specialtyName]
1389
- * @param {string} [languageCode]
1390
- * @param {number} [page]
1391
- * @param {number} [limit]
1392
- * @param {Date} [lastRetrieved]
1393
- * @param {*} [options] Override http request option.
1394
- * @throws {RequiredError}
1395
- */
1396
- apiV2DoctorsDoctorIdSpecialtiesGet(doctorId: string, doctorName?: string, specialtyId?: string, specialtyName?: string, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorSpecialtiesModel> {
1397
- return localVarFp.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
1398
- },
1399
- /**
1400
- *
1401
- * @summary Get DoctorSpecialty
1402
- * @param {string} doctorId
1403
- * @param {string} specialtyId
1404
- * @param {string} [languageCode]
1405
- * @param {*} [options] Override http request option.
1406
- * @throws {RequiredError}
1407
- */
1408
- apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet(doctorId: string, specialtyId: string, languageCode?: string, options?: any): AxiosPromise<DoctorSpecialtyModel> {
1409
- return localVarFp.apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet(doctorId, specialtyId, languageCode, options).then((request) => request(axios, basePath));
1410
- },
1411
- /**
1412
- *
1413
- * @summary Get all Doctors.
1414
- * @param {string} [hospitalId]
1415
- * @param {string} [hospitalName]
1416
- * @param {Array<string>} [ids]
1417
- * @param {string} [specialtyId]
1418
- * @param {boolean} [consultationEnabled]
1419
- * @param {string} [languageCode]
1420
- * @param {string} [id]
1421
- * @param {string} [fullname]
1422
- * @param {string} [email]
1423
- * @param {Gender} [gender]
1424
- * @param {Date} [dateOfBirth]
1425
- * @param {Date} [created]
1426
- * @param {number} [page]
1427
- * @param {number} [limit]
1428
- * @param {Date} [lastRetrieved]
1429
- * @param {*} [options] Override http request option.
1430
- * @throws {RequiredError}
1431
- */
1432
- apiV2DoctorsGet(hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsModel> {
1433
- return localVarFp.apiV2DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
1434
- },
1435
- /**
1436
- *
1437
- * @summary Get all Doctors.
1438
- * @param {string} [hospitalId]
1439
- * @param {string} [hospitalName]
1440
- * @param {Array<string>} [ids]
1441
- * @param {string} [specialtyId]
1442
- * @param {boolean} [consultationEnabled]
1443
- * @param {string} [languageCode]
1444
- * @param {string} [id]
1445
- * @param {string} [fullname]
1446
- * @param {string} [email]
1447
- * @param {Gender} [gender]
1448
- * @param {Date} [dateOfBirth]
1449
- * @param {Date} [created]
1450
- * @param {number} [page]
1451
- * @param {number} [limit]
1452
- * @param {Date} [lastRetrieved]
1453
- * @param {*} [options] Override http request option.
1454
- * @throws {RequiredError}
1455
- */
1456
- apiV2DoctorsSimpleGet(hospitalId?: string, hospitalName?: string, ids?: Array<string>, specialtyId?: string, consultationEnabled?: boolean, languageCode?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<DoctorsSimpleModel> {
1457
- return localVarFp.apiV2DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
1458
- },
1459
- };
1460
- };
1461
-
1462
- /**
1463
- * Request parameters for apiV2DoctorsDoctorIdCertificatesCertificateIdGet operation in DoctorsApi.
1464
- * @export
1465
- * @interface DoctorsApiApiV2DoctorsDoctorIdCertificatesCertificateIdGetRequest
1466
- */
1467
- export interface DoctorsApiApiV2DoctorsDoctorIdCertificatesCertificateIdGetRequest {
1468
- /**
1469
- *
1470
- * @type {string}
1471
- * @memberof DoctorsApiApiV2DoctorsDoctorIdCertificatesCertificateIdGet
1472
- */
1473
- readonly doctorId: string
1474
-
1475
- /**
1476
- *
1477
- * @type {string}
1478
- * @memberof DoctorsApiApiV2DoctorsDoctorIdCertificatesCertificateIdGet
1479
- */
1480
- readonly certificateId: string
1481
- }
1482
-
1483
- /**
1484
- * Request parameters for apiV2DoctorsDoctorIdCertificatesGet operation in DoctorsApi.
1485
- * @export
1486
- * @interface DoctorsApiApiV2DoctorsDoctorIdCertificatesGetRequest
1487
- */
1488
- export interface DoctorsApiApiV2DoctorsDoctorIdCertificatesGetRequest {
1489
- /**
1490
- *
1491
- * @type {string}
1492
- * @memberof DoctorsApiApiV2DoctorsDoctorIdCertificatesGet
1493
- */
1494
- readonly doctorId: string
1495
-
1496
- /**
1497
- *
1498
- * @type {string}
1499
- * @memberof DoctorsApiApiV2DoctorsDoctorIdCertificatesGet
1500
- */
1501
- readonly doctorName?: string
1502
-
1503
- /**
1504
- *
1505
- * @type {string}
1506
- * @memberof DoctorsApiApiV2DoctorsDoctorIdCertificatesGet
1507
- */
1508
- readonly certificateId?: string
1509
-
1510
- /**
1511
- *
1512
- * @type {string}
1513
- * @memberof DoctorsApiApiV2DoctorsDoctorIdCertificatesGet
1514
- */
1515
- readonly certificate?: string
1516
-
1517
- /**
1518
- *
1519
- * @type {Date}
1520
- * @memberof DoctorsApiApiV2DoctorsDoctorIdCertificatesGet
1521
- */
1522
- readonly activeFrom?: Date
1523
-
1524
- /**
1525
- *
1526
- * @type {Date}
1527
- * @memberof DoctorsApiApiV2DoctorsDoctorIdCertificatesGet
1528
- */
1529
- readonly activeTo?: Date
1530
-
1531
- /**
1532
- *
1533
- * @type {number}
1534
- * @memberof DoctorsApiApiV2DoctorsDoctorIdCertificatesGet
1535
- */
1536
- readonly page?: number
1537
-
1538
- /**
1539
- *
1540
- * @type {number}
1541
- * @memberof DoctorsApiApiV2DoctorsDoctorIdCertificatesGet
1542
- */
1543
- readonly limit?: number
1544
-
1545
- /**
1546
- *
1547
- * @type {Date}
1548
- * @memberof DoctorsApiApiV2DoctorsDoctorIdCertificatesGet
1549
- */
1550
- readonly lastRetrieved?: Date
1551
- }
1552
-
1553
- /**
1554
- * Request parameters for apiV2DoctorsDoctorIdEducationsEducationIdGet operation in DoctorsApi.
1555
- * @export
1556
- * @interface DoctorsApiApiV2DoctorsDoctorIdEducationsEducationIdGetRequest
1557
- */
1558
- export interface DoctorsApiApiV2DoctorsDoctorIdEducationsEducationIdGetRequest {
1559
- /**
1560
- *
1561
- * @type {string}
1562
- * @memberof DoctorsApiApiV2DoctorsDoctorIdEducationsEducationIdGet
1563
- */
1564
- readonly doctorId: string
1565
-
1566
- /**
1567
- *
1568
- * @type {string}
1569
- * @memberof DoctorsApiApiV2DoctorsDoctorIdEducationsEducationIdGet
1570
- */
1571
- readonly educationId: string
1572
- }
1573
-
1574
- /**
1575
- * Request parameters for apiV2DoctorsDoctorIdEducationsGet operation in DoctorsApi.
1576
- * @export
1577
- * @interface DoctorsApiApiV2DoctorsDoctorIdEducationsGetRequest
1578
- */
1579
- export interface DoctorsApiApiV2DoctorsDoctorIdEducationsGetRequest {
1580
- /**
1581
- *
1582
- * @type {string}
1583
- * @memberof DoctorsApiApiV2DoctorsDoctorIdEducationsGet
1584
- */
1585
- readonly doctorId: string
1586
-
1587
- /**
1588
- *
1589
- * @type {string}
1590
- * @memberof DoctorsApiApiV2DoctorsDoctorIdEducationsGet
1591
- */
1592
- readonly doctorName?: string
1593
-
1594
- /**
1595
- *
1596
- * @type {string}
1597
- * @memberof DoctorsApiApiV2DoctorsDoctorIdEducationsGet
1598
- */
1599
- readonly educationId?: string
1600
-
1601
- /**
1602
- *
1603
- * @type {string}
1604
- * @memberof DoctorsApiApiV2DoctorsDoctorIdEducationsGet
1605
- */
1606
- readonly institution?: string
1607
-
1608
- /**
1609
- *
1610
- * @type {string}
1611
- * @memberof DoctorsApiApiV2DoctorsDoctorIdEducationsGet
1612
- */
1613
- readonly qualification?: string
1614
-
1615
- /**
1616
- *
1617
- * @type {Date}
1618
- * @memberof DoctorsApiApiV2DoctorsDoctorIdEducationsGet
1619
- */
1620
- readonly graduationDate?: Date
1621
-
1622
- /**
1623
- *
1624
- * @type {number}
1625
- * @memberof DoctorsApiApiV2DoctorsDoctorIdEducationsGet
1626
- */
1627
- readonly page?: number
1628
-
1629
- /**
1630
- *
1631
- * @type {number}
1632
- * @memberof DoctorsApiApiV2DoctorsDoctorIdEducationsGet
1633
- */
1634
- readonly limit?: number
1635
-
1636
- /**
1637
- *
1638
- * @type {Date}
1639
- * @memberof DoctorsApiApiV2DoctorsDoctorIdEducationsGet
1640
- */
1641
- readonly lastRetrieved?: Date
1642
- }
1643
-
1644
- /**
1645
- * Request parameters for apiV2DoctorsDoctorIdGet operation in DoctorsApi.
1646
- * @export
1647
- * @interface DoctorsApiApiV2DoctorsDoctorIdGetRequest
1648
- */
1649
- export interface DoctorsApiApiV2DoctorsDoctorIdGetRequest {
1650
- /**
1651
- *
1652
- * @type {string}
1653
- * @memberof DoctorsApiApiV2DoctorsDoctorIdGet
1654
- */
1655
- readonly doctorId: string
1656
-
1657
- /**
1658
- *
1659
- * @type {string}
1660
- * @memberof DoctorsApiApiV2DoctorsDoctorIdGet
1661
- */
1662
- readonly languageCode?: string
1663
-
1664
- /**
1665
- *
1666
- * @type {boolean}
1667
- * @memberof DoctorsApiApiV2DoctorsDoctorIdGet
1668
- */
1669
- readonly returnDefaultValue?: boolean
1670
- }
1671
-
1672
- /**
1673
- * Request parameters for apiV2DoctorsDoctorIdLanguagesGet operation in DoctorsApi.
1674
- * @export
1675
- * @interface DoctorsApiApiV2DoctorsDoctorIdLanguagesGetRequest
1676
- */
1677
- export interface DoctorsApiApiV2DoctorsDoctorIdLanguagesGetRequest {
1678
- /**
1679
- *
1680
- * @type {string}
1681
- * @memberof DoctorsApiApiV2DoctorsDoctorIdLanguagesGet
1682
- */
1683
- readonly doctorId: string
1684
-
1685
- /**
1686
- *
1687
- * @type {string}
1688
- * @memberof DoctorsApiApiV2DoctorsDoctorIdLanguagesGet
1689
- */
1690
- readonly languageCode?: string
1691
-
1692
- /**
1693
- *
1694
- * @type {number}
1695
- * @memberof DoctorsApiApiV2DoctorsDoctorIdLanguagesGet
1696
- */
1697
- readonly page?: number
1698
-
1699
- /**
1700
- *
1701
- * @type {number}
1702
- * @memberof DoctorsApiApiV2DoctorsDoctorIdLanguagesGet
1703
- */
1704
- readonly limit?: number
1705
-
1706
- /**
1707
- *
1708
- * @type {Date}
1709
- * @memberof DoctorsApiApiV2DoctorsDoctorIdLanguagesGet
1710
- */
1711
- readonly lastRetrieved?: Date
1712
- }
1713
-
1714
- /**
1715
- * Request parameters for apiV2DoctorsDoctorIdLanguagesLanguageCodeGet operation in DoctorsApi.
1716
- * @export
1717
- * @interface DoctorsApiApiV2DoctorsDoctorIdLanguagesLanguageCodeGetRequest
1718
- */
1719
- export interface DoctorsApiApiV2DoctorsDoctorIdLanguagesLanguageCodeGetRequest {
1720
- /**
1721
- *
1722
- * @type {string}
1723
- * @memberof DoctorsApiApiV2DoctorsDoctorIdLanguagesLanguageCodeGet
1724
- */
1725
- readonly doctorId: string
1726
-
1727
- /**
1728
- *
1729
- * @type {string}
1730
- * @memberof DoctorsApiApiV2DoctorsDoctorIdLanguagesLanguageCodeGet
1731
- */
1732
- readonly languageCode: string
1733
- }
1734
-
1735
- /**
1736
- * Request parameters for apiV2DoctorsDoctorIdMediasGet operation in DoctorsApi.
1737
- * @export
1738
- * @interface DoctorsApiApiV2DoctorsDoctorIdMediasGetRequest
1739
- */
1740
- export interface DoctorsApiApiV2DoctorsDoctorIdMediasGetRequest {
1741
- /**
1742
- *
1743
- * @type {string}
1744
- * @memberof DoctorsApiApiV2DoctorsDoctorIdMediasGet
1745
- */
1746
- readonly doctorId: string
1747
-
1748
- /**
1749
- *
1750
- * @type {string}
1751
- * @memberof DoctorsApiApiV2DoctorsDoctorIdMediasGet
1752
- */
1753
- readonly id?: string
1754
-
1755
- /**
1756
- *
1757
- * @type {MediaType}
1758
- * @memberof DoctorsApiApiV2DoctorsDoctorIdMediasGet
1759
- */
1760
- readonly mediaType?: MediaType
1761
-
1762
- /**
1763
- *
1764
- * @type {number}
1765
- * @memberof DoctorsApiApiV2DoctorsDoctorIdMediasGet
1766
- */
1767
- readonly page?: number
1768
-
1769
- /**
1770
- *
1771
- * @type {number}
1772
- * @memberof DoctorsApiApiV2DoctorsDoctorIdMediasGet
1773
- */
1774
- readonly limit?: number
1775
-
1776
- /**
1777
- *
1778
- * @type {Date}
1779
- * @memberof DoctorsApiApiV2DoctorsDoctorIdMediasGet
1780
- */
1781
- readonly lastRetrieved?: Date
1782
- }
1783
-
1784
- /**
1785
- * Request parameters for apiV2DoctorsDoctorIdMediasMediaIdGet operation in DoctorsApi.
1786
- * @export
1787
- * @interface DoctorsApiApiV2DoctorsDoctorIdMediasMediaIdGetRequest
1788
- */
1789
- export interface DoctorsApiApiV2DoctorsDoctorIdMediasMediaIdGetRequest {
1790
- /**
1791
- *
1792
- * @type {string}
1793
- * @memberof DoctorsApiApiV2DoctorsDoctorIdMediasMediaIdGet
1794
- */
1795
- readonly doctorId: string
1796
-
1797
- /**
1798
- *
1799
- * @type {string}
1800
- * @memberof DoctorsApiApiV2DoctorsDoctorIdMediasMediaIdGet
1801
- */
1802
- readonly mediaId: string
1803
- }
1804
-
1805
- /**
1806
- * Request parameters for apiV2DoctorsDoctorIdPortfoliosGet operation in DoctorsApi.
1807
- * @export
1808
- * @interface DoctorsApiApiV2DoctorsDoctorIdPortfoliosGetRequest
1809
- */
1810
- export interface DoctorsApiApiV2DoctorsDoctorIdPortfoliosGetRequest {
1811
- /**
1812
- *
1813
- * @type {string}
1814
- * @memberof DoctorsApiApiV2DoctorsDoctorIdPortfoliosGet
1815
- */
1816
- readonly doctorId: string
1817
-
1818
- /**
1819
- *
1820
- * @type {string}
1821
- * @memberof DoctorsApiApiV2DoctorsDoctorIdPortfoliosGet
1822
- */
1823
- readonly doctorName?: string
1824
-
1825
- /**
1826
- *
1827
- * @type {string}
1828
- * @memberof DoctorsApiApiV2DoctorsDoctorIdPortfoliosGet
1829
- */
1830
- readonly portfolioId?: string
1831
-
1832
- /**
1833
- *
1834
- * @type {string}
1835
- * @memberof DoctorsApiApiV2DoctorsDoctorIdPortfoliosGet
1836
- */
1837
- readonly name?: string
1838
-
1839
- /**
1840
- *
1841
- * @type {number}
1842
- * @memberof DoctorsApiApiV2DoctorsDoctorIdPortfoliosGet
1843
- */
1844
- readonly page?: number
1845
-
1846
- /**
1847
- *
1848
- * @type {number}
1849
- * @memberof DoctorsApiApiV2DoctorsDoctorIdPortfoliosGet
1850
- */
1851
- readonly limit?: number
1852
-
1853
- /**
1854
- *
1855
- * @type {Date}
1856
- * @memberof DoctorsApiApiV2DoctorsDoctorIdPortfoliosGet
1857
- */
1858
- readonly lastRetrieved?: Date
1859
- }
1860
-
1861
- /**
1862
- * Request parameters for apiV2DoctorsDoctorIdPortfoliosPortfolioIdGet operation in DoctorsApi.
1863
- * @export
1864
- * @interface DoctorsApiApiV2DoctorsDoctorIdPortfoliosPortfolioIdGetRequest
1865
- */
1866
- export interface DoctorsApiApiV2DoctorsDoctorIdPortfoliosPortfolioIdGetRequest {
1867
- /**
1868
- *
1869
- * @type {string}
1870
- * @memberof DoctorsApiApiV2DoctorsDoctorIdPortfoliosPortfolioIdGet
1871
- */
1872
- readonly doctorId: string
1873
-
1874
- /**
1875
- *
1876
- * @type {string}
1877
- * @memberof DoctorsApiApiV2DoctorsDoctorIdPortfoliosPortfolioIdGet
1878
- */
1879
- readonly portfolioId: string
1880
- }
1881
-
1882
- /**
1883
- * Request parameters for apiV2DoctorsDoctorIdSpecialtiesGet operation in DoctorsApi.
1884
- * @export
1885
- * @interface DoctorsApiApiV2DoctorsDoctorIdSpecialtiesGetRequest
1886
- */
1887
- export interface DoctorsApiApiV2DoctorsDoctorIdSpecialtiesGetRequest {
1888
- /**
1889
- *
1890
- * @type {string}
1891
- * @memberof DoctorsApiApiV2DoctorsDoctorIdSpecialtiesGet
1892
- */
1893
- readonly doctorId: string
1894
-
1895
- /**
1896
- *
1897
- * @type {string}
1898
- * @memberof DoctorsApiApiV2DoctorsDoctorIdSpecialtiesGet
1899
- */
1900
- readonly doctorName?: string
1901
-
1902
- /**
1903
- *
1904
- * @type {string}
1905
- * @memberof DoctorsApiApiV2DoctorsDoctorIdSpecialtiesGet
1906
- */
1907
- readonly specialtyId?: string
1908
-
1909
- /**
1910
- *
1911
- * @type {string}
1912
- * @memberof DoctorsApiApiV2DoctorsDoctorIdSpecialtiesGet
1913
- */
1914
- readonly specialtyName?: string
1915
-
1916
- /**
1917
- *
1918
- * @type {string}
1919
- * @memberof DoctorsApiApiV2DoctorsDoctorIdSpecialtiesGet
1920
- */
1921
- readonly languageCode?: string
1922
-
1923
- /**
1924
- *
1925
- * @type {number}
1926
- * @memberof DoctorsApiApiV2DoctorsDoctorIdSpecialtiesGet
1927
- */
1928
- readonly page?: number
1929
-
1930
- /**
1931
- *
1932
- * @type {number}
1933
- * @memberof DoctorsApiApiV2DoctorsDoctorIdSpecialtiesGet
1934
- */
1935
- readonly limit?: number
1936
-
1937
- /**
1938
- *
1939
- * @type {Date}
1940
- * @memberof DoctorsApiApiV2DoctorsDoctorIdSpecialtiesGet
1941
- */
1942
- readonly lastRetrieved?: Date
1943
- }
1944
-
1945
- /**
1946
- * Request parameters for apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet operation in DoctorsApi.
1947
- * @export
1948
- * @interface DoctorsApiApiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGetRequest
1949
- */
1950
- export interface DoctorsApiApiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGetRequest {
1951
- /**
1952
- *
1953
- * @type {string}
1954
- * @memberof DoctorsApiApiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet
1955
- */
1956
- readonly doctorId: string
1957
-
1958
- /**
1959
- *
1960
- * @type {string}
1961
- * @memberof DoctorsApiApiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet
1962
- */
1963
- readonly specialtyId: string
1964
-
1965
- /**
1966
- *
1967
- * @type {string}
1968
- * @memberof DoctorsApiApiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet
1969
- */
1970
- readonly languageCode?: string
1971
- }
1972
-
1973
- /**
1974
- * Request parameters for apiV2DoctorsGet operation in DoctorsApi.
1975
- * @export
1976
- * @interface DoctorsApiApiV2DoctorsGetRequest
1977
- */
1978
- export interface DoctorsApiApiV2DoctorsGetRequest {
1979
- /**
1980
- *
1981
- * @type {string}
1982
- * @memberof DoctorsApiApiV2DoctorsGet
1983
- */
1984
- readonly hospitalId?: string
1985
-
1986
- /**
1987
- *
1988
- * @type {string}
1989
- * @memberof DoctorsApiApiV2DoctorsGet
1990
- */
1991
- readonly hospitalName?: string
1992
-
1993
- /**
1994
- *
1995
- * @type {Array<string>}
1996
- * @memberof DoctorsApiApiV2DoctorsGet
1997
- */
1998
- readonly ids?: Array<string>
1999
-
2000
- /**
2001
- *
2002
- * @type {string}
2003
- * @memberof DoctorsApiApiV2DoctorsGet
2004
- */
2005
- readonly specialtyId?: string
2006
-
2007
- /**
2008
- *
2009
- * @type {boolean}
2010
- * @memberof DoctorsApiApiV2DoctorsGet
2011
- */
2012
- readonly consultationEnabled?: boolean
2013
-
2014
- /**
2015
- *
2016
- * @type {string}
2017
- * @memberof DoctorsApiApiV2DoctorsGet
2018
- */
2019
- readonly languageCode?: string
2020
-
2021
- /**
2022
- *
2023
- * @type {string}
2024
- * @memberof DoctorsApiApiV2DoctorsGet
2025
- */
2026
- readonly id?: string
2027
-
2028
- /**
2029
- *
2030
- * @type {string}
2031
- * @memberof DoctorsApiApiV2DoctorsGet
2032
- */
2033
- readonly fullname?: string
2034
-
2035
- /**
2036
- *
2037
- * @type {string}
2038
- * @memberof DoctorsApiApiV2DoctorsGet
2039
- */
2040
- readonly email?: string
2041
-
2042
- /**
2043
- *
2044
- * @type {Gender}
2045
- * @memberof DoctorsApiApiV2DoctorsGet
2046
- */
2047
- readonly gender?: Gender
2048
-
2049
- /**
2050
- *
2051
- * @type {Date}
2052
- * @memberof DoctorsApiApiV2DoctorsGet
2053
- */
2054
- readonly dateOfBirth?: Date
2055
-
2056
- /**
2057
- *
2058
- * @type {Date}
2059
- * @memberof DoctorsApiApiV2DoctorsGet
2060
- */
2061
- readonly created?: Date
2062
-
2063
- /**
2064
- *
2065
- * @type {number}
2066
- * @memberof DoctorsApiApiV2DoctorsGet
2067
- */
2068
- readonly page?: number
2069
-
2070
- /**
2071
- *
2072
- * @type {number}
2073
- * @memberof DoctorsApiApiV2DoctorsGet
2074
- */
2075
- readonly limit?: number
2076
-
2077
- /**
2078
- *
2079
- * @type {Date}
2080
- * @memberof DoctorsApiApiV2DoctorsGet
2081
- */
2082
- readonly lastRetrieved?: Date
2083
- }
2084
-
2085
- /**
2086
- * Request parameters for apiV2DoctorsSimpleGet operation in DoctorsApi.
2087
- * @export
2088
- * @interface DoctorsApiApiV2DoctorsSimpleGetRequest
2089
- */
2090
- export interface DoctorsApiApiV2DoctorsSimpleGetRequest {
2091
- /**
2092
- *
2093
- * @type {string}
2094
- * @memberof DoctorsApiApiV2DoctorsSimpleGet
2095
- */
2096
- readonly hospitalId?: string
2097
-
2098
- /**
2099
- *
2100
- * @type {string}
2101
- * @memberof DoctorsApiApiV2DoctorsSimpleGet
2102
- */
2103
- readonly hospitalName?: string
2104
-
2105
- /**
2106
- *
2107
- * @type {Array<string>}
2108
- * @memberof DoctorsApiApiV2DoctorsSimpleGet
2109
- */
2110
- readonly ids?: Array<string>
2111
-
2112
- /**
2113
- *
2114
- * @type {string}
2115
- * @memberof DoctorsApiApiV2DoctorsSimpleGet
2116
- */
2117
- readonly specialtyId?: string
2118
-
2119
- /**
2120
- *
2121
- * @type {boolean}
2122
- * @memberof DoctorsApiApiV2DoctorsSimpleGet
2123
- */
2124
- readonly consultationEnabled?: boolean
2125
-
2126
- /**
2127
- *
2128
- * @type {string}
2129
- * @memberof DoctorsApiApiV2DoctorsSimpleGet
2130
- */
2131
- readonly languageCode?: string
2132
-
2133
- /**
2134
- *
2135
- * @type {string}
2136
- * @memberof DoctorsApiApiV2DoctorsSimpleGet
2137
- */
2138
- readonly id?: string
2139
-
2140
- /**
2141
- *
2142
- * @type {string}
2143
- * @memberof DoctorsApiApiV2DoctorsSimpleGet
2144
- */
2145
- readonly fullname?: string
2146
-
2147
- /**
2148
- *
2149
- * @type {string}
2150
- * @memberof DoctorsApiApiV2DoctorsSimpleGet
2151
- */
2152
- readonly email?: string
2153
-
2154
- /**
2155
- *
2156
- * @type {Gender}
2157
- * @memberof DoctorsApiApiV2DoctorsSimpleGet
2158
- */
2159
- readonly gender?: Gender
2160
-
2161
- /**
2162
- *
2163
- * @type {Date}
2164
- * @memberof DoctorsApiApiV2DoctorsSimpleGet
2165
- */
2166
- readonly dateOfBirth?: Date
2167
-
2168
- /**
2169
- *
2170
- * @type {Date}
2171
- * @memberof DoctorsApiApiV2DoctorsSimpleGet
2172
- */
2173
- readonly created?: Date
2174
-
2175
- /**
2176
- *
2177
- * @type {number}
2178
- * @memberof DoctorsApiApiV2DoctorsSimpleGet
2179
- */
2180
- readonly page?: number
2181
-
2182
- /**
2183
- *
2184
- * @type {number}
2185
- * @memberof DoctorsApiApiV2DoctorsSimpleGet
2186
- */
2187
- readonly limit?: number
2188
-
2189
- /**
2190
- *
2191
- * @type {Date}
2192
- * @memberof DoctorsApiApiV2DoctorsSimpleGet
2193
- */
2194
- readonly lastRetrieved?: Date
2195
- }
2196
-
2197
- /**
2198
- * DoctorsApi - object-oriented interface
2199
- * @export
2200
- * @class DoctorsApi
2201
- * @extends {BaseAPI}
2202
- */
2203
- export class DoctorsApi extends BaseAPI {
2204
- /**
2205
- *
2206
- * @summary Get DoctorCertificate.
2207
- * @param {DoctorsApiApiV2DoctorsDoctorIdCertificatesCertificateIdGetRequest} requestParameters Request parameters.
2208
- * @param {*} [options] Override http request option.
2209
- * @throws {RequiredError}
2210
- * @memberof DoctorsApi
2211
- */
2212
- public apiV2DoctorsDoctorIdCertificatesCertificateIdGet(requestParameters: DoctorsApiApiV2DoctorsDoctorIdCertificatesCertificateIdGetRequest, options?: AxiosRequestConfig) {
2213
- return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdCertificatesCertificateIdGet(requestParameters.doctorId, requestParameters.certificateId, options).then((request) => request(this.axios, this.basePath));
2214
- }
2215
-
2216
- /**
2217
- *
2218
- * @summary Get All DoctorCertificate.
2219
- * @param {DoctorsApiApiV2DoctorsDoctorIdCertificatesGetRequest} requestParameters Request parameters.
2220
- * @param {*} [options] Override http request option.
2221
- * @throws {RequiredError}
2222
- * @memberof DoctorsApi
2223
- */
2224
- public apiV2DoctorsDoctorIdCertificatesGet(requestParameters: DoctorsApiApiV2DoctorsDoctorIdCertificatesGetRequest, options?: AxiosRequestConfig) {
2225
- return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdCertificatesGet(requestParameters.doctorId, requestParameters.doctorName, requestParameters.certificateId, requestParameters.certificate, requestParameters.activeFrom, requestParameters.activeTo, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
2226
- }
2227
-
2228
- /**
2229
- *
2230
- * @summary Get DoctorEducation.
2231
- * @param {DoctorsApiApiV2DoctorsDoctorIdEducationsEducationIdGetRequest} requestParameters Request parameters.
2232
- * @param {*} [options] Override http request option.
2233
- * @throws {RequiredError}
2234
- * @memberof DoctorsApi
2235
- */
2236
- public apiV2DoctorsDoctorIdEducationsEducationIdGet(requestParameters: DoctorsApiApiV2DoctorsDoctorIdEducationsEducationIdGetRequest, options?: AxiosRequestConfig) {
2237
- return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdEducationsEducationIdGet(requestParameters.doctorId, requestParameters.educationId, options).then((request) => request(this.axios, this.basePath));
2238
- }
2239
-
2240
- /**
2241
- *
2242
- * @summary Get all DoctorEducations.
2243
- * @param {DoctorsApiApiV2DoctorsDoctorIdEducationsGetRequest} requestParameters Request parameters.
2244
- * @param {*} [options] Override http request option.
2245
- * @throws {RequiredError}
2246
- * @memberof DoctorsApi
2247
- */
2248
- public apiV2DoctorsDoctorIdEducationsGet(requestParameters: DoctorsApiApiV2DoctorsDoctorIdEducationsGetRequest, options?: AxiosRequestConfig) {
2249
- return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdEducationsGet(requestParameters.doctorId, requestParameters.doctorName, requestParameters.educationId, requestParameters.institution, requestParameters.qualification, requestParameters.graduationDate, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
2250
- }
2251
-
2252
- /**
2253
- *
2254
- * @summary
2255
- * @param {DoctorsApiApiV2DoctorsDoctorIdGetRequest} requestParameters Request parameters.
2256
- * @param {*} [options] Override http request option.
2257
- * @throws {RequiredError}
2258
- * @memberof DoctorsApi
2259
- */
2260
- public apiV2DoctorsDoctorIdGet(requestParameters: DoctorsApiApiV2DoctorsDoctorIdGetRequest, options?: AxiosRequestConfig) {
2261
- return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdGet(requestParameters.doctorId, requestParameters.languageCode, requestParameters.returnDefaultValue, options).then((request) => request(this.axios, this.basePath));
2262
- }
2263
-
2264
- /**
2265
- *
2266
- * @summary Get all DoctorLanguages.
2267
- * @param {DoctorsApiApiV2DoctorsDoctorIdLanguagesGetRequest} requestParameters Request parameters.
2268
- * @param {*} [options] Override http request option.
2269
- * @throws {RequiredError}
2270
- * @memberof DoctorsApi
2271
- */
2272
- public apiV2DoctorsDoctorIdLanguagesGet(requestParameters: DoctorsApiApiV2DoctorsDoctorIdLanguagesGetRequest, options?: AxiosRequestConfig) {
2273
- return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdLanguagesGet(requestParameters.doctorId, requestParameters.languageCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
2274
- }
2275
-
2276
- /**
2277
- *
2278
- * @summary Get DoctorLanguage.
2279
- * @param {DoctorsApiApiV2DoctorsDoctorIdLanguagesLanguageCodeGetRequest} requestParameters Request parameters.
2280
- * @param {*} [options] Override http request option.
2281
- * @throws {RequiredError}
2282
- * @memberof DoctorsApi
2283
- */
2284
- public apiV2DoctorsDoctorIdLanguagesLanguageCodeGet(requestParameters: DoctorsApiApiV2DoctorsDoctorIdLanguagesLanguageCodeGetRequest, options?: AxiosRequestConfig) {
2285
- return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdLanguagesLanguageCodeGet(requestParameters.doctorId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
2286
- }
2287
-
2288
- /**
2289
- *
2290
- * @summary Get all DoctorMedias.
2291
- * @param {DoctorsApiApiV2DoctorsDoctorIdMediasGetRequest} requestParameters Request parameters.
2292
- * @param {*} [options] Override http request option.
2293
- * @throws {RequiredError}
2294
- * @memberof DoctorsApi
2295
- */
2296
- public apiV2DoctorsDoctorIdMediasGet(requestParameters: DoctorsApiApiV2DoctorsDoctorIdMediasGetRequest, options?: AxiosRequestConfig) {
2297
- return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdMediasGet(requestParameters.doctorId, requestParameters.id, requestParameters.mediaType, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
2298
- }
2299
-
2300
- /**
2301
- *
2302
- * @summary Get DoctorMedia.
2303
- * @param {DoctorsApiApiV2DoctorsDoctorIdMediasMediaIdGetRequest} requestParameters Request parameters.
2304
- * @param {*} [options] Override http request option.
2305
- * @throws {RequiredError}
2306
- * @memberof DoctorsApi
2307
- */
2308
- public apiV2DoctorsDoctorIdMediasMediaIdGet(requestParameters: DoctorsApiApiV2DoctorsDoctorIdMediasMediaIdGetRequest, options?: AxiosRequestConfig) {
2309
- return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdMediasMediaIdGet(requestParameters.doctorId, requestParameters.mediaId, options).then((request) => request(this.axios, this.basePath));
2310
- }
2311
-
2312
- /**
2313
- *
2314
- * @summary Get All DoctorPortfolios
2315
- * @param {DoctorsApiApiV2DoctorsDoctorIdPortfoliosGetRequest} requestParameters Request parameters.
2316
- * @param {*} [options] Override http request option.
2317
- * @throws {RequiredError}
2318
- * @memberof DoctorsApi
2319
- */
2320
- public apiV2DoctorsDoctorIdPortfoliosGet(requestParameters: DoctorsApiApiV2DoctorsDoctorIdPortfoliosGetRequest, options?: AxiosRequestConfig) {
2321
- return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdPortfoliosGet(requestParameters.doctorId, requestParameters.doctorName, requestParameters.portfolioId, requestParameters.name, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
2322
- }
2323
-
2324
- /**
2325
- *
2326
- * @summary Get DoctorPortfolio.
2327
- * @param {DoctorsApiApiV2DoctorsDoctorIdPortfoliosPortfolioIdGetRequest} requestParameters Request parameters.
2328
- * @param {*} [options] Override http request option.
2329
- * @throws {RequiredError}
2330
- * @memberof DoctorsApi
2331
- */
2332
- public apiV2DoctorsDoctorIdPortfoliosPortfolioIdGet(requestParameters: DoctorsApiApiV2DoctorsDoctorIdPortfoliosPortfolioIdGetRequest, options?: AxiosRequestConfig) {
2333
- return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdPortfoliosPortfolioIdGet(requestParameters.doctorId, requestParameters.portfolioId, options).then((request) => request(this.axios, this.basePath));
2334
- }
2335
-
2336
- /**
2337
- *
2338
- * @summary Get All DoctorSpecialties.
2339
- * @param {DoctorsApiApiV2DoctorsDoctorIdSpecialtiesGetRequest} requestParameters Request parameters.
2340
- * @param {*} [options] Override http request option.
2341
- * @throws {RequiredError}
2342
- * @memberof DoctorsApi
2343
- */
2344
- public apiV2DoctorsDoctorIdSpecialtiesGet(requestParameters: DoctorsApiApiV2DoctorsDoctorIdSpecialtiesGetRequest, options?: AxiosRequestConfig) {
2345
- return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdSpecialtiesGet(requestParameters.doctorId, requestParameters.doctorName, requestParameters.specialtyId, requestParameters.specialtyName, requestParameters.languageCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
2346
- }
2347
-
2348
- /**
2349
- *
2350
- * @summary Get DoctorSpecialty
2351
- * @param {DoctorsApiApiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGetRequest} requestParameters Request parameters.
2352
- * @param {*} [options] Override http request option.
2353
- * @throws {RequiredError}
2354
- * @memberof DoctorsApi
2355
- */
2356
- public apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet(requestParameters: DoctorsApiApiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGetRequest, options?: AxiosRequestConfig) {
2357
- return DoctorsApiFp(this.configuration).apiV2DoctorsDoctorIdSpecialtiesSpecialtyIdGet(requestParameters.doctorId, requestParameters.specialtyId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
2358
- }
2359
-
2360
- /**
2361
- *
2362
- * @summary Get all Doctors.
2363
- * @param {DoctorsApiApiV2DoctorsGetRequest} requestParameters Request parameters.
2364
- * @param {*} [options] Override http request option.
2365
- * @throws {RequiredError}
2366
- * @memberof DoctorsApi
2367
- */
2368
- public apiV2DoctorsGet(requestParameters: DoctorsApiApiV2DoctorsGetRequest = {}, options?: AxiosRequestConfig) {
2369
- return DoctorsApiFp(this.configuration).apiV2DoctorsGet(requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.ids, requestParameters.specialtyId, requestParameters.consultationEnabled, requestParameters.languageCode, requestParameters.id, requestParameters.fullname, requestParameters.email, requestParameters.gender, requestParameters.dateOfBirth, requestParameters.created, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
2370
- }
2371
-
2372
- /**
2373
- *
2374
- * @summary Get all Doctors.
2375
- * @param {DoctorsApiApiV2DoctorsSimpleGetRequest} requestParameters Request parameters.
2376
- * @param {*} [options] Override http request option.
2377
- * @throws {RequiredError}
2378
- * @memberof DoctorsApi
2379
- */
2380
- public apiV2DoctorsSimpleGet(requestParameters: DoctorsApiApiV2DoctorsSimpleGetRequest = {}, options?: AxiosRequestConfig) {
2381
- return DoctorsApiFp(this.configuration).apiV2DoctorsSimpleGet(requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.ids, requestParameters.specialtyId, requestParameters.consultationEnabled, requestParameters.languageCode, requestParameters.id, requestParameters.fullname, requestParameters.email, requestParameters.gender, requestParameters.dateOfBirth, requestParameters.created, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
2382
- }
2383
- }