ch-admin-api-client-typescript 5.43.15 → 5.45.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (890) hide show
  1. package/lib/api/about-us-api.d.ts.map +1 -1
  2. package/lib/api/about-us-api.js +60 -23
  3. package/lib/api/accreditations-api.d.ts.map +1 -1
  4. package/lib/api/accreditations-api.js +46 -17
  5. package/lib/api/app-version-api.d.ts.map +1 -1
  6. package/lib/api/app-version-api.js +46 -17
  7. package/lib/api/appointments-api.d.ts +52 -52
  8. package/lib/api/appointments-api.d.ts.map +1 -1
  9. package/lib/api/appointments-api.js +154 -93
  10. package/lib/api/articles-api.d.ts.map +1 -1
  11. package/lib/api/articles-api.js +193 -80
  12. package/lib/api/azure-functions-app-webhooks-api.d.ts.map +1 -1
  13. package/lib/api/azure-functions-app-webhooks-api.js +18 -5
  14. package/lib/api/call-histories-api.d.ts.map +1 -1
  15. package/lib/api/call-histories-api.js +25 -8
  16. package/lib/api/chadmins-api.d.ts.map +1 -1
  17. package/lib/api/chadmins-api.js +46 -17
  18. package/lib/api/chat-users-api.d.ts.map +1 -1
  19. package/lib/api/chat-users-api.js +60 -23
  20. package/lib/api/chmanagers-api.d.ts.map +1 -1
  21. package/lib/api/chmanagers-api.js +46 -17
  22. package/lib/api/communications-api.d.ts.map +1 -1
  23. package/lib/api/communications-api.js +32 -11
  24. package/lib/api/content-managers-api.d.ts.map +1 -1
  25. package/lib/api/content-managers-api.js +53 -20
  26. package/lib/api/contributors-api.d.ts.map +1 -1
  27. package/lib/api/contributors-api.js +95 -38
  28. package/lib/api/countries-api.d.ts.map +1 -1
  29. package/lib/api/countries-api.js +186 -77
  30. package/lib/api/curation-categories-api.d.ts +385 -0
  31. package/lib/api/curation-categories-api.d.ts.map +1 -0
  32. package/lib/api/{search-curations-api.js → curation-categories-api.js} +229 -179
  33. package/lib/api/curations-api.d.ts +45 -173
  34. package/lib/api/curations-api.d.ts.map +1 -1
  35. package/lib/api/curations-api.js +103 -264
  36. package/lib/api/currencies-api.d.ts.map +1 -1
  37. package/lib/api/currencies-api.js +60 -23
  38. package/lib/api/dash-board-api.d.ts.map +1 -1
  39. package/lib/api/dash-board-api.js +46 -17
  40. package/lib/api/deals-api.d.ts.map +1 -1
  41. package/lib/api/deals-api.js +186 -77
  42. package/lib/api/dev-supports-api.d.ts.map +1 -1
  43. package/lib/api/dev-supports-api.js +39 -14
  44. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  45. package/lib/api/doctor-affiliations-api.js +144 -59
  46. package/lib/api/doctors-api.d.ts.map +1 -1
  47. package/lib/api/doctors-api.js +291 -122
  48. package/lib/api/email-marketings-api.d.ts.map +1 -1
  49. package/lib/api/email-marketings-api.js +53 -20
  50. package/lib/api/email-webhooks-api.d.ts.map +1 -1
  51. package/lib/api/email-webhooks-api.js +39 -14
  52. package/lib/api/faq-categories-api.d.ts.map +1 -1
  53. package/lib/api/faq-categories-api.js +60 -23
  54. package/lib/api/faqs-api.d.ts.map +1 -1
  55. package/lib/api/faqs-api.js +123 -50
  56. package/lib/api/form-results-api.d.ts +20 -20
  57. package/lib/api/form-results-api.d.ts.map +1 -1
  58. package/lib/api/form-results-api.js +66 -37
  59. package/lib/api/form-templates-api.d.ts.map +1 -1
  60. package/lib/api/form-templates-api.js +81 -32
  61. package/lib/api/grades-api.d.ts.map +1 -1
  62. package/lib/api/grades-api.js +46 -17
  63. package/lib/api/group-channels-api.d.ts.map +1 -1
  64. package/lib/api/group-channels-api.js +25 -8
  65. package/lib/api/hospital-branches-api.d.ts.map +1 -1
  66. package/lib/api/hospital-branches-api.js +74 -29
  67. package/lib/api/hospital-groups-api.d.ts.map +1 -1
  68. package/lib/api/hospital-groups-api.js +53 -20
  69. package/lib/api/hospitals-api.d.ts.map +1 -1
  70. package/lib/api/hospitals-api.js +1257 -536
  71. package/lib/api/images-api.d.ts.map +1 -1
  72. package/lib/api/images-api.js +25 -8
  73. package/lib/api/languages-api.d.ts.map +1 -1
  74. package/lib/api/languages-api.js +46 -17
  75. package/lib/api/managers-api.d.ts.map +1 -1
  76. package/lib/api/managers-api.js +74 -29
  77. package/lib/api/notifications-api.d.ts.map +1 -1
  78. package/lib/api/notifications-api.js +25 -8
  79. package/lib/api/patient-affiliations-api.d.ts +8 -8
  80. package/lib/api/patient-affiliations-api.d.ts.map +1 -1
  81. package/lib/api/patient-affiliations-api.js +33 -16
  82. package/lib/api/patient-managers-api.d.ts.map +1 -1
  83. package/lib/api/patient-managers-api.js +53 -20
  84. package/lib/api/patients-api.d.ts +48 -48
  85. package/lib/api/patients-api.d.ts.map +1 -1
  86. package/lib/api/patients-api.js +143 -86
  87. package/lib/api/payments-api.d.ts.map +1 -1
  88. package/lib/api/payments-api.js +18 -5
  89. package/lib/api/plans-api.d.ts.map +1 -1
  90. package/lib/api/plans-api.js +81 -32
  91. package/lib/api/prescriptions-api.d.ts.map +1 -1
  92. package/lib/api/prescriptions-api.js +81 -32
  93. package/lib/api/profiles-api.d.ts.map +1 -1
  94. package/lib/api/profiles-api.js +53 -20
  95. package/lib/api/promotions-api.d.ts.map +1 -1
  96. package/lib/api/promotions-api.js +53 -20
  97. package/lib/api/search-api.d.ts.map +1 -1
  98. package/lib/api/search-api.js +25 -8
  99. package/lib/api/service-reviews-api.d.ts.map +1 -1
  100. package/lib/api/service-reviews-api.js +81 -32
  101. package/lib/api/services-api.d.ts.map +1 -1
  102. package/lib/api/services-api.js +32 -11
  103. package/lib/api/services-categories-api.d.ts.map +1 -1
  104. package/lib/api/services-categories-api.js +46 -17
  105. package/lib/api/specialties-api.d.ts.map +1 -1
  106. package/lib/api/specialties-api.js +116 -47
  107. package/lib/api/specialty-types-api.d.ts.map +1 -1
  108. package/lib/api/specialty-types-api.js +123 -50
  109. package/lib/api/survey-forms-api.d.ts.map +1 -1
  110. package/lib/api/survey-forms-api.js +74 -29
  111. package/lib/api/survey-results-api.d.ts +16 -16
  112. package/lib/api/survey-results-api.d.ts.map +1 -1
  113. package/lib/api/survey-results-api.js +55 -30
  114. package/lib/api/tags-api.d.ts.map +1 -1
  115. package/lib/api/tags-api.js +39 -14
  116. package/lib/api/translation-api.d.ts.map +1 -1
  117. package/lib/api/translation-api.js +18 -5
  118. package/lib/api/web-apps-api.d.ts.map +1 -1
  119. package/lib/api/web-apps-api.js +74 -29
  120. package/lib/api/whats-app-template-media-api.d.ts +321 -0
  121. package/lib/api/whats-app-template-media-api.d.ts.map +1 -0
  122. package/lib/api/whats-app-template-media-api.js +618 -0
  123. package/lib/api.d.ts +2 -1
  124. package/lib/api.d.ts.map +1 -1
  125. package/lib/api.js +2 -1
  126. package/lib/common.d.ts.map +1 -1
  127. package/lib/common.js +2 -2
  128. package/lib/models/chadmin-model.d.ts +0 -7
  129. package/lib/models/chadmin-model.d.ts.map +1 -1
  130. package/lib/models/chmanager-model.d.ts +0 -7
  131. package/lib/models/chmanager-model.d.ts.map +1 -1
  132. package/lib/models/content-manager-model.d.ts +0 -7
  133. package/lib/models/content-manager-model.d.ts.map +1 -1
  134. package/{src/models/localized-url-model.ts → lib/models/create-curation-category-command-translation.d.ts} +10 -21
  135. package/lib/models/create-curation-category-command-translation.d.ts.map +1 -0
  136. package/lib/models/create-curation-category-command.d.ts +38 -0
  137. package/lib/models/create-curation-category-command.d.ts.map +1 -0
  138. package/{src/models/create-template-version-command.ts → lib/models/create-curation-command-translation.d.ts} +13 -18
  139. package/lib/models/create-curation-command-translation.d.ts.map +1 -0
  140. package/lib/models/create-curation-command.d.ts +4 -57
  141. package/lib/models/create-curation-command.d.ts.map +1 -1
  142. package/lib/models/create-doctor-command.d.ts +6 -0
  143. package/lib/models/create-doctor-command.d.ts.map +1 -1
  144. package/lib/models/create-patient-command.d.ts +6 -0
  145. package/lib/models/create-patient-command.d.ts.map +1 -1
  146. package/lib/models/create-whats-app-template-media-command.d.ts +45 -0
  147. package/lib/models/create-whats-app-template-media-command.d.ts.map +1 -0
  148. package/{src/models/medias-model.ts → lib/models/curation-categories-model.d.ts} +11 -20
  149. package/lib/models/curation-categories-model.d.ts.map +1 -0
  150. package/lib/models/curation-categories-model.js +15 -0
  151. package/{src/models/country-language-model.ts → lib/models/curation-category-model.d.ts} +19 -24
  152. package/lib/models/curation-category-model.d.ts.map +1 -0
  153. package/lib/models/curation-category-model.js +15 -0
  154. package/lib/models/curation-model.d.ts +8 -51
  155. package/lib/models/curation-model.d.ts.map +1 -1
  156. package/lib/models/{search-curation-primary-item-model.d.ts → delete-whats-app-template-media-by-tag-command.d.ts} +7 -7
  157. package/lib/models/delete-whats-app-template-media-by-tag-command.d.ts.map +1 -0
  158. package/lib/models/delete-whats-app-template-media-by-tag-command.js +15 -0
  159. package/lib/models/doctor-model.d.ts +0 -7
  160. package/lib/models/doctor-model.d.ts.map +1 -1
  161. package/lib/models/index.d.ts +16 -5
  162. package/lib/models/index.d.ts.map +1 -1
  163. package/lib/models/index.js +16 -5
  164. package/lib/models/manager-model.d.ts +0 -7
  165. package/lib/models/manager-model.d.ts.map +1 -1
  166. package/{src/models/article-type.ts → lib/models/meta-media-type.d.ts} +10 -18
  167. package/lib/models/meta-media-type.d.ts.map +1 -0
  168. package/lib/models/meta-media-type.js +28 -0
  169. package/lib/models/patient-manager-model.d.ts +0 -7
  170. package/lib/models/patient-manager-model.d.ts.map +1 -1
  171. package/lib/models/patient-model.d.ts +0 -7
  172. package/lib/models/patient-model.d.ts.map +1 -1
  173. package/{src/models/leaved-group-channels-model.ts → lib/models/translate-curation-category-command.d.ts} +12 -23
  174. package/lib/models/translate-curation-category-command.d.ts.map +1 -0
  175. package/lib/models/translate-curation-category-command.js +15 -0
  176. package/lib/models/translate-curation-command.d.ts +0 -13
  177. package/lib/models/translate-curation-command.d.ts.map +1 -1
  178. package/{src/models/call-history-language-statistics-model.ts → lib/models/update-curation-category-command-translation.d.ts} +11 -16
  179. package/lib/models/update-curation-category-command-translation.d.ts.map +1 -0
  180. package/lib/models/update-curation-category-command-translation.js +15 -0
  181. package/lib/models/update-curation-category-command.d.ts +44 -0
  182. package/lib/models/update-curation-category-command.d.ts.map +1 -0
  183. package/lib/models/update-curation-category-command.js +15 -0
  184. package/{src/models/appointment-refund-upi-model.ts → lib/models/update-curation-command-translation.d.ts} +13 -18
  185. package/lib/models/update-curation-command-translation.d.ts.map +1 -0
  186. package/lib/models/update-curation-command-translation.js +15 -0
  187. package/lib/models/update-curation-command.d.ts +5 -46
  188. package/lib/models/update-curation-command.d.ts.map +1 -1
  189. package/lib/models/user-model.d.ts +0 -7
  190. package/lib/models/user-model.d.ts.map +1 -1
  191. package/lib/models/whats-app-template-media-item-model.d.ts +76 -0
  192. package/lib/models/whats-app-template-media-item-model.d.ts.map +1 -0
  193. package/lib/models/whats-app-template-media-item-model.js +15 -0
  194. package/lib/models/whats-app-template-media-model.d.ts +76 -0
  195. package/lib/models/whats-app-template-media-model.d.ts.map +1 -0
  196. package/lib/models/whats-app-template-media-model.js +15 -0
  197. package/{src/models/web-app-environment-model.ts → lib/models/whats-app-template-media-tags-model.d.ts} +8 -13
  198. package/lib/models/whats-app-template-media-tags-model.d.ts.map +1 -0
  199. package/lib/models/whats-app-template-media-tags-model.js +15 -0
  200. package/{src/models/chadmins-model.ts → lib/models/whats-app-template-medias-model.d.ts} +11 -20
  201. package/lib/models/whats-app-template-medias-model.d.ts.map +1 -0
  202. package/lib/models/whats-app-template-medias-model.js +15 -0
  203. package/package.json +11 -6
  204. package/.gitattributes +0 -2
  205. package/.github/workflows/publish-npm.yml +0 -31
  206. package/lib/api/search-curations-api.d.ts +0 -364
  207. package/lib/api/search-curations-api.d.ts.map +0 -1
  208. package/lib/models/save-search-curations-command.d.ts +0 -26
  209. package/lib/models/save-search-curations-command.d.ts.map +0 -1
  210. package/lib/models/search-curation-item-input-model.d.ts +0 -92
  211. package/lib/models/search-curation-item-input-model.d.ts.map +0 -1
  212. package/lib/models/search-curation-item-model.d.ts +0 -98
  213. package/lib/models/search-curation-item-model.d.ts.map +0 -1
  214. package/lib/models/search-curation-primary-item-model.d.ts.map +0 -1
  215. package/lib/models/user-type.d.ts +0 -28
  216. package/lib/models/user-type.d.ts.map +0 -1
  217. package/lib/models/user-type.js +0 -31
  218. package/openapitools.json +0 -23
  219. package/src/.openapi-generator/FILES +0 -677
  220. package/src/.openapi-generator/VERSION +0 -1
  221. package/src/.openapi-generator-ignore +0 -23
  222. package/src/api/about-us-api.ts +0 -904
  223. package/src/api/accreditations-api.ts +0 -579
  224. package/src/api/app-version-api.ts +0 -597
  225. package/src/api/appointments-api.ts +0 -1734
  226. package/src/api/articles-api.ts +0 -3230
  227. package/src/api/azure-functions-app-webhooks-api.ts +0 -143
  228. package/src/api/call-histories-api.ts +0 -451
  229. package/src/api/chadmins-api.ts +0 -655
  230. package/src/api/chat-users-api.ts +0 -756
  231. package/src/api/chmanagers-api.ts +0 -655
  232. package/src/api/communications-api.ts +0 -252
  233. package/src/api/content-managers-api.ts +0 -740
  234. package/src/api/contributors-api.ts +0 -1503
  235. package/src/api/countries-api.ts +0 -2835
  236. package/src/api/curations-api.ts +0 -909
  237. package/src/api/currencies-api.ts +0 -751
  238. package/src/api/dash-board-api.ts +0 -650
  239. package/src/api/deals-api.ts +0 -3686
  240. package/src/api/dev-supports-api.ts +0 -476
  241. package/src/api/doctor-affiliations-api.ts +0 -2404
  242. package/src/api/doctors-api.ts +0 -4927
  243. package/src/api/email-marketings-api.ts +0 -637
  244. package/src/api/email-webhooks-api.ts +0 -554
  245. package/src/api/faq-categories-api.ts +0 -903
  246. package/src/api/faqs-api.ts +0 -1932
  247. package/src/api/form-results-api.ts +0 -730
  248. package/src/api/form-templates-api.ts +0 -1238
  249. package/src/api/grades-api.ts +0 -595
  250. package/src/api/group-channels-api.ts +0 -290
  251. package/src/api/hospital-branches-api.ts +0 -1044
  252. package/src/api/hospital-groups-api.ts +0 -720
  253. package/src/api/hospitals-api.ts +0 -22461
  254. package/src/api/images-api.ts +0 -243
  255. package/src/api/languages-api.ts +0 -593
  256. package/src/api/managers-api.ts +0 -1140
  257. package/src/api/notifications-api.ts +0 -293
  258. package/src/api/patient-affiliations-api.ts +0 -361
  259. package/src/api/patient-managers-api.ts +0 -740
  260. package/src/api/patients-api.ts +0 -1393
  261. package/src/api/payments-api.ts +0 -114
  262. package/src/api/plans-api.ts +0 -1107
  263. package/src/api/prescriptions-api.ts +0 -1130
  264. package/src/api/profiles-api.ts +0 -559
  265. package/src/api/promotions-api.ts +0 -754
  266. package/src/api/search-api.ts +0 -266
  267. package/src/api/search-curations-api.ts +0 -638
  268. package/src/api/service-reviews-api.ts +0 -1337
  269. package/src/api/services-api.ts +0 -634
  270. package/src/api/services-categories-api.ts +0 -565
  271. package/src/api/specialties-api.ts +0 -1980
  272. package/src/api/specialty-types-api.ts +0 -2069
  273. package/src/api/survey-forms-api.ts +0 -1134
  274. package/src/api/survey-results-api.ts +0 -583
  275. package/src/api/tags-api.ts +0 -481
  276. package/src/api/translation-api.ts +0 -145
  277. package/src/api/web-apps-api.ts +0 -1069
  278. package/src/api.ts +0 -73
  279. package/src/base.ts +0 -71
  280. package/src/common.ts +0 -148
  281. package/src/configuration.ts +0 -101
  282. package/src/git_push.sh +0 -57
  283. package/src/index.ts +0 -18
  284. package/src/models/about-us-page-item-model.ts +0 -63
  285. package/src/models/about-us-page-model.ts +0 -126
  286. package/src/models/about-us-pages-model.ts +0 -42
  287. package/src/models/accreditation-item-model.ts +0 -54
  288. package/src/models/accreditation-model.ts +0 -54
  289. package/src/models/accreditations-model.ts +0 -42
  290. package/src/models/add-hospital-into-branch-command.ts +0 -36
  291. package/src/models/add-or-update-web-app-environments-command.ts +0 -33
  292. package/src/models/admin-message-model.ts +0 -84
  293. package/src/models/app-version-item-model.ts +0 -51
  294. package/src/models/app-version-model.ts +0 -51
  295. package/src/models/app-versions-model.ts +0 -42
  296. package/src/models/appointment-change-log-model.ts +0 -51
  297. package/src/models/appointment-duration-statisctics-model.ts +0 -36
  298. package/src/models/appointment-item-model.ts +0 -357
  299. package/src/models/appointment-model.ts +0 -381
  300. package/src/models/appointment-option-input-model.ts +0 -66
  301. package/src/models/appointment-option-model.ts +0 -84
  302. package/src/models/appointment-refund-bank-transfer-model.ts +0 -54
  303. package/src/models/appointment-statistics-model.ts +0 -51
  304. package/src/models/appointment-status.ts +0 -39
  305. package/src/models/appointment-timetable-date-model.ts +0 -69
  306. package/src/models/appointment-timetable-model.ts +0 -69
  307. package/src/models/appointment-timetable-override-model.ts +0 -81
  308. package/src/models/appointment-timetable-overrides-model.ts +0 -42
  309. package/src/models/appointment-timetable-status.ts +0 -31
  310. package/src/models/appointment-timetable-time-slot-model.ts +0 -81
  311. package/src/models/appointment-timetables-model.ts +0 -42
  312. package/src/models/appointment-type.ts +0 -34
  313. package/src/models/appointments-model.ts +0 -42
  314. package/src/models/approve-appointment-command.ts +0 -36
  315. package/src/models/article-contributor-item-model.ts +0 -108
  316. package/src/models/article-contributor-model.ts +0 -135
  317. package/src/models/article-contributors-model.ts +0 -42
  318. package/src/models/article-item-model.ts +0 -150
  319. package/src/models/article-model.ts +0 -174
  320. package/src/models/article-sources-model.ts +0 -42
  321. package/src/models/article-status.ts +0 -32
  322. package/src/models/article-tag-item-model.ts +0 -42
  323. package/src/models/article-tag-model.ts +0 -42
  324. package/src/models/article-tags-model.ts +0 -42
  325. package/src/models/articles-model.ts +0 -42
  326. package/src/models/auditable-entity-model.ts +0 -72
  327. package/src/models/auditable-entity.ts +0 -72
  328. package/src/models/bank-account-info-item-model.ts +0 -78
  329. package/src/models/bank-account-info-model.ts +0 -78
  330. package/src/models/bank-account-infos-model.ts +0 -42
  331. package/src/models/bank-transfer-payment-model.ts +0 -48
  332. package/src/models/batch-add-appointment-timetable-model.ts +0 -63
  333. package/src/models/batch-appointment-timetables-result-model.ts +0 -45
  334. package/src/models/batch-deal-package-appointment-timetables-command.ts +0 -48
  335. package/src/models/batch-doctor-affiliation-appointment-timetables-command.ts +0 -48
  336. package/src/models/batch-hospital-appointment-timetables-command.ts +0 -48
  337. package/src/models/batch-hospital-specialty-appointment-timetables-command.ts +0 -48
  338. package/src/models/batch-hospital-working-days-command.ts +0 -33
  339. package/src/models/batch-service-appointment-timetables-command.ts +0 -48
  340. package/src/models/batch-update-appointment-timetable-model.ts +0 -69
  341. package/src/models/call-duration-statistics-model.ts +0 -45
  342. package/src/models/call-histories-model.ts +0 -42
  343. package/src/models/call-history-change-log-model.ts +0 -51
  344. package/src/models/call-history-item-model.ts +0 -126
  345. package/src/models/call-history-model.ts +0 -141
  346. package/src/models/call-statistics-model.ts +0 -45
  347. package/src/models/call-status.ts +0 -40
  348. package/src/models/cancel-appointment-command.ts +0 -42
  349. package/src/models/chadmin-item-model.ts +0 -114
  350. package/src/models/chadmin-model.ts +0 -132
  351. package/src/models/change-email-command.ts +0 -30
  352. package/src/models/charge-status.ts +0 -32
  353. package/src/models/chat-user-model.ts +0 -78
  354. package/src/models/chat-users-model.ts +0 -39
  355. package/src/models/check-notifications-command.ts +0 -36
  356. package/src/models/chmanager-item-model.ts +0 -114
  357. package/src/models/chmanager-model.ts +0 -132
  358. package/src/models/chmanagers-model.ts +0 -42
  359. package/src/models/communication-user-token-model.ts +0 -48
  360. package/src/models/confirm-email-command.ts +0 -30
  361. package/src/models/contact-sorting-command.ts +0 -33
  362. package/src/models/contact-type.ts +0 -36
  363. package/src/models/content-manager-item-model.ts +0 -114
  364. package/src/models/content-manager-model.ts +0 -132
  365. package/src/models/content-managers-model.ts +0 -42
  366. package/src/models/contribution-type.ts +0 -32
  367. package/src/models/contributor-item-model.ts +0 -123
  368. package/src/models/contributor-model.ts +0 -141
  369. package/src/models/contributor-sns-handles-model.ts +0 -42
  370. package/src/models/contributors-model.ts +0 -42
  371. package/src/models/countries-model.ts +0 -42
  372. package/src/models/country-currencies-model.ts +0 -42
  373. package/src/models/country-currency-item-model.ts +0 -60
  374. package/src/models/country-currency-model.ts +0 -60
  375. package/src/models/country-item-model.ts +0 -93
  376. package/src/models/country-language-item-model.ts +0 -54
  377. package/src/models/country-languages-model.ts +0 -42
  378. package/src/models/country-model.ts +0 -126
  379. package/src/models/country-sorting-command.ts +0 -33
  380. package/src/models/create-about-us-page-command.ts +0 -81
  381. package/src/models/create-accreditation-command.ts +0 -48
  382. package/src/models/create-app-version-command.ts +0 -51
  383. package/src/models/create-article-command.ts +0 -132
  384. package/src/models/create-article-contributor-command.ts +0 -51
  385. package/src/models/create-article-source-command.ts +0 -42
  386. package/src/models/create-article-tag-command.ts +0 -36
  387. package/src/models/create-chadmin-command.ts +0 -87
  388. package/src/models/create-chat-user-command.ts +0 -60
  389. package/src/models/create-chmanager-command.ts +0 -87
  390. package/src/models/create-content-manager-command.ts +0 -87
  391. package/src/models/create-contributor-command.ts +0 -78
  392. package/src/models/create-contributor-sns-handle-command.ts +0 -39
  393. package/src/models/create-country-command.ts +0 -93
  394. package/src/models/create-curation-command.ts +0 -108
  395. package/src/models/create-currency-command.ts +0 -42
  396. package/src/models/create-deal-command.ts +0 -87
  397. package/src/models/create-deal-package-command.ts +0 -81
  398. package/src/models/create-deal-service-command.ts +0 -42
  399. package/src/models/create-doctor-affiliation-command.ts +0 -168
  400. package/src/models/create-doctor-certificate-command.ts +0 -48
  401. package/src/models/create-doctor-command.ts +0 -117
  402. package/src/models/create-doctor-education-command.ts +0 -48
  403. package/src/models/create-doctor-language-command.ts +0 -42
  404. package/src/models/create-doctor-portfolio-command.ts +0 -60
  405. package/src/models/create-doctor-specialty-command.ts +0 -36
  406. package/src/models/create-faq-category-command.ts +0 -60
  407. package/src/models/create-faq-command.ts +0 -78
  408. package/src/models/create-faq-tag-command.ts +0 -36
  409. package/src/models/create-grade-command.ts +0 -57
  410. package/src/models/create-hospital-accreditation-command.ts +0 -30
  411. package/src/models/create-hospital-bank-account-info-command.ts +0 -66
  412. package/src/models/create-hospital-branch-command.ts +0 -72
  413. package/src/models/create-hospital-command.ts +0 -253
  414. package/src/models/create-hospital-contact-command.ts +0 -69
  415. package/src/models/create-hospital-equipment-command.ts +0 -36
  416. package/src/models/create-hospital-evaluation-command.ts +0 -48
  417. package/src/models/create-hospital-group-command.ts +0 -72
  418. package/src/models/create-hospital-language-command.ts +0 -42
  419. package/src/models/create-hospital-payment-method-command.ts +0 -78
  420. package/src/models/create-hospital-rating-command.ts +0 -66
  421. package/src/models/create-hospital-service-command.ts +0 -138
  422. package/src/models/create-hospital-sns-handle-command.ts +0 -39
  423. package/src/models/create-hospital-specialty-command.ts +0 -123
  424. package/src/models/create-hospital-tag-command.ts +0 -36
  425. package/src/models/create-hospital-working-day-command.ts +0 -54
  426. package/src/models/create-landing-command.ts +0 -81
  427. package/src/models/create-language-command.ts +0 -60
  428. package/src/models/create-manager-affiliation-command.ts +0 -30
  429. package/src/models/create-manager-command.ts +0 -93
  430. package/src/models/create-media-command.ts +0 -57
  431. package/src/models/create-notice-command.ts +0 -69
  432. package/src/models/create-page-command.ts +0 -90
  433. package/src/models/create-patient-affiliation-command.ts +0 -114
  434. package/src/models/create-patient-command.ts +0 -183
  435. package/src/models/create-patient-manager-command.ts +0 -87
  436. package/src/models/create-plan-command.ts +0 -69
  437. package/src/models/create-plan-hospital-command.ts +0 -36
  438. package/src/models/create-policy-command.ts +0 -81
  439. package/src/models/create-prescription-command.ts +0 -207
  440. package/src/models/create-profile-command.ts +0 -96
  441. package/src/models/create-promotion-command.ts +0 -102
  442. package/src/models/create-service-category-command.ts +0 -42
  443. package/src/models/create-service-review-command.ts +0 -99
  444. package/src/models/create-specialty-command.ts +0 -87
  445. package/src/models/create-specialty-type-command.ts +0 -102
  446. package/src/models/create-survey-form-command.ts +0 -96
  447. package/src/models/create-tag-command.ts +0 -30
  448. package/src/models/create-walk-in-appointment-command.ts +0 -174
  449. package/src/models/create-web-app-command.ts +0 -75
  450. package/src/models/curation-model.ts +0 -111
  451. package/src/models/curations-model.ts +0 -42
  452. package/src/models/currencies-model.ts +0 -42
  453. package/src/models/currency-item-model.ts +0 -48
  454. package/src/models/currency-model.ts +0 -57
  455. package/src/models/dash-board-model.ts +0 -60
  456. package/src/models/day-of-week.ts +0 -36
  457. package/src/models/deal-item-model.ts +0 -129
  458. package/src/models/deal-item-simple-model.ts +0 -54
  459. package/src/models/deal-model.ts +0 -153
  460. package/src/models/deal-package-item-model.ts +0 -123
  461. package/src/models/deal-package-model.ts +0 -144
  462. package/src/models/deal-packages-model.ts +0 -42
  463. package/src/models/deal-service-item-model.ts +0 -72
  464. package/src/models/deal-service-model.ts +0 -72
  465. package/src/models/deal-services-model.ts +0 -42
  466. package/src/models/deals-model.ts +0 -42
  467. package/src/models/deals-simple-model.ts +0 -42
  468. package/src/models/delete-deal-package-appointment-timetable-overrides-command.ts +0 -51
  469. package/src/models/delete-doctor-affiliation-appointment-timetable-overrides-command.ts +0 -51
  470. package/src/models/delete-hospital-appointment-timetable-overrides-command.ts +0 -51
  471. package/src/models/delete-hospital-specialty-appointment-timetable-overrides-command.ts +0 -51
  472. package/src/models/delete-service-appointment-timetable-overrides-command.ts +0 -51
  473. package/src/models/deploy-status.ts +0 -38
  474. package/src/models/doctor-affiliation-item-model.ts +0 -174
  475. package/src/models/doctor-affiliation-model.ts +0 -234
  476. package/src/models/doctor-affiliation-simple-model.ts +0 -48
  477. package/src/models/doctor-affiliations-model.ts +0 -42
  478. package/src/models/doctor-certificate-item-model.ts +0 -66
  479. package/src/models/doctor-certificate-model.ts +0 -66
  480. package/src/models/doctor-certificate-sorting-command.ts +0 -33
  481. package/src/models/doctor-certificates-model.ts +0 -42
  482. package/src/models/doctor-education-item-model.ts +0 -78
  483. package/src/models/doctor-education-model.ts +0 -78
  484. package/src/models/doctor-education-sorting-command.ts +0 -33
  485. package/src/models/doctor-educations-model.ts +0 -42
  486. package/src/models/doctor-item-model.ts +0 -120
  487. package/src/models/doctor-language-item-model.ts +0 -60
  488. package/src/models/doctor-language-model.ts +0 -60
  489. package/src/models/doctor-languages-model.ts +0 -42
  490. package/src/models/doctor-model.ts +0 -153
  491. package/src/models/doctor-portfolio-item-model.ts +0 -66
  492. package/src/models/doctor-portfolio-model.ts +0 -66
  493. package/src/models/doctor-portfolios-model.ts +0 -42
  494. package/src/models/doctor-prefix.ts +0 -31
  495. package/src/models/doctor-simple-item-model.ts +0 -54
  496. package/src/models/doctor-specialties-model.ts +0 -42
  497. package/src/models/doctor-specialty-model.ts +0 -66
  498. package/src/models/doctors-model.ts +0 -42
  499. package/src/models/doctors-simple-model.ts +0 -42
  500. package/src/models/duration.ts +0 -34
  501. package/src/models/email-record-event-model.ts +0 -165
  502. package/src/models/email-record-item-model.ts +0 -87
  503. package/src/models/email-record-model.ts +0 -96
  504. package/src/models/email-records-model.ts +0 -42
  505. package/src/models/email-status.ts +0 -44
  506. package/src/models/faq-categories-model.ts +0 -42
  507. package/src/models/faq-category-item-model.ts +0 -99
  508. package/src/models/faq-category-model.ts +0 -117
  509. package/src/models/faq-item-model.ts +0 -129
  510. package/src/models/faq-model.ts +0 -153
  511. package/src/models/faq-tag-item-model.ts +0 -42
  512. package/src/models/faq-tag-model.ts +0 -42
  513. package/src/models/faq-tags-model.ts +0 -42
  514. package/src/models/faqs-model.ts +0 -42
  515. package/src/models/feature-detail-input-model.ts +0 -66
  516. package/src/models/feature-detail-model.ts +0 -78
  517. package/src/models/feature-input-model.ts +0 -39
  518. package/src/models/feature-model.ts +0 -39
  519. package/src/models/footer-navigation-item-model.ts +0 -72
  520. package/src/models/form-field-input-model.ts +0 -123
  521. package/src/models/form-field-model.ts +0 -129
  522. package/src/models/form-field-option-input-model.ts +0 -54
  523. package/src/models/form-field-option-model.ts +0 -60
  524. package/src/models/form-result-field-model.ts +0 -99
  525. package/src/models/form-result-item-model.ts +0 -117
  526. package/src/models/form-result-model.ts +0 -126
  527. package/src/models/form-result-section-model.ts +0 -69
  528. package/src/models/form-result-status.ts +0 -32
  529. package/src/models/form-result-value-model.ts +0 -66
  530. package/src/models/form-results-model.ts +0 -42
  531. package/src/models/form-section-input-model.ts +0 -63
  532. package/src/models/form-section-model.ts +0 -69
  533. package/src/models/form-template-affiliation-model.ts +0 -48
  534. package/src/models/form-template-affiliations-model.ts +0 -42
  535. package/src/models/form-template-item-model.ts +0 -114
  536. package/src/models/form-template-model.ts +0 -141
  537. package/src/models/form-template-platform.ts +0 -31
  538. package/src/models/form-template-status.ts +0 -31
  539. package/src/models/form-template-type.ts +0 -32
  540. package/src/models/form-templates-model.ts +0 -42
  541. package/src/models/gender.ts +0 -34
  542. package/src/models/general-statistics-model.ts +0 -48
  543. package/src/models/generated-pdf-command.ts +0 -30
  544. package/src/models/get-appointment-timetables-response-model.ts +0 -51
  545. package/src/models/get-patient-walk-in-query.ts +0 -42
  546. package/src/models/grade-item-model.ts +0 -72
  547. package/src/models/grade-model.ts +0 -72
  548. package/src/models/grade-targets.ts +0 -31
  549. package/src/models/grades-model.ts +0 -42
  550. package/src/models/group-channel-list.ts +0 -45
  551. package/src/models/group-channel.ts +0 -156
  552. package/src/models/header-navigation-item-model.ts +0 -78
  553. package/src/models/hospital-accreditation-item-model.ts +0 -54
  554. package/src/models/hospital-accreditation-model.ts +0 -54
  555. package/src/models/hospital-accreditations-model.ts +0 -42
  556. package/src/models/hospital-branch-item-mapping-model.ts +0 -45
  557. package/src/models/hospital-branch-item-model.ts +0 -75
  558. package/src/models/hospital-branch-model.ts +0 -102
  559. package/src/models/hospital-branches-model.ts +0 -42
  560. package/src/models/hospital-consultation-option-model.ts +0 -42
  561. package/src/models/hospital-contact-item-model.ts +0 -96
  562. package/src/models/hospital-contact-model.ts +0 -96
  563. package/src/models/hospital-contacts-model.ts +0 -42
  564. package/src/models/hospital-equipment-item-model.ts +0 -60
  565. package/src/models/hospital-equipment-model.ts +0 -60
  566. package/src/models/hospital-equipments-model.ts +0 -42
  567. package/src/models/hospital-evaluation-item-model.ts +0 -54
  568. package/src/models/hospital-evaluation-model.ts +0 -54
  569. package/src/models/hospital-evaluations-model.ts +0 -42
  570. package/src/models/hospital-group-item-model.ts +0 -69
  571. package/src/models/hospital-group-model.ts +0 -87
  572. package/src/models/hospital-groups-model.ts +0 -42
  573. package/src/models/hospital-item-model.ts +0 -121
  574. package/src/models/hospital-language-item-model.ts +0 -60
  575. package/src/models/hospital-languages-model.ts +0 -42
  576. package/src/models/hospital-model.ts +0 -334
  577. package/src/models/hospital-payment-gateway-model.ts +0 -36
  578. package/src/models/hospital-payment-method-item-model.ts +0 -63
  579. package/src/models/hospital-payment-method-model.ts +0 -90
  580. package/src/models/hospital-payment-methods-model.ts +0 -42
  581. package/src/models/hospital-rating-item-model.ts +0 -72
  582. package/src/models/hospital-rating-model.ts +0 -72
  583. package/src/models/hospital-rating-sorting-command.ts +0 -33
  584. package/src/models/hospital-ratings-model.ts +0 -42
  585. package/src/models/hospital-service-item-model.ts +0 -171
  586. package/src/models/hospital-service-model.ts +0 -243
  587. package/src/models/hospital-services-model.ts +0 -42
  588. package/src/models/hospital-simple-item-model.ts +0 -54
  589. package/src/models/hospital-sns-handles-model.ts +0 -42
  590. package/src/models/hospital-specialties-model.ts +0 -42
  591. package/src/models/hospital-specialties-simple-model.ts +0 -42
  592. package/src/models/hospital-specialty-item-model.ts +0 -147
  593. package/src/models/hospital-specialty-model.ts +0 -216
  594. package/src/models/hospital-specialty-simple-item-model.ts +0 -60
  595. package/src/models/hospital-tag-item-model.ts +0 -36
  596. package/src/models/hospital-tag-model.ts +0 -42
  597. package/src/models/hospital-tags-model.ts +0 -42
  598. package/src/models/hospital-working-days-batch-result-model.ts +0 -57
  599. package/src/models/hospitals-model.ts +0 -42
  600. package/src/models/hospitals-simple-model.ts +0 -42
  601. package/src/models/index.ts +0 -611
  602. package/src/models/invite-send-bird-group-channel-command.ts +0 -30
  603. package/src/models/landing-item-model.ts +0 -81
  604. package/src/models/landing-model.ts +0 -141
  605. package/src/models/landings-model.ts +0 -42
  606. package/src/models/language-item-model.ts +0 -60
  607. package/src/models/language-model.ts +0 -60
  608. package/src/models/languages-model.ts +0 -42
  609. package/src/models/location-model.ts +0 -103
  610. package/src/models/manager-affiliation-item-model.ts +0 -48
  611. package/src/models/manager-affiliation-model.ts +0 -48
  612. package/src/models/manager-affiliations-model.ts +0 -42
  613. package/src/models/manager-item-model.ts +0 -120
  614. package/src/models/manager-model.ts +0 -147
  615. package/src/models/managers-model.ts +0 -42
  616. package/src/models/marketing-type.ts +0 -32
  617. package/src/models/media-model.ts +0 -69
  618. package/src/models/media-type.ts +0 -37
  619. package/src/models/mention-type.ts +0 -31
  620. package/src/models/message-type.ts +0 -32
  621. package/src/models/metadata.ts +0 -42
  622. package/src/models/model-file.ts +0 -54
  623. package/src/models/notice-item-model.ts +0 -102
  624. package/src/models/notice-model.ts +0 -114
  625. package/src/models/notice-sorting-command.ts +0 -33
  626. package/src/models/notice-status.ts +0 -32
  627. package/src/models/notices-model.ts +0 -42
  628. package/src/models/notification-code.ts +0 -68
  629. package/src/models/notification-model.ts +0 -93
  630. package/src/models/notifications-model.ts +0 -48
  631. package/src/models/page-block-input-model.ts +0 -126
  632. package/src/models/page-block-link-input-model.ts +0 -69
  633. package/src/models/page-block-link-model.ts +0 -81
  634. package/src/models/page-block-link-type.ts +0 -32
  635. package/src/models/page-block-location-input-model.ts +0 -54
  636. package/src/models/page-block-location-model.ts +0 -54
  637. package/src/models/page-block-model.ts +0 -144
  638. package/src/models/page-block-type.ts +0 -48
  639. package/src/models/page-item-item-model.ts +0 -78
  640. package/src/models/page-item-model.ts +0 -111
  641. package/src/models/page-item-status.ts +0 -32
  642. package/src/models/page-items-model.ts +0 -42
  643. package/src/models/page-section-input-model.ts +0 -69
  644. package/src/models/page-section-list-type.ts +0 -34
  645. package/src/models/page-section-model.ts +0 -69
  646. package/src/models/paged-list-meta-data.ts +0 -84
  647. package/src/models/patient-affiliation-item-model.ts +0 -162
  648. package/src/models/patient-affiliation-model.ts +0 -162
  649. package/src/models/patient-affiliations-model.ts +0 -42
  650. package/src/models/patient-item-model.ts +0 -114
  651. package/src/models/patient-manager-item-model.ts +0 -114
  652. package/src/models/patient-manager-model.ts +0 -132
  653. package/src/models/patient-managers-model.ts +0 -42
  654. package/src/models/patient-model.ts +0 -138
  655. package/src/models/patient-walk-in-model.ts +0 -39
  656. package/src/models/patients-model.ts +0 -42
  657. package/src/models/payment-method.ts +0 -35
  658. package/src/models/payment-model.ts +0 -93
  659. package/src/models/payment-status.ts +0 -33
  660. package/src/models/period-units.ts +0 -31
  661. package/src/models/plan-hospital-item-model.ts +0 -54
  662. package/src/models/plan-hospital-model.ts +0 -54
  663. package/src/models/plan-hospitals-model.ts +0 -42
  664. package/src/models/plan-item-model.ts +0 -75
  665. package/src/models/plan-model.ts +0 -75
  666. package/src/models/plans-model.ts +0 -42
  667. package/src/models/platform.ts +0 -32
  668. package/src/models/policies-model.ts +0 -42
  669. package/src/models/policy-item-model.ts +0 -75
  670. package/src/models/policy-model.ts +0 -135
  671. package/src/models/prescription-diagnosis-input-model.ts +0 -42
  672. package/src/models/prescription-diagnosis-item-model.ts +0 -42
  673. package/src/models/prescription-item-model.ts +0 -195
  674. package/src/models/prescription-medication-input-model.ts +0 -84
  675. package/src/models/prescription-medication-item-model.ts +0 -84
  676. package/src/models/prescription-model.ts +0 -222
  677. package/src/models/prescription-symptom-input-model.ts +0 -54
  678. package/src/models/prescription-symptom-item-model.ts +0 -54
  679. package/src/models/prescriptions-model.ts +0 -42
  680. package/src/models/problem-details.ts +0 -56
  681. package/src/models/procedure.ts +0 -31
  682. package/src/models/promotion-item-model.ts +0 -99
  683. package/src/models/promotion-model.ts +0 -108
  684. package/src/models/promotion-type.ts +0 -32
  685. package/src/models/promotions-model.ts +0 -42
  686. package/src/models/recurring-interval.ts +0 -33
  687. package/src/models/refund-policy.ts +0 -32
  688. package/src/models/refund-status.ts +0 -32
  689. package/src/models/reject-appointment-command.ts +0 -39
  690. package/src/models/reject-reason.ts +0 -33
  691. package/src/models/reschedule-appointment-command.ts +0 -42
  692. package/src/models/review-type.ts +0 -32
  693. package/src/models/save-appointment-timetable-override-model.ts +0 -66
  694. package/src/models/save-appointment-timetable-overrides-result-model.ts +0 -33
  695. package/src/models/save-country-currency-command.ts +0 -30
  696. package/src/models/save-country-language-command.ts +0 -30
  697. package/src/models/save-deal-package-appointment-timetable-overrides-command.ts +0 -33
  698. package/src/models/save-doctor-affiliation-appointment-timetable-overrides-command.ts +0 -33
  699. package/src/models/save-footer-navigation-item-model.ts +0 -60
  700. package/src/models/save-footer-navigations-command.ts +0 -33
  701. package/src/models/save-form-template-command.ts +0 -105
  702. package/src/models/save-header-navigation-item-model.ts +0 -66
  703. package/src/models/save-header-navigations-command.ts +0 -33
  704. package/src/models/save-hospital-appointment-timetable-overrides-command.ts +0 -33
  705. package/src/models/save-hospital-specialty-appointment-timetable-overrides-command.ts +0 -33
  706. package/src/models/save-search-curations-command.ts +0 -33
  707. package/src/models/save-service-appointment-timetable-overrides-command.ts +0 -33
  708. package/src/models/search-curation-item-input-model.ts +0 -99
  709. package/src/models/search-curation-item-model.ts +0 -105
  710. package/src/models/search-curation-primary-item-model.ts +0 -36
  711. package/src/models/search-index-type.ts +0 -36
  712. package/src/models/secure-container-item-model.ts +0 -72
  713. package/src/models/secure-container-model.ts +0 -81
  714. package/src/models/secure-containers-model.ts +0 -42
  715. package/src/models/secure-file-model.ts +0 -93
  716. package/src/models/secure-files-uploaded-model.ts +0 -33
  717. package/src/models/send-bird-group-channel-member.ts +0 -87
  718. package/src/models/send-bird-group-channel-model.ts +0 -153
  719. package/src/models/send-bird-group-channelr-operator.ts +0 -42
  720. package/src/models/send-email-command.ts +0 -54
  721. package/src/models/send-template-version-command.ts +0 -30
  722. package/src/models/service-categories-model.ts +0 -42
  723. package/src/models/service-category-item-model.ts +0 -60
  724. package/src/models/service-category-mapping-model.ts +0 -36
  725. package/src/models/service-category-model.ts +0 -60
  726. package/src/models/service-review-item-model.ts +0 -153
  727. package/src/models/service-review-model.ts +0 -171
  728. package/src/models/service-reviews-model.ts +0 -42
  729. package/src/models/session-token.ts +0 -36
  730. package/src/models/set-hospital-into-form-template-command.ts +0 -30
  731. package/src/models/set-hospital-into-survey-form-command.ts +0 -30
  732. package/src/models/sns-handle-model.ts +0 -45
  733. package/src/models/sns-type.ts +0 -35
  734. package/src/models/sort-country-currencies-command.ts +0 -33
  735. package/src/models/sort-country-languages-command.ts +0 -33
  736. package/src/models/sort-currencies-command.ts +0 -33
  737. package/src/models/sort-footer-navigations-command.ts +0 -33
  738. package/src/models/sorting-item-model.ts +0 -36
  739. package/src/models/sorting-order.ts +0 -31
  740. package/src/models/sorting-result-model.ts +0 -33
  741. package/src/models/source-model.ts +0 -48
  742. package/src/models/specialties-model.ts +0 -42
  743. package/src/models/specialties-simple-model.ts +0 -42
  744. package/src/models/specialty-item-model.ts +0 -117
  745. package/src/models/specialty-item-simple-model.ts +0 -60
  746. package/src/models/specialty-model.ts +0 -141
  747. package/src/models/specialty-type-item-model.ts +0 -117
  748. package/src/models/specialty-type-model.ts +0 -135
  749. package/src/models/specialty-type-simple-item-model.ts +0 -60
  750. package/src/models/specialty-type-sorting-command.ts +0 -33
  751. package/src/models/specialty-types-model.ts +0 -42
  752. package/src/models/specialty-types-simple-model.ts +0 -42
  753. package/src/models/string-filter-types.ts +0 -33
  754. package/src/models/survey-form-affiliation-model.ts +0 -36
  755. package/src/models/survey-form-affiliations-model.ts +0 -42
  756. package/src/models/survey-form-duration-statistics-model.ts +0 -45
  757. package/src/models/survey-form-element-input-model.ts +0 -96
  758. package/src/models/survey-form-element-model.ts +0 -102
  759. package/src/models/survey-form-element-option-input-model.ts +0 -60
  760. package/src/models/survey-form-element-option-model.ts +0 -72
  761. package/src/models/survey-form-element-types.ts +0 -44
  762. package/src/models/survey-form-item-model.ts +0 -90
  763. package/src/models/survey-form-language-statistics-model.ts +0 -36
  764. package/src/models/survey-form-model.ts +0 -123
  765. package/src/models/survey-form-statistics-model.ts +0 -45
  766. package/src/models/survey-form-status.ts +0 -31
  767. package/src/models/survey-forms-model.ts +0 -42
  768. package/src/models/survey-result-element-model.ts +0 -54
  769. package/src/models/survey-result-element-value-model.ts +0 -42
  770. package/src/models/survey-result-item-model.ts +0 -99
  771. package/src/models/survey-result-model.ts +0 -135
  772. package/src/models/survey-result-user-model.ts +0 -42
  773. package/src/models/survey-results-model.ts +0 -42
  774. package/src/models/tag-item-model.ts +0 -48
  775. package/src/models/tag-model.ts +0 -48
  776. package/src/models/tags-model.ts +0 -42
  777. package/src/models/template-version-item-model.ts +0 -72
  778. package/src/models/template-version-model.ts +0 -72
  779. package/src/models/template-versions-model.ts +0 -42
  780. package/src/models/test-email-model.ts +0 -30
  781. package/src/models/test-email-webhook-command.ts +0 -36
  782. package/src/models/text-message.ts +0 -123
  783. package/src/models/translate-about-us-page-command.ts +0 -51
  784. package/src/models/translate-all-options.ts +0 -32
  785. package/src/models/translate-command.ts +0 -48
  786. package/src/models/translate-country-command.ts +0 -51
  787. package/src/models/translate-curation-command.ts +0 -51
  788. package/src/models/translate-deal-command.ts +0 -51
  789. package/src/models/translate-doctor-affiliation-command.ts +0 -51
  790. package/src/models/translate-form-result-command.ts +0 -51
  791. package/src/models/translate-form-template-command.ts +0 -51
  792. package/src/models/translate-hospital-command.ts +0 -51
  793. package/src/models/translate-hospital-service-command.ts +0 -51
  794. package/src/models/translate-hospital-specialty-command.ts +0 -51
  795. package/src/models/translate-landing-command.ts +0 -51
  796. package/src/models/translate-page-command.ts +0 -57
  797. package/src/models/translate-page-section-command.ts +0 -57
  798. package/src/models/translate-specialty-command.ts +0 -51
  799. package/src/models/translate-specialty-type-command.ts +0 -51
  800. package/src/models/translation-batch-result-model.ts +0 -57
  801. package/src/models/translation-charaters-model.ts +0 -42
  802. package/src/models/translation-contents-model.ts +0 -57
  803. package/src/models/translation-contents-target-model.ts +0 -42
  804. package/src/models/translation-target-entities.ts +0 -36
  805. package/src/models/update-about-us-page-command.ts +0 -105
  806. package/src/models/update-accreditation-command.ts +0 -48
  807. package/src/models/update-app-version-command.ts +0 -42
  808. package/src/models/update-article-command.ts +0 -150
  809. package/src/models/update-article-contributor-command.ts +0 -45
  810. package/src/models/update-article-source-command.ts +0 -42
  811. package/src/models/update-chadmin-command.ts +0 -87
  812. package/src/models/update-chat-user-command.ts +0 -48
  813. package/src/models/update-chmanager-command.ts +0 -87
  814. package/src/models/update-content-manager-command.ts +0 -87
  815. package/src/models/update-content-text-only-value-domains.ts +0 -38
  816. package/src/models/update-contributor-command.ts +0 -90
  817. package/src/models/update-contributor-sns-handle-command.ts +0 -39
  818. package/src/models/update-country-command.ts +0 -111
  819. package/src/models/update-curation-command.ts +0 -96
  820. package/src/models/update-currency-command.ts +0 -42
  821. package/src/models/update-deal-command.ts +0 -93
  822. package/src/models/update-deal-package-command.ts +0 -81
  823. package/src/models/update-deal-service-command.ts +0 -30
  824. package/src/models/update-doctor-affiliation-command.ts +0 -156
  825. package/src/models/update-doctor-certificate-command.ts +0 -48
  826. package/src/models/update-doctor-command.ts +0 -93
  827. package/src/models/update-doctor-education-command.ts +0 -48
  828. package/src/models/update-doctor-language-command.ts +0 -36
  829. package/src/models/update-doctor-portfolio-command.ts +0 -60
  830. package/src/models/update-doctor-specialty-command.ts +0 -30
  831. package/src/models/update-faq-category-command.ts +0 -66
  832. package/src/models/update-faq-command.ts +0 -96
  833. package/src/models/update-form-result-command.ts +0 -39
  834. package/src/models/update-grade-command.ts +0 -48
  835. package/src/models/update-hospital-bank-account-info-command.ts +0 -66
  836. package/src/models/update-hospital-branch-command.ts +0 -66
  837. package/src/models/update-hospital-branch-item-command.ts +0 -36
  838. package/src/models/update-hospital-command.ts +0 -265
  839. package/src/models/update-hospital-contact-command.ts +0 -69
  840. package/src/models/update-hospital-equipment-command.ts +0 -54
  841. package/src/models/update-hospital-group-command.ts +0 -72
  842. package/src/models/update-hospital-language-command.ts +0 -36
  843. package/src/models/update-hospital-payment-method-command.ts +0 -78
  844. package/src/models/update-hospital-rating-command.ts +0 -66
  845. package/src/models/update-hospital-service-command.ts +0 -150
  846. package/src/models/update-hospital-sns-handle-command.ts +0 -39
  847. package/src/models/update-hospital-specialty-command.ts +0 -129
  848. package/src/models/update-hospital-working-day-command.ts +0 -54
  849. package/src/models/update-landing-command.ts +0 -93
  850. package/src/models/update-language-command.ts +0 -54
  851. package/src/models/update-manager-command.ts +0 -93
  852. package/src/models/update-media-command.ts +0 -57
  853. package/src/models/update-notice-command.ts +0 -69
  854. package/src/models/update-page-command.ts +0 -90
  855. package/src/models/update-patient-affiliation-command.ts +0 -120
  856. package/src/models/update-patient-command.ts +0 -87
  857. package/src/models/update-patient-manager-command.ts +0 -87
  858. package/src/models/update-plan-command.ts +0 -63
  859. package/src/models/update-plan-hospital-command.ts +0 -30
  860. package/src/models/update-policy-command.ts +0 -87
  861. package/src/models/update-prescription-command.ts +0 -171
  862. package/src/models/update-profile-command.ts +0 -84
  863. package/src/models/update-promotion-command.ts +0 -96
  864. package/src/models/update-service-category-command.ts +0 -42
  865. package/src/models/update-service-review-command.ts +0 -90
  866. package/src/models/update-specialty-command.ts +0 -105
  867. package/src/models/update-specialty-type-command.ts +0 -114
  868. package/src/models/update-survey-form-command.ts +0 -84
  869. package/src/models/update-template-version-command.ts +0 -42
  870. package/src/models/update-web-app-command.ts +0 -78
  871. package/src/models/upi-payment-model.ts +0 -36
  872. package/src/models/upload-media-from-uri-command.ts +0 -30
  873. package/src/models/uploaded-medias-model.ts +0 -33
  874. package/src/models/user-language-model.ts +0 -60
  875. package/src/models/user-model.ts +0 -132
  876. package/src/models/user-type.ts +0 -37
  877. package/src/models/user.ts +0 -105
  878. package/src/models/web-app-environments-model.ts +0 -39
  879. package/src/models/web-app-item-model.ts +0 -120
  880. package/src/models/web-app-model.ts +0 -120
  881. package/src/models/web-apps-model.ts +0 -42
  882. package/src/models/working-day-input-model.ts +0 -60
  883. package/src/models/working-day-item-model.ts +0 -60
  884. package/src/models/working-day-model.ts +0 -60
  885. package/src/models/working-days-model.ts +0 -42
  886. package/tsconfig.json +0 -71
  887. /package/lib/models/{save-search-curations-command.js → create-curation-category-command-translation.js} +0 -0
  888. /package/lib/models/{search-curation-item-input-model.js → create-curation-category-command.js} +0 -0
  889. /package/lib/models/{search-curation-item-model.js → create-curation-command-translation.js} +0 -0
  890. /package/lib/models/{search-curation-primary-item-model.js → create-whats-app-template-media-command.js} +0 -0
