ch-api-client-typescript2 4.9.1 → 4.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/{v2-about-us-api.d.ts → about-us-api.d.ts} +25 -25
- package/lib/api/about-us-api.d.ts.map +1 -0
- package/lib/api/{v2-about-us-api.js → about-us-api.js} +48 -48
- package/lib/api/{v2-accreditations-api.d.ts → accreditations-api.d.ts} +20 -20
- package/lib/api/accreditations-api.d.ts.map +1 -0
- package/lib/api/{v2-accreditations-api.js → accreditations-api.js} +38 -38
- package/lib/api/{v2-app-version-api.d.ts → app-version-api.d.ts} +15 -15
- package/lib/api/app-version-api.d.ts.map +1 -0
- package/lib/api/{v2-app-version-api.js → app-version-api.js} +29 -29
- package/lib/api/{v2-articles-api.d.ts → articles-api.d.ts} +65 -65
- package/lib/api/articles-api.d.ts.map +1 -0
- package/lib/api/{v2-articles-api.js → articles-api.js} +132 -132
- package/lib/api/{v2-bookings-api.d.ts → bookings-api.d.ts} +35 -35
- package/lib/api/bookings-api.d.ts.map +1 -0
- package/lib/api/{v2-bookings-api.js → bookings-api.js} +68 -68
- package/lib/api/{v2-chat-users-api.d.ts → chat-users-api.d.ts} +40 -40
- package/lib/api/chat-users-api.d.ts.map +1 -0
- package/lib/api/{v2-chat-users-api.js → chat-users-api.js} +74 -74
- package/lib/api/{v2-communications-api.d.ts → communications-api.d.ts} +25 -25
- package/lib/api/communications-api.d.ts.map +1 -0
- package/lib/api/{v2-communications-api.js → communications-api.js} +46 -46
- package/lib/api/{v2-consultations-api.d.ts → consultations-api.d.ts} +35 -35
- package/lib/api/consultations-api.d.ts.map +1 -0
- package/lib/api/{v2-consultations-api.js → consultations-api.js} +68 -68
- package/lib/api/{v2-contributors-api.d.ts → contributors-api.d.ts} +35 -35
- package/lib/api/contributors-api.d.ts.map +1 -0
- package/lib/api/{v2-contributors-api.js → contributors-api.js} +69 -69
- package/lib/api/{v2-countries-api.d.ts → countries-api.d.ts} +35 -35
- package/lib/api/countries-api.d.ts.map +1 -0
- package/lib/api/{v2-countries-api.js → countries-api.js} +69 -69
- package/lib/api/{v2-deals-api.d.ts → deals-api.d.ts} +50 -50
- package/lib/api/deals-api.d.ts.map +1 -0
- package/lib/api/{v2-deals-api.js → deals-api.js} +99 -99
- package/lib/api/{v2-devices-api.d.ts → devices-api.d.ts} +40 -40
- package/lib/api/devices-api.d.ts.map +1 -0
- package/lib/api/{v2-devices-api.js → devices-api.js} +77 -77
- package/lib/api/{v2-doctor-affiliations-api.d.ts → doctor-affiliations-api.d.ts} +35 -35
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -0
- package/lib/api/{v2-doctor-affiliations-api.js → doctor-affiliations-api.js} +69 -69
- package/lib/api/{v2-doctors-api.d.ts → doctors-api.d.ts} +85 -85
- package/lib/api/doctors-api.d.ts.map +1 -0
- package/lib/api/{v2-doctors-api.js → doctors-api.js} +173 -173
- package/lib/api/{v2-external-api.d.ts → external-api.d.ts} +15 -15
- package/lib/api/external-api.d.ts.map +1 -0
- package/lib/api/{v2-external-api.js → external-api.js} +28 -28
- package/lib/api/{v2-faq-categories-api.d.ts → faq-categories-api.d.ts} +25 -25
- package/lib/api/faq-categories-api.d.ts.map +1 -0
- package/lib/api/{v2-faq-categories-api.js → faq-categories-api.js} +48 -48
- package/lib/api/{v2-faqs-api.d.ts → faqs-api.d.ts} +45 -45
- package/lib/api/faqs-api.d.ts.map +1 -0
- package/lib/api/{v2-faqs-api.js → faqs-api.js} +90 -90
- package/lib/api/{v2-group-channels-api.d.ts → group-channels-api.d.ts} +35 -35
- package/lib/api/group-channels-api.d.ts.map +1 -0
- package/lib/api/{v2-group-channels-api.js → group-channels-api.js} +70 -70
- package/lib/api/{v2-header-navigations-api.d.ts → header-navigations-api.d.ts} +15 -15
- package/lib/api/header-navigations-api.d.ts.map +1 -0
- package/lib/api/{v2-header-navigations-api.js → header-navigations-api.js} +29 -29
- package/lib/api/{v2-hospitals-api.d.ts → hospitals-api.d.ts} +170 -170
- package/lib/api/hospitals-api.d.ts.map +1 -0
- package/lib/api/{v2-hospitals-api.js → hospitals-api.js} +361 -361
- package/lib/api/{v2-hospitals-consultation-timetables-api.d.ts → hospitals-consultation-timetables-api.d.ts} +15 -15
- package/lib/api/hospitals-consultation-timetables-api.d.ts.map +1 -0
- package/lib/api/{v2-hospitals-consultation-timetables-api.js → hospitals-consultation-timetables-api.js} +29 -29
- package/lib/api/{v2-images-api.d.ts → images-api.d.ts} +15 -15
- package/lib/api/images-api.d.ts.map +1 -0
- package/lib/api/{v2-images-api.js → images-api.js} +28 -28
- package/lib/api/{v2-languages-api.d.ts → languages-api.d.ts} +20 -20
- package/lib/api/languages-api.d.ts.map +1 -0
- package/lib/api/{v2-languages-api.js → languages-api.js} +38 -38
- package/lib/api/{v2-memberships-api.d.ts → memberships-api.d.ts} +25 -25
- package/lib/api/memberships-api.d.ts.map +1 -0
- package/lib/api/{v2-memberships-api.js → memberships-api.js} +48 -48
- package/lib/api/{v2-notifications-api.d.ts → notifications-api.d.ts} +20 -20
- package/lib/api/notifications-api.d.ts.map +1 -0
- package/lib/api/{v2-notifications-api.js → notifications-api.js} +37 -37
- package/lib/api/{v2-origins-api.d.ts → origins-api.d.ts} +30 -30
- package/lib/api/origins-api.d.ts.map +1 -0
- package/lib/api/{v2-origins-api.js → origins-api.js} +56 -56
- package/lib/api/{v2-patients-api.d.ts → patients-api.d.ts} +40 -40
- package/lib/api/patients-api.d.ts.map +1 -0
- package/lib/api/{v2-patients-api.js → patients-api.js} +78 -78
- package/lib/api/{v2-plans-api.d.ts → plans-api.d.ts} +30 -30
- package/lib/api/plans-api.d.ts.map +1 -0
- package/lib/api/{v2-plans-api.js → plans-api.js} +59 -59
- package/lib/api/{v2-profiles-api.d.ts → profiles-api.d.ts} +40 -40
- package/lib/api/profiles-api.d.ts.map +1 -0
- package/lib/api/{v2-profiles-api.js → profiles-api.js} +74 -74
- package/lib/api/{v2-service-reviews-api.d.ts → service-reviews-api.d.ts} +60 -60
- package/lib/api/service-reviews-api.d.ts.map +1 -0
- package/lib/api/{v2-service-reviews-api.js → service-reviews-api.js} +120 -120
- package/lib/api/{v2-services-api.d.ts → services-api.d.ts} +25 -25
- package/lib/api/services-api.d.ts.map +1 -0
- package/lib/api/{v2-services-api.js → services-api.js} +48 -48
- package/lib/api/{v2-services-categories-api.d.ts → services-categories-api.d.ts} +20 -20
- package/lib/api/services-categories-api.d.ts.map +1 -0
- package/lib/api/{v2-services-categories-api.js → services-categories-api.js} +38 -38
- package/lib/api/{v2-specialties-api.d.ts → specialties-api.d.ts} +40 -40
- package/lib/api/specialties-api.d.ts.map +1 -0
- package/lib/api/{v2-specialties-api.js → specialties-api.js} +78 -78
- package/lib/api/{v2-specialty-types-api.d.ts → specialty-types-api.d.ts} +40 -40
- package/lib/api/specialty-types-api.d.ts.map +1 -0
- package/lib/api/{v2-specialty-types-api.js → specialty-types-api.js} +78 -78
- package/lib/api/{v2-survey-forms-api.d.ts → survey-forms-api.d.ts} +15 -15
- package/lib/api/survey-forms-api.d.ts.map +1 -0
- package/lib/api/{v2-survey-forms-api.js → survey-forms-api.js} +29 -29
- package/lib/api/{v2-survey-results-api.d.ts → survey-results-api.d.ts} +15 -15
- package/lib/api/survey-results-api.d.ts.map +1 -0
- package/lib/api/{v2-survey-results-api.js → survey-results-api.js} +28 -28
- package/lib/api/{v2-tags-api.d.ts → tags-api.d.ts} +20 -20
- package/lib/api/tags-api.d.ts.map +1 -0
- package/lib/api/{v2-tags-api.js → tags-api.js} +38 -38
- package/lib/api.d.ts +37 -37
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +37 -37
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +37 -37
- package/src/api/{v2-about-us-api.ts → about-us-api.ts} +40 -40
- package/src/api/{v2-accreditations-api.ts → accreditations-api.ts} +30 -30
- package/src/api/{v2-app-version-api.ts → app-version-api.ts} +21 -21
- package/src/api/{v2-articles-api.ts → articles-api.ts} +124 -124
- package/src/api/{v2-bookings-api.ts → bookings-api.ts} +60 -60
- package/src/api/{v2-chat-users-api.ts → chat-users-api.ts} +66 -66
- package/src/api/{v2-communications-api.ts → communications-api.ts} +38 -38
- package/src/api/{v2-consultations-api.ts → consultations-api.ts} +60 -60
- package/src/api/{v2-contributors-api.ts → contributors-api.ts} +61 -61
- package/src/api/{v2-countries-api.ts → countries-api.ts} +61 -61
- package/src/api/{v2-deals-api.ts → deals-api.ts} +91 -91
- package/src/api/{v2-devices-api.ts → devices-api.ts} +69 -69
- package/src/api/{v2-doctor-affiliations-api.ts → doctor-affiliations-api.ts} +61 -61
- package/src/api/{v2-doctors-api.ts → doctors-api.ts} +165 -165
- package/src/api/{v2-external-api.ts → external-api.ts} +20 -20
- package/src/api/{v2-faq-categories-api.ts → faq-categories-api.ts} +40 -40
- package/src/api/{v2-faqs-api.ts → faqs-api.ts} +82 -82
- package/src/api/{v2-group-channels-api.ts → group-channels-api.ts} +62 -62
- package/src/api/{v2-header-navigations-api.ts → header-navigations-api.ts} +21 -21
- package/src/api/{v2-hospitals-api.ts → hospitals-api.ts} +353 -353
- package/src/api/{v2-hospitals-consultation-timetables-api.ts → hospitals-consultation-timetables-api.ts} +21 -21
- package/src/api/{v2-images-api.ts → images-api.ts} +20 -20
- package/src/api/{v2-languages-api.ts → languages-api.ts} +30 -30
- package/src/api/{v2-memberships-api.ts → memberships-api.ts} +40 -40
- package/src/api/{v2-notifications-api.ts → notifications-api.ts} +29 -29
- package/src/api/{v2-origins-api.ts → origins-api.ts} +48 -48
- package/src/api/{v2-patients-api.ts → patients-api.ts} +70 -70
- package/src/api/{v2-plans-api.ts → plans-api.ts} +51 -51
- package/src/api/{v2-profiles-api.ts → profiles-api.ts} +66 -66
- package/src/api/{v2-service-reviews-api.ts → service-reviews-api.ts} +112 -112
- package/src/api/{v2-services-api.ts → services-api.ts} +40 -40
- package/src/api/{v2-services-categories-api.ts → services-categories-api.ts} +30 -30
- package/src/api/{v2-specialties-api.ts → specialties-api.ts} +70 -70
- package/src/api/{v2-specialty-types-api.ts → specialty-types-api.ts} +70 -70
- package/src/api/{v2-survey-forms-api.ts → survey-forms-api.ts} +21 -21
- package/src/api/{v2-survey-results-api.ts → survey-results-api.ts} +20 -20
- package/src/api/{v2-tags-api.ts → tags-api.ts} +30 -30
- package/src/api.ts +37 -37
- package/lib/api/v2-about-us-api.d.ts.map +0 -1
- package/lib/api/v2-accreditations-api.d.ts.map +0 -1
- package/lib/api/v2-app-version-api.d.ts.map +0 -1
- package/lib/api/v2-articles-api.d.ts.map +0 -1
- package/lib/api/v2-bookings-api.d.ts.map +0 -1
- package/lib/api/v2-chat-users-api.d.ts.map +0 -1
- package/lib/api/v2-communications-api.d.ts.map +0 -1
- package/lib/api/v2-consultations-api.d.ts.map +0 -1
- package/lib/api/v2-contributors-api.d.ts.map +0 -1
- package/lib/api/v2-countries-api.d.ts.map +0 -1
- package/lib/api/v2-deals-api.d.ts.map +0 -1
- package/lib/api/v2-devices-api.d.ts.map +0 -1
- package/lib/api/v2-doctor-affiliations-api.d.ts.map +0 -1
- package/lib/api/v2-doctors-api.d.ts.map +0 -1
- package/lib/api/v2-external-api.d.ts.map +0 -1
- package/lib/api/v2-faq-categories-api.d.ts.map +0 -1
- package/lib/api/v2-faqs-api.d.ts.map +0 -1
- package/lib/api/v2-group-channels-api.d.ts.map +0 -1
- package/lib/api/v2-header-navigations-api.d.ts.map +0 -1
- package/lib/api/v2-hospitals-api.d.ts.map +0 -1
- package/lib/api/v2-hospitals-consultation-timetables-api.d.ts.map +0 -1
- package/lib/api/v2-images-api.d.ts.map +0 -1
- package/lib/api/v2-languages-api.d.ts.map +0 -1
- package/lib/api/v2-memberships-api.d.ts.map +0 -1
- package/lib/api/v2-notifications-api.d.ts.map +0 -1
- package/lib/api/v2-origins-api.d.ts.map +0 -1
- package/lib/api/v2-patients-api.d.ts.map +0 -1
- package/lib/api/v2-plans-api.d.ts.map +0 -1
- package/lib/api/v2-profiles-api.d.ts.map +0 -1
- package/lib/api/v2-service-reviews-api.d.ts.map +0 -1
- package/lib/api/v2-services-api.d.ts.map +0 -1
- package/lib/api/v2-services-categories-api.d.ts.map +0 -1
- package/lib/api/v2-specialties-api.d.ts.map +0 -1
- package/lib/api/v2-specialty-types-api.d.ts.map +0 -1
- package/lib/api/v2-survey-forms-api.d.ts.map +0 -1
- package/lib/api/v2-survey-results-api.d.ts.map +0 -1
- package/lib/api/v2-tags-api.d.ts.map +0 -1
|
@@ -27,10 +27,10 @@ import { PatientModel } from '../models';
|
|
|
27
27
|
// @ts-ignore
|
|
28
28
|
import { UpdatePatientCommand } from '../models';
|
|
29
29
|
/**
|
|
30
|
-
*
|
|
30
|
+
* PatientsApi - axios parameter creator
|
|
31
31
|
* @export
|
|
32
32
|
*/
|
|
33
|
-
export const
|
|
33
|
+
export const PatientsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
34
34
|
return {
|
|
35
35
|
/**
|
|
36
36
|
*
|
|
@@ -39,10 +39,10 @@ export const V2PatientsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
39
39
|
* @param {*} [options] Override http request option.
|
|
40
40
|
* @throws {RequiredError}
|
|
41
41
|
*/
|
|
42
|
-
|
|
42
|
+
apiV2PatientsAffiliationsHospitalIdDelete: async (hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43
43
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
44
|
-
assertParamExists('
|
|
45
|
-
const localVarPath = `/
|
|
44
|
+
assertParamExists('apiV2PatientsAffiliationsHospitalIdDelete', 'hospitalId', hospitalId)
|
|
45
|
+
const localVarPath = `/api/v2/patients/affiliations/{hospitalId}`
|
|
46
46
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
47
47
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
48
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -77,10 +77,10 @@ export const V2PatientsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
77
77
|
* @param {*} [options] Override http request option.
|
|
78
78
|
* @throws {RequiredError}
|
|
79
79
|
*/
|
|
80
|
-
|
|
80
|
+
apiV2PatientsAffiliationsHospitalIdPost: async (hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
81
81
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
82
|
-
assertParamExists('
|
|
83
|
-
const localVarPath = `/
|
|
82
|
+
assertParamExists('apiV2PatientsAffiliationsHospitalIdPost', 'hospitalId', hospitalId)
|
|
83
|
+
const localVarPath = `/api/v2/patients/affiliations/{hospitalId}`
|
|
84
84
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
85
85
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
86
86
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -116,10 +116,10 @@ export const V2PatientsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
116
116
|
* @deprecated
|
|
117
117
|
* @throws {RequiredError}
|
|
118
118
|
*/
|
|
119
|
-
|
|
119
|
+
apiV2PatientsPatientIdDelete: async (patientId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
120
120
|
// verify required parameter 'patientId' is not null or undefined
|
|
121
|
-
assertParamExists('
|
|
122
|
-
const localVarPath = `/
|
|
121
|
+
assertParamExists('apiV2PatientsPatientIdDelete', 'patientId', patientId)
|
|
122
|
+
const localVarPath = `/api/v2/patients/{patientId}`
|
|
123
123
|
.replace(`{${"patientId"}}`, encodeURIComponent(String(patientId)));
|
|
124
124
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
125
125
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -155,10 +155,10 @@ export const V2PatientsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
155
155
|
* @deprecated
|
|
156
156
|
* @throws {RequiredError}
|
|
157
157
|
*/
|
|
158
|
-
|
|
158
|
+
apiV2PatientsPatientIdGet: async (patientId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
159
159
|
// verify required parameter 'patientId' is not null or undefined
|
|
160
|
-
assertParamExists('
|
|
161
|
-
const localVarPath = `/
|
|
160
|
+
assertParamExists('apiV2PatientsPatientIdGet', 'patientId', patientId)
|
|
161
|
+
const localVarPath = `/api/v2/patients/{patientId}`
|
|
162
162
|
.replace(`{${"patientId"}}`, encodeURIComponent(String(patientId)));
|
|
163
163
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
164
164
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -195,10 +195,10 @@ export const V2PatientsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
195
195
|
* @deprecated
|
|
196
196
|
* @throws {RequiredError}
|
|
197
197
|
*/
|
|
198
|
-
|
|
198
|
+
apiV2PatientsPatientIdPut: async (patientId: string, updatePatientCommand?: UpdatePatientCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
199
199
|
// verify required parameter 'patientId' is not null or undefined
|
|
200
|
-
assertParamExists('
|
|
201
|
-
const localVarPath = `/
|
|
200
|
+
assertParamExists('apiV2PatientsPatientIdPut', 'patientId', patientId)
|
|
201
|
+
const localVarPath = `/api/v2/patients/{patientId}`
|
|
202
202
|
.replace(`{${"patientId"}}`, encodeURIComponent(String(patientId)));
|
|
203
203
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
204
204
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -237,8 +237,8 @@ export const V2PatientsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
237
237
|
* @deprecated
|
|
238
238
|
* @throws {RequiredError}
|
|
239
239
|
*/
|
|
240
|
-
|
|
241
|
-
const localVarPath = `/
|
|
240
|
+
apiV2PatientsPost: async (createPatientCommand?: CreatePatientCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
241
|
+
const localVarPath = `/api/v2/patients`;
|
|
242
242
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
243
243
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
244
244
|
let baseOptions;
|
|
@@ -272,11 +272,11 @@ export const V2PatientsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
272
272
|
};
|
|
273
273
|
|
|
274
274
|
/**
|
|
275
|
-
*
|
|
275
|
+
* PatientsApi - functional programming interface
|
|
276
276
|
* @export
|
|
277
277
|
*/
|
|
278
|
-
export const
|
|
279
|
-
const localVarAxiosParamCreator =
|
|
278
|
+
export const PatientsApiFp = function(configuration?: Configuration) {
|
|
279
|
+
const localVarAxiosParamCreator = PatientsApiAxiosParamCreator(configuration)
|
|
280
280
|
return {
|
|
281
281
|
/**
|
|
282
282
|
*
|
|
@@ -285,8 +285,8 @@ export const V2PatientsApiFp = function(configuration?: Configuration) {
|
|
|
285
285
|
* @param {*} [options] Override http request option.
|
|
286
286
|
* @throws {RequiredError}
|
|
287
287
|
*/
|
|
288
|
-
async
|
|
289
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
288
|
+
async apiV2PatientsAffiliationsHospitalIdDelete(hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
289
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2PatientsAffiliationsHospitalIdDelete(hospitalId, options);
|
|
290
290
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
291
291
|
},
|
|
292
292
|
/**
|
|
@@ -296,8 +296,8 @@ export const V2PatientsApiFp = function(configuration?: Configuration) {
|
|
|
296
296
|
* @param {*} [options] Override http request option.
|
|
297
297
|
* @throws {RequiredError}
|
|
298
298
|
*/
|
|
299
|
-
async
|
|
300
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
299
|
+
async apiV2PatientsAffiliationsHospitalIdPost(hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
300
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2PatientsAffiliationsHospitalIdPost(hospitalId, options);
|
|
301
301
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
302
302
|
},
|
|
303
303
|
/**
|
|
@@ -308,8 +308,8 @@ export const V2PatientsApiFp = function(configuration?: Configuration) {
|
|
|
308
308
|
* @deprecated
|
|
309
309
|
* @throws {RequiredError}
|
|
310
310
|
*/
|
|
311
|
-
async
|
|
312
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
311
|
+
async apiV2PatientsPatientIdDelete(patientId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
312
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2PatientsPatientIdDelete(patientId, options);
|
|
313
313
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
314
314
|
},
|
|
315
315
|
/**
|
|
@@ -320,8 +320,8 @@ export const V2PatientsApiFp = function(configuration?: Configuration) {
|
|
|
320
320
|
* @deprecated
|
|
321
321
|
* @throws {RequiredError}
|
|
322
322
|
*/
|
|
323
|
-
async
|
|
324
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
323
|
+
async apiV2PatientsPatientIdGet(patientId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientModel>> {
|
|
324
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2PatientsPatientIdGet(patientId, options);
|
|
325
325
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
326
326
|
},
|
|
327
327
|
/**
|
|
@@ -333,8 +333,8 @@ export const V2PatientsApiFp = function(configuration?: Configuration) {
|
|
|
333
333
|
* @deprecated
|
|
334
334
|
* @throws {RequiredError}
|
|
335
335
|
*/
|
|
336
|
-
async
|
|
337
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
336
|
+
async apiV2PatientsPatientIdPut(patientId: string, updatePatientCommand?: UpdatePatientCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientModel>> {
|
|
337
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2PatientsPatientIdPut(patientId, updatePatientCommand, options);
|
|
338
338
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
339
339
|
},
|
|
340
340
|
/**
|
|
@@ -345,19 +345,19 @@ export const V2PatientsApiFp = function(configuration?: Configuration) {
|
|
|
345
345
|
* @deprecated
|
|
346
346
|
* @throws {RequiredError}
|
|
347
347
|
*/
|
|
348
|
-
async
|
|
349
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
348
|
+
async apiV2PatientsPost(createPatientCommand?: CreatePatientCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PatientModel>> {
|
|
349
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2PatientsPost(createPatientCommand, options);
|
|
350
350
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
351
351
|
},
|
|
352
352
|
}
|
|
353
353
|
};
|
|
354
354
|
|
|
355
355
|
/**
|
|
356
|
-
*
|
|
356
|
+
* PatientsApi - factory interface
|
|
357
357
|
* @export
|
|
358
358
|
*/
|
|
359
|
-
export const
|
|
360
|
-
const localVarFp =
|
|
359
|
+
export const PatientsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
360
|
+
const localVarFp = PatientsApiFp(configuration)
|
|
361
361
|
return {
|
|
362
362
|
/**
|
|
363
363
|
*
|
|
@@ -366,8 +366,8 @@ export const V2PatientsApiFactory = function (configuration?: Configuration, bas
|
|
|
366
366
|
* @param {*} [options] Override http request option.
|
|
367
367
|
* @throws {RequiredError}
|
|
368
368
|
*/
|
|
369
|
-
|
|
370
|
-
return localVarFp.
|
|
369
|
+
apiV2PatientsAffiliationsHospitalIdDelete(hospitalId: string, options?: any): AxiosPromise<boolean> {
|
|
370
|
+
return localVarFp.apiV2PatientsAffiliationsHospitalIdDelete(hospitalId, options).then((request) => request(axios, basePath));
|
|
371
371
|
},
|
|
372
372
|
/**
|
|
373
373
|
*
|
|
@@ -376,8 +376,8 @@ export const V2PatientsApiFactory = function (configuration?: Configuration, bas
|
|
|
376
376
|
* @param {*} [options] Override http request option.
|
|
377
377
|
* @throws {RequiredError}
|
|
378
378
|
*/
|
|
379
|
-
|
|
380
|
-
return localVarFp.
|
|
379
|
+
apiV2PatientsAffiliationsHospitalIdPost(hospitalId: string, options?: any): AxiosPromise<boolean> {
|
|
380
|
+
return localVarFp.apiV2PatientsAffiliationsHospitalIdPost(hospitalId, options).then((request) => request(axios, basePath));
|
|
381
381
|
},
|
|
382
382
|
/**
|
|
383
383
|
*
|
|
@@ -387,8 +387,8 @@ export const V2PatientsApiFactory = function (configuration?: Configuration, bas
|
|
|
387
387
|
* @deprecated
|
|
388
388
|
* @throws {RequiredError}
|
|
389
389
|
*/
|
|
390
|
-
|
|
391
|
-
return localVarFp.
|
|
390
|
+
apiV2PatientsPatientIdDelete(patientId: string, options?: any): AxiosPromise<boolean> {
|
|
391
|
+
return localVarFp.apiV2PatientsPatientIdDelete(patientId, options).then((request) => request(axios, basePath));
|
|
392
392
|
},
|
|
393
393
|
/**
|
|
394
394
|
*
|
|
@@ -398,8 +398,8 @@ export const V2PatientsApiFactory = function (configuration?: Configuration, bas
|
|
|
398
398
|
* @deprecated
|
|
399
399
|
* @throws {RequiredError}
|
|
400
400
|
*/
|
|
401
|
-
|
|
402
|
-
return localVarFp.
|
|
401
|
+
apiV2PatientsPatientIdGet(patientId: string, options?: any): AxiosPromise<PatientModel> {
|
|
402
|
+
return localVarFp.apiV2PatientsPatientIdGet(patientId, options).then((request) => request(axios, basePath));
|
|
403
403
|
},
|
|
404
404
|
/**
|
|
405
405
|
*
|
|
@@ -410,8 +410,8 @@ export const V2PatientsApiFactory = function (configuration?: Configuration, bas
|
|
|
410
410
|
* @deprecated
|
|
411
411
|
* @throws {RequiredError}
|
|
412
412
|
*/
|
|
413
|
-
|
|
414
|
-
return localVarFp.
|
|
413
|
+
apiV2PatientsPatientIdPut(patientId: string, updatePatientCommand?: UpdatePatientCommand, options?: any): AxiosPromise<PatientModel> {
|
|
414
|
+
return localVarFp.apiV2PatientsPatientIdPut(patientId, updatePatientCommand, options).then((request) => request(axios, basePath));
|
|
415
415
|
},
|
|
416
416
|
/**
|
|
417
417
|
*
|
|
@@ -421,29 +421,29 @@ export const V2PatientsApiFactory = function (configuration?: Configuration, bas
|
|
|
421
421
|
* @deprecated
|
|
422
422
|
* @throws {RequiredError}
|
|
423
423
|
*/
|
|
424
|
-
|
|
425
|
-
return localVarFp.
|
|
424
|
+
apiV2PatientsPost(createPatientCommand?: CreatePatientCommand, options?: any): AxiosPromise<PatientModel> {
|
|
425
|
+
return localVarFp.apiV2PatientsPost(createPatientCommand, options).then((request) => request(axios, basePath));
|
|
426
426
|
},
|
|
427
427
|
};
|
|
428
428
|
};
|
|
429
429
|
|
|
430
430
|
/**
|
|
431
|
-
*
|
|
431
|
+
* PatientsApi - object-oriented interface
|
|
432
432
|
* @export
|
|
433
|
-
* @class
|
|
433
|
+
* @class PatientsApi
|
|
434
434
|
* @extends {BaseAPI}
|
|
435
435
|
*/
|
|
436
|
-
export class
|
|
436
|
+
export class PatientsApi extends BaseAPI {
|
|
437
437
|
/**
|
|
438
438
|
*
|
|
439
439
|
* @summary Delete PatientAffiliation
|
|
440
440
|
* @param {string} hospitalId
|
|
441
441
|
* @param {*} [options] Override http request option.
|
|
442
442
|
* @throws {RequiredError}
|
|
443
|
-
* @memberof
|
|
443
|
+
* @memberof PatientsApi
|
|
444
444
|
*/
|
|
445
|
-
public
|
|
446
|
-
return
|
|
445
|
+
public apiV2PatientsAffiliationsHospitalIdDelete(hospitalId: string, options?: AxiosRequestConfig) {
|
|
446
|
+
return PatientsApiFp(this.configuration).apiV2PatientsAffiliationsHospitalIdDelete(hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
447
447
|
}
|
|
448
448
|
|
|
449
449
|
/**
|
|
@@ -452,10 +452,10 @@ export class V2PatientsApi extends BaseAPI {
|
|
|
452
452
|
* @param {string} hospitalId
|
|
453
453
|
* @param {*} [options] Override http request option.
|
|
454
454
|
* @throws {RequiredError}
|
|
455
|
-
* @memberof
|
|
455
|
+
* @memberof PatientsApi
|
|
456
456
|
*/
|
|
457
|
-
public
|
|
458
|
-
return
|
|
457
|
+
public apiV2PatientsAffiliationsHospitalIdPost(hospitalId: string, options?: AxiosRequestConfig) {
|
|
458
|
+
return PatientsApiFp(this.configuration).apiV2PatientsAffiliationsHospitalIdPost(hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
459
459
|
}
|
|
460
460
|
|
|
461
461
|
/**
|
|
@@ -465,10 +465,10 @@ export class V2PatientsApi extends BaseAPI {
|
|
|
465
465
|
* @param {*} [options] Override http request option.
|
|
466
466
|
* @deprecated
|
|
467
467
|
* @throws {RequiredError}
|
|
468
|
-
* @memberof
|
|
468
|
+
* @memberof PatientsApi
|
|
469
469
|
*/
|
|
470
|
-
public
|
|
471
|
-
return
|
|
470
|
+
public apiV2PatientsPatientIdDelete(patientId: string, options?: AxiosRequestConfig) {
|
|
471
|
+
return PatientsApiFp(this.configuration).apiV2PatientsPatientIdDelete(patientId, options).then((request) => request(this.axios, this.basePath));
|
|
472
472
|
}
|
|
473
473
|
|
|
474
474
|
/**
|
|
@@ -478,10 +478,10 @@ export class V2PatientsApi extends BaseAPI {
|
|
|
478
478
|
* @param {*} [options] Override http request option.
|
|
479
479
|
* @deprecated
|
|
480
480
|
* @throws {RequiredError}
|
|
481
|
-
* @memberof
|
|
481
|
+
* @memberof PatientsApi
|
|
482
482
|
*/
|
|
483
|
-
public
|
|
484
|
-
return
|
|
483
|
+
public apiV2PatientsPatientIdGet(patientId: string, options?: AxiosRequestConfig) {
|
|
484
|
+
return PatientsApiFp(this.configuration).apiV2PatientsPatientIdGet(patientId, options).then((request) => request(this.axios, this.basePath));
|
|
485
485
|
}
|
|
486
486
|
|
|
487
487
|
/**
|
|
@@ -492,10 +492,10 @@ export class V2PatientsApi extends BaseAPI {
|
|
|
492
492
|
* @param {*} [options] Override http request option.
|
|
493
493
|
* @deprecated
|
|
494
494
|
* @throws {RequiredError}
|
|
495
|
-
* @memberof
|
|
495
|
+
* @memberof PatientsApi
|
|
496
496
|
*/
|
|
497
|
-
public
|
|
498
|
-
return
|
|
497
|
+
public apiV2PatientsPatientIdPut(patientId: string, updatePatientCommand?: UpdatePatientCommand, options?: AxiosRequestConfig) {
|
|
498
|
+
return PatientsApiFp(this.configuration).apiV2PatientsPatientIdPut(patientId, updatePatientCommand, options).then((request) => request(this.axios, this.basePath));
|
|
499
499
|
}
|
|
500
500
|
|
|
501
501
|
/**
|
|
@@ -505,9 +505,9 @@ export class V2PatientsApi extends BaseAPI {
|
|
|
505
505
|
* @param {*} [options] Override http request option.
|
|
506
506
|
* @deprecated
|
|
507
507
|
* @throws {RequiredError}
|
|
508
|
-
* @memberof
|
|
508
|
+
* @memberof PatientsApi
|
|
509
509
|
*/
|
|
510
|
-
public
|
|
511
|
-
return
|
|
510
|
+
public apiV2PatientsPost(createPatientCommand?: CreatePatientCommand, options?: AxiosRequestConfig) {
|
|
511
|
+
return PatientsApiFp(this.configuration).apiV2PatientsPost(createPatientCommand, options).then((request) => request(this.axios, this.basePath));
|
|
512
512
|
}
|
|
513
513
|
}
|
|
@@ -29,10 +29,10 @@ import { PlanModel } from '../models';
|
|
|
29
29
|
// @ts-ignore
|
|
30
30
|
import { PlansModel } from '../models';
|
|
31
31
|
/**
|
|
32
|
-
*
|
|
32
|
+
* PlansApi - axios parameter creator
|
|
33
33
|
* @export
|
|
34
34
|
*/
|
|
35
|
-
export const
|
|
35
|
+
export const PlansApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
36
36
|
return {
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
@@ -45,8 +45,8 @@ export const V2PlansApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
45
45
|
* @param {*} [options] Override http request option.
|
|
46
46
|
* @throws {RequiredError}
|
|
47
47
|
*/
|
|
48
|
-
|
|
49
|
-
const localVarPath = `/
|
|
48
|
+
apiV2PlansGet: async (id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
49
|
+
const localVarPath = `/api/v2/plans`;
|
|
50
50
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
51
51
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
52
52
|
let baseOptions;
|
|
@@ -98,10 +98,10 @@ export const V2PlansApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
98
98
|
* @param {*} [options] Override http request option.
|
|
99
99
|
* @throws {RequiredError}
|
|
100
100
|
*/
|
|
101
|
-
|
|
101
|
+
apiV2PlansPlanIdGet: async (planId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
102
102
|
// verify required parameter 'planId' is not null or undefined
|
|
103
|
-
assertParamExists('
|
|
104
|
-
const localVarPath = `/
|
|
103
|
+
assertParamExists('apiV2PlansPlanIdGet', 'planId', planId)
|
|
104
|
+
const localVarPath = `/api/v2/plans/{planId}`
|
|
105
105
|
.replace(`{${"planId"}}`, encodeURIComponent(String(planId)));
|
|
106
106
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
107
107
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -135,10 +135,10 @@ export const V2PlansApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
135
135
|
* @param {*} [options] Override http request option.
|
|
136
136
|
* @throws {RequiredError}
|
|
137
137
|
*/
|
|
138
|
-
|
|
138
|
+
apiV2PlansPlanIdHospitalsGet: async (planId: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
139
139
|
// verify required parameter 'planId' is not null or undefined
|
|
140
|
-
assertParamExists('
|
|
141
|
-
const localVarPath = `/
|
|
140
|
+
assertParamExists('apiV2PlansPlanIdHospitalsGet', 'planId', planId)
|
|
141
|
+
const localVarPath = `/api/v2/plans/{planId}/hospitals`
|
|
142
142
|
.replace(`{${"planId"}}`, encodeURIComponent(String(planId)));
|
|
143
143
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
144
144
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -184,12 +184,12 @@ export const V2PlansApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
184
184
|
* @param {*} [options] Override http request option.
|
|
185
185
|
* @throws {RequiredError}
|
|
186
186
|
*/
|
|
187
|
-
|
|
187
|
+
apiV2PlansPlanIdHospitalsHospitalIdGet: async (planId: string, hospitalId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
188
188
|
// verify required parameter 'planId' is not null or undefined
|
|
189
|
-
assertParamExists('
|
|
189
|
+
assertParamExists('apiV2PlansPlanIdHospitalsHospitalIdGet', 'planId', planId)
|
|
190
190
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
191
|
-
assertParamExists('
|
|
192
|
-
const localVarPath = `/
|
|
191
|
+
assertParamExists('apiV2PlansPlanIdHospitalsHospitalIdGet', 'hospitalId', hospitalId)
|
|
192
|
+
const localVarPath = `/api/v2/plans/{planId}/hospitals/{hospitalId}`
|
|
193
193
|
.replace(`{${"planId"}}`, encodeURIComponent(String(planId)))
|
|
194
194
|
.replace(`{${"hospitalId"}}`, encodeURIComponent(String(hospitalId)));
|
|
195
195
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -218,11 +218,11 @@ export const V2PlansApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
218
218
|
};
|
|
219
219
|
|
|
220
220
|
/**
|
|
221
|
-
*
|
|
221
|
+
* PlansApi - functional programming interface
|
|
222
222
|
* @export
|
|
223
223
|
*/
|
|
224
|
-
export const
|
|
225
|
-
const localVarAxiosParamCreator =
|
|
224
|
+
export const PlansApiFp = function(configuration?: Configuration) {
|
|
225
|
+
const localVarAxiosParamCreator = PlansApiAxiosParamCreator(configuration)
|
|
226
226
|
return {
|
|
227
227
|
/**
|
|
228
228
|
*
|
|
@@ -235,8 +235,8 @@ export const V2PlansApiFp = function(configuration?: Configuration) {
|
|
|
235
235
|
* @param {*} [options] Override http request option.
|
|
236
236
|
* @throws {RequiredError}
|
|
237
237
|
*/
|
|
238
|
-
async
|
|
239
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
238
|
+
async apiV2PlansGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlansModel>> {
|
|
239
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2PlansGet(id, name, page, limit, lastRetrieved, options);
|
|
240
240
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
241
241
|
},
|
|
242
242
|
/**
|
|
@@ -246,8 +246,8 @@ export const V2PlansApiFp = function(configuration?: Configuration) {
|
|
|
246
246
|
* @param {*} [options] Override http request option.
|
|
247
247
|
* @throws {RequiredError}
|
|
248
248
|
*/
|
|
249
|
-
async
|
|
250
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
249
|
+
async apiV2PlansPlanIdGet(planId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanModel>> {
|
|
250
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2PlansPlanIdGet(planId, options);
|
|
251
251
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
252
252
|
},
|
|
253
253
|
/**
|
|
@@ -260,8 +260,8 @@ export const V2PlansApiFp = function(configuration?: Configuration) {
|
|
|
260
260
|
* @param {*} [options] Override http request option.
|
|
261
261
|
* @throws {RequiredError}
|
|
262
262
|
*/
|
|
263
|
-
async
|
|
264
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
263
|
+
async apiV2PlansPlanIdHospitalsGet(planId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanHospitalsModel>> {
|
|
264
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2PlansPlanIdHospitalsGet(planId, page, limit, lastRetrieved, options);
|
|
265
265
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
266
266
|
},
|
|
267
267
|
/**
|
|
@@ -272,19 +272,19 @@ export const V2PlansApiFp = function(configuration?: Configuration) {
|
|
|
272
272
|
* @param {*} [options] Override http request option.
|
|
273
273
|
* @throws {RequiredError}
|
|
274
274
|
*/
|
|
275
|
-
async
|
|
276
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
275
|
+
async apiV2PlansPlanIdHospitalsHospitalIdGet(planId: string, hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanHospitalModel>> {
|
|
276
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2PlansPlanIdHospitalsHospitalIdGet(planId, hospitalId, options);
|
|
277
277
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
278
278
|
},
|
|
279
279
|
}
|
|
280
280
|
};
|
|
281
281
|
|
|
282
282
|
/**
|
|
283
|
-
*
|
|
283
|
+
* PlansApi - factory interface
|
|
284
284
|
* @export
|
|
285
285
|
*/
|
|
286
|
-
export const
|
|
287
|
-
const localVarFp =
|
|
286
|
+
export const PlansApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
287
|
+
const localVarFp = PlansApiFp(configuration)
|
|
288
288
|
return {
|
|
289
289
|
/**
|
|
290
290
|
*
|
|
@@ -297,8 +297,8 @@ export const V2PlansApiFactory = function (configuration?: Configuration, basePa
|
|
|
297
297
|
* @param {*} [options] Override http request option.
|
|
298
298
|
* @throws {RequiredError}
|
|
299
299
|
*/
|
|
300
|
-
|
|
301
|
-
return localVarFp.
|
|
300
|
+
apiV2PlansGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<PlansModel> {
|
|
301
|
+
return localVarFp.apiV2PlansGet(id, name, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
302
302
|
},
|
|
303
303
|
/**
|
|
304
304
|
*
|
|
@@ -307,8 +307,8 @@ export const V2PlansApiFactory = function (configuration?: Configuration, basePa
|
|
|
307
307
|
* @param {*} [options] Override http request option.
|
|
308
308
|
* @throws {RequiredError}
|
|
309
309
|
*/
|
|
310
|
-
|
|
311
|
-
return localVarFp.
|
|
310
|
+
apiV2PlansPlanIdGet(planId: string, options?: any): AxiosPromise<PlanModel> {
|
|
311
|
+
return localVarFp.apiV2PlansPlanIdGet(planId, options).then((request) => request(axios, basePath));
|
|
312
312
|
},
|
|
313
313
|
/**
|
|
314
314
|
*
|
|
@@ -320,8 +320,8 @@ export const V2PlansApiFactory = function (configuration?: Configuration, basePa
|
|
|
320
320
|
* @param {*} [options] Override http request option.
|
|
321
321
|
* @throws {RequiredError}
|
|
322
322
|
*/
|
|
323
|
-
|
|
324
|
-
return localVarFp.
|
|
323
|
+
apiV2PlansPlanIdHospitalsGet(planId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<PlanHospitalsModel> {
|
|
324
|
+
return localVarFp.apiV2PlansPlanIdHospitalsGet(planId, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
325
325
|
},
|
|
326
326
|
/**
|
|
327
327
|
*
|
|
@@ -331,19 +331,19 @@ export const V2PlansApiFactory = function (configuration?: Configuration, basePa
|
|
|
331
331
|
* @param {*} [options] Override http request option.
|
|
332
332
|
* @throws {RequiredError}
|
|
333
333
|
*/
|
|
334
|
-
|
|
335
|
-
return localVarFp.
|
|
334
|
+
apiV2PlansPlanIdHospitalsHospitalIdGet(planId: string, hospitalId: string, options?: any): AxiosPromise<PlanHospitalModel> {
|
|
335
|
+
return localVarFp.apiV2PlansPlanIdHospitalsHospitalIdGet(planId, hospitalId, options).then((request) => request(axios, basePath));
|
|
336
336
|
},
|
|
337
337
|
};
|
|
338
338
|
};
|
|
339
339
|
|
|
340
340
|
/**
|
|
341
|
-
*
|
|
341
|
+
* PlansApi - object-oriented interface
|
|
342
342
|
* @export
|
|
343
|
-
* @class
|
|
343
|
+
* @class PlansApi
|
|
344
344
|
* @extends {BaseAPI}
|
|
345
345
|
*/
|
|
346
|
-
export class
|
|
346
|
+
export class PlansApi extends BaseAPI {
|
|
347
347
|
/**
|
|
348
348
|
*
|
|
349
349
|
* @summary Get all plans.
|
|
@@ -354,10 +354,10 @@ export class V2PlansApi extends BaseAPI {
|
|
|
354
354
|
* @param {Date} [lastRetrieved]
|
|
355
355
|
* @param {*} [options] Override http request option.
|
|
356
356
|
* @throws {RequiredError}
|
|
357
|
-
* @memberof
|
|
357
|
+
* @memberof PlansApi
|
|
358
358
|
*/
|
|
359
|
-
public
|
|
360
|
-
return
|
|
359
|
+
public apiV2PlansGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
360
|
+
return PlansApiFp(this.configuration).apiV2PlansGet(id, name, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
361
361
|
}
|
|
362
362
|
|
|
363
363
|
/**
|
|
@@ -366,10 +366,10 @@ export class V2PlansApi extends BaseAPI {
|
|
|
366
366
|
* @param {string} planId
|
|
367
367
|
* @param {*} [options] Override http request option.
|
|
368
368
|
* @throws {RequiredError}
|
|
369
|
-
* @memberof
|
|
369
|
+
* @memberof PlansApi
|
|
370
370
|
*/
|
|
371
|
-
public
|
|
372
|
-
return
|
|
371
|
+
public apiV2PlansPlanIdGet(planId: string, options?: AxiosRequestConfig) {
|
|
372
|
+
return PlansApiFp(this.configuration).apiV2PlansPlanIdGet(planId, options).then((request) => request(this.axios, this.basePath));
|
|
373
373
|
}
|
|
374
374
|
|
|
375
375
|
/**
|
|
@@ -381,10 +381,10 @@ export class V2PlansApi extends BaseAPI {
|
|
|
381
381
|
* @param {Date} [lastRetrieved]
|
|
382
382
|
* @param {*} [options] Override http request option.
|
|
383
383
|
* @throws {RequiredError}
|
|
384
|
-
* @memberof
|
|
384
|
+
* @memberof PlansApi
|
|
385
385
|
*/
|
|
386
|
-
public
|
|
387
|
-
return
|
|
386
|
+
public apiV2PlansPlanIdHospitalsGet(planId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
387
|
+
return PlansApiFp(this.configuration).apiV2PlansPlanIdHospitalsGet(planId, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
388
388
|
}
|
|
389
389
|
|
|
390
390
|
/**
|
|
@@ -394,9 +394,9 @@ export class V2PlansApi extends BaseAPI {
|
|
|
394
394
|
* @param {string} hospitalId
|
|
395
395
|
* @param {*} [options] Override http request option.
|
|
396
396
|
* @throws {RequiredError}
|
|
397
|
-
* @memberof
|
|
397
|
+
* @memberof PlansApi
|
|
398
398
|
*/
|
|
399
|
-
public
|
|
400
|
-
return
|
|
399
|
+
public apiV2PlansPlanIdHospitalsHospitalIdGet(planId: string, hospitalId: string, options?: AxiosRequestConfig) {
|
|
400
|
+
return PlansApiFp(this.configuration).apiV2PlansPlanIdHospitalsHospitalIdGet(planId, hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
401
401
|
}
|
|
402
402
|
}
|