ch-admin-api-client-typescript 5.15.0 → 5.16.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/dash-board-api.d.ts +16 -81
- package/lib/api/dash-board-api.d.ts.map +1 -1
- package/lib/api/dash-board-api.js +14 -113
- package/lib/api.d.ts +0 -4
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +0 -4
- package/lib/models/{booking-duration-statistics-model.d.ts → appointment-duration-statisctics-model.d.ts} +5 -5
- package/lib/models/appointment-duration-statisctics-model.d.ts.map +1 -0
- package/lib/models/{booking-statistics-model.d.ts → appointment-statistics-model.d.ts} +10 -10
- package/lib/models/appointment-statistics-model.d.ts.map +1 -0
- package/lib/models/dash-board-model.d.ts +9 -16
- package/lib/models/dash-board-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +2 -34
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +2 -34
- package/lib/models/update-doctor-affiliation-command.d.ts +0 -12
- package/lib/models/update-doctor-affiliation-command.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +2 -38
- package/src/api/dash-board-api.ts +21 -139
- package/src/api.ts +0 -4
- package/src/models/{booking-duration-statistics-model.ts → appointment-duration-statisctics-model.ts} +4 -4
- package/src/models/{booking-statistics-model.ts → appointment-statistics-model.ts} +9 -9
- package/src/models/dash-board-model.ts +9 -18
- package/src/models/index.ts +2 -34
- package/src/models/update-doctor-affiliation-command.ts +0 -12
- package/lib/api/bookings-api.d.ts +0 -558
- package/lib/api/bookings-api.d.ts.map +0 -1
- package/lib/api/bookings-api.js +0 -853
- package/lib/api/consultations-api.d.ts +0 -586
- package/lib/api/consultations-api.d.ts.map +0 -1
- package/lib/api/consultations-api.js +0 -871
- package/lib/api/hospitals-consultation-timetable-overrides-api.d.ts +0 -321
- package/lib/api/hospitals-consultation-timetable-overrides-api.d.ts.map +0 -1
- package/lib/api/hospitals-consultation-timetable-overrides-api.js +0 -535
- package/lib/api/hospitals-consultation-timetables-api.d.ts +0 -414
- package/lib/api/hospitals-consultation-timetables-api.d.ts.map +0 -1
- package/lib/api/hospitals-consultation-timetables-api.js +0 -700
- package/lib/models/approve-booking-command.d.ts +0 -31
- package/lib/models/approve-booking-command.d.ts.map +0 -1
- package/lib/models/approve-consultation-command.d.ts +0 -31
- package/lib/models/approve-consultation-command.d.ts.map +0 -1
- package/lib/models/batch-add-hospital-consultation-timetable-model.d.ts +0 -38
- package/lib/models/batch-add-hospital-consultation-timetable-model.d.ts.map +0 -1
- package/lib/models/batch-add-hospital-consultation-timetable-model.js +0 -15
- package/lib/models/batch-hospital-consultation-timetable-result-model.d.ts +0 -38
- package/lib/models/batch-hospital-consultation-timetable-result-model.d.ts.map +0 -1
- package/lib/models/batch-hospital-consultation-timetable-result-model.js +0 -15
- package/lib/models/batch-hospital-consultation-timetables-command.d.ts +0 -39
- package/lib/models/batch-hospital-consultation-timetables-command.d.ts.map +0 -1
- package/lib/models/batch-hospital-consultation-timetables-command.js +0 -15
- package/lib/models/batch-update-hospital-consultation-timetable-model.d.ts +0 -44
- package/lib/models/batch-update-hospital-consultation-timetable-model.d.ts.map +0 -1
- package/lib/models/batch-update-hospital-consultation-timetable-model.js +0 -15
- package/lib/models/booking-change-log-model.d.ts +0 -44
- package/lib/models/booking-change-log-model.d.ts.map +0 -1
- package/lib/models/booking-change-log-model.js +0 -15
- package/lib/models/booking-duration-statistics-model.d.ts.map +0 -1
- package/lib/models/booking-duration-statistics-model.js +0 -15
- package/lib/models/booking-item-model.d.ts +0 -245
- package/lib/models/booking-item-model.d.ts.map +0 -1
- package/lib/models/booking-item-model.js +0 -15
- package/lib/models/booking-model.d.ts +0 -252
- package/lib/models/booking-model.d.ts.map +0 -1
- package/lib/models/booking-model.js +0 -15
- package/lib/models/booking-statistics-model.d.ts.map +0 -1
- package/lib/models/booking-statistics-model.js +0 -15
- package/lib/models/booking-status.d.ts +0 -27
- package/lib/models/booking-status.d.ts.map +0 -1
- package/lib/models/booking-status.js +0 -30
- package/lib/models/bookings-model.d.ts +0 -33
- package/lib/models/bookings-model.d.ts.map +0 -1
- package/lib/models/bookings-model.js +0 -15
- package/lib/models/consultation-change-log-model.d.ts +0 -44
- package/lib/models/consultation-change-log-model.d.ts.map +0 -1
- package/lib/models/consultation-change-log-model.js +0 -15
- package/lib/models/consultation-duration-statisctics-model.d.ts +0 -31
- package/lib/models/consultation-duration-statisctics-model.d.ts.map +0 -1
- package/lib/models/consultation-duration-statisctics-model.js +0 -15
- package/lib/models/consultation-item-model.d.ts +0 -275
- package/lib/models/consultation-item-model.d.ts.map +0 -1
- package/lib/models/consultation-item-model.js +0 -15
- package/lib/models/consultation-model.d.ts +0 -282
- package/lib/models/consultation-model.d.ts.map +0 -1
- package/lib/models/consultation-model.js +0 -15
- package/lib/models/consultation-statistics-model.d.ts +0 -44
- package/lib/models/consultation-statistics-model.d.ts.map +0 -1
- package/lib/models/consultation-statistics-model.js +0 -15
- package/lib/models/consultation-status.d.ts +0 -27
- package/lib/models/consultation-status.d.ts.map +0 -1
- package/lib/models/consultation-status.js +0 -30
- package/lib/models/consultation-type.d.ts +0 -23
- package/lib/models/consultation-type.d.ts.map +0 -1
- package/lib/models/consultation-type.js +0 -26
- package/lib/models/consultations-model.d.ts +0 -33
- package/lib/models/consultations-model.d.ts.map +0 -1
- package/lib/models/consultations-model.js +0 -15
- package/lib/models/create-hospital-consultation-timetable-command.d.ts +0 -38
- package/lib/models/create-hospital-consultation-timetable-command.d.ts.map +0 -1
- package/lib/models/create-hospital-consultation-timetable-command.js +0 -15
- package/lib/models/delete-hospital-consultation-timetable-override-command.d.ts +0 -44
- package/lib/models/delete-hospital-consultation-timetable-override-command.d.ts.map +0 -1
- package/lib/models/delete-hospital-consultation-timetable-override-command.js +0 -15
- package/lib/models/hospital-consultation-timetable-item-model.d.ts +0 -44
- package/lib/models/hospital-consultation-timetable-item-model.d.ts.map +0 -1
- package/lib/models/hospital-consultation-timetable-item-model.js +0 -15
- package/lib/models/hospital-consultation-timetable-model.d.ts +0 -44
- package/lib/models/hospital-consultation-timetable-model.d.ts.map +0 -1
- package/lib/models/hospital-consultation-timetable-model.js +0 -15
- package/lib/models/hospital-consultation-timetable-override-item-model.d.ts +0 -56
- package/lib/models/hospital-consultation-timetable-override-item-model.d.ts.map +0 -1
- package/lib/models/hospital-consultation-timetable-override-item-model.js +0 -15
- package/lib/models/hospital-consultation-timetable-override-model.d.ts +0 -56
- package/lib/models/hospital-consultation-timetable-override-model.d.ts.map +0 -1
- package/lib/models/hospital-consultation-timetable-override-model.js +0 -15
- package/lib/models/hospital-consultation-timetable-overrides-model.d.ts +0 -33
- package/lib/models/hospital-consultation-timetable-overrides-model.d.ts.map +0 -1
- package/lib/models/hospital-consultation-timetable-overrides-model.js +0 -15
- package/lib/models/hospital-consultation-timetables-model.d.ts +0 -33
- package/lib/models/hospital-consultation-timetables-model.d.ts.map +0 -1
- package/lib/models/hospital-consultation-timetables-model.js +0 -15
- package/lib/models/reject-booking-command.d.ts +0 -32
- package/lib/models/reject-booking-command.d.ts.map +0 -1
- package/lib/models/reject-booking-command.js +0 -15
- package/lib/models/reject-consultation-command.d.ts +0 -32
- package/lib/models/reject-consultation-command.d.ts.map +0 -1
- package/lib/models/reject-consultation-command.js +0 -15
- package/lib/models/save-hospital-consultation-timetable-override-model.d.ts +0 -43
- package/lib/models/save-hospital-consultation-timetable-override-model.d.ts.map +0 -1
- package/lib/models/save-hospital-consultation-timetable-override-model.js +0 -15
- package/lib/models/save-hospital-consultation-timetable-overrides-command.d.ts +0 -26
- package/lib/models/save-hospital-consultation-timetable-overrides-command.d.ts.map +0 -1
- package/lib/models/save-hospital-consultation-timetable-overrides-command.js +0 -15
- package/lib/models/update-hospital-consultation-timetable-command.d.ts +0 -38
- package/lib/models/update-hospital-consultation-timetable-command.d.ts.map +0 -1
- package/lib/models/update-hospital-consultation-timetable-command.js +0 -15
- package/src/api/bookings-api.ts +0 -962
- package/src/api/consultations-api.ts +0 -1006
- package/src/api/hospitals-consultation-timetable-overrides-api.ts +0 -553
- package/src/api/hospitals-consultation-timetables-api.ts +0 -718
- package/src/models/approve-booking-command.ts +0 -36
- package/src/models/approve-consultation-command.ts +0 -36
- package/src/models/batch-add-hospital-consultation-timetable-model.ts +0 -45
- package/src/models/batch-hospital-consultation-timetable-result-model.ts +0 -45
- package/src/models/batch-hospital-consultation-timetables-command.ts +0 -48
- package/src/models/batch-update-hospital-consultation-timetable-model.ts +0 -51
- package/src/models/booking-change-log-model.ts +0 -51
- package/src/models/booking-item-model.ts +0 -258
- package/src/models/booking-model.ts +0 -267
- package/src/models/booking-status.ts +0 -36
- package/src/models/bookings-model.ts +0 -42
- package/src/models/consultation-change-log-model.ts +0 -51
- package/src/models/consultation-duration-statisctics-model.ts +0 -36
- package/src/models/consultation-item-model.ts +0 -288
- package/src/models/consultation-model.ts +0 -297
- package/src/models/consultation-statistics-model.ts +0 -51
- package/src/models/consultation-status.ts +0 -36
- package/src/models/consultation-type.ts +0 -32
- package/src/models/consultations-model.ts +0 -42
- package/src/models/create-hospital-consultation-timetable-command.ts +0 -45
- package/src/models/delete-hospital-consultation-timetable-override-command.ts +0 -51
- package/src/models/hospital-consultation-timetable-item-model.ts +0 -51
- package/src/models/hospital-consultation-timetable-model.ts +0 -51
- package/src/models/hospital-consultation-timetable-override-item-model.ts +0 -63
- package/src/models/hospital-consultation-timetable-override-model.ts +0 -63
- package/src/models/hospital-consultation-timetable-overrides-model.ts +0 -42
- package/src/models/hospital-consultation-timetables-model.ts +0 -42
- package/src/models/reject-booking-command.ts +0 -39
- package/src/models/reject-consultation-command.ts +0 -39
- package/src/models/save-hospital-consultation-timetable-override-model.ts +0 -48
- package/src/models/save-hospital-consultation-timetable-overrides-command.ts +0 -33
- package/src/models/update-hospital-consultation-timetable-command.ts +0 -45
- /package/lib/models/{approve-booking-command.js → appointment-duration-statisctics-model.js} +0 -0
- /package/lib/models/{approve-consultation-command.js → appointment-statistics-model.js} +0 -0
|
@@ -21,12 +21,10 @@ 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 {
|
|
24
|
+
import { AppointmentStatisticsModel } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { CallStatisticsModel } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
28
|
-
import { ConsultationStatisticsModel } from '../models';
|
|
29
|
-
// @ts-ignore
|
|
30
28
|
import { DashBoardModel } from '../models';
|
|
31
29
|
// @ts-ignore
|
|
32
30
|
import { Duration } from '../models';
|
|
@@ -42,17 +40,17 @@ export const DashBoardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
42
40
|
return {
|
|
43
41
|
/**
|
|
44
42
|
*
|
|
45
|
-
* @summary Get
|
|
43
|
+
* @summary Get appointment statistics data
|
|
46
44
|
* @param {Duration} duration
|
|
47
45
|
* @param {string} [hospitalId]
|
|
48
46
|
* @param {string} [languageCode]
|
|
49
47
|
* @param {*} [options] Override http request option.
|
|
50
48
|
* @throws {RequiredError}
|
|
51
49
|
*/
|
|
52
|
-
|
|
50
|
+
apiV1DashboardAppointmentGet: async (duration: Duration, hospitalId?: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
53
51
|
// verify required parameter 'duration' is not null or undefined
|
|
54
|
-
assertParamExists('
|
|
55
|
-
const localVarPath = `/api/v1/dashboard/
|
|
52
|
+
assertParamExists('apiV1DashboardAppointmentGet', 'duration', duration)
|
|
53
|
+
const localVarPath = `/api/v1/dashboard/appointment`;
|
|
56
54
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57
55
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
58
56
|
let baseOptions;
|
|
@@ -133,57 +131,6 @@ export const DashBoardApiAxiosParamCreator = function (configuration?: Configura
|
|
|
133
131
|
|
|
134
132
|
|
|
135
133
|
|
|
136
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
137
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
138
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
139
|
-
|
|
140
|
-
return {
|
|
141
|
-
url: toPathString(localVarUrlObj),
|
|
142
|
-
options: localVarRequestOptions,
|
|
143
|
-
};
|
|
144
|
-
},
|
|
145
|
-
/**
|
|
146
|
-
*
|
|
147
|
-
* @summary Get consultation statisticss data
|
|
148
|
-
* @param {Duration} duration
|
|
149
|
-
* @param {string} [hospitalId]
|
|
150
|
-
* @param {string} [languageCode]
|
|
151
|
-
* @param {*} [options] Override http request option.
|
|
152
|
-
* @throws {RequiredError}
|
|
153
|
-
*/
|
|
154
|
-
apiV1DashboardConsultationGet: async (duration: Duration, hospitalId?: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
155
|
-
// verify required parameter 'duration' is not null or undefined
|
|
156
|
-
assertParamExists('apiV1DashboardConsultationGet', 'duration', duration)
|
|
157
|
-
const localVarPath = `/api/v1/dashboard/consultation`;
|
|
158
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
159
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
160
|
-
let baseOptions;
|
|
161
|
-
if (configuration) {
|
|
162
|
-
baseOptions = configuration.baseOptions;
|
|
163
|
-
}
|
|
164
|
-
|
|
165
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
166
|
-
const localVarHeaderParameter = {} as any;
|
|
167
|
-
const localVarQueryParameter = {} as any;
|
|
168
|
-
|
|
169
|
-
// authentication oauth2 required
|
|
170
|
-
// oauth required
|
|
171
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
172
|
-
|
|
173
|
-
if (duration !== undefined) {
|
|
174
|
-
localVarQueryParameter['Duration'] = duration;
|
|
175
|
-
}
|
|
176
|
-
|
|
177
|
-
if (hospitalId !== undefined) {
|
|
178
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
179
|
-
}
|
|
180
|
-
|
|
181
|
-
if (languageCode !== undefined) {
|
|
182
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
183
|
-
}
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
134
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
188
135
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
189
136
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -358,15 +305,15 @@ export const DashBoardApiFp = function(configuration?: Configuration) {
|
|
|
358
305
|
return {
|
|
359
306
|
/**
|
|
360
307
|
*
|
|
361
|
-
* @summary Get
|
|
308
|
+
* @summary Get appointment statistics data
|
|
362
309
|
* @param {Duration} duration
|
|
363
310
|
* @param {string} [hospitalId]
|
|
364
311
|
* @param {string} [languageCode]
|
|
365
312
|
* @param {*} [options] Override http request option.
|
|
366
313
|
* @throws {RequiredError}
|
|
367
314
|
*/
|
|
368
|
-
async
|
|
369
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
315
|
+
async apiV1DashboardAppointmentGet(duration: Duration, hospitalId?: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AppointmentStatisticsModel>> {
|
|
316
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DashboardAppointmentGet(duration, hospitalId, languageCode, options);
|
|
370
317
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
371
318
|
},
|
|
372
319
|
/**
|
|
@@ -382,19 +329,6 @@ export const DashBoardApiFp = function(configuration?: Configuration) {
|
|
|
382
329
|
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DashboardCallGet(duration, hospitalId, languageCode, options);
|
|
383
330
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
384
331
|
},
|
|
385
|
-
/**
|
|
386
|
-
*
|
|
387
|
-
* @summary Get consultation statisticss data
|
|
388
|
-
* @param {Duration} duration
|
|
389
|
-
* @param {string} [hospitalId]
|
|
390
|
-
* @param {string} [languageCode]
|
|
391
|
-
* @param {*} [options] Override http request option.
|
|
392
|
-
* @throws {RequiredError}
|
|
393
|
-
*/
|
|
394
|
-
async apiV1DashboardConsultationGet(duration: Duration, hospitalId?: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationStatisticsModel>> {
|
|
395
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1DashboardConsultationGet(duration, hospitalId, languageCode, options);
|
|
396
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
397
|
-
},
|
|
398
332
|
/**
|
|
399
333
|
*
|
|
400
334
|
* @summary Get general statistics data
|
|
@@ -446,15 +380,15 @@ export const DashBoardApiFactory = function (configuration?: Configuration, base
|
|
|
446
380
|
return {
|
|
447
381
|
/**
|
|
448
382
|
*
|
|
449
|
-
* @summary Get
|
|
383
|
+
* @summary Get appointment statistics data
|
|
450
384
|
* @param {Duration} duration
|
|
451
385
|
* @param {string} [hospitalId]
|
|
452
386
|
* @param {string} [languageCode]
|
|
453
387
|
* @param {*} [options] Override http request option.
|
|
454
388
|
* @throws {RequiredError}
|
|
455
389
|
*/
|
|
456
|
-
|
|
457
|
-
return localVarFp.
|
|
390
|
+
apiV1DashboardAppointmentGet(duration: Duration, hospitalId?: string, languageCode?: string, options?: any): AxiosPromise<AppointmentStatisticsModel> {
|
|
391
|
+
return localVarFp.apiV1DashboardAppointmentGet(duration, hospitalId, languageCode, options).then((request) => request(axios, basePath));
|
|
458
392
|
},
|
|
459
393
|
/**
|
|
460
394
|
*
|
|
@@ -468,18 +402,6 @@ export const DashBoardApiFactory = function (configuration?: Configuration, base
|
|
|
468
402
|
apiV1DashboardCallGet(duration: Duration, hospitalId?: string, languageCode?: string, options?: any): AxiosPromise<CallStatisticsModel> {
|
|
469
403
|
return localVarFp.apiV1DashboardCallGet(duration, hospitalId, languageCode, options).then((request) => request(axios, basePath));
|
|
470
404
|
},
|
|
471
|
-
/**
|
|
472
|
-
*
|
|
473
|
-
* @summary Get consultation statisticss data
|
|
474
|
-
* @param {Duration} duration
|
|
475
|
-
* @param {string} [hospitalId]
|
|
476
|
-
* @param {string} [languageCode]
|
|
477
|
-
* @param {*} [options] Override http request option.
|
|
478
|
-
* @throws {RequiredError}
|
|
479
|
-
*/
|
|
480
|
-
apiV1DashboardConsultationGet(duration: Duration, hospitalId?: string, languageCode?: string, options?: any): AxiosPromise<ConsultationStatisticsModel> {
|
|
481
|
-
return localVarFp.apiV1DashboardConsultationGet(duration, hospitalId, languageCode, options).then((request) => request(axios, basePath));
|
|
482
|
-
},
|
|
483
405
|
/**
|
|
484
406
|
*
|
|
485
407
|
* @summary Get general statistics data
|
|
@@ -520,29 +442,29 @@ export const DashBoardApiFactory = function (configuration?: Configuration, base
|
|
|
520
442
|
};
|
|
521
443
|
|
|
522
444
|
/**
|
|
523
|
-
* Request parameters for
|
|
445
|
+
* Request parameters for apiV1DashboardAppointmentGet operation in DashBoardApi.
|
|
524
446
|
* @export
|
|
525
|
-
* @interface
|
|
447
|
+
* @interface DashBoardApiApiV1DashboardAppointmentGetRequest
|
|
526
448
|
*/
|
|
527
|
-
export interface
|
|
449
|
+
export interface DashBoardApiApiV1DashboardAppointmentGetRequest {
|
|
528
450
|
/**
|
|
529
451
|
*
|
|
530
452
|
* @type {Duration}
|
|
531
|
-
* @memberof
|
|
453
|
+
* @memberof DashBoardApiApiV1DashboardAppointmentGet
|
|
532
454
|
*/
|
|
533
455
|
readonly duration: Duration
|
|
534
456
|
|
|
535
457
|
/**
|
|
536
458
|
*
|
|
537
459
|
* @type {string}
|
|
538
|
-
* @memberof
|
|
460
|
+
* @memberof DashBoardApiApiV1DashboardAppointmentGet
|
|
539
461
|
*/
|
|
540
462
|
readonly hospitalId?: string
|
|
541
463
|
|
|
542
464
|
/**
|
|
543
465
|
*
|
|
544
466
|
* @type {string}
|
|
545
|
-
* @memberof
|
|
467
|
+
* @memberof DashBoardApiApiV1DashboardAppointmentGet
|
|
546
468
|
*/
|
|
547
469
|
readonly languageCode?: string
|
|
548
470
|
}
|
|
@@ -575,34 +497,6 @@ export interface DashBoardApiApiV1DashboardCallGetRequest {
|
|
|
575
497
|
readonly languageCode?: string
|
|
576
498
|
}
|
|
577
499
|
|
|
578
|
-
/**
|
|
579
|
-
* Request parameters for apiV1DashboardConsultationGet operation in DashBoardApi.
|
|
580
|
-
* @export
|
|
581
|
-
* @interface DashBoardApiApiV1DashboardConsultationGetRequest
|
|
582
|
-
*/
|
|
583
|
-
export interface DashBoardApiApiV1DashboardConsultationGetRequest {
|
|
584
|
-
/**
|
|
585
|
-
*
|
|
586
|
-
* @type {Duration}
|
|
587
|
-
* @memberof DashBoardApiApiV1DashboardConsultationGet
|
|
588
|
-
*/
|
|
589
|
-
readonly duration: Duration
|
|
590
|
-
|
|
591
|
-
/**
|
|
592
|
-
*
|
|
593
|
-
* @type {string}
|
|
594
|
-
* @memberof DashBoardApiApiV1DashboardConsultationGet
|
|
595
|
-
*/
|
|
596
|
-
readonly hospitalId?: string
|
|
597
|
-
|
|
598
|
-
/**
|
|
599
|
-
*
|
|
600
|
-
* @type {string}
|
|
601
|
-
* @memberof DashBoardApiApiV1DashboardConsultationGet
|
|
602
|
-
*/
|
|
603
|
-
readonly languageCode?: string
|
|
604
|
-
}
|
|
605
|
-
|
|
606
500
|
/**
|
|
607
501
|
* Request parameters for apiV1DashboardGeneralGet operation in DashBoardApi.
|
|
608
502
|
* @export
|
|
@@ -696,14 +590,14 @@ export interface DashBoardApiApiV1DashboardSurveyformGetRequest {
|
|
|
696
590
|
export class DashBoardApi extends BaseAPI {
|
|
697
591
|
/**
|
|
698
592
|
*
|
|
699
|
-
* @summary Get
|
|
700
|
-
* @param {
|
|
593
|
+
* @summary Get appointment statistics data
|
|
594
|
+
* @param {DashBoardApiApiV1DashboardAppointmentGetRequest} requestParameters Request parameters.
|
|
701
595
|
* @param {*} [options] Override http request option.
|
|
702
596
|
* @throws {RequiredError}
|
|
703
597
|
* @memberof DashBoardApi
|
|
704
598
|
*/
|
|
705
|
-
public
|
|
706
|
-
return DashBoardApiFp(this.configuration).
|
|
599
|
+
public apiV1DashboardAppointmentGet(requestParameters: DashBoardApiApiV1DashboardAppointmentGetRequest, options?: AxiosRequestConfig) {
|
|
600
|
+
return DashBoardApiFp(this.configuration).apiV1DashboardAppointmentGet(requestParameters.duration, requestParameters.hospitalId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
707
601
|
}
|
|
708
602
|
|
|
709
603
|
/**
|
|
@@ -718,18 +612,6 @@ export class DashBoardApi extends BaseAPI {
|
|
|
718
612
|
return DashBoardApiFp(this.configuration).apiV1DashboardCallGet(requestParameters.duration, requestParameters.hospitalId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
719
613
|
}
|
|
720
614
|
|
|
721
|
-
/**
|
|
722
|
-
*
|
|
723
|
-
* @summary Get consultation statisticss data
|
|
724
|
-
* @param {DashBoardApiApiV1DashboardConsultationGetRequest} requestParameters Request parameters.
|
|
725
|
-
* @param {*} [options] Override http request option.
|
|
726
|
-
* @throws {RequiredError}
|
|
727
|
-
* @memberof DashBoardApi
|
|
728
|
-
*/
|
|
729
|
-
public apiV1DashboardConsultationGet(requestParameters: DashBoardApiApiV1DashboardConsultationGetRequest, options?: AxiosRequestConfig) {
|
|
730
|
-
return DashBoardApiFp(this.configuration).apiV1DashboardConsultationGet(requestParameters.duration, requestParameters.hospitalId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
731
|
-
}
|
|
732
|
-
|
|
733
615
|
/**
|
|
734
616
|
*
|
|
735
617
|
* @summary Get general statistics data
|
package/src/api.ts
CHANGED
|
@@ -19,13 +19,11 @@ export * from './api/accreditations-api';
|
|
|
19
19
|
export * from './api/app-version-api';
|
|
20
20
|
export * from './api/appointments-api';
|
|
21
21
|
export * from './api/articles-api';
|
|
22
|
-
export * from './api/bookings-api';
|
|
23
22
|
export * from './api/chadmins-api';
|
|
24
23
|
export * from './api/chmanagers-api';
|
|
25
24
|
export * from './api/call-histories-api';
|
|
26
25
|
export * from './api/chat-users-api';
|
|
27
26
|
export * from './api/communications-api';
|
|
28
|
-
export * from './api/consultations-api';
|
|
29
27
|
export * from './api/contributors-api';
|
|
30
28
|
export * from './api/countries-api';
|
|
31
29
|
export * from './api/curations-api';
|
|
@@ -43,8 +41,6 @@ export * from './api/header-navigations-api';
|
|
|
43
41
|
export * from './api/hospital-branches-api';
|
|
44
42
|
export * from './api/hospital-groups-api';
|
|
45
43
|
export * from './api/hospitals-api';
|
|
46
|
-
export * from './api/hospitals-consultation-timetable-overrides-api';
|
|
47
|
-
export * from './api/hospitals-consultation-timetables-api';
|
|
48
44
|
export * from './api/images-api';
|
|
49
45
|
export * from './api/languages-api';
|
|
50
46
|
export * from './api/managers-api';
|
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface AppointmentDurationStatiscticsModel
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface AppointmentDurationStatiscticsModel {
|
|
23
23
|
/**
|
|
24
24
|
*
|
|
25
25
|
* @type {Date}
|
|
26
|
-
* @memberof
|
|
26
|
+
* @memberof AppointmentDurationStatiscticsModel
|
|
27
27
|
*/
|
|
28
28
|
'key'?: Date;
|
|
29
29
|
/**
|
|
30
30
|
*
|
|
31
31
|
* @type {number}
|
|
32
|
-
* @memberof
|
|
32
|
+
* @memberof AppointmentDurationStatiscticsModel
|
|
33
33
|
*/
|
|
34
34
|
'value'?: number;
|
|
35
35
|
}
|
|
@@ -15,37 +15,37 @@
|
|
|
15
15
|
|
|
16
16
|
// May contain unused imports in some cases
|
|
17
17
|
// @ts-ignore
|
|
18
|
-
import {
|
|
18
|
+
import { AppointmentDurationStatiscticsModel } from './appointment-duration-statisctics-model';
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
*
|
|
22
22
|
* @export
|
|
23
|
-
* @interface
|
|
23
|
+
* @interface AppointmentStatisticsModel
|
|
24
24
|
*/
|
|
25
|
-
export interface
|
|
25
|
+
export interface AppointmentStatisticsModel {
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
28
28
|
* @type {number}
|
|
29
|
-
* @memberof
|
|
29
|
+
* @memberof AppointmentStatisticsModel
|
|
30
30
|
*/
|
|
31
31
|
'pendingApprovalCount'?: number;
|
|
32
32
|
/**
|
|
33
33
|
*
|
|
34
34
|
* @type {number}
|
|
35
|
-
* @memberof
|
|
35
|
+
* @memberof AppointmentStatisticsModel
|
|
36
36
|
*/
|
|
37
37
|
'finishedCount'?: number;
|
|
38
38
|
/**
|
|
39
39
|
*
|
|
40
40
|
* @type {number}
|
|
41
|
-
* @memberof
|
|
41
|
+
* @memberof AppointmentStatisticsModel
|
|
42
42
|
*/
|
|
43
43
|
'revenue'?: number;
|
|
44
44
|
/**
|
|
45
45
|
*
|
|
46
|
-
* @type {Array<
|
|
47
|
-
* @memberof
|
|
46
|
+
* @type {Array<AppointmentDurationStatiscticsModel>}
|
|
47
|
+
* @memberof AppointmentStatisticsModel
|
|
48
48
|
*/
|
|
49
|
-
'monthlyList'?: Array<
|
|
49
|
+
'monthlyList'?: Array<AppointmentDurationStatiscticsModel> | null;
|
|
50
50
|
}
|
|
51
51
|
|
|
@@ -15,15 +15,12 @@
|
|
|
15
15
|
|
|
16
16
|
// May contain unused imports in some cases
|
|
17
17
|
// @ts-ignore
|
|
18
|
-
import {
|
|
18
|
+
import { AppointmentStatisticsModel } from './appointment-statistics-model';
|
|
19
19
|
// May contain unused imports in some cases
|
|
20
20
|
// @ts-ignore
|
|
21
21
|
import { CallStatisticsModel } from './call-statistics-model';
|
|
22
22
|
// May contain unused imports in some cases
|
|
23
23
|
// @ts-ignore
|
|
24
|
-
import { ConsultationStatisticsModel } from './consultation-statistics-model';
|
|
25
|
-
// May contain unused imports in some cases
|
|
26
|
-
// @ts-ignore
|
|
27
24
|
import { GeneralStatisticsModel } from './general-statistics-model';
|
|
28
25
|
// May contain unused imports in some cases
|
|
29
26
|
// @ts-ignore
|
|
@@ -37,33 +34,27 @@ import { SurveyFormStatisticsModel } from './survey-form-statistics-model';
|
|
|
37
34
|
export interface DashBoardModel {
|
|
38
35
|
/**
|
|
39
36
|
*
|
|
40
|
-
* @type {
|
|
41
|
-
* @memberof DashBoardModel
|
|
42
|
-
*/
|
|
43
|
-
'consultation'?: ConsultationStatisticsModel;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {SurveyFormStatisticsModel}
|
|
37
|
+
* @type {GeneralStatisticsModel}
|
|
47
38
|
* @memberof DashBoardModel
|
|
48
39
|
*/
|
|
49
|
-
'
|
|
40
|
+
'general'?: GeneralStatisticsModel;
|
|
50
41
|
/**
|
|
51
42
|
*
|
|
52
|
-
* @type {
|
|
43
|
+
* @type {AppointmentStatisticsModel}
|
|
53
44
|
* @memberof DashBoardModel
|
|
54
45
|
*/
|
|
55
|
-
'
|
|
46
|
+
'appointment'?: AppointmentStatisticsModel;
|
|
56
47
|
/**
|
|
57
48
|
*
|
|
58
|
-
* @type {
|
|
49
|
+
* @type {SurveyFormStatisticsModel}
|
|
59
50
|
* @memberof DashBoardModel
|
|
60
51
|
*/
|
|
61
|
-
'
|
|
52
|
+
'surveyForm'?: SurveyFormStatisticsModel;
|
|
62
53
|
/**
|
|
63
54
|
*
|
|
64
|
-
* @type {
|
|
55
|
+
* @type {CallStatisticsModel}
|
|
65
56
|
* @memberof DashBoardModel
|
|
66
57
|
*/
|
|
67
|
-
'
|
|
58
|
+
'call'?: CallStatisticsModel;
|
|
68
59
|
}
|
|
69
60
|
|
package/src/models/index.ts
CHANGED
|
@@ -14,10 +14,12 @@ export * from './application-capabilities';
|
|
|
14
14
|
export * from './application-list';
|
|
15
15
|
export * from './application-page';
|
|
16
16
|
export * from './appointment-change-log-model';
|
|
17
|
+
export * from './appointment-duration-statisctics-model';
|
|
17
18
|
export * from './appointment-item-model';
|
|
18
19
|
export * from './appointment-model';
|
|
19
20
|
export * from './appointment-option-input-model';
|
|
20
21
|
export * from './appointment-option-model';
|
|
22
|
+
export * from './appointment-statistics-model';
|
|
21
23
|
export * from './appointment-status';
|
|
22
24
|
export * from './appointment-timetable-model';
|
|
23
25
|
export * from './appointment-timetable-override-model';
|
|
@@ -26,8 +28,6 @@ export * from './appointment-timetables-model';
|
|
|
26
28
|
export * from './appointment-type';
|
|
27
29
|
export * from './appointments-model';
|
|
28
30
|
export * from './approve-appointment-command';
|
|
29
|
-
export * from './approve-booking-command';
|
|
30
|
-
export * from './approve-consultation-command';
|
|
31
31
|
export * from './article-contributor-item-model';
|
|
32
32
|
export * from './article-contributor-model';
|
|
33
33
|
export * from './article-contributors-model';
|
|
@@ -48,24 +48,13 @@ export * from './bank-account-info-model';
|
|
|
48
48
|
export * from './bank-account-infos-model';
|
|
49
49
|
export * from './bank-transfer-payment-model';
|
|
50
50
|
export * from './batch-add-appointment-timetable-model';
|
|
51
|
-
export * from './batch-add-hospital-consultation-timetable-model';
|
|
52
51
|
export * from './batch-appointment-timetables-result-model';
|
|
53
52
|
export * from './batch-deal-package-appointment-timetables-command';
|
|
54
53
|
export * from './batch-doctor-affiliation-appointment-timetables-command';
|
|
55
54
|
export * from './batch-hospital-appointment-timetables-command';
|
|
56
|
-
export * from './batch-hospital-consultation-timetable-result-model';
|
|
57
|
-
export * from './batch-hospital-consultation-timetables-command';
|
|
58
55
|
export * from './batch-hospital-specialty-appointment-timetables-command';
|
|
59
56
|
export * from './batch-service-appointment-timetables-command';
|
|
60
57
|
export * from './batch-update-appointment-timetable-model';
|
|
61
|
-
export * from './batch-update-hospital-consultation-timetable-model';
|
|
62
|
-
export * from './booking-change-log-model';
|
|
63
|
-
export * from './booking-duration-statistics-model';
|
|
64
|
-
export * from './booking-item-model';
|
|
65
|
-
export * from './booking-model';
|
|
66
|
-
export * from './booking-statistics-model';
|
|
67
|
-
export * from './booking-status';
|
|
68
|
-
export * from './bookings-model';
|
|
69
58
|
export * from './buy-number-command';
|
|
70
59
|
export * from './chadmin-item-model';
|
|
71
60
|
export * from './chadmin-model';
|
|
@@ -88,14 +77,6 @@ export * from './chat-users-model';
|
|
|
88
77
|
export * from './check-notifications-command';
|
|
89
78
|
export * from './communication-user-token-model';
|
|
90
79
|
export * from './confirm-email-command';
|
|
91
|
-
export * from './consultation-change-log-model';
|
|
92
|
-
export * from './consultation-duration-statisctics-model';
|
|
93
|
-
export * from './consultation-item-model';
|
|
94
|
-
export * from './consultation-model';
|
|
95
|
-
export * from './consultation-statistics-model';
|
|
96
|
-
export * from './consultation-status';
|
|
97
|
-
export * from './consultation-type';
|
|
98
|
-
export * from './consultations-model';
|
|
99
80
|
export * from './contribution-type';
|
|
100
81
|
export * from './contributor-item-model';
|
|
101
82
|
export * from './contributor-model';
|
|
@@ -137,7 +118,6 @@ export * from './create-hospital-accreditation-command';
|
|
|
137
118
|
export * from './create-hospital-bank-account-info-command';
|
|
138
119
|
export * from './create-hospital-branch-command';
|
|
139
120
|
export * from './create-hospital-command';
|
|
140
|
-
export * from './create-hospital-consultation-timetable-command';
|
|
141
121
|
export * from './create-hospital-contact-command';
|
|
142
122
|
export * from './create-hospital-equipment-command';
|
|
143
123
|
export * from './create-hospital-evaluation-command';
|
|
@@ -188,7 +168,6 @@ export * from './delete-application-command';
|
|
|
188
168
|
export * from './delete-deal-package-appointment-timetable-overrides-command';
|
|
189
169
|
export * from './delete-doctor-affiliation-appointment-timetable-overrides-command';
|
|
190
170
|
export * from './delete-hospital-appointment-timetable-overrides-command';
|
|
191
|
-
export * from './delete-hospital-consultation-timetable-override-command';
|
|
192
171
|
export * from './delete-hospital-specialty-appointment-timetable-overrides-command';
|
|
193
172
|
export * from './delete-service-appointment-timetable-overrides-command';
|
|
194
173
|
export * from './deploy-status';
|
|
@@ -248,12 +227,6 @@ export * from './hospital-branch-item-model';
|
|
|
248
227
|
export * from './hospital-branch-model';
|
|
249
228
|
export * from './hospital-branches-model';
|
|
250
229
|
export * from './hospital-consultation-option-model';
|
|
251
|
-
export * from './hospital-consultation-timetable-item-model';
|
|
252
|
-
export * from './hospital-consultation-timetable-model';
|
|
253
|
-
export * from './hospital-consultation-timetable-override-item-model';
|
|
254
|
-
export * from './hospital-consultation-timetable-override-model';
|
|
255
|
-
export * from './hospital-consultation-timetable-overrides-model';
|
|
256
|
-
export * from './hospital-consultation-timetables-model';
|
|
257
230
|
export * from './hospital-contact-item-model';
|
|
258
231
|
export * from './hospital-contact-model';
|
|
259
232
|
export * from './hospital-contacts-model';
|
|
@@ -354,8 +327,6 @@ export * from './procedure';
|
|
|
354
327
|
export * from './recurring-interval';
|
|
355
328
|
export * from './refund-policy';
|
|
356
329
|
export * from './reject-appointment-command';
|
|
357
|
-
export * from './reject-booking-command';
|
|
358
|
-
export * from './reject-consultation-command';
|
|
359
330
|
export * from './reject-reason';
|
|
360
331
|
export * from './retrieve-sub-accounts-embedded';
|
|
361
332
|
export * from './retrieve-sub-accounts-result';
|
|
@@ -370,8 +341,6 @@ export * from './save-footer-navigations-command';
|
|
|
370
341
|
export * from './save-header-navigation-item-model';
|
|
371
342
|
export * from './save-header-navigations-command';
|
|
372
343
|
export * from './save-hospital-appointment-timetable-overrides-command';
|
|
373
|
-
export * from './save-hospital-consultation-timetable-override-model';
|
|
374
|
-
export * from './save-hospital-consultation-timetable-overrides-command';
|
|
375
344
|
export * from './save-hospital-specialty-appointment-timetable-overrides-command';
|
|
376
345
|
export * from './save-search-curations-command';
|
|
377
346
|
export * from './save-service-appointment-timetable-overrides-command';
|
|
@@ -495,7 +464,6 @@ export * from './update-grade-command';
|
|
|
495
464
|
export * from './update-hospital-bank-account-info-command';
|
|
496
465
|
export * from './update-hospital-branch-command';
|
|
497
466
|
export * from './update-hospital-command';
|
|
498
|
-
export * from './update-hospital-consultation-timetable-command';
|
|
499
467
|
export * from './update-hospital-contact-command';
|
|
500
468
|
export * from './update-hospital-equipment-command';
|
|
501
469
|
export * from './update-hospital-group-command';
|
|
@@ -101,18 +101,6 @@ export interface UpdateDoctorAffiliationCommand {
|
|
|
101
101
|
* @memberof UpdateDoctorAffiliationCommand
|
|
102
102
|
*/
|
|
103
103
|
'backgroundThumbnail'?: string | null;
|
|
104
|
-
/**
|
|
105
|
-
*
|
|
106
|
-
* @type {boolean}
|
|
107
|
-
* @memberof UpdateDoctorAffiliationCommand
|
|
108
|
-
*/
|
|
109
|
-
'consultationEnabled'?: boolean | null;
|
|
110
|
-
/**
|
|
111
|
-
*
|
|
112
|
-
* @type {number}
|
|
113
|
-
* @memberof UpdateDoctorAffiliationCommand
|
|
114
|
-
*/
|
|
115
|
-
'consultationFee'?: number | null;
|
|
116
104
|
/**
|
|
117
105
|
*
|
|
118
106
|
* @type {boolean}
|