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

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 (796) 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.map +1 -1
  8. package/lib/api/appointments-api.js +102 -41
  9. package/lib/api/articles-api.d.ts.map +1 -1
  10. package/lib/api/articles-api.js +193 -80
  11. package/lib/api/azure-functions-app-webhooks-api.d.ts.map +1 -1
  12. package/lib/api/azure-functions-app-webhooks-api.js +18 -5
  13. package/lib/api/call-histories-api.d.ts.map +1 -1
  14. package/lib/api/call-histories-api.js +25 -8
  15. package/lib/api/chadmins-api.d.ts.map +1 -1
  16. package/lib/api/chadmins-api.js +46 -17
  17. package/lib/api/chat-users-api.d.ts.map +1 -1
  18. package/lib/api/chat-users-api.js +60 -23
  19. package/lib/api/chmanagers-api.d.ts.map +1 -1
  20. package/lib/api/chmanagers-api.js +46 -17
  21. package/lib/api/communications-api.d.ts.map +1 -1
  22. package/lib/api/communications-api.js +32 -11
  23. package/lib/api/content-managers-api.d.ts.map +1 -1
  24. package/lib/api/content-managers-api.js +53 -20
  25. package/lib/api/contributors-api.d.ts.map +1 -1
  26. package/lib/api/contributors-api.js +95 -38
  27. package/lib/api/countries-api.d.ts.map +1 -1
  28. package/lib/api/countries-api.js +186 -77
  29. package/lib/api/curations-api.d.ts.map +1 -1
  30. package/lib/api/curations-api.js +67 -26
  31. package/lib/api/currencies-api.d.ts.map +1 -1
  32. package/lib/api/currencies-api.js +60 -23
  33. package/lib/api/dash-board-api.d.ts.map +1 -1
  34. package/lib/api/dash-board-api.js +46 -17
  35. package/lib/api/deals-api.d.ts.map +1 -1
  36. package/lib/api/deals-api.js +186 -77
  37. package/lib/api/dev-supports-api.d.ts.map +1 -1
  38. package/lib/api/dev-supports-api.js +39 -14
  39. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  40. package/lib/api/doctor-affiliations-api.js +144 -59
  41. package/lib/api/doctors-api.d.ts.map +1 -1
  42. package/lib/api/doctors-api.js +291 -122
  43. package/lib/api/email-marketings-api.d.ts.map +1 -1
  44. package/lib/api/email-marketings-api.js +53 -20
  45. package/lib/api/email-webhooks-api.d.ts.map +1 -1
  46. package/lib/api/email-webhooks-api.js +39 -14
  47. package/lib/api/faq-categories-api.d.ts.map +1 -1
  48. package/lib/api/faq-categories-api.js +60 -23
  49. package/lib/api/faqs-api.d.ts.map +1 -1
  50. package/lib/api/faqs-api.js +123 -50
  51. package/lib/api/form-results-api.d.ts.map +1 -1
  52. package/lib/api/form-results-api.js +46 -17
  53. package/lib/api/form-templates-api.d.ts.map +1 -1
  54. package/lib/api/form-templates-api.js +81 -32
  55. package/lib/api/grades-api.d.ts.map +1 -1
  56. package/lib/api/grades-api.js +46 -17
  57. package/lib/api/group-channels-api.d.ts.map +1 -1
  58. package/lib/api/group-channels-api.js +25 -8
  59. package/lib/api/hospital-branches-api.d.ts.map +1 -1
  60. package/lib/api/hospital-branches-api.js +74 -29
  61. package/lib/api/hospital-groups-api.d.ts.map +1 -1
  62. package/lib/api/hospital-groups-api.js +53 -20
  63. package/lib/api/hospitals-api.d.ts.map +1 -1
  64. package/lib/api/hospitals-api.js +1257 -536
  65. package/lib/api/images-api.d.ts.map +1 -1
  66. package/lib/api/images-api.js +25 -8
  67. package/lib/api/languages-api.d.ts.map +1 -1
  68. package/lib/api/languages-api.js +46 -17
  69. package/lib/api/managers-api.d.ts.map +1 -1
  70. package/lib/api/managers-api.js +74 -29
  71. package/lib/api/notifications-api.d.ts.map +1 -1
  72. package/lib/api/notifications-api.js +25 -8
  73. package/lib/api/patient-affiliations-api.d.ts.map +1 -1
  74. package/lib/api/patient-affiliations-api.js +25 -8
  75. package/lib/api/patient-managers-api.d.ts.map +1 -1
  76. package/lib/api/patient-managers-api.js +53 -20
  77. package/lib/api/patients-api.d.ts.map +1 -1
  78. package/lib/api/patients-api.js +95 -38
  79. package/lib/api/payments-api.d.ts.map +1 -1
  80. package/lib/api/payments-api.js +18 -5
  81. package/lib/api/plans-api.d.ts.map +1 -1
  82. package/lib/api/plans-api.js +81 -32
  83. package/lib/api/prescriptions-api.d.ts.map +1 -1
  84. package/lib/api/prescriptions-api.js +81 -32
  85. package/lib/api/profiles-api.d.ts.map +1 -1
  86. package/lib/api/profiles-api.js +53 -20
  87. package/lib/api/promotions-api.d.ts.map +1 -1
  88. package/lib/api/promotions-api.js +53 -20
  89. package/lib/api/search-api.d.ts.map +1 -1
  90. package/lib/api/search-api.js +25 -8
  91. package/lib/api/search-curations-api.d.ts.map +1 -1
  92. package/lib/api/search-curations-api.js +53 -20
  93. package/lib/api/service-reviews-api.d.ts.map +1 -1
  94. package/lib/api/service-reviews-api.js +81 -32
  95. package/lib/api/services-api.d.ts.map +1 -1
  96. package/lib/api/services-api.js +32 -11
  97. package/lib/api/services-categories-api.d.ts.map +1 -1
  98. package/lib/api/services-categories-api.js +46 -17
  99. package/lib/api/specialties-api.d.ts.map +1 -1
  100. package/lib/api/specialties-api.js +116 -47
  101. package/lib/api/specialty-types-api.d.ts.map +1 -1
  102. package/lib/api/specialty-types-api.js +123 -50
  103. package/lib/api/survey-forms-api.d.ts.map +1 -1
  104. package/lib/api/survey-forms-api.js +74 -29
  105. package/lib/api/survey-results-api.d.ts.map +1 -1
  106. package/lib/api/survey-results-api.js +39 -14
  107. package/lib/api/tags-api.d.ts.map +1 -1
  108. package/lib/api/tags-api.js +39 -14
  109. package/lib/api/translation-api.d.ts.map +1 -1
  110. package/lib/api/translation-api.js +18 -5
  111. package/lib/api/web-apps-api.d.ts.map +1 -1
  112. package/lib/api/web-apps-api.js +74 -29
  113. package/lib/common.d.ts.map +1 -1
  114. package/lib/common.js +2 -2
  115. package/package.json +11 -6
  116. package/.gitattributes +0 -2
  117. package/.github/workflows/publish-npm.yml +0 -31
  118. package/openapitools.json +0 -23
  119. package/src/.openapi-generator/FILES +0 -677
  120. package/src/.openapi-generator/VERSION +0 -1
  121. package/src/.openapi-generator-ignore +0 -23
  122. package/src/api/about-us-api.ts +0 -904
  123. package/src/api/accreditations-api.ts +0 -579
  124. package/src/api/app-version-api.ts +0 -597
  125. package/src/api/appointments-api.ts +0 -1734
  126. package/src/api/articles-api.ts +0 -3230
  127. package/src/api/azure-functions-app-webhooks-api.ts +0 -143
  128. package/src/api/call-histories-api.ts +0 -451
  129. package/src/api/chadmins-api.ts +0 -655
  130. package/src/api/chat-users-api.ts +0 -756
  131. package/src/api/chmanagers-api.ts +0 -655
  132. package/src/api/communications-api.ts +0 -252
  133. package/src/api/content-managers-api.ts +0 -740
  134. package/src/api/contributors-api.ts +0 -1503
  135. package/src/api/countries-api.ts +0 -2835
  136. package/src/api/curations-api.ts +0 -909
  137. package/src/api/currencies-api.ts +0 -751
  138. package/src/api/dash-board-api.ts +0 -650
  139. package/src/api/deals-api.ts +0 -3686
  140. package/src/api/dev-supports-api.ts +0 -476
  141. package/src/api/doctor-affiliations-api.ts +0 -2404
  142. package/src/api/doctors-api.ts +0 -4927
  143. package/src/api/email-marketings-api.ts +0 -637
  144. package/src/api/email-webhooks-api.ts +0 -554
  145. package/src/api/faq-categories-api.ts +0 -903
  146. package/src/api/faqs-api.ts +0 -1932
  147. package/src/api/form-results-api.ts +0 -730
  148. package/src/api/form-templates-api.ts +0 -1238
  149. package/src/api/grades-api.ts +0 -595
  150. package/src/api/group-channels-api.ts +0 -290
  151. package/src/api/hospital-branches-api.ts +0 -1044
  152. package/src/api/hospital-groups-api.ts +0 -720
  153. package/src/api/hospitals-api.ts +0 -22461
  154. package/src/api/images-api.ts +0 -243
  155. package/src/api/languages-api.ts +0 -593
  156. package/src/api/managers-api.ts +0 -1140
  157. package/src/api/notifications-api.ts +0 -293
  158. package/src/api/patient-affiliations-api.ts +0 -361
  159. package/src/api/patient-managers-api.ts +0 -740
  160. package/src/api/patients-api.ts +0 -1393
  161. package/src/api/payments-api.ts +0 -114
  162. package/src/api/plans-api.ts +0 -1107
  163. package/src/api/prescriptions-api.ts +0 -1130
  164. package/src/api/profiles-api.ts +0 -559
  165. package/src/api/promotions-api.ts +0 -754
  166. package/src/api/search-api.ts +0 -266
  167. package/src/api/search-curations-api.ts +0 -638
  168. package/src/api/service-reviews-api.ts +0 -1337
  169. package/src/api/services-api.ts +0 -634
  170. package/src/api/services-categories-api.ts +0 -565
  171. package/src/api/specialties-api.ts +0 -1980
  172. package/src/api/specialty-types-api.ts +0 -2069
  173. package/src/api/survey-forms-api.ts +0 -1134
  174. package/src/api/survey-results-api.ts +0 -583
  175. package/src/api/tags-api.ts +0 -481
  176. package/src/api/translation-api.ts +0 -145
  177. package/src/api/web-apps-api.ts +0 -1069
  178. package/src/api.ts +0 -73
  179. package/src/base.ts +0 -71
  180. package/src/common.ts +0 -148
  181. package/src/configuration.ts +0 -101
  182. package/src/git_push.sh +0 -57
  183. package/src/index.ts +0 -18
  184. package/src/models/about-us-page-item-model.ts +0 -63
  185. package/src/models/about-us-page-model.ts +0 -126
  186. package/src/models/about-us-pages-model.ts +0 -42
  187. package/src/models/accreditation-item-model.ts +0 -54
  188. package/src/models/accreditation-model.ts +0 -54
  189. package/src/models/accreditations-model.ts +0 -42
  190. package/src/models/add-hospital-into-branch-command.ts +0 -36
  191. package/src/models/add-or-update-web-app-environments-command.ts +0 -33
  192. package/src/models/admin-message-model.ts +0 -84
  193. package/src/models/app-version-item-model.ts +0 -51
  194. package/src/models/app-version-model.ts +0 -51
  195. package/src/models/app-versions-model.ts +0 -42
  196. package/src/models/appointment-change-log-model.ts +0 -51
  197. package/src/models/appointment-duration-statisctics-model.ts +0 -36
  198. package/src/models/appointment-item-model.ts +0 -357
  199. package/src/models/appointment-model.ts +0 -381
  200. package/src/models/appointment-option-input-model.ts +0 -66
  201. package/src/models/appointment-option-model.ts +0 -84
  202. package/src/models/appointment-refund-bank-transfer-model.ts +0 -54
  203. package/src/models/appointment-refund-upi-model.ts +0 -42
  204. package/src/models/appointment-statistics-model.ts +0 -51
  205. package/src/models/appointment-status.ts +0 -39
  206. package/src/models/appointment-timetable-date-model.ts +0 -69
  207. package/src/models/appointment-timetable-model.ts +0 -69
  208. package/src/models/appointment-timetable-override-model.ts +0 -81
  209. package/src/models/appointment-timetable-overrides-model.ts +0 -42
  210. package/src/models/appointment-timetable-status.ts +0 -31
  211. package/src/models/appointment-timetable-time-slot-model.ts +0 -81
  212. package/src/models/appointment-timetables-model.ts +0 -42
  213. package/src/models/appointment-type.ts +0 -34
  214. package/src/models/appointments-model.ts +0 -42
  215. package/src/models/approve-appointment-command.ts +0 -36
  216. package/src/models/article-contributor-item-model.ts +0 -108
  217. package/src/models/article-contributor-model.ts +0 -135
  218. package/src/models/article-contributors-model.ts +0 -42
  219. package/src/models/article-item-model.ts +0 -150
  220. package/src/models/article-model.ts +0 -174
  221. package/src/models/article-sources-model.ts +0 -42
  222. package/src/models/article-status.ts +0 -32
  223. package/src/models/article-tag-item-model.ts +0 -42
  224. package/src/models/article-tag-model.ts +0 -42
  225. package/src/models/article-tags-model.ts +0 -42
  226. package/src/models/article-type.ts +0 -33
  227. package/src/models/articles-model.ts +0 -42
  228. package/src/models/auditable-entity-model.ts +0 -72
  229. package/src/models/auditable-entity.ts +0 -72
  230. package/src/models/bank-account-info-item-model.ts +0 -78
  231. package/src/models/bank-account-info-model.ts +0 -78
  232. package/src/models/bank-account-infos-model.ts +0 -42
  233. package/src/models/bank-transfer-payment-model.ts +0 -48
  234. package/src/models/batch-add-appointment-timetable-model.ts +0 -63
  235. package/src/models/batch-appointment-timetables-result-model.ts +0 -45
  236. package/src/models/batch-deal-package-appointment-timetables-command.ts +0 -48
  237. package/src/models/batch-doctor-affiliation-appointment-timetables-command.ts +0 -48
  238. package/src/models/batch-hospital-appointment-timetables-command.ts +0 -48
  239. package/src/models/batch-hospital-specialty-appointment-timetables-command.ts +0 -48
  240. package/src/models/batch-hospital-working-days-command.ts +0 -33
  241. package/src/models/batch-service-appointment-timetables-command.ts +0 -48
  242. package/src/models/batch-update-appointment-timetable-model.ts +0 -69
  243. package/src/models/call-duration-statistics-model.ts +0 -45
  244. package/src/models/call-histories-model.ts +0 -42
  245. package/src/models/call-history-change-log-model.ts +0 -51
  246. package/src/models/call-history-item-model.ts +0 -126
  247. package/src/models/call-history-language-statistics-model.ts +0 -36
  248. package/src/models/call-history-model.ts +0 -141
  249. package/src/models/call-statistics-model.ts +0 -45
  250. package/src/models/call-status.ts +0 -40
  251. package/src/models/cancel-appointment-command.ts +0 -42
  252. package/src/models/chadmin-item-model.ts +0 -114
  253. package/src/models/chadmin-model.ts +0 -132
  254. package/src/models/chadmins-model.ts +0 -42
  255. package/src/models/change-email-command.ts +0 -30
  256. package/src/models/charge-status.ts +0 -32
  257. package/src/models/chat-user-model.ts +0 -78
  258. package/src/models/chat-users-model.ts +0 -39
  259. package/src/models/check-notifications-command.ts +0 -36
  260. package/src/models/chmanager-item-model.ts +0 -114
  261. package/src/models/chmanager-model.ts +0 -132
  262. package/src/models/chmanagers-model.ts +0 -42
  263. package/src/models/communication-user-token-model.ts +0 -48
  264. package/src/models/confirm-email-command.ts +0 -30
  265. package/src/models/contact-sorting-command.ts +0 -33
  266. package/src/models/contact-type.ts +0 -36
  267. package/src/models/content-manager-item-model.ts +0 -114
  268. package/src/models/content-manager-model.ts +0 -132
  269. package/src/models/content-managers-model.ts +0 -42
  270. package/src/models/contribution-type.ts +0 -32
  271. package/src/models/contributor-item-model.ts +0 -123
  272. package/src/models/contributor-model.ts +0 -141
  273. package/src/models/contributor-sns-handles-model.ts +0 -42
  274. package/src/models/contributors-model.ts +0 -42
  275. package/src/models/countries-model.ts +0 -42
  276. package/src/models/country-currencies-model.ts +0 -42
  277. package/src/models/country-currency-item-model.ts +0 -60
  278. package/src/models/country-currency-model.ts +0 -60
  279. package/src/models/country-item-model.ts +0 -93
  280. package/src/models/country-language-item-model.ts +0 -54
  281. package/src/models/country-language-model.ts +0 -54
  282. package/src/models/country-languages-model.ts +0 -42
  283. package/src/models/country-model.ts +0 -126
  284. package/src/models/country-sorting-command.ts +0 -33
  285. package/src/models/create-about-us-page-command.ts +0 -81
  286. package/src/models/create-accreditation-command.ts +0 -48
  287. package/src/models/create-app-version-command.ts +0 -51
  288. package/src/models/create-article-command.ts +0 -132
  289. package/src/models/create-article-contributor-command.ts +0 -51
  290. package/src/models/create-article-source-command.ts +0 -42
  291. package/src/models/create-article-tag-command.ts +0 -36
  292. package/src/models/create-chadmin-command.ts +0 -87
  293. package/src/models/create-chat-user-command.ts +0 -60
  294. package/src/models/create-chmanager-command.ts +0 -87
  295. package/src/models/create-content-manager-command.ts +0 -87
  296. package/src/models/create-contributor-command.ts +0 -78
  297. package/src/models/create-contributor-sns-handle-command.ts +0 -39
  298. package/src/models/create-country-command.ts +0 -93
  299. package/src/models/create-curation-command.ts +0 -108
  300. package/src/models/create-currency-command.ts +0 -42
  301. package/src/models/create-deal-command.ts +0 -87
  302. package/src/models/create-deal-package-command.ts +0 -81
  303. package/src/models/create-deal-service-command.ts +0 -42
  304. package/src/models/create-doctor-affiliation-command.ts +0 -168
  305. package/src/models/create-doctor-certificate-command.ts +0 -48
  306. package/src/models/create-doctor-command.ts +0 -117
  307. package/src/models/create-doctor-education-command.ts +0 -48
  308. package/src/models/create-doctor-language-command.ts +0 -42
  309. package/src/models/create-doctor-portfolio-command.ts +0 -60
  310. package/src/models/create-doctor-specialty-command.ts +0 -36
  311. package/src/models/create-faq-category-command.ts +0 -60
  312. package/src/models/create-faq-command.ts +0 -78
  313. package/src/models/create-faq-tag-command.ts +0 -36
  314. package/src/models/create-grade-command.ts +0 -57
  315. package/src/models/create-hospital-accreditation-command.ts +0 -30
  316. package/src/models/create-hospital-bank-account-info-command.ts +0 -66
  317. package/src/models/create-hospital-branch-command.ts +0 -72
  318. package/src/models/create-hospital-command.ts +0 -253
  319. package/src/models/create-hospital-contact-command.ts +0 -69
  320. package/src/models/create-hospital-equipment-command.ts +0 -36
  321. package/src/models/create-hospital-evaluation-command.ts +0 -48
  322. package/src/models/create-hospital-group-command.ts +0 -72
  323. package/src/models/create-hospital-language-command.ts +0 -42
  324. package/src/models/create-hospital-payment-method-command.ts +0 -78
  325. package/src/models/create-hospital-rating-command.ts +0 -66
  326. package/src/models/create-hospital-service-command.ts +0 -138
  327. package/src/models/create-hospital-sns-handle-command.ts +0 -39
  328. package/src/models/create-hospital-specialty-command.ts +0 -123
  329. package/src/models/create-hospital-tag-command.ts +0 -36
  330. package/src/models/create-hospital-working-day-command.ts +0 -54
  331. package/src/models/create-landing-command.ts +0 -81
  332. package/src/models/create-language-command.ts +0 -60
  333. package/src/models/create-manager-affiliation-command.ts +0 -30
  334. package/src/models/create-manager-command.ts +0 -93
  335. package/src/models/create-media-command.ts +0 -57
  336. package/src/models/create-notice-command.ts +0 -69
  337. package/src/models/create-page-command.ts +0 -90
  338. package/src/models/create-patient-affiliation-command.ts +0 -114
  339. package/src/models/create-patient-command.ts +0 -183
  340. package/src/models/create-patient-manager-command.ts +0 -87
  341. package/src/models/create-plan-command.ts +0 -69
  342. package/src/models/create-plan-hospital-command.ts +0 -36
  343. package/src/models/create-policy-command.ts +0 -81
  344. package/src/models/create-prescription-command.ts +0 -207
  345. package/src/models/create-profile-command.ts +0 -96
  346. package/src/models/create-promotion-command.ts +0 -102
  347. package/src/models/create-service-category-command.ts +0 -42
  348. package/src/models/create-service-review-command.ts +0 -99
  349. package/src/models/create-specialty-command.ts +0 -87
  350. package/src/models/create-specialty-type-command.ts +0 -102
  351. package/src/models/create-survey-form-command.ts +0 -96
  352. package/src/models/create-tag-command.ts +0 -30
  353. package/src/models/create-template-version-command.ts +0 -42
  354. package/src/models/create-walk-in-appointment-command.ts +0 -174
  355. package/src/models/create-web-app-command.ts +0 -75
  356. package/src/models/curation-model.ts +0 -111
  357. package/src/models/curations-model.ts +0 -42
  358. package/src/models/currencies-model.ts +0 -42
  359. package/src/models/currency-item-model.ts +0 -48
  360. package/src/models/currency-model.ts +0 -57
  361. package/src/models/dash-board-model.ts +0 -60
  362. package/src/models/day-of-week.ts +0 -36
  363. package/src/models/deal-item-model.ts +0 -129
  364. package/src/models/deal-item-simple-model.ts +0 -54
  365. package/src/models/deal-model.ts +0 -153
  366. package/src/models/deal-package-item-model.ts +0 -123
  367. package/src/models/deal-package-model.ts +0 -144
  368. package/src/models/deal-packages-model.ts +0 -42
  369. package/src/models/deal-service-item-model.ts +0 -72
  370. package/src/models/deal-service-model.ts +0 -72
  371. package/src/models/deal-services-model.ts +0 -42
  372. package/src/models/deals-model.ts +0 -42
  373. package/src/models/deals-simple-model.ts +0 -42
  374. package/src/models/delete-deal-package-appointment-timetable-overrides-command.ts +0 -51
  375. package/src/models/delete-doctor-affiliation-appointment-timetable-overrides-command.ts +0 -51
  376. package/src/models/delete-hospital-appointment-timetable-overrides-command.ts +0 -51
  377. package/src/models/delete-hospital-specialty-appointment-timetable-overrides-command.ts +0 -51
  378. package/src/models/delete-service-appointment-timetable-overrides-command.ts +0 -51
  379. package/src/models/deploy-status.ts +0 -38
  380. package/src/models/doctor-affiliation-item-model.ts +0 -174
  381. package/src/models/doctor-affiliation-model.ts +0 -234
  382. package/src/models/doctor-affiliation-simple-model.ts +0 -48
  383. package/src/models/doctor-affiliations-model.ts +0 -42
  384. package/src/models/doctor-certificate-item-model.ts +0 -66
  385. package/src/models/doctor-certificate-model.ts +0 -66
  386. package/src/models/doctor-certificate-sorting-command.ts +0 -33
  387. package/src/models/doctor-certificates-model.ts +0 -42
  388. package/src/models/doctor-education-item-model.ts +0 -78
  389. package/src/models/doctor-education-model.ts +0 -78
  390. package/src/models/doctor-education-sorting-command.ts +0 -33
  391. package/src/models/doctor-educations-model.ts +0 -42
  392. package/src/models/doctor-item-model.ts +0 -120
  393. package/src/models/doctor-language-item-model.ts +0 -60
  394. package/src/models/doctor-language-model.ts +0 -60
  395. package/src/models/doctor-languages-model.ts +0 -42
  396. package/src/models/doctor-model.ts +0 -153
  397. package/src/models/doctor-portfolio-item-model.ts +0 -66
  398. package/src/models/doctor-portfolio-model.ts +0 -66
  399. package/src/models/doctor-portfolios-model.ts +0 -42
  400. package/src/models/doctor-prefix.ts +0 -31
  401. package/src/models/doctor-simple-item-model.ts +0 -54
  402. package/src/models/doctor-specialties-model.ts +0 -42
  403. package/src/models/doctor-specialty-model.ts +0 -66
  404. package/src/models/doctors-model.ts +0 -42
  405. package/src/models/doctors-simple-model.ts +0 -42
  406. package/src/models/duration.ts +0 -34
  407. package/src/models/email-record-event-model.ts +0 -165
  408. package/src/models/email-record-item-model.ts +0 -87
  409. package/src/models/email-record-model.ts +0 -96
  410. package/src/models/email-records-model.ts +0 -42
  411. package/src/models/email-status.ts +0 -44
  412. package/src/models/faq-categories-model.ts +0 -42
  413. package/src/models/faq-category-item-model.ts +0 -99
  414. package/src/models/faq-category-model.ts +0 -117
  415. package/src/models/faq-item-model.ts +0 -129
  416. package/src/models/faq-model.ts +0 -153
  417. package/src/models/faq-tag-item-model.ts +0 -42
  418. package/src/models/faq-tag-model.ts +0 -42
  419. package/src/models/faq-tags-model.ts +0 -42
  420. package/src/models/faqs-model.ts +0 -42
  421. package/src/models/feature-detail-input-model.ts +0 -66
  422. package/src/models/feature-detail-model.ts +0 -78
  423. package/src/models/feature-input-model.ts +0 -39
  424. package/src/models/feature-model.ts +0 -39
  425. package/src/models/footer-navigation-item-model.ts +0 -72
  426. package/src/models/form-field-input-model.ts +0 -123
  427. package/src/models/form-field-model.ts +0 -129
  428. package/src/models/form-field-option-input-model.ts +0 -54
  429. package/src/models/form-field-option-model.ts +0 -60
  430. package/src/models/form-result-field-model.ts +0 -99
  431. package/src/models/form-result-item-model.ts +0 -117
  432. package/src/models/form-result-model.ts +0 -126
  433. package/src/models/form-result-section-model.ts +0 -69
  434. package/src/models/form-result-status.ts +0 -32
  435. package/src/models/form-result-value-model.ts +0 -66
  436. package/src/models/form-results-model.ts +0 -42
  437. package/src/models/form-section-input-model.ts +0 -63
  438. package/src/models/form-section-model.ts +0 -69
  439. package/src/models/form-template-affiliation-model.ts +0 -48
  440. package/src/models/form-template-affiliations-model.ts +0 -42
  441. package/src/models/form-template-item-model.ts +0 -114
  442. package/src/models/form-template-model.ts +0 -141
  443. package/src/models/form-template-platform.ts +0 -31
  444. package/src/models/form-template-status.ts +0 -31
  445. package/src/models/form-template-type.ts +0 -32
  446. package/src/models/form-templates-model.ts +0 -42
  447. package/src/models/gender.ts +0 -34
  448. package/src/models/general-statistics-model.ts +0 -48
  449. package/src/models/generated-pdf-command.ts +0 -30
  450. package/src/models/get-appointment-timetables-response-model.ts +0 -51
  451. package/src/models/get-patient-walk-in-query.ts +0 -42
  452. package/src/models/grade-item-model.ts +0 -72
  453. package/src/models/grade-model.ts +0 -72
  454. package/src/models/grade-targets.ts +0 -31
  455. package/src/models/grades-model.ts +0 -42
  456. package/src/models/group-channel-list.ts +0 -45
  457. package/src/models/group-channel.ts +0 -156
  458. package/src/models/header-navigation-item-model.ts +0 -78
  459. package/src/models/hospital-accreditation-item-model.ts +0 -54
  460. package/src/models/hospital-accreditation-model.ts +0 -54
  461. package/src/models/hospital-accreditations-model.ts +0 -42
  462. package/src/models/hospital-branch-item-mapping-model.ts +0 -45
  463. package/src/models/hospital-branch-item-model.ts +0 -75
  464. package/src/models/hospital-branch-model.ts +0 -102
  465. package/src/models/hospital-branches-model.ts +0 -42
  466. package/src/models/hospital-consultation-option-model.ts +0 -42
  467. package/src/models/hospital-contact-item-model.ts +0 -96
  468. package/src/models/hospital-contact-model.ts +0 -96
  469. package/src/models/hospital-contacts-model.ts +0 -42
  470. package/src/models/hospital-equipment-item-model.ts +0 -60
  471. package/src/models/hospital-equipment-model.ts +0 -60
  472. package/src/models/hospital-equipments-model.ts +0 -42
  473. package/src/models/hospital-evaluation-item-model.ts +0 -54
  474. package/src/models/hospital-evaluation-model.ts +0 -54
  475. package/src/models/hospital-evaluations-model.ts +0 -42
  476. package/src/models/hospital-group-item-model.ts +0 -69
  477. package/src/models/hospital-group-model.ts +0 -87
  478. package/src/models/hospital-groups-model.ts +0 -42
  479. package/src/models/hospital-item-model.ts +0 -121
  480. package/src/models/hospital-language-item-model.ts +0 -60
  481. package/src/models/hospital-languages-model.ts +0 -42
  482. package/src/models/hospital-model.ts +0 -334
  483. package/src/models/hospital-payment-gateway-model.ts +0 -36
  484. package/src/models/hospital-payment-method-item-model.ts +0 -63
  485. package/src/models/hospital-payment-method-model.ts +0 -90
  486. package/src/models/hospital-payment-methods-model.ts +0 -42
  487. package/src/models/hospital-rating-item-model.ts +0 -72
  488. package/src/models/hospital-rating-model.ts +0 -72
  489. package/src/models/hospital-rating-sorting-command.ts +0 -33
  490. package/src/models/hospital-ratings-model.ts +0 -42
  491. package/src/models/hospital-service-item-model.ts +0 -171
  492. package/src/models/hospital-service-model.ts +0 -243
  493. package/src/models/hospital-services-model.ts +0 -42
  494. package/src/models/hospital-simple-item-model.ts +0 -54
  495. package/src/models/hospital-sns-handles-model.ts +0 -42
  496. package/src/models/hospital-specialties-model.ts +0 -42
  497. package/src/models/hospital-specialties-simple-model.ts +0 -42
  498. package/src/models/hospital-specialty-item-model.ts +0 -147
  499. package/src/models/hospital-specialty-model.ts +0 -216
  500. package/src/models/hospital-specialty-simple-item-model.ts +0 -60
  501. package/src/models/hospital-tag-item-model.ts +0 -36
  502. package/src/models/hospital-tag-model.ts +0 -42
  503. package/src/models/hospital-tags-model.ts +0 -42
  504. package/src/models/hospital-working-days-batch-result-model.ts +0 -57
  505. package/src/models/hospitals-model.ts +0 -42
  506. package/src/models/hospitals-simple-model.ts +0 -42
  507. package/src/models/index.ts +0 -611
  508. package/src/models/invite-send-bird-group-channel-command.ts +0 -30
  509. package/src/models/landing-item-model.ts +0 -81
  510. package/src/models/landing-model.ts +0 -141
  511. package/src/models/landings-model.ts +0 -42
  512. package/src/models/language-item-model.ts +0 -60
  513. package/src/models/language-model.ts +0 -60
  514. package/src/models/languages-model.ts +0 -42
  515. package/src/models/leaved-group-channels-model.ts +0 -42
  516. package/src/models/localized-url-model.ts +0 -42
  517. package/src/models/location-model.ts +0 -103
  518. package/src/models/manager-affiliation-item-model.ts +0 -48
  519. package/src/models/manager-affiliation-model.ts +0 -48
  520. package/src/models/manager-affiliations-model.ts +0 -42
  521. package/src/models/manager-item-model.ts +0 -120
  522. package/src/models/manager-model.ts +0 -147
  523. package/src/models/managers-model.ts +0 -42
  524. package/src/models/marketing-type.ts +0 -32
  525. package/src/models/media-model.ts +0 -69
  526. package/src/models/media-type.ts +0 -37
  527. package/src/models/medias-model.ts +0 -42
  528. package/src/models/mention-type.ts +0 -31
  529. package/src/models/message-type.ts +0 -32
  530. package/src/models/metadata.ts +0 -42
  531. package/src/models/model-file.ts +0 -54
  532. package/src/models/notice-item-model.ts +0 -102
  533. package/src/models/notice-model.ts +0 -114
  534. package/src/models/notice-sorting-command.ts +0 -33
  535. package/src/models/notice-status.ts +0 -32
  536. package/src/models/notices-model.ts +0 -42
  537. package/src/models/notification-code.ts +0 -68
  538. package/src/models/notification-model.ts +0 -93
  539. package/src/models/notifications-model.ts +0 -48
  540. package/src/models/page-block-input-model.ts +0 -126
  541. package/src/models/page-block-link-input-model.ts +0 -69
  542. package/src/models/page-block-link-model.ts +0 -81
  543. package/src/models/page-block-link-type.ts +0 -32
  544. package/src/models/page-block-location-input-model.ts +0 -54
  545. package/src/models/page-block-location-model.ts +0 -54
  546. package/src/models/page-block-model.ts +0 -144
  547. package/src/models/page-block-type.ts +0 -48
  548. package/src/models/page-item-item-model.ts +0 -78
  549. package/src/models/page-item-model.ts +0 -111
  550. package/src/models/page-item-status.ts +0 -32
  551. package/src/models/page-items-model.ts +0 -42
  552. package/src/models/page-section-input-model.ts +0 -69
  553. package/src/models/page-section-list-type.ts +0 -34
  554. package/src/models/page-section-model.ts +0 -69
  555. package/src/models/paged-list-meta-data.ts +0 -84
  556. package/src/models/patient-affiliation-item-model.ts +0 -162
  557. package/src/models/patient-affiliation-model.ts +0 -162
  558. package/src/models/patient-affiliations-model.ts +0 -42
  559. package/src/models/patient-item-model.ts +0 -114
  560. package/src/models/patient-manager-item-model.ts +0 -114
  561. package/src/models/patient-manager-model.ts +0 -132
  562. package/src/models/patient-managers-model.ts +0 -42
  563. package/src/models/patient-model.ts +0 -138
  564. package/src/models/patient-walk-in-model.ts +0 -39
  565. package/src/models/patients-model.ts +0 -42
  566. package/src/models/payment-method.ts +0 -35
  567. package/src/models/payment-model.ts +0 -93
  568. package/src/models/payment-status.ts +0 -33
  569. package/src/models/period-units.ts +0 -31
  570. package/src/models/plan-hospital-item-model.ts +0 -54
  571. package/src/models/plan-hospital-model.ts +0 -54
  572. package/src/models/plan-hospitals-model.ts +0 -42
  573. package/src/models/plan-item-model.ts +0 -75
  574. package/src/models/plan-model.ts +0 -75
  575. package/src/models/plans-model.ts +0 -42
  576. package/src/models/platform.ts +0 -32
  577. package/src/models/policies-model.ts +0 -42
  578. package/src/models/policy-item-model.ts +0 -75
  579. package/src/models/policy-model.ts +0 -135
  580. package/src/models/prescription-diagnosis-input-model.ts +0 -42
  581. package/src/models/prescription-diagnosis-item-model.ts +0 -42
  582. package/src/models/prescription-item-model.ts +0 -195
  583. package/src/models/prescription-medication-input-model.ts +0 -84
  584. package/src/models/prescription-medication-item-model.ts +0 -84
  585. package/src/models/prescription-model.ts +0 -222
  586. package/src/models/prescription-symptom-input-model.ts +0 -54
  587. package/src/models/prescription-symptom-item-model.ts +0 -54
  588. package/src/models/prescriptions-model.ts +0 -42
  589. package/src/models/problem-details.ts +0 -56
  590. package/src/models/procedure.ts +0 -31
  591. package/src/models/promotion-item-model.ts +0 -99
  592. package/src/models/promotion-model.ts +0 -108
  593. package/src/models/promotion-type.ts +0 -32
  594. package/src/models/promotions-model.ts +0 -42
  595. package/src/models/recurring-interval.ts +0 -33
  596. package/src/models/refund-policy.ts +0 -32
  597. package/src/models/refund-status.ts +0 -32
  598. package/src/models/reject-appointment-command.ts +0 -39
  599. package/src/models/reject-reason.ts +0 -33
  600. package/src/models/reschedule-appointment-command.ts +0 -42
  601. package/src/models/review-type.ts +0 -32
  602. package/src/models/save-appointment-timetable-override-model.ts +0 -66
  603. package/src/models/save-appointment-timetable-overrides-result-model.ts +0 -33
  604. package/src/models/save-country-currency-command.ts +0 -30
  605. package/src/models/save-country-language-command.ts +0 -30
  606. package/src/models/save-deal-package-appointment-timetable-overrides-command.ts +0 -33
  607. package/src/models/save-doctor-affiliation-appointment-timetable-overrides-command.ts +0 -33
  608. package/src/models/save-footer-navigation-item-model.ts +0 -60
  609. package/src/models/save-footer-navigations-command.ts +0 -33
  610. package/src/models/save-form-template-command.ts +0 -105
  611. package/src/models/save-header-navigation-item-model.ts +0 -66
  612. package/src/models/save-header-navigations-command.ts +0 -33
  613. package/src/models/save-hospital-appointment-timetable-overrides-command.ts +0 -33
  614. package/src/models/save-hospital-specialty-appointment-timetable-overrides-command.ts +0 -33
  615. package/src/models/save-search-curations-command.ts +0 -33
  616. package/src/models/save-service-appointment-timetable-overrides-command.ts +0 -33
  617. package/src/models/search-curation-item-input-model.ts +0 -99
  618. package/src/models/search-curation-item-model.ts +0 -105
  619. package/src/models/search-curation-primary-item-model.ts +0 -36
  620. package/src/models/search-index-type.ts +0 -36
  621. package/src/models/secure-container-item-model.ts +0 -72
  622. package/src/models/secure-container-model.ts +0 -81
  623. package/src/models/secure-containers-model.ts +0 -42
  624. package/src/models/secure-file-model.ts +0 -93
  625. package/src/models/secure-files-uploaded-model.ts +0 -33
  626. package/src/models/send-bird-group-channel-member.ts +0 -87
  627. package/src/models/send-bird-group-channel-model.ts +0 -153
  628. package/src/models/send-bird-group-channelr-operator.ts +0 -42
  629. package/src/models/send-email-command.ts +0 -54
  630. package/src/models/send-template-version-command.ts +0 -30
  631. package/src/models/service-categories-model.ts +0 -42
  632. package/src/models/service-category-item-model.ts +0 -60
  633. package/src/models/service-category-mapping-model.ts +0 -36
  634. package/src/models/service-category-model.ts +0 -60
  635. package/src/models/service-review-item-model.ts +0 -153
  636. package/src/models/service-review-model.ts +0 -171
  637. package/src/models/service-reviews-model.ts +0 -42
  638. package/src/models/session-token.ts +0 -36
  639. package/src/models/set-hospital-into-form-template-command.ts +0 -30
  640. package/src/models/set-hospital-into-survey-form-command.ts +0 -30
  641. package/src/models/sns-handle-model.ts +0 -45
  642. package/src/models/sns-type.ts +0 -35
  643. package/src/models/sort-country-currencies-command.ts +0 -33
  644. package/src/models/sort-country-languages-command.ts +0 -33
  645. package/src/models/sort-currencies-command.ts +0 -33
  646. package/src/models/sort-footer-navigations-command.ts +0 -33
  647. package/src/models/sorting-item-model.ts +0 -36
  648. package/src/models/sorting-order.ts +0 -31
  649. package/src/models/sorting-result-model.ts +0 -33
  650. package/src/models/source-model.ts +0 -48
  651. package/src/models/specialties-model.ts +0 -42
  652. package/src/models/specialties-simple-model.ts +0 -42
  653. package/src/models/specialty-item-model.ts +0 -117
  654. package/src/models/specialty-item-simple-model.ts +0 -60
  655. package/src/models/specialty-model.ts +0 -141
  656. package/src/models/specialty-type-item-model.ts +0 -117
  657. package/src/models/specialty-type-model.ts +0 -135
  658. package/src/models/specialty-type-simple-item-model.ts +0 -60
  659. package/src/models/specialty-type-sorting-command.ts +0 -33
  660. package/src/models/specialty-types-model.ts +0 -42
  661. package/src/models/specialty-types-simple-model.ts +0 -42
  662. package/src/models/string-filter-types.ts +0 -33
  663. package/src/models/survey-form-affiliation-model.ts +0 -36
  664. package/src/models/survey-form-affiliations-model.ts +0 -42
  665. package/src/models/survey-form-duration-statistics-model.ts +0 -45
  666. package/src/models/survey-form-element-input-model.ts +0 -96
  667. package/src/models/survey-form-element-model.ts +0 -102
  668. package/src/models/survey-form-element-option-input-model.ts +0 -60
  669. package/src/models/survey-form-element-option-model.ts +0 -72
  670. package/src/models/survey-form-element-types.ts +0 -44
  671. package/src/models/survey-form-item-model.ts +0 -90
  672. package/src/models/survey-form-language-statistics-model.ts +0 -36
  673. package/src/models/survey-form-model.ts +0 -123
  674. package/src/models/survey-form-statistics-model.ts +0 -45
  675. package/src/models/survey-form-status.ts +0 -31
  676. package/src/models/survey-forms-model.ts +0 -42
  677. package/src/models/survey-result-element-model.ts +0 -54
  678. package/src/models/survey-result-element-value-model.ts +0 -42
  679. package/src/models/survey-result-item-model.ts +0 -99
  680. package/src/models/survey-result-model.ts +0 -135
  681. package/src/models/survey-result-user-model.ts +0 -42
  682. package/src/models/survey-results-model.ts +0 -42
  683. package/src/models/tag-item-model.ts +0 -48
  684. package/src/models/tag-model.ts +0 -48
  685. package/src/models/tags-model.ts +0 -42
  686. package/src/models/template-version-item-model.ts +0 -72
  687. package/src/models/template-version-model.ts +0 -72
  688. package/src/models/template-versions-model.ts +0 -42
  689. package/src/models/test-email-model.ts +0 -30
  690. package/src/models/test-email-webhook-command.ts +0 -36
  691. package/src/models/text-message.ts +0 -123
  692. package/src/models/translate-about-us-page-command.ts +0 -51
  693. package/src/models/translate-all-options.ts +0 -32
  694. package/src/models/translate-command.ts +0 -48
  695. package/src/models/translate-country-command.ts +0 -51
  696. package/src/models/translate-curation-command.ts +0 -51
  697. package/src/models/translate-deal-command.ts +0 -51
  698. package/src/models/translate-doctor-affiliation-command.ts +0 -51
  699. package/src/models/translate-form-result-command.ts +0 -51
  700. package/src/models/translate-form-template-command.ts +0 -51
  701. package/src/models/translate-hospital-command.ts +0 -51
  702. package/src/models/translate-hospital-service-command.ts +0 -51
  703. package/src/models/translate-hospital-specialty-command.ts +0 -51
  704. package/src/models/translate-landing-command.ts +0 -51
  705. package/src/models/translate-page-command.ts +0 -57
  706. package/src/models/translate-page-section-command.ts +0 -57
  707. package/src/models/translate-specialty-command.ts +0 -51
  708. package/src/models/translate-specialty-type-command.ts +0 -51
  709. package/src/models/translation-batch-result-model.ts +0 -57
  710. package/src/models/translation-charaters-model.ts +0 -42
  711. package/src/models/translation-contents-model.ts +0 -57
  712. package/src/models/translation-contents-target-model.ts +0 -42
  713. package/src/models/translation-target-entities.ts +0 -36
  714. package/src/models/update-about-us-page-command.ts +0 -105
  715. package/src/models/update-accreditation-command.ts +0 -48
  716. package/src/models/update-app-version-command.ts +0 -42
  717. package/src/models/update-article-command.ts +0 -150
  718. package/src/models/update-article-contributor-command.ts +0 -45
  719. package/src/models/update-article-source-command.ts +0 -42
  720. package/src/models/update-chadmin-command.ts +0 -87
  721. package/src/models/update-chat-user-command.ts +0 -48
  722. package/src/models/update-chmanager-command.ts +0 -87
  723. package/src/models/update-content-manager-command.ts +0 -87
  724. package/src/models/update-content-text-only-value-domains.ts +0 -38
  725. package/src/models/update-contributor-command.ts +0 -90
  726. package/src/models/update-contributor-sns-handle-command.ts +0 -39
  727. package/src/models/update-country-command.ts +0 -111
  728. package/src/models/update-curation-command.ts +0 -96
  729. package/src/models/update-currency-command.ts +0 -42
  730. package/src/models/update-deal-command.ts +0 -93
  731. package/src/models/update-deal-package-command.ts +0 -81
  732. package/src/models/update-deal-service-command.ts +0 -30
  733. package/src/models/update-doctor-affiliation-command.ts +0 -156
  734. package/src/models/update-doctor-certificate-command.ts +0 -48
  735. package/src/models/update-doctor-command.ts +0 -93
  736. package/src/models/update-doctor-education-command.ts +0 -48
  737. package/src/models/update-doctor-language-command.ts +0 -36
  738. package/src/models/update-doctor-portfolio-command.ts +0 -60
  739. package/src/models/update-doctor-specialty-command.ts +0 -30
  740. package/src/models/update-faq-category-command.ts +0 -66
  741. package/src/models/update-faq-command.ts +0 -96
  742. package/src/models/update-form-result-command.ts +0 -39
  743. package/src/models/update-grade-command.ts +0 -48
  744. package/src/models/update-hospital-bank-account-info-command.ts +0 -66
  745. package/src/models/update-hospital-branch-command.ts +0 -66
  746. package/src/models/update-hospital-branch-item-command.ts +0 -36
  747. package/src/models/update-hospital-command.ts +0 -265
  748. package/src/models/update-hospital-contact-command.ts +0 -69
  749. package/src/models/update-hospital-equipment-command.ts +0 -54
  750. package/src/models/update-hospital-group-command.ts +0 -72
  751. package/src/models/update-hospital-language-command.ts +0 -36
  752. package/src/models/update-hospital-payment-method-command.ts +0 -78
  753. package/src/models/update-hospital-rating-command.ts +0 -66
  754. package/src/models/update-hospital-service-command.ts +0 -150
  755. package/src/models/update-hospital-sns-handle-command.ts +0 -39
  756. package/src/models/update-hospital-specialty-command.ts +0 -129
  757. package/src/models/update-hospital-working-day-command.ts +0 -54
  758. package/src/models/update-landing-command.ts +0 -93
  759. package/src/models/update-language-command.ts +0 -54
  760. package/src/models/update-manager-command.ts +0 -93
  761. package/src/models/update-media-command.ts +0 -57
  762. package/src/models/update-notice-command.ts +0 -69
  763. package/src/models/update-page-command.ts +0 -90
  764. package/src/models/update-patient-affiliation-command.ts +0 -120
  765. package/src/models/update-patient-command.ts +0 -87
  766. package/src/models/update-patient-manager-command.ts +0 -87
  767. package/src/models/update-plan-command.ts +0 -63
  768. package/src/models/update-plan-hospital-command.ts +0 -30
  769. package/src/models/update-policy-command.ts +0 -87
  770. package/src/models/update-prescription-command.ts +0 -171
  771. package/src/models/update-profile-command.ts +0 -84
  772. package/src/models/update-promotion-command.ts +0 -96
  773. package/src/models/update-service-category-command.ts +0 -42
  774. package/src/models/update-service-review-command.ts +0 -90
  775. package/src/models/update-specialty-command.ts +0 -105
  776. package/src/models/update-specialty-type-command.ts +0 -114
  777. package/src/models/update-survey-form-command.ts +0 -84
  778. package/src/models/update-template-version-command.ts +0 -42
  779. package/src/models/update-web-app-command.ts +0 -78
  780. package/src/models/upi-payment-model.ts +0 -36
  781. package/src/models/upload-media-from-uri-command.ts +0 -30
  782. package/src/models/uploaded-medias-model.ts +0 -33
  783. package/src/models/user-language-model.ts +0 -60
  784. package/src/models/user-model.ts +0 -132
  785. package/src/models/user-type.ts +0 -37
  786. package/src/models/user.ts +0 -105
  787. package/src/models/web-app-environment-model.ts +0 -36
  788. package/src/models/web-app-environments-model.ts +0 -39
  789. package/src/models/web-app-item-model.ts +0 -120
  790. package/src/models/web-app-model.ts +0 -120
  791. package/src/models/web-apps-model.ts +0 -42
  792. package/src/models/working-day-input-model.ts +0 -60
  793. package/src/models/working-day-item-model.ts +0 -60
  794. package/src/models/working-day-model.ts +0 -60
  795. package/src/models/working-days-model.ts +0 -42
  796. package/tsconfig.json +0 -71
@@ -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
- }