ch-admin-api-client-typescript 4.9.4 → 4.9.5
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 +395 -0
- package/lib/api/appointments-api.d.ts.map +1 -0
- package/lib/api/appointments-api.js +929 -0
- package/lib/api/deals-api.d.ts +393 -0
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +912 -10
- package/lib/api/doctor-affiliations-api.d.ts +191 -0
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +437 -0
- package/lib/api/hospitals-api.d.ts +611 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +1439 -44
- package/lib/api/services-api.d.ts +8 -8
- package/lib/api/services-api.js +8 -8
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/appointment-change-log-model.d.ts +44 -0
- package/lib/models/appointment-change-log-model.d.ts.map +1 -0
- package/lib/models/appointment-change-log-model.js +15 -0
- package/lib/models/appointment-item-model.d.ts +282 -0
- package/lib/models/appointment-item-model.d.ts.map +1 -0
- package/lib/models/appointment-item-model.js +15 -0
- package/lib/models/appointment-model.d.ts +302 -0
- package/lib/models/appointment-model.d.ts.map +1 -0
- package/lib/models/appointment-model.js +15 -0
- package/lib/models/appointment-option-model.d.ts +63 -0
- package/lib/models/appointment-option-model.d.ts.map +1 -0
- package/lib/models/appointment-option-model.js +15 -0
- package/lib/models/appointment-status.d.ts +27 -0
- package/lib/models/appointment-status.d.ts.map +1 -0
- package/lib/models/appointment-status.js +30 -0
- package/lib/models/appointment-timetable-model.d.ts +44 -0
- package/lib/models/appointment-timetable-model.d.ts.map +1 -0
- package/lib/models/appointment-timetable-model.js +15 -0
- package/lib/models/appointment-timetable-override-model.d.ts +56 -0
- package/lib/models/appointment-timetable-override-model.d.ts.map +1 -0
- package/lib/models/appointment-timetable-override-model.js +15 -0
- package/lib/models/appointment-timetable-overrides-model.d.ts +33 -0
- package/lib/models/appointment-timetable-overrides-model.d.ts.map +1 -0
- package/lib/models/appointment-timetable-overrides-model.js +15 -0
- package/lib/models/appointment-timetables-model.d.ts +33 -0
- package/lib/models/appointment-timetables-model.d.ts.map +1 -0
- package/lib/models/appointment-timetables-model.js +15 -0
- package/lib/models/appointment-type.d.ts +26 -0
- package/lib/models/appointment-type.d.ts.map +1 -0
- package/lib/models/appointment-type.js +29 -0
- package/lib/models/appointments-model.d.ts +33 -0
- package/lib/models/appointments-model.d.ts.map +1 -0
- package/lib/models/appointments-model.js +15 -0
- package/lib/models/approve-appointment-command.d.ts +31 -0
- package/lib/models/approve-appointment-command.d.ts.map +1 -0
- package/lib/models/approve-appointment-command.js +15 -0
- package/lib/models/batch-add-appointment-timetable-model.d.ts +38 -0
- package/lib/models/batch-add-appointment-timetable-model.d.ts.map +1 -0
- package/lib/models/batch-add-appointment-timetable-model.js +15 -0
- package/lib/models/batch-appointment-timetables-result-model.d.ts +38 -0
- package/lib/models/batch-appointment-timetables-result-model.d.ts.map +1 -0
- package/lib/models/batch-appointment-timetables-result-model.js +15 -0
- package/lib/models/batch-deal-appointment-timetables-command.d.ts +39 -0
- package/lib/models/batch-deal-appointment-timetables-command.d.ts.map +1 -0
- package/lib/models/batch-deal-appointment-timetables-command.js +15 -0
- package/lib/models/batch-deal-package-appointment-timetables-command.d.ts +39 -0
- package/lib/models/batch-deal-package-appointment-timetables-command.d.ts.map +1 -0
- package/lib/models/batch-deal-package-appointment-timetables-command.js +15 -0
- package/lib/models/batch-doctor-affiliation-appointment-timetables-command.d.ts +39 -0
- package/lib/models/batch-doctor-affiliation-appointment-timetables-command.d.ts.map +1 -0
- package/lib/models/batch-doctor-affiliation-appointment-timetables-command.js +15 -0
- package/lib/models/batch-hospital-appointment-timetables-command.d.ts +39 -0
- package/lib/models/batch-hospital-appointment-timetables-command.d.ts.map +1 -0
- package/lib/models/batch-hospital-appointment-timetables-command.js +15 -0
- package/lib/models/batch-hospital-specialty-appointment-timetables-command.d.ts +39 -0
- package/lib/models/batch-hospital-specialty-appointment-timetables-command.d.ts.map +1 -0
- package/lib/models/batch-hospital-specialty-appointment-timetables-command.js +15 -0
- package/lib/models/batch-service-appointment-timetables-command.d.ts +39 -0
- package/lib/models/batch-service-appointment-timetables-command.d.ts.map +1 -0
- package/lib/models/batch-service-appointment-timetables-command.js +15 -0
- package/lib/models/batch-update-appointment-timetable-model.d.ts +44 -0
- package/lib/models/batch-update-appointment-timetable-model.d.ts.map +1 -0
- package/lib/models/batch-update-appointment-timetable-model.js +15 -0
- package/lib/models/create-article-command.d.ts +6 -0
- package/lib/models/create-article-command.d.ts.map +1 -1
- package/lib/models/create-deal-command.d.ts +7 -0
- package/lib/models/create-deal-command.d.ts.map +1 -1
- package/lib/models/create-deal-package-command.d.ts +7 -0
- package/lib/models/create-deal-package-command.d.ts.map +1 -1
- package/lib/models/create-doctor-affiliation-command.d.ts +7 -0
- package/lib/models/create-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/create-hospital-command.d.ts +7 -0
- package/lib/models/create-hospital-command.d.ts.map +1 -1
- package/lib/models/create-hospital-service-command.d.ts +7 -0
- package/lib/models/create-hospital-service-command.d.ts.map +1 -1
- package/lib/models/create-hospital-specialty-command.d.ts +7 -0
- package/lib/models/create-hospital-specialty-command.d.ts.map +1 -1
- package/lib/models/deal-item-model.d.ts +7 -0
- package/lib/models/deal-item-model.d.ts.map +1 -1
- package/lib/models/deal-model.d.ts +7 -0
- package/lib/models/deal-model.d.ts.map +1 -1
- package/lib/models/deal-package-item-model.d.ts +7 -0
- package/lib/models/deal-package-item-model.d.ts.map +1 -1
- package/lib/models/deal-package-model.d.ts +7 -0
- package/lib/models/deal-package-model.d.ts.map +1 -1
- package/lib/models/doctor-affiliation-item-model.d.ts +7 -0
- package/lib/models/doctor-affiliation-item-model.d.ts.map +1 -1
- package/lib/models/doctor-affiliation-model.d.ts +7 -0
- package/lib/models/doctor-affiliation-model.d.ts.map +1 -1
- package/lib/models/hospital-item-model.d.ts +7 -0
- package/lib/models/hospital-item-model.d.ts.map +1 -1
- package/lib/models/hospital-model.d.ts +7 -0
- package/lib/models/hospital-model.d.ts.map +1 -1
- package/lib/models/hospital-service-item-model.d.ts +7 -0
- package/lib/models/hospital-service-item-model.d.ts.map +1 -1
- package/lib/models/hospital-service-model.d.ts +7 -0
- package/lib/models/hospital-service-model.d.ts.map +1 -1
- package/lib/models/hospital-specialty-item-model.d.ts +7 -0
- package/lib/models/hospital-specialty-item-model.d.ts.map +1 -1
- package/lib/models/hospital-specialty-model.d.ts +7 -0
- package/lib/models/hospital-specialty-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +30 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +30 -0
- package/lib/models/notification-code.d.ts +9 -0
- package/lib/models/notification-code.d.ts.map +1 -1
- package/lib/models/notification-code.js +10 -1
- package/lib/models/reject-appointment-command.d.ts +32 -0
- package/lib/models/reject-appointment-command.d.ts.map +1 -0
- package/lib/models/reject-appointment-command.js +15 -0
- package/lib/models/save-appointment-timetable-override-model.d.ts +43 -0
- package/lib/models/save-appointment-timetable-override-model.d.ts.map +1 -0
- package/lib/models/save-appointment-timetable-override-model.js +15 -0
- package/lib/models/save-appointment-timetable-overrides-result-model.d.ts +26 -0
- package/lib/models/save-appointment-timetable-overrides-result-model.d.ts.map +1 -0
- package/lib/models/save-appointment-timetable-overrides-result-model.js +15 -0
- package/lib/models/save-deal-appointment-timetable-overrides-command.d.ts +26 -0
- package/lib/models/save-deal-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/save-deal-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/save-deal-package-appointment-timetable-overrides-command.d.ts +26 -0
- package/lib/models/save-deal-package-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/save-deal-package-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/save-doctor-affiliation-appointment-timetable-overrides-command.d.ts +26 -0
- package/lib/models/save-doctor-affiliation-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/save-doctor-affiliation-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/save-hospital-appointment-timetable-overrides-command.d.ts +26 -0
- package/lib/models/save-hospital-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/save-hospital-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/save-hospital-specialty-appointment-timetable-overrides-command.d.ts +26 -0
- package/lib/models/save-hospital-specialty-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/save-hospital-specialty-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/save-service-appointment-timetable-overrides-command.d.ts +26 -0
- package/lib/models/save-service-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/save-service-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/update-deal-command.d.ts +7 -0
- package/lib/models/update-deal-command.d.ts.map +1 -1
- package/lib/models/update-deal-package-command.d.ts +7 -0
- package/lib/models/update-deal-package-command.d.ts.map +1 -1
- package/lib/models/update-doctor-affiliation-command.d.ts +7 -0
- package/lib/models/update-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/update-hospital-command.d.ts +7 -0
- package/lib/models/update-hospital-command.d.ts.map +1 -1
- package/lib/models/update-hospital-service-command.d.ts +7 -0
- package/lib/models/update-hospital-service-command.d.ts.map +1 -1
- package/lib/models/update-hospital-specialty-command.d.ts +7 -0
- package/lib/models/update-hospital-specialty-command.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +31 -0
- package/src/api/appointments-api.ts +802 -0
- package/src/api/deals-api.ts +842 -8
- package/src/api/doctor-affiliations-api.ts +408 -0
- package/src/api/hospitals-api.ts +1412 -124
- package/src/api/services-api.ts +8 -8
- package/src/api.ts +1 -0
- package/src/models/appointment-change-log-model.ts +51 -0
- package/src/models/appointment-item-model.ts +297 -0
- package/src/models/appointment-model.ts +321 -0
- package/src/models/appointment-option-model.ts +72 -0
- package/src/models/appointment-status.ts +36 -0
- package/src/models/appointment-timetable-model.ts +51 -0
- package/src/models/appointment-timetable-override-model.ts +63 -0
- package/src/models/appointment-timetable-overrides-model.ts +42 -0
- package/src/models/appointment-timetables-model.ts +42 -0
- package/src/models/appointment-type.ts +35 -0
- package/src/models/appointments-model.ts +42 -0
- package/src/models/approve-appointment-command.ts +36 -0
- package/src/models/batch-add-appointment-timetable-model.ts +45 -0
- package/src/models/batch-appointment-timetables-result-model.ts +45 -0
- package/src/models/batch-deal-appointment-timetables-command.ts +48 -0
- package/src/models/batch-deal-package-appointment-timetables-command.ts +48 -0
- package/src/models/batch-doctor-affiliation-appointment-timetables-command.ts +48 -0
- package/src/models/batch-hospital-appointment-timetables-command.ts +48 -0
- package/src/models/batch-hospital-specialty-appointment-timetables-command.ts +48 -0
- package/src/models/batch-service-appointment-timetables-command.ts +48 -0
- package/src/models/batch-update-appointment-timetable-model.ts +51 -0
- package/src/models/create-article-command.ts +6 -0
- package/src/models/create-deal-command.ts +9 -0
- package/src/models/create-deal-package-command.ts +9 -0
- package/src/models/create-doctor-affiliation-command.ts +9 -0
- package/src/models/create-hospital-command.ts +9 -0
- package/src/models/create-hospital-service-command.ts +9 -0
- package/src/models/create-hospital-specialty-command.ts +9 -0
- package/src/models/deal-item-model.ts +9 -0
- package/src/models/deal-model.ts +9 -0
- package/src/models/deal-package-item-model.ts +9 -0
- package/src/models/deal-package-model.ts +9 -0
- package/src/models/doctor-affiliation-item-model.ts +9 -0
- package/src/models/doctor-affiliation-model.ts +9 -0
- package/src/models/hospital-item-model.ts +9 -0
- package/src/models/hospital-model.ts +9 -0
- package/src/models/hospital-service-item-model.ts +9 -0
- package/src/models/hospital-service-model.ts +9 -0
- package/src/models/hospital-specialty-item-model.ts +9 -0
- package/src/models/hospital-specialty-model.ts +9 -0
- package/src/models/index.ts +30 -0
- package/src/models/notification-code.ts +10 -1
- package/src/models/reject-appointment-command.ts +39 -0
- package/src/models/save-appointment-timetable-override-model.ts +48 -0
- package/src/models/save-appointment-timetable-overrides-result-model.ts +33 -0
- package/src/models/save-deal-appointment-timetable-overrides-command.ts +33 -0
- package/src/models/save-deal-package-appointment-timetable-overrides-command.ts +33 -0
- package/src/models/save-doctor-affiliation-appointment-timetable-overrides-command.ts +33 -0
- package/src/models/save-hospital-appointment-timetable-overrides-command.ts +33 -0
- package/src/models/save-hospital-specialty-appointment-timetable-overrides-command.ts +33 -0
- package/src/models/save-service-appointment-timetable-overrides-command.ts +33 -0
- package/src/models/update-deal-command.ts +9 -0
- package/src/models/update-deal-package-command.ts +9 -0
- package/src/models/update-doctor-affiliation-command.ts +9 -0
- package/src/models/update-hospital-command.ts +9 -0
- package/src/models/update-hospital-service-command.ts +9 -0
- package/src/models/update-hospital-specialty-command.ts +9 -0
|
@@ -92,6 +92,236 @@ var base_1 = require("../base");
|
|
|
92
92
|
var DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @summary Get DoctorAffiliation appointment timetable overrides
|
|
98
|
+
* @param {string} doctorAffiliationId
|
|
99
|
+
* @param {boolean} [includesPreviousItems]
|
|
100
|
+
* @param {Date} [startDate]
|
|
101
|
+
* @param {Date} [endDate]
|
|
102
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
103
|
+
* @param {number} [page]
|
|
104
|
+
* @param {number} [limit]
|
|
105
|
+
* @param {Date} [lastRetrieved]
|
|
106
|
+
* @param {*} [options] Override http request option.
|
|
107
|
+
* @throws {RequiredError}
|
|
108
|
+
*/
|
|
109
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet: function (doctorAffiliationId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
110
|
+
if (options === void 0) { options = {}; }
|
|
111
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
112
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
113
|
+
return __generator(this, function (_a) {
|
|
114
|
+
switch (_a.label) {
|
|
115
|
+
case 0:
|
|
116
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
117
|
+
(0, common_1.assertParamExists)('apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet', 'doctorAffiliationId', doctorAffiliationId);
|
|
118
|
+
localVarPath = "/api/v1/doctoraffiliations/{doctorAffiliationId}/appointmenttimetableoverrides"
|
|
119
|
+
.replace("{".concat("doctorAffiliationId", "}"), encodeURIComponent(String(doctorAffiliationId)));
|
|
120
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
121
|
+
if (configuration) {
|
|
122
|
+
baseOptions = configuration.baseOptions;
|
|
123
|
+
}
|
|
124
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
125
|
+
localVarHeaderParameter = {};
|
|
126
|
+
localVarQueryParameter = {};
|
|
127
|
+
// authentication oauth2 required
|
|
128
|
+
// oauth required
|
|
129
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
130
|
+
case 1:
|
|
131
|
+
// authentication oauth2 required
|
|
132
|
+
// oauth required
|
|
133
|
+
_a.sent();
|
|
134
|
+
if (includesPreviousItems !== undefined) {
|
|
135
|
+
localVarQueryParameter['IncludesPreviousItems'] = includesPreviousItems;
|
|
136
|
+
}
|
|
137
|
+
if (startDate !== undefined) {
|
|
138
|
+
localVarQueryParameter['StartDate'] = (startDate instanceof Date) ?
|
|
139
|
+
startDate.toISOString() :
|
|
140
|
+
startDate;
|
|
141
|
+
}
|
|
142
|
+
if (endDate !== undefined) {
|
|
143
|
+
localVarQueryParameter['EndDate'] = (endDate instanceof Date) ?
|
|
144
|
+
endDate.toISOString() :
|
|
145
|
+
endDate;
|
|
146
|
+
}
|
|
147
|
+
if (dayOfWeek !== undefined) {
|
|
148
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
149
|
+
}
|
|
150
|
+
if (page !== undefined) {
|
|
151
|
+
localVarQueryParameter['page'] = page;
|
|
152
|
+
}
|
|
153
|
+
if (limit !== undefined) {
|
|
154
|
+
localVarQueryParameter['limit'] = limit;
|
|
155
|
+
}
|
|
156
|
+
if (lastRetrieved !== undefined) {
|
|
157
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
158
|
+
lastRetrieved.toISOString() :
|
|
159
|
+
lastRetrieved;
|
|
160
|
+
}
|
|
161
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
162
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
163
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
164
|
+
return [2 /*return*/, {
|
|
165
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
166
|
+
options: localVarRequestOptions,
|
|
167
|
+
}];
|
|
168
|
+
}
|
|
169
|
+
});
|
|
170
|
+
});
|
|
171
|
+
},
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @summary Save DoctorAffiliation appointment timetable overrides
|
|
175
|
+
* @param {string} doctorAffiliationId
|
|
176
|
+
* @param {SaveDoctorAffiliationAppointmentTimetableOverridesCommand} [saveDoctorAffiliationAppointmentTimetableOverridesCommand]
|
|
177
|
+
* @param {*} [options] Override http request option.
|
|
178
|
+
* @throws {RequiredError}
|
|
179
|
+
*/
|
|
180
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost: function (doctorAffiliationId, saveDoctorAffiliationAppointmentTimetableOverridesCommand, options) {
|
|
181
|
+
if (options === void 0) { options = {}; }
|
|
182
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
183
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
184
|
+
return __generator(this, function (_a) {
|
|
185
|
+
switch (_a.label) {
|
|
186
|
+
case 0:
|
|
187
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
188
|
+
(0, common_1.assertParamExists)('apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost', 'doctorAffiliationId', doctorAffiliationId);
|
|
189
|
+
localVarPath = "/api/v1/doctoraffiliations/{doctorAffiliationId}/appointmenttimetableoverrides"
|
|
190
|
+
.replace("{".concat("doctorAffiliationId", "}"), encodeURIComponent(String(doctorAffiliationId)));
|
|
191
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
192
|
+
if (configuration) {
|
|
193
|
+
baseOptions = configuration.baseOptions;
|
|
194
|
+
}
|
|
195
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
196
|
+
localVarHeaderParameter = {};
|
|
197
|
+
localVarQueryParameter = {};
|
|
198
|
+
// authentication oauth2 required
|
|
199
|
+
// oauth required
|
|
200
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
201
|
+
case 1:
|
|
202
|
+
// authentication oauth2 required
|
|
203
|
+
// oauth required
|
|
204
|
+
_a.sent();
|
|
205
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
206
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
207
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
208
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
209
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(saveDoctorAffiliationAppointmentTimetableOverridesCommand, localVarRequestOptions, configuration);
|
|
210
|
+
return [2 /*return*/, {
|
|
211
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
212
|
+
options: localVarRequestOptions,
|
|
213
|
+
}];
|
|
214
|
+
}
|
|
215
|
+
});
|
|
216
|
+
});
|
|
217
|
+
},
|
|
218
|
+
/**
|
|
219
|
+
*
|
|
220
|
+
* @summary Add, update and delete DoctorAffiliationAppointmentTimetables
|
|
221
|
+
* @param {string} doctorAffiliationId
|
|
222
|
+
* @param {BatchDoctorAffiliationAppointmentTimetablesCommand} [batchDoctorAffiliationAppointmentTimetablesCommand]
|
|
223
|
+
* @param {*} [options] Override http request option.
|
|
224
|
+
* @throws {RequiredError}
|
|
225
|
+
*/
|
|
226
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost: function (doctorAffiliationId, batchDoctorAffiliationAppointmentTimetablesCommand, options) {
|
|
227
|
+
if (options === void 0) { options = {}; }
|
|
228
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
229
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
230
|
+
return __generator(this, function (_a) {
|
|
231
|
+
switch (_a.label) {
|
|
232
|
+
case 0:
|
|
233
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
234
|
+
(0, common_1.assertParamExists)('apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost', 'doctorAffiliationId', doctorAffiliationId);
|
|
235
|
+
localVarPath = "/api/v1/doctoraffiliations/{doctorAffiliationId}/appointmenttimetables/batch"
|
|
236
|
+
.replace("{".concat("doctorAffiliationId", "}"), encodeURIComponent(String(doctorAffiliationId)));
|
|
237
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
238
|
+
if (configuration) {
|
|
239
|
+
baseOptions = configuration.baseOptions;
|
|
240
|
+
}
|
|
241
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
242
|
+
localVarHeaderParameter = {};
|
|
243
|
+
localVarQueryParameter = {};
|
|
244
|
+
// authentication oauth2 required
|
|
245
|
+
// oauth required
|
|
246
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
247
|
+
case 1:
|
|
248
|
+
// authentication oauth2 required
|
|
249
|
+
// oauth required
|
|
250
|
+
_a.sent();
|
|
251
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
252
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
253
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
254
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
255
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(batchDoctorAffiliationAppointmentTimetablesCommand, localVarRequestOptions, configuration);
|
|
256
|
+
return [2 /*return*/, {
|
|
257
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
258
|
+
options: localVarRequestOptions,
|
|
259
|
+
}];
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
});
|
|
263
|
+
},
|
|
264
|
+
/**
|
|
265
|
+
*
|
|
266
|
+
* @summary Get DoctorAffiliation appointment timetables
|
|
267
|
+
* @param {string} doctorAffiliationId
|
|
268
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
269
|
+
* @param {number} [page]
|
|
270
|
+
* @param {number} [limit]
|
|
271
|
+
* @param {Date} [lastRetrieved]
|
|
272
|
+
* @param {*} [options] Override http request option.
|
|
273
|
+
* @throws {RequiredError}
|
|
274
|
+
*/
|
|
275
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet: function (doctorAffiliationId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
276
|
+
if (options === void 0) { options = {}; }
|
|
277
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
278
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
279
|
+
return __generator(this, function (_a) {
|
|
280
|
+
switch (_a.label) {
|
|
281
|
+
case 0:
|
|
282
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
283
|
+
(0, common_1.assertParamExists)('apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet', 'doctorAffiliationId', doctorAffiliationId);
|
|
284
|
+
localVarPath = "/api/v1/doctoraffiliations/{doctorAffiliationId}/appointmenttimetables"
|
|
285
|
+
.replace("{".concat("doctorAffiliationId", "}"), encodeURIComponent(String(doctorAffiliationId)));
|
|
286
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
287
|
+
if (configuration) {
|
|
288
|
+
baseOptions = configuration.baseOptions;
|
|
289
|
+
}
|
|
290
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
291
|
+
localVarHeaderParameter = {};
|
|
292
|
+
localVarQueryParameter = {};
|
|
293
|
+
// authentication oauth2 required
|
|
294
|
+
// oauth required
|
|
295
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
296
|
+
case 1:
|
|
297
|
+
// authentication oauth2 required
|
|
298
|
+
// oauth required
|
|
299
|
+
_a.sent();
|
|
300
|
+
if (dayOfWeek !== undefined) {
|
|
301
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
302
|
+
}
|
|
303
|
+
if (page !== undefined) {
|
|
304
|
+
localVarQueryParameter['page'] = page;
|
|
305
|
+
}
|
|
306
|
+
if (limit !== undefined) {
|
|
307
|
+
localVarQueryParameter['limit'] = limit;
|
|
308
|
+
}
|
|
309
|
+
if (lastRetrieved !== undefined) {
|
|
310
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
311
|
+
lastRetrieved.toISOString() :
|
|
312
|
+
lastRetrieved;
|
|
313
|
+
}
|
|
314
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
315
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
316
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
317
|
+
return [2 /*return*/, {
|
|
318
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
319
|
+
options: localVarRequestOptions,
|
|
320
|
+
}];
|
|
321
|
+
}
|
|
322
|
+
});
|
|
323
|
+
});
|
|
324
|
+
},
|
|
95
325
|
/**
|
|
96
326
|
*
|
|
97
327
|
* @summary Get all DoctorAffiliationMedias.
|
|
@@ -720,6 +950,99 @@ exports.DoctorAffiliationsApiAxiosParamCreator = DoctorAffiliationsApiAxiosParam
|
|
|
720
950
|
var DoctorAffiliationsApiFp = function (configuration) {
|
|
721
951
|
var localVarAxiosParamCreator = (0, exports.DoctorAffiliationsApiAxiosParamCreator)(configuration);
|
|
722
952
|
return {
|
|
953
|
+
/**
|
|
954
|
+
*
|
|
955
|
+
* @summary Get DoctorAffiliation appointment timetable overrides
|
|
956
|
+
* @param {string} doctorAffiliationId
|
|
957
|
+
* @param {boolean} [includesPreviousItems]
|
|
958
|
+
* @param {Date} [startDate]
|
|
959
|
+
* @param {Date} [endDate]
|
|
960
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
961
|
+
* @param {number} [page]
|
|
962
|
+
* @param {number} [limit]
|
|
963
|
+
* @param {Date} [lastRetrieved]
|
|
964
|
+
* @param {*} [options] Override http request option.
|
|
965
|
+
* @throws {RequiredError}
|
|
966
|
+
*/
|
|
967
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet: function (doctorAffiliationId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
968
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
969
|
+
var localVarAxiosArgs;
|
|
970
|
+
return __generator(this, function (_a) {
|
|
971
|
+
switch (_a.label) {
|
|
972
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet(doctorAffiliationId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options)];
|
|
973
|
+
case 1:
|
|
974
|
+
localVarAxiosArgs = _a.sent();
|
|
975
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
976
|
+
}
|
|
977
|
+
});
|
|
978
|
+
});
|
|
979
|
+
},
|
|
980
|
+
/**
|
|
981
|
+
*
|
|
982
|
+
* @summary Save DoctorAffiliation appointment timetable overrides
|
|
983
|
+
* @param {string} doctorAffiliationId
|
|
984
|
+
* @param {SaveDoctorAffiliationAppointmentTimetableOverridesCommand} [saveDoctorAffiliationAppointmentTimetableOverridesCommand]
|
|
985
|
+
* @param {*} [options] Override http request option.
|
|
986
|
+
* @throws {RequiredError}
|
|
987
|
+
*/
|
|
988
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost: function (doctorAffiliationId, saveDoctorAffiliationAppointmentTimetableOverridesCommand, options) {
|
|
989
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
990
|
+
var localVarAxiosArgs;
|
|
991
|
+
return __generator(this, function (_a) {
|
|
992
|
+
switch (_a.label) {
|
|
993
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost(doctorAffiliationId, saveDoctorAffiliationAppointmentTimetableOverridesCommand, options)];
|
|
994
|
+
case 1:
|
|
995
|
+
localVarAxiosArgs = _a.sent();
|
|
996
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
997
|
+
}
|
|
998
|
+
});
|
|
999
|
+
});
|
|
1000
|
+
},
|
|
1001
|
+
/**
|
|
1002
|
+
*
|
|
1003
|
+
* @summary Add, update and delete DoctorAffiliationAppointmentTimetables
|
|
1004
|
+
* @param {string} doctorAffiliationId
|
|
1005
|
+
* @param {BatchDoctorAffiliationAppointmentTimetablesCommand} [batchDoctorAffiliationAppointmentTimetablesCommand]
|
|
1006
|
+
* @param {*} [options] Override http request option.
|
|
1007
|
+
* @throws {RequiredError}
|
|
1008
|
+
*/
|
|
1009
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost: function (doctorAffiliationId, batchDoctorAffiliationAppointmentTimetablesCommand, options) {
|
|
1010
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1011
|
+
var localVarAxiosArgs;
|
|
1012
|
+
return __generator(this, function (_a) {
|
|
1013
|
+
switch (_a.label) {
|
|
1014
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost(doctorAffiliationId, batchDoctorAffiliationAppointmentTimetablesCommand, options)];
|
|
1015
|
+
case 1:
|
|
1016
|
+
localVarAxiosArgs = _a.sent();
|
|
1017
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1018
|
+
}
|
|
1019
|
+
});
|
|
1020
|
+
});
|
|
1021
|
+
},
|
|
1022
|
+
/**
|
|
1023
|
+
*
|
|
1024
|
+
* @summary Get DoctorAffiliation appointment timetables
|
|
1025
|
+
* @param {string} doctorAffiliationId
|
|
1026
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
1027
|
+
* @param {number} [page]
|
|
1028
|
+
* @param {number} [limit]
|
|
1029
|
+
* @param {Date} [lastRetrieved]
|
|
1030
|
+
* @param {*} [options] Override http request option.
|
|
1031
|
+
* @throws {RequiredError}
|
|
1032
|
+
*/
|
|
1033
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet: function (doctorAffiliationId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
1034
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
1035
|
+
var localVarAxiosArgs;
|
|
1036
|
+
return __generator(this, function (_a) {
|
|
1037
|
+
switch (_a.label) {
|
|
1038
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId, dayOfWeek, page, limit, lastRetrieved, options)];
|
|
1039
|
+
case 1:
|
|
1040
|
+
localVarAxiosArgs = _a.sent();
|
|
1041
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
1042
|
+
}
|
|
1043
|
+
});
|
|
1044
|
+
});
|
|
1045
|
+
},
|
|
723
1046
|
/**
|
|
724
1047
|
*
|
|
725
1048
|
* @summary Get all DoctorAffiliationMedias.
|
|
@@ -995,6 +1318,59 @@ exports.DoctorAffiliationsApiFp = DoctorAffiliationsApiFp;
|
|
|
995
1318
|
var DoctorAffiliationsApiFactory = function (configuration, basePath, axios) {
|
|
996
1319
|
var localVarFp = (0, exports.DoctorAffiliationsApiFp)(configuration);
|
|
997
1320
|
return {
|
|
1321
|
+
/**
|
|
1322
|
+
*
|
|
1323
|
+
* @summary Get DoctorAffiliation appointment timetable overrides
|
|
1324
|
+
* @param {string} doctorAffiliationId
|
|
1325
|
+
* @param {boolean} [includesPreviousItems]
|
|
1326
|
+
* @param {Date} [startDate]
|
|
1327
|
+
* @param {Date} [endDate]
|
|
1328
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
1329
|
+
* @param {number} [page]
|
|
1330
|
+
* @param {number} [limit]
|
|
1331
|
+
* @param {Date} [lastRetrieved]
|
|
1332
|
+
* @param {*} [options] Override http request option.
|
|
1333
|
+
* @throws {RequiredError}
|
|
1334
|
+
*/
|
|
1335
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet: function (doctorAffiliationId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
1336
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet(doctorAffiliationId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
1337
|
+
},
|
|
1338
|
+
/**
|
|
1339
|
+
*
|
|
1340
|
+
* @summary Save DoctorAffiliation appointment timetable overrides
|
|
1341
|
+
* @param {string} doctorAffiliationId
|
|
1342
|
+
* @param {SaveDoctorAffiliationAppointmentTimetableOverridesCommand} [saveDoctorAffiliationAppointmentTimetableOverridesCommand]
|
|
1343
|
+
* @param {*} [options] Override http request option.
|
|
1344
|
+
* @throws {RequiredError}
|
|
1345
|
+
*/
|
|
1346
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost: function (doctorAffiliationId, saveDoctorAffiliationAppointmentTimetableOverridesCommand, options) {
|
|
1347
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost(doctorAffiliationId, saveDoctorAffiliationAppointmentTimetableOverridesCommand, options).then(function (request) { return request(axios, basePath); });
|
|
1348
|
+
},
|
|
1349
|
+
/**
|
|
1350
|
+
*
|
|
1351
|
+
* @summary Add, update and delete DoctorAffiliationAppointmentTimetables
|
|
1352
|
+
* @param {string} doctorAffiliationId
|
|
1353
|
+
* @param {BatchDoctorAffiliationAppointmentTimetablesCommand} [batchDoctorAffiliationAppointmentTimetablesCommand]
|
|
1354
|
+
* @param {*} [options] Override http request option.
|
|
1355
|
+
* @throws {RequiredError}
|
|
1356
|
+
*/
|
|
1357
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost: function (doctorAffiliationId, batchDoctorAffiliationAppointmentTimetablesCommand, options) {
|
|
1358
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost(doctorAffiliationId, batchDoctorAffiliationAppointmentTimetablesCommand, options).then(function (request) { return request(axios, basePath); });
|
|
1359
|
+
},
|
|
1360
|
+
/**
|
|
1361
|
+
*
|
|
1362
|
+
* @summary Get DoctorAffiliation appointment timetables
|
|
1363
|
+
* @param {string} doctorAffiliationId
|
|
1364
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
1365
|
+
* @param {number} [page]
|
|
1366
|
+
* @param {number} [limit]
|
|
1367
|
+
* @param {Date} [lastRetrieved]
|
|
1368
|
+
* @param {*} [options] Override http request option.
|
|
1369
|
+
* @throws {RequiredError}
|
|
1370
|
+
*/
|
|
1371
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet: function (doctorAffiliationId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
1372
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
1373
|
+
},
|
|
998
1374
|
/**
|
|
999
1375
|
*
|
|
1000
1376
|
* @summary Get all DoctorAffiliationMedias.
|
|
@@ -1154,6 +1530,67 @@ var DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
|
1154
1530
|
function DoctorAffiliationsApi() {
|
|
1155
1531
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1156
1532
|
}
|
|
1533
|
+
/**
|
|
1534
|
+
*
|
|
1535
|
+
* @summary Get DoctorAffiliation appointment timetable overrides
|
|
1536
|
+
* @param {string} doctorAffiliationId
|
|
1537
|
+
* @param {boolean} [includesPreviousItems]
|
|
1538
|
+
* @param {Date} [startDate]
|
|
1539
|
+
* @param {Date} [endDate]
|
|
1540
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
1541
|
+
* @param {number} [page]
|
|
1542
|
+
* @param {number} [limit]
|
|
1543
|
+
* @param {Date} [lastRetrieved]
|
|
1544
|
+
* @param {*} [options] Override http request option.
|
|
1545
|
+
* @throws {RequiredError}
|
|
1546
|
+
* @memberof DoctorAffiliationsApi
|
|
1547
|
+
*/
|
|
1548
|
+
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet = function (doctorAffiliationId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
1549
|
+
var _this = this;
|
|
1550
|
+
return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet(doctorAffiliationId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1551
|
+
};
|
|
1552
|
+
/**
|
|
1553
|
+
*
|
|
1554
|
+
* @summary Save DoctorAffiliation appointment timetable overrides
|
|
1555
|
+
* @param {string} doctorAffiliationId
|
|
1556
|
+
* @param {SaveDoctorAffiliationAppointmentTimetableOverridesCommand} [saveDoctorAffiliationAppointmentTimetableOverridesCommand]
|
|
1557
|
+
* @param {*} [options] Override http request option.
|
|
1558
|
+
* @throws {RequiredError}
|
|
1559
|
+
* @memberof DoctorAffiliationsApi
|
|
1560
|
+
*/
|
|
1561
|
+
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost = function (doctorAffiliationId, saveDoctorAffiliationAppointmentTimetableOverridesCommand, options) {
|
|
1562
|
+
var _this = this;
|
|
1563
|
+
return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost(doctorAffiliationId, saveDoctorAffiliationAppointmentTimetableOverridesCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1564
|
+
};
|
|
1565
|
+
/**
|
|
1566
|
+
*
|
|
1567
|
+
* @summary Add, update and delete DoctorAffiliationAppointmentTimetables
|
|
1568
|
+
* @param {string} doctorAffiliationId
|
|
1569
|
+
* @param {BatchDoctorAffiliationAppointmentTimetablesCommand} [batchDoctorAffiliationAppointmentTimetablesCommand]
|
|
1570
|
+
* @param {*} [options] Override http request option.
|
|
1571
|
+
* @throws {RequiredError}
|
|
1572
|
+
* @memberof DoctorAffiliationsApi
|
|
1573
|
+
*/
|
|
1574
|
+
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost = function (doctorAffiliationId, batchDoctorAffiliationAppointmentTimetablesCommand, options) {
|
|
1575
|
+
var _this = this;
|
|
1576
|
+
return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost(doctorAffiliationId, batchDoctorAffiliationAppointmentTimetablesCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1577
|
+
};
|
|
1578
|
+
/**
|
|
1579
|
+
*
|
|
1580
|
+
* @summary Get DoctorAffiliation appointment timetables
|
|
1581
|
+
* @param {string} doctorAffiliationId
|
|
1582
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
1583
|
+
* @param {number} [page]
|
|
1584
|
+
* @param {number} [limit]
|
|
1585
|
+
* @param {Date} [lastRetrieved]
|
|
1586
|
+
* @param {*} [options] Override http request option.
|
|
1587
|
+
* @throws {RequiredError}
|
|
1588
|
+
* @memberof DoctorAffiliationsApi
|
|
1589
|
+
*/
|
|
1590
|
+
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet = function (doctorAffiliationId, dayOfWeek, page, limit, lastRetrieved, options) {
|
|
1591
|
+
var _this = this;
|
|
1592
|
+
return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId, dayOfWeek, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1593
|
+
};
|
|
1157
1594
|
/**
|
|
1158
1595
|
*
|
|
1159
1596
|
* @summary Get all DoctorAffiliationMedias.
|