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
|
@@ -78,7 +78,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
81
|
+
exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -86,10 +86,10 @@ var common_1 = require("../common");
|
|
|
86
86
|
// @ts-ignore
|
|
87
87
|
var base_1 = require("../base");
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* PatientsApi - axios parameter creator
|
|
90
90
|
* @export
|
|
91
91
|
*/
|
|
92
|
-
var
|
|
92
|
+
var PatientsApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
@@ -99,7 +99,7 @@ var V2PatientsApiAxiosParamCreator = function (configuration) {
|
|
|
99
99
|
* @param {*} [options] Override http request option.
|
|
100
100
|
* @throws {RequiredError}
|
|
101
101
|
*/
|
|
102
|
-
|
|
102
|
+
apiV2PatientsAffiliationsHospitalIdDelete: function (hospitalId, options) {
|
|
103
103
|
if (options === void 0) { options = {}; }
|
|
104
104
|
return __awaiter(_this, void 0, void 0, function () {
|
|
105
105
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -107,8 +107,8 @@ var V2PatientsApiAxiosParamCreator = function (configuration) {
|
|
|
107
107
|
switch (_a.label) {
|
|
108
108
|
case 0:
|
|
109
109
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
110
|
-
(0, common_1.assertParamExists)('
|
|
111
|
-
localVarPath = "/
|
|
110
|
+
(0, common_1.assertParamExists)('apiV2PatientsAffiliationsHospitalIdDelete', 'hospitalId', hospitalId);
|
|
111
|
+
localVarPath = "/api/v2/patients/affiliations/{hospitalId}"
|
|
112
112
|
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
113
113
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
114
|
if (configuration) {
|
|
@@ -142,7 +142,7 @@ var V2PatientsApiAxiosParamCreator = function (configuration) {
|
|
|
142
142
|
* @param {*} [options] Override http request option.
|
|
143
143
|
* @throws {RequiredError}
|
|
144
144
|
*/
|
|
145
|
-
|
|
145
|
+
apiV2PatientsAffiliationsHospitalIdPost: function (hospitalId, options) {
|
|
146
146
|
if (options === void 0) { options = {}; }
|
|
147
147
|
return __awaiter(_this, void 0, void 0, function () {
|
|
148
148
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -150,8 +150,8 @@ var V2PatientsApiAxiosParamCreator = function (configuration) {
|
|
|
150
150
|
switch (_a.label) {
|
|
151
151
|
case 0:
|
|
152
152
|
// verify required parameter 'hospitalId' is not null or undefined
|
|
153
|
-
(0, common_1.assertParamExists)('
|
|
154
|
-
localVarPath = "/
|
|
153
|
+
(0, common_1.assertParamExists)('apiV2PatientsAffiliationsHospitalIdPost', 'hospitalId', hospitalId);
|
|
154
|
+
localVarPath = "/api/v2/patients/affiliations/{hospitalId}"
|
|
155
155
|
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
156
156
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
157
157
|
if (configuration) {
|
|
@@ -186,7 +186,7 @@ var V2PatientsApiAxiosParamCreator = function (configuration) {
|
|
|
186
186
|
* @deprecated
|
|
187
187
|
* @throws {RequiredError}
|
|
188
188
|
*/
|
|
189
|
-
|
|
189
|
+
apiV2PatientsPatientIdDelete: function (patientId, options) {
|
|
190
190
|
if (options === void 0) { options = {}; }
|
|
191
191
|
return __awaiter(_this, void 0, void 0, function () {
|
|
192
192
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -194,8 +194,8 @@ var V2PatientsApiAxiosParamCreator = function (configuration) {
|
|
|
194
194
|
switch (_a.label) {
|
|
195
195
|
case 0:
|
|
196
196
|
// verify required parameter 'patientId' is not null or undefined
|
|
197
|
-
(0, common_1.assertParamExists)('
|
|
198
|
-
localVarPath = "/
|
|
197
|
+
(0, common_1.assertParamExists)('apiV2PatientsPatientIdDelete', 'patientId', patientId);
|
|
198
|
+
localVarPath = "/api/v2/patients/{patientId}"
|
|
199
199
|
.replace("{".concat("patientId", "}"), encodeURIComponent(String(patientId)));
|
|
200
200
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
201
201
|
if (configuration) {
|
|
@@ -230,7 +230,7 @@ var V2PatientsApiAxiosParamCreator = function (configuration) {
|
|
|
230
230
|
* @deprecated
|
|
231
231
|
* @throws {RequiredError}
|
|
232
232
|
*/
|
|
233
|
-
|
|
233
|
+
apiV2PatientsPatientIdGet: function (patientId, options) {
|
|
234
234
|
if (options === void 0) { options = {}; }
|
|
235
235
|
return __awaiter(_this, void 0, void 0, function () {
|
|
236
236
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -238,8 +238,8 @@ var V2PatientsApiAxiosParamCreator = function (configuration) {
|
|
|
238
238
|
switch (_a.label) {
|
|
239
239
|
case 0:
|
|
240
240
|
// verify required parameter 'patientId' is not null or undefined
|
|
241
|
-
(0, common_1.assertParamExists)('
|
|
242
|
-
localVarPath = "/
|
|
241
|
+
(0, common_1.assertParamExists)('apiV2PatientsPatientIdGet', 'patientId', patientId);
|
|
242
|
+
localVarPath = "/api/v2/patients/{patientId}"
|
|
243
243
|
.replace("{".concat("patientId", "}"), encodeURIComponent(String(patientId)));
|
|
244
244
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
245
245
|
if (configuration) {
|
|
@@ -275,7 +275,7 @@ var V2PatientsApiAxiosParamCreator = function (configuration) {
|
|
|
275
275
|
* @deprecated
|
|
276
276
|
* @throws {RequiredError}
|
|
277
277
|
*/
|
|
278
|
-
|
|
278
|
+
apiV2PatientsPatientIdPut: function (patientId, updatePatientCommand, options) {
|
|
279
279
|
if (options === void 0) { options = {}; }
|
|
280
280
|
return __awaiter(_this, void 0, void 0, function () {
|
|
281
281
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -283,8 +283,8 @@ var V2PatientsApiAxiosParamCreator = function (configuration) {
|
|
|
283
283
|
switch (_a.label) {
|
|
284
284
|
case 0:
|
|
285
285
|
// verify required parameter 'patientId' is not null or undefined
|
|
286
|
-
(0, common_1.assertParamExists)('
|
|
287
|
-
localVarPath = "/
|
|
286
|
+
(0, common_1.assertParamExists)('apiV2PatientsPatientIdPut', 'patientId', patientId);
|
|
287
|
+
localVarPath = "/api/v2/patients/{patientId}"
|
|
288
288
|
.replace("{".concat("patientId", "}"), encodeURIComponent(String(patientId)));
|
|
289
289
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
290
290
|
if (configuration) {
|
|
@@ -321,14 +321,14 @@ var V2PatientsApiAxiosParamCreator = function (configuration) {
|
|
|
321
321
|
* @deprecated
|
|
322
322
|
* @throws {RequiredError}
|
|
323
323
|
*/
|
|
324
|
-
|
|
324
|
+
apiV2PatientsPost: function (createPatientCommand, options) {
|
|
325
325
|
if (options === void 0) { options = {}; }
|
|
326
326
|
return __awaiter(_this, void 0, void 0, function () {
|
|
327
327
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
328
328
|
return __generator(this, function (_a) {
|
|
329
329
|
switch (_a.label) {
|
|
330
330
|
case 0:
|
|
331
|
-
localVarPath = "/
|
|
331
|
+
localVarPath = "/api/v2/patients";
|
|
332
332
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
333
333
|
if (configuration) {
|
|
334
334
|
baseOptions = configuration.baseOptions;
|
|
@@ -358,13 +358,13 @@ var V2PatientsApiAxiosParamCreator = function (configuration) {
|
|
|
358
358
|
},
|
|
359
359
|
};
|
|
360
360
|
};
|
|
361
|
-
exports.
|
|
361
|
+
exports.PatientsApiAxiosParamCreator = PatientsApiAxiosParamCreator;
|
|
362
362
|
/**
|
|
363
|
-
*
|
|
363
|
+
* PatientsApi - functional programming interface
|
|
364
364
|
* @export
|
|
365
365
|
*/
|
|
366
|
-
var
|
|
367
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
366
|
+
var PatientsApiFp = function (configuration) {
|
|
367
|
+
var localVarAxiosParamCreator = (0, exports.PatientsApiAxiosParamCreator)(configuration);
|
|
368
368
|
return {
|
|
369
369
|
/**
|
|
370
370
|
*
|
|
@@ -373,12 +373,12 @@ var V2PatientsApiFp = function (configuration) {
|
|
|
373
373
|
* @param {*} [options] Override http request option.
|
|
374
374
|
* @throws {RequiredError}
|
|
375
375
|
*/
|
|
376
|
-
|
|
376
|
+
apiV2PatientsAffiliationsHospitalIdDelete: function (hospitalId, options) {
|
|
377
377
|
return __awaiter(this, void 0, void 0, function () {
|
|
378
378
|
var localVarAxiosArgs;
|
|
379
379
|
return __generator(this, function (_a) {
|
|
380
380
|
switch (_a.label) {
|
|
381
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
381
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2PatientsAffiliationsHospitalIdDelete(hospitalId, options)];
|
|
382
382
|
case 1:
|
|
383
383
|
localVarAxiosArgs = _a.sent();
|
|
384
384
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -393,12 +393,12 @@ var V2PatientsApiFp = function (configuration) {
|
|
|
393
393
|
* @param {*} [options] Override http request option.
|
|
394
394
|
* @throws {RequiredError}
|
|
395
395
|
*/
|
|
396
|
-
|
|
396
|
+
apiV2PatientsAffiliationsHospitalIdPost: function (hospitalId, options) {
|
|
397
397
|
return __awaiter(this, void 0, void 0, function () {
|
|
398
398
|
var localVarAxiosArgs;
|
|
399
399
|
return __generator(this, function (_a) {
|
|
400
400
|
switch (_a.label) {
|
|
401
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
401
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2PatientsAffiliationsHospitalIdPost(hospitalId, options)];
|
|
402
402
|
case 1:
|
|
403
403
|
localVarAxiosArgs = _a.sent();
|
|
404
404
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -414,12 +414,12 @@ var V2PatientsApiFp = function (configuration) {
|
|
|
414
414
|
* @deprecated
|
|
415
415
|
* @throws {RequiredError}
|
|
416
416
|
*/
|
|
417
|
-
|
|
417
|
+
apiV2PatientsPatientIdDelete: function (patientId, options) {
|
|
418
418
|
return __awaiter(this, void 0, void 0, function () {
|
|
419
419
|
var localVarAxiosArgs;
|
|
420
420
|
return __generator(this, function (_a) {
|
|
421
421
|
switch (_a.label) {
|
|
422
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
422
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2PatientsPatientIdDelete(patientId, options)];
|
|
423
423
|
case 1:
|
|
424
424
|
localVarAxiosArgs = _a.sent();
|
|
425
425
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -435,12 +435,12 @@ var V2PatientsApiFp = function (configuration) {
|
|
|
435
435
|
* @deprecated
|
|
436
436
|
* @throws {RequiredError}
|
|
437
437
|
*/
|
|
438
|
-
|
|
438
|
+
apiV2PatientsPatientIdGet: function (patientId, options) {
|
|
439
439
|
return __awaiter(this, void 0, void 0, function () {
|
|
440
440
|
var localVarAxiosArgs;
|
|
441
441
|
return __generator(this, function (_a) {
|
|
442
442
|
switch (_a.label) {
|
|
443
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
443
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2PatientsPatientIdGet(patientId, options)];
|
|
444
444
|
case 1:
|
|
445
445
|
localVarAxiosArgs = _a.sent();
|
|
446
446
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -457,12 +457,12 @@ var V2PatientsApiFp = function (configuration) {
|
|
|
457
457
|
* @deprecated
|
|
458
458
|
* @throws {RequiredError}
|
|
459
459
|
*/
|
|
460
|
-
|
|
460
|
+
apiV2PatientsPatientIdPut: function (patientId, updatePatientCommand, options) {
|
|
461
461
|
return __awaiter(this, void 0, void 0, function () {
|
|
462
462
|
var localVarAxiosArgs;
|
|
463
463
|
return __generator(this, function (_a) {
|
|
464
464
|
switch (_a.label) {
|
|
465
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
465
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2PatientsPatientIdPut(patientId, updatePatientCommand, options)];
|
|
466
466
|
case 1:
|
|
467
467
|
localVarAxiosArgs = _a.sent();
|
|
468
468
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -478,12 +478,12 @@ var V2PatientsApiFp = function (configuration) {
|
|
|
478
478
|
* @deprecated
|
|
479
479
|
* @throws {RequiredError}
|
|
480
480
|
*/
|
|
481
|
-
|
|
481
|
+
apiV2PatientsPost: function (createPatientCommand, options) {
|
|
482
482
|
return __awaiter(this, void 0, void 0, function () {
|
|
483
483
|
var localVarAxiosArgs;
|
|
484
484
|
return __generator(this, function (_a) {
|
|
485
485
|
switch (_a.label) {
|
|
486
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
486
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2PatientsPost(createPatientCommand, options)];
|
|
487
487
|
case 1:
|
|
488
488
|
localVarAxiosArgs = _a.sent();
|
|
489
489
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -493,13 +493,13 @@ var V2PatientsApiFp = function (configuration) {
|
|
|
493
493
|
},
|
|
494
494
|
};
|
|
495
495
|
};
|
|
496
|
-
exports.
|
|
496
|
+
exports.PatientsApiFp = PatientsApiFp;
|
|
497
497
|
/**
|
|
498
|
-
*
|
|
498
|
+
* PatientsApi - factory interface
|
|
499
499
|
* @export
|
|
500
500
|
*/
|
|
501
|
-
var
|
|
502
|
-
var localVarFp = (0, exports.
|
|
501
|
+
var PatientsApiFactory = function (configuration, basePath, axios) {
|
|
502
|
+
var localVarFp = (0, exports.PatientsApiFp)(configuration);
|
|
503
503
|
return {
|
|
504
504
|
/**
|
|
505
505
|
*
|
|
@@ -508,8 +508,8 @@ var V2PatientsApiFactory = function (configuration, basePath, axios) {
|
|
|
508
508
|
* @param {*} [options] Override http request option.
|
|
509
509
|
* @throws {RequiredError}
|
|
510
510
|
*/
|
|
511
|
-
|
|
512
|
-
return localVarFp.
|
|
511
|
+
apiV2PatientsAffiliationsHospitalIdDelete: function (hospitalId, options) {
|
|
512
|
+
return localVarFp.apiV2PatientsAffiliationsHospitalIdDelete(hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
513
513
|
},
|
|
514
514
|
/**
|
|
515
515
|
*
|
|
@@ -518,8 +518,8 @@ var V2PatientsApiFactory = function (configuration, basePath, axios) {
|
|
|
518
518
|
* @param {*} [options] Override http request option.
|
|
519
519
|
* @throws {RequiredError}
|
|
520
520
|
*/
|
|
521
|
-
|
|
522
|
-
return localVarFp.
|
|
521
|
+
apiV2PatientsAffiliationsHospitalIdPost: function (hospitalId, options) {
|
|
522
|
+
return localVarFp.apiV2PatientsAffiliationsHospitalIdPost(hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
523
523
|
},
|
|
524
524
|
/**
|
|
525
525
|
*
|
|
@@ -529,8 +529,8 @@ var V2PatientsApiFactory = function (configuration, basePath, axios) {
|
|
|
529
529
|
* @deprecated
|
|
530
530
|
* @throws {RequiredError}
|
|
531
531
|
*/
|
|
532
|
-
|
|
533
|
-
return localVarFp.
|
|
532
|
+
apiV2PatientsPatientIdDelete: function (patientId, options) {
|
|
533
|
+
return localVarFp.apiV2PatientsPatientIdDelete(patientId, options).then(function (request) { return request(axios, basePath); });
|
|
534
534
|
},
|
|
535
535
|
/**
|
|
536
536
|
*
|
|
@@ -540,8 +540,8 @@ var V2PatientsApiFactory = function (configuration, basePath, axios) {
|
|
|
540
540
|
* @deprecated
|
|
541
541
|
* @throws {RequiredError}
|
|
542
542
|
*/
|
|
543
|
-
|
|
544
|
-
return localVarFp.
|
|
543
|
+
apiV2PatientsPatientIdGet: function (patientId, options) {
|
|
544
|
+
return localVarFp.apiV2PatientsPatientIdGet(patientId, options).then(function (request) { return request(axios, basePath); });
|
|
545
545
|
},
|
|
546
546
|
/**
|
|
547
547
|
*
|
|
@@ -552,8 +552,8 @@ var V2PatientsApiFactory = function (configuration, basePath, axios) {
|
|
|
552
552
|
* @deprecated
|
|
553
553
|
* @throws {RequiredError}
|
|
554
554
|
*/
|
|
555
|
-
|
|
556
|
-
return localVarFp.
|
|
555
|
+
apiV2PatientsPatientIdPut: function (patientId, updatePatientCommand, options) {
|
|
556
|
+
return localVarFp.apiV2PatientsPatientIdPut(patientId, updatePatientCommand, options).then(function (request) { return request(axios, basePath); });
|
|
557
557
|
},
|
|
558
558
|
/**
|
|
559
559
|
*
|
|
@@ -563,21 +563,21 @@ var V2PatientsApiFactory = function (configuration, basePath, axios) {
|
|
|
563
563
|
* @deprecated
|
|
564
564
|
* @throws {RequiredError}
|
|
565
565
|
*/
|
|
566
|
-
|
|
567
|
-
return localVarFp.
|
|
566
|
+
apiV2PatientsPost: function (createPatientCommand, options) {
|
|
567
|
+
return localVarFp.apiV2PatientsPost(createPatientCommand, options).then(function (request) { return request(axios, basePath); });
|
|
568
568
|
},
|
|
569
569
|
};
|
|
570
570
|
};
|
|
571
|
-
exports.
|
|
571
|
+
exports.PatientsApiFactory = PatientsApiFactory;
|
|
572
572
|
/**
|
|
573
|
-
*
|
|
573
|
+
* PatientsApi - object-oriented interface
|
|
574
574
|
* @export
|
|
575
|
-
* @class
|
|
575
|
+
* @class PatientsApi
|
|
576
576
|
* @extends {BaseAPI}
|
|
577
577
|
*/
|
|
578
|
-
var
|
|
579
|
-
__extends(
|
|
580
|
-
function
|
|
578
|
+
var PatientsApi = /** @class */ (function (_super) {
|
|
579
|
+
__extends(PatientsApi, _super);
|
|
580
|
+
function PatientsApi() {
|
|
581
581
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
582
582
|
}
|
|
583
583
|
/**
|
|
@@ -586,11 +586,11 @@ var V2PatientsApi = /** @class */ (function (_super) {
|
|
|
586
586
|
* @param {string} hospitalId
|
|
587
587
|
* @param {*} [options] Override http request option.
|
|
588
588
|
* @throws {RequiredError}
|
|
589
|
-
* @memberof
|
|
589
|
+
* @memberof PatientsApi
|
|
590
590
|
*/
|
|
591
|
-
|
|
591
|
+
PatientsApi.prototype.apiV2PatientsAffiliationsHospitalIdDelete = function (hospitalId, options) {
|
|
592
592
|
var _this = this;
|
|
593
|
-
return (0, exports.
|
|
593
|
+
return (0, exports.PatientsApiFp)(this.configuration).apiV2PatientsAffiliationsHospitalIdDelete(hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
594
594
|
};
|
|
595
595
|
/**
|
|
596
596
|
*
|
|
@@ -598,11 +598,11 @@ var V2PatientsApi = /** @class */ (function (_super) {
|
|
|
598
598
|
* @param {string} hospitalId
|
|
599
599
|
* @param {*} [options] Override http request option.
|
|
600
600
|
* @throws {RequiredError}
|
|
601
|
-
* @memberof
|
|
601
|
+
* @memberof PatientsApi
|
|
602
602
|
*/
|
|
603
|
-
|
|
603
|
+
PatientsApi.prototype.apiV2PatientsAffiliationsHospitalIdPost = function (hospitalId, options) {
|
|
604
604
|
var _this = this;
|
|
605
|
-
return (0, exports.
|
|
605
|
+
return (0, exports.PatientsApiFp)(this.configuration).apiV2PatientsAffiliationsHospitalIdPost(hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
606
606
|
};
|
|
607
607
|
/**
|
|
608
608
|
*
|
|
@@ -611,11 +611,11 @@ var V2PatientsApi = /** @class */ (function (_super) {
|
|
|
611
611
|
* @param {*} [options] Override http request option.
|
|
612
612
|
* @deprecated
|
|
613
613
|
* @throws {RequiredError}
|
|
614
|
-
* @memberof
|
|
614
|
+
* @memberof PatientsApi
|
|
615
615
|
*/
|
|
616
|
-
|
|
616
|
+
PatientsApi.prototype.apiV2PatientsPatientIdDelete = function (patientId, options) {
|
|
617
617
|
var _this = this;
|
|
618
|
-
return (0, exports.
|
|
618
|
+
return (0, exports.PatientsApiFp)(this.configuration).apiV2PatientsPatientIdDelete(patientId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
619
619
|
};
|
|
620
620
|
/**
|
|
621
621
|
*
|
|
@@ -624,11 +624,11 @@ var V2PatientsApi = /** @class */ (function (_super) {
|
|
|
624
624
|
* @param {*} [options] Override http request option.
|
|
625
625
|
* @deprecated
|
|
626
626
|
* @throws {RequiredError}
|
|
627
|
-
* @memberof
|
|
627
|
+
* @memberof PatientsApi
|
|
628
628
|
*/
|
|
629
|
-
|
|
629
|
+
PatientsApi.prototype.apiV2PatientsPatientIdGet = function (patientId, options) {
|
|
630
630
|
var _this = this;
|
|
631
|
-
return (0, exports.
|
|
631
|
+
return (0, exports.PatientsApiFp)(this.configuration).apiV2PatientsPatientIdGet(patientId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
632
632
|
};
|
|
633
633
|
/**
|
|
634
634
|
*
|
|
@@ -638,11 +638,11 @@ var V2PatientsApi = /** @class */ (function (_super) {
|
|
|
638
638
|
* @param {*} [options] Override http request option.
|
|
639
639
|
* @deprecated
|
|
640
640
|
* @throws {RequiredError}
|
|
641
|
-
* @memberof
|
|
641
|
+
* @memberof PatientsApi
|
|
642
642
|
*/
|
|
643
|
-
|
|
643
|
+
PatientsApi.prototype.apiV2PatientsPatientIdPut = function (patientId, updatePatientCommand, options) {
|
|
644
644
|
var _this = this;
|
|
645
|
-
return (0, exports.
|
|
645
|
+
return (0, exports.PatientsApiFp)(this.configuration).apiV2PatientsPatientIdPut(patientId, updatePatientCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
646
646
|
};
|
|
647
647
|
/**
|
|
648
648
|
*
|
|
@@ -651,12 +651,12 @@ var V2PatientsApi = /** @class */ (function (_super) {
|
|
|
651
651
|
* @param {*} [options] Override http request option.
|
|
652
652
|
* @deprecated
|
|
653
653
|
* @throws {RequiredError}
|
|
654
|
-
* @memberof
|
|
654
|
+
* @memberof PatientsApi
|
|
655
655
|
*/
|
|
656
|
-
|
|
656
|
+
PatientsApi.prototype.apiV2PatientsPost = function (createPatientCommand, options) {
|
|
657
657
|
var _this = this;
|
|
658
|
-
return (0, exports.
|
|
658
|
+
return (0, exports.PatientsApiFp)(this.configuration).apiV2PatientsPost(createPatientCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
659
659
|
};
|
|
660
|
-
return
|
|
660
|
+
return PatientsApi;
|
|
661
661
|
}(base_1.BaseAPI));
|
|
662
|
-
exports.
|
|
662
|
+
exports.PatientsApi = PatientsApi;
|
|
@@ -17,10 +17,10 @@ import { PlanHospitalsModel } from '../models';
|
|
|
17
17
|
import { PlanModel } from '../models';
|
|
18
18
|
import { PlansModel } from '../models';
|
|
19
19
|
/**
|
|
20
|
-
*
|
|
20
|
+
* PlansApi - axios parameter creator
|
|
21
21
|
* @export
|
|
22
22
|
*/
|
|
23
|
-
export declare const
|
|
23
|
+
export declare const PlansApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
26
26
|
* @summary Get all plans.
|
|
@@ -32,7 +32,7 @@ export declare const V2PlansApiAxiosParamCreator: (configuration?: Configuration
|
|
|
32
32
|
* @param {*} [options] Override http request option.
|
|
33
33
|
* @throws {RequiredError}
|
|
34
34
|
*/
|
|
35
|
-
|
|
35
|
+
apiV2PlansGet: (id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
36
|
/**
|
|
37
37
|
*
|
|
38
38
|
* @summary Get plan.
|
|
@@ -40,7 +40,7 @@ export declare const V2PlansApiAxiosParamCreator: (configuration?: Configuration
|
|
|
40
40
|
* @param {*} [options] Override http request option.
|
|
41
41
|
* @throws {RequiredError}
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
apiV2PlansPlanIdGet: (planId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
46
|
* @summary Get all plan hospital.
|
|
@@ -51,7 +51,7 @@ export declare const V2PlansApiAxiosParamCreator: (configuration?: Configuration
|
|
|
51
51
|
* @param {*} [options] Override http request option.
|
|
52
52
|
* @throws {RequiredError}
|
|
53
53
|
*/
|
|
54
|
-
|
|
54
|
+
apiV2PlansPlanIdHospitalsGet: (planId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
57
|
* @summary Get plan hospital.
|
|
@@ -60,13 +60,13 @@ export declare const V2PlansApiAxiosParamCreator: (configuration?: Configuration
|
|
|
60
60
|
* @param {*} [options] Override http request option.
|
|
61
61
|
* @throws {RequiredError}
|
|
62
62
|
*/
|
|
63
|
-
|
|
63
|
+
apiV2PlansPlanIdHospitalsHospitalIdGet: (planId: string, hospitalId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
64
64
|
};
|
|
65
65
|
/**
|
|
66
|
-
*
|
|
66
|
+
* PlansApi - functional programming interface
|
|
67
67
|
* @export
|
|
68
68
|
*/
|
|
69
|
-
export declare const
|
|
69
|
+
export declare const PlansApiFp: (configuration?: Configuration) => {
|
|
70
70
|
/**
|
|
71
71
|
*
|
|
72
72
|
* @summary Get all plans.
|
|
@@ -78,7 +78,7 @@ export declare const V2PlansApiFp: (configuration?: Configuration) => {
|
|
|
78
78
|
* @param {*} [options] Override http request option.
|
|
79
79
|
* @throws {RequiredError}
|
|
80
80
|
*/
|
|
81
|
-
|
|
81
|
+
apiV2PlansGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlansModel>>;
|
|
82
82
|
/**
|
|
83
83
|
*
|
|
84
84
|
* @summary Get plan.
|
|
@@ -86,7 +86,7 @@ export declare const V2PlansApiFp: (configuration?: Configuration) => {
|
|
|
86
86
|
* @param {*} [options] Override http request option.
|
|
87
87
|
* @throws {RequiredError}
|
|
88
88
|
*/
|
|
89
|
-
|
|
89
|
+
apiV2PlansPlanIdGet(planId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanModel>>;
|
|
90
90
|
/**
|
|
91
91
|
*
|
|
92
92
|
* @summary Get all plan hospital.
|
|
@@ -97,7 +97,7 @@ export declare const V2PlansApiFp: (configuration?: Configuration) => {
|
|
|
97
97
|
* @param {*} [options] Override http request option.
|
|
98
98
|
* @throws {RequiredError}
|
|
99
99
|
*/
|
|
100
|
-
|
|
100
|
+
apiV2PlansPlanIdHospitalsGet(planId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanHospitalsModel>>;
|
|
101
101
|
/**
|
|
102
102
|
*
|
|
103
103
|
* @summary Get plan hospital.
|
|
@@ -106,13 +106,13 @@ export declare const V2PlansApiFp: (configuration?: Configuration) => {
|
|
|
106
106
|
* @param {*} [options] Override http request option.
|
|
107
107
|
* @throws {RequiredError}
|
|
108
108
|
*/
|
|
109
|
-
|
|
109
|
+
apiV2PlansPlanIdHospitalsHospitalIdGet(planId: string, hospitalId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlanHospitalModel>>;
|
|
110
110
|
};
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* PlansApi - factory interface
|
|
113
113
|
* @export
|
|
114
114
|
*/
|
|
115
|
-
export declare const
|
|
115
|
+
export declare const PlansApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
116
116
|
/**
|
|
117
117
|
*
|
|
118
118
|
* @summary Get all plans.
|
|
@@ -124,7 +124,7 @@ export declare const V2PlansApiFactory: (configuration?: Configuration, basePath
|
|
|
124
124
|
* @param {*} [options] Override http request option.
|
|
125
125
|
* @throws {RequiredError}
|
|
126
126
|
*/
|
|
127
|
-
|
|
127
|
+
apiV2PlansGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<PlansModel>;
|
|
128
128
|
/**
|
|
129
129
|
*
|
|
130
130
|
* @summary Get plan.
|
|
@@ -132,7 +132,7 @@ export declare const V2PlansApiFactory: (configuration?: Configuration, basePath
|
|
|
132
132
|
* @param {*} [options] Override http request option.
|
|
133
133
|
* @throws {RequiredError}
|
|
134
134
|
*/
|
|
135
|
-
|
|
135
|
+
apiV2PlansPlanIdGet(planId: string, options?: any): AxiosPromise<PlanModel>;
|
|
136
136
|
/**
|
|
137
137
|
*
|
|
138
138
|
* @summary Get all plan hospital.
|
|
@@ -143,7 +143,7 @@ export declare const V2PlansApiFactory: (configuration?: Configuration, basePath
|
|
|
143
143
|
* @param {*} [options] Override http request option.
|
|
144
144
|
* @throws {RequiredError}
|
|
145
145
|
*/
|
|
146
|
-
|
|
146
|
+
apiV2PlansPlanIdHospitalsGet(planId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<PlanHospitalsModel>;
|
|
147
147
|
/**
|
|
148
148
|
*
|
|
149
149
|
* @summary Get plan hospital.
|
|
@@ -152,15 +152,15 @@ export declare const V2PlansApiFactory: (configuration?: Configuration, basePath
|
|
|
152
152
|
* @param {*} [options] Override http request option.
|
|
153
153
|
* @throws {RequiredError}
|
|
154
154
|
*/
|
|
155
|
-
|
|
155
|
+
apiV2PlansPlanIdHospitalsHospitalIdGet(planId: string, hospitalId: string, options?: any): AxiosPromise<PlanHospitalModel>;
|
|
156
156
|
};
|
|
157
157
|
/**
|
|
158
|
-
*
|
|
158
|
+
* PlansApi - object-oriented interface
|
|
159
159
|
* @export
|
|
160
|
-
* @class
|
|
160
|
+
* @class PlansApi
|
|
161
161
|
* @extends {BaseAPI}
|
|
162
162
|
*/
|
|
163
|
-
export declare class
|
|
163
|
+
export declare class PlansApi extends BaseAPI {
|
|
164
164
|
/**
|
|
165
165
|
*
|
|
166
166
|
* @summary Get all plans.
|
|
@@ -171,18 +171,18 @@ export declare class V2PlansApi extends BaseAPI {
|
|
|
171
171
|
* @param {Date} [lastRetrieved]
|
|
172
172
|
* @param {*} [options] Override http request option.
|
|
173
173
|
* @throws {RequiredError}
|
|
174
|
-
* @memberof
|
|
174
|
+
* @memberof PlansApi
|
|
175
175
|
*/
|
|
176
|
-
|
|
176
|
+
apiV2PlansGet(id?: string, name?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlansModel, any>>;
|
|
177
177
|
/**
|
|
178
178
|
*
|
|
179
179
|
* @summary Get plan.
|
|
180
180
|
* @param {string} planId
|
|
181
181
|
* @param {*} [options] Override http request option.
|
|
182
182
|
* @throws {RequiredError}
|
|
183
|
-
* @memberof
|
|
183
|
+
* @memberof PlansApi
|
|
184
184
|
*/
|
|
185
|
-
|
|
185
|
+
apiV2PlansPlanIdGet(planId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanModel, any>>;
|
|
186
186
|
/**
|
|
187
187
|
*
|
|
188
188
|
* @summary Get all plan hospital.
|
|
@@ -192,9 +192,9 @@ export declare class V2PlansApi extends BaseAPI {
|
|
|
192
192
|
* @param {Date} [lastRetrieved]
|
|
193
193
|
* @param {*} [options] Override http request option.
|
|
194
194
|
* @throws {RequiredError}
|
|
195
|
-
* @memberof
|
|
195
|
+
* @memberof PlansApi
|
|
196
196
|
*/
|
|
197
|
-
|
|
197
|
+
apiV2PlansPlanIdHospitalsGet(planId: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanHospitalsModel, any>>;
|
|
198
198
|
/**
|
|
199
199
|
*
|
|
200
200
|
* @summary Get plan hospital.
|
|
@@ -202,8 +202,8 @@ export declare class V2PlansApi extends BaseAPI {
|
|
|
202
202
|
* @param {string} hospitalId
|
|
203
203
|
* @param {*} [options] Override http request option.
|
|
204
204
|
* @throws {RequiredError}
|
|
205
|
-
* @memberof
|
|
205
|
+
* @memberof PlansApi
|
|
206
206
|
*/
|
|
207
|
-
|
|
207
|
+
apiV2PlansPlanIdHospitalsHospitalIdGet(planId: string, hospitalId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<PlanHospitalModel, any>>;
|
|
208
208
|
}
|
|
209
|
-
//# sourceMappingURL=
|
|
209
|
+
//# sourceMappingURL=plans-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"plans-api.d.ts","sourceRoot":"","sources":["../../src/api/plans-api.ts"],"names":[],"mappings":"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"}
|