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
|
@@ -21,10 +21,20 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { AppointmentTimetableOverridesModel } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { AppointmentTimetablesModel } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { BatchAppointmentTimetablesResultModel } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { BatchDoctorAffiliationAppointmentTimetablesCommand } from '../models';
|
|
31
|
+
// @ts-ignore
|
|
24
32
|
import { CreateDoctorAffiliationCommand } from '../models';
|
|
25
33
|
// @ts-ignore
|
|
26
34
|
import { CreateMediaCommand } from '../models';
|
|
27
35
|
// @ts-ignore
|
|
36
|
+
import { DayOfWeek } from '../models';
|
|
37
|
+
// @ts-ignore
|
|
28
38
|
import { DoctorAffiliationModel } from '../models';
|
|
29
39
|
// @ts-ignore
|
|
30
40
|
import { DoctorAffiliationsModel } from '../models';
|
|
@@ -39,6 +49,10 @@ import { MediasModel } from '../models';
|
|
|
39
49
|
// @ts-ignore
|
|
40
50
|
import { ProblemDetails } from '../models';
|
|
41
51
|
// @ts-ignore
|
|
52
|
+
import { SaveAppointmentTimetableOverridesResultModel } from '../models';
|
|
53
|
+
// @ts-ignore
|
|
54
|
+
import { SaveDoctorAffiliationAppointmentTimetableOverridesCommand } from '../models';
|
|
55
|
+
// @ts-ignore
|
|
42
56
|
import { TranslateDoctorAffiliationCommand } from '../models';
|
|
43
57
|
// @ts-ignore
|
|
44
58
|
import { UpdateDoctorAffiliationCommand } from '../models';
|
|
@@ -50,6 +64,229 @@ import { UpdateMediaCommand } from '../models';
|
|
|
50
64
|
*/
|
|
51
65
|
export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
52
66
|
return {
|
|
67
|
+
/**
|
|
68
|
+
*
|
|
69
|
+
* @summary Get DoctorAffiliation appointment timetable overrides
|
|
70
|
+
* @param {string} doctorAffiliationId
|
|
71
|
+
* @param {boolean} [includesPreviousItems]
|
|
72
|
+
* @param {Date} [startDate]
|
|
73
|
+
* @param {Date} [endDate]
|
|
74
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
75
|
+
* @param {number} [page]
|
|
76
|
+
* @param {number} [limit]
|
|
77
|
+
* @param {Date} [lastRetrieved]
|
|
78
|
+
* @param {*} [options] Override http request option.
|
|
79
|
+
* @throws {RequiredError}
|
|
80
|
+
*/
|
|
81
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet: async (doctorAffiliationId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
82
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
83
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet', 'doctorAffiliationId', doctorAffiliationId)
|
|
84
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/appointmenttimetableoverrides`
|
|
85
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
|
|
86
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
87
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
88
|
+
let baseOptions;
|
|
89
|
+
if (configuration) {
|
|
90
|
+
baseOptions = configuration.baseOptions;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
94
|
+
const localVarHeaderParameter = {} as any;
|
|
95
|
+
const localVarQueryParameter = {} as any;
|
|
96
|
+
|
|
97
|
+
// authentication oauth2 required
|
|
98
|
+
// oauth required
|
|
99
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
100
|
+
|
|
101
|
+
if (includesPreviousItems !== undefined) {
|
|
102
|
+
localVarQueryParameter['IncludesPreviousItems'] = includesPreviousItems;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
if (startDate !== undefined) {
|
|
106
|
+
localVarQueryParameter['StartDate'] = (startDate as any instanceof Date) ?
|
|
107
|
+
(startDate as any).toISOString() :
|
|
108
|
+
startDate;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
if (endDate !== undefined) {
|
|
112
|
+
localVarQueryParameter['EndDate'] = (endDate as any instanceof Date) ?
|
|
113
|
+
(endDate as any).toISOString() :
|
|
114
|
+
endDate;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
if (dayOfWeek !== undefined) {
|
|
118
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
if (page !== undefined) {
|
|
122
|
+
localVarQueryParameter['page'] = page;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
if (limit !== undefined) {
|
|
126
|
+
localVarQueryParameter['limit'] = limit;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
if (lastRetrieved !== undefined) {
|
|
130
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
131
|
+
(lastRetrieved as any).toISOString() :
|
|
132
|
+
lastRetrieved;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
138
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
139
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
140
|
+
|
|
141
|
+
return {
|
|
142
|
+
url: toPathString(localVarUrlObj),
|
|
143
|
+
options: localVarRequestOptions,
|
|
144
|
+
};
|
|
145
|
+
},
|
|
146
|
+
/**
|
|
147
|
+
*
|
|
148
|
+
* @summary Save DoctorAffiliation appointment timetable overrides
|
|
149
|
+
* @param {string} doctorAffiliationId
|
|
150
|
+
* @param {SaveDoctorAffiliationAppointmentTimetableOverridesCommand} [saveDoctorAffiliationAppointmentTimetableOverridesCommand]
|
|
151
|
+
* @param {*} [options] Override http request option.
|
|
152
|
+
* @throws {RequiredError}
|
|
153
|
+
*/
|
|
154
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost: async (doctorAffiliationId: string, saveDoctorAffiliationAppointmentTimetableOverridesCommand?: SaveDoctorAffiliationAppointmentTimetableOverridesCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
155
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
156
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost', 'doctorAffiliationId', doctorAffiliationId)
|
|
157
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/appointmenttimetableoverrides`
|
|
158
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
|
|
159
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
160
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
161
|
+
let baseOptions;
|
|
162
|
+
if (configuration) {
|
|
163
|
+
baseOptions = configuration.baseOptions;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
167
|
+
const localVarHeaderParameter = {} as any;
|
|
168
|
+
const localVarQueryParameter = {} as any;
|
|
169
|
+
|
|
170
|
+
// authentication oauth2 required
|
|
171
|
+
// oauth required
|
|
172
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
177
|
+
|
|
178
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
179
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
180
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
181
|
+
localVarRequestOptions.data = serializeDataIfNeeded(saveDoctorAffiliationAppointmentTimetableOverridesCommand, localVarRequestOptions, configuration)
|
|
182
|
+
|
|
183
|
+
return {
|
|
184
|
+
url: toPathString(localVarUrlObj),
|
|
185
|
+
options: localVarRequestOptions,
|
|
186
|
+
};
|
|
187
|
+
},
|
|
188
|
+
/**
|
|
189
|
+
*
|
|
190
|
+
* @summary Add, update and delete DoctorAffiliationAppointmentTimetables
|
|
191
|
+
* @param {string} doctorAffiliationId
|
|
192
|
+
* @param {BatchDoctorAffiliationAppointmentTimetablesCommand} [batchDoctorAffiliationAppointmentTimetablesCommand]
|
|
193
|
+
* @param {*} [options] Override http request option.
|
|
194
|
+
* @throws {RequiredError}
|
|
195
|
+
*/
|
|
196
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost: async (doctorAffiliationId: string, batchDoctorAffiliationAppointmentTimetablesCommand?: BatchDoctorAffiliationAppointmentTimetablesCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
197
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
198
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost', 'doctorAffiliationId', doctorAffiliationId)
|
|
199
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/appointmenttimetables/batch`
|
|
200
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
|
|
201
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
202
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
203
|
+
let baseOptions;
|
|
204
|
+
if (configuration) {
|
|
205
|
+
baseOptions = configuration.baseOptions;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
209
|
+
const localVarHeaderParameter = {} as any;
|
|
210
|
+
const localVarQueryParameter = {} as any;
|
|
211
|
+
|
|
212
|
+
// authentication oauth2 required
|
|
213
|
+
// oauth required
|
|
214
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
219
|
+
|
|
220
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
221
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
222
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
223
|
+
localVarRequestOptions.data = serializeDataIfNeeded(batchDoctorAffiliationAppointmentTimetablesCommand, localVarRequestOptions, configuration)
|
|
224
|
+
|
|
225
|
+
return {
|
|
226
|
+
url: toPathString(localVarUrlObj),
|
|
227
|
+
options: localVarRequestOptions,
|
|
228
|
+
};
|
|
229
|
+
},
|
|
230
|
+
/**
|
|
231
|
+
*
|
|
232
|
+
* @summary Get DoctorAffiliation appointment timetables
|
|
233
|
+
* @param {string} doctorAffiliationId
|
|
234
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
235
|
+
* @param {number} [page]
|
|
236
|
+
* @param {number} [limit]
|
|
237
|
+
* @param {Date} [lastRetrieved]
|
|
238
|
+
* @param {*} [options] Override http request option.
|
|
239
|
+
* @throws {RequiredError}
|
|
240
|
+
*/
|
|
241
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet: async (doctorAffiliationId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
242
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
243
|
+
assertParamExists('apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet', 'doctorAffiliationId', doctorAffiliationId)
|
|
244
|
+
const localVarPath = `/api/v1/doctoraffiliations/{doctorAffiliationId}/appointmenttimetables`
|
|
245
|
+
.replace(`{${"doctorAffiliationId"}}`, encodeURIComponent(String(doctorAffiliationId)));
|
|
246
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
247
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
248
|
+
let baseOptions;
|
|
249
|
+
if (configuration) {
|
|
250
|
+
baseOptions = configuration.baseOptions;
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
254
|
+
const localVarHeaderParameter = {} as any;
|
|
255
|
+
const localVarQueryParameter = {} as any;
|
|
256
|
+
|
|
257
|
+
// authentication oauth2 required
|
|
258
|
+
// oauth required
|
|
259
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
260
|
+
|
|
261
|
+
if (dayOfWeek !== undefined) {
|
|
262
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
if (page !== undefined) {
|
|
266
|
+
localVarQueryParameter['page'] = page;
|
|
267
|
+
}
|
|
268
|
+
|
|
269
|
+
if (limit !== undefined) {
|
|
270
|
+
localVarQueryParameter['limit'] = limit;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
if (lastRetrieved !== undefined) {
|
|
274
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
275
|
+
(lastRetrieved as any).toISOString() :
|
|
276
|
+
lastRetrieved;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
282
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
283
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
284
|
+
|
|
285
|
+
return {
|
|
286
|
+
url: toPathString(localVarUrlObj),
|
|
287
|
+
options: localVarRequestOptions,
|
|
288
|
+
};
|
|
289
|
+
},
|
|
53
290
|
/**
|
|
54
291
|
*
|
|
55
292
|
* @summary Get all DoctorAffiliationMedias.
|
|
@@ -643,6 +880,63 @@ export const DoctorAffiliationsApiAxiosParamCreator = function (configuration?:
|
|
|
643
880
|
export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
644
881
|
const localVarAxiosParamCreator = DoctorAffiliationsApiAxiosParamCreator(configuration)
|
|
645
882
|
return {
|
|
883
|
+
/**
|
|
884
|
+
*
|
|
885
|
+
* @summary Get DoctorAffiliation appointment timetable overrides
|
|
886
|
+
* @param {string} doctorAffiliationId
|
|
887
|
+
* @param {boolean} [includesPreviousItems]
|
|
888
|
+
* @param {Date} [startDate]
|
|
889
|
+
* @param {Date} [endDate]
|
|
890
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
891
|
+
* @param {number} [page]
|
|
892
|
+
* @param {number} [limit]
|
|
893
|
+
* @param {Date} [lastRetrieved]
|
|
894
|
+
* @param {*} [options] Override http request option.
|
|
895
|
+
* @throws {RequiredError}
|
|
896
|
+
*/
|
|
897
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet(doctorAffiliationId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentTimetableOverridesModel>> {
|
|
898
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet(doctorAffiliationId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options);
|
|
899
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
900
|
+
},
|
|
901
|
+
/**
|
|
902
|
+
*
|
|
903
|
+
* @summary Save DoctorAffiliation appointment timetable overrides
|
|
904
|
+
* @param {string} doctorAffiliationId
|
|
905
|
+
* @param {SaveDoctorAffiliationAppointmentTimetableOverridesCommand} [saveDoctorAffiliationAppointmentTimetableOverridesCommand]
|
|
906
|
+
* @param {*} [options] Override http request option.
|
|
907
|
+
* @throws {RequiredError}
|
|
908
|
+
*/
|
|
909
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost(doctorAffiliationId: string, saveDoctorAffiliationAppointmentTimetableOverridesCommand?: SaveDoctorAffiliationAppointmentTimetableOverridesCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SaveAppointmentTimetableOverridesResultModel>> {
|
|
910
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost(doctorAffiliationId, saveDoctorAffiliationAppointmentTimetableOverridesCommand, options);
|
|
911
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
912
|
+
},
|
|
913
|
+
/**
|
|
914
|
+
*
|
|
915
|
+
* @summary Add, update and delete DoctorAffiliationAppointmentTimetables
|
|
916
|
+
* @param {string} doctorAffiliationId
|
|
917
|
+
* @param {BatchDoctorAffiliationAppointmentTimetablesCommand} [batchDoctorAffiliationAppointmentTimetablesCommand]
|
|
918
|
+
* @param {*} [options] Override http request option.
|
|
919
|
+
* @throws {RequiredError}
|
|
920
|
+
*/
|
|
921
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost(doctorAffiliationId: string, batchDoctorAffiliationAppointmentTimetablesCommand?: BatchDoctorAffiliationAppointmentTimetablesCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BatchAppointmentTimetablesResultModel>> {
|
|
922
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost(doctorAffiliationId, batchDoctorAffiliationAppointmentTimetablesCommand, options);
|
|
923
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
924
|
+
},
|
|
925
|
+
/**
|
|
926
|
+
*
|
|
927
|
+
* @summary Get DoctorAffiliation appointment timetables
|
|
928
|
+
* @param {string} doctorAffiliationId
|
|
929
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
930
|
+
* @param {number} [page]
|
|
931
|
+
* @param {number} [limit]
|
|
932
|
+
* @param {Date} [lastRetrieved]
|
|
933
|
+
* @param {*} [options] Override http request option.
|
|
934
|
+
* @throws {RequiredError}
|
|
935
|
+
*/
|
|
936
|
+
async apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentTimetablesModel>> {
|
|
937
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId, dayOfWeek, page, limit, lastRetrieved, options);
|
|
938
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
939
|
+
},
|
|
646
940
|
/**
|
|
647
941
|
*
|
|
648
942
|
* @summary Get all DoctorAffiliationMedias.
|
|
@@ -810,6 +1104,59 @@ export const DoctorAffiliationsApiFp = function(configuration?: Configuration) {
|
|
|
810
1104
|
export const DoctorAffiliationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
811
1105
|
const localVarFp = DoctorAffiliationsApiFp(configuration)
|
|
812
1106
|
return {
|
|
1107
|
+
/**
|
|
1108
|
+
*
|
|
1109
|
+
* @summary Get DoctorAffiliation appointment timetable overrides
|
|
1110
|
+
* @param {string} doctorAffiliationId
|
|
1111
|
+
* @param {boolean} [includesPreviousItems]
|
|
1112
|
+
* @param {Date} [startDate]
|
|
1113
|
+
* @param {Date} [endDate]
|
|
1114
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
1115
|
+
* @param {number} [page]
|
|
1116
|
+
* @param {number} [limit]
|
|
1117
|
+
* @param {Date} [lastRetrieved]
|
|
1118
|
+
* @param {*} [options] Override http request option.
|
|
1119
|
+
* @throws {RequiredError}
|
|
1120
|
+
*/
|
|
1121
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet(doctorAffiliationId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentTimetableOverridesModel> {
|
|
1122
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet(doctorAffiliationId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
1123
|
+
},
|
|
1124
|
+
/**
|
|
1125
|
+
*
|
|
1126
|
+
* @summary Save DoctorAffiliation appointment timetable overrides
|
|
1127
|
+
* @param {string} doctorAffiliationId
|
|
1128
|
+
* @param {SaveDoctorAffiliationAppointmentTimetableOverridesCommand} [saveDoctorAffiliationAppointmentTimetableOverridesCommand]
|
|
1129
|
+
* @param {*} [options] Override http request option.
|
|
1130
|
+
* @throws {RequiredError}
|
|
1131
|
+
*/
|
|
1132
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost(doctorAffiliationId: string, saveDoctorAffiliationAppointmentTimetableOverridesCommand?: SaveDoctorAffiliationAppointmentTimetableOverridesCommand, options?: any): AxiosPromise<SaveAppointmentTimetableOverridesResultModel> {
|
|
1133
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost(doctorAffiliationId, saveDoctorAffiliationAppointmentTimetableOverridesCommand, options).then((request) => request(axios, basePath));
|
|
1134
|
+
},
|
|
1135
|
+
/**
|
|
1136
|
+
*
|
|
1137
|
+
* @summary Add, update and delete DoctorAffiliationAppointmentTimetables
|
|
1138
|
+
* @param {string} doctorAffiliationId
|
|
1139
|
+
* @param {BatchDoctorAffiliationAppointmentTimetablesCommand} [batchDoctorAffiliationAppointmentTimetablesCommand]
|
|
1140
|
+
* @param {*} [options] Override http request option.
|
|
1141
|
+
* @throws {RequiredError}
|
|
1142
|
+
*/
|
|
1143
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost(doctorAffiliationId: string, batchDoctorAffiliationAppointmentTimetablesCommand?: BatchDoctorAffiliationAppointmentTimetablesCommand, options?: any): AxiosPromise<BatchAppointmentTimetablesResultModel> {
|
|
1144
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost(doctorAffiliationId, batchDoctorAffiliationAppointmentTimetablesCommand, options).then((request) => request(axios, basePath));
|
|
1145
|
+
},
|
|
1146
|
+
/**
|
|
1147
|
+
*
|
|
1148
|
+
* @summary Get DoctorAffiliation appointment timetables
|
|
1149
|
+
* @param {string} doctorAffiliationId
|
|
1150
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
1151
|
+
* @param {number} [page]
|
|
1152
|
+
* @param {number} [limit]
|
|
1153
|
+
* @param {Date} [lastRetrieved]
|
|
1154
|
+
* @param {*} [options] Override http request option.
|
|
1155
|
+
* @throws {RequiredError}
|
|
1156
|
+
*/
|
|
1157
|
+
apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<AppointmentTimetablesModel> {
|
|
1158
|
+
return localVarFp.apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
1159
|
+
},
|
|
813
1160
|
/**
|
|
814
1161
|
*
|
|
815
1162
|
* @summary Get all DoctorAffiliationMedias.
|
|
@@ -965,6 +1312,67 @@ export const DoctorAffiliationsApiFactory = function (configuration?: Configurat
|
|
|
965
1312
|
* @extends {BaseAPI}
|
|
966
1313
|
*/
|
|
967
1314
|
export class DoctorAffiliationsApi extends BaseAPI {
|
|
1315
|
+
/**
|
|
1316
|
+
*
|
|
1317
|
+
* @summary Get DoctorAffiliation appointment timetable overrides
|
|
1318
|
+
* @param {string} doctorAffiliationId
|
|
1319
|
+
* @param {boolean} [includesPreviousItems]
|
|
1320
|
+
* @param {Date} [startDate]
|
|
1321
|
+
* @param {Date} [endDate]
|
|
1322
|
+
* @param {DayOfWeek} [dayOfWeek]
|
|
1323
|
+
* @param {number} [page]
|
|
1324
|
+
* @param {number} [limit]
|
|
1325
|
+
* @param {Date} [lastRetrieved]
|
|
1326
|
+
* @param {*} [options] Override http request option.
|
|
1327
|
+
* @throws {RequiredError}
|
|
1328
|
+
* @memberof DoctorAffiliationsApi
|
|
1329
|
+
*/
|
|
1330
|
+
public apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet(doctorAffiliationId: string, includesPreviousItems?: boolean, startDate?: Date, endDate?: Date, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
1331
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesGet(doctorAffiliationId, includesPreviousItems, startDate, endDate, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1332
|
+
}
|
|
1333
|
+
|
|
1334
|
+
/**
|
|
1335
|
+
*
|
|
1336
|
+
* @summary Save DoctorAffiliation appointment timetable overrides
|
|
1337
|
+
* @param {string} doctorAffiliationId
|
|
1338
|
+
* @param {SaveDoctorAffiliationAppointmentTimetableOverridesCommand} [saveDoctorAffiliationAppointmentTimetableOverridesCommand]
|
|
1339
|
+
* @param {*} [options] Override http request option.
|
|
1340
|
+
* @throws {RequiredError}
|
|
1341
|
+
* @memberof DoctorAffiliationsApi
|
|
1342
|
+
*/
|
|
1343
|
+
public apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost(doctorAffiliationId: string, saveDoctorAffiliationAppointmentTimetableOverridesCommand?: SaveDoctorAffiliationAppointmentTimetableOverridesCommand, options?: AxiosRequestConfig) {
|
|
1344
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetableoverridesPost(doctorAffiliationId, saveDoctorAffiliationAppointmentTimetableOverridesCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1345
|
+
}
|
|
1346
|
+
|
|
1347
|
+
/**
|
|
1348
|
+
*
|
|
1349
|
+
* @summary Add, update and delete DoctorAffiliationAppointmentTimetables
|
|
1350
|
+
* @param {string} doctorAffiliationId
|
|
1351
|
+
* @param {BatchDoctorAffiliationAppointmentTimetablesCommand} [batchDoctorAffiliationAppointmentTimetablesCommand]
|
|
1352
|
+
* @param {*} [options] Override http request option.
|
|
1353
|
+
* @throws {RequiredError}
|
|
1354
|
+
* @memberof DoctorAffiliationsApi
|
|
1355
|
+
*/
|
|
1356
|
+
public apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost(doctorAffiliationId: string, batchDoctorAffiliationAppointmentTimetablesCommand?: BatchDoctorAffiliationAppointmentTimetablesCommand, options?: AxiosRequestConfig) {
|
|
1357
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesBatchPost(doctorAffiliationId, batchDoctorAffiliationAppointmentTimetablesCommand, options).then((request) => request(this.axios, this.basePath));
|
|
1358
|
+
}
|
|
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
|
+
* @memberof DoctorAffiliationsApi
|
|
1371
|
+
*/
|
|
1372
|
+
public apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId: string, dayOfWeek?: DayOfWeek, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig) {
|
|
1373
|
+
return DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsDoctorAffiliationIdAppointmenttimetablesGet(doctorAffiliationId, dayOfWeek, page, limit, lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1374
|
+
}
|
|
1375
|
+
|
|
968
1376
|
/**
|
|
969
1377
|
*
|
|
970
1378
|
* @summary Get all DoctorAffiliationMedias.
|