ch-admin-api-client-typescript 5.5.1 → 5.5.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/dash-board-api.d.ts +302 -13
- package/lib/api/dash-board-api.d.ts.map +1 -1
- package/lib/api/dash-board-api.js +488 -15
- package/lib/api/deals-api.d.ts +65 -0
- package/lib/api/deals-api.d.ts.map +1 -1
- package/lib/api/deals-api.js +96 -0
- package/lib/api/doctor-affiliations-api.d.ts +56 -0
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +90 -0
- package/lib/api/hospitals-api.d.ts +195 -0
- package/lib/api/hospitals-api.d.ts.map +1 -1
- package/lib/api/hospitals-api.js +288 -0
- package/lib/models/booking-duration-statistics-model.d.ts +31 -0
- package/lib/models/booking-duration-statistics-model.d.ts.map +1 -0
- package/lib/models/booking-duration-statistics-model.js +15 -0
- package/lib/models/booking-statistics-model.d.ts +44 -0
- package/lib/models/booking-statistics-model.d.ts.map +1 -0
- package/lib/models/booking-statistics-model.js +15 -0
- package/lib/models/call-duration-statistics-model.d.ts +31 -0
- package/lib/models/call-duration-statistics-model.d.ts.map +1 -0
- package/lib/models/call-duration-statistics-model.js +15 -0
- package/lib/models/call-statistics-model.d.ts +38 -0
- package/lib/models/call-statistics-model.d.ts.map +1 -0
- package/lib/models/call-statistics-model.js +15 -0
- package/lib/models/consultation-duration-statisctics-model.d.ts +31 -0
- package/lib/models/consultation-duration-statisctics-model.d.ts.map +1 -0
- package/lib/models/consultation-duration-statisctics-model.js +15 -0
- package/lib/models/consultation-statistics-model.d.ts +44 -0
- package/lib/models/consultation-statistics-model.d.ts.map +1 -0
- package/lib/models/consultation-statistics-model.js +15 -0
- package/lib/models/create-hospital-contact-command.d.ts +0 -6
- package/lib/models/create-hospital-contact-command.d.ts.map +1 -1
- package/lib/models/dash-board-model.d.ts +15 -52
- package/lib/models/dash-board-model.d.ts.map +1 -1
- package/lib/models/delete-deal-package-appointment-timetable-overrides-command.d.ts +44 -0
- package/lib/models/delete-deal-package-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/delete-deal-package-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/delete-doctor-affiliation-appointment-timetable-overrides-command.d.ts +44 -0
- package/lib/models/delete-doctor-affiliation-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/delete-doctor-affiliation-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/delete-hospital-appointment-timetable-overrides-command.d.ts +44 -0
- package/lib/models/delete-hospital-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/delete-hospital-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/delete-hospital-specialty-appointment-timetable-overrides-command.d.ts +44 -0
- package/lib/models/delete-hospital-specialty-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/delete-hospital-specialty-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/delete-service-appointment-timetable-overrides-command.d.ts +44 -0
- package/lib/models/delete-service-appointment-timetable-overrides-command.d.ts.map +1 -0
- package/lib/models/delete-service-appointment-timetable-overrides-command.js +15 -0
- package/lib/models/general-statistics-model.d.ts +43 -0
- package/lib/models/general-statistics-model.d.ts.map +1 -0
- package/lib/models/general-statistics-model.js +15 -0
- package/lib/models/hospital-contact-item-model.d.ts +0 -6
- package/lib/models/hospital-contact-item-model.d.ts.map +1 -1
- package/lib/models/hospital-contact-model.d.ts +0 -6
- package/lib/models/hospital-contact-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +14 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +14 -0
- package/lib/models/survey-form-duration-statistics-model.d.ts +31 -0
- package/lib/models/survey-form-duration-statistics-model.d.ts.map +1 -0
- package/lib/models/survey-form-duration-statistics-model.js +15 -0
- package/lib/models/survey-form-statistics-model.d.ts +38 -0
- package/lib/models/survey-form-statistics-model.d.ts.map +1 -0
- package/lib/models/survey-form-statistics-model.js +15 -0
- package/lib/models/update-hospital-contact-command.d.ts +2 -8
- package/lib/models/update-hospital-contact-command.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +14 -0
- package/src/api/dash-board-api.ts +556 -19
- package/src/api/deals-api.ts +113 -0
- package/src/api/doctor-affiliations-api.ts +100 -0
- package/src/api/hospitals-api.ts +339 -0
- package/src/models/booking-duration-statistics-model.ts +36 -0
- package/src/models/booking-statistics-model.ts +51 -0
- package/src/models/call-duration-statistics-model.ts +36 -0
- package/src/models/call-statistics-model.ts +45 -0
- package/src/models/consultation-duration-statisctics-model.ts +36 -0
- package/src/models/consultation-statistics-model.ts +51 -0
- package/src/models/create-hospital-contact-command.ts +0 -6
- package/src/models/dash-board-model.ts +25 -52
- package/src/models/delete-deal-package-appointment-timetable-overrides-command.ts +51 -0
- package/src/models/delete-doctor-affiliation-appointment-timetable-overrides-command.ts +51 -0
- package/src/models/delete-hospital-appointment-timetable-overrides-command.ts +51 -0
- package/src/models/delete-hospital-specialty-appointment-timetable-overrides-command.ts +51 -0
- package/src/models/delete-service-appointment-timetable-overrides-command.ts +51 -0
- package/src/models/general-statistics-model.ts +48 -0
- package/src/models/hospital-contact-item-model.ts +0 -6
- package/src/models/hospital-contact-model.ts +0 -6
- package/src/models/index.ts +14 -0
- package/src/models/survey-form-duration-statistics-model.ts +36 -0
- package/src/models/survey-form-statistics-model.ts +45 -0
- package/src/models/update-hospital-contact-command.ts +2 -8
|
@@ -21,9 +21,19 @@ 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 { BookingStatisticsModel } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { CallStatisticsModel } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { ConsultationStatisticsModel } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
24
30
|
import { DashBoardModel } from '../models';
|
|
25
31
|
// @ts-ignore
|
|
26
32
|
import { Duration } from '../models';
|
|
33
|
+
// @ts-ignore
|
|
34
|
+
import { GeneralStatisticsModel } from '../models';
|
|
35
|
+
// @ts-ignore
|
|
36
|
+
import { SurveyFormStatisticsModel } from '../models';
|
|
27
37
|
/**
|
|
28
38
|
* DashBoardApi - axios parameter creator
|
|
29
39
|
* @export
|
|
@@ -32,16 +42,200 @@ export const DashBoardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
32
42
|
return {
|
|
33
43
|
/**
|
|
34
44
|
*
|
|
35
|
-
* @summary
|
|
45
|
+
* @summary Get booking statisticss data
|
|
46
|
+
* @param {Duration} duration
|
|
47
|
+
* @param {string} [hospitalId]
|
|
48
|
+
* @param {*} [options] Override http request option.
|
|
49
|
+
* @throws {RequiredError}
|
|
50
|
+
*/
|
|
51
|
+
apiV1DashboardBookingGet: async (duration: Duration, hospitalId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
52
|
+
// verify required parameter 'duration' is not null or undefined
|
|
53
|
+
assertParamExists('apiV1DashboardBookingGet', 'duration', duration)
|
|
54
|
+
const localVarPath = `/api/v1/dashboard/booking`;
|
|
55
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
56
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
57
|
+
let baseOptions;
|
|
58
|
+
if (configuration) {
|
|
59
|
+
baseOptions = configuration.baseOptions;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
63
|
+
const localVarHeaderParameter = {} as any;
|
|
64
|
+
const localVarQueryParameter = {} as any;
|
|
65
|
+
|
|
66
|
+
// authentication oauth2 required
|
|
67
|
+
// oauth required
|
|
68
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
69
|
+
|
|
70
|
+
if (duration !== undefined) {
|
|
71
|
+
localVarQueryParameter['Duration'] = duration;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
if (hospitalId !== undefined) {
|
|
75
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
81
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
82
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
83
|
+
|
|
84
|
+
return {
|
|
85
|
+
url: toPathString(localVarUrlObj),
|
|
86
|
+
options: localVarRequestOptions,
|
|
87
|
+
};
|
|
88
|
+
},
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @summary Get call statisticss data
|
|
92
|
+
* @param {Duration} duration
|
|
93
|
+
* @param {string} [hospitalId]
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
*/
|
|
97
|
+
apiV1DashboardCallGet: async (duration: Duration, hospitalId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
98
|
+
// verify required parameter 'duration' is not null or undefined
|
|
99
|
+
assertParamExists('apiV1DashboardCallGet', 'duration', duration)
|
|
100
|
+
const localVarPath = `/api/v1/dashboard/call`;
|
|
101
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
102
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
103
|
+
let baseOptions;
|
|
104
|
+
if (configuration) {
|
|
105
|
+
baseOptions = configuration.baseOptions;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
109
|
+
const localVarHeaderParameter = {} as any;
|
|
110
|
+
const localVarQueryParameter = {} as any;
|
|
111
|
+
|
|
112
|
+
// authentication oauth2 required
|
|
113
|
+
// oauth required
|
|
114
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
115
|
+
|
|
116
|
+
if (duration !== undefined) {
|
|
117
|
+
localVarQueryParameter['Duration'] = duration;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
if (hospitalId !== undefined) {
|
|
121
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
|
|
126
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
127
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
128
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
129
|
+
|
|
130
|
+
return {
|
|
131
|
+
url: toPathString(localVarUrlObj),
|
|
132
|
+
options: localVarRequestOptions,
|
|
133
|
+
};
|
|
134
|
+
},
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @summary Get consultation statisticss data
|
|
138
|
+
* @param {Duration} duration
|
|
139
|
+
* @param {string} [hospitalId]
|
|
140
|
+
* @param {*} [options] Override http request option.
|
|
141
|
+
* @throws {RequiredError}
|
|
142
|
+
*/
|
|
143
|
+
apiV1DashboardConsultationGet: async (duration: Duration, hospitalId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
144
|
+
// verify required parameter 'duration' is not null or undefined
|
|
145
|
+
assertParamExists('apiV1DashboardConsultationGet', 'duration', duration)
|
|
146
|
+
const localVarPath = `/api/v1/dashboard/consultation`;
|
|
147
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
148
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
149
|
+
let baseOptions;
|
|
150
|
+
if (configuration) {
|
|
151
|
+
baseOptions = configuration.baseOptions;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
155
|
+
const localVarHeaderParameter = {} as any;
|
|
156
|
+
const localVarQueryParameter = {} as any;
|
|
157
|
+
|
|
158
|
+
// authentication oauth2 required
|
|
159
|
+
// oauth required
|
|
160
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
161
|
+
|
|
162
|
+
if (duration !== undefined) {
|
|
163
|
+
localVarQueryParameter['Duration'] = duration;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
if (hospitalId !== undefined) {
|
|
167
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
|
|
172
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
173
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
174
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
175
|
+
|
|
176
|
+
return {
|
|
177
|
+
url: toPathString(localVarUrlObj),
|
|
178
|
+
options: localVarRequestOptions,
|
|
179
|
+
};
|
|
180
|
+
},
|
|
181
|
+
/**
|
|
182
|
+
*
|
|
183
|
+
* @summary Get general statistics data
|
|
184
|
+
* @param {Duration} duration
|
|
185
|
+
* @param {string} [hospitalId]
|
|
186
|
+
* @param {*} [options] Override http request option.
|
|
187
|
+
* @throws {RequiredError}
|
|
188
|
+
*/
|
|
189
|
+
apiV1DashboardGeneralGet: async (duration: Duration, hospitalId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
190
|
+
// verify required parameter 'duration' is not null or undefined
|
|
191
|
+
assertParamExists('apiV1DashboardGeneralGet', 'duration', duration)
|
|
192
|
+
const localVarPath = `/api/v1/dashboard/general`;
|
|
193
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
194
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
195
|
+
let baseOptions;
|
|
196
|
+
if (configuration) {
|
|
197
|
+
baseOptions = configuration.baseOptions;
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
201
|
+
const localVarHeaderParameter = {} as any;
|
|
202
|
+
const localVarQueryParameter = {} as any;
|
|
203
|
+
|
|
204
|
+
// authentication oauth2 required
|
|
205
|
+
// oauth required
|
|
206
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
207
|
+
|
|
208
|
+
if (duration !== undefined) {
|
|
209
|
+
localVarQueryParameter['Duration'] = duration;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
if (hospitalId !== undefined) {
|
|
213
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
|
|
218
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
219
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
220
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
221
|
+
|
|
222
|
+
return {
|
|
223
|
+
url: toPathString(localVarUrlObj),
|
|
224
|
+
options: localVarRequestOptions,
|
|
225
|
+
};
|
|
226
|
+
},
|
|
227
|
+
/**
|
|
228
|
+
*
|
|
229
|
+
* @summary Get intergrated dashboard data
|
|
36
230
|
* @param {Duration} duration
|
|
231
|
+
* @param {string} [hospitalId]
|
|
37
232
|
* @param {*} [options] Override http request option.
|
|
38
233
|
* @throws {RequiredError}
|
|
39
234
|
*/
|
|
40
|
-
|
|
235
|
+
apiV1DashboardGet: async (duration: Duration, hospitalId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
41
236
|
// verify required parameter 'duration' is not null or undefined
|
|
42
|
-
assertParamExists('
|
|
43
|
-
const localVarPath = `/api/v1/dashboard
|
|
44
|
-
.replace(`{${"duration"}}`, encodeURIComponent(String(duration)));
|
|
237
|
+
assertParamExists('apiV1DashboardGet', 'duration', duration)
|
|
238
|
+
const localVarPath = `/api/v1/dashboard`;
|
|
45
239
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46
240
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
47
241
|
let baseOptions;
|
|
@@ -57,6 +251,60 @@ export const DashBoardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
57
251
|
// oauth required
|
|
58
252
|
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
59
253
|
|
|
254
|
+
if (duration !== undefined) {
|
|
255
|
+
localVarQueryParameter['Duration'] = duration;
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
if (hospitalId !== undefined) {
|
|
259
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
|
|
264
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
265
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
266
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
267
|
+
|
|
268
|
+
return {
|
|
269
|
+
url: toPathString(localVarUrlObj),
|
|
270
|
+
options: localVarRequestOptions,
|
|
271
|
+
};
|
|
272
|
+
},
|
|
273
|
+
/**
|
|
274
|
+
*
|
|
275
|
+
* @summary Get survey form statisticss data
|
|
276
|
+
* @param {Duration} duration
|
|
277
|
+
* @param {string} [hospitalId]
|
|
278
|
+
* @param {*} [options] Override http request option.
|
|
279
|
+
* @throws {RequiredError}
|
|
280
|
+
*/
|
|
281
|
+
apiV1DashboardSurveyformGet: async (duration: Duration, hospitalId?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
282
|
+
// verify required parameter 'duration' is not null or undefined
|
|
283
|
+
assertParamExists('apiV1DashboardSurveyformGet', 'duration', duration)
|
|
284
|
+
const localVarPath = `/api/v1/dashboard/surveyform`;
|
|
285
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
286
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
287
|
+
let baseOptions;
|
|
288
|
+
if (configuration) {
|
|
289
|
+
baseOptions = configuration.baseOptions;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
293
|
+
const localVarHeaderParameter = {} as any;
|
|
294
|
+
const localVarQueryParameter = {} as any;
|
|
295
|
+
|
|
296
|
+
// authentication oauth2 required
|
|
297
|
+
// oauth required
|
|
298
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
299
|
+
|
|
300
|
+
if (duration !== undefined) {
|
|
301
|
+
localVarQueryParameter['Duration'] = duration;
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
if (hospitalId !== undefined) {
|
|
305
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
306
|
+
}
|
|
307
|
+
|
|
60
308
|
|
|
61
309
|
|
|
62
310
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -80,13 +328,74 @@ export const DashBoardApiFp = function(configuration?: Configuration) {
|
|
|
80
328
|
return {
|
|
81
329
|
/**
|
|
82
330
|
*
|
|
83
|
-
* @summary
|
|
331
|
+
* @summary Get booking statisticss data
|
|
332
|
+
* @param {Duration} duration
|
|
333
|
+
* @param {string} [hospitalId]
|
|
334
|
+
* @param {*} [options] Override http request option.
|
|
335
|
+
* @throws {RequiredError}
|
|
336
|
+
*/
|
|
337
|
+
async apiV1DashboardBookingGet(duration: Duration, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BookingStatisticsModel>> {
|
|
338
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DashboardBookingGet(duration, hospitalId, options);
|
|
339
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
340
|
+
},
|
|
341
|
+
/**
|
|
342
|
+
*
|
|
343
|
+
* @summary Get call statisticss data
|
|
344
|
+
* @param {Duration} duration
|
|
345
|
+
* @param {string} [hospitalId]
|
|
346
|
+
* @param {*} [options] Override http request option.
|
|
347
|
+
* @throws {RequiredError}
|
|
348
|
+
*/
|
|
349
|
+
async apiV1DashboardCallGet(duration: Duration, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CallStatisticsModel>> {
|
|
350
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DashboardCallGet(duration, hospitalId, options);
|
|
351
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
352
|
+
},
|
|
353
|
+
/**
|
|
354
|
+
*
|
|
355
|
+
* @summary Get consultation statisticss data
|
|
356
|
+
* @param {Duration} duration
|
|
357
|
+
* @param {string} [hospitalId]
|
|
358
|
+
* @param {*} [options] Override http request option.
|
|
359
|
+
* @throws {RequiredError}
|
|
360
|
+
*/
|
|
361
|
+
async apiV1DashboardConsultationGet(duration: Duration, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationStatisticsModel>> {
|
|
362
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DashboardConsultationGet(duration, hospitalId, options);
|
|
363
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
364
|
+
},
|
|
365
|
+
/**
|
|
366
|
+
*
|
|
367
|
+
* @summary Get general statistics data
|
|
368
|
+
* @param {Duration} duration
|
|
369
|
+
* @param {string} [hospitalId]
|
|
370
|
+
* @param {*} [options] Override http request option.
|
|
371
|
+
* @throws {RequiredError}
|
|
372
|
+
*/
|
|
373
|
+
async apiV1DashboardGeneralGet(duration: Duration, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GeneralStatisticsModel>> {
|
|
374
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DashboardGeneralGet(duration, hospitalId, options);
|
|
375
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
376
|
+
},
|
|
377
|
+
/**
|
|
378
|
+
*
|
|
379
|
+
* @summary Get intergrated dashboard data
|
|
380
|
+
* @param {Duration} duration
|
|
381
|
+
* @param {string} [hospitalId]
|
|
382
|
+
* @param {*} [options] Override http request option.
|
|
383
|
+
* @throws {RequiredError}
|
|
384
|
+
*/
|
|
385
|
+
async apiV1DashboardGet(duration: Duration, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DashBoardModel>> {
|
|
386
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DashboardGet(duration, hospitalId, options);
|
|
387
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
388
|
+
},
|
|
389
|
+
/**
|
|
390
|
+
*
|
|
391
|
+
* @summary Get survey form statisticss data
|
|
84
392
|
* @param {Duration} duration
|
|
393
|
+
* @param {string} [hospitalId]
|
|
85
394
|
* @param {*} [options] Override http request option.
|
|
86
395
|
* @throws {RequiredError}
|
|
87
396
|
*/
|
|
88
|
-
async
|
|
89
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
397
|
+
async apiV1DashboardSurveyformGet(duration: Duration, hospitalId?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<SurveyFormStatisticsModel>> {
|
|
398
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DashboardSurveyformGet(duration, hospitalId, options);
|
|
90
399
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
91
400
|
},
|
|
92
401
|
}
|
|
@@ -101,29 +410,197 @@ export const DashBoardApiFactory = function (configuration?: Configuration, base
|
|
|
101
410
|
return {
|
|
102
411
|
/**
|
|
103
412
|
*
|
|
104
|
-
* @summary
|
|
413
|
+
* @summary Get booking statisticss data
|
|
414
|
+
* @param {Duration} duration
|
|
415
|
+
* @param {string} [hospitalId]
|
|
416
|
+
* @param {*} [options] Override http request option.
|
|
417
|
+
* @throws {RequiredError}
|
|
418
|
+
*/
|
|
419
|
+
apiV1DashboardBookingGet(duration: Duration, hospitalId?: string, options?: any): AxiosPromise<BookingStatisticsModel> {
|
|
420
|
+
return localVarFp.apiV1DashboardBookingGet(duration, hospitalId, options).then((request) => request(axios, basePath));
|
|
421
|
+
},
|
|
422
|
+
/**
|
|
423
|
+
*
|
|
424
|
+
* @summary Get call statisticss data
|
|
425
|
+
* @param {Duration} duration
|
|
426
|
+
* @param {string} [hospitalId]
|
|
427
|
+
* @param {*} [options] Override http request option.
|
|
428
|
+
* @throws {RequiredError}
|
|
429
|
+
*/
|
|
430
|
+
apiV1DashboardCallGet(duration: Duration, hospitalId?: string, options?: any): AxiosPromise<CallStatisticsModel> {
|
|
431
|
+
return localVarFp.apiV1DashboardCallGet(duration, hospitalId, options).then((request) => request(axios, basePath));
|
|
432
|
+
},
|
|
433
|
+
/**
|
|
434
|
+
*
|
|
435
|
+
* @summary Get consultation statisticss data
|
|
436
|
+
* @param {Duration} duration
|
|
437
|
+
* @param {string} [hospitalId]
|
|
438
|
+
* @param {*} [options] Override http request option.
|
|
439
|
+
* @throws {RequiredError}
|
|
440
|
+
*/
|
|
441
|
+
apiV1DashboardConsultationGet(duration: Duration, hospitalId?: string, options?: any): AxiosPromise<ConsultationStatisticsModel> {
|
|
442
|
+
return localVarFp.apiV1DashboardConsultationGet(duration, hospitalId, options).then((request) => request(axios, basePath));
|
|
443
|
+
},
|
|
444
|
+
/**
|
|
445
|
+
*
|
|
446
|
+
* @summary Get general statistics data
|
|
447
|
+
* @param {Duration} duration
|
|
448
|
+
* @param {string} [hospitalId]
|
|
449
|
+
* @param {*} [options] Override http request option.
|
|
450
|
+
* @throws {RequiredError}
|
|
451
|
+
*/
|
|
452
|
+
apiV1DashboardGeneralGet(duration: Duration, hospitalId?: string, options?: any): AxiosPromise<GeneralStatisticsModel> {
|
|
453
|
+
return localVarFp.apiV1DashboardGeneralGet(duration, hospitalId, options).then((request) => request(axios, basePath));
|
|
454
|
+
},
|
|
455
|
+
/**
|
|
456
|
+
*
|
|
457
|
+
* @summary Get intergrated dashboard data
|
|
458
|
+
* @param {Duration} duration
|
|
459
|
+
* @param {string} [hospitalId]
|
|
460
|
+
* @param {*} [options] Override http request option.
|
|
461
|
+
* @throws {RequiredError}
|
|
462
|
+
*/
|
|
463
|
+
apiV1DashboardGet(duration: Duration, hospitalId?: string, options?: any): AxiosPromise<DashBoardModel> {
|
|
464
|
+
return localVarFp.apiV1DashboardGet(duration, hospitalId, options).then((request) => request(axios, basePath));
|
|
465
|
+
},
|
|
466
|
+
/**
|
|
467
|
+
*
|
|
468
|
+
* @summary Get survey form statisticss data
|
|
105
469
|
* @param {Duration} duration
|
|
470
|
+
* @param {string} [hospitalId]
|
|
106
471
|
* @param {*} [options] Override http request option.
|
|
107
472
|
* @throws {RequiredError}
|
|
108
473
|
*/
|
|
109
|
-
|
|
110
|
-
return localVarFp.
|
|
474
|
+
apiV1DashboardSurveyformGet(duration: Duration, hospitalId?: string, options?: any): AxiosPromise<SurveyFormStatisticsModel> {
|
|
475
|
+
return localVarFp.apiV1DashboardSurveyformGet(duration, hospitalId, options).then((request) => request(axios, basePath));
|
|
111
476
|
},
|
|
112
477
|
};
|
|
113
478
|
};
|
|
114
479
|
|
|
115
480
|
/**
|
|
116
|
-
* Request parameters for
|
|
481
|
+
* Request parameters for apiV1DashboardBookingGet operation in DashBoardApi.
|
|
482
|
+
* @export
|
|
483
|
+
* @interface DashBoardApiApiV1DashboardBookingGetRequest
|
|
484
|
+
*/
|
|
485
|
+
export interface DashBoardApiApiV1DashboardBookingGetRequest {
|
|
486
|
+
/**
|
|
487
|
+
*
|
|
488
|
+
* @type {Duration}
|
|
489
|
+
* @memberof DashBoardApiApiV1DashboardBookingGet
|
|
490
|
+
*/
|
|
491
|
+
readonly duration: Duration
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
*
|
|
495
|
+
* @type {string}
|
|
496
|
+
* @memberof DashBoardApiApiV1DashboardBookingGet
|
|
497
|
+
*/
|
|
498
|
+
readonly hospitalId?: string
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
/**
|
|
502
|
+
* Request parameters for apiV1DashboardCallGet operation in DashBoardApi.
|
|
117
503
|
* @export
|
|
118
|
-
* @interface
|
|
504
|
+
* @interface DashBoardApiApiV1DashboardCallGetRequest
|
|
119
505
|
*/
|
|
120
|
-
export interface
|
|
506
|
+
export interface DashBoardApiApiV1DashboardCallGetRequest {
|
|
121
507
|
/**
|
|
122
508
|
*
|
|
123
509
|
* @type {Duration}
|
|
124
|
-
* @memberof
|
|
510
|
+
* @memberof DashBoardApiApiV1DashboardCallGet
|
|
125
511
|
*/
|
|
126
512
|
readonly duration: Duration
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
*
|
|
516
|
+
* @type {string}
|
|
517
|
+
* @memberof DashBoardApiApiV1DashboardCallGet
|
|
518
|
+
*/
|
|
519
|
+
readonly hospitalId?: string
|
|
520
|
+
}
|
|
521
|
+
|
|
522
|
+
/**
|
|
523
|
+
* Request parameters for apiV1DashboardConsultationGet operation in DashBoardApi.
|
|
524
|
+
* @export
|
|
525
|
+
* @interface DashBoardApiApiV1DashboardConsultationGetRequest
|
|
526
|
+
*/
|
|
527
|
+
export interface DashBoardApiApiV1DashboardConsultationGetRequest {
|
|
528
|
+
/**
|
|
529
|
+
*
|
|
530
|
+
* @type {Duration}
|
|
531
|
+
* @memberof DashBoardApiApiV1DashboardConsultationGet
|
|
532
|
+
*/
|
|
533
|
+
readonly duration: Duration
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
*
|
|
537
|
+
* @type {string}
|
|
538
|
+
* @memberof DashBoardApiApiV1DashboardConsultationGet
|
|
539
|
+
*/
|
|
540
|
+
readonly hospitalId?: string
|
|
541
|
+
}
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* Request parameters for apiV1DashboardGeneralGet operation in DashBoardApi.
|
|
545
|
+
* @export
|
|
546
|
+
* @interface DashBoardApiApiV1DashboardGeneralGetRequest
|
|
547
|
+
*/
|
|
548
|
+
export interface DashBoardApiApiV1DashboardGeneralGetRequest {
|
|
549
|
+
/**
|
|
550
|
+
*
|
|
551
|
+
* @type {Duration}
|
|
552
|
+
* @memberof DashBoardApiApiV1DashboardGeneralGet
|
|
553
|
+
*/
|
|
554
|
+
readonly duration: Duration
|
|
555
|
+
|
|
556
|
+
/**
|
|
557
|
+
*
|
|
558
|
+
* @type {string}
|
|
559
|
+
* @memberof DashBoardApiApiV1DashboardGeneralGet
|
|
560
|
+
*/
|
|
561
|
+
readonly hospitalId?: string
|
|
562
|
+
}
|
|
563
|
+
|
|
564
|
+
/**
|
|
565
|
+
* Request parameters for apiV1DashboardGet operation in DashBoardApi.
|
|
566
|
+
* @export
|
|
567
|
+
* @interface DashBoardApiApiV1DashboardGetRequest
|
|
568
|
+
*/
|
|
569
|
+
export interface DashBoardApiApiV1DashboardGetRequest {
|
|
570
|
+
/**
|
|
571
|
+
*
|
|
572
|
+
* @type {Duration}
|
|
573
|
+
* @memberof DashBoardApiApiV1DashboardGet
|
|
574
|
+
*/
|
|
575
|
+
readonly duration: Duration
|
|
576
|
+
|
|
577
|
+
/**
|
|
578
|
+
*
|
|
579
|
+
* @type {string}
|
|
580
|
+
* @memberof DashBoardApiApiV1DashboardGet
|
|
581
|
+
*/
|
|
582
|
+
readonly hospitalId?: string
|
|
583
|
+
}
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Request parameters for apiV1DashboardSurveyformGet operation in DashBoardApi.
|
|
587
|
+
* @export
|
|
588
|
+
* @interface DashBoardApiApiV1DashboardSurveyformGetRequest
|
|
589
|
+
*/
|
|
590
|
+
export interface DashBoardApiApiV1DashboardSurveyformGetRequest {
|
|
591
|
+
/**
|
|
592
|
+
*
|
|
593
|
+
* @type {Duration}
|
|
594
|
+
* @memberof DashBoardApiApiV1DashboardSurveyformGet
|
|
595
|
+
*/
|
|
596
|
+
readonly duration: Duration
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
*
|
|
600
|
+
* @type {string}
|
|
601
|
+
* @memberof DashBoardApiApiV1DashboardSurveyformGet
|
|
602
|
+
*/
|
|
603
|
+
readonly hospitalId?: string
|
|
127
604
|
}
|
|
128
605
|
|
|
129
606
|
/**
|
|
@@ -135,13 +612,73 @@ export interface DashBoardApiApiV1DashboardDurationGetRequest {
|
|
|
135
612
|
export class DashBoardApi extends BaseAPI {
|
|
136
613
|
/**
|
|
137
614
|
*
|
|
138
|
-
* @summary
|
|
139
|
-
* @param {
|
|
615
|
+
* @summary Get booking statisticss data
|
|
616
|
+
* @param {DashBoardApiApiV1DashboardBookingGetRequest} requestParameters Request parameters.
|
|
617
|
+
* @param {*} [options] Override http request option.
|
|
618
|
+
* @throws {RequiredError}
|
|
619
|
+
* @memberof DashBoardApi
|
|
620
|
+
*/
|
|
621
|
+
public apiV1DashboardBookingGet(requestParameters: DashBoardApiApiV1DashboardBookingGetRequest, options?: AxiosRequestConfig) {
|
|
622
|
+
return DashBoardApiFp(this.configuration).apiV1DashboardBookingGet(requestParameters.duration, requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
623
|
+
}
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
*
|
|
627
|
+
* @summary Get call statisticss data
|
|
628
|
+
* @param {DashBoardApiApiV1DashboardCallGetRequest} requestParameters Request parameters.
|
|
629
|
+
* @param {*} [options] Override http request option.
|
|
630
|
+
* @throws {RequiredError}
|
|
631
|
+
* @memberof DashBoardApi
|
|
632
|
+
*/
|
|
633
|
+
public apiV1DashboardCallGet(requestParameters: DashBoardApiApiV1DashboardCallGetRequest, options?: AxiosRequestConfig) {
|
|
634
|
+
return DashBoardApiFp(this.configuration).apiV1DashboardCallGet(requestParameters.duration, requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
*
|
|
639
|
+
* @summary Get consultation statisticss data
|
|
640
|
+
* @param {DashBoardApiApiV1DashboardConsultationGetRequest} requestParameters Request parameters.
|
|
641
|
+
* @param {*} [options] Override http request option.
|
|
642
|
+
* @throws {RequiredError}
|
|
643
|
+
* @memberof DashBoardApi
|
|
644
|
+
*/
|
|
645
|
+
public apiV1DashboardConsultationGet(requestParameters: DashBoardApiApiV1DashboardConsultationGetRequest, options?: AxiosRequestConfig) {
|
|
646
|
+
return DashBoardApiFp(this.configuration).apiV1DashboardConsultationGet(requestParameters.duration, requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
647
|
+
}
|
|
648
|
+
|
|
649
|
+
/**
|
|
650
|
+
*
|
|
651
|
+
* @summary Get general statistics data
|
|
652
|
+
* @param {DashBoardApiApiV1DashboardGeneralGetRequest} requestParameters Request parameters.
|
|
653
|
+
* @param {*} [options] Override http request option.
|
|
654
|
+
* @throws {RequiredError}
|
|
655
|
+
* @memberof DashBoardApi
|
|
656
|
+
*/
|
|
657
|
+
public apiV1DashboardGeneralGet(requestParameters: DashBoardApiApiV1DashboardGeneralGetRequest, options?: AxiosRequestConfig) {
|
|
658
|
+
return DashBoardApiFp(this.configuration).apiV1DashboardGeneralGet(requestParameters.duration, requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
659
|
+
}
|
|
660
|
+
|
|
661
|
+
/**
|
|
662
|
+
*
|
|
663
|
+
* @summary Get intergrated dashboard data
|
|
664
|
+
* @param {DashBoardApiApiV1DashboardGetRequest} requestParameters Request parameters.
|
|
665
|
+
* @param {*} [options] Override http request option.
|
|
666
|
+
* @throws {RequiredError}
|
|
667
|
+
* @memberof DashBoardApi
|
|
668
|
+
*/
|
|
669
|
+
public apiV1DashboardGet(requestParameters: DashBoardApiApiV1DashboardGetRequest, options?: AxiosRequestConfig) {
|
|
670
|
+
return DashBoardApiFp(this.configuration).apiV1DashboardGet(requestParameters.duration, requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
671
|
+
}
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
*
|
|
675
|
+
* @summary Get survey form statisticss data
|
|
676
|
+
* @param {DashBoardApiApiV1DashboardSurveyformGetRequest} requestParameters Request parameters.
|
|
140
677
|
* @param {*} [options] Override http request option.
|
|
141
678
|
* @throws {RequiredError}
|
|
142
679
|
* @memberof DashBoardApi
|
|
143
680
|
*/
|
|
144
|
-
public
|
|
145
|
-
return DashBoardApiFp(this.configuration).
|
|
681
|
+
public apiV1DashboardSurveyformGet(requestParameters: DashBoardApiApiV1DashboardSurveyformGetRequest, options?: AxiosRequestConfig) {
|
|
682
|
+
return DashBoardApiFp(this.configuration).apiV1DashboardSurveyformGet(requestParameters.duration, requestParameters.hospitalId, options).then((request) => request(this.axios, this.basePath));
|
|
146
683
|
}
|
|
147
684
|
}
|