@@ -1,1393 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * CloudHospital Admin Api
5
- * CloudHospital application with Swagger, Swashbuckle, and API versioning.
6
- *
7
- * The version of the OpenAPI document: 1
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 { CreatePatientAffiliationCommand } from '../models';
25
- // @ts-ignore
26
- import { CreatePatientCommand } from '../models';
27
- // @ts-ignore
28
- import { Gender } from '../models';
29
- // @ts-ignore
30
- import { GetPatientWalkInQuery } from '../models';
31
- // @ts-ignore
32
- import { PatientAffiliationModel } from '../models';
33
- // @ts-ignore
34
- import { PatientModel } from '../models';
35
- // @ts-ignore
36
- import { PatientWalkInModel } from '../models';
37
- // @ts-ignore
38
- import { PatientsModel } from '../models';
39
- // @ts-ignore
40
- import { ProblemDetails } from '../models';
41
- // @ts-ignore
42
- import { UpdatePatientAffiliationCommand } from '../models';
43
- // @ts-ignore
44
- import { UpdatePatientCommand } from '../models';
45
- /**
46
- * PatientsApi - axios parameter creator
47
- * @export
48
- */
49
- export const PatientsApiAxiosParamCreator = function (configuration?: Configuration) {
50
- return {
51
- /**
52
- *
53
- * @summary Get all Patients. (Auth policies: RequireDoctorRole)
54
- * @param {string} [hospitalId]
55
- * @param {string} [id]
56
- * @param {string} [fullname]
57
- * @param {string} [email]
58
- * @param {Gender} [gender]
59
- * @param {Date} [dateOfBirth]
60
- * @param {Date} [created]
61
- * @param {boolean} [showHidden]
62
- * @param {number} [page]
63
- * @param {number} [limit]
64
- * @param {Date} [lastRetrieved]
65
- * @param {*} [options] Override http request option.
66
- * @throws {RequiredError}
67
- */
68
- apiV1PatientsGet: async (hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
69
- const localVarPath = `/api/v1/patients`;
70
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
71
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
72
- let baseOptions;
73
- if (configuration) {
74
- baseOptions = configuration.baseOptions;
75
- }
76
-
77
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
78
- const localVarHeaderParameter = {} as any;
79
- const localVarQueryParameter = {} as any;
80
-
81
- // authentication oauth2 required
82
- // oauth required
83
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
84
-
85
- if (hospitalId !== undefined) {
86
- localVarQueryParameter['HospitalId'] = hospitalId;
87
- }
88
-
89
- if (id !== undefined) {
90
- localVarQueryParameter['Id'] = id;
91
- }
92
-
93
- if (fullname !== undefined) {
94
- localVarQueryParameter['Fullname'] = fullname;
95
- }
96
-
97
- if (email !== undefined) {
98
- localVarQueryParameter['Email'] = email;
99
- }
100
-
101
- if (gender !== undefined) {
102
- localVarQueryParameter['Gender'] = gender;
103
- }
104
-
105
- if (dateOfBirth !== undefined) {
106
- localVarQueryParameter['DateOfBirth'] = (dateOfBirth as any instanceof Date) ?
107
- (dateOfBirth as any).toISOString() :
108
- dateOfBirth;
109
- }
110
-
111
- if (created !== undefined) {
112
- localVarQueryParameter['Created'] = (created as any instanceof Date) ?
113
- (created as any).toISOString() :
114
- created;
115
- }
116
-
117
- if (showHidden !== undefined) {
118
- localVarQueryParameter['ShowHidden'] = showHidden;
119
- }
120
-
121
- if (page !== undefined) {
122
- localVarQueryParameter['page'] = page;
123
- }
124
-
125
- if (limit !== undefined) {
126
- localVarQueryParameter['limit'] = limit;
127
- }
128
-
129
- if (lastRetrieved !== undefined) {
130
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
131
- (lastRetrieved as any).toISOString() :
132
- lastRetrieved;
133
- }
134
-
135
-
136
-
137
- setSearchParams(localVarUrlObj, localVarQueryParameter);
138
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
139
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
140
-
141
- return {
142
- url: toPathString(localVarUrlObj),
143
- options: localVarRequestOptions,
144
- };
145
- },
146
- /**
147
- *
148
- * @summary Delete patient affiliation (Auth policies: RequireDoctorRole)
149
- * @param {string} patientId
150
- * @param {string} hospitalId
151
- * @param {boolean} [isPermanent]
152
- * @param {*} [options] Override http request option.
153
- * @throws {RequiredError}
154
- */
155
- apiV1PatientsPatientIdAffiliationsHospitalIdDelete: async (patientId: string, hospitalId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
156
- // verify required parameter 'patientId' is not null or undefined
157
- assertParamExists('apiV1PatientsPatientIdAffiliationsHospitalIdDelete', 'patientId', patientId)
158
- // verify required parameter 'hospitalId' is not null or undefined
159
- assertParamExists('apiV1PatientsPatientIdAffiliationsHospitalIdDelete', 'hospitalId', hospitalId)
160
- const localVarPath = `/api/v1/patients/{patientId}/affiliations/{hospitalId}`
161
- .replace(`{${"patientId"}}`, encodeURIComponent(String(patientId)))
162
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
163
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
164
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
165
- let baseOptions;
166
- if (configuration) {
167
- baseOptions = configuration.baseOptions;
168
- }
169
-
170
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
171
- const localVarHeaderParameter = {} as any;
172
- const localVarQueryParameter = {} as any;
173
-
174
- // authentication oauth2 required
175
- // oauth required
176
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
177
-
178
- if (isPermanent !== undefined) {
179
- localVarQueryParameter['isPermanent'] = isPermanent;
180
- }
181
-
182
-
183
-
184
- setSearchParams(localVarUrlObj, localVarQueryParameter);
185
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
186
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
187
-
188
- return {
189
- url: toPathString(localVarUrlObj),
190
- options: localVarRequestOptions,
191
- };
192
- },
193
- /**
194
- *
195
- * @summary Get patientAffiliation by patient id and hospital id. (Auth policies: RequireDoctorRole)
196
- * @param {string} patientId
197
- * @param {string} hospitalId
198
- * @param {string} [languageCode]
199
- * @param {*} [options] Override http request option.
200
- * @throws {RequiredError}
201
- */
202
- apiV1PatientsPatientIdAffiliationsHospitalIdGet: async (patientId: string, hospitalId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
203
- // verify required parameter 'patientId' is not null or undefined
204
- assertParamExists('apiV1PatientsPatientIdAffiliationsHospitalIdGet', 'patientId', patientId)
205
- // verify required parameter 'hospitalId' is not null or undefined
206
- assertParamExists('apiV1PatientsPatientIdAffiliationsHospitalIdGet', 'hospitalId', hospitalId)
207
- const localVarPath = `/api/v1/patients/{patientId}/affiliations/{hospitalId}`
208
- .replace(`{${"patientId"}}`, encodeURIComponent(String(patientId)))
209
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
210
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
211
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
212
- let baseOptions;
213
- if (configuration) {
214
- baseOptions = configuration.baseOptions;
215
- }
216
-
217
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
218
- const localVarHeaderParameter = {} as any;
219
- const localVarQueryParameter = {} as any;
220
-
221
- // authentication oauth2 required
222
- // oauth required
223
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
224
-
225
- if (languageCode !== undefined) {
226
- localVarQueryParameter['languageCode'] = languageCode;
227
- }
228
-
229
-
230
-
231
- setSearchParams(localVarUrlObj, localVarQueryParameter);
232
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
233
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
234
-
235
- return {
236
- url: toPathString(localVarUrlObj),
237
- options: localVarRequestOptions,
238
- };
239
- },
240
- /**
241
- *
242
- * @summary Create patient affiliation (Auth policies: RequireDoctorRole)
243
- * @param {string} patientId
244
- * @param {string} hospitalId
245
- * @param {CreatePatientAffiliationCommand} [createPatientAffiliationCommand]
246
- * @param {*} [options] Override http request option.
247
- * @throws {RequiredError}
248
- */
249
- apiV1PatientsPatientIdAffiliationsHospitalIdPost: async (patientId: string, hospitalId: string, createPatientAffiliationCommand?: CreatePatientAffiliationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
250
- // verify required parameter 'patientId' is not null or undefined
251
- assertParamExists('apiV1PatientsPatientIdAffiliationsHospitalIdPost', 'patientId', patientId)
252
- // verify required parameter 'hospitalId' is not null or undefined
253
- assertParamExists('apiV1PatientsPatientIdAffiliationsHospitalIdPost', 'hospitalId', hospitalId)
254
- const localVarPath = `/api/v1/patients/{patientId}/affiliations/{hospitalId}`
255
- .replace(`{${"patientId"}}`, encodeURIComponent(String(patientId)))
256
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
257
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
258
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
259
- let baseOptions;
260
- if (configuration) {
261
- baseOptions = configuration.baseOptions;
262
- }
263
-
264
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
265
- const localVarHeaderParameter = {} as any;
266
- const localVarQueryParameter = {} as any;
267
-
268
- // authentication oauth2 required
269
- // oauth required
270
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
271
-
272
-
273
-
274
- localVarHeaderParameter['Content-Type'] = 'application/json';
275
-
276
- setSearchParams(localVarUrlObj, localVarQueryParameter);
277
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
278
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
279
- localVarRequestOptions.data = serializeDataIfNeeded(createPatientAffiliationCommand, localVarRequestOptions, configuration)
280
-
281
- return {
282
- url: toPathString(localVarUrlObj),
283
- options: localVarRequestOptions,
284
- };
285
- },
286
- /**
287
- *
288
- * @summary Update patient affiliation (Auth policies: RequireDoctorRole)
289
- * @param {string} patientId
290
- * @param {string} hospitalId
291
- * @param {UpdatePatientAffiliationCommand} [updatePatientAffiliationCommand]
292
- * @param {*} [options] Override http request option.
293
- * @throws {RequiredError}
294
- */
295
- apiV1PatientsPatientIdAffiliationsHospitalIdPut: async (patientId: string, hospitalId: string, updatePatientAffiliationCommand?: UpdatePatientAffiliationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
296
- // verify required parameter 'patientId' is not null or undefined
297
- assertParamExists('apiV1PatientsPatientIdAffiliationsHospitalIdPut', 'patientId', patientId)
298
- // verify required parameter 'hospitalId' is not null or undefined
299
- assertParamExists('apiV1PatientsPatientIdAffiliationsHospitalIdPut', 'hospitalId', hospitalId)
300
- const localVarPath = `/api/v1/patients/{patientId}/affiliations/{hospitalId}`
301
- .replace(`{${"patientId"}}`, encodeURIComponent(String(patientId)))
302
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
303
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
304
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
305
- let baseOptions;
306
- if (configuration) {
307
- baseOptions = configuration.baseOptions;
308
- }
309
-
310
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
311
- const localVarHeaderParameter = {} as any;
312
- const localVarQueryParameter = {} as any;
313
-
314
- // authentication oauth2 required
315
- // oauth required
316
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
317
-
318
-
319
-
320
- localVarHeaderParameter['Content-Type'] = 'application/json';
321
-
322
- setSearchParams(localVarUrlObj, localVarQueryParameter);
323
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
324
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
325
- localVarRequestOptions.data = serializeDataIfNeeded(updatePatientAffiliationCommand, localVarRequestOptions, configuration)
326
-
327
- return {
328
- url: toPathString(localVarUrlObj),
329
- options: localVarRequestOptions,
330
- };
331
- },
332
- /**
333
- *
334
- * @summary Reactivate patient affiliation (Auth policies: RequireDoctorRole)
335
- * @param {string} patientId
336
- * @param {string} hospitalId
337
- * @param {*} [options] Override http request option.
338
- * @throws {RequiredError}
339
- */
340
- apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut: async (patientId: string, hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
341
- // verify required parameter 'patientId' is not null or undefined
342
- assertParamExists('apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut', 'patientId', patientId)
343
- // verify required parameter 'hospitalId' is not null or undefined
344
- assertParamExists('apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut', 'hospitalId', hospitalId)
345
- const localVarPath = `/api/v1/patients/{patientId}/affiliations/{hospitalId}/reactivate`
346
- .replace(`{${"patientId"}}`, encodeURIComponent(String(patientId)))
347
- .replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
348
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
349
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
350
- let baseOptions;
351
- if (configuration) {
352
- baseOptions = configuration.baseOptions;
353
- }
354
-
355
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
356
- const localVarHeaderParameter = {} as any;
357
- const localVarQueryParameter = {} as any;
358
-
359
- // authentication oauth2 required
360
- // oauth required
361
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
362
-
363
-
364
-
365
- setSearchParams(localVarUrlObj, localVarQueryParameter);
366
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
367
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
368
-
369
- return {
370
- url: toPathString(localVarUrlObj),
371
- options: localVarRequestOptions,
372
- };
373
- },
374
- /**
375
- *
376
- * @summary Delete Patient. (Auth policies: RequireManagerRole)
377
- * @param {string} patientId
378
- * @param {boolean} [isPermanent]
379
- * @param {*} [options] Override http request option.
380
- * @throws {RequiredError}
381
- */
382
- apiV1PatientsPatientIdDelete: async (patientId: string, isPermanent?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
383
- // verify required parameter 'patientId' is not null or undefined
384
- assertParamExists('apiV1PatientsPatientIdDelete', 'patientId', patientId)
385
- const localVarPath = `/api/v1/patients/{patientId}`
386
- .replace(`{${"patientId"}}`, encodeURIComponent(String(patientId)));
387
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
388
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
389
- let baseOptions;
390
- if (configuration) {
391
- baseOptions = configuration.baseOptions;
392
- }
393
-
394
- const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
395
- const localVarHeaderParameter = {} as any;
396
- const localVarQueryParameter = {} as any;
397
-
398
- // authentication oauth2 required
399
- // oauth required
400
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
401
-
402
- if (isPermanent !== undefined) {
403
- localVarQueryParameter['isPermanent'] = isPermanent;
404
- }
405
-
406
-
407
-
408
- setSearchParams(localVarUrlObj, localVarQueryParameter);
409
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
410
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
411
-
412
- return {
413
- url: toPathString(localVarUrlObj),
414
- options: localVarRequestOptions,
415
- };
416
- },
417
- /**
418
- *
419
- * @summary Get Patient. (Auth policies: RequireDoctorRole)
420
- * @param {string} patientId
421
- * @param {*} [options] Override http request option.
422
- * @throws {RequiredError}
423
- */
424
- apiV1PatientsPatientIdGet: async (patientId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
425
- // verify required parameter 'patientId' is not null or undefined
426
- assertParamExists('apiV1PatientsPatientIdGet', 'patientId', patientId)
427
- const localVarPath = `/api/v1/patients/{patientId}`
428
- .replace(`{${"patientId"}}`, encodeURIComponent(String(patientId)));
429
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
430
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
431
- let baseOptions;
432
- if (configuration) {
433
- baseOptions = configuration.baseOptions;
434
- }
435
-
436
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
437
- const localVarHeaderParameter = {} as any;
438
- const localVarQueryParameter = {} as any;
439
-
440
- // authentication oauth2 required
441
- // oauth required
442
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
443
-
444
-
445
-
446
- setSearchParams(localVarUrlObj, localVarQueryParameter);
447
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
448
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
449
-
450
- return {
451
- url: toPathString(localVarUrlObj),
452
- options: localVarRequestOptions,
453
- };
454
- },
455
- /**
456
- *
457
- * @summary Update Patient. (Auth policies: RequireManagerRole)
458
- * @param {string} patientId
459
- * @param {UpdatePatientCommand} [updatePatientCommand]
460
- * @param {*} [options] Override http request option.
461
- * @throws {RequiredError}
462
- */
463
- apiV1PatientsPatientIdPut: async (patientId: string, updatePatientCommand?: UpdatePatientCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
464
- // verify required parameter 'patientId' is not null or undefined
465
- assertParamExists('apiV1PatientsPatientIdPut', 'patientId', patientId)
466
- const localVarPath = `/api/v1/patients/{patientId}`
467
- .replace(`{${"patientId"}}`, encodeURIComponent(String(patientId)));
468
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
469
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
470
- let baseOptions;
471
- if (configuration) {
472
- baseOptions = configuration.baseOptions;
473
- }
474
-
475
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
476
- const localVarHeaderParameter = {} as any;
477
- const localVarQueryParameter = {} as any;
478
-
479
- // authentication oauth2 required
480
- // oauth required
481
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
482
-
483
-
484
-
485
- localVarHeaderParameter['Content-Type'] = 'application/json';
486
-
487
- setSearchParams(localVarUrlObj, localVarQueryParameter);
488
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
489
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
490
- localVarRequestOptions.data = serializeDataIfNeeded(updatePatientCommand, localVarRequestOptions, configuration)
491
-
492
- return {
493
- url: toPathString(localVarUrlObj),
494
- options: localVarRequestOptions,
495
- };
496
- },
497
- /**
498
- *
499
- * @summary Reactive Patient. (Auth policies: RequireManagerRole)
500
- * @param {string} patientId
501
- * @param {*} [options] Override http request option.
502
- * @throws {RequiredError}
503
- */
504
- apiV1PatientsPatientIdReactivatePut: async (patientId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
505
- // verify required parameter 'patientId' is not null or undefined
506
- assertParamExists('apiV1PatientsPatientIdReactivatePut', 'patientId', patientId)
507
- const localVarPath = `/api/v1/patients/{patientId}/reactivate`
508
- .replace(`{${"patientId"}}`, encodeURIComponent(String(patientId)));
509
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
510
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
511
- let baseOptions;
512
- if (configuration) {
513
- baseOptions = configuration.baseOptions;
514
- }
515
-
516
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
517
- const localVarHeaderParameter = {} as any;
518
- const localVarQueryParameter = {} as any;
519
-
520
- // authentication oauth2 required
521
- // oauth required
522
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
523
-
524
-
525
-
526
- setSearchParams(localVarUrlObj, localVarQueryParameter);
527
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
528
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
529
-
530
- return {
531
- url: toPathString(localVarUrlObj),
532
- options: localVarRequestOptions,
533
- };
534
- },
535
- /**
536
- *
537
- * @summary Create a Patient. (Auth policies: RequireDoctorRole)
538
- * @param {CreatePatientCommand} [createPatientCommand]
539
- * @param {*} [options] Override http request option.
540
- * @throws {RequiredError}
541
- */
542
- apiV1PatientsPost: async (createPatientCommand?: CreatePatientCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
543
- const localVarPath = `/api/v1/patients`;
544
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
545
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
546
- let baseOptions;
547
- if (configuration) {
548
- baseOptions = configuration.baseOptions;
549
- }
550
-
551
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
552
- const localVarHeaderParameter = {} as any;
553
- const localVarQueryParameter = {} as any;
554
-
555
- // authentication oauth2 required
556
- // oauth required
557
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
558
-
559
-
560
-
561
- localVarHeaderParameter['Content-Type'] = 'application/json';
562
-
563
- setSearchParams(localVarUrlObj, localVarQueryParameter);
564
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
565
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
566
- localVarRequestOptions.data = serializeDataIfNeeded(createPatientCommand, localVarRequestOptions, configuration)
567
-
568
- return {
569
- url: toPathString(localVarUrlObj),
570
- options: localVarRequestOptions,
571
- };
572
- },
573
- /**
574
- *
575
- * @summary Get patient information for Patient walk-in feature (Auth policies: RequireDoctorRole)
576
- * @param {GetPatientWalkInQuery} [getPatientWalkInQuery]
577
- * @param {*} [options] Override http request option.
578
- * @throws {RequiredError}
579
- */
580
- apiV1PatientsWalkinPost: async (getPatientWalkInQuery?: GetPatientWalkInQuery, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
581
- const localVarPath = `/api/v1/patients/walkin`;
582
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
583
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
584
- let baseOptions;
585
- if (configuration) {
586
- baseOptions = configuration.baseOptions;
587
- }
588
-
589
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
590
- const localVarHeaderParameter = {} as any;
591
- const localVarQueryParameter = {} as any;
592
-
593
- // authentication oauth2 required
594
- // oauth required
595
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_admin_api"], configuration)
596
-
597
-
598
-
599
- localVarHeaderParameter['Content-Type'] = 'application/json';
600
-
601
- setSearchParams(localVarUrlObj, localVarQueryParameter);
602
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
603
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
604
- localVarRequestOptions.data = serializeDataIfNeeded(getPatientWalkInQuery, localVarRequestOptions, configuration)
605
-
606
- return {
607
- url: toPathString(localVarUrlObj),
608
- options: localVarRequestOptions,
609
- };
610
- },
611
- }
612
- };
613
-
614
- /**
615
- * PatientsApi - functional programming interface
616
- * @export
617
- */
618
- export const PatientsApiFp = function(configuration?: Configuration) {
619
- const localVarAxiosParamCreator = PatientsApiAxiosParamCreator(configuration)
620
- return {
621
- /**
622
- *
623
- * @summary Get all Patients. (Auth policies: RequireDoctorRole)
624
- * @param {string} [hospitalId]
625
- * @param {string} [id]
626
- * @param {string} [fullname]
627
- * @param {string} [email]
628
- * @param {Gender} [gender]
629
- * @param {Date} [dateOfBirth]
630
- * @param {Date} [created]
631
- * @param {boolean} [showHidden]
632
- * @param {number} [page]
633
- * @param {number} [limit]
634
- * @param {Date} [lastRetrieved]
635
- * @param {*} [options] Override http request option.
636
- * @throws {RequiredError}
637
- */
638
- async apiV1PatientsGet(hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientsModel>> {
639
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PatientsGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options);
640
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
641
- },
642
- /**
643
- *
644
- * @summary Delete patient affiliation (Auth policies: RequireDoctorRole)
645
- * @param {string} patientId
646
- * @param {string} hospitalId
647
- * @param {boolean} [isPermanent]
648
- * @param {*} [options] Override http request option.
649
- * @throws {RequiredError}
650
- */
651
- async apiV1PatientsPatientIdAffiliationsHospitalIdDelete(patientId: string, hospitalId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
652
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PatientsPatientIdAffiliationsHospitalIdDelete(patientId, hospitalId, isPermanent, options);
653
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
654
- },
655
- /**
656
- *
657
- * @summary Get patientAffiliation by patient id and hospital id. (Auth policies: RequireDoctorRole)
658
- * @param {string} patientId
659
- * @param {string} hospitalId
660
- * @param {string} [languageCode]
661
- * @param {*} [options] Override http request option.
662
- * @throws {RequiredError}
663
- */
664
- async apiV1PatientsPatientIdAffiliationsHospitalIdGet(patientId: string, hospitalId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientAffiliationModel>> {
665
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PatientsPatientIdAffiliationsHospitalIdGet(patientId, hospitalId, languageCode, options);
666
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
667
- },
668
- /**
669
- *
670
- * @summary Create patient affiliation (Auth policies: RequireDoctorRole)
671
- * @param {string} patientId
672
- * @param {string} hospitalId
673
- * @param {CreatePatientAffiliationCommand} [createPatientAffiliationCommand]
674
- * @param {*} [options] Override http request option.
675
- * @throws {RequiredError}
676
- */
677
- async apiV1PatientsPatientIdAffiliationsHospitalIdPost(patientId: string, hospitalId: string, createPatientAffiliationCommand?: CreatePatientAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
678
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PatientsPatientIdAffiliationsHospitalIdPost(patientId, hospitalId, createPatientAffiliationCommand, options);
679
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
680
- },
681
- /**
682
- *
683
- * @summary Update patient affiliation (Auth policies: RequireDoctorRole)
684
- * @param {string} patientId
685
- * @param {string} hospitalId
686
- * @param {UpdatePatientAffiliationCommand} [updatePatientAffiliationCommand]
687
- * @param {*} [options] Override http request option.
688
- * @throws {RequiredError}
689
- */
690
- async apiV1PatientsPatientIdAffiliationsHospitalIdPut(patientId: string, hospitalId: string, updatePatientAffiliationCommand?: UpdatePatientAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
691
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PatientsPatientIdAffiliationsHospitalIdPut(patientId, hospitalId, updatePatientAffiliationCommand, options);
692
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
693
- },
694
- /**
695
- *
696
- * @summary Reactivate patient affiliation (Auth policies: RequireDoctorRole)
697
- * @param {string} patientId
698
- * @param {string} hospitalId
699
- * @param {*} [options] Override http request option.
700
- * @throws {RequiredError}
701
- */
702
- async apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut(patientId: string, hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
703
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut(patientId, hospitalId, options);
704
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
705
- },
706
- /**
707
- *
708
- * @summary Delete Patient. (Auth policies: RequireManagerRole)
709
- * @param {string} patientId
710
- * @param {boolean} [isPermanent]
711
- * @param {*} [options] Override http request option.
712
- * @throws {RequiredError}
713
- */
714
- async apiV1PatientsPatientIdDelete(patientId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
715
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PatientsPatientIdDelete(patientId, isPermanent, options);
716
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
717
- },
718
- /**
719
- *
720
- * @summary Get Patient. (Auth policies: RequireDoctorRole)
721
- * @param {string} patientId
722
- * @param {*} [options] Override http request option.
723
- * @throws {RequiredError}
724
- */
725
- async apiV1PatientsPatientIdGet(patientId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientModel>> {
726
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PatientsPatientIdGet(patientId, options);
727
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
728
- },
729
- /**
730
- *
731
- * @summary Update Patient. (Auth policies: RequireManagerRole)
732
- * @param {string} patientId
733
- * @param {UpdatePatientCommand} [updatePatientCommand]
734
- * @param {*} [options] Override http request option.
735
- * @throws {RequiredError}
736
- */
737
- async apiV1PatientsPatientIdPut(patientId: string, updatePatientCommand?: UpdatePatientCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientModel>> {
738
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PatientsPatientIdPut(patientId, updatePatientCommand, options);
739
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
740
- },
741
- /**
742
- *
743
- * @summary Reactive Patient. (Auth policies: RequireManagerRole)
744
- * @param {string} patientId
745
- * @param {*} [options] Override http request option.
746
- * @throws {RequiredError}
747
- */
748
- async apiV1PatientsPatientIdReactivatePut(patientId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
749
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PatientsPatientIdReactivatePut(patientId, options);
750
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
751
- },
752
- /**
753
- *
754
- * @summary Create a Patient. (Auth policies: RequireDoctorRole)
755
- * @param {CreatePatientCommand} [createPatientCommand]
756
- * @param {*} [options] Override http request option.
757
- * @throws {RequiredError}
758
- */
759
- async apiV1PatientsPost(createPatientCommand?: CreatePatientCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientModel>> {
760
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PatientsPost(createPatientCommand, options);
761
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
762
- },
763
- /**
764
- *
765
- * @summary Get patient information for Patient walk-in feature (Auth policies: RequireDoctorRole)
766
- * @param {GetPatientWalkInQuery} [getPatientWalkInQuery]
767
- * @param {*} [options] Override http request option.
768
- * @throws {RequiredError}
769
- */
770
- async apiV1PatientsWalkinPost(getPatientWalkInQuery?: GetPatientWalkInQuery, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientWalkInModel>> {
771
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1PatientsWalkinPost(getPatientWalkInQuery, options);
772
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
773
- },
774
- }
775
- };
776
-
777
- /**
778
- * PatientsApi - factory interface
779
- * @export
780
- */
781
- export const PatientsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
782
- const localVarFp = PatientsApiFp(configuration)
783
- return {
784
- /**
785
- *
786
- * @summary Get all Patients. (Auth policies: RequireDoctorRole)
787
- * @param {string} [hospitalId]
788
- * @param {string} [id]
789
- * @param {string} [fullname]
790
- * @param {string} [email]
791
- * @param {Gender} [gender]
792
- * @param {Date} [dateOfBirth]
793
- * @param {Date} [created]
794
- * @param {boolean} [showHidden]
795
- * @param {number} [page]
796
- * @param {number} [limit]
797
- * @param {Date} [lastRetrieved]
798
- * @param {*} [options] Override http request option.
799
- * @throws {RequiredError}
800
- */
801
- apiV1PatientsGet(hospitalId?: string, id?: string, fullname?: string, email?: string, gender?: Gender, dateOfBirth?: Date, created?: Date, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<PatientsModel> {
802
- return localVarFp.apiV1PatientsGet(hospitalId, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
803
- },
804
- /**
805
- *
806
- * @summary Delete patient affiliation (Auth policies: RequireDoctorRole)
807
- * @param {string} patientId
808
- * @param {string} hospitalId
809
- * @param {boolean} [isPermanent]
810
- * @param {*} [options] Override http request option.
811
- * @throws {RequiredError}
812
- */
813
- apiV1PatientsPatientIdAffiliationsHospitalIdDelete(patientId: string, hospitalId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
814
- return localVarFp.apiV1PatientsPatientIdAffiliationsHospitalIdDelete(patientId, hospitalId, isPermanent, options).then((request) => request(axios, basePath));
815
- },
816
- /**
817
- *
818
- * @summary Get patientAffiliation by patient id and hospital id. (Auth policies: RequireDoctorRole)
819
- * @param {string} patientId
820
- * @param {string} hospitalId
821
- * @param {string} [languageCode]
822
- * @param {*} [options] Override http request option.
823
- * @throws {RequiredError}
824
- */
825
- apiV1PatientsPatientIdAffiliationsHospitalIdGet(patientId: string, hospitalId: string, languageCode?: string, options?: any): AxiosPromise<PatientAffiliationModel> {
826
- return localVarFp.apiV1PatientsPatientIdAffiliationsHospitalIdGet(patientId, hospitalId, languageCode, options).then((request) => request(axios, basePath));
827
- },
828
- /**
829
- *
830
- * @summary Create patient affiliation (Auth policies: RequireDoctorRole)
831
- * @param {string} patientId
832
- * @param {string} hospitalId
833
- * @param {CreatePatientAffiliationCommand} [createPatientAffiliationCommand]
834
- * @param {*} [options] Override http request option.
835
- * @throws {RequiredError}
836
- */
837
- apiV1PatientsPatientIdAffiliationsHospitalIdPost(patientId: string, hospitalId: string, createPatientAffiliationCommand?: CreatePatientAffiliationCommand, options?: any): AxiosPromise<boolean> {
838
- return localVarFp.apiV1PatientsPatientIdAffiliationsHospitalIdPost(patientId, hospitalId, createPatientAffiliationCommand, options).then((request) => request(axios, basePath));
839
- },
840
- /**
841
- *
842
- * @summary Update patient affiliation (Auth policies: RequireDoctorRole)
843
- * @param {string} patientId
844
- * @param {string} hospitalId
845
- * @param {UpdatePatientAffiliationCommand} [updatePatientAffiliationCommand]
846
- * @param {*} [options] Override http request option.
847
- * @throws {RequiredError}
848
- */
849
- apiV1PatientsPatientIdAffiliationsHospitalIdPut(patientId: string, hospitalId: string, updatePatientAffiliationCommand?: UpdatePatientAffiliationCommand, options?: any): AxiosPromise<boolean> {
850
- return localVarFp.apiV1PatientsPatientIdAffiliationsHospitalIdPut(patientId, hospitalId, updatePatientAffiliationCommand, options).then((request) => request(axios, basePath));
851
- },
852
- /**
853
- *
854
- * @summary Reactivate patient affiliation (Auth policies: RequireDoctorRole)
855
- * @param {string} patientId
856
- * @param {string} hospitalId
857
- * @param {*} [options] Override http request option.
858
- * @throws {RequiredError}
859
- */
860
- apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut(patientId: string, hospitalId: string, options?: any): AxiosPromise<boolean> {
861
- return localVarFp.apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut(patientId, hospitalId, options).then((request) => request(axios, basePath));
862
- },
863
- /**
864
- *
865
- * @summary Delete Patient. (Auth policies: RequireManagerRole)
866
- * @param {string} patientId
867
- * @param {boolean} [isPermanent]
868
- * @param {*} [options] Override http request option.
869
- * @throws {RequiredError}
870
- */
871
- apiV1PatientsPatientIdDelete(patientId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean> {
872
- return localVarFp.apiV1PatientsPatientIdDelete(patientId, isPermanent, options).then((request) => request(axios, basePath));
873
- },
874
- /**
875
- *
876
- * @summary Get Patient. (Auth policies: RequireDoctorRole)
877
- * @param {string} patientId
878
- * @param {*} [options] Override http request option.
879
- * @throws {RequiredError}
880
- */
881
- apiV1PatientsPatientIdGet(patientId: string, options?: any): AxiosPromise<PatientModel> {
882
- return localVarFp.apiV1PatientsPatientIdGet(patientId, options).then((request) => request(axios, basePath));
883
- },
884
- /**
885
- *
886
- * @summary Update Patient. (Auth policies: RequireManagerRole)
887
- * @param {string} patientId
888
- * @param {UpdatePatientCommand} [updatePatientCommand]
889
- * @param {*} [options] Override http request option.
890
- * @throws {RequiredError}
891
- */
892
- apiV1PatientsPatientIdPut(patientId: string, updatePatientCommand?: UpdatePatientCommand, options?: any): AxiosPromise<PatientModel> {
893
- return localVarFp.apiV1PatientsPatientIdPut(patientId, updatePatientCommand, options).then((request) => request(axios, basePath));
894
- },
895
- /**
896
- *
897
- * @summary Reactive Patient. (Auth policies: RequireManagerRole)
898
- * @param {string} patientId
899
- * @param {*} [options] Override http request option.
900
- * @throws {RequiredError}
901
- */
902
- apiV1PatientsPatientIdReactivatePut(patientId: string, options?: any): AxiosPromise<boolean> {
903
- return localVarFp.apiV1PatientsPatientIdReactivatePut(patientId, options).then((request) => request(axios, basePath));
904
- },
905
- /**
906
- *
907
- * @summary Create a Patient. (Auth policies: RequireDoctorRole)
908
- * @param {CreatePatientCommand} [createPatientCommand]
909
- * @param {*} [options] Override http request option.
910
- * @throws {RequiredError}
911
- */
912
- apiV1PatientsPost(createPatientCommand?: CreatePatientCommand, options?: any): AxiosPromise<PatientModel> {
913
- return localVarFp.apiV1PatientsPost(createPatientCommand, options).then((request) => request(axios, basePath));
914
- },
915
- /**
916
- *
917
- * @summary Get patient information for Patient walk-in feature (Auth policies: RequireDoctorRole)
918
- * @param {GetPatientWalkInQuery} [getPatientWalkInQuery]
919
- * @param {*} [options] Override http request option.
920
- * @throws {RequiredError}
921
- */
922
- apiV1PatientsWalkinPost(getPatientWalkInQuery?: GetPatientWalkInQuery, options?: any): AxiosPromise<PatientWalkInModel> {
923
- return localVarFp.apiV1PatientsWalkinPost(getPatientWalkInQuery, options).then((request) => request(axios, basePath));
924
- },
925
- };
926
- };
927
-
928
- /**
929
- * Request parameters for apiV1PatientsGet operation in PatientsApi.
930
- * @export
931
- * @interface PatientsApiApiV1PatientsGetRequest
932
- */
933
- export interface PatientsApiApiV1PatientsGetRequest {
934
- /**
935
- *
936
- * @type {string}
937
- * @memberof PatientsApiApiV1PatientsGet
938
- */
939
- readonly hospitalId?: string
940
-
941
- /**
942
- *
943
- * @type {string}
944
- * @memberof PatientsApiApiV1PatientsGet
945
- */
946
- readonly id?: string
947
-
948
- /**
949
- *
950
- * @type {string}
951
- * @memberof PatientsApiApiV1PatientsGet
952
- */
953
- readonly fullname?: string
954
-
955
- /**
956
- *
957
- * @type {string}
958
- * @memberof PatientsApiApiV1PatientsGet
959
- */
960
- readonly email?: string
961
-
962
- /**
963
- *
964
- * @type {Gender}
965
- * @memberof PatientsApiApiV1PatientsGet
966
- */
967
- readonly gender?: Gender
968
-
969
- /**
970
- *
971
- * @type {Date}
972
- * @memberof PatientsApiApiV1PatientsGet
973
- */
974
- readonly dateOfBirth?: Date
975
-
976
- /**
977
- *
978
- * @type {Date}
979
- * @memberof PatientsApiApiV1PatientsGet
980
- */
981
- readonly created?: Date
982
-
983
- /**
984
- *
985
- * @type {boolean}
986
- * @memberof PatientsApiApiV1PatientsGet
987
- */
988
- readonly showHidden?: boolean
989
-
990
- /**
991
- *
992
- * @type {number}
993
- * @memberof PatientsApiApiV1PatientsGet
994
- */
995
- readonly page?: number
996
-
997
- /**
998
- *
999
- * @type {number}
1000
- * @memberof PatientsApiApiV1PatientsGet
1001
- */
1002
- readonly limit?: number
1003
-
1004
- /**
1005
- *
1006
- * @type {Date}
1007
- * @memberof PatientsApiApiV1PatientsGet
1008
- */
1009
- readonly lastRetrieved?: Date
1010
- }
1011
-
1012
- /**
1013
- * Request parameters for apiV1PatientsPatientIdAffiliationsHospitalIdDelete operation in PatientsApi.
1014
- * @export
1015
- * @interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDeleteRequest
1016
- */
1017
- export interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDeleteRequest {
1018
- /**
1019
- *
1020
- * @type {string}
1021
- * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDelete
1022
- */
1023
- readonly patientId: string
1024
-
1025
- /**
1026
- *
1027
- * @type {string}
1028
- * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDelete
1029
- */
1030
- readonly hospitalId: string
1031
-
1032
- /**
1033
- *
1034
- * @type {boolean}
1035
- * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDelete
1036
- */
1037
- readonly isPermanent?: boolean
1038
- }
1039
-
1040
- /**
1041
- * Request parameters for apiV1PatientsPatientIdAffiliationsHospitalIdGet operation in PatientsApi.
1042
- * @export
1043
- * @interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdGetRequest
1044
- */
1045
- export interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdGetRequest {
1046
- /**
1047
- *
1048
- * @type {string}
1049
- * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdGet
1050
- */
1051
- readonly patientId: string
1052
-
1053
- /**
1054
- *
1055
- * @type {string}
1056
- * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdGet
1057
- */
1058
- readonly hospitalId: string
1059
-
1060
- /**
1061
- *
1062
- * @type {string}
1063
- * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdGet
1064
- */
1065
- readonly languageCode?: string
1066
- }
1067
-
1068
- /**
1069
- * Request parameters for apiV1PatientsPatientIdAffiliationsHospitalIdPost operation in PatientsApi.
1070
- * @export
1071
- * @interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequest
1072
- */
1073
- export interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequest {
1074
- /**
1075
- *
1076
- * @type {string}
1077
- * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPost
1078
- */
1079
- readonly patientId: string
1080
-
1081
- /**
1082
- *
1083
- * @type {string}
1084
- * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPost
1085
- */
1086
- readonly hospitalId: string
1087
-
1088
- /**
1089
- *
1090
- * @type {CreatePatientAffiliationCommand}
1091
- * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPost
1092
- */
1093
- readonly createPatientAffiliationCommand?: CreatePatientAffiliationCommand
1094
- }
1095
-
1096
- /**
1097
- * Request parameters for apiV1PatientsPatientIdAffiliationsHospitalIdPut operation in PatientsApi.
1098
- * @export
1099
- * @interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPutRequest
1100
- */
1101
- export interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPutRequest {
1102
- /**
1103
- *
1104
- * @type {string}
1105
- * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPut
1106
- */
1107
- readonly patientId: string
1108
-
1109
- /**
1110
- *
1111
- * @type {string}
1112
- * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPut
1113
- */
1114
- readonly hospitalId: string
1115
-
1116
- /**
1117
- *
1118
- * @type {UpdatePatientAffiliationCommand}
1119
- * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPut
1120
- */
1121
- readonly updatePatientAffiliationCommand?: UpdatePatientAffiliationCommand
1122
- }
1123
-
1124
- /**
1125
- * Request parameters for apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut operation in PatientsApi.
1126
- * @export
1127
- * @interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivatePutRequest
1128
- */
1129
- export interface PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivatePutRequest {
1130
- /**
1131
- *
1132
- * @type {string}
1133
- * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut
1134
- */
1135
- readonly patientId: string
1136
-
1137
- /**
1138
- *
1139
- * @type {string}
1140
- * @memberof PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut
1141
- */
1142
- readonly hospitalId: string
1143
- }
1144
-
1145
- /**
1146
- * Request parameters for apiV1PatientsPatientIdDelete operation in PatientsApi.
1147
- * @export
1148
- * @interface PatientsApiApiV1PatientsPatientIdDeleteRequest
1149
- */
1150
- export interface PatientsApiApiV1PatientsPatientIdDeleteRequest {
1151
- /**
1152
- *
1153
- * @type {string}
1154
- * @memberof PatientsApiApiV1PatientsPatientIdDelete
1155
- */
1156
- readonly patientId: string
1157
-
1158
- /**
1159
- *
1160
- * @type {boolean}
1161
- * @memberof PatientsApiApiV1PatientsPatientIdDelete
1162
- */
1163
- readonly isPermanent?: boolean
1164
- }
1165
-
1166
- /**
1167
- * Request parameters for apiV1PatientsPatientIdGet operation in PatientsApi.
1168
- * @export
1169
- * @interface PatientsApiApiV1PatientsPatientIdGetRequest
1170
- */
1171
- export interface PatientsApiApiV1PatientsPatientIdGetRequest {
1172
- /**
1173
- *
1174
- * @type {string}
1175
- * @memberof PatientsApiApiV1PatientsPatientIdGet
1176
- */
1177
- readonly patientId: string
1178
- }
1179
-
1180
- /**
1181
- * Request parameters for apiV1PatientsPatientIdPut operation in PatientsApi.
1182
- * @export
1183
- * @interface PatientsApiApiV1PatientsPatientIdPutRequest
1184
- */
1185
- export interface PatientsApiApiV1PatientsPatientIdPutRequest {
1186
- /**
1187
- *
1188
- * @type {string}
1189
- * @memberof PatientsApiApiV1PatientsPatientIdPut
1190
- */
1191
- readonly patientId: string
1192
-
1193
- /**
1194
- *
1195
- * @type {UpdatePatientCommand}
1196
- * @memberof PatientsApiApiV1PatientsPatientIdPut
1197
- */
1198
- readonly updatePatientCommand?: UpdatePatientCommand
1199
- }
1200
-
1201
- /**
1202
- * Request parameters for apiV1PatientsPatientIdReactivatePut operation in PatientsApi.
1203
- * @export
1204
- * @interface PatientsApiApiV1PatientsPatientIdReactivatePutRequest
1205
- */
1206
- export interface PatientsApiApiV1PatientsPatientIdReactivatePutRequest {
1207
- /**
1208
- *
1209
- * @type {string}
1210
- * @memberof PatientsApiApiV1PatientsPatientIdReactivatePut
1211
- */
1212
- readonly patientId: string
1213
- }
1214
-
1215
- /**
1216
- * Request parameters for apiV1PatientsPost operation in PatientsApi.
1217
- * @export
1218
- * @interface PatientsApiApiV1PatientsPostRequest
1219
- */
1220
- export interface PatientsApiApiV1PatientsPostRequest {
1221
- /**
1222
- *
1223
- * @type {CreatePatientCommand}
1224
- * @memberof PatientsApiApiV1PatientsPost
1225
- */
1226
- readonly createPatientCommand?: CreatePatientCommand
1227
- }
1228
-
1229
- /**
1230
- * Request parameters for apiV1PatientsWalkinPost operation in PatientsApi.
1231
- * @export
1232
- * @interface PatientsApiApiV1PatientsWalkinPostRequest
1233
- */
1234
- export interface PatientsApiApiV1PatientsWalkinPostRequest {
1235
- /**
1236
- *
1237
- * @type {GetPatientWalkInQuery}
1238
- * @memberof PatientsApiApiV1PatientsWalkinPost
1239
- */
1240
- readonly getPatientWalkInQuery?: GetPatientWalkInQuery
1241
- }
1242
-
1243
- /**
1244
- * PatientsApi - object-oriented interface
1245
- * @export
1246
- * @class PatientsApi
1247
- * @extends {BaseAPI}
1248
- */
1249
- export class PatientsApi extends BaseAPI {
1250
- /**
1251
- *
1252
- * @summary Get all Patients. (Auth policies: RequireDoctorRole)
1253
- * @param {PatientsApiApiV1PatientsGetRequest} requestParameters Request parameters.
1254
- * @param {*} [options] Override http request option.
1255
- * @throws {RequiredError}
1256
- * @memberof PatientsApi
1257
- */
1258
- public apiV1PatientsGet(requestParameters: PatientsApiApiV1PatientsGetRequest = {}, options?: AxiosRequestConfig) {
1259
- return PatientsApiFp(this.configuration).apiV1PatientsGet(requestParameters.hospitalId, requestParameters.id, requestParameters.fullname, requestParameters.email, requestParameters.gender, requestParameters.dateOfBirth, requestParameters.created, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
1260
- }
1261
-
1262
- /**
1263
- *
1264
- * @summary Delete patient affiliation (Auth policies: RequireDoctorRole)
1265
- * @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDeleteRequest} requestParameters Request parameters.
1266
- * @param {*} [options] Override http request option.
1267
- * @throws {RequiredError}
1268
- * @memberof PatientsApi
1269
- */
1270
- public apiV1PatientsPatientIdAffiliationsHospitalIdDelete(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDeleteRequest, options?: AxiosRequestConfig) {
1271
- return PatientsApiFp(this.configuration).apiV1PatientsPatientIdAffiliationsHospitalIdDelete(requestParameters.patientId, requestParameters.hospitalId, requestParameters.isPermanent, options).then((request) => request(this.axios, this.basePath));
1272
- }
1273
-
1274
- /**
1275
- *
1276
- * @summary Get patientAffiliation by patient id and hospital id. (Auth policies: RequireDoctorRole)
1277
- * @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdGetRequest} requestParameters Request parameters.
1278
- * @param {*} [options] Override http request option.
1279
- * @throws {RequiredError}
1280
- * @memberof PatientsApi
1281
- */
1282
- public apiV1PatientsPatientIdAffiliationsHospitalIdGet(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdGetRequest, options?: AxiosRequestConfig) {
1283
- return PatientsApiFp(this.configuration).apiV1PatientsPatientIdAffiliationsHospitalIdGet(requestParameters.patientId, requestParameters.hospitalId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
1284
- }
1285
-
1286
- /**
1287
- *
1288
- * @summary Create patient affiliation (Auth policies: RequireDoctorRole)
1289
- * @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequest} requestParameters Request parameters.
1290
- * @param {*} [options] Override http request option.
1291
- * @throws {RequiredError}
1292
- * @memberof PatientsApi
1293
- */
1294
- public apiV1PatientsPatientIdAffiliationsHospitalIdPost(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequest, options?: AxiosRequestConfig) {
1295
- return PatientsApiFp(this.configuration).apiV1PatientsPatientIdAffiliationsHospitalIdPost(requestParameters.patientId, requestParameters.hospitalId, requestParameters.createPatientAffiliationCommand, options).then((request) => request(this.axios, this.basePath));
1296
- }
1297
-
1298
- /**
1299
- *
1300
- * @summary Update patient affiliation (Auth policies: RequireDoctorRole)
1301
- * @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPutRequest} requestParameters Request parameters.
1302
- * @param {*} [options] Override http request option.
1303
- * @throws {RequiredError}
1304
- * @memberof PatientsApi
1305
- */
1306
- public apiV1PatientsPatientIdAffiliationsHospitalIdPut(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPutRequest, options?: AxiosRequestConfig) {
1307
- return PatientsApiFp(this.configuration).apiV1PatientsPatientIdAffiliationsHospitalIdPut(requestParameters.patientId, requestParameters.hospitalId, requestParameters.updatePatientAffiliationCommand, options).then((request) => request(this.axios, this.basePath));
1308
- }
1309
-
1310
- /**
1311
- *
1312
- * @summary Reactivate patient affiliation (Auth policies: RequireDoctorRole)
1313
- * @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivatePutRequest} requestParameters Request parameters.
1314
- * @param {*} [options] Override http request option.
1315
- * @throws {RequiredError}
1316
- * @memberof PatientsApi
1317
- */
1318
- public apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivatePutRequest, options?: AxiosRequestConfig) {
1319
- return PatientsApiFp(this.configuration).apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut(requestParameters.patientId, requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
1320
- }
1321
-
1322
- /**
1323
- *
1324
- * @summary Delete Patient. (Auth policies: RequireManagerRole)
1325
- * @param {PatientsApiApiV1PatientsPatientIdDeleteRequest} requestParameters Request parameters.
1326
- * @param {*} [options] Override http request option.
1327
- * @throws {RequiredError}
1328
- * @memberof PatientsApi
1329
- */
1330
- public apiV1PatientsPatientIdDelete(requestParameters: PatientsApiApiV1PatientsPatientIdDeleteRequest, options?: AxiosRequestConfig) {
1331
- return PatientsApiFp(this.configuration).apiV1PatientsPatientIdDelete(requestParameters.patientId, requestParameters.isPermanent, options).then((request) => request(this.axios, this.basePath));
1332
- }
1333
-
1334
- /**
1335
- *
1336
- * @summary Get Patient. (Auth policies: RequireDoctorRole)
1337
- * @param {PatientsApiApiV1PatientsPatientIdGetRequest} requestParameters Request parameters.
1338
- * @param {*} [options] Override http request option.
1339
- * @throws {RequiredError}
1340
- * @memberof PatientsApi
1341
- */
1342
- public apiV1PatientsPatientIdGet(requestParameters: PatientsApiApiV1PatientsPatientIdGetRequest, options?: AxiosRequestConfig) {
1343
- return PatientsApiFp(this.configuration).apiV1PatientsPatientIdGet(requestParameters.patientId, options).then((request) => request(this.axios, this.basePath));
1344
- }
1345
-
1346
- /**
1347
- *
1348
- * @summary Update Patient. (Auth policies: RequireManagerRole)
1349
- * @param {PatientsApiApiV1PatientsPatientIdPutRequest} requestParameters Request parameters.
1350
- * @param {*} [options] Override http request option.
1351
- * @throws {RequiredError}
1352
- * @memberof PatientsApi
1353
- */
1354
- public apiV1PatientsPatientIdPut(requestParameters: PatientsApiApiV1PatientsPatientIdPutRequest, options?: AxiosRequestConfig) {
1355
- return PatientsApiFp(this.configuration).apiV1PatientsPatientIdPut(requestParameters.patientId, requestParameters.updatePatientCommand, options).then((request) => request(this.axios, this.basePath));
1356
- }
1357
-
1358
- /**
1359
- *
1360
- * @summary Reactive Patient. (Auth policies: RequireManagerRole)
1361
- * @param {PatientsApiApiV1PatientsPatientIdReactivatePutRequest} requestParameters Request parameters.
1362
- * @param {*} [options] Override http request option.
1363
- * @throws {RequiredError}
1364
- * @memberof PatientsApi
1365
- */
1366
- public apiV1PatientsPatientIdReactivatePut(requestParameters: PatientsApiApiV1PatientsPatientIdReactivatePutRequest, options?: AxiosRequestConfig) {
1367
- return PatientsApiFp(this.configuration).apiV1PatientsPatientIdReactivatePut(requestParameters.patientId, options).then((request) => request(this.axios, this.basePath));
1368
- }
1369
-
1370
- /**
1371
- *
1372
- * @summary Create a Patient. (Auth policies: RequireDoctorRole)
1373
- * @param {PatientsApiApiV1PatientsPostRequest} requestParameters Request parameters.
1374
- * @param {*} [options] Override http request option.
1375
- * @throws {RequiredError}
1376
- * @memberof PatientsApi
1377
- */
1378
- public apiV1PatientsPost(requestParameters: PatientsApiApiV1PatientsPostRequest = {}, options?: AxiosRequestConfig) {
1379
- return PatientsApiFp(this.configuration).apiV1PatientsPost(requestParameters.createPatientCommand, options).then((request) => request(this.axios, this.basePath));
1380
- }
1381
-
1382
- /**
1383
- *
1384
- * @summary Get patient information for Patient walk-in feature (Auth policies: RequireDoctorRole)
1385
- * @param {PatientsApiApiV1PatientsWalkinPostRequest} requestParameters Request parameters.
1386
- * @param {*} [options] Override http request option.
1387
- * @throws {RequiredError}
1388
- * @memberof PatientsApi
1389
- */
1390
- public apiV1PatientsWalkinPost(requestParameters: PatientsApiApiV1PatientsWalkinPostRequest = {}, options?: AxiosRequestConfig) {
1391
- return PatientsApiFp(this.configuration).apiV1PatientsWalkinPost(requestParameters.getPatientWalkInQuery, options).then((request) => request(this.axios, this.basePath));
1392
- }
1393
- }