ch-admin-api-client-typescript 5.43.20 → 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/appointments-api.d.ts +52 -52
- package/lib/api/appointments-api.js +52 -52
- 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} +192 -175
- 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 +58 -260
- package/lib/api/form-results-api.d.ts +20 -20
- package/lib/api/form-results-api.js +20 -20
- package/lib/api/patient-affiliations-api.d.ts +8 -8
- package/lib/api/patient-affiliations-api.js +8 -8
- package/lib/api/patients-api.d.ts +48 -48
- package/lib/api/patients-api.js +48 -48
- package/lib/api/survey-results-api.d.ts +16 -16
- package/lib/api/survey-results-api.js +16 -16
- 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/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/lib/models/create-curation-category-command-translation.d.ts +31 -0
- 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/lib/models/create-curation-command-translation.d.ts +37 -0
- 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/lib/models/curation-categories-model.d.ts +33 -0
- package/lib/models/curation-categories-model.d.ts.map +1 -0
- package/lib/models/curation-categories-model.js +15 -0
- package/lib/models/curation-category-model.d.ts +49 -0
- 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/delete-whats-app-template-media-by-tag-command.d.ts +31 -0
- 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/lib/models/{user-type.js → meta-media-type.d.ts} +8 -14
- 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/lib/models/translate-curation-category-command.d.ts +31 -0
- 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/lib/models/update-curation-category-command-translation.d.ts +31 -0
- 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/lib/models/update-curation-command-translation.d.ts +37 -0
- 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/lib/models/{search-curation-primary-item-model.d.ts → whats-app-template-media-tags-model.d.ts} +7 -7
- 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/lib/models/whats-app-template-medias-model.d.ts +33 -0
- 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 +1 -1
- 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/{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
|
@@ -29,7 +29,7 @@ import { UpdatePatientCommand } from '../models';
|
|
|
29
29
|
export declare const PatientsApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
30
30
|
/**
|
|
31
31
|
*
|
|
32
|
-
* @summary Get all Patients. (Auth
|
|
32
|
+
* @summary Get all Patients. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
33
33
|
* @param {string} [hospitalId]
|
|
34
34
|
* @param {string} [id]
|
|
35
35
|
* @param {string} [fullname]
|
|
@@ -47,7 +47,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
47
47
|
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<RequestArgs>;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
|
-
* @summary Delete patient affiliation (Auth
|
|
50
|
+
* @summary Delete patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
|
|
51
51
|
* @param {string} patientId
|
|
52
52
|
* @param {string} hospitalId
|
|
53
53
|
* @param {boolean} [isPermanent]
|
|
@@ -57,7 +57,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
57
57
|
apiV1PatientsPatientIdAffiliationsHospitalIdDelete: (patientId: string, hospitalId: string, isPermanent?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
58
58
|
/**
|
|
59
59
|
*
|
|
60
|
-
* @summary Get patientAffiliation by patient id and hospital id. (Auth
|
|
60
|
+
* @summary Get patientAffiliation by patient id and hospital id. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
61
61
|
* @param {string} patientId
|
|
62
62
|
* @param {string} hospitalId
|
|
63
63
|
* @param {string} [languageCode]
|
|
@@ -67,7 +67,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
67
67
|
apiV1PatientsPatientIdAffiliationsHospitalIdGet: (patientId: string, hospitalId: string, languageCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
|
-
* @summary Create patient affiliation (Auth
|
|
70
|
+
* @summary Create patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
71
71
|
* @param {string} patientId
|
|
72
72
|
* @param {string} hospitalId
|
|
73
73
|
* @param {CreatePatientAffiliationCommand} [createPatientAffiliationCommand]
|
|
@@ -77,7 +77,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
77
77
|
apiV1PatientsPatientIdAffiliationsHospitalIdPost: (patientId: string, hospitalId: string, createPatientAffiliationCommand?: CreatePatientAffiliationCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
|
-
* @summary Update patient affiliation (Auth
|
|
80
|
+
* @summary Update patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
81
81
|
* @param {string} patientId
|
|
82
82
|
* @param {string} hospitalId
|
|
83
83
|
* @param {UpdatePatientAffiliationCommand} [updatePatientAffiliationCommand]
|
|
@@ -87,7 +87,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
87
87
|
apiV1PatientsPatientIdAffiliationsHospitalIdPut: (patientId: string, hospitalId: string, updatePatientAffiliationCommand?: UpdatePatientAffiliationCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
88
88
|
/**
|
|
89
89
|
*
|
|
90
|
-
* @summary Reactivate patient affiliation (Auth
|
|
90
|
+
* @summary Reactivate patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
|
|
91
91
|
* @param {string} patientId
|
|
92
92
|
* @param {string} hospitalId
|
|
93
93
|
* @param {*} [options] Override http request option.
|
|
@@ -96,7 +96,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
96
96
|
apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut: (patientId: string, hospitalId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
97
97
|
/**
|
|
98
98
|
*
|
|
99
|
-
* @summary Delete Patient. (Auth
|
|
99
|
+
* @summary Delete Patient. (Auth roles: Admin,Manager)
|
|
100
100
|
* @param {string} patientId
|
|
101
101
|
* @param {boolean} [isPermanent]
|
|
102
102
|
* @param {*} [options] Override http request option.
|
|
@@ -105,7 +105,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
105
105
|
apiV1PatientsPatientIdDelete: (patientId: string, isPermanent?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
106
106
|
/**
|
|
107
107
|
*
|
|
108
|
-
* @summary Get Patient. (Auth
|
|
108
|
+
* @summary Get Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
109
109
|
* @param {string} patientId
|
|
110
110
|
* @param {*} [options] Override http request option.
|
|
111
111
|
* @throws {RequiredError}
|
|
@@ -113,7 +113,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
113
113
|
apiV1PatientsPatientIdGet: (patientId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
114
114
|
/**
|
|
115
115
|
*
|
|
116
|
-
* @summary Update Patient. (Auth
|
|
116
|
+
* @summary Update Patient. (Auth roles: Admin,Manager,PatientManager)
|
|
117
117
|
* @param {string} patientId
|
|
118
118
|
* @param {UpdatePatientCommand} [updatePatientCommand]
|
|
119
119
|
* @param {*} [options] Override http request option.
|
|
@@ -122,7 +122,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
122
122
|
apiV1PatientsPatientIdPut: (patientId: string, updatePatientCommand?: UpdatePatientCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
123
123
|
/**
|
|
124
124
|
*
|
|
125
|
-
* @summary Reactive Patient. (Auth
|
|
125
|
+
* @summary Reactive Patient. (Auth roles: Admin,Manager)
|
|
126
126
|
* @param {string} patientId
|
|
127
127
|
* @param {*} [options] Override http request option.
|
|
128
128
|
* @throws {RequiredError}
|
|
@@ -130,7 +130,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
130
130
|
apiV1PatientsPatientIdReactivatePut: (patientId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
131
131
|
/**
|
|
132
132
|
*
|
|
133
|
-
* @summary Create a Patient. (Auth
|
|
133
|
+
* @summary Create a Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
134
134
|
* @param {CreatePatientCommand} [createPatientCommand]
|
|
135
135
|
* @param {*} [options] Override http request option.
|
|
136
136
|
* @throws {RequiredError}
|
|
@@ -138,7 +138,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
138
138
|
apiV1PatientsPost: (createPatientCommand?: CreatePatientCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
139
139
|
/**
|
|
140
140
|
*
|
|
141
|
-
* @summary Get patient information for Patient walk-in feature (Auth
|
|
141
|
+
* @summary Get patient information for Patient walk-in feature (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
142
142
|
* @param {GetPatientWalkInQuery} [getPatientWalkInQuery]
|
|
143
143
|
* @param {*} [options] Override http request option.
|
|
144
144
|
* @throws {RequiredError}
|
|
@@ -152,7 +152,7 @@ export declare const PatientsApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
152
152
|
export declare const PatientsApiFp: (configuration?: Configuration) => {
|
|
153
153
|
/**
|
|
154
154
|
*
|
|
155
|
-
* @summary Get all Patients. (Auth
|
|
155
|
+
* @summary Get all Patients. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
156
156
|
* @param {string} [hospitalId]
|
|
157
157
|
* @param {string} [id]
|
|
158
158
|
* @param {string} [fullname]
|
|
@@ -170,7 +170,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
|
|
|
170
170
|
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>>;
|
|
171
171
|
/**
|
|
172
172
|
*
|
|
173
|
-
* @summary Delete patient affiliation (Auth
|
|
173
|
+
* @summary Delete patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
|
|
174
174
|
* @param {string} patientId
|
|
175
175
|
* @param {string} hospitalId
|
|
176
176
|
* @param {boolean} [isPermanent]
|
|
@@ -180,7 +180,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
|
|
|
180
180
|
apiV1PatientsPatientIdAffiliationsHospitalIdDelete(patientId: string, hospitalId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
181
181
|
/**
|
|
182
182
|
*
|
|
183
|
-
* @summary Get patientAffiliation by patient id and hospital id. (Auth
|
|
183
|
+
* @summary Get patientAffiliation by patient id and hospital id. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
184
184
|
* @param {string} patientId
|
|
185
185
|
* @param {string} hospitalId
|
|
186
186
|
* @param {string} [languageCode]
|
|
@@ -190,7 +190,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
|
|
|
190
190
|
apiV1PatientsPatientIdAffiliationsHospitalIdGet(patientId: string, hospitalId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientAffiliationModel>>;
|
|
191
191
|
/**
|
|
192
192
|
*
|
|
193
|
-
* @summary Create patient affiliation (Auth
|
|
193
|
+
* @summary Create patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
194
194
|
* @param {string} patientId
|
|
195
195
|
* @param {string} hospitalId
|
|
196
196
|
* @param {CreatePatientAffiliationCommand} [createPatientAffiliationCommand]
|
|
@@ -200,7 +200,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
|
|
|
200
200
|
apiV1PatientsPatientIdAffiliationsHospitalIdPost(patientId: string, hospitalId: string, createPatientAffiliationCommand?: CreatePatientAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
201
201
|
/**
|
|
202
202
|
*
|
|
203
|
-
* @summary Update patient affiliation (Auth
|
|
203
|
+
* @summary Update patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
204
204
|
* @param {string} patientId
|
|
205
205
|
* @param {string} hospitalId
|
|
206
206
|
* @param {UpdatePatientAffiliationCommand} [updatePatientAffiliationCommand]
|
|
@@ -210,7 +210,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
|
|
|
210
210
|
apiV1PatientsPatientIdAffiliationsHospitalIdPut(patientId: string, hospitalId: string, updatePatientAffiliationCommand?: UpdatePatientAffiliationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
211
211
|
/**
|
|
212
212
|
*
|
|
213
|
-
* @summary Reactivate patient affiliation (Auth
|
|
213
|
+
* @summary Reactivate patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
|
|
214
214
|
* @param {string} patientId
|
|
215
215
|
* @param {string} hospitalId
|
|
216
216
|
* @param {*} [options] Override http request option.
|
|
@@ -219,7 +219,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
|
|
|
219
219
|
apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut(patientId: string, hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
220
220
|
/**
|
|
221
221
|
*
|
|
222
|
-
* @summary Delete Patient. (Auth
|
|
222
|
+
* @summary Delete Patient. (Auth roles: Admin,Manager)
|
|
223
223
|
* @param {string} patientId
|
|
224
224
|
* @param {boolean} [isPermanent]
|
|
225
225
|
* @param {*} [options] Override http request option.
|
|
@@ -228,7 +228,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
|
|
|
228
228
|
apiV1PatientsPatientIdDelete(patientId: string, isPermanent?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
229
229
|
/**
|
|
230
230
|
*
|
|
231
|
-
* @summary Get Patient. (Auth
|
|
231
|
+
* @summary Get Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
232
232
|
* @param {string} patientId
|
|
233
233
|
* @param {*} [options] Override http request option.
|
|
234
234
|
* @throws {RequiredError}
|
|
@@ -236,7 +236,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
|
|
|
236
236
|
apiV1PatientsPatientIdGet(patientId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientModel>>;
|
|
237
237
|
/**
|
|
238
238
|
*
|
|
239
|
-
* @summary Update Patient. (Auth
|
|
239
|
+
* @summary Update Patient. (Auth roles: Admin,Manager,PatientManager)
|
|
240
240
|
* @param {string} patientId
|
|
241
241
|
* @param {UpdatePatientCommand} [updatePatientCommand]
|
|
242
242
|
* @param {*} [options] Override http request option.
|
|
@@ -245,7 +245,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
|
|
|
245
245
|
apiV1PatientsPatientIdPut(patientId: string, updatePatientCommand?: UpdatePatientCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientModel>>;
|
|
246
246
|
/**
|
|
247
247
|
*
|
|
248
|
-
* @summary Reactive Patient. (Auth
|
|
248
|
+
* @summary Reactive Patient. (Auth roles: Admin,Manager)
|
|
249
249
|
* @param {string} patientId
|
|
250
250
|
* @param {*} [options] Override http request option.
|
|
251
251
|
* @throws {RequiredError}
|
|
@@ -253,7 +253,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
|
|
|
253
253
|
apiV1PatientsPatientIdReactivatePut(patientId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>>;
|
|
254
254
|
/**
|
|
255
255
|
*
|
|
256
|
-
* @summary Create a Patient. (Auth
|
|
256
|
+
* @summary Create a Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
257
257
|
* @param {CreatePatientCommand} [createPatientCommand]
|
|
258
258
|
* @param {*} [options] Override http request option.
|
|
259
259
|
* @throws {RequiredError}
|
|
@@ -261,7 +261,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
|
|
|
261
261
|
apiV1PatientsPost(createPatientCommand?: CreatePatientCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientModel>>;
|
|
262
262
|
/**
|
|
263
263
|
*
|
|
264
|
-
* @summary Get patient information for Patient walk-in feature (Auth
|
|
264
|
+
* @summary Get patient information for Patient walk-in feature (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
265
265
|
* @param {GetPatientWalkInQuery} [getPatientWalkInQuery]
|
|
266
266
|
* @param {*} [options] Override http request option.
|
|
267
267
|
* @throws {RequiredError}
|
|
@@ -275,7 +275,7 @@ export declare const PatientsApiFp: (configuration?: Configuration) => {
|
|
|
275
275
|
export declare const PatientsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
276
276
|
/**
|
|
277
277
|
*
|
|
278
|
-
* @summary Get all Patients. (Auth
|
|
278
|
+
* @summary Get all Patients. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
279
279
|
* @param {string} [hospitalId]
|
|
280
280
|
* @param {string} [id]
|
|
281
281
|
* @param {string} [fullname]
|
|
@@ -293,7 +293,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
|
|
|
293
293
|
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>;
|
|
294
294
|
/**
|
|
295
295
|
*
|
|
296
|
-
* @summary Delete patient affiliation (Auth
|
|
296
|
+
* @summary Delete patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
|
|
297
297
|
* @param {string} patientId
|
|
298
298
|
* @param {string} hospitalId
|
|
299
299
|
* @param {boolean} [isPermanent]
|
|
@@ -303,7 +303,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
|
|
|
303
303
|
apiV1PatientsPatientIdAffiliationsHospitalIdDelete(patientId: string, hospitalId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean>;
|
|
304
304
|
/**
|
|
305
305
|
*
|
|
306
|
-
* @summary Get patientAffiliation by patient id and hospital id. (Auth
|
|
306
|
+
* @summary Get patientAffiliation by patient id and hospital id. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
307
307
|
* @param {string} patientId
|
|
308
308
|
* @param {string} hospitalId
|
|
309
309
|
* @param {string} [languageCode]
|
|
@@ -313,7 +313,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
|
|
|
313
313
|
apiV1PatientsPatientIdAffiliationsHospitalIdGet(patientId: string, hospitalId: string, languageCode?: string, options?: any): AxiosPromise<PatientAffiliationModel>;
|
|
314
314
|
/**
|
|
315
315
|
*
|
|
316
|
-
* @summary Create patient affiliation (Auth
|
|
316
|
+
* @summary Create patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
317
317
|
* @param {string} patientId
|
|
318
318
|
* @param {string} hospitalId
|
|
319
319
|
* @param {CreatePatientAffiliationCommand} [createPatientAffiliationCommand]
|
|
@@ -323,7 +323,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
|
|
|
323
323
|
apiV1PatientsPatientIdAffiliationsHospitalIdPost(patientId: string, hospitalId: string, createPatientAffiliationCommand?: CreatePatientAffiliationCommand, options?: any): AxiosPromise<boolean>;
|
|
324
324
|
/**
|
|
325
325
|
*
|
|
326
|
-
* @summary Update patient affiliation (Auth
|
|
326
|
+
* @summary Update patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
327
327
|
* @param {string} patientId
|
|
328
328
|
* @param {string} hospitalId
|
|
329
329
|
* @param {UpdatePatientAffiliationCommand} [updatePatientAffiliationCommand]
|
|
@@ -333,7 +333,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
|
|
|
333
333
|
apiV1PatientsPatientIdAffiliationsHospitalIdPut(patientId: string, hospitalId: string, updatePatientAffiliationCommand?: UpdatePatientAffiliationCommand, options?: any): AxiosPromise<boolean>;
|
|
334
334
|
/**
|
|
335
335
|
*
|
|
336
|
-
* @summary Reactivate patient affiliation (Auth
|
|
336
|
+
* @summary Reactivate patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
|
|
337
337
|
* @param {string} patientId
|
|
338
338
|
* @param {string} hospitalId
|
|
339
339
|
* @param {*} [options] Override http request option.
|
|
@@ -342,7 +342,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
|
|
|
342
342
|
apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut(patientId: string, hospitalId: string, options?: any): AxiosPromise<boolean>;
|
|
343
343
|
/**
|
|
344
344
|
*
|
|
345
|
-
* @summary Delete Patient. (Auth
|
|
345
|
+
* @summary Delete Patient. (Auth roles: Admin,Manager)
|
|
346
346
|
* @param {string} patientId
|
|
347
347
|
* @param {boolean} [isPermanent]
|
|
348
348
|
* @param {*} [options] Override http request option.
|
|
@@ -351,7 +351,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
|
|
|
351
351
|
apiV1PatientsPatientIdDelete(patientId: string, isPermanent?: boolean, options?: any): AxiosPromise<boolean>;
|
|
352
352
|
/**
|
|
353
353
|
*
|
|
354
|
-
* @summary Get Patient. (Auth
|
|
354
|
+
* @summary Get Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
355
355
|
* @param {string} patientId
|
|
356
356
|
* @param {*} [options] Override http request option.
|
|
357
357
|
* @throws {RequiredError}
|
|
@@ -359,7 +359,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
|
|
|
359
359
|
apiV1PatientsPatientIdGet(patientId: string, options?: any): AxiosPromise<PatientModel>;
|
|
360
360
|
/**
|
|
361
361
|
*
|
|
362
|
-
* @summary Update Patient. (Auth
|
|
362
|
+
* @summary Update Patient. (Auth roles: Admin,Manager,PatientManager)
|
|
363
363
|
* @param {string} patientId
|
|
364
364
|
* @param {UpdatePatientCommand} [updatePatientCommand]
|
|
365
365
|
* @param {*} [options] Override http request option.
|
|
@@ -368,7 +368,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
|
|
|
368
368
|
apiV1PatientsPatientIdPut(patientId: string, updatePatientCommand?: UpdatePatientCommand, options?: any): AxiosPromise<PatientModel>;
|
|
369
369
|
/**
|
|
370
370
|
*
|
|
371
|
-
* @summary Reactive Patient. (Auth
|
|
371
|
+
* @summary Reactive Patient. (Auth roles: Admin,Manager)
|
|
372
372
|
* @param {string} patientId
|
|
373
373
|
* @param {*} [options] Override http request option.
|
|
374
374
|
* @throws {RequiredError}
|
|
@@ -376,7 +376,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
|
|
|
376
376
|
apiV1PatientsPatientIdReactivatePut(patientId: string, options?: any): AxiosPromise<boolean>;
|
|
377
377
|
/**
|
|
378
378
|
*
|
|
379
|
-
* @summary Create a Patient. (Auth
|
|
379
|
+
* @summary Create a Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
380
380
|
* @param {CreatePatientCommand} [createPatientCommand]
|
|
381
381
|
* @param {*} [options] Override http request option.
|
|
382
382
|
* @throws {RequiredError}
|
|
@@ -384,7 +384,7 @@ export declare const PatientsApiFactory: (configuration?: Configuration, basePat
|
|
|
384
384
|
apiV1PatientsPost(createPatientCommand?: CreatePatientCommand, options?: any): AxiosPromise<PatientModel>;
|
|
385
385
|
/**
|
|
386
386
|
*
|
|
387
|
-
* @summary Get patient information for Patient walk-in feature (Auth
|
|
387
|
+
* @summary Get patient information for Patient walk-in feature (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
388
388
|
* @param {GetPatientWalkInQuery} [getPatientWalkInQuery]
|
|
389
389
|
* @param {*} [options] Override http request option.
|
|
390
390
|
* @throws {RequiredError}
|
|
@@ -682,7 +682,7 @@ export interface PatientsApiApiV1PatientsWalkinPostRequest {
|
|
|
682
682
|
export declare class PatientsApi extends BaseAPI {
|
|
683
683
|
/**
|
|
684
684
|
*
|
|
685
|
-
* @summary Get all Patients. (Auth
|
|
685
|
+
* @summary Get all Patients. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
686
686
|
* @param {PatientsApiApiV1PatientsGetRequest} requestParameters Request parameters.
|
|
687
687
|
* @param {*} [options] Override http request option.
|
|
688
688
|
* @throws {RequiredError}
|
|
@@ -691,7 +691,7 @@ export declare class PatientsApi extends BaseAPI {
|
|
|
691
691
|
apiV1PatientsGet(requestParameters?: PatientsApiApiV1PatientsGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientsModel, any>>;
|
|
692
692
|
/**
|
|
693
693
|
*
|
|
694
|
-
* @summary Delete patient affiliation (Auth
|
|
694
|
+
* @summary Delete patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
|
|
695
695
|
* @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDeleteRequest} requestParameters Request parameters.
|
|
696
696
|
* @param {*} [options] Override http request option.
|
|
697
697
|
* @throws {RequiredError}
|
|
@@ -700,7 +700,7 @@ export declare class PatientsApi extends BaseAPI {
|
|
|
700
700
|
apiV1PatientsPatientIdAffiliationsHospitalIdDelete(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdDeleteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
701
701
|
/**
|
|
702
702
|
*
|
|
703
|
-
* @summary Get patientAffiliation by patient id and hospital id. (Auth
|
|
703
|
+
* @summary Get patientAffiliation by patient id and hospital id. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
704
704
|
* @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdGetRequest} requestParameters Request parameters.
|
|
705
705
|
* @param {*} [options] Override http request option.
|
|
706
706
|
* @throws {RequiredError}
|
|
@@ -709,7 +709,7 @@ export declare class PatientsApi extends BaseAPI {
|
|
|
709
709
|
apiV1PatientsPatientIdAffiliationsHospitalIdGet(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientAffiliationModel, any>>;
|
|
710
710
|
/**
|
|
711
711
|
*
|
|
712
|
-
* @summary Create patient affiliation (Auth
|
|
712
|
+
* @summary Create patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
713
713
|
* @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequest} requestParameters Request parameters.
|
|
714
714
|
* @param {*} [options] Override http request option.
|
|
715
715
|
* @throws {RequiredError}
|
|
@@ -718,7 +718,7 @@ export declare class PatientsApi extends BaseAPI {
|
|
|
718
718
|
apiV1PatientsPatientIdAffiliationsHospitalIdPost(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
719
719
|
/**
|
|
720
720
|
*
|
|
721
|
-
* @summary Update patient affiliation (Auth
|
|
721
|
+
* @summary Update patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
722
722
|
* @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPutRequest} requestParameters Request parameters.
|
|
723
723
|
* @param {*} [options] Override http request option.
|
|
724
724
|
* @throws {RequiredError}
|
|
@@ -727,7 +727,7 @@ export declare class PatientsApi extends BaseAPI {
|
|
|
727
727
|
apiV1PatientsPatientIdAffiliationsHospitalIdPut(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdPutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
728
728
|
/**
|
|
729
729
|
*
|
|
730
|
-
* @summary Reactivate patient affiliation (Auth
|
|
730
|
+
* @summary Reactivate patient affiliation (Auth roles: Admin,Manager,LocalManager,Doctor)
|
|
731
731
|
* @param {PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivatePutRequest} requestParameters Request parameters.
|
|
732
732
|
* @param {*} [options] Override http request option.
|
|
733
733
|
* @throws {RequiredError}
|
|
@@ -736,7 +736,7 @@ export declare class PatientsApi extends BaseAPI {
|
|
|
736
736
|
apiV1PatientsPatientIdAffiliationsHospitalIdReactivatePut(requestParameters: PatientsApiApiV1PatientsPatientIdAffiliationsHospitalIdReactivatePutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
737
737
|
/**
|
|
738
738
|
*
|
|
739
|
-
* @summary Delete Patient. (Auth
|
|
739
|
+
* @summary Delete Patient. (Auth roles: Admin,Manager)
|
|
740
740
|
* @param {PatientsApiApiV1PatientsPatientIdDeleteRequest} requestParameters Request parameters.
|
|
741
741
|
* @param {*} [options] Override http request option.
|
|
742
742
|
* @throws {RequiredError}
|
|
@@ -745,7 +745,7 @@ export declare class PatientsApi extends BaseAPI {
|
|
|
745
745
|
apiV1PatientsPatientIdDelete(requestParameters: PatientsApiApiV1PatientsPatientIdDeleteRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
746
746
|
/**
|
|
747
747
|
*
|
|
748
|
-
* @summary Get Patient. (Auth
|
|
748
|
+
* @summary Get Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
749
749
|
* @param {PatientsApiApiV1PatientsPatientIdGetRequest} requestParameters Request parameters.
|
|
750
750
|
* @param {*} [options] Override http request option.
|
|
751
751
|
* @throws {RequiredError}
|
|
@@ -754,7 +754,7 @@ export declare class PatientsApi extends BaseAPI {
|
|
|
754
754
|
apiV1PatientsPatientIdGet(requestParameters: PatientsApiApiV1PatientsPatientIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientModel, any>>;
|
|
755
755
|
/**
|
|
756
756
|
*
|
|
757
|
-
* @summary Update Patient. (Auth
|
|
757
|
+
* @summary Update Patient. (Auth roles: Admin,Manager,PatientManager)
|
|
758
758
|
* @param {PatientsApiApiV1PatientsPatientIdPutRequest} requestParameters Request parameters.
|
|
759
759
|
* @param {*} [options] Override http request option.
|
|
760
760
|
* @throws {RequiredError}
|
|
@@ -763,7 +763,7 @@ export declare class PatientsApi extends BaseAPI {
|
|
|
763
763
|
apiV1PatientsPatientIdPut(requestParameters: PatientsApiApiV1PatientsPatientIdPutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientModel, any>>;
|
|
764
764
|
/**
|
|
765
765
|
*
|
|
766
|
-
* @summary Reactive Patient. (Auth
|
|
766
|
+
* @summary Reactive Patient. (Auth roles: Admin,Manager)
|
|
767
767
|
* @param {PatientsApiApiV1PatientsPatientIdReactivatePutRequest} requestParameters Request parameters.
|
|
768
768
|
* @param {*} [options] Override http request option.
|
|
769
769
|
* @throws {RequiredError}
|
|
@@ -772,7 +772,7 @@ export declare class PatientsApi extends BaseAPI {
|
|
|
772
772
|
apiV1PatientsPatientIdReactivatePut(requestParameters: PatientsApiApiV1PatientsPatientIdReactivatePutRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<boolean, any>>;
|
|
773
773
|
/**
|
|
774
774
|
*
|
|
775
|
-
* @summary Create a Patient. (Auth
|
|
775
|
+
* @summary Create a Patient. (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
776
776
|
* @param {PatientsApiApiV1PatientsPostRequest} requestParameters Request parameters.
|
|
777
777
|
* @param {*} [options] Override http request option.
|
|
778
778
|
* @throws {RequiredError}
|
|
@@ -781,7 +781,7 @@ export declare class PatientsApi extends BaseAPI {
|
|
|
781
781
|
apiV1PatientsPost(requestParameters?: PatientsApiApiV1PatientsPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PatientModel, any>>;
|
|
782
782
|
/**
|
|
783
783
|
*
|
|
784
|
-
* @summary Get patient information for Patient walk-in feature (Auth
|
|
784
|
+
* @summary Get patient information for Patient walk-in feature (Auth roles: Admin,Manager,LocalManager,Doctor,PatientManager)
|
|
785
785
|
* @param {PatientsApiApiV1PatientsWalkinPostRequest} requestParameters Request parameters.
|
|
786
786
|
* @param {*} [options] Override http request option.
|
|
787
787
|
* @throws {RequiredError}
|