ch-api-client-typescript2 5.46.2 → 5.47.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (528) hide show
  1. package/lib/api/about-us-api.d.ts.map +1 -1
  2. package/lib/api/about-us-api.js +32 -11
  3. package/lib/api/accounts-api.d.ts.map +1 -1
  4. package/lib/api/accounts-api.js +18 -5
  5. package/lib/api/accreditations-api.d.ts.map +1 -1
  6. package/lib/api/accreditations-api.js +25 -8
  7. package/lib/api/app-version-api.d.ts.map +1 -1
  8. package/lib/api/app-version-api.js +18 -5
  9. package/lib/api/appointments-api.d.ts.map +1 -1
  10. package/lib/api/appointments-api.js +67 -26
  11. package/lib/api/articles-api.d.ts.map +1 -1
  12. package/lib/api/articles-api.js +88 -35
  13. package/lib/api/call-histories-api.d.ts.map +1 -1
  14. package/lib/api/call-histories-api.js +25 -8
  15. package/lib/api/chat-users-api.d.ts.map +1 -1
  16. package/lib/api/chat-users-api.js +53 -20
  17. package/lib/api/communications-api.d.ts.map +1 -1
  18. package/lib/api/communications-api.js +32 -11
  19. package/lib/api/contributors-api.d.ts.map +1 -1
  20. package/lib/api/contributors-api.js +46 -17
  21. package/lib/api/countries-api.d.ts.map +1 -1
  22. package/lib/api/countries-api.js +46 -17
  23. package/lib/api/curations-api.d.ts +3 -3
  24. package/lib/api/curations-api.d.ts.map +1 -1
  25. package/lib/api/curations-api.js +40 -15
  26. package/lib/api/currencies-api.d.ts.map +1 -1
  27. package/lib/api/currencies-api.js +18 -5
  28. package/lib/api/deals-api.d.ts.map +1 -1
  29. package/lib/api/deals-api.js +74 -29
  30. package/lib/api/devices-api.d.ts.map +1 -1
  31. package/lib/api/devices-api.js +46 -17
  32. package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
  33. package/lib/api/doctor-affiliations-api.js +53 -20
  34. package/lib/api/doctors-api.d.ts.map +1 -1
  35. package/lib/api/doctors-api.js +116 -47
  36. package/lib/api/external-api.d.ts.map +1 -1
  37. package/lib/api/external-api.js +18 -5
  38. package/lib/api/faq-categories-api.d.ts.map +1 -1
  39. package/lib/api/faq-categories-api.js +32 -11
  40. package/lib/api/faqs-api.d.ts.map +1 -1
  41. package/lib/api/faqs-api.js +60 -23
  42. package/lib/api/form-results-api.d.ts.map +1 -1
  43. package/lib/api/form-results-api.js +39 -14
  44. package/lib/api/form-templates-api.d.ts.map +1 -1
  45. package/lib/api/form-templates-api.js +18 -5
  46. package/lib/api/group-channels-api.d.ts.map +1 -1
  47. package/lib/api/group-channels-api.js +46 -17
  48. package/lib/api/hospitals-api.d.ts.map +1 -1
  49. package/lib/api/hospitals-api.js +438 -185
  50. package/lib/api/images-api.d.ts.map +1 -1
  51. package/lib/api/images-api.js +18 -5
  52. package/lib/api/languages-api.d.ts.map +1 -1
  53. package/lib/api/languages-api.js +25 -8
  54. package/lib/api/medias-api.d.ts.map +1 -1
  55. package/lib/api/medias-api.js +18 -5
  56. package/lib/api/messages-api.d.ts.map +1 -1
  57. package/lib/api/messages-api.js +18 -5
  58. package/lib/api/notifications-api.d.ts.map +1 -1
  59. package/lib/api/notifications-api.js +25 -8
  60. package/lib/api/origins-api.d.ts.map +1 -1
  61. package/lib/api/origins-api.js +39 -14
  62. package/lib/api/patients-api.d.ts.map +1 -1
  63. package/lib/api/patients-api.js +53 -20
  64. package/lib/api/plans-api.d.ts.map +1 -1
  65. package/lib/api/plans-api.js +39 -14
  66. package/lib/api/prescriptions-api.d.ts.map +1 -1
  67. package/lib/api/prescriptions-api.js +25 -8
  68. package/lib/api/profiles-api.d.ts.map +1 -1
  69. package/lib/api/profiles-api.js +60 -23
  70. package/lib/api/promotions-api.d.ts.map +1 -1
  71. package/lib/api/promotions-api.js +18 -5
  72. package/lib/api/secure-containers-api.d.ts.map +1 -1
  73. package/lib/api/secure-containers-api.js +46 -17
  74. package/lib/api/service-reviews-api.d.ts.map +1 -1
  75. package/lib/api/service-reviews-api.js +81 -32
  76. package/lib/api/services-api.d.ts.map +1 -1
  77. package/lib/api/services-api.js +32 -11
  78. package/lib/api/services-categories-api.d.ts.map +1 -1
  79. package/lib/api/services-categories-api.js +25 -8
  80. package/lib/api/specialties-api.d.ts.map +1 -1
  81. package/lib/api/specialties-api.js +53 -20
  82. package/lib/api/specialty-types-api.d.ts.map +1 -1
  83. package/lib/api/specialty-types-api.js +60 -23
  84. package/lib/api/survey-forms-api.d.ts.map +1 -1
  85. package/lib/api/survey-forms-api.js +18 -5
  86. package/lib/api/survey-results-api.d.ts.map +1 -1
  87. package/lib/api/survey-results-api.js +25 -8
  88. package/lib/api/tags-api.d.ts.map +1 -1
  89. package/lib/api/tags-api.js +25 -8
  90. package/lib/api/vonage-users-api.d.ts.map +1 -1
  91. package/lib/api/vonage-users-api.js +32 -11
  92. package/lib/common.d.ts.map +1 -1
  93. package/lib/common.js +2 -2
  94. package/package.json +11 -6
  95. package/.gitattributes +0 -2
  96. package/.github/workflows/publish-npm.yml +0 -45
  97. package/openapitools.json +0 -7
  98. package/src/.openapi-generator/FILES +0 -430
  99. package/src/.openapi-generator/VERSION +0 -1
  100. package/src/.openapi-generator-ignore +0 -23
  101. package/src/api/about-us-api.ts +0 -490
  102. package/src/api/accounts-api.ts +0 -149
  103. package/src/api/accreditations-api.ts +0 -283
  104. package/src/api/app-version-api.ts +0 -139
  105. package/src/api/appointments-api.ts +0 -1107
  106. package/src/api/articles-api.ts +0 -1682
  107. package/src/api/call-histories-api.ts +0 -245
  108. package/src/api/chat-users-api.ts +0 -587
  109. package/src/api/communications-api.ts +0 -252
  110. package/src/api/contributors-api.ts +0 -799
  111. package/src/api/countries-api.ts +0 -759
  112. package/src/api/curations-api.ts +0 -469
  113. package/src/api/currencies-api.ts +0 -200
  114. package/src/api/deals-api.ts +0 -1894
  115. package/src/api/devices-api.ts +0 -621
  116. package/src/api/doctor-affiliations-api.ts +0 -972
  117. package/src/api/doctors-api.ts +0 -2383
  118. package/src/api/external-api.ts +0 -120
  119. package/src/api/faq-categories-api.ts +0 -476
  120. package/src/api/faqs-api.ts +0 -980
  121. package/src/api/form-results-api.ts +0 -557
  122. package/src/api/form-templates-api.ts +0 -183
  123. package/src/api/group-channels-api.ts +0 -567
  124. package/src/api/hospitals-api.ts +0 -9242
  125. package/src/api/images-api.ts +0 -148
  126. package/src/api/languages-api.ts +0 -311
  127. package/src/api/medias-api.ts +0 -154
  128. package/src/api/messages-api.ts +0 -147
  129. package/src/api/notifications-api.ts +0 -293
  130. package/src/api/origins-api.ts +0 -365
  131. package/src/api/patients-api.ts +0 -603
  132. package/src/api/plans-api.ts +0 -506
  133. package/src/api/prescriptions-api.ts +0 -333
  134. package/src/api/profiles-api.ts +0 -623
  135. package/src/api/promotions-api.ts +0 -216
  136. package/src/api/secure-containers-api.ts +0 -610
  137. package/src/api/service-reviews-api.ts +0 -1291
  138. package/src/api/services-api.ts +0 -664
  139. package/src/api/services-categories-api.ts +0 -283
  140. package/src/api/specialties-api.ts +0 -1059
  141. package/src/api/specialty-types-api.ts +0 -1174
  142. package/src/api/survey-forms-api.ts +0 -183
  143. package/src/api/survey-results-api.ts +0 -228
  144. package/src/api/tags-api.ts +0 -283
  145. package/src/api/vonage-users-api.ts +0 -301
  146. package/src/api.ts +0 -62
  147. package/src/base.ts +0 -71
  148. package/src/common.ts +0 -148
  149. package/src/configuration.ts +0 -101
  150. package/src/git_push.sh +0 -57
  151. package/src/index.ts +0 -18
  152. package/src/models/about-us-page-item-model.ts +0 -63
  153. package/src/models/about-us-page-model.ts +0 -117
  154. package/src/models/about-us-pages-model.ts +0 -42
  155. package/src/models/accreditation-document-model.ts +0 -50
  156. package/src/models/accreditation-item-model.ts +0 -54
  157. package/src/models/accreditation-model.ts +0 -54
  158. package/src/models/accreditations-model.ts +0 -42
  159. package/src/models/admin-message-model.ts +0 -84
  160. package/src/models/app-version-model.ts +0 -51
  161. package/src/models/appointment-change-log-model.ts +0 -51
  162. package/src/models/appointment-item-model.ts +0 -372
  163. package/src/models/appointment-model.ts +0 -396
  164. package/src/models/appointment-option-document-model.ts +0 -60
  165. package/src/models/appointment-option-model.ts +0 -66
  166. package/src/models/appointment-refund-bank-transfer-model.ts +0 -54
  167. package/src/models/appointment-refund-upi-model.ts +0 -42
  168. package/src/models/appointment-status.ts +0 -39
  169. package/src/models/appointment-timetable-date-model.ts +0 -69
  170. package/src/models/appointment-timetable-status.ts +0 -31
  171. package/src/models/appointment-timetable-time-slot-model.ts +0 -81
  172. package/src/models/appointment-type.ts +0 -34
  173. package/src/models/appointments-model.ts +0 -42
  174. package/src/models/article-contributor-document-model.ts +0 -45
  175. package/src/models/article-contributor-item-model.ts +0 -108
  176. package/src/models/article-contributor-model.ts +0 -144
  177. package/src/models/article-contributors-model.ts +0 -42
  178. package/src/models/article-document-model.ts +0 -426
  179. package/src/models/article-item-model.ts +0 -186
  180. package/src/models/article-model.ts +0 -207
  181. package/src/models/article-sources-model.ts +0 -42
  182. package/src/models/article-tag-item-model.ts +0 -42
  183. package/src/models/article-tag-model.ts +0 -42
  184. package/src/models/article-tags-model.ts +0 -42
  185. package/src/models/article-type.ts +0 -33
  186. package/src/models/articles-model.ts +0 -42
  187. package/src/models/auditable-entity-document-model.ts +0 -54
  188. package/src/models/auditable-entity-model.ts +0 -72
  189. package/src/models/auditable-entity.ts +0 -72
  190. package/src/models/award-model.ts +0 -48
  191. package/src/models/bank-account-info-item-model.ts +0 -78
  192. package/src/models/bank-account-info-model.ts +0 -78
  193. package/src/models/bank-account-infos-model.ts +0 -42
  194. package/src/models/bank-transfer-payment-model.ts +0 -48
  195. package/src/models/call-status.ts +0 -40
  196. package/src/models/cancel-appointment-command.ts +0 -48
  197. package/src/models/change-email-command.ts +0 -30
  198. package/src/models/channel-messenger.ts +0 -30
  199. package/src/models/channel-mms.ts +0 -30
  200. package/src/models/channel-pstn.ts +0 -30
  201. package/src/models/channel-sip.ts +0 -42
  202. package/src/models/channel-sms.ts +0 -30
  203. package/src/models/channel-vbc.ts +0 -30
  204. package/src/models/channel-viber.ts +0 -30
  205. package/src/models/channel-web-socket.ts +0 -42
  206. package/src/models/channel-whats-app.ts +0 -30
  207. package/src/models/charge-status.ts +0 -32
  208. package/src/models/chat-user-model.ts +0 -78
  209. package/src/models/chat-users-model.ts +0 -39
  210. package/src/models/check-notifications-command.ts +0 -36
  211. package/src/models/communication-user-token-model.ts +0 -48
  212. package/src/models/confirm-email-command.ts +0 -30
  213. package/src/models/contact-type.ts +0 -36
  214. package/src/models/contribution-type.ts +0 -32
  215. package/src/models/contributor-item-model.ts +0 -123
  216. package/src/models/contributor-model.ts +0 -153
  217. package/src/models/contributor-sns-handles-model.ts +0 -42
  218. package/src/models/contributor-sub-document-model.ts +0 -315
  219. package/src/models/contributors-model.ts +0 -42
  220. package/src/models/coordinate-system.ts +0 -42
  221. package/src/models/countries-model.ts +0 -42
  222. package/src/models/country-currency-document-model.ts +0 -48
  223. package/src/models/country-currency-item-model.ts +0 -60
  224. package/src/models/country-document-model.ts +0 -411
  225. package/src/models/country-item-model.ts +0 -129
  226. package/src/models/country-language-document-model.ts +0 -48
  227. package/src/models/country-language-item-model.ts +0 -54
  228. package/src/models/country-model.ts +0 -159
  229. package/src/models/create-appointment-command.ts +0 -159
  230. package/src/models/create-call-history-command.ts +0 -69
  231. package/src/models/create-chat-user-command.ts +0 -54
  232. package/src/models/create-cors-command.ts +0 -30
  233. package/src/models/create-device-command.ts +0 -69
  234. package/src/models/create-form-result-command.ts +0 -51
  235. package/src/models/create-media-command.ts +0 -57
  236. package/src/models/create-patient-command.ts +0 -93
  237. package/src/models/create-profile-command.ts +0 -96
  238. package/src/models/create-service-review-command.ts +0 -87
  239. package/src/models/create-survey-result-command.ts +0 -63
  240. package/src/models/curation-categories-model.ts +0 -42
  241. package/src/models/curation-category-model.ts +0 -42
  242. package/src/models/curation-model.ts +0 -66
  243. package/src/models/curations-by-category-item-model.ts +0 -54
  244. package/src/models/curations-by-category-model.ts +0 -51
  245. package/src/models/currencies-model.ts +0 -42
  246. package/src/models/currency-item-model.ts +0 -48
  247. package/src/models/day-of-week.ts +0 -36
  248. package/src/models/deal-document-model.ts +0 -447
  249. package/src/models/deal-item-model.ts +0 -210
  250. package/src/models/deal-item-simple-model.ts +0 -54
  251. package/src/models/deal-mapping-model.ts +0 -33
  252. package/src/models/deal-model.ts +0 -264
  253. package/src/models/deal-package-item-model.ts +0 -132
  254. package/src/models/deal-package-mapping-model.ts +0 -75
  255. package/src/models/deal-package-model.ts +0 -171
  256. package/src/models/deal-packages-model.ts +0 -42
  257. package/src/models/deal-service-item-model.ts +0 -72
  258. package/src/models/deal-service-mapping-model.ts +0 -42
  259. package/src/models/deal-service-model.ts +0 -72
  260. package/src/models/deal-service-sub-document-model.ts +0 -333
  261. package/src/models/deal-service-translation-item-document-model.ts +0 -42
  262. package/src/models/deal-services-model.ts +0 -42
  263. package/src/models/deal-translation-document-model.ts +0 -42
  264. package/src/models/deals-model.ts +0 -42
  265. package/src/models/deals-simple-model.ts +0 -42
  266. package/src/models/department-document-model.ts +0 -375
  267. package/src/models/department-sub-document-model.ts +0 -327
  268. package/src/models/device-item-model.ts +0 -63
  269. package/src/models/device-model.ts +0 -69
  270. package/src/models/devices-model.ts +0 -42
  271. package/src/models/doctor-affiliation-item-model.ts +0 -261
  272. package/src/models/doctor-affiliation-model.ts +0 -351
  273. package/src/models/doctor-affiliation-translation-document-model.ts +0 -60
  274. package/src/models/doctor-affiliations-model.ts +0 -42
  275. package/src/models/doctor-certificate-item-model.ts +0 -66
  276. package/src/models/doctor-certificate-model.ts +0 -66
  277. package/src/models/doctor-certificate-sub-document-model.ts +0 -48
  278. package/src/models/doctor-certificates-model.ts +0 -42
  279. package/src/models/doctor-document-model.ts +0 -513
  280. package/src/models/doctor-education-item-model.ts +0 -78
  281. package/src/models/doctor-education-model.ts +0 -78
  282. package/src/models/doctor-educations-model.ts +0 -42
  283. package/src/models/doctor-item-model.ts +0 -105
  284. package/src/models/doctor-language-item-model.ts +0 -60
  285. package/src/models/doctor-language-model.ts +0 -60
  286. package/src/models/doctor-languages-model.ts +0 -42
  287. package/src/models/doctor-model.ts +0 -135
  288. package/src/models/doctor-portfolio-item-model.ts +0 -66
  289. package/src/models/doctor-portfolio-item-simple-model.ts +0 -48
  290. package/src/models/doctor-portfolio-model.ts +0 -66
  291. package/src/models/doctor-portfolios-model.ts +0 -42
  292. package/src/models/doctor-prefix.ts +0 -31
  293. package/src/models/doctor-simple-item-model.ts +0 -48
  294. package/src/models/doctor-specialties-model.ts +0 -42
  295. package/src/models/doctor-specialty-item-model.ts +0 -66
  296. package/src/models/doctor-specialty-model.ts +0 -66
  297. package/src/models/doctor-specialty-sub-document-model.ts +0 -321
  298. package/src/models/doctor-specialty-translation-item-document-model.ts +0 -42
  299. package/src/models/doctors-model.ts +0 -42
  300. package/src/models/doctors-simple-model.ts +0 -42
  301. package/src/models/facebook-user-data-deletion-response-model.ts +0 -48
  302. package/src/models/faq-categories-model.ts +0 -42
  303. package/src/models/faq-category-item-model.ts +0 -99
  304. package/src/models/faq-category-model.ts +0 -126
  305. package/src/models/faq-item-model.ts +0 -138
  306. package/src/models/faq-model.ts +0 -171
  307. package/src/models/faq-tag-item-model.ts +0 -42
  308. package/src/models/faq-tag-model.ts +0 -42
  309. package/src/models/faq-tags-model.ts +0 -42
  310. package/src/models/faqs-model.ts +0 -42
  311. package/src/models/feature-detail-document-model.ts +0 -78
  312. package/src/models/feature-detail-model.ts +0 -78
  313. package/src/models/feature-model.ts +0 -39
  314. package/src/models/footer-navigation-item-model.ts +0 -72
  315. package/src/models/form-field-model.ts +0 -129
  316. package/src/models/form-field-option-model.ts +0 -60
  317. package/src/models/form-result-field-input-model.ts +0 -39
  318. package/src/models/form-result-field-model.ts +0 -99
  319. package/src/models/form-result-item-model.ts +0 -111
  320. package/src/models/form-result-model.ts +0 -120
  321. package/src/models/form-result-section-input-model.ts +0 -39
  322. package/src/models/form-result-section-model.ts +0 -69
  323. package/src/models/form-result-status.ts +0 -32
  324. package/src/models/form-result-value-input-model.ts +0 -42
  325. package/src/models/form-result-value-model.ts +0 -66
  326. package/src/models/form-results-model.ts +0 -42
  327. package/src/models/form-section-model.ts +0 -69
  328. package/src/models/form-template-model.ts +0 -129
  329. package/src/models/form-template-status.ts +0 -31
  330. package/src/models/form-template-type.ts +0 -32
  331. package/src/models/gender.ts +0 -34
  332. package/src/models/geography-point.ts +0 -63
  333. package/src/models/get-appointment-timetables-response-model.ts +0 -51
  334. package/src/models/grade-document-model.ts +0 -48
  335. package/src/models/grade-model.ts +0 -48
  336. package/src/models/header-navigation-item-model.ts +0 -78
  337. package/src/models/hospital-accreditation-item-model.ts +0 -54
  338. package/src/models/hospital-accreditation-model.ts +0 -54
  339. package/src/models/hospital-accreditations-model.ts +0 -42
  340. package/src/models/hospital-branch-item-mapping-model.ts +0 -93
  341. package/src/models/hospital-branch-item-model.ts +0 -69
  342. package/src/models/hospital-branches-model.ts +0 -51
  343. package/src/models/hospital-consultation-option-model.ts +0 -42
  344. package/src/models/hospital-contact-document-model.ts +0 -78
  345. package/src/models/hospital-contact-item-model.ts +0 -87
  346. package/src/models/hospital-contacts-model.ts +0 -42
  347. package/src/models/hospital-doctor-portfolio-item-model.ts +0 -60
  348. package/src/models/hospital-doctor-portfolios-model.ts +0 -42
  349. package/src/models/hospital-document-model.ts +0 -516
  350. package/src/models/hospital-equipment-item-model.ts +0 -72
  351. package/src/models/hospital-equipment-model.ts +0 -72
  352. package/src/models/hospital-equipments-model.ts +0 -42
  353. package/src/models/hospital-evaluation-item-model.ts +0 -36
  354. package/src/models/hospital-evaluation-model.ts +0 -48
  355. package/src/models/hospital-evaluations-model.ts +0 -42
  356. package/src/models/hospital-group-item-model.ts +0 -60
  357. package/src/models/hospital-item-model.ts +0 -265
  358. package/src/models/hospital-language-item-model.ts +0 -60
  359. package/src/models/hospital-languages-model.ts +0 -42
  360. package/src/models/hospital-model.ts +0 -388
  361. package/src/models/hospital-payment-gateway-model.ts +0 -36
  362. package/src/models/hospital-payment-method-model.ts +0 -90
  363. package/src/models/hospital-payment-methods-model.ts +0 -42
  364. package/src/models/hospital-rating-item-model.ts +0 -72
  365. package/src/models/hospital-ratings-model.ts +0 -42
  366. package/src/models/hospital-service-item-model.ts +0 -162
  367. package/src/models/hospital-service-model.ts +0 -255
  368. package/src/models/hospital-services-model.ts +0 -42
  369. package/src/models/hospital-simple-item-model.ts +0 -54
  370. package/src/models/hospital-sns-handles-model.ts +0 -42
  371. package/src/models/hospital-specialties-model.ts +0 -42
  372. package/src/models/hospital-specialties-simple-model.ts +0 -42
  373. package/src/models/hospital-specialty-item-model.ts +0 -162
  374. package/src/models/hospital-specialty-model.ts +0 -243
  375. package/src/models/hospital-specialty-simple-item-model.ts +0 -60
  376. package/src/models/hospital-specialty-sub-document-model.ts +0 -333
  377. package/src/models/hospital-specialty-translation-item-document-model.ts +0 -48
  378. package/src/models/hospital-sub-document-model.ts +0 -360
  379. package/src/models/hospital-tag-item-model.ts +0 -36
  380. package/src/models/hospital-tag-model.ts +0 -42
  381. package/src/models/hospital-tags-model.ts +0 -42
  382. package/src/models/hospital-translation-document-model.ts +0 -72
  383. package/src/models/hospital-working-day-of-week-model.ts +0 -45
  384. package/src/models/hospital-working-days-model.ts +0 -42
  385. package/src/models/hospitals-model.ts +0 -42
  386. package/src/models/hospitals-simple-model.ts +0 -42
  387. package/src/models/index.ts +0 -375
  388. package/src/models/invite-send-bird-group-channel-command.ts +0 -30
  389. package/src/models/landing-item-model.ts +0 -81
  390. package/src/models/landing-model.ts +0 -141
  391. package/src/models/landings-model.ts +0 -42
  392. package/src/models/language-item-model.ts +0 -60
  393. package/src/models/language-model.ts +0 -60
  394. package/src/models/languages-model.ts +0 -42
  395. package/src/models/localized-url-model.ts +0 -42
  396. package/src/models/location-document-model.ts +0 -93
  397. package/src/models/location-model.ts +0 -103
  398. package/src/models/marketing-type.ts +0 -32
  399. package/src/models/media-document-model.ts +0 -66
  400. package/src/models/media-model.ts +0 -69
  401. package/src/models/media-type.ts +0 -37
  402. package/src/models/medias-model.ts +0 -42
  403. package/src/models/metadata.ts +0 -42
  404. package/src/models/notice-item-model.ts +0 -93
  405. package/src/models/notice-status.ts +0 -32
  406. package/src/models/notices-model.ts +0 -42
  407. package/src/models/notification-code.ts +0 -68
  408. package/src/models/notification-model.ts +0 -93
  409. package/src/models/notifications-model.ts +0 -48
  410. package/src/models/package-sub-document-model.ts +0 -72
  411. package/src/models/page-block-link-model.ts +0 -81
  412. package/src/models/page-block-link-type.ts +0 -32
  413. package/src/models/page-block-location-model.ts +0 -48
  414. package/src/models/page-block-model.ts +0 -147
  415. package/src/models/page-block-type.ts +0 -48
  416. package/src/models/page-item-model.ts +0 -102
  417. package/src/models/page-item-status.ts +0 -32
  418. package/src/models/page-section-list-type.ts +0 -34
  419. package/src/models/page-section-model.ts +0 -69
  420. package/src/models/paged-list-meta-data.ts +0 -84
  421. package/src/models/patient-model.ts +0 -129
  422. package/src/models/pay-appointment-command.ts +0 -39
  423. package/src/models/payment-method.ts +0 -35
  424. package/src/models/payment-model.ts +0 -87
  425. package/src/models/payment-status.ts +0 -33
  426. package/src/models/plan-hospital-item-model.ts +0 -54
  427. package/src/models/plan-hospital-model.ts +0 -54
  428. package/src/models/plan-hospitals-model.ts +0 -42
  429. package/src/models/plan-item-model.ts +0 -75
  430. package/src/models/plan-model.ts +0 -75
  431. package/src/models/plans-model.ts +0 -42
  432. package/src/models/platform.ts +0 -32
  433. package/src/models/policies-model.ts +0 -42
  434. package/src/models/policy-item-model.ts +0 -66
  435. package/src/models/policy-model.ts +0 -126
  436. package/src/models/prescription-diagnosis-model.ts +0 -42
  437. package/src/models/prescription-item-model.ts +0 -180
  438. package/src/models/prescription-medication-model.ts +0 -84
  439. package/src/models/prescription-model.ts +0 -207
  440. package/src/models/prescription-symptom-model.ts +0 -54
  441. package/src/models/prescriptions-model.ts +0 -42
  442. package/src/models/problem-details.ts +0 -56
  443. package/src/models/procedure.ts +0 -31
  444. package/src/models/promotion-model.ts +0 -108
  445. package/src/models/promotion-type.ts +0 -32
  446. package/src/models/promotions-model.ts +0 -42
  447. package/src/models/recurring-interval.ts +0 -33
  448. package/src/models/refund-appointment-command.ts +0 -48
  449. package/src/models/refund-policy.ts +0 -32
  450. package/src/models/refund-status.ts +0 -32
  451. package/src/models/register-patient-command.ts +0 -42
  452. package/src/models/registered-account-model.ts +0 -66
  453. package/src/models/reject-reason.ts +0 -33
  454. package/src/models/remove-cors-command.ts +0 -30
  455. package/src/models/request-handoff-command.ts +0 -48
  456. package/src/models/reschedule-appointment-command.ts +0 -42
  457. package/src/models/review-type.ts +0 -32
  458. package/src/models/secure-container-item-model.ts +0 -48
  459. package/src/models/secure-container-model.ts +0 -57
  460. package/src/models/secure-containers-model.ts +0 -42
  461. package/src/models/secure-file-item-input-model.ts +0 -48
  462. package/src/models/secure-file-model.ts +0 -93
  463. package/src/models/secure-files-uploaded-model.ts +0 -33
  464. package/src/models/send-bird-group-channel-member.ts +0 -87
  465. package/src/models/send-bird-group-channel-model.ts +0 -153
  466. package/src/models/send-bird-group-channelr-operator.ts +0 -42
  467. package/src/models/service-categories-model.ts +0 -42
  468. package/src/models/service-category-item-model.ts +0 -60
  469. package/src/models/service-category-model.ts +0 -60
  470. package/src/models/service-review-item-model.ts +0 -183
  471. package/src/models/service-review-model.ts +0 -183
  472. package/src/models/service-reviews-model.ts +0 -42
  473. package/src/models/simple-translation-model.ts +0 -60
  474. package/src/models/simple-translation-with-description-model.ts +0 -66
  475. package/src/models/sns-handle-document-model.ts +0 -36
  476. package/src/models/sns-handle-model.ts +0 -45
  477. package/src/models/sns-type.ts +0 -35
  478. package/src/models/source-model.ts +0 -48
  479. package/src/models/specialties-model.ts +0 -42
  480. package/src/models/specialties-simple-model.ts +0 -42
  481. package/src/models/specialty-document-model.ts +0 -372
  482. package/src/models/specialty-item-model.ts +0 -123
  483. package/src/models/specialty-item-simple-model.ts +0 -60
  484. package/src/models/specialty-model.ts +0 -150
  485. package/src/models/specialty-type-item-model.ts +0 -132
  486. package/src/models/specialty-type-model.ts +0 -159
  487. package/src/models/specialty-type-simple-item-model.ts +0 -54
  488. package/src/models/specialty-types-model.ts +0 -42
  489. package/src/models/specialty-types-simple-model.ts +0 -42
  490. package/src/models/survey-form-affiliation-model.ts +0 -63
  491. package/src/models/survey-form-element-model.ts +0 -96
  492. package/src/models/survey-form-element-option-model.ts +0 -66
  493. package/src/models/survey-form-element-types.ts +0 -44
  494. package/src/models/survey-form-model.ts +0 -117
  495. package/src/models/survey-form-status.ts +0 -31
  496. package/src/models/survey-result-element-input-model.ts +0 -54
  497. package/src/models/survey-result-element-value-input-model.ts +0 -42
  498. package/src/models/tag-document-model.ts +0 -36
  499. package/src/models/tag-item-model.ts +0 -48
  500. package/src/models/tag-model.ts +0 -48
  501. package/src/models/tags-model.ts +0 -42
  502. package/src/models/translation-document-model.ts +0 -36
  503. package/src/models/translation-item-document-model.ts +0 -36
  504. package/src/models/update-appointment-command.ts +0 -99
  505. package/src/models/update-call-history-command.ts +0 -81
  506. package/src/models/update-chat-user-command.ts +0 -48
  507. package/src/models/update-device-command.ts +0 -54
  508. package/src/models/update-media-command.ts +0 -57
  509. package/src/models/update-patient-command.ts +0 -87
  510. package/src/models/update-profile-command.ts +0 -84
  511. package/src/models/update-secure-container-command.ts +0 -45
  512. package/src/models/update-service-review-command.ts +0 -84
  513. package/src/models/update-survey-result-command.ts +0 -36
  514. package/src/models/update-vonage-user-command.ts +0 -66
  515. package/src/models/upi-payment-model.ts +0 -36
  516. package/src/models/uploaded-medias-model.ts +0 -33
  517. package/src/models/user-channels.ts +0 -105
  518. package/src/models/user-language-document-model.ts +0 -60
  519. package/src/models/user-language-model.ts +0 -60
  520. package/src/models/user-model.ts +0 -123
  521. package/src/models/user-property.ts +0 -30
  522. package/src/models/validate-specialty-names-by-specialty-type-command.ts +0 -42
  523. package/src/models/validate-specialty-names-result.ts +0 -30
  524. package/src/models/vonage-user.ts +0 -63
  525. package/src/models/web-app-metadata-model.ts +0 -66
  526. package/src/models/working-day-item-model.ts +0 -60
  527. package/src/models/working-day-model.ts +0 -60
  528. package/tsconfig.json +0 -71
