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
|
@@ -1,1006 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
5
|
-
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1
|
|
8
|
-
* Contact: hyounoosung@icloudhospital.com
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
17
|
-
import { Configuration } from '../configuration';
|
|
18
|
-
// Some imports not used depending on template conditions
|
|
19
|
-
// @ts-ignore
|
|
20
|
-
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
|
|
21
|
-
// @ts-ignore
|
|
22
|
-
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
|
-
// @ts-ignore
|
|
24
|
-
import { ApproveConsultationCommand } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import { ConsultationModel } from '../models';
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
import { ConsultationStatus } from '../models';
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
import { ConsultationType } from '../models';
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
import { ConsultationsModel } from '../models';
|
|
33
|
-
// @ts-ignore
|
|
34
|
-
import { ProblemDetails } from '../models';
|
|
35
|
-
// @ts-ignore
|
|
36
|
-
import { RejectConsultationCommand } from '../models';
|
|
37
|
-
// @ts-ignore
|
|
38
|
-
import { SortingOrder } from '../models';
|
|
39
|
-
/**
|
|
40
|
-
* ConsultationsApi - axios parameter creator
|
|
41
|
-
* @export
|
|
42
|
-
*/
|
|
43
|
-
export const ConsultationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
44
|
-
return {
|
|
45
|
-
/**
|
|
46
|
-
*
|
|
47
|
-
* @summary Approve consultation.
|
|
48
|
-
* @param {string} consultationId
|
|
49
|
-
* @param {ApproveConsultationCommand} [approveConsultationCommand]
|
|
50
|
-
* @param {*} [options] Override http request option.
|
|
51
|
-
* @throws {RequiredError}
|
|
52
|
-
*/
|
|
53
|
-
apiV1ConsultationsConsultationIdApprovePut: async (consultationId: string, approveConsultationCommand?: ApproveConsultationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
54
|
-
// verify required parameter 'consultationId' is not null or undefined
|
|
55
|
-
assertParamExists('apiV1ConsultationsConsultationIdApprovePut', 'consultationId', consultationId)
|
|
56
|
-
const localVarPath = `/api/v1/consultations/{consultationId}/approve`
|
|
57
|
-
.replace(`{${"consultationId"}}`, encodeURIComponent(String(consultationId)));
|
|
58
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
59
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
60
|
-
let baseOptions;
|
|
61
|
-
if (configuration) {
|
|
62
|
-
baseOptions = configuration.baseOptions;
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
66
|
-
const localVarHeaderParameter = {} as any;
|
|
67
|
-
const localVarQueryParameter = {} as any;
|
|
68
|
-
|
|
69
|
-
// authentication oauth2 required
|
|
70
|
-
// oauth required
|
|
71
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
76
|
-
|
|
77
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
78
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
79
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
80
|
-
localVarRequestOptions.data = serializeDataIfNeeded(approveConsultationCommand, localVarRequestOptions, configuration)
|
|
81
|
-
|
|
82
|
-
return {
|
|
83
|
-
url: toPathString(localVarUrlObj),
|
|
84
|
-
options: localVarRequestOptions,
|
|
85
|
-
};
|
|
86
|
-
},
|
|
87
|
-
/**
|
|
88
|
-
*
|
|
89
|
-
* @summary Cancel consultation.
|
|
90
|
-
* @param {string} consultationId
|
|
91
|
-
* @param {*} [options] Override http request option.
|
|
92
|
-
* @throws {RequiredError}
|
|
93
|
-
*/
|
|
94
|
-
apiV1ConsultationsConsultationIdCancelPut: async (consultationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
95
|
-
// verify required parameter 'consultationId' is not null or undefined
|
|
96
|
-
assertParamExists('apiV1ConsultationsConsultationIdCancelPut', 'consultationId', consultationId)
|
|
97
|
-
const localVarPath = `/api/v1/consultations/{consultationId}/cancel`
|
|
98
|
-
.replace(`{${"consultationId"}}`, encodeURIComponent(String(consultationId)));
|
|
99
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
100
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
101
|
-
let baseOptions;
|
|
102
|
-
if (configuration) {
|
|
103
|
-
baseOptions = configuration.baseOptions;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
107
|
-
const localVarHeaderParameter = {} as any;
|
|
108
|
-
const localVarQueryParameter = {} as any;
|
|
109
|
-
|
|
110
|
-
// authentication oauth2 required
|
|
111
|
-
// oauth required
|
|
112
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
117
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
118
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
119
|
-
|
|
120
|
-
return {
|
|
121
|
-
url: toPathString(localVarUrlObj),
|
|
122
|
-
options: localVarRequestOptions,
|
|
123
|
-
};
|
|
124
|
-
},
|
|
125
|
-
/**
|
|
126
|
-
*
|
|
127
|
-
* @summary Delete consultation.
|
|
128
|
-
* @param {string} consultationId
|
|
129
|
-
* @param {*} [options] Override http request option.
|
|
130
|
-
* @throws {RequiredError}
|
|
131
|
-
*/
|
|
132
|
-
apiV1ConsultationsConsultationIdDelete: async (consultationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
133
|
-
// verify required parameter 'consultationId' is not null or undefined
|
|
134
|
-
assertParamExists('apiV1ConsultationsConsultationIdDelete', 'consultationId', consultationId)
|
|
135
|
-
const localVarPath = `/api/v1/consultations/{consultationId}`
|
|
136
|
-
.replace(`{${"consultationId"}}`, encodeURIComponent(String(consultationId)));
|
|
137
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
138
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
139
|
-
let baseOptions;
|
|
140
|
-
if (configuration) {
|
|
141
|
-
baseOptions = configuration.baseOptions;
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
|
|
145
|
-
const localVarHeaderParameter = {} as any;
|
|
146
|
-
const localVarQueryParameter = {} as any;
|
|
147
|
-
|
|
148
|
-
// authentication oauth2 required
|
|
149
|
-
// oauth required
|
|
150
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
155
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
156
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
157
|
-
|
|
158
|
-
return {
|
|
159
|
-
url: toPathString(localVarUrlObj),
|
|
160
|
-
options: localVarRequestOptions,
|
|
161
|
-
};
|
|
162
|
-
},
|
|
163
|
-
/**
|
|
164
|
-
*
|
|
165
|
-
* @summary Get consultation.
|
|
166
|
-
* @param {string} consultationId
|
|
167
|
-
* @param {boolean} [isExternal]
|
|
168
|
-
* @param {string} [languageCode]
|
|
169
|
-
* @param {*} [options] Override http request option.
|
|
170
|
-
* @throws {RequiredError}
|
|
171
|
-
*/
|
|
172
|
-
apiV1ConsultationsConsultationIdGet: async (consultationId: string, isExternal?: boolean, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
173
|
-
// verify required parameter 'consultationId' is not null or undefined
|
|
174
|
-
assertParamExists('apiV1ConsultationsConsultationIdGet', 'consultationId', consultationId)
|
|
175
|
-
const localVarPath = `/api/v1/consultations/{consultationId}`
|
|
176
|
-
.replace(`{${"consultationId"}}`, encodeURIComponent(String(consultationId)));
|
|
177
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
178
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
179
|
-
let baseOptions;
|
|
180
|
-
if (configuration) {
|
|
181
|
-
baseOptions = configuration.baseOptions;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
185
|
-
const localVarHeaderParameter = {} as any;
|
|
186
|
-
const localVarQueryParameter = {} as any;
|
|
187
|
-
|
|
188
|
-
// authentication oauth2 required
|
|
189
|
-
// oauth required
|
|
190
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
191
|
-
|
|
192
|
-
if (isExternal !== undefined) {
|
|
193
|
-
localVarQueryParameter['isExternal'] = isExternal;
|
|
194
|
-
}
|
|
195
|
-
|
|
196
|
-
if (languageCode !== undefined) {
|
|
197
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
198
|
-
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
203
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
204
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
205
|
-
|
|
206
|
-
return {
|
|
207
|
-
url: toPathString(localVarUrlObj),
|
|
208
|
-
options: localVarRequestOptions,
|
|
209
|
-
};
|
|
210
|
-
},
|
|
211
|
-
/**
|
|
212
|
-
*
|
|
213
|
-
* @summary Mark as Paid booking.
|
|
214
|
-
* @param {string} consultationId
|
|
215
|
-
* @param {*} [options] Override http request option.
|
|
216
|
-
* @throws {RequiredError}
|
|
217
|
-
*/
|
|
218
|
-
apiV1ConsultationsConsultationIdPaidPost: async (consultationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
219
|
-
// verify required parameter 'consultationId' is not null or undefined
|
|
220
|
-
assertParamExists('apiV1ConsultationsConsultationIdPaidPost', 'consultationId', consultationId)
|
|
221
|
-
const localVarPath = `/api/v1/consultations/{consultationId}/paid`
|
|
222
|
-
.replace(`{${"consultationId"}}`, encodeURIComponent(String(consultationId)));
|
|
223
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
224
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
225
|
-
let baseOptions;
|
|
226
|
-
if (configuration) {
|
|
227
|
-
baseOptions = configuration.baseOptions;
|
|
228
|
-
}
|
|
229
|
-
|
|
230
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
231
|
-
const localVarHeaderParameter = {} as any;
|
|
232
|
-
const localVarQueryParameter = {} as any;
|
|
233
|
-
|
|
234
|
-
// authentication oauth2 required
|
|
235
|
-
// oauth required
|
|
236
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
241
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
242
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
243
|
-
|
|
244
|
-
return {
|
|
245
|
-
url: toPathString(localVarUrlObj),
|
|
246
|
-
options: localVarRequestOptions,
|
|
247
|
-
};
|
|
248
|
-
},
|
|
249
|
-
/**
|
|
250
|
-
*
|
|
251
|
-
* @summary Reject consultation.
|
|
252
|
-
* @param {string} consultationId
|
|
253
|
-
* @param {RejectConsultationCommand} [rejectConsultationCommand]
|
|
254
|
-
* @param {*} [options] Override http request option.
|
|
255
|
-
* @throws {RequiredError}
|
|
256
|
-
*/
|
|
257
|
-
apiV1ConsultationsConsultationIdRejectPut: async (consultationId: string, rejectConsultationCommand?: RejectConsultationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
258
|
-
// verify required parameter 'consultationId' is not null or undefined
|
|
259
|
-
assertParamExists('apiV1ConsultationsConsultationIdRejectPut', 'consultationId', consultationId)
|
|
260
|
-
const localVarPath = `/api/v1/consultations/{consultationId}/reject`
|
|
261
|
-
.replace(`{${"consultationId"}}`, encodeURIComponent(String(consultationId)));
|
|
262
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
263
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
264
|
-
let baseOptions;
|
|
265
|
-
if (configuration) {
|
|
266
|
-
baseOptions = configuration.baseOptions;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
270
|
-
const localVarHeaderParameter = {} as any;
|
|
271
|
-
const localVarQueryParameter = {} as any;
|
|
272
|
-
|
|
273
|
-
// authentication oauth2 required
|
|
274
|
-
// oauth required
|
|
275
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
280
|
-
|
|
281
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
282
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
283
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
284
|
-
localVarRequestOptions.data = serializeDataIfNeeded(rejectConsultationCommand, localVarRequestOptions, configuration)
|
|
285
|
-
|
|
286
|
-
return {
|
|
287
|
-
url: toPathString(localVarUrlObj),
|
|
288
|
-
options: localVarRequestOptions,
|
|
289
|
-
};
|
|
290
|
-
},
|
|
291
|
-
/**
|
|
292
|
-
*
|
|
293
|
-
* @summary Get all consultations.
|
|
294
|
-
* @param {string} [userId]
|
|
295
|
-
* @param {string} [userName]
|
|
296
|
-
* @param {string} [hospitalId]
|
|
297
|
-
* @param {string} [hospitalName]
|
|
298
|
-
* @param {string} [doctorId]
|
|
299
|
-
* @param {string} [doctorName]
|
|
300
|
-
* @param {string} [dealId]
|
|
301
|
-
* @param {string} [dealName]
|
|
302
|
-
* @param {boolean} [isOpen]
|
|
303
|
-
* @param {boolean} [isCompleted]
|
|
304
|
-
* @param {ConsultationStatus} [status]
|
|
305
|
-
* @param {ConsultationType} [consultationType]
|
|
306
|
-
* @param {SortingOrder} [sortRequestDate]
|
|
307
|
-
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
308
|
-
* @param {boolean} [isExternal]
|
|
309
|
-
* @param {boolean} [paymentEnabled]
|
|
310
|
-
* @param {string} [languageCode]
|
|
311
|
-
* @param {boolean} [showHidden]
|
|
312
|
-
* @param {number} [page]
|
|
313
|
-
* @param {number} [limit]
|
|
314
|
-
* @param {Date} [lastRetrieved]
|
|
315
|
-
* @param {*} [options] Override http request option.
|
|
316
|
-
* @throws {RequiredError}
|
|
317
|
-
*/
|
|
318
|
-
apiV1ConsultationsGet: async (userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
319
|
-
const localVarPath = `/api/v1/consultations`;
|
|
320
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
321
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
322
|
-
let baseOptions;
|
|
323
|
-
if (configuration) {
|
|
324
|
-
baseOptions = configuration.baseOptions;
|
|
325
|
-
}
|
|
326
|
-
|
|
327
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
328
|
-
const localVarHeaderParameter = {} as any;
|
|
329
|
-
const localVarQueryParameter = {} as any;
|
|
330
|
-
|
|
331
|
-
// authentication oauth2 required
|
|
332
|
-
// oauth required
|
|
333
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
334
|
-
|
|
335
|
-
if (userId !== undefined) {
|
|
336
|
-
localVarQueryParameter['UserId'] = userId;
|
|
337
|
-
}
|
|
338
|
-
|
|
339
|
-
if (userName !== undefined) {
|
|
340
|
-
localVarQueryParameter['UserName'] = userName;
|
|
341
|
-
}
|
|
342
|
-
|
|
343
|
-
if (hospitalId !== undefined) {
|
|
344
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
if (hospitalName !== undefined) {
|
|
348
|
-
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
if (doctorId !== undefined) {
|
|
352
|
-
localVarQueryParameter['DoctorId'] = doctorId;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
if (doctorName !== undefined) {
|
|
356
|
-
localVarQueryParameter['DoctorName'] = doctorName;
|
|
357
|
-
}
|
|
358
|
-
|
|
359
|
-
if (dealId !== undefined) {
|
|
360
|
-
localVarQueryParameter['DealId'] = dealId;
|
|
361
|
-
}
|
|
362
|
-
|
|
363
|
-
if (dealName !== undefined) {
|
|
364
|
-
localVarQueryParameter['DealName'] = dealName;
|
|
365
|
-
}
|
|
366
|
-
|
|
367
|
-
if (isOpen !== undefined) {
|
|
368
|
-
localVarQueryParameter['IsOpen'] = isOpen;
|
|
369
|
-
}
|
|
370
|
-
|
|
371
|
-
if (isCompleted !== undefined) {
|
|
372
|
-
localVarQueryParameter['IsCompleted'] = isCompleted;
|
|
373
|
-
}
|
|
374
|
-
|
|
375
|
-
if (status !== undefined) {
|
|
376
|
-
localVarQueryParameter['Status'] = status;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
if (consultationType !== undefined) {
|
|
380
|
-
localVarQueryParameter['ConsultationType'] = consultationType;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
if (sortRequestDate !== undefined) {
|
|
384
|
-
localVarQueryParameter['SortRequestDate'] = sortRequestDate;
|
|
385
|
-
}
|
|
386
|
-
|
|
387
|
-
if (sortConfirmedDateStart !== undefined) {
|
|
388
|
-
localVarQueryParameter['SortConfirmedDateStart'] = sortConfirmedDateStart;
|
|
389
|
-
}
|
|
390
|
-
|
|
391
|
-
if (isExternal !== undefined) {
|
|
392
|
-
localVarQueryParameter['IsExternal'] = isExternal;
|
|
393
|
-
}
|
|
394
|
-
|
|
395
|
-
if (paymentEnabled !== undefined) {
|
|
396
|
-
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
if (languageCode !== undefined) {
|
|
400
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
401
|
-
}
|
|
402
|
-
|
|
403
|
-
if (showHidden !== undefined) {
|
|
404
|
-
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
405
|
-
}
|
|
406
|
-
|
|
407
|
-
if (page !== undefined) {
|
|
408
|
-
localVarQueryParameter['page'] = page;
|
|
409
|
-
}
|
|
410
|
-
|
|
411
|
-
if (limit !== undefined) {
|
|
412
|
-
localVarQueryParameter['limit'] = limit;
|
|
413
|
-
}
|
|
414
|
-
|
|
415
|
-
if (lastRetrieved !== undefined) {
|
|
416
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
417
|
-
(lastRetrieved as any).toISOString() :
|
|
418
|
-
lastRetrieved;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
424
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
425
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
426
|
-
|
|
427
|
-
return {
|
|
428
|
-
url: toPathString(localVarUrlObj),
|
|
429
|
-
options: localVarRequestOptions,
|
|
430
|
-
};
|
|
431
|
-
},
|
|
432
|
-
}
|
|
433
|
-
};
|
|
434
|
-
|
|
435
|
-
/**
|
|
436
|
-
* ConsultationsApi - functional programming interface
|
|
437
|
-
* @export
|
|
438
|
-
*/
|
|
439
|
-
export const ConsultationsApiFp = function(configuration?: Configuration) {
|
|
440
|
-
const localVarAxiosParamCreator = ConsultationsApiAxiosParamCreator(configuration)
|
|
441
|
-
return {
|
|
442
|
-
/**
|
|
443
|
-
*
|
|
444
|
-
* @summary Approve consultation.
|
|
445
|
-
* @param {string} consultationId
|
|
446
|
-
* @param {ApproveConsultationCommand} [approveConsultationCommand]
|
|
447
|
-
* @param {*} [options] Override http request option.
|
|
448
|
-
* @throws {RequiredError}
|
|
449
|
-
*/
|
|
450
|
-
async apiV1ConsultationsConsultationIdApprovePut(consultationId: string, approveConsultationCommand?: ApproveConsultationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
451
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsConsultationIdApprovePut(consultationId, approveConsultationCommand, options);
|
|
452
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
453
|
-
},
|
|
454
|
-
/**
|
|
455
|
-
*
|
|
456
|
-
* @summary Cancel consultation.
|
|
457
|
-
* @param {string} consultationId
|
|
458
|
-
* @param {*} [options] Override http request option.
|
|
459
|
-
* @throws {RequiredError}
|
|
460
|
-
*/
|
|
461
|
-
async apiV1ConsultationsConsultationIdCancelPut(consultationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
462
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsConsultationIdCancelPut(consultationId, options);
|
|
463
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
464
|
-
},
|
|
465
|
-
/**
|
|
466
|
-
*
|
|
467
|
-
* @summary Delete consultation.
|
|
468
|
-
* @param {string} consultationId
|
|
469
|
-
* @param {*} [options] Override http request option.
|
|
470
|
-
* @throws {RequiredError}
|
|
471
|
-
*/
|
|
472
|
-
async apiV1ConsultationsConsultationIdDelete(consultationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
473
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsConsultationIdDelete(consultationId, options);
|
|
474
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
475
|
-
},
|
|
476
|
-
/**
|
|
477
|
-
*
|
|
478
|
-
* @summary Get consultation.
|
|
479
|
-
* @param {string} consultationId
|
|
480
|
-
* @param {boolean} [isExternal]
|
|
481
|
-
* @param {string} [languageCode]
|
|
482
|
-
* @param {*} [options] Override http request option.
|
|
483
|
-
* @throws {RequiredError}
|
|
484
|
-
*/
|
|
485
|
-
async apiV1ConsultationsConsultationIdGet(consultationId: string, isExternal?: boolean, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationModel>> {
|
|
486
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsConsultationIdGet(consultationId, isExternal, languageCode, options);
|
|
487
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
488
|
-
},
|
|
489
|
-
/**
|
|
490
|
-
*
|
|
491
|
-
* @summary Mark as Paid booking.
|
|
492
|
-
* @param {string} consultationId
|
|
493
|
-
* @param {*} [options] Override http request option.
|
|
494
|
-
* @throws {RequiredError}
|
|
495
|
-
*/
|
|
496
|
-
async apiV1ConsultationsConsultationIdPaidPost(consultationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
497
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsConsultationIdPaidPost(consultationId, options);
|
|
498
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
499
|
-
},
|
|
500
|
-
/**
|
|
501
|
-
*
|
|
502
|
-
* @summary Reject consultation.
|
|
503
|
-
* @param {string} consultationId
|
|
504
|
-
* @param {RejectConsultationCommand} [rejectConsultationCommand]
|
|
505
|
-
* @param {*} [options] Override http request option.
|
|
506
|
-
* @throws {RequiredError}
|
|
507
|
-
*/
|
|
508
|
-
async apiV1ConsultationsConsultationIdRejectPut(consultationId: string, rejectConsultationCommand?: RejectConsultationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<boolean>> {
|
|
509
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsConsultationIdRejectPut(consultationId, rejectConsultationCommand, options);
|
|
510
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
511
|
-
},
|
|
512
|
-
/**
|
|
513
|
-
*
|
|
514
|
-
* @summary Get all consultations.
|
|
515
|
-
* @param {string} [userId]
|
|
516
|
-
* @param {string} [userName]
|
|
517
|
-
* @param {string} [hospitalId]
|
|
518
|
-
* @param {string} [hospitalName]
|
|
519
|
-
* @param {string} [doctorId]
|
|
520
|
-
* @param {string} [doctorName]
|
|
521
|
-
* @param {string} [dealId]
|
|
522
|
-
* @param {string} [dealName]
|
|
523
|
-
* @param {boolean} [isOpen]
|
|
524
|
-
* @param {boolean} [isCompleted]
|
|
525
|
-
* @param {ConsultationStatus} [status]
|
|
526
|
-
* @param {ConsultationType} [consultationType]
|
|
527
|
-
* @param {SortingOrder} [sortRequestDate]
|
|
528
|
-
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
529
|
-
* @param {boolean} [isExternal]
|
|
530
|
-
* @param {boolean} [paymentEnabled]
|
|
531
|
-
* @param {string} [languageCode]
|
|
532
|
-
* @param {boolean} [showHidden]
|
|
533
|
-
* @param {number} [page]
|
|
534
|
-
* @param {number} [limit]
|
|
535
|
-
* @param {Date} [lastRetrieved]
|
|
536
|
-
* @param {*} [options] Override http request option.
|
|
537
|
-
* @throws {RequiredError}
|
|
538
|
-
*/
|
|
539
|
-
async apiV1ConsultationsGet(userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationsModel>> {
|
|
540
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV1ConsultationsGet(userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options);
|
|
541
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
542
|
-
},
|
|
543
|
-
}
|
|
544
|
-
};
|
|
545
|
-
|
|
546
|
-
/**
|
|
547
|
-
* ConsultationsApi - factory interface
|
|
548
|
-
* @export
|
|
549
|
-
*/
|
|
550
|
-
export const ConsultationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
551
|
-
const localVarFp = ConsultationsApiFp(configuration)
|
|
552
|
-
return {
|
|
553
|
-
/**
|
|
554
|
-
*
|
|
555
|
-
* @summary Approve consultation.
|
|
556
|
-
* @param {string} consultationId
|
|
557
|
-
* @param {ApproveConsultationCommand} [approveConsultationCommand]
|
|
558
|
-
* @param {*} [options] Override http request option.
|
|
559
|
-
* @throws {RequiredError}
|
|
560
|
-
*/
|
|
561
|
-
apiV1ConsultationsConsultationIdApprovePut(consultationId: string, approveConsultationCommand?: ApproveConsultationCommand, options?: any): AxiosPromise<boolean> {
|
|
562
|
-
return localVarFp.apiV1ConsultationsConsultationIdApprovePut(consultationId, approveConsultationCommand, options).then((request) => request(axios, basePath));
|
|
563
|
-
},
|
|
564
|
-
/**
|
|
565
|
-
*
|
|
566
|
-
* @summary Cancel consultation.
|
|
567
|
-
* @param {string} consultationId
|
|
568
|
-
* @param {*} [options] Override http request option.
|
|
569
|
-
* @throws {RequiredError}
|
|
570
|
-
*/
|
|
571
|
-
apiV1ConsultationsConsultationIdCancelPut(consultationId: string, options?: any): AxiosPromise<boolean> {
|
|
572
|
-
return localVarFp.apiV1ConsultationsConsultationIdCancelPut(consultationId, options).then((request) => request(axios, basePath));
|
|
573
|
-
},
|
|
574
|
-
/**
|
|
575
|
-
*
|
|
576
|
-
* @summary Delete consultation.
|
|
577
|
-
* @param {string} consultationId
|
|
578
|
-
* @param {*} [options] Override http request option.
|
|
579
|
-
* @throws {RequiredError}
|
|
580
|
-
*/
|
|
581
|
-
apiV1ConsultationsConsultationIdDelete(consultationId: string, options?: any): AxiosPromise<boolean> {
|
|
582
|
-
return localVarFp.apiV1ConsultationsConsultationIdDelete(consultationId, options).then((request) => request(axios, basePath));
|
|
583
|
-
},
|
|
584
|
-
/**
|
|
585
|
-
*
|
|
586
|
-
* @summary Get consultation.
|
|
587
|
-
* @param {string} consultationId
|
|
588
|
-
* @param {boolean} [isExternal]
|
|
589
|
-
* @param {string} [languageCode]
|
|
590
|
-
* @param {*} [options] Override http request option.
|
|
591
|
-
* @throws {RequiredError}
|
|
592
|
-
*/
|
|
593
|
-
apiV1ConsultationsConsultationIdGet(consultationId: string, isExternal?: boolean, languageCode?: string, options?: any): AxiosPromise<ConsultationModel> {
|
|
594
|
-
return localVarFp.apiV1ConsultationsConsultationIdGet(consultationId, isExternal, languageCode, options).then((request) => request(axios, basePath));
|
|
595
|
-
},
|
|
596
|
-
/**
|
|
597
|
-
*
|
|
598
|
-
* @summary Mark as Paid booking.
|
|
599
|
-
* @param {string} consultationId
|
|
600
|
-
* @param {*} [options] Override http request option.
|
|
601
|
-
* @throws {RequiredError}
|
|
602
|
-
*/
|
|
603
|
-
apiV1ConsultationsConsultationIdPaidPost(consultationId: string, options?: any): AxiosPromise<string> {
|
|
604
|
-
return localVarFp.apiV1ConsultationsConsultationIdPaidPost(consultationId, options).then((request) => request(axios, basePath));
|
|
605
|
-
},
|
|
606
|
-
/**
|
|
607
|
-
*
|
|
608
|
-
* @summary Reject consultation.
|
|
609
|
-
* @param {string} consultationId
|
|
610
|
-
* @param {RejectConsultationCommand} [rejectConsultationCommand]
|
|
611
|
-
* @param {*} [options] Override http request option.
|
|
612
|
-
* @throws {RequiredError}
|
|
613
|
-
*/
|
|
614
|
-
apiV1ConsultationsConsultationIdRejectPut(consultationId: string, rejectConsultationCommand?: RejectConsultationCommand, options?: any): AxiosPromise<boolean> {
|
|
615
|
-
return localVarFp.apiV1ConsultationsConsultationIdRejectPut(consultationId, rejectConsultationCommand, options).then((request) => request(axios, basePath));
|
|
616
|
-
},
|
|
617
|
-
/**
|
|
618
|
-
*
|
|
619
|
-
* @summary Get all consultations.
|
|
620
|
-
* @param {string} [userId]
|
|
621
|
-
* @param {string} [userName]
|
|
622
|
-
* @param {string} [hospitalId]
|
|
623
|
-
* @param {string} [hospitalName]
|
|
624
|
-
* @param {string} [doctorId]
|
|
625
|
-
* @param {string} [doctorName]
|
|
626
|
-
* @param {string} [dealId]
|
|
627
|
-
* @param {string} [dealName]
|
|
628
|
-
* @param {boolean} [isOpen]
|
|
629
|
-
* @param {boolean} [isCompleted]
|
|
630
|
-
* @param {ConsultationStatus} [status]
|
|
631
|
-
* @param {ConsultationType} [consultationType]
|
|
632
|
-
* @param {SortingOrder} [sortRequestDate]
|
|
633
|
-
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
634
|
-
* @param {boolean} [isExternal]
|
|
635
|
-
* @param {boolean} [paymentEnabled]
|
|
636
|
-
* @param {string} [languageCode]
|
|
637
|
-
* @param {boolean} [showHidden]
|
|
638
|
-
* @param {number} [page]
|
|
639
|
-
* @param {number} [limit]
|
|
640
|
-
* @param {Date} [lastRetrieved]
|
|
641
|
-
* @param {*} [options] Override http request option.
|
|
642
|
-
* @throws {RequiredError}
|
|
643
|
-
*/
|
|
644
|
-
apiV1ConsultationsGet(userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, sortRequestDate?: SortingOrder, sortConfirmedDateStart?: SortingOrder, isExternal?: boolean, paymentEnabled?: boolean, languageCode?: string, showHidden?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
|
|
645
|
-
return localVarFp.apiV1ConsultationsGet(userId, userName, hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, showHidden, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
646
|
-
},
|
|
647
|
-
};
|
|
648
|
-
};
|
|
649
|
-
|
|
650
|
-
/**
|
|
651
|
-
* Request parameters for apiV1ConsultationsConsultationIdApprovePut operation in ConsultationsApi.
|
|
652
|
-
* @export
|
|
653
|
-
* @interface ConsultationsApiApiV1ConsultationsConsultationIdApprovePutRequest
|
|
654
|
-
*/
|
|
655
|
-
export interface ConsultationsApiApiV1ConsultationsConsultationIdApprovePutRequest {
|
|
656
|
-
/**
|
|
657
|
-
*
|
|
658
|
-
* @type {string}
|
|
659
|
-
* @memberof ConsultationsApiApiV1ConsultationsConsultationIdApprovePut
|
|
660
|
-
*/
|
|
661
|
-
readonly consultationId: string
|
|
662
|
-
|
|
663
|
-
/**
|
|
664
|
-
*
|
|
665
|
-
* @type {ApproveConsultationCommand}
|
|
666
|
-
* @memberof ConsultationsApiApiV1ConsultationsConsultationIdApprovePut
|
|
667
|
-
*/
|
|
668
|
-
readonly approveConsultationCommand?: ApproveConsultationCommand
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
/**
|
|
672
|
-
* Request parameters for apiV1ConsultationsConsultationIdCancelPut operation in ConsultationsApi.
|
|
673
|
-
* @export
|
|
674
|
-
* @interface ConsultationsApiApiV1ConsultationsConsultationIdCancelPutRequest
|
|
675
|
-
*/
|
|
676
|
-
export interface ConsultationsApiApiV1ConsultationsConsultationIdCancelPutRequest {
|
|
677
|
-
/**
|
|
678
|
-
*
|
|
679
|
-
* @type {string}
|
|
680
|
-
* @memberof ConsultationsApiApiV1ConsultationsConsultationIdCancelPut
|
|
681
|
-
*/
|
|
682
|
-
readonly consultationId: string
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
/**
|
|
686
|
-
* Request parameters for apiV1ConsultationsConsultationIdDelete operation in ConsultationsApi.
|
|
687
|
-
* @export
|
|
688
|
-
* @interface ConsultationsApiApiV1ConsultationsConsultationIdDeleteRequest
|
|
689
|
-
*/
|
|
690
|
-
export interface ConsultationsApiApiV1ConsultationsConsultationIdDeleteRequest {
|
|
691
|
-
/**
|
|
692
|
-
*
|
|
693
|
-
* @type {string}
|
|
694
|
-
* @memberof ConsultationsApiApiV1ConsultationsConsultationIdDelete
|
|
695
|
-
*/
|
|
696
|
-
readonly consultationId: string
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
/**
|
|
700
|
-
* Request parameters for apiV1ConsultationsConsultationIdGet operation in ConsultationsApi.
|
|
701
|
-
* @export
|
|
702
|
-
* @interface ConsultationsApiApiV1ConsultationsConsultationIdGetRequest
|
|
703
|
-
*/
|
|
704
|
-
export interface ConsultationsApiApiV1ConsultationsConsultationIdGetRequest {
|
|
705
|
-
/**
|
|
706
|
-
*
|
|
707
|
-
* @type {string}
|
|
708
|
-
* @memberof ConsultationsApiApiV1ConsultationsConsultationIdGet
|
|
709
|
-
*/
|
|
710
|
-
readonly consultationId: string
|
|
711
|
-
|
|
712
|
-
/**
|
|
713
|
-
*
|
|
714
|
-
* @type {boolean}
|
|
715
|
-
* @memberof ConsultationsApiApiV1ConsultationsConsultationIdGet
|
|
716
|
-
*/
|
|
717
|
-
readonly isExternal?: boolean
|
|
718
|
-
|
|
719
|
-
/**
|
|
720
|
-
*
|
|
721
|
-
* @type {string}
|
|
722
|
-
* @memberof ConsultationsApiApiV1ConsultationsConsultationIdGet
|
|
723
|
-
*/
|
|
724
|
-
readonly languageCode?: string
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
/**
|
|
728
|
-
* Request parameters for apiV1ConsultationsConsultationIdPaidPost operation in ConsultationsApi.
|
|
729
|
-
* @export
|
|
730
|
-
* @interface ConsultationsApiApiV1ConsultationsConsultationIdPaidPostRequest
|
|
731
|
-
*/
|
|
732
|
-
export interface ConsultationsApiApiV1ConsultationsConsultationIdPaidPostRequest {
|
|
733
|
-
/**
|
|
734
|
-
*
|
|
735
|
-
* @type {string}
|
|
736
|
-
* @memberof ConsultationsApiApiV1ConsultationsConsultationIdPaidPost
|
|
737
|
-
*/
|
|
738
|
-
readonly consultationId: string
|
|
739
|
-
}
|
|
740
|
-
|
|
741
|
-
/**
|
|
742
|
-
* Request parameters for apiV1ConsultationsConsultationIdRejectPut operation in ConsultationsApi.
|
|
743
|
-
* @export
|
|
744
|
-
* @interface ConsultationsApiApiV1ConsultationsConsultationIdRejectPutRequest
|
|
745
|
-
*/
|
|
746
|
-
export interface ConsultationsApiApiV1ConsultationsConsultationIdRejectPutRequest {
|
|
747
|
-
/**
|
|
748
|
-
*
|
|
749
|
-
* @type {string}
|
|
750
|
-
* @memberof ConsultationsApiApiV1ConsultationsConsultationIdRejectPut
|
|
751
|
-
*/
|
|
752
|
-
readonly consultationId: string
|
|
753
|
-
|
|
754
|
-
/**
|
|
755
|
-
*
|
|
756
|
-
* @type {RejectConsultationCommand}
|
|
757
|
-
* @memberof ConsultationsApiApiV1ConsultationsConsultationIdRejectPut
|
|
758
|
-
*/
|
|
759
|
-
readonly rejectConsultationCommand?: RejectConsultationCommand
|
|
760
|
-
}
|
|
761
|
-
|
|
762
|
-
/**
|
|
763
|
-
* Request parameters for apiV1ConsultationsGet operation in ConsultationsApi.
|
|
764
|
-
* @export
|
|
765
|
-
* @interface ConsultationsApiApiV1ConsultationsGetRequest
|
|
766
|
-
*/
|
|
767
|
-
export interface ConsultationsApiApiV1ConsultationsGetRequest {
|
|
768
|
-
/**
|
|
769
|
-
*
|
|
770
|
-
* @type {string}
|
|
771
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
772
|
-
*/
|
|
773
|
-
readonly userId?: string
|
|
774
|
-
|
|
775
|
-
/**
|
|
776
|
-
*
|
|
777
|
-
* @type {string}
|
|
778
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
779
|
-
*/
|
|
780
|
-
readonly userName?: string
|
|
781
|
-
|
|
782
|
-
/**
|
|
783
|
-
*
|
|
784
|
-
* @type {string}
|
|
785
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
786
|
-
*/
|
|
787
|
-
readonly hospitalId?: string
|
|
788
|
-
|
|
789
|
-
/**
|
|
790
|
-
*
|
|
791
|
-
* @type {string}
|
|
792
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
793
|
-
*/
|
|
794
|
-
readonly hospitalName?: string
|
|
795
|
-
|
|
796
|
-
/**
|
|
797
|
-
*
|
|
798
|
-
* @type {string}
|
|
799
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
800
|
-
*/
|
|
801
|
-
readonly doctorId?: string
|
|
802
|
-
|
|
803
|
-
/**
|
|
804
|
-
*
|
|
805
|
-
* @type {string}
|
|
806
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
807
|
-
*/
|
|
808
|
-
readonly doctorName?: string
|
|
809
|
-
|
|
810
|
-
/**
|
|
811
|
-
*
|
|
812
|
-
* @type {string}
|
|
813
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
814
|
-
*/
|
|
815
|
-
readonly dealId?: string
|
|
816
|
-
|
|
817
|
-
/**
|
|
818
|
-
*
|
|
819
|
-
* @type {string}
|
|
820
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
821
|
-
*/
|
|
822
|
-
readonly dealName?: string
|
|
823
|
-
|
|
824
|
-
/**
|
|
825
|
-
*
|
|
826
|
-
* @type {boolean}
|
|
827
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
828
|
-
*/
|
|
829
|
-
readonly isOpen?: boolean
|
|
830
|
-
|
|
831
|
-
/**
|
|
832
|
-
*
|
|
833
|
-
* @type {boolean}
|
|
834
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
835
|
-
*/
|
|
836
|
-
readonly isCompleted?: boolean
|
|
837
|
-
|
|
838
|
-
/**
|
|
839
|
-
*
|
|
840
|
-
* @type {ConsultationStatus}
|
|
841
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
842
|
-
*/
|
|
843
|
-
readonly status?: ConsultationStatus
|
|
844
|
-
|
|
845
|
-
/**
|
|
846
|
-
*
|
|
847
|
-
* @type {ConsultationType}
|
|
848
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
849
|
-
*/
|
|
850
|
-
readonly consultationType?: ConsultationType
|
|
851
|
-
|
|
852
|
-
/**
|
|
853
|
-
*
|
|
854
|
-
* @type {SortingOrder}
|
|
855
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
856
|
-
*/
|
|
857
|
-
readonly sortRequestDate?: SortingOrder
|
|
858
|
-
|
|
859
|
-
/**
|
|
860
|
-
*
|
|
861
|
-
* @type {SortingOrder}
|
|
862
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
863
|
-
*/
|
|
864
|
-
readonly sortConfirmedDateStart?: SortingOrder
|
|
865
|
-
|
|
866
|
-
/**
|
|
867
|
-
*
|
|
868
|
-
* @type {boolean}
|
|
869
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
870
|
-
*/
|
|
871
|
-
readonly isExternal?: boolean
|
|
872
|
-
|
|
873
|
-
/**
|
|
874
|
-
*
|
|
875
|
-
* @type {boolean}
|
|
876
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
877
|
-
*/
|
|
878
|
-
readonly paymentEnabled?: boolean
|
|
879
|
-
|
|
880
|
-
/**
|
|
881
|
-
*
|
|
882
|
-
* @type {string}
|
|
883
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
884
|
-
*/
|
|
885
|
-
readonly languageCode?: string
|
|
886
|
-
|
|
887
|
-
/**
|
|
888
|
-
*
|
|
889
|
-
* @type {boolean}
|
|
890
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
891
|
-
*/
|
|
892
|
-
readonly showHidden?: boolean
|
|
893
|
-
|
|
894
|
-
/**
|
|
895
|
-
*
|
|
896
|
-
* @type {number}
|
|
897
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
898
|
-
*/
|
|
899
|
-
readonly page?: number
|
|
900
|
-
|
|
901
|
-
/**
|
|
902
|
-
*
|
|
903
|
-
* @type {number}
|
|
904
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
905
|
-
*/
|
|
906
|
-
readonly limit?: number
|
|
907
|
-
|
|
908
|
-
/**
|
|
909
|
-
*
|
|
910
|
-
* @type {Date}
|
|
911
|
-
* @memberof ConsultationsApiApiV1ConsultationsGet
|
|
912
|
-
*/
|
|
913
|
-
readonly lastRetrieved?: Date
|
|
914
|
-
}
|
|
915
|
-
|
|
916
|
-
/**
|
|
917
|
-
* ConsultationsApi - object-oriented interface
|
|
918
|
-
* @export
|
|
919
|
-
* @class ConsultationsApi
|
|
920
|
-
* @extends {BaseAPI}
|
|
921
|
-
*/
|
|
922
|
-
export class ConsultationsApi extends BaseAPI {
|
|
923
|
-
/**
|
|
924
|
-
*
|
|
925
|
-
* @summary Approve consultation.
|
|
926
|
-
* @param {ConsultationsApiApiV1ConsultationsConsultationIdApprovePutRequest} requestParameters Request parameters.
|
|
927
|
-
* @param {*} [options] Override http request option.
|
|
928
|
-
* @throws {RequiredError}
|
|
929
|
-
* @memberof ConsultationsApi
|
|
930
|
-
*/
|
|
931
|
-
public apiV1ConsultationsConsultationIdApprovePut(requestParameters: ConsultationsApiApiV1ConsultationsConsultationIdApprovePutRequest, options?: AxiosRequestConfig) {
|
|
932
|
-
return ConsultationsApiFp(this.configuration).apiV1ConsultationsConsultationIdApprovePut(requestParameters.consultationId, requestParameters.approveConsultationCommand, options).then((request) => request(this.axios, this.basePath));
|
|
933
|
-
}
|
|
934
|
-
|
|
935
|
-
/**
|
|
936
|
-
*
|
|
937
|
-
* @summary Cancel consultation.
|
|
938
|
-
* @param {ConsultationsApiApiV1ConsultationsConsultationIdCancelPutRequest} requestParameters Request parameters.
|
|
939
|
-
* @param {*} [options] Override http request option.
|
|
940
|
-
* @throws {RequiredError}
|
|
941
|
-
* @memberof ConsultationsApi
|
|
942
|
-
*/
|
|
943
|
-
public apiV1ConsultationsConsultationIdCancelPut(requestParameters: ConsultationsApiApiV1ConsultationsConsultationIdCancelPutRequest, options?: AxiosRequestConfig) {
|
|
944
|
-
return ConsultationsApiFp(this.configuration).apiV1ConsultationsConsultationIdCancelPut(requestParameters.consultationId, options).then((request) => request(this.axios, this.basePath));
|
|
945
|
-
}
|
|
946
|
-
|
|
947
|
-
/**
|
|
948
|
-
*
|
|
949
|
-
* @summary Delete consultation.
|
|
950
|
-
* @param {ConsultationsApiApiV1ConsultationsConsultationIdDeleteRequest} requestParameters Request parameters.
|
|
951
|
-
* @param {*} [options] Override http request option.
|
|
952
|
-
* @throws {RequiredError}
|
|
953
|
-
* @memberof ConsultationsApi
|
|
954
|
-
*/
|
|
955
|
-
public apiV1ConsultationsConsultationIdDelete(requestParameters: ConsultationsApiApiV1ConsultationsConsultationIdDeleteRequest, options?: AxiosRequestConfig) {
|
|
956
|
-
return ConsultationsApiFp(this.configuration).apiV1ConsultationsConsultationIdDelete(requestParameters.consultationId, options).then((request) => request(this.axios, this.basePath));
|
|
957
|
-
}
|
|
958
|
-
|
|
959
|
-
/**
|
|
960
|
-
*
|
|
961
|
-
* @summary Get consultation.
|
|
962
|
-
* @param {ConsultationsApiApiV1ConsultationsConsultationIdGetRequest} requestParameters Request parameters.
|
|
963
|
-
* @param {*} [options] Override http request option.
|
|
964
|
-
* @throws {RequiredError}
|
|
965
|
-
* @memberof ConsultationsApi
|
|
966
|
-
*/
|
|
967
|
-
public apiV1ConsultationsConsultationIdGet(requestParameters: ConsultationsApiApiV1ConsultationsConsultationIdGetRequest, options?: AxiosRequestConfig) {
|
|
968
|
-
return ConsultationsApiFp(this.configuration).apiV1ConsultationsConsultationIdGet(requestParameters.consultationId, requestParameters.isExternal, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
969
|
-
}
|
|
970
|
-
|
|
971
|
-
/**
|
|
972
|
-
*
|
|
973
|
-
* @summary Mark as Paid booking.
|
|
974
|
-
* @param {ConsultationsApiApiV1ConsultationsConsultationIdPaidPostRequest} requestParameters Request parameters.
|
|
975
|
-
* @param {*} [options] Override http request option.
|
|
976
|
-
* @throws {RequiredError}
|
|
977
|
-
* @memberof ConsultationsApi
|
|
978
|
-
*/
|
|
979
|
-
public apiV1ConsultationsConsultationIdPaidPost(requestParameters: ConsultationsApiApiV1ConsultationsConsultationIdPaidPostRequest, options?: AxiosRequestConfig) {
|
|
980
|
-
return ConsultationsApiFp(this.configuration).apiV1ConsultationsConsultationIdPaidPost(requestParameters.consultationId, options).then((request) => request(this.axios, this.basePath));
|
|
981
|
-
}
|
|
982
|
-
|
|
983
|
-
/**
|
|
984
|
-
*
|
|
985
|
-
* @summary Reject consultation.
|
|
986
|
-
* @param {ConsultationsApiApiV1ConsultationsConsultationIdRejectPutRequest} requestParameters Request parameters.
|
|
987
|
-
* @param {*} [options] Override http request option.
|
|
988
|
-
* @throws {RequiredError}
|
|
989
|
-
* @memberof ConsultationsApi
|
|
990
|
-
*/
|
|
991
|
-
public apiV1ConsultationsConsultationIdRejectPut(requestParameters: ConsultationsApiApiV1ConsultationsConsultationIdRejectPutRequest, options?: AxiosRequestConfig) {
|
|
992
|
-
return ConsultationsApiFp(this.configuration).apiV1ConsultationsConsultationIdRejectPut(requestParameters.consultationId, requestParameters.rejectConsultationCommand, options).then((request) => request(this.axios, this.basePath));
|
|
993
|
-
}
|
|
994
|
-
|
|
995
|
-
/**
|
|
996
|
-
*
|
|
997
|
-
* @summary Get all consultations.
|
|
998
|
-
* @param {ConsultationsApiApiV1ConsultationsGetRequest} requestParameters Request parameters.
|
|
999
|
-
* @param {*} [options] Override http request option.
|
|
1000
|
-
* @throws {RequiredError}
|
|
1001
|
-
* @memberof ConsultationsApi
|
|
1002
|
-
*/
|
|
1003
|
-
public apiV1ConsultationsGet(requestParameters: ConsultationsApiApiV1ConsultationsGetRequest = {}, options?: AxiosRequestConfig) {
|
|
1004
|
-
return ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(requestParameters.userId, requestParameters.userName, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.doctorId, requestParameters.doctorName, requestParameters.dealId, requestParameters.dealName, requestParameters.isOpen, requestParameters.isCompleted, requestParameters.status, requestParameters.consultationType, requestParameters.sortRequestDate, requestParameters.sortConfirmedDateStart, requestParameters.isExternal, requestParameters.paymentEnabled, requestParameters.languageCode, requestParameters.showHidden, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
1005
|
-
}
|
|
1006
|
-
}
|