ch-admin-api-client-typescript 5.43.15 → 5.45.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/about-us-api.d.ts.map +1 -1
- package/lib/api/about-us-api.js +60 -23
- package/lib/api/accreditations-api.d.ts.map +1 -1
- package/lib/api/accreditations-api.js +46 -17
- package/lib/api/app-version-api.d.ts.map +1 -1
- package/lib/api/app-version-api.js +46 -17
- package/lib/api/appointments-api.d.ts +52 -52
- package/lib/api/appointments-api.d.ts.map +1 -1
- package/lib/api/appointments-api.js +154 -93
- package/lib/api/articles-api.d.ts.map +1 -1
- package/lib/api/articles-api.js +193 -80
- package/lib/api/azure-functions-app-webhooks-api.d.ts.map +1 -1
- package/lib/api/azure-functions-app-webhooks-api.js +18 -5
- package/lib/api/call-histories-api.d.ts.map +1 -1
- package/lib/api/call-histories-api.js +25 -8
- package/lib/api/chadmins-api.d.ts.map +1 -1
- package/lib/api/chadmins-api.js +46 -17
- package/lib/api/chat-users-api.d.ts.map +1 -1
- package/lib/api/chat-users-api.js +60 -23
- package/lib/api/chmanagers-api.d.ts.map +1 -1
- package/lib/api/chmanagers-api.js +46 -17
- package/lib/api/communications-api.d.ts.map +1 -1
- package/lib/api/communications-api.js +32 -11
- package/lib/api/content-managers-api.d.ts.map +1 -1
- package/lib/api/content-managers-api.js +53 -20
- package/lib/api/contributors-api.d.ts.map +1 -1
- package/lib/api/contributors-api.js +95 -38
- package/lib/api/countries-api.d.ts.map +1 -1
- package/lib/api/countries-api.js +186 -77
- package/lib/api/curation-categories-api.d.ts +385 -0
- package/lib/api/curation-categories-api.d.ts.map +1 -0
- package/lib/api/{search-curations-api.js → curation-categories-api.js} +229 -179
- package/lib/api/curations-api.d.ts +45 -173
- package/lib/api/curations-api.d.ts.map +1 -1
- package/lib/api/curations-api.js +103 -264
- package/lib/api/currencies-api.d.ts.map +1 -1
- package/lib/api/currencies-api.js +60 -23
- package/lib/api/dash-board-api.d.ts.map +1 -1
- package/lib/api/dash-board-api.js +46 -17
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +186 -77
- package/lib/api/dev-supports-api.d.ts.map +1 -1
- package/lib/api/dev-supports-api.js +39 -14
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +144 -59
- package/lib/api/doctors-api.d.ts.map +1 -1
- package/lib/api/doctors-api.js +291 -122
- package/lib/api/email-marketings-api.d.ts.map +1 -1
- package/lib/api/email-marketings-api.js +53 -20
- package/lib/api/email-webhooks-api.d.ts.map +1 -1
- package/lib/api/email-webhooks-api.js +39 -14
- package/lib/api/faq-categories-api.d.ts.map +1 -1
- package/lib/api/faq-categories-api.js +60 -23
- package/lib/api/faqs-api.d.ts.map +1 -1
- package/lib/api/faqs-api.js +123 -50
- package/lib/api/form-results-api.d.ts +20 -20
- package/lib/api/form-results-api.d.ts.map +1 -1
- package/lib/api/form-results-api.js +66 -37
- package/lib/api/form-templates-api.d.ts.map +1 -1
- package/lib/api/form-templates-api.js +81 -32
- package/lib/api/grades-api.d.ts.map +1 -1
- package/lib/api/grades-api.js +46 -17
- package/lib/api/group-channels-api.d.ts.map +1 -1
- package/lib/api/group-channels-api.js +25 -8
- package/lib/api/hospital-branches-api.d.ts.map +1 -1
- package/lib/api/hospital-branches-api.js +74 -29
- package/lib/api/hospital-groups-api.d.ts.map +1 -1
- package/lib/api/hospital-groups-api.js +53 -20
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +1257 -536
- package/lib/api/images-api.d.ts.map +1 -1
- package/lib/api/images-api.js +25 -8
- package/lib/api/languages-api.d.ts.map +1 -1
- package/lib/api/languages-api.js +46 -17
- package/lib/api/managers-api.d.ts.map +1 -1
- package/lib/api/managers-api.js +74 -29
- package/lib/api/notifications-api.d.ts.map +1 -1
- package/lib/api/notifications-api.js +25 -8
- package/lib/api/patient-affiliations-api.d.ts +8 -8
- package/lib/api/patient-affiliations-api.d.ts.map +1 -1
- package/lib/api/patient-affiliations-api.js +33 -16
- package/lib/api/patient-managers-api.d.ts.map +1 -1
- package/lib/api/patient-managers-api.js +53 -20
- package/lib/api/patients-api.d.ts +48 -48
- package/lib/api/patients-api.d.ts.map +1 -1
- package/lib/api/patients-api.js +143 -86
- package/lib/api/payments-api.d.ts.map +1 -1
- package/lib/api/payments-api.js +18 -5
- package/lib/api/plans-api.d.ts.map +1 -1
- package/lib/api/plans-api.js +81 -32
- package/lib/api/prescriptions-api.d.ts.map +1 -1
- package/lib/api/prescriptions-api.js +81 -32
- package/lib/api/profiles-api.d.ts.map +1 -1
- package/lib/api/profiles-api.js +53 -20
- package/lib/api/promotions-api.d.ts.map +1 -1
- package/lib/api/promotions-api.js +53 -20
- package/lib/api/search-api.d.ts.map +1 -1
- package/lib/api/search-api.js +25 -8
- package/lib/api/service-reviews-api.d.ts.map +1 -1
- package/lib/api/service-reviews-api.js +81 -32
- package/lib/api/services-api.d.ts.map +1 -1
- package/lib/api/services-api.js +32 -11
- package/lib/api/services-categories-api.d.ts.map +1 -1
- package/lib/api/services-categories-api.js +46 -17
- package/lib/api/specialties-api.d.ts.map +1 -1
- package/lib/api/specialties-api.js +116 -47
- package/lib/api/specialty-types-api.d.ts.map +1 -1
- package/lib/api/specialty-types-api.js +123 -50
- package/lib/api/survey-forms-api.d.ts.map +1 -1
- package/lib/api/survey-forms-api.js +74 -29
- package/lib/api/survey-results-api.d.ts +16 -16
- package/lib/api/survey-results-api.d.ts.map +1 -1
- package/lib/api/survey-results-api.js +55 -30
- package/lib/api/tags-api.d.ts.map +1 -1
- package/lib/api/tags-api.js +39 -14
- package/lib/api/translation-api.d.ts.map +1 -1
- package/lib/api/translation-api.js +18 -5
- package/lib/api/web-apps-api.d.ts.map +1 -1
- package/lib/api/web-apps-api.js +74 -29
- package/lib/api/whats-app-template-media-api.d.ts +321 -0
- package/lib/api/whats-app-template-media-api.d.ts.map +1 -0
- package/lib/api/whats-app-template-media-api.js +618 -0
- package/lib/api.d.ts +2 -1
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +2 -1
- package/lib/common.d.ts.map +1 -1
- package/lib/common.js +2 -2
- package/lib/models/chadmin-model.d.ts +0 -7
- package/lib/models/chadmin-model.d.ts.map +1 -1
- package/lib/models/chmanager-model.d.ts +0 -7
- package/lib/models/chmanager-model.d.ts.map +1 -1
- package/lib/models/content-manager-model.d.ts +0 -7
- package/lib/models/content-manager-model.d.ts.map +1 -1
- package/{src/models/localized-url-model.ts → lib/models/create-curation-category-command-translation.d.ts} +10 -21
- package/lib/models/create-curation-category-command-translation.d.ts.map +1 -0
- package/lib/models/create-curation-category-command.d.ts +38 -0
- package/lib/models/create-curation-category-command.d.ts.map +1 -0
- package/{src/models/create-template-version-command.ts → lib/models/create-curation-command-translation.d.ts} +13 -18
- package/lib/models/create-curation-command-translation.d.ts.map +1 -0
- package/lib/models/create-curation-command.d.ts +4 -57
- package/lib/models/create-curation-command.d.ts.map +1 -1
- package/lib/models/create-doctor-command.d.ts +6 -0
- package/lib/models/create-doctor-command.d.ts.map +1 -1
- package/lib/models/create-patient-command.d.ts +6 -0
- package/lib/models/create-patient-command.d.ts.map +1 -1
- package/lib/models/create-whats-app-template-media-command.d.ts +45 -0
- package/lib/models/create-whats-app-template-media-command.d.ts.map +1 -0
- package/{src/models/medias-model.ts → lib/models/curation-categories-model.d.ts} +11 -20
- package/lib/models/curation-categories-model.d.ts.map +1 -0
- package/lib/models/curation-categories-model.js +15 -0
- package/{src/models/country-language-model.ts → lib/models/curation-category-model.d.ts} +19 -24
- package/lib/models/curation-category-model.d.ts.map +1 -0
- package/lib/models/curation-category-model.js +15 -0
- package/lib/models/curation-model.d.ts +8 -51
- package/lib/models/curation-model.d.ts.map +1 -1
- package/lib/models/{search-curation-primary-item-model.d.ts → delete-whats-app-template-media-by-tag-command.d.ts} +7 -7
- package/lib/models/delete-whats-app-template-media-by-tag-command.d.ts.map +1 -0
- package/lib/models/delete-whats-app-template-media-by-tag-command.js +15 -0
- package/lib/models/doctor-model.d.ts +0 -7
- package/lib/models/doctor-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +16 -5
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +16 -5
- package/lib/models/manager-model.d.ts +0 -7
- package/lib/models/manager-model.d.ts.map +1 -1
- package/{src/models/article-type.ts → lib/models/meta-media-type.d.ts} +10 -18
- package/lib/models/meta-media-type.d.ts.map +1 -0
- package/lib/models/meta-media-type.js +28 -0
- package/lib/models/patient-manager-model.d.ts +0 -7
- package/lib/models/patient-manager-model.d.ts.map +1 -1
- package/lib/models/patient-model.d.ts +0 -7
- package/lib/models/patient-model.d.ts.map +1 -1
- package/{src/models/leaved-group-channels-model.ts → lib/models/translate-curation-category-command.d.ts} +12 -23
- package/lib/models/translate-curation-category-command.d.ts.map +1 -0
- package/lib/models/translate-curation-category-command.js +15 -0
- package/lib/models/translate-curation-command.d.ts +0 -13
- package/lib/models/translate-curation-command.d.ts.map +1 -1
- package/{src/models/call-history-language-statistics-model.ts → lib/models/update-curation-category-command-translation.d.ts} +11 -16
- package/lib/models/update-curation-category-command-translation.d.ts.map +1 -0
- package/lib/models/update-curation-category-command-translation.js +15 -0
- package/lib/models/update-curation-category-command.d.ts +44 -0
- package/lib/models/update-curation-category-command.d.ts.map +1 -0
- package/lib/models/update-curation-category-command.js +15 -0
- package/{src/models/appointment-refund-upi-model.ts → lib/models/update-curation-command-translation.d.ts} +13 -18
- package/lib/models/update-curation-command-translation.d.ts.map +1 -0
- package/lib/models/update-curation-command-translation.js +15 -0
- package/lib/models/update-curation-command.d.ts +5 -46
- package/lib/models/update-curation-command.d.ts.map +1 -1
- package/lib/models/user-model.d.ts +0 -7
- package/lib/models/user-model.d.ts.map +1 -1
- package/lib/models/whats-app-template-media-item-model.d.ts +76 -0
- package/lib/models/whats-app-template-media-item-model.d.ts.map +1 -0
- package/lib/models/whats-app-template-media-item-model.js +15 -0
- package/lib/models/whats-app-template-media-model.d.ts +76 -0
- package/lib/models/whats-app-template-media-model.d.ts.map +1 -0
- package/lib/models/whats-app-template-media-model.js +15 -0
- package/{src/models/web-app-environment-model.ts → lib/models/whats-app-template-media-tags-model.d.ts} +8 -13
- package/lib/models/whats-app-template-media-tags-model.d.ts.map +1 -0
- package/lib/models/whats-app-template-media-tags-model.js +15 -0
- package/{src/models/chadmins-model.ts → lib/models/whats-app-template-medias-model.d.ts} +11 -20
- package/lib/models/whats-app-template-medias-model.d.ts.map +1 -0
- package/lib/models/whats-app-template-medias-model.js +15 -0
- package/package.json +11 -6
- package/.gitattributes +0 -2
- package/.github/workflows/publish-npm.yml +0 -31
- package/lib/api/search-curations-api.d.ts +0 -364
- package/lib/api/search-curations-api.d.ts.map +0 -1
- package/lib/models/save-search-curations-command.d.ts +0 -26
- package/lib/models/save-search-curations-command.d.ts.map +0 -1
- package/lib/models/search-curation-item-input-model.d.ts +0 -92
- package/lib/models/search-curation-item-input-model.d.ts.map +0 -1
- package/lib/models/search-curation-item-model.d.ts +0 -98
- package/lib/models/search-curation-item-model.d.ts.map +0 -1
- package/lib/models/search-curation-primary-item-model.d.ts.map +0 -1
- package/lib/models/user-type.d.ts +0 -28
- package/lib/models/user-type.d.ts.map +0 -1
- package/lib/models/user-type.js +0 -31
- package/openapitools.json +0 -23
- package/src/.openapi-generator/FILES +0 -677
- package/src/.openapi-generator/VERSION +0 -1
- package/src/.openapi-generator-ignore +0 -23
- package/src/api/about-us-api.ts +0 -904
- package/src/api/accreditations-api.ts +0 -579
- package/src/api/app-version-api.ts +0 -597
- package/src/api/appointments-api.ts +0 -1734
- package/src/api/articles-api.ts +0 -3230
- package/src/api/azure-functions-app-webhooks-api.ts +0 -143
- package/src/api/call-histories-api.ts +0 -451
- package/src/api/chadmins-api.ts +0 -655
- package/src/api/chat-users-api.ts +0 -756
- package/src/api/chmanagers-api.ts +0 -655
- package/src/api/communications-api.ts +0 -252
- package/src/api/content-managers-api.ts +0 -740
- package/src/api/contributors-api.ts +0 -1503
- package/src/api/countries-api.ts +0 -2835
- package/src/api/curations-api.ts +0 -909
- package/src/api/currencies-api.ts +0 -751
- package/src/api/dash-board-api.ts +0 -650
- package/src/api/deals-api.ts +0 -3686
- package/src/api/dev-supports-api.ts +0 -476
- package/src/api/doctor-affiliations-api.ts +0 -2404
- package/src/api/doctors-api.ts +0 -4927
- package/src/api/email-marketings-api.ts +0 -637
- package/src/api/email-webhooks-api.ts +0 -554
- package/src/api/faq-categories-api.ts +0 -903
- package/src/api/faqs-api.ts +0 -1932
- package/src/api/form-results-api.ts +0 -730
- package/src/api/form-templates-api.ts +0 -1238
- package/src/api/grades-api.ts +0 -595
- package/src/api/group-channels-api.ts +0 -290
- package/src/api/hospital-branches-api.ts +0 -1044
- package/src/api/hospital-groups-api.ts +0 -720
- package/src/api/hospitals-api.ts +0 -22461
- package/src/api/images-api.ts +0 -243
- package/src/api/languages-api.ts +0 -593
- package/src/api/managers-api.ts +0 -1140
- package/src/api/notifications-api.ts +0 -293
- package/src/api/patient-affiliations-api.ts +0 -361
- package/src/api/patient-managers-api.ts +0 -740
- package/src/api/patients-api.ts +0 -1393
- package/src/api/payments-api.ts +0 -114
- package/src/api/plans-api.ts +0 -1107
- package/src/api/prescriptions-api.ts +0 -1130
- package/src/api/profiles-api.ts +0 -559
- package/src/api/promotions-api.ts +0 -754
- package/src/api/search-api.ts +0 -266
- package/src/api/search-curations-api.ts +0 -638
- package/src/api/service-reviews-api.ts +0 -1337
- package/src/api/services-api.ts +0 -634
- package/src/api/services-categories-api.ts +0 -565
- package/src/api/specialties-api.ts +0 -1980
- package/src/api/specialty-types-api.ts +0 -2069
- package/src/api/survey-forms-api.ts +0 -1134
- package/src/api/survey-results-api.ts +0 -583
- package/src/api/tags-api.ts +0 -481
- package/src/api/translation-api.ts +0 -145
- package/src/api/web-apps-api.ts +0 -1069
- package/src/api.ts +0 -73
- package/src/base.ts +0 -71
- package/src/common.ts +0 -148
- package/src/configuration.ts +0 -101
- package/src/git_push.sh +0 -57
- package/src/index.ts +0 -18
- package/src/models/about-us-page-item-model.ts +0 -63
- package/src/models/about-us-page-model.ts +0 -126
- package/src/models/about-us-pages-model.ts +0 -42
- package/src/models/accreditation-item-model.ts +0 -54
- package/src/models/accreditation-model.ts +0 -54
- package/src/models/accreditations-model.ts +0 -42
- package/src/models/add-hospital-into-branch-command.ts +0 -36
- package/src/models/add-or-update-web-app-environments-command.ts +0 -33
- package/src/models/admin-message-model.ts +0 -84
- package/src/models/app-version-item-model.ts +0 -51
- package/src/models/app-version-model.ts +0 -51
- package/src/models/app-versions-model.ts +0 -42
- package/src/models/appointment-change-log-model.ts +0 -51
- package/src/models/appointment-duration-statisctics-model.ts +0 -36
- package/src/models/appointment-item-model.ts +0 -357
- package/src/models/appointment-model.ts +0 -381
- package/src/models/appointment-option-input-model.ts +0 -66
- package/src/models/appointment-option-model.ts +0 -84
- package/src/models/appointment-refund-bank-transfer-model.ts +0 -54
- package/src/models/appointment-statistics-model.ts +0 -51
- package/src/models/appointment-status.ts +0 -39
- package/src/models/appointment-timetable-date-model.ts +0 -69
- package/src/models/appointment-timetable-model.ts +0 -69
- package/src/models/appointment-timetable-override-model.ts +0 -81
- package/src/models/appointment-timetable-overrides-model.ts +0 -42
- package/src/models/appointment-timetable-status.ts +0 -31
- package/src/models/appointment-timetable-time-slot-model.ts +0 -81
- package/src/models/appointment-timetables-model.ts +0 -42
- package/src/models/appointment-type.ts +0 -34
- package/src/models/appointments-model.ts +0 -42
- package/src/models/approve-appointment-command.ts +0 -36
- package/src/models/article-contributor-item-model.ts +0 -108
- package/src/models/article-contributor-model.ts +0 -135
- package/src/models/article-contributors-model.ts +0 -42
- package/src/models/article-item-model.ts +0 -150
- package/src/models/article-model.ts +0 -174
- package/src/models/article-sources-model.ts +0 -42
- package/src/models/article-status.ts +0 -32
- package/src/models/article-tag-item-model.ts +0 -42
- package/src/models/article-tag-model.ts +0 -42
- package/src/models/article-tags-model.ts +0 -42
- package/src/models/articles-model.ts +0 -42
- package/src/models/auditable-entity-model.ts +0 -72
- package/src/models/auditable-entity.ts +0 -72
- package/src/models/bank-account-info-item-model.ts +0 -78
- package/src/models/bank-account-info-model.ts +0 -78
- package/src/models/bank-account-infos-model.ts +0 -42
- package/src/models/bank-transfer-payment-model.ts +0 -48
- package/src/models/batch-add-appointment-timetable-model.ts +0 -63
- package/src/models/batch-appointment-timetables-result-model.ts +0 -45
- package/src/models/batch-deal-package-appointment-timetables-command.ts +0 -48
- package/src/models/batch-doctor-affiliation-appointment-timetables-command.ts +0 -48
- package/src/models/batch-hospital-appointment-timetables-command.ts +0 -48
- package/src/models/batch-hospital-specialty-appointment-timetables-command.ts +0 -48
- package/src/models/batch-hospital-working-days-command.ts +0 -33
- package/src/models/batch-service-appointment-timetables-command.ts +0 -48
- package/src/models/batch-update-appointment-timetable-model.ts +0 -69
- package/src/models/call-duration-statistics-model.ts +0 -45
- package/src/models/call-histories-model.ts +0 -42
- package/src/models/call-history-change-log-model.ts +0 -51
- package/src/models/call-history-item-model.ts +0 -126
- package/src/models/call-history-model.ts +0 -141
- package/src/models/call-statistics-model.ts +0 -45
- package/src/models/call-status.ts +0 -40
- package/src/models/cancel-appointment-command.ts +0 -42
- package/src/models/chadmin-item-model.ts +0 -114
- package/src/models/chadmin-model.ts +0 -132
- package/src/models/change-email-command.ts +0 -30
- package/src/models/charge-status.ts +0 -32
- package/src/models/chat-user-model.ts +0 -78
- package/src/models/chat-users-model.ts +0 -39
- package/src/models/check-notifications-command.ts +0 -36
- package/src/models/chmanager-item-model.ts +0 -114
- package/src/models/chmanager-model.ts +0 -132
- package/src/models/chmanagers-model.ts +0 -42
- package/src/models/communication-user-token-model.ts +0 -48
- package/src/models/confirm-email-command.ts +0 -30
- package/src/models/contact-sorting-command.ts +0 -33
- package/src/models/contact-type.ts +0 -36
- package/src/models/content-manager-item-model.ts +0 -114
- package/src/models/content-manager-model.ts +0 -132
- package/src/models/content-managers-model.ts +0 -42
- package/src/models/contribution-type.ts +0 -32
- package/src/models/contributor-item-model.ts +0 -123
- package/src/models/contributor-model.ts +0 -141
- package/src/models/contributor-sns-handles-model.ts +0 -42
- package/src/models/contributors-model.ts +0 -42
- package/src/models/countries-model.ts +0 -42
- package/src/models/country-currencies-model.ts +0 -42
- package/src/models/country-currency-item-model.ts +0 -60
- package/src/models/country-currency-model.ts +0 -60
- package/src/models/country-item-model.ts +0 -93
- package/src/models/country-language-item-model.ts +0 -54
- package/src/models/country-languages-model.ts +0 -42
- package/src/models/country-model.ts +0 -126
- package/src/models/country-sorting-command.ts +0 -33
- package/src/models/create-about-us-page-command.ts +0 -81
- package/src/models/create-accreditation-command.ts +0 -48
- package/src/models/create-app-version-command.ts +0 -51
- package/src/models/create-article-command.ts +0 -132
- package/src/models/create-article-contributor-command.ts +0 -51
- package/src/models/create-article-source-command.ts +0 -42
- package/src/models/create-article-tag-command.ts +0 -36
- package/src/models/create-chadmin-command.ts +0 -87
- package/src/models/create-chat-user-command.ts +0 -60
- package/src/models/create-chmanager-command.ts +0 -87
- package/src/models/create-content-manager-command.ts +0 -87
- package/src/models/create-contributor-command.ts +0 -78
- package/src/models/create-contributor-sns-handle-command.ts +0 -39
- package/src/models/create-country-command.ts +0 -93
- package/src/models/create-curation-command.ts +0 -108
- package/src/models/create-currency-command.ts +0 -42
- package/src/models/create-deal-command.ts +0 -87
- package/src/models/create-deal-package-command.ts +0 -81
- package/src/models/create-deal-service-command.ts +0 -42
- package/src/models/create-doctor-affiliation-command.ts +0 -168
- package/src/models/create-doctor-certificate-command.ts +0 -48
- package/src/models/create-doctor-command.ts +0 -117
- package/src/models/create-doctor-education-command.ts +0 -48
- package/src/models/create-doctor-language-command.ts +0 -42
- package/src/models/create-doctor-portfolio-command.ts +0 -60
- package/src/models/create-doctor-specialty-command.ts +0 -36
- package/src/models/create-faq-category-command.ts +0 -60
- package/src/models/create-faq-command.ts +0 -78
- package/src/models/create-faq-tag-command.ts +0 -36
- package/src/models/create-grade-command.ts +0 -57
- package/src/models/create-hospital-accreditation-command.ts +0 -30
- package/src/models/create-hospital-bank-account-info-command.ts +0 -66
- package/src/models/create-hospital-branch-command.ts +0 -72
- package/src/models/create-hospital-command.ts +0 -253
- package/src/models/create-hospital-contact-command.ts +0 -69
- package/src/models/create-hospital-equipment-command.ts +0 -36
- package/src/models/create-hospital-evaluation-command.ts +0 -48
- package/src/models/create-hospital-group-command.ts +0 -72
- package/src/models/create-hospital-language-command.ts +0 -42
- package/src/models/create-hospital-payment-method-command.ts +0 -78
- package/src/models/create-hospital-rating-command.ts +0 -66
- package/src/models/create-hospital-service-command.ts +0 -138
- package/src/models/create-hospital-sns-handle-command.ts +0 -39
- package/src/models/create-hospital-specialty-command.ts +0 -123
- package/src/models/create-hospital-tag-command.ts +0 -36
- package/src/models/create-hospital-working-day-command.ts +0 -54
- package/src/models/create-landing-command.ts +0 -81
- package/src/models/create-language-command.ts +0 -60
- package/src/models/create-manager-affiliation-command.ts +0 -30
- package/src/models/create-manager-command.ts +0 -93
- package/src/models/create-media-command.ts +0 -57
- package/src/models/create-notice-command.ts +0 -69
- package/src/models/create-page-command.ts +0 -90
- package/src/models/create-patient-affiliation-command.ts +0 -114
- package/src/models/create-patient-command.ts +0 -183
- package/src/models/create-patient-manager-command.ts +0 -87
- package/src/models/create-plan-command.ts +0 -69
- package/src/models/create-plan-hospital-command.ts +0 -36
- package/src/models/create-policy-command.ts +0 -81
- package/src/models/create-prescription-command.ts +0 -207
- package/src/models/create-profile-command.ts +0 -96
- package/src/models/create-promotion-command.ts +0 -102
- package/src/models/create-service-category-command.ts +0 -42
- package/src/models/create-service-review-command.ts +0 -99
- package/src/models/create-specialty-command.ts +0 -87
- package/src/models/create-specialty-type-command.ts +0 -102
- package/src/models/create-survey-form-command.ts +0 -96
- package/src/models/create-tag-command.ts +0 -30
- package/src/models/create-walk-in-appointment-command.ts +0 -174
- package/src/models/create-web-app-command.ts +0 -75
- package/src/models/curation-model.ts +0 -111
- package/src/models/curations-model.ts +0 -42
- package/src/models/currencies-model.ts +0 -42
- package/src/models/currency-item-model.ts +0 -48
- package/src/models/currency-model.ts +0 -57
- package/src/models/dash-board-model.ts +0 -60
- package/src/models/day-of-week.ts +0 -36
- package/src/models/deal-item-model.ts +0 -129
- package/src/models/deal-item-simple-model.ts +0 -54
- package/src/models/deal-model.ts +0 -153
- package/src/models/deal-package-item-model.ts +0 -123
- package/src/models/deal-package-model.ts +0 -144
- package/src/models/deal-packages-model.ts +0 -42
- package/src/models/deal-service-item-model.ts +0 -72
- package/src/models/deal-service-model.ts +0 -72
- package/src/models/deal-services-model.ts +0 -42
- package/src/models/deals-model.ts +0 -42
- package/src/models/deals-simple-model.ts +0 -42
- package/src/models/delete-deal-package-appointment-timetable-overrides-command.ts +0 -51
- package/src/models/delete-doctor-affiliation-appointment-timetable-overrides-command.ts +0 -51
- package/src/models/delete-hospital-appointment-timetable-overrides-command.ts +0 -51
- package/src/models/delete-hospital-specialty-appointment-timetable-overrides-command.ts +0 -51
- package/src/models/delete-service-appointment-timetable-overrides-command.ts +0 -51
- package/src/models/deploy-status.ts +0 -38
- package/src/models/doctor-affiliation-item-model.ts +0 -174
- package/src/models/doctor-affiliation-model.ts +0 -234
- package/src/models/doctor-affiliation-simple-model.ts +0 -48
- package/src/models/doctor-affiliations-model.ts +0 -42
- package/src/models/doctor-certificate-item-model.ts +0 -66
- package/src/models/doctor-certificate-model.ts +0 -66
- package/src/models/doctor-certificate-sorting-command.ts +0 -33
- package/src/models/doctor-certificates-model.ts +0 -42
- package/src/models/doctor-education-item-model.ts +0 -78
- package/src/models/doctor-education-model.ts +0 -78
- package/src/models/doctor-education-sorting-command.ts +0 -33
- package/src/models/doctor-educations-model.ts +0 -42
- package/src/models/doctor-item-model.ts +0 -120
- package/src/models/doctor-language-item-model.ts +0 -60
- package/src/models/doctor-language-model.ts +0 -60
- package/src/models/doctor-languages-model.ts +0 -42
- package/src/models/doctor-model.ts +0 -153
- package/src/models/doctor-portfolio-item-model.ts +0 -66
- package/src/models/doctor-portfolio-model.ts +0 -66
- package/src/models/doctor-portfolios-model.ts +0 -42
- package/src/models/doctor-prefix.ts +0 -31
- package/src/models/doctor-simple-item-model.ts +0 -54
- package/src/models/doctor-specialties-model.ts +0 -42
- package/src/models/doctor-specialty-model.ts +0 -66
- package/src/models/doctors-model.ts +0 -42
- package/src/models/doctors-simple-model.ts +0 -42
- package/src/models/duration.ts +0 -34
- package/src/models/email-record-event-model.ts +0 -165
- package/src/models/email-record-item-model.ts +0 -87
- package/src/models/email-record-model.ts +0 -96
- package/src/models/email-records-model.ts +0 -42
- package/src/models/email-status.ts +0 -44
- package/src/models/faq-categories-model.ts +0 -42
- package/src/models/faq-category-item-model.ts +0 -99
- package/src/models/faq-category-model.ts +0 -117
- package/src/models/faq-item-model.ts +0 -129
- package/src/models/faq-model.ts +0 -153
- package/src/models/faq-tag-item-model.ts +0 -42
- package/src/models/faq-tag-model.ts +0 -42
- package/src/models/faq-tags-model.ts +0 -42
- package/src/models/faqs-model.ts +0 -42
- package/src/models/feature-detail-input-model.ts +0 -66
- package/src/models/feature-detail-model.ts +0 -78
- package/src/models/feature-input-model.ts +0 -39
- package/src/models/feature-model.ts +0 -39
- package/src/models/footer-navigation-item-model.ts +0 -72
- package/src/models/form-field-input-model.ts +0 -123
- package/src/models/form-field-model.ts +0 -129
- package/src/models/form-field-option-input-model.ts +0 -54
- package/src/models/form-field-option-model.ts +0 -60
- package/src/models/form-result-field-model.ts +0 -99
- package/src/models/form-result-item-model.ts +0 -117
- package/src/models/form-result-model.ts +0 -126
- package/src/models/form-result-section-model.ts +0 -69
- package/src/models/form-result-status.ts +0 -32
- package/src/models/form-result-value-model.ts +0 -66
- package/src/models/form-results-model.ts +0 -42
- package/src/models/form-section-input-model.ts +0 -63
- package/src/models/form-section-model.ts +0 -69
- package/src/models/form-template-affiliation-model.ts +0 -48
- package/src/models/form-template-affiliations-model.ts +0 -42
- package/src/models/form-template-item-model.ts +0 -114
- package/src/models/form-template-model.ts +0 -141
- package/src/models/form-template-platform.ts +0 -31
- package/src/models/form-template-status.ts +0 -31
- package/src/models/form-template-type.ts +0 -32
- package/src/models/form-templates-model.ts +0 -42
- package/src/models/gender.ts +0 -34
- package/src/models/general-statistics-model.ts +0 -48
- package/src/models/generated-pdf-command.ts +0 -30
- package/src/models/get-appointment-timetables-response-model.ts +0 -51
- package/src/models/get-patient-walk-in-query.ts +0 -42
- package/src/models/grade-item-model.ts +0 -72
- package/src/models/grade-model.ts +0 -72
- package/src/models/grade-targets.ts +0 -31
- package/src/models/grades-model.ts +0 -42
- package/src/models/group-channel-list.ts +0 -45
- package/src/models/group-channel.ts +0 -156
- package/src/models/header-navigation-item-model.ts +0 -78
- package/src/models/hospital-accreditation-item-model.ts +0 -54
- package/src/models/hospital-accreditation-model.ts +0 -54
- package/src/models/hospital-accreditations-model.ts +0 -42
- package/src/models/hospital-branch-item-mapping-model.ts +0 -45
- package/src/models/hospital-branch-item-model.ts +0 -75
- package/src/models/hospital-branch-model.ts +0 -102
- package/src/models/hospital-branches-model.ts +0 -42
- package/src/models/hospital-consultation-option-model.ts +0 -42
- package/src/models/hospital-contact-item-model.ts +0 -96
- package/src/models/hospital-contact-model.ts +0 -96
- package/src/models/hospital-contacts-model.ts +0 -42
- package/src/models/hospital-equipment-item-model.ts +0 -60
- package/src/models/hospital-equipment-model.ts +0 -60
- package/src/models/hospital-equipments-model.ts +0 -42
- package/src/models/hospital-evaluation-item-model.ts +0 -54
- package/src/models/hospital-evaluation-model.ts +0 -54
- package/src/models/hospital-evaluations-model.ts +0 -42
- package/src/models/hospital-group-item-model.ts +0 -69
- package/src/models/hospital-group-model.ts +0 -87
- package/src/models/hospital-groups-model.ts +0 -42
- package/src/models/hospital-item-model.ts +0 -121
- package/src/models/hospital-language-item-model.ts +0 -60
- package/src/models/hospital-languages-model.ts +0 -42
- package/src/models/hospital-model.ts +0 -334
- package/src/models/hospital-payment-gateway-model.ts +0 -36
- package/src/models/hospital-payment-method-item-model.ts +0 -63
- package/src/models/hospital-payment-method-model.ts +0 -90
- package/src/models/hospital-payment-methods-model.ts +0 -42
- package/src/models/hospital-rating-item-model.ts +0 -72
- package/src/models/hospital-rating-model.ts +0 -72
- package/src/models/hospital-rating-sorting-command.ts +0 -33
- package/src/models/hospital-ratings-model.ts +0 -42
- package/src/models/hospital-service-item-model.ts +0 -171
- package/src/models/hospital-service-model.ts +0 -243
- package/src/models/hospital-services-model.ts +0 -42
- package/src/models/hospital-simple-item-model.ts +0 -54
- package/src/models/hospital-sns-handles-model.ts +0 -42
- package/src/models/hospital-specialties-model.ts +0 -42
- package/src/models/hospital-specialties-simple-model.ts +0 -42
- package/src/models/hospital-specialty-item-model.ts +0 -147
- package/src/models/hospital-specialty-model.ts +0 -216
- package/src/models/hospital-specialty-simple-item-model.ts +0 -60
- package/src/models/hospital-tag-item-model.ts +0 -36
- package/src/models/hospital-tag-model.ts +0 -42
- package/src/models/hospital-tags-model.ts +0 -42
- package/src/models/hospital-working-days-batch-result-model.ts +0 -57
- package/src/models/hospitals-model.ts +0 -42
- package/src/models/hospitals-simple-model.ts +0 -42
- package/src/models/index.ts +0 -611
- package/src/models/invite-send-bird-group-channel-command.ts +0 -30
- package/src/models/landing-item-model.ts +0 -81
- package/src/models/landing-model.ts +0 -141
- package/src/models/landings-model.ts +0 -42
- package/src/models/language-item-model.ts +0 -60
- package/src/models/language-model.ts +0 -60
- package/src/models/languages-model.ts +0 -42
- package/src/models/location-model.ts +0 -103
- package/src/models/manager-affiliation-item-model.ts +0 -48
- package/src/models/manager-affiliation-model.ts +0 -48
- package/src/models/manager-affiliations-model.ts +0 -42
- package/src/models/manager-item-model.ts +0 -120
- package/src/models/manager-model.ts +0 -147
- package/src/models/managers-model.ts +0 -42
- package/src/models/marketing-type.ts +0 -32
- package/src/models/media-model.ts +0 -69
- package/src/models/media-type.ts +0 -37
- package/src/models/mention-type.ts +0 -31
- package/src/models/message-type.ts +0 -32
- package/src/models/metadata.ts +0 -42
- package/src/models/model-file.ts +0 -54
- package/src/models/notice-item-model.ts +0 -102
- package/src/models/notice-model.ts +0 -114
- package/src/models/notice-sorting-command.ts +0 -33
- package/src/models/notice-status.ts +0 -32
- package/src/models/notices-model.ts +0 -42
- package/src/models/notification-code.ts +0 -68
- package/src/models/notification-model.ts +0 -93
- package/src/models/notifications-model.ts +0 -48
- package/src/models/page-block-input-model.ts +0 -126
- package/src/models/page-block-link-input-model.ts +0 -69
- package/src/models/page-block-link-model.ts +0 -81
- package/src/models/page-block-link-type.ts +0 -32
- package/src/models/page-block-location-input-model.ts +0 -54
- package/src/models/page-block-location-model.ts +0 -54
- package/src/models/page-block-model.ts +0 -144
- package/src/models/page-block-type.ts +0 -48
- package/src/models/page-item-item-model.ts +0 -78
- package/src/models/page-item-model.ts +0 -111
- package/src/models/page-item-status.ts +0 -32
- package/src/models/page-items-model.ts +0 -42
- package/src/models/page-section-input-model.ts +0 -69
- package/src/models/page-section-list-type.ts +0 -34
- package/src/models/page-section-model.ts +0 -69
- package/src/models/paged-list-meta-data.ts +0 -84
- package/src/models/patient-affiliation-item-model.ts +0 -162
- package/src/models/patient-affiliation-model.ts +0 -162
- package/src/models/patient-affiliations-model.ts +0 -42
- package/src/models/patient-item-model.ts +0 -114
- package/src/models/patient-manager-item-model.ts +0 -114
- package/src/models/patient-manager-model.ts +0 -132
- package/src/models/patient-managers-model.ts +0 -42
- package/src/models/patient-model.ts +0 -138
- package/src/models/patient-walk-in-model.ts +0 -39
- package/src/models/patients-model.ts +0 -42
- package/src/models/payment-method.ts +0 -35
- package/src/models/payment-model.ts +0 -93
- package/src/models/payment-status.ts +0 -33
- package/src/models/period-units.ts +0 -31
- package/src/models/plan-hospital-item-model.ts +0 -54
- package/src/models/plan-hospital-model.ts +0 -54
- package/src/models/plan-hospitals-model.ts +0 -42
- package/src/models/plan-item-model.ts +0 -75
- package/src/models/plan-model.ts +0 -75
- package/src/models/plans-model.ts +0 -42
- package/src/models/platform.ts +0 -32
- package/src/models/policies-model.ts +0 -42
- package/src/models/policy-item-model.ts +0 -75
- package/src/models/policy-model.ts +0 -135
- package/src/models/prescription-diagnosis-input-model.ts +0 -42
- package/src/models/prescription-diagnosis-item-model.ts +0 -42
- package/src/models/prescription-item-model.ts +0 -195
- package/src/models/prescription-medication-input-model.ts +0 -84
- package/src/models/prescription-medication-item-model.ts +0 -84
- package/src/models/prescription-model.ts +0 -222
- package/src/models/prescription-symptom-input-model.ts +0 -54
- package/src/models/prescription-symptom-item-model.ts +0 -54
- package/src/models/prescriptions-model.ts +0 -42
- package/src/models/problem-details.ts +0 -56
- package/src/models/procedure.ts +0 -31
- package/src/models/promotion-item-model.ts +0 -99
- package/src/models/promotion-model.ts +0 -108
- package/src/models/promotion-type.ts +0 -32
- package/src/models/promotions-model.ts +0 -42
- package/src/models/recurring-interval.ts +0 -33
- package/src/models/refund-policy.ts +0 -32
- package/src/models/refund-status.ts +0 -32
- package/src/models/reject-appointment-command.ts +0 -39
- package/src/models/reject-reason.ts +0 -33
- package/src/models/reschedule-appointment-command.ts +0 -42
- package/src/models/review-type.ts +0 -32
- package/src/models/save-appointment-timetable-override-model.ts +0 -66
- package/src/models/save-appointment-timetable-overrides-result-model.ts +0 -33
- package/src/models/save-country-currency-command.ts +0 -30
- package/src/models/save-country-language-command.ts +0 -30
- package/src/models/save-deal-package-appointment-timetable-overrides-command.ts +0 -33
- package/src/models/save-doctor-affiliation-appointment-timetable-overrides-command.ts +0 -33
- package/src/models/save-footer-navigation-item-model.ts +0 -60
- package/src/models/save-footer-navigations-command.ts +0 -33
- package/src/models/save-form-template-command.ts +0 -105
- package/src/models/save-header-navigation-item-model.ts +0 -66
- package/src/models/save-header-navigations-command.ts +0 -33
- package/src/models/save-hospital-appointment-timetable-overrides-command.ts +0 -33
- package/src/models/save-hospital-specialty-appointment-timetable-overrides-command.ts +0 -33
- package/src/models/save-search-curations-command.ts +0 -33
- package/src/models/save-service-appointment-timetable-overrides-command.ts +0 -33
- package/src/models/search-curation-item-input-model.ts +0 -99
- package/src/models/search-curation-item-model.ts +0 -105
- package/src/models/search-curation-primary-item-model.ts +0 -36
- package/src/models/search-index-type.ts +0 -36
- package/src/models/secure-container-item-model.ts +0 -72
- package/src/models/secure-container-model.ts +0 -81
- package/src/models/secure-containers-model.ts +0 -42
- package/src/models/secure-file-model.ts +0 -93
- package/src/models/secure-files-uploaded-model.ts +0 -33
- package/src/models/send-bird-group-channel-member.ts +0 -87
- package/src/models/send-bird-group-channel-model.ts +0 -153
- package/src/models/send-bird-group-channelr-operator.ts +0 -42
- package/src/models/send-email-command.ts +0 -54
- package/src/models/send-template-version-command.ts +0 -30
- package/src/models/service-categories-model.ts +0 -42
- package/src/models/service-category-item-model.ts +0 -60
- package/src/models/service-category-mapping-model.ts +0 -36
- package/src/models/service-category-model.ts +0 -60
- package/src/models/service-review-item-model.ts +0 -153
- package/src/models/service-review-model.ts +0 -171
- package/src/models/service-reviews-model.ts +0 -42
- package/src/models/session-token.ts +0 -36
- package/src/models/set-hospital-into-form-template-command.ts +0 -30
- package/src/models/set-hospital-into-survey-form-command.ts +0 -30
- package/src/models/sns-handle-model.ts +0 -45
- package/src/models/sns-type.ts +0 -35
- package/src/models/sort-country-currencies-command.ts +0 -33
- package/src/models/sort-country-languages-command.ts +0 -33
- package/src/models/sort-currencies-command.ts +0 -33
- package/src/models/sort-footer-navigations-command.ts +0 -33
- package/src/models/sorting-item-model.ts +0 -36
- package/src/models/sorting-order.ts +0 -31
- package/src/models/sorting-result-model.ts +0 -33
- package/src/models/source-model.ts +0 -48
- package/src/models/specialties-model.ts +0 -42
- package/src/models/specialties-simple-model.ts +0 -42
- package/src/models/specialty-item-model.ts +0 -117
- package/src/models/specialty-item-simple-model.ts +0 -60
- package/src/models/specialty-model.ts +0 -141
- package/src/models/specialty-type-item-model.ts +0 -117
- package/src/models/specialty-type-model.ts +0 -135
- package/src/models/specialty-type-simple-item-model.ts +0 -60
- package/src/models/specialty-type-sorting-command.ts +0 -33
- package/src/models/specialty-types-model.ts +0 -42
- package/src/models/specialty-types-simple-model.ts +0 -42
- package/src/models/string-filter-types.ts +0 -33
- package/src/models/survey-form-affiliation-model.ts +0 -36
- package/src/models/survey-form-affiliations-model.ts +0 -42
- package/src/models/survey-form-duration-statistics-model.ts +0 -45
- package/src/models/survey-form-element-input-model.ts +0 -96
- package/src/models/survey-form-element-model.ts +0 -102
- package/src/models/survey-form-element-option-input-model.ts +0 -60
- package/src/models/survey-form-element-option-model.ts +0 -72
- package/src/models/survey-form-element-types.ts +0 -44
- package/src/models/survey-form-item-model.ts +0 -90
- package/src/models/survey-form-language-statistics-model.ts +0 -36
- package/src/models/survey-form-model.ts +0 -123
- package/src/models/survey-form-statistics-model.ts +0 -45
- package/src/models/survey-form-status.ts +0 -31
- package/src/models/survey-forms-model.ts +0 -42
- package/src/models/survey-result-element-model.ts +0 -54
- package/src/models/survey-result-element-value-model.ts +0 -42
- package/src/models/survey-result-item-model.ts +0 -99
- package/src/models/survey-result-model.ts +0 -135
- package/src/models/survey-result-user-model.ts +0 -42
- package/src/models/survey-results-model.ts +0 -42
- package/src/models/tag-item-model.ts +0 -48
- package/src/models/tag-model.ts +0 -48
- package/src/models/tags-model.ts +0 -42
- package/src/models/template-version-item-model.ts +0 -72
- package/src/models/template-version-model.ts +0 -72
- package/src/models/template-versions-model.ts +0 -42
- package/src/models/test-email-model.ts +0 -30
- package/src/models/test-email-webhook-command.ts +0 -36
- package/src/models/text-message.ts +0 -123
- package/src/models/translate-about-us-page-command.ts +0 -51
- package/src/models/translate-all-options.ts +0 -32
- package/src/models/translate-command.ts +0 -48
- package/src/models/translate-country-command.ts +0 -51
- package/src/models/translate-curation-command.ts +0 -51
- package/src/models/translate-deal-command.ts +0 -51
- package/src/models/translate-doctor-affiliation-command.ts +0 -51
- package/src/models/translate-form-result-command.ts +0 -51
- package/src/models/translate-form-template-command.ts +0 -51
- package/src/models/translate-hospital-command.ts +0 -51
- package/src/models/translate-hospital-service-command.ts +0 -51
- package/src/models/translate-hospital-specialty-command.ts +0 -51
- package/src/models/translate-landing-command.ts +0 -51
- package/src/models/translate-page-command.ts +0 -57
- package/src/models/translate-page-section-command.ts +0 -57
- package/src/models/translate-specialty-command.ts +0 -51
- package/src/models/translate-specialty-type-command.ts +0 -51
- package/src/models/translation-batch-result-model.ts +0 -57
- package/src/models/translation-charaters-model.ts +0 -42
- package/src/models/translation-contents-model.ts +0 -57
- package/src/models/translation-contents-target-model.ts +0 -42
- package/src/models/translation-target-entities.ts +0 -36
- package/src/models/update-about-us-page-command.ts +0 -105
- package/src/models/update-accreditation-command.ts +0 -48
- package/src/models/update-app-version-command.ts +0 -42
- package/src/models/update-article-command.ts +0 -150
- package/src/models/update-article-contributor-command.ts +0 -45
- package/src/models/update-article-source-command.ts +0 -42
- package/src/models/update-chadmin-command.ts +0 -87
- package/src/models/update-chat-user-command.ts +0 -48
- package/src/models/update-chmanager-command.ts +0 -87
- package/src/models/update-content-manager-command.ts +0 -87
- package/src/models/update-content-text-only-value-domains.ts +0 -38
- package/src/models/update-contributor-command.ts +0 -90
- package/src/models/update-contributor-sns-handle-command.ts +0 -39
- package/src/models/update-country-command.ts +0 -111
- package/src/models/update-curation-command.ts +0 -96
- package/src/models/update-currency-command.ts +0 -42
- package/src/models/update-deal-command.ts +0 -93
- package/src/models/update-deal-package-command.ts +0 -81
- package/src/models/update-deal-service-command.ts +0 -30
- package/src/models/update-doctor-affiliation-command.ts +0 -156
- package/src/models/update-doctor-certificate-command.ts +0 -48
- package/src/models/update-doctor-command.ts +0 -93
- package/src/models/update-doctor-education-command.ts +0 -48
- package/src/models/update-doctor-language-command.ts +0 -36
- package/src/models/update-doctor-portfolio-command.ts +0 -60
- package/src/models/update-doctor-specialty-command.ts +0 -30
- package/src/models/update-faq-category-command.ts +0 -66
- package/src/models/update-faq-command.ts +0 -96
- package/src/models/update-form-result-command.ts +0 -39
- package/src/models/update-grade-command.ts +0 -48
- package/src/models/update-hospital-bank-account-info-command.ts +0 -66
- package/src/models/update-hospital-branch-command.ts +0 -66
- package/src/models/update-hospital-branch-item-command.ts +0 -36
- package/src/models/update-hospital-command.ts +0 -265
- package/src/models/update-hospital-contact-command.ts +0 -69
- package/src/models/update-hospital-equipment-command.ts +0 -54
- package/src/models/update-hospital-group-command.ts +0 -72
- package/src/models/update-hospital-language-command.ts +0 -36
- package/src/models/update-hospital-payment-method-command.ts +0 -78
- package/src/models/update-hospital-rating-command.ts +0 -66
- package/src/models/update-hospital-service-command.ts +0 -150
- package/src/models/update-hospital-sns-handle-command.ts +0 -39
- package/src/models/update-hospital-specialty-command.ts +0 -129
- package/src/models/update-hospital-working-day-command.ts +0 -54
- package/src/models/update-landing-command.ts +0 -93
- package/src/models/update-language-command.ts +0 -54
- package/src/models/update-manager-command.ts +0 -93
- package/src/models/update-media-command.ts +0 -57
- package/src/models/update-notice-command.ts +0 -69
- package/src/models/update-page-command.ts +0 -90
- package/src/models/update-patient-affiliation-command.ts +0 -120
- package/src/models/update-patient-command.ts +0 -87
- package/src/models/update-patient-manager-command.ts +0 -87
- package/src/models/update-plan-command.ts +0 -63
- package/src/models/update-plan-hospital-command.ts +0 -30
- package/src/models/update-policy-command.ts +0 -87
- package/src/models/update-prescription-command.ts +0 -171
- package/src/models/update-profile-command.ts +0 -84
- package/src/models/update-promotion-command.ts +0 -96
- package/src/models/update-service-category-command.ts +0 -42
- package/src/models/update-service-review-command.ts +0 -90
- package/src/models/update-specialty-command.ts +0 -105
- package/src/models/update-specialty-type-command.ts +0 -114
- package/src/models/update-survey-form-command.ts +0 -84
- package/src/models/update-template-version-command.ts +0 -42
- package/src/models/update-web-app-command.ts +0 -78
- package/src/models/upi-payment-model.ts +0 -36
- package/src/models/upload-media-from-uri-command.ts +0 -30
- package/src/models/uploaded-medias-model.ts +0 -33
- package/src/models/user-language-model.ts +0 -60
- package/src/models/user-model.ts +0 -132
- package/src/models/user-type.ts +0 -37
- package/src/models/user.ts +0 -105
- package/src/models/web-app-environments-model.ts +0 -39
- package/src/models/web-app-item-model.ts +0 -120
- package/src/models/web-app-model.ts +0 -120
- package/src/models/web-apps-model.ts +0 -42
- package/src/models/working-day-input-model.ts +0 -60
- package/src/models/working-day-item-model.ts +0 -60
- package/src/models/working-day-model.ts +0 -60
- package/src/models/working-days-model.ts +0 -42
- package/tsconfig.json +0 -71
- /package/lib/models/{save-search-curations-command.js → create-curation-category-command-translation.js} +0 -0
- /package/lib/models/{search-curation-item-input-model.js → create-curation-category-command.js} +0 -0
- /package/lib/models/{search-curation-item-model.js → create-curation-command-translation.js} +0 -0
- /package/lib/models/{search-curation-primary-item-model.js → create-whats-app-template-media-command.js} +0 -0
package/src/api/patients-api.ts
DELETED
|
@@ -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
|
-
}
|