@@ -1,1107 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * CloudHospital Api
5
- * CloudHospital application with Swagger, Swashbuckle, and API versioning.
6
- *
7
- * The version of the OpenAPI document: 2
8
- * Contact: developer@icloudhospital.com
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
-
16
- import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
- import { Configuration } from '../configuration';
18
- // Some imports not used depending on template conditions
19
- // @ts-ignore
20
- import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
- // @ts-ignore
22
- import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
- // @ts-ignore
24
- import { AppointmentModel } from '../models';
25
- // @ts-ignore
26
- import { AppointmentStatus } from '../models';
27
- // @ts-ignore
28
- import { AppointmentType } from '../models';
29
- // @ts-ignore
30
- import { AppointmentsModel } from '../models';
31
- // @ts-ignore
32
- import { CancelAppointmentCommand } from '../models';
33
- // @ts-ignore
34
- import { CreateAppointmentCommand } from '../models';
35
- // @ts-ignore
36
- import { PayAppointmentCommand } from '../models';
37
- // @ts-ignore
38
- import { ProblemDetails } from '../models';
39
- // @ts-ignore
40
- import { RefundAppointmentCommand } from '../models';
41
- // @ts-ignore
42
- import { RescheduleAppointmentCommand } from '../models';
43
- // @ts-ignore
44
- import { UpdateAppointmentCommand } from '../models';
45
- /**
46
- * AppointmentsApi - axios parameter creator
47
- * @export
48
- */
49
- export const AppointmentsApiAxiosParamCreator = function (configuration?: Configuration) {
50
- return {
51
- /**
52
- *
53
- * @summary Cancel appointment
54
- * @param {string} appointmentId
55
- * @param {CancelAppointmentCommand} [cancelAppointmentCommand]
56
- * @param {*} [options] Override http request option.
57
- * @throws {RequiredError}
58
- */
59
- apiV2AppointmentsAppointmentIdCancelPut: async (appointmentId: string, cancelAppointmentCommand?: CancelAppointmentCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
60
- // verify required parameter 'appointmentId' is not null or undefined
61
- assertParamExists('apiV2AppointmentsAppointmentIdCancelPut', 'appointmentId', appointmentId)
62
- const localVarPath = `/api/v2/appointments/{appointmentId}/cancel`
63
- .replace(`{${"appointmentId"}}`, encodeURIComponent(String(appointmentId)));
64
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
65
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
66
- let baseOptions;
67
- if (configuration) {
68
- baseOptions = configuration.baseOptions;
69
- }
70
-
71
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
72
- const localVarHeaderParameter = {} as any;
73
- const localVarQueryParameter = {} as any;
74
-
75
- // authentication oauth2 required
76
- // oauth required
77
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_api"], configuration)
78
-
79
-
80
-
81
- localVarHeaderParameter['Content-Type'] = 'application/json';
82
-
83
- setSearchParams(localVarUrlObj, localVarQueryParameter);
84
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
85
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
86
- localVarRequestOptions.data = serializeDataIfNeeded(cancelAppointmentCommand, localVarRequestOptions, configuration)
87
-
88
- return {
89
- url: toPathString(localVarUrlObj),
90
- options: localVarRequestOptions,
91
- };
92
- },
93
- /**
94
- *
95
- * @summary Get appointment by id
96
- * @param {string} appointmentId
97
- * @param {string} [languageCode]
98
- * @param {*} [options] Override http request option.
99
- * @throws {RequiredError}
100
- */
101
- apiV2AppointmentsAppointmentIdGet: async (appointmentId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
102
- // verify required parameter 'appointmentId' is not null or undefined
103
- assertParamExists('apiV2AppointmentsAppointmentIdGet', 'appointmentId', appointmentId)
104
- const localVarPath = `/api/v2/appointments/{appointmentId}`
105
- .replace(`{${"appointmentId"}}`, encodeURIComponent(String(appointmentId)));
106
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
107
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
108
- let baseOptions;
109
- if (configuration) {
110
- baseOptions = configuration.baseOptions;
111
- }
112
-
113
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
114
- const localVarHeaderParameter = {} as any;
115
- const localVarQueryParameter = {} as any;
116
-
117
- // authentication oauth2 required
118
- // oauth required
119
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_api"], configuration)
120
-
121
- if (languageCode !== undefined) {
122
- localVarQueryParameter['languageCode'] = languageCode;
123
- }
124
-
125
-
126
-
127
- setSearchParams(localVarUrlObj, localVarQueryParameter);
128
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
129
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
130
-
131
- return {
132
- url: toPathString(localVarUrlObj),
133
- options: localVarRequestOptions,
134
- };
135
- },
136
- /**
137
- *
138
- * @summary Pay appointment
139
- * @param {string} appointmentId
140
- * @param {PayAppointmentCommand} [payAppointmentCommand]
141
- * @param {*} [options] Override http request option.
142
- * @throws {RequiredError}
143
- */
144
- apiV2AppointmentsAppointmentIdPayPost: async (appointmentId: string, payAppointmentCommand?: PayAppointmentCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
145
- // verify required parameter 'appointmentId' is not null or undefined
146
- assertParamExists('apiV2AppointmentsAppointmentIdPayPost', 'appointmentId', appointmentId)
147
- const localVarPath = `/api/v2/appointments/{appointmentId}/pay`
148
- .replace(`{${"appointmentId"}}`, encodeURIComponent(String(appointmentId)));
149
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
150
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
151
- let baseOptions;
152
- if (configuration) {
153
- baseOptions = configuration.baseOptions;
154
- }
155
-
156
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
157
- const localVarHeaderParameter = {} as any;
158
- const localVarQueryParameter = {} as any;
159
-
160
- // authentication oauth2 required
161
- // oauth required
162
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_api"], configuration)
163
-
164
-
165
-
166
- localVarHeaderParameter['Content-Type'] = 'application/json';
167
-
168
- setSearchParams(localVarUrlObj, localVarQueryParameter);
169
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
170
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
171
- localVarRequestOptions.data = serializeDataIfNeeded(payAppointmentCommand, localVarRequestOptions, configuration)
172
-
173
- return {
174
- url: toPathString(localVarUrlObj),
175
- options: localVarRequestOptions,
176
- };
177
- },
178
- /**
179
- *
180
- * @summary Update appointment
181
- * @param {string} appointmentId
182
- * @param {UpdateAppointmentCommand} [updateAppointmentCommand]
183
- * @param {*} [options] Override http request option.
184
- * @throws {RequiredError}
185
- */
186
- apiV2AppointmentsAppointmentIdPut: async (appointmentId: string, updateAppointmentCommand?: UpdateAppointmentCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
187
- // verify required parameter 'appointmentId' is not null or undefined
188
- assertParamExists('apiV2AppointmentsAppointmentIdPut', 'appointmentId', appointmentId)
189
- const localVarPath = `/api/v2/appointments/{appointmentId}`
190
- .replace(`{${"appointmentId"}}`, encodeURIComponent(String(appointmentId)));
191
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
192
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
193
- let baseOptions;
194
- if (configuration) {
195
- baseOptions = configuration.baseOptions;
196
- }
197
-
198
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
199
- const localVarHeaderParameter = {} as any;
200
- const localVarQueryParameter = {} as any;
201
-
202
- // authentication oauth2 required
203
- // oauth required
204
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_api"], configuration)
205
-
206
-
207
-
208
- localVarHeaderParameter['Content-Type'] = 'application/json';
209
-
210
- setSearchParams(localVarUrlObj, localVarQueryParameter);
211
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
212
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
213
- localVarRequestOptions.data = serializeDataIfNeeded(updateAppointmentCommand, localVarRequestOptions, configuration)
214
-
215
- return {
216
- url: toPathString(localVarUrlObj),
217
- options: localVarRequestOptions,
218
- };
219
- },
220
- /**
221
- *
222
- * @summary Update refund information
223
- * @param {string} appointmentId
224
- * @param {RefundAppointmentCommand} [refundAppointmentCommand]
225
- * @param {*} [options] Override http request option.
226
- * @throws {RequiredError}
227
- */
228
- apiV2AppointmentsAppointmentIdRefundPut: async (appointmentId: string, refundAppointmentCommand?: RefundAppointmentCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
229
- // verify required parameter 'appointmentId' is not null or undefined
230
- assertParamExists('apiV2AppointmentsAppointmentIdRefundPut', 'appointmentId', appointmentId)
231
- const localVarPath = `/api/v2/appointments/{appointmentId}/refund`
232
- .replace(`{${"appointmentId"}}`, encodeURIComponent(String(appointmentId)));
233
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
234
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
235
- let baseOptions;
236
- if (configuration) {
237
- baseOptions = configuration.baseOptions;
238
- }
239
-
240
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
241
- const localVarHeaderParameter = {} as any;
242
- const localVarQueryParameter = {} as any;
243
-
244
- // authentication oauth2 required
245
- // oauth required
246
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_api"], configuration)
247
-
248
-
249
-
250
- localVarHeaderParameter['Content-Type'] = 'application/json';
251
-
252
- setSearchParams(localVarUrlObj, localVarQueryParameter);
253
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
254
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
255
- localVarRequestOptions.data = serializeDataIfNeeded(refundAppointmentCommand, localVarRequestOptions, configuration)
256
-
257
- return {
258
- url: toPathString(localVarUrlObj),
259
- options: localVarRequestOptions,
260
- };
261
- },
262
- /**
263
- *
264
- * @summary Reschedue appointment
265
- * @param {string} appointmentId
266
- * @param {RescheduleAppointmentCommand} [rescheduleAppointmentCommand]
267
- * @param {*} [options] Override http request option.
268
- * @throws {RequiredError}
269
- */
270
- apiV2AppointmentsAppointmentIdReschedulePut: async (appointmentId: string, rescheduleAppointmentCommand?: RescheduleAppointmentCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
271
- // verify required parameter 'appointmentId' is not null or undefined
272
- assertParamExists('apiV2AppointmentsAppointmentIdReschedulePut', 'appointmentId', appointmentId)
273
- const localVarPath = `/api/v2/appointments/{appointmentId}/reschedule`
274
- .replace(`{${"appointmentId"}}`, encodeURIComponent(String(appointmentId)));
275
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
276
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
277
- let baseOptions;
278
- if (configuration) {
279
- baseOptions = configuration.baseOptions;
280
- }
281
-
282
- const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
283
- const localVarHeaderParameter = {} as any;
284
- const localVarQueryParameter = {} as any;
285
-
286
- // authentication oauth2 required
287
- // oauth required
288
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_api"], configuration)
289
-
290
-
291
-
292
- localVarHeaderParameter['Content-Type'] = 'application/json';
293
-
294
- setSearchParams(localVarUrlObj, localVarQueryParameter);
295
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
296
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
297
- localVarRequestOptions.data = serializeDataIfNeeded(rescheduleAppointmentCommand, localVarRequestOptions, configuration)
298
-
299
- return {
300
- url: toPathString(localVarUrlObj),
301
- options: localVarRequestOptions,
302
- };
303
- },
304
- /**
305
- *
306
- * @summary Get appointments
307
- * @param {string} [hospitalId]
308
- * @param {string} [hospitalName]
309
- * @param {string} [doctorAffiliationId]
310
- * @param {string} [doctorId]
311
- * @param {string} [doctorName]
312
- * @param {string} [dealId]
313
- * @param {string} [dealName]
314
- * @param {string} [dealPackageId]
315
- * @param {string} [hospitalSpecialtyId]
316
- * @param {string} [serviceId]
317
- * @param {boolean} [isOpen]
318
- * @param {boolean} [isCompleted]
319
- * @param {AppointmentStatus} [status]
320
- * @param {AppointmentType} [appointmentType]
321
- * @param {string} [languageCode]
322
- * @param {boolean} [isExternal]
323
- * @param {number} [page]
324
- * @param {number} [limit]
325
- * @param {Date} [lastRetrieved]
326
- * @param {*} [options] Override http request option.
327
- * @throws {RequiredError}
328
- */
329
- apiV2AppointmentsGet: async (hospitalId?: string, hospitalName?: string, doctorAffiliationId?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, status?: AppointmentStatus, appointmentType?: AppointmentType, languageCode?: string, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
330
- const localVarPath = `/api/v2/appointments`;
331
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
332
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
333
- let baseOptions;
334
- if (configuration) {
335
- baseOptions = configuration.baseOptions;
336
- }
337
-
338
- const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
339
- const localVarHeaderParameter = {} as any;
340
- const localVarQueryParameter = {} as any;
341
-
342
- // authentication oauth2 required
343
- // oauth required
344
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_api"], configuration)
345
-
346
- if (hospitalId !== undefined) {
347
- localVarQueryParameter['HospitalId'] = hospitalId;
348
- }
349
-
350
- if (hospitalName !== undefined) {
351
- localVarQueryParameter['HospitalName'] = hospitalName;
352
- }
353
-
354
- if (doctorAffiliationId !== undefined) {
355
- localVarQueryParameter['DoctorAffiliationId'] = doctorAffiliationId;
356
- }
357
-
358
- if (doctorId !== undefined) {
359
- localVarQueryParameter['DoctorId'] = doctorId;
360
- }
361
-
362
- if (doctorName !== undefined) {
363
- localVarQueryParameter['DoctorName'] = doctorName;
364
- }
365
-
366
- if (dealId !== undefined) {
367
- localVarQueryParameter['DealId'] = dealId;
368
- }
369
-
370
- if (dealName !== undefined) {
371
- localVarQueryParameter['DealName'] = dealName;
372
- }
373
-
374
- if (dealPackageId !== undefined) {
375
- localVarQueryParameter['DealPackageId'] = dealPackageId;
376
- }
377
-
378
- if (hospitalSpecialtyId !== undefined) {
379
- localVarQueryParameter['HospitalSpecialtyId'] = hospitalSpecialtyId;
380
- }
381
-
382
- if (serviceId !== undefined) {
383
- localVarQueryParameter['ServiceId'] = serviceId;
384
- }
385
-
386
- if (isOpen !== undefined) {
387
- localVarQueryParameter['IsOpen'] = isOpen;
388
- }
389
-
390
- if (isCompleted !== undefined) {
391
- localVarQueryParameter['IsCompleted'] = isCompleted;
392
- }
393
-
394
- if (status !== undefined) {
395
- localVarQueryParameter['Status'] = status;
396
- }
397
-
398
- if (appointmentType !== undefined) {
399
- localVarQueryParameter['AppointmentType'] = appointmentType;
400
- }
401
-
402
- if (languageCode !== undefined) {
403
- localVarQueryParameter['LanguageCode'] = languageCode;
404
- }
405
-
406
- if (isExternal !== undefined) {
407
- localVarQueryParameter['IsExternal'] = isExternal;
408
- }
409
-
410
- if (page !== undefined) {
411
- localVarQueryParameter['page'] = page;
412
- }
413
-
414
- if (limit !== undefined) {
415
- localVarQueryParameter['limit'] = limit;
416
- }
417
-
418
- if (lastRetrieved !== undefined) {
419
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
420
- (lastRetrieved as any).toISOString() :
421
- lastRetrieved;
422
- }
423
-
424
-
425
-
426
- setSearchParams(localVarUrlObj, localVarQueryParameter);
427
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
428
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
429
-
430
- return {
431
- url: toPathString(localVarUrlObj),
432
- options: localVarRequestOptions,
433
- };
434
- },
435
- /**
436
- *
437
- * @summary Create appointment
438
- * @param {string} requestId
439
- * @param {CreateAppointmentCommand} [createAppointmentCommand]
440
- * @param {*} [options] Override http request option.
441
- * @throws {RequiredError}
442
- */
443
- apiV2AppointmentsRequestIdPost: async (requestId: string, createAppointmentCommand?: CreateAppointmentCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
444
- // verify required parameter 'requestId' is not null or undefined
445
- assertParamExists('apiV2AppointmentsRequestIdPost', 'requestId', requestId)
446
- const localVarPath = `/api/v2/appointments/{requestId}`
447
- .replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
448
- // use dummy base URL string because the URL constructor only accepts absolute URLs.
449
- const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
450
- let baseOptions;
451
- if (configuration) {
452
- baseOptions = configuration.baseOptions;
453
- }
454
-
455
- const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
456
- const localVarHeaderParameter = {} as any;
457
- const localVarQueryParameter = {} as any;
458
-
459
- // authentication oauth2 required
460
- // oauth required
461
- await setOAuthToObject(localVarHeaderParameter, "oauth2", ["cloudhospital_api"], configuration)
462
-
463
-
464
-
465
- localVarHeaderParameter['Content-Type'] = 'application/json';
466
-
467
- setSearchParams(localVarUrlObj, localVarQueryParameter);
468
- let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
469
- localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
470
- localVarRequestOptions.data = serializeDataIfNeeded(createAppointmentCommand, localVarRequestOptions, configuration)
471
-
472
- return {
473
- url: toPathString(localVarUrlObj),
474
- options: localVarRequestOptions,
475
- };
476
- },
477
- }
478
- };
479
-
480
- /**
481
- * AppointmentsApi - functional programming interface
482
- * @export
483
- */
484
- export const AppointmentsApiFp = function(configuration?: Configuration) {
485
- const localVarAxiosParamCreator = AppointmentsApiAxiosParamCreator(configuration)
486
- return {
487
- /**
488
- *
489
- * @summary Cancel appointment
490
- * @param {string} appointmentId
491
- * @param {CancelAppointmentCommand} [cancelAppointmentCommand]
492
- * @param {*} [options] Override http request option.
493
- * @throws {RequiredError}
494
- */
495
- async apiV2AppointmentsAppointmentIdCancelPut(appointmentId: string, cancelAppointmentCommand?: CancelAppointmentCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentModel>> {
496
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AppointmentsAppointmentIdCancelPut(appointmentId, cancelAppointmentCommand, options);
497
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
498
- },
499
- /**
500
- *
501
- * @summary Get appointment by id
502
- * @param {string} appointmentId
503
- * @param {string} [languageCode]
504
- * @param {*} [options] Override http request option.
505
- * @throws {RequiredError}
506
- */
507
- async apiV2AppointmentsAppointmentIdGet(appointmentId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentModel>> {
508
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AppointmentsAppointmentIdGet(appointmentId, languageCode, options);
509
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
510
- },
511
- /**
512
- *
513
- * @summary Pay appointment
514
- * @param {string} appointmentId
515
- * @param {PayAppointmentCommand} [payAppointmentCommand]
516
- * @param {*} [options] Override http request option.
517
- * @throws {RequiredError}
518
- */
519
- async apiV2AppointmentsAppointmentIdPayPost(appointmentId: string, payAppointmentCommand?: PayAppointmentCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
520
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AppointmentsAppointmentIdPayPost(appointmentId, payAppointmentCommand, options);
521
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
522
- },
523
- /**
524
- *
525
- * @summary Update appointment
526
- * @param {string} appointmentId
527
- * @param {UpdateAppointmentCommand} [updateAppointmentCommand]
528
- * @param {*} [options] Override http request option.
529
- * @throws {RequiredError}
530
- */
531
- async apiV2AppointmentsAppointmentIdPut(appointmentId: string, updateAppointmentCommand?: UpdateAppointmentCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
532
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AppointmentsAppointmentIdPut(appointmentId, updateAppointmentCommand, options);
533
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
534
- },
535
- /**
536
- *
537
- * @summary Update refund information
538
- * @param {string} appointmentId
539
- * @param {RefundAppointmentCommand} [refundAppointmentCommand]
540
- * @param {*} [options] Override http request option.
541
- * @throws {RequiredError}
542
- */
543
- async apiV2AppointmentsAppointmentIdRefundPut(appointmentId: string, refundAppointmentCommand?: RefundAppointmentCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentModel>> {
544
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AppointmentsAppointmentIdRefundPut(appointmentId, refundAppointmentCommand, options);
545
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
546
- },
547
- /**
548
- *
549
- * @summary Reschedue appointment
550
- * @param {string} appointmentId
551
- * @param {RescheduleAppointmentCommand} [rescheduleAppointmentCommand]
552
- * @param {*} [options] Override http request option.
553
- * @throws {RequiredError}
554
- */
555
- async apiV2AppointmentsAppointmentIdReschedulePut(appointmentId: string, rescheduleAppointmentCommand?: RescheduleAppointmentCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentModel>> {
556
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AppointmentsAppointmentIdReschedulePut(appointmentId, rescheduleAppointmentCommand, options);
557
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
558
- },
559
- /**
560
- *
561
- * @summary Get appointments
562
- * @param {string} [hospitalId]
563
- * @param {string} [hospitalName]
564
- * @param {string} [doctorAffiliationId]
565
- * @param {string} [doctorId]
566
- * @param {string} [doctorName]
567
- * @param {string} [dealId]
568
- * @param {string} [dealName]
569
- * @param {string} [dealPackageId]
570
- * @param {string} [hospitalSpecialtyId]
571
- * @param {string} [serviceId]
572
- * @param {boolean} [isOpen]
573
- * @param {boolean} [isCompleted]
574
- * @param {AppointmentStatus} [status]
575
- * @param {AppointmentType} [appointmentType]
576
- * @param {string} [languageCode]
577
- * @param {boolean} [isExternal]
578
- * @param {number} [page]
579
- * @param {number} [limit]
580
- * @param {Date} [lastRetrieved]
581
- * @param {*} [options] Override http request option.
582
- * @throws {RequiredError}
583
- */
584
- async apiV2AppointmentsGet(hospitalId?: string, hospitalName?: string, doctorAffiliationId?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, status?: AppointmentStatus, appointmentType?: AppointmentType, languageCode?: string, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentsModel>> {
585
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AppointmentsGet(hospitalId, hospitalName, doctorAffiliationId, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, status, appointmentType, languageCode, isExternal, page, limit, lastRetrieved, options);
586
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
587
- },
588
- /**
589
- *
590
- * @summary Create appointment
591
- * @param {string} requestId
592
- * @param {CreateAppointmentCommand} [createAppointmentCommand]
593
- * @param {*} [options] Override http request option.
594
- * @throws {RequiredError}
595
- */
596
- async apiV2AppointmentsRequestIdPost(requestId: string, createAppointmentCommand?: CreateAppointmentCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
597
- const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2AppointmentsRequestIdPost(requestId, createAppointmentCommand, options);
598
- return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
599
- },
600
- }
601
- };
602
-
603
- /**
604
- * AppointmentsApi - factory interface
605
- * @export
606
- */
607
- export const AppointmentsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
608
- const localVarFp = AppointmentsApiFp(configuration)
609
- return {
610
- /**
611
- *
612
- * @summary Cancel appointment
613
- * @param {string} appointmentId
614
- * @param {CancelAppointmentCommand} [cancelAppointmentCommand]
615
- * @param {*} [options] Override http request option.
616
- * @throws {RequiredError}
617
- */
618
- apiV2AppointmentsAppointmentIdCancelPut(appointmentId: string, cancelAppointmentCommand?: CancelAppointmentCommand, options?: any): AxiosPromise<AppointmentModel> {
619
- return localVarFp.apiV2AppointmentsAppointmentIdCancelPut(appointmentId, cancelAppointmentCommand, options).then((request) => request(axios, basePath));
620
- },
621
- /**
622
- *
623
- * @summary Get appointment by id
624
- * @param {string} appointmentId
625
- * @param {string} [languageCode]
626
- * @param {*} [options] Override http request option.
627
- * @throws {RequiredError}
628
- */
629
- apiV2AppointmentsAppointmentIdGet(appointmentId: string, languageCode?: string, options?: any): AxiosPromise<AppointmentModel> {
630
- return localVarFp.apiV2AppointmentsAppointmentIdGet(appointmentId, languageCode, options).then((request) => request(axios, basePath));
631
- },
632
- /**
633
- *
634
- * @summary Pay appointment
635
- * @param {string} appointmentId
636
- * @param {PayAppointmentCommand} [payAppointmentCommand]
637
- * @param {*} [options] Override http request option.
638
- * @throws {RequiredError}
639
- */
640
- apiV2AppointmentsAppointmentIdPayPost(appointmentId: string, payAppointmentCommand?: PayAppointmentCommand, options?: any): AxiosPromise<string> {
641
- return localVarFp.apiV2AppointmentsAppointmentIdPayPost(appointmentId, payAppointmentCommand, options).then((request) => request(axios, basePath));
642
- },
643
- /**
644
- *
645
- * @summary Update appointment
646
- * @param {string} appointmentId
647
- * @param {UpdateAppointmentCommand} [updateAppointmentCommand]
648
- * @param {*} [options] Override http request option.
649
- * @throws {RequiredError}
650
- */
651
- apiV2AppointmentsAppointmentIdPut(appointmentId: string, updateAppointmentCommand?: UpdateAppointmentCommand, options?: any): AxiosPromise<string> {
652
- return localVarFp.apiV2AppointmentsAppointmentIdPut(appointmentId, updateAppointmentCommand, options).then((request) => request(axios, basePath));
653
- },
654
- /**
655
- *
656
- * @summary Update refund information
657
- * @param {string} appointmentId
658
- * @param {RefundAppointmentCommand} [refundAppointmentCommand]
659
- * @param {*} [options] Override http request option.
660
- * @throws {RequiredError}
661
- */
662
- apiV2AppointmentsAppointmentIdRefundPut(appointmentId: string, refundAppointmentCommand?: RefundAppointmentCommand, options?: any): AxiosPromise<AppointmentModel> {
663
- return localVarFp.apiV2AppointmentsAppointmentIdRefundPut(appointmentId, refundAppointmentCommand, options).then((request) => request(axios, basePath));
664
- },
665
- /**
666
- *
667
- * @summary Reschedue appointment
668
- * @param {string} appointmentId
669
- * @param {RescheduleAppointmentCommand} [rescheduleAppointmentCommand]
670
- * @param {*} [options] Override http request option.
671
- * @throws {RequiredError}
672
- */
673
- apiV2AppointmentsAppointmentIdReschedulePut(appointmentId: string, rescheduleAppointmentCommand?: RescheduleAppointmentCommand, options?: any): AxiosPromise<AppointmentModel> {
674
- return localVarFp.apiV2AppointmentsAppointmentIdReschedulePut(appointmentId, rescheduleAppointmentCommand, options).then((request) => request(axios, basePath));
675
- },
676
- /**
677
- *
678
- * @summary Get appointments
679
- * @param {string} [hospitalId]
680
- * @param {string} [hospitalName]
681
- * @param {string} [doctorAffiliationId]
682
- * @param {string} [doctorId]
683
- * @param {string} [doctorName]
684
- * @param {string} [dealId]
685
- * @param {string} [dealName]
686
- * @param {string} [dealPackageId]
687
- * @param {string} [hospitalSpecialtyId]
688
- * @param {string} [serviceId]
689
- * @param {boolean} [isOpen]
690
- * @param {boolean} [isCompleted]
691
- * @param {AppointmentStatus} [status]
692
- * @param {AppointmentType} [appointmentType]
693
- * @param {string} [languageCode]
694
- * @param {boolean} [isExternal]
695
- * @param {number} [page]
696
- * @param {number} [limit]
697
- * @param {Date} [lastRetrieved]
698
- * @param {*} [options] Override http request option.
699
- * @throws {RequiredError}
700
- */
701
- apiV2AppointmentsGet(hospitalId?: string, hospitalName?: string, doctorAffiliationId?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, dealPackageId?: string, hospitalSpecialtyId?: string, serviceId?: string, isOpen?: boolean, isCompleted?: boolean, status?: AppointmentStatus, appointmentType?: AppointmentType, languageCode?: string, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentsModel> {
702
- return localVarFp.apiV2AppointmentsGet(hospitalId, hospitalName, doctorAffiliationId, doctorId, doctorName, dealId, dealName, dealPackageId, hospitalSpecialtyId, serviceId, isOpen, isCompleted, status, appointmentType, languageCode, isExternal, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
703
- },
704
- /**
705
- *
706
- * @summary Create appointment
707
- * @param {string} requestId
708
- * @param {CreateAppointmentCommand} [createAppointmentCommand]
709
- * @param {*} [options] Override http request option.
710
- * @throws {RequiredError}
711
- */
712
- apiV2AppointmentsRequestIdPost(requestId: string, createAppointmentCommand?: CreateAppointmentCommand, options?: any): AxiosPromise<string> {
713
- return localVarFp.apiV2AppointmentsRequestIdPost(requestId, createAppointmentCommand, options).then((request) => request(axios, basePath));
714
- },
715
- };
716
- };
717
-
718
- /**
719
- * Request parameters for apiV2AppointmentsAppointmentIdCancelPut operation in AppointmentsApi.
720
- * @export
721
- * @interface AppointmentsApiApiV2AppointmentsAppointmentIdCancelPutRequest
722
- */
723
- export interface AppointmentsApiApiV2AppointmentsAppointmentIdCancelPutRequest {
724
- /**
725
- *
726
- * @type {string}
727
- * @memberof AppointmentsApiApiV2AppointmentsAppointmentIdCancelPut
728
- */
729
- readonly appointmentId: string
730
-
731
- /**
732
- *
733
- * @type {CancelAppointmentCommand}
734
- * @memberof AppointmentsApiApiV2AppointmentsAppointmentIdCancelPut
735
- */
736
- readonly cancelAppointmentCommand?: CancelAppointmentCommand
737
- }
738
-
739
- /**
740
- * Request parameters for apiV2AppointmentsAppointmentIdGet operation in AppointmentsApi.
741
- * @export
742
- * @interface AppointmentsApiApiV2AppointmentsAppointmentIdGetRequest
743
- */
744
- export interface AppointmentsApiApiV2AppointmentsAppointmentIdGetRequest {
745
- /**
746
- *
747
- * @type {string}
748
- * @memberof AppointmentsApiApiV2AppointmentsAppointmentIdGet
749
- */
750
- readonly appointmentId: string
751
-
752
- /**
753
- *
754
- * @type {string}
755
- * @memberof AppointmentsApiApiV2AppointmentsAppointmentIdGet
756
- */
757
- readonly languageCode?: string
758
- }
759
-
760
- /**
761
- * Request parameters for apiV2AppointmentsAppointmentIdPayPost operation in AppointmentsApi.
762
- * @export
763
- * @interface AppointmentsApiApiV2AppointmentsAppointmentIdPayPostRequest
764
- */
765
- export interface AppointmentsApiApiV2AppointmentsAppointmentIdPayPostRequest {
766
- /**
767
- *
768
- * @type {string}
769
- * @memberof AppointmentsApiApiV2AppointmentsAppointmentIdPayPost
770
- */
771
- readonly appointmentId: string
772
-
773
- /**
774
- *
775
- * @type {PayAppointmentCommand}
776
- * @memberof AppointmentsApiApiV2AppointmentsAppointmentIdPayPost
777
- */
778
- readonly payAppointmentCommand?: PayAppointmentCommand
779
- }
780
-
781
- /**
782
- * Request parameters for apiV2AppointmentsAppointmentIdPut operation in AppointmentsApi.
783
- * @export
784
- * @interface AppointmentsApiApiV2AppointmentsAppointmentIdPutRequest
785
- */
786
- export interface AppointmentsApiApiV2AppointmentsAppointmentIdPutRequest {
787
- /**
788
- *
789
- * @type {string}
790
- * @memberof AppointmentsApiApiV2AppointmentsAppointmentIdPut
791
- */
792
- readonly appointmentId: string
793
-
794
- /**
795
- *
796
- * @type {UpdateAppointmentCommand}
797
- * @memberof AppointmentsApiApiV2AppointmentsAppointmentIdPut
798
- */
799
- readonly updateAppointmentCommand?: UpdateAppointmentCommand
800
- }
801
-
802
- /**
803
- * Request parameters for apiV2AppointmentsAppointmentIdRefundPut operation in AppointmentsApi.
804
- * @export
805
- * @interface AppointmentsApiApiV2AppointmentsAppointmentIdRefundPutRequest
806
- */
807
- export interface AppointmentsApiApiV2AppointmentsAppointmentIdRefundPutRequest {
808
- /**
809
- *
810
- * @type {string}
811
- * @memberof AppointmentsApiApiV2AppointmentsAppointmentIdRefundPut
812
- */
813
- readonly appointmentId: string
814
-
815
- /**
816
- *
817
- * @type {RefundAppointmentCommand}
818
- * @memberof AppointmentsApiApiV2AppointmentsAppointmentIdRefundPut
819
- */
820
- readonly refundAppointmentCommand?: RefundAppointmentCommand
821
- }
822
-
823
- /**
824
- * Request parameters for apiV2AppointmentsAppointmentIdReschedulePut operation in AppointmentsApi.
825
- * @export
826
- * @interface AppointmentsApiApiV2AppointmentsAppointmentIdReschedulePutRequest
827
- */
828
- export interface AppointmentsApiApiV2AppointmentsAppointmentIdReschedulePutRequest {
829
- /**
830
- *
831
- * @type {string}
832
- * @memberof AppointmentsApiApiV2AppointmentsAppointmentIdReschedulePut
833
- */
834
- readonly appointmentId: string
835
-
836
- /**
837
- *
838
- * @type {RescheduleAppointmentCommand}
839
- * @memberof AppointmentsApiApiV2AppointmentsAppointmentIdReschedulePut
840
- */
841
- readonly rescheduleAppointmentCommand?: RescheduleAppointmentCommand
842
- }
843
-
844
- /**
845
- * Request parameters for apiV2AppointmentsGet operation in AppointmentsApi.
846
- * @export
847
- * @interface AppointmentsApiApiV2AppointmentsGetRequest
848
- */
849
- export interface AppointmentsApiApiV2AppointmentsGetRequest {
850
- /**
851
- *
852
- * @type {string}
853
- * @memberof AppointmentsApiApiV2AppointmentsGet
854
- */
855
- readonly hospitalId?: string
856
-
857
- /**
858
- *
859
- * @type {string}
860
- * @memberof AppointmentsApiApiV2AppointmentsGet
861
- */
862
- readonly hospitalName?: string
863
-
864
- /**
865
- *
866
- * @type {string}
867
- * @memberof AppointmentsApiApiV2AppointmentsGet
868
- */
869
- readonly doctorAffiliationId?: string
870
-
871
- /**
872
- *
873
- * @type {string}
874
- * @memberof AppointmentsApiApiV2AppointmentsGet
875
- */
876
- readonly doctorId?: string
877
-
878
- /**
879
- *
880
- * @type {string}
881
- * @memberof AppointmentsApiApiV2AppointmentsGet
882
- */
883
- readonly doctorName?: string
884
-
885
- /**
886
- *
887
- * @type {string}
888
- * @memberof AppointmentsApiApiV2AppointmentsGet
889
- */
890
- readonly dealId?: string
891
-
892
- /**
893
- *
894
- * @type {string}
895
- * @memberof AppointmentsApiApiV2AppointmentsGet
896
- */
897
- readonly dealName?: string
898
-
899
- /**
900
- *
901
- * @type {string}
902
- * @memberof AppointmentsApiApiV2AppointmentsGet
903
- */
904
- readonly dealPackageId?: string
905
-
906
- /**
907
- *
908
- * @type {string}
909
- * @memberof AppointmentsApiApiV2AppointmentsGet
910
- */
911
- readonly hospitalSpecialtyId?: string
912
-
913
- /**
914
- *
915
- * @type {string}
916
- * @memberof AppointmentsApiApiV2AppointmentsGet
917
- */
918
- readonly serviceId?: string
919
-
920
- /**
921
- *
922
- * @type {boolean}
923
- * @memberof AppointmentsApiApiV2AppointmentsGet
924
- */
925
- readonly isOpen?: boolean
926
-
927
- /**
928
- *
929
- * @type {boolean}
930
- * @memberof AppointmentsApiApiV2AppointmentsGet
931
- */
932
- readonly isCompleted?: boolean
933
-
934
- /**
935
- *
936
- * @type {AppointmentStatus}
937
- * @memberof AppointmentsApiApiV2AppointmentsGet
938
- */
939
- readonly status?: AppointmentStatus
940
-
941
- /**
942
- *
943
- * @type {AppointmentType}
944
- * @memberof AppointmentsApiApiV2AppointmentsGet
945
- */
946
- readonly appointmentType?: AppointmentType
947
-
948
- /**
949
- *
950
- * @type {string}
951
- * @memberof AppointmentsApiApiV2AppointmentsGet
952
- */
953
- readonly languageCode?: string
954
-
955
- /**
956
- *
957
- * @type {boolean}
958
- * @memberof AppointmentsApiApiV2AppointmentsGet
959
- */
960
- readonly isExternal?: boolean
961
-
962
- /**
963
- *
964
- * @type {number}
965
- * @memberof AppointmentsApiApiV2AppointmentsGet
966
- */
967
- readonly page?: number
968
-
969
- /**
970
- *
971
- * @type {number}
972
- * @memberof AppointmentsApiApiV2AppointmentsGet
973
- */
974
- readonly limit?: number
975
-
976
- /**
977
- *
978
- * @type {Date}
979
- * @memberof AppointmentsApiApiV2AppointmentsGet
980
- */
981
- readonly lastRetrieved?: Date
982
- }
983
-
984
- /**
985
- * Request parameters for apiV2AppointmentsRequestIdPost operation in AppointmentsApi.
986
- * @export
987
- * @interface AppointmentsApiApiV2AppointmentsRequestIdPostRequest
988
- */
989
- export interface AppointmentsApiApiV2AppointmentsRequestIdPostRequest {
990
- /**
991
- *
992
- * @type {string}
993
- * @memberof AppointmentsApiApiV2AppointmentsRequestIdPost
994
- */
995
- readonly requestId: string
996
-
997
- /**
998
- *
999
- * @type {CreateAppointmentCommand}
1000
- * @memberof AppointmentsApiApiV2AppointmentsRequestIdPost
1001
- */
1002
- readonly createAppointmentCommand?: CreateAppointmentCommand
1003
- }
1004
-
1005
- /**
1006
- * AppointmentsApi - object-oriented interface
1007
- * @export
1008
- * @class AppointmentsApi
1009
- * @extends {BaseAPI}
1010
- */
1011
- export class AppointmentsApi extends BaseAPI {
1012
- /**
1013
- *
1014
- * @summary Cancel appointment
1015
- * @param {AppointmentsApiApiV2AppointmentsAppointmentIdCancelPutRequest} requestParameters Request parameters.
1016
- * @param {*} [options] Override http request option.
1017
- * @throws {RequiredError}
1018
- * @memberof AppointmentsApi
1019
- */
1020
- public apiV2AppointmentsAppointmentIdCancelPut(requestParameters: AppointmentsApiApiV2AppointmentsAppointmentIdCancelPutRequest, options?: AxiosRequestConfig) {
1021
- return AppointmentsApiFp(this.configuration).apiV2AppointmentsAppointmentIdCancelPut(requestParameters.appointmentId, requestParameters.cancelAppointmentCommand, options).then((request) => request(this.axios, this.basePath));
1022
- }
1023
-
1024
- /**
1025
- *
1026
- * @summary Get appointment by id
1027
- * @param {AppointmentsApiApiV2AppointmentsAppointmentIdGetRequest} requestParameters Request parameters.
1028
- * @param {*} [options] Override http request option.
1029
- * @throws {RequiredError}
1030
- * @memberof AppointmentsApi
1031
- */
1032
- public apiV2AppointmentsAppointmentIdGet(requestParameters: AppointmentsApiApiV2AppointmentsAppointmentIdGetRequest, options?: AxiosRequestConfig) {
1033
- return AppointmentsApiFp(this.configuration).apiV2AppointmentsAppointmentIdGet(requestParameters.appointmentId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
1034
- }
1035
-
1036
- /**
1037
- *
1038
- * @summary Pay appointment
1039
- * @param {AppointmentsApiApiV2AppointmentsAppointmentIdPayPostRequest} requestParameters Request parameters.
1040
- * @param {*} [options] Override http request option.
1041
- * @throws {RequiredError}
1042
- * @memberof AppointmentsApi
1043
- */
1044
- public apiV2AppointmentsAppointmentIdPayPost(requestParameters: AppointmentsApiApiV2AppointmentsAppointmentIdPayPostRequest, options?: AxiosRequestConfig) {
1045
- return AppointmentsApiFp(this.configuration).apiV2AppointmentsAppointmentIdPayPost(requestParameters.appointmentId, requestParameters.payAppointmentCommand, options).then((request) => request(this.axios, this.basePath));
1046
- }
1047
-
1048
- /**
1049
- *
1050
- * @summary Update appointment
1051
- * @param {AppointmentsApiApiV2AppointmentsAppointmentIdPutRequest} requestParameters Request parameters.
1052
- * @param {*} [options] Override http request option.
1053
- * @throws {RequiredError}
1054
- * @memberof AppointmentsApi
1055
- */
1056
- public apiV2AppointmentsAppointmentIdPut(requestParameters: AppointmentsApiApiV2AppointmentsAppointmentIdPutRequest, options?: AxiosRequestConfig) {
1057
- return AppointmentsApiFp(this.configuration).apiV2AppointmentsAppointmentIdPut(requestParameters.appointmentId, requestParameters.updateAppointmentCommand, options).then((request) => request(this.axios, this.basePath));
1058
- }
1059
-
1060
- /**
1061
- *
1062
- * @summary Update refund information
1063
- * @param {AppointmentsApiApiV2AppointmentsAppointmentIdRefundPutRequest} requestParameters Request parameters.
1064
- * @param {*} [options] Override http request option.
1065
- * @throws {RequiredError}
1066
- * @memberof AppointmentsApi
1067
- */
1068
- public apiV2AppointmentsAppointmentIdRefundPut(requestParameters: AppointmentsApiApiV2AppointmentsAppointmentIdRefundPutRequest, options?: AxiosRequestConfig) {
1069
- return AppointmentsApiFp(this.configuration).apiV2AppointmentsAppointmentIdRefundPut(requestParameters.appointmentId, requestParameters.refundAppointmentCommand, options).then((request) => request(this.axios, this.basePath));
1070
- }
1071
-
1072
- /**
1073
- *
1074
- * @summary Reschedue appointment
1075
- * @param {AppointmentsApiApiV2AppointmentsAppointmentIdReschedulePutRequest} requestParameters Request parameters.
1076
- * @param {*} [options] Override http request option.
1077
- * @throws {RequiredError}
1078
- * @memberof AppointmentsApi
1079
- */
1080
- public apiV2AppointmentsAppointmentIdReschedulePut(requestParameters: AppointmentsApiApiV2AppointmentsAppointmentIdReschedulePutRequest, options?: AxiosRequestConfig) {
1081
- return AppointmentsApiFp(this.configuration).apiV2AppointmentsAppointmentIdReschedulePut(requestParameters.appointmentId, requestParameters.rescheduleAppointmentCommand, options).then((request) => request(this.axios, this.basePath));
1082
- }
1083
-
1084
- /**
1085
- *
1086
- * @summary Get appointments
1087
- * @param {AppointmentsApiApiV2AppointmentsGetRequest} requestParameters Request parameters.
1088
- * @param {*} [options] Override http request option.
1089
- * @throws {RequiredError}
1090
- * @memberof AppointmentsApi
1091
- */
1092
- public apiV2AppointmentsGet(requestParameters: AppointmentsApiApiV2AppointmentsGetRequest = {}, options?: AxiosRequestConfig) {
1093
- return AppointmentsApiFp(this.configuration).apiV2AppointmentsGet(requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.doctorAffiliationId, requestParameters.doctorId, requestParameters.doctorName, requestParameters.dealId, requestParameters.dealName, requestParameters.dealPackageId, requestParameters.hospitalSpecialtyId, requestParameters.serviceId, requestParameters.isOpen, requestParameters.isCompleted, requestParameters.status, requestParameters.appointmentType, requestParameters.languageCode, requestParameters.isExternal, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
1094
- }
1095
-
1096
- /**
1097
- *
1098
- * @summary Create appointment
1099
- * @param {AppointmentsApiApiV2AppointmentsRequestIdPostRequest} requestParameters Request parameters.
1100
- * @param {*} [options] Override http request option.
1101
- * @throws {RequiredError}
1102
- * @memberof AppointmentsApi
1103
- */
1104
- public apiV2AppointmentsRequestIdPost(requestParameters: AppointmentsApiApiV2AppointmentsRequestIdPostRequest, options?: AxiosRequestConfig) {
1105
- return AppointmentsApiFp(this.configuration).apiV2AppointmentsRequestIdPost(requestParameters.requestId, requestParameters.createAppointmentCommand, options).then((request) => request(this.axios, this.basePath));
1106
- }
1107
- }