ch-api-client-typescript2 5.15.0 → 5.16.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/doctor-affiliations-api.d.ts +3 -12
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -1
- package/lib/api/doctor-affiliations-api.js +6 -12
- package/lib/api.d.ts +0 -3
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +0 -3
- package/lib/models/index.d.ts +0 -20
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +0 -20
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +0 -23
- package/src/api/doctor-affiliations-api.ts +6 -20
- package/src/api.ts +0 -3
- package/src/models/index.ts +0 -20
- package/lib/api/bookings-api.d.ts +0 -439
- package/lib/api/bookings-api.d.ts.map +0 -1
- package/lib/api/bookings-api.js +0 -665
- package/lib/api/consultations-api.d.ts +0 -421
- package/lib/api/consultations-api.d.ts.map +0 -1
- package/lib/api/consultations-api.js +0 -653
- package/lib/api/hospitals-consultation-timetables-api.d.ts +0 -124
- package/lib/api/hospitals-consultation-timetables-api.d.ts.map +0 -1
- package/lib/api/hospitals-consultation-timetables-api.js +0 -240
- 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-item-model.d.ts +0 -233
- 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 -240
- package/lib/models/booking-model.d.ts.map +0 -1
- package/lib/models/booking-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-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-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-timetable-date-model.d.ts +0 -58
- package/lib/models/consultation-timetable-date-model.d.ts.map +0 -1
- package/lib/models/consultation-timetable-date-model.js +0 -15
- package/lib/models/consultation-timetable-model.d.ts +0 -44
- package/lib/models/consultation-timetable-model.d.ts.map +0 -1
- package/lib/models/consultation-timetable-model.js +0 -15
- package/lib/models/consultation-timetable-status.d.ts +0 -22
- package/lib/models/consultation-timetable-status.d.ts.map +0 -1
- package/lib/models/consultation-timetable-status.js +0 -25
- package/lib/models/consultation-timetable-time-slot-model.d.ts +0 -56
- package/lib/models/consultation-timetable-time-slot-model.d.ts.map +0 -1
- package/lib/models/consultation-timetable-time-slot-model.js +0 -15
- 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-booking-command.d.ts +0 -104
- package/lib/models/create-booking-command.d.ts.map +0 -1
- package/lib/models/create-booking-command.js +0 -15
- package/lib/models/create-consultation-command.d.ts +0 -135
- package/lib/models/create-consultation-command.d.ts.map +0 -1
- package/lib/models/create-consultation-command.js +0 -15
- package/lib/models/sorting-order.d.ts +0 -22
- package/lib/models/sorting-order.d.ts.map +0 -1
- package/lib/models/sorting-order.js +0 -25
- package/lib/models/update-booking-command.d.ts +0 -86
- package/lib/models/update-booking-command.d.ts.map +0 -1
- package/lib/models/update-booking-command.js +0 -15
- package/lib/models/update-consultation-command.d.ts +0 -110
- package/lib/models/update-consultation-command.d.ts.map +0 -1
- package/lib/models/update-consultation-command.js +0 -15
- package/src/api/bookings-api.ts +0 -748
- package/src/api/consultations-api.ts +0 -720
- package/src/api/hospitals-consultation-timetables-api.ts +0 -201
- package/src/models/booking-change-log-model.ts +0 -51
- package/src/models/booking-item-model.ts +0 -246
- package/src/models/booking-model.ts +0 -255
- 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-item-model.ts +0 -288
- package/src/models/consultation-model.ts +0 -297
- package/src/models/consultation-status.ts +0 -36
- package/src/models/consultation-timetable-date-model.ts +0 -69
- package/src/models/consultation-timetable-model.ts +0 -51
- package/src/models/consultation-timetable-status.ts +0 -31
- package/src/models/consultation-timetable-time-slot-model.ts +0 -63
- package/src/models/consultation-type.ts +0 -32
- package/src/models/consultations-model.ts +0 -42
- package/src/models/create-booking-command.ts +0 -111
- package/src/models/create-consultation-command.ts +0 -144
- package/src/models/sorting-order.ts +0 -31
- package/src/models/update-booking-command.ts +0 -93
- package/src/models/update-consultation-command.ts +0 -117
|
@@ -1,720 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* Swagger UI - Cloud Hospital Api-INT
|
|
5
|
-
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 2
|
|
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 { ConsultationModel } from '../models';
|
|
25
|
-
// @ts-ignore
|
|
26
|
-
import { ConsultationStatus } from '../models';
|
|
27
|
-
// @ts-ignore
|
|
28
|
-
import { ConsultationType } from '../models';
|
|
29
|
-
// @ts-ignore
|
|
30
|
-
import { ConsultationsModel } from '../models';
|
|
31
|
-
// @ts-ignore
|
|
32
|
-
import { CreateConsultationCommand } from '../models';
|
|
33
|
-
// @ts-ignore
|
|
34
|
-
import { UpdateConsultationCommand } from '../models';
|
|
35
|
-
/**
|
|
36
|
-
* ConsultationsApi - axios parameter creator
|
|
37
|
-
* @export
|
|
38
|
-
*/
|
|
39
|
-
export const ConsultationsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
40
|
-
return {
|
|
41
|
-
/**
|
|
42
|
-
*
|
|
43
|
-
* @summary Get consultation.
|
|
44
|
-
* @param {string} consultationId
|
|
45
|
-
* @param {string} [languageCode]
|
|
46
|
-
* @param {*} [options] Override http request option.
|
|
47
|
-
* @throws {RequiredError}
|
|
48
|
-
*/
|
|
49
|
-
apiV2ConsultationsConsultationIdGet: async (consultationId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
50
|
-
// verify required parameter 'consultationId' is not null or undefined
|
|
51
|
-
assertParamExists('apiV2ConsultationsConsultationIdGet', 'consultationId', consultationId)
|
|
52
|
-
const localVarPath = `/api/v2/consultations/{consultationId}`
|
|
53
|
-
.replace(`{${"consultationId"}}`, encodeURIComponent(String(consultationId)));
|
|
54
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
55
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
56
|
-
let baseOptions;
|
|
57
|
-
if (configuration) {
|
|
58
|
-
baseOptions = configuration.baseOptions;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
62
|
-
const localVarHeaderParameter = {} as any;
|
|
63
|
-
const localVarQueryParameter = {} as any;
|
|
64
|
-
|
|
65
|
-
// authentication oauth2 required
|
|
66
|
-
// oauth required
|
|
67
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
68
|
-
|
|
69
|
-
if (languageCode !== undefined) {
|
|
70
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
76
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
77
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
78
|
-
|
|
79
|
-
return {
|
|
80
|
-
url: toPathString(localVarUrlObj),
|
|
81
|
-
options: localVarRequestOptions,
|
|
82
|
-
};
|
|
83
|
-
},
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @summary Pay consultation.
|
|
87
|
-
* @param {string} consultationId
|
|
88
|
-
* @param {*} [options] Override http request option.
|
|
89
|
-
* @throws {RequiredError}
|
|
90
|
-
*/
|
|
91
|
-
apiV2ConsultationsConsultationIdPayPost: async (consultationId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
92
|
-
// verify required parameter 'consultationId' is not null or undefined
|
|
93
|
-
assertParamExists('apiV2ConsultationsConsultationIdPayPost', 'consultationId', consultationId)
|
|
94
|
-
const localVarPath = `/api/v2/consultations/{consultationId}/pay`
|
|
95
|
-
.replace(`{${"consultationId"}}`, encodeURIComponent(String(consultationId)));
|
|
96
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
97
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
98
|
-
let baseOptions;
|
|
99
|
-
if (configuration) {
|
|
100
|
-
baseOptions = configuration.baseOptions;
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
104
|
-
const localVarHeaderParameter = {} as any;
|
|
105
|
-
const localVarQueryParameter = {} as any;
|
|
106
|
-
|
|
107
|
-
// authentication oauth2 required
|
|
108
|
-
// oauth required
|
|
109
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
114
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
115
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
116
|
-
|
|
117
|
-
return {
|
|
118
|
-
url: toPathString(localVarUrlObj),
|
|
119
|
-
options: localVarRequestOptions,
|
|
120
|
-
};
|
|
121
|
-
},
|
|
122
|
-
/**
|
|
123
|
-
*
|
|
124
|
-
* @summary Update consultation.
|
|
125
|
-
* @param {string} consultationId
|
|
126
|
-
* @param {UpdateConsultationCommand} [updateConsultationCommand]
|
|
127
|
-
* @param {*} [options] Override http request option.
|
|
128
|
-
* @throws {RequiredError}
|
|
129
|
-
*/
|
|
130
|
-
apiV2ConsultationsConsultationIdPut: async (consultationId: string, updateConsultationCommand?: UpdateConsultationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
131
|
-
// verify required parameter 'consultationId' is not null or undefined
|
|
132
|
-
assertParamExists('apiV2ConsultationsConsultationIdPut', 'consultationId', consultationId)
|
|
133
|
-
const localVarPath = `/api/v2/consultations/{consultationId}`
|
|
134
|
-
.replace(`{${"consultationId"}}`, encodeURIComponent(String(consultationId)));
|
|
135
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
136
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
137
|
-
let baseOptions;
|
|
138
|
-
if (configuration) {
|
|
139
|
-
baseOptions = configuration.baseOptions;
|
|
140
|
-
}
|
|
141
|
-
|
|
142
|
-
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
|
|
143
|
-
const localVarHeaderParameter = {} as any;
|
|
144
|
-
const localVarQueryParameter = {} as any;
|
|
145
|
-
|
|
146
|
-
// authentication oauth2 required
|
|
147
|
-
// oauth required
|
|
148
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
153
|
-
|
|
154
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
155
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
156
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
157
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateConsultationCommand, localVarRequestOptions, configuration)
|
|
158
|
-
|
|
159
|
-
return {
|
|
160
|
-
url: toPathString(localVarUrlObj),
|
|
161
|
-
options: localVarRequestOptions,
|
|
162
|
-
};
|
|
163
|
-
},
|
|
164
|
-
/**
|
|
165
|
-
*
|
|
166
|
-
* @summary Get all consultations.
|
|
167
|
-
* @param {string} [hospitalId]
|
|
168
|
-
* @param {string} [hospitalName]
|
|
169
|
-
* @param {string} [doctorId]
|
|
170
|
-
* @param {string} [doctorName]
|
|
171
|
-
* @param {string} [dealId]
|
|
172
|
-
* @param {string} [dealName]
|
|
173
|
-
* @param {boolean} [isOpen]
|
|
174
|
-
* @param {boolean} [isCompleted]
|
|
175
|
-
* @param {ConsultationStatus} [status]
|
|
176
|
-
* @param {ConsultationType} [consultationType]
|
|
177
|
-
* @param {string} [languageCode]
|
|
178
|
-
* @param {number} [page]
|
|
179
|
-
* @param {number} [limit]
|
|
180
|
-
* @param {Date} [lastRetrieved]
|
|
181
|
-
* @param {*} [options] Override http request option.
|
|
182
|
-
* @throws {RequiredError}
|
|
183
|
-
*/
|
|
184
|
-
apiV2ConsultationsGet: async (hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
185
|
-
const localVarPath = `/api/v2/consultations`;
|
|
186
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
187
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
188
|
-
let baseOptions;
|
|
189
|
-
if (configuration) {
|
|
190
|
-
baseOptions = configuration.baseOptions;
|
|
191
|
-
}
|
|
192
|
-
|
|
193
|
-
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
194
|
-
const localVarHeaderParameter = {} as any;
|
|
195
|
-
const localVarQueryParameter = {} as any;
|
|
196
|
-
|
|
197
|
-
// authentication oauth2 required
|
|
198
|
-
// oauth required
|
|
199
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
200
|
-
|
|
201
|
-
if (hospitalId !== undefined) {
|
|
202
|
-
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
203
|
-
}
|
|
204
|
-
|
|
205
|
-
if (hospitalName !== undefined) {
|
|
206
|
-
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
207
|
-
}
|
|
208
|
-
|
|
209
|
-
if (doctorId !== undefined) {
|
|
210
|
-
localVarQueryParameter['DoctorId'] = doctorId;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
|
-
if (doctorName !== undefined) {
|
|
214
|
-
localVarQueryParameter['DoctorName'] = doctorName;
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
if (dealId !== undefined) {
|
|
218
|
-
localVarQueryParameter['DealId'] = dealId;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
if (dealName !== undefined) {
|
|
222
|
-
localVarQueryParameter['DealName'] = dealName;
|
|
223
|
-
}
|
|
224
|
-
|
|
225
|
-
if (isOpen !== undefined) {
|
|
226
|
-
localVarQueryParameter['IsOpen'] = isOpen;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
if (isCompleted !== undefined) {
|
|
230
|
-
localVarQueryParameter['IsCompleted'] = isCompleted;
|
|
231
|
-
}
|
|
232
|
-
|
|
233
|
-
if (status !== undefined) {
|
|
234
|
-
localVarQueryParameter['Status'] = status;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
if (consultationType !== undefined) {
|
|
238
|
-
localVarQueryParameter['ConsultationType'] = consultationType;
|
|
239
|
-
}
|
|
240
|
-
|
|
241
|
-
if (languageCode !== undefined) {
|
|
242
|
-
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
243
|
-
}
|
|
244
|
-
|
|
245
|
-
if (page !== undefined) {
|
|
246
|
-
localVarQueryParameter['page'] = page;
|
|
247
|
-
}
|
|
248
|
-
|
|
249
|
-
if (limit !== undefined) {
|
|
250
|
-
localVarQueryParameter['limit'] = limit;
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
if (lastRetrieved !== undefined) {
|
|
254
|
-
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
255
|
-
(lastRetrieved as any).toISOString() :
|
|
256
|
-
lastRetrieved;
|
|
257
|
-
}
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
262
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
263
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
264
|
-
|
|
265
|
-
return {
|
|
266
|
-
url: toPathString(localVarUrlObj),
|
|
267
|
-
options: localVarRequestOptions,
|
|
268
|
-
};
|
|
269
|
-
},
|
|
270
|
-
/**
|
|
271
|
-
*
|
|
272
|
-
* @summary Create consultation.
|
|
273
|
-
* @param {string} requestId
|
|
274
|
-
* @param {CreateConsultationCommand} [createConsultationCommand]
|
|
275
|
-
* @param {*} [options] Override http request option.
|
|
276
|
-
* @throws {RequiredError}
|
|
277
|
-
*/
|
|
278
|
-
apiV2ConsultationsRequestIdPost: async (requestId: string, createConsultationCommand?: CreateConsultationCommand, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
279
|
-
// verify required parameter 'requestId' is not null or undefined
|
|
280
|
-
assertParamExists('apiV2ConsultationsRequestIdPost', 'requestId', requestId)
|
|
281
|
-
const localVarPath = `/api/v2/consultations/{requestId}`
|
|
282
|
-
.replace(`{${"requestId"}}`, encodeURIComponent(String(requestId)));
|
|
283
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
284
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
285
|
-
let baseOptions;
|
|
286
|
-
if (configuration) {
|
|
287
|
-
baseOptions = configuration.baseOptions;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
291
|
-
const localVarHeaderParameter = {} as any;
|
|
292
|
-
const localVarQueryParameter = {} as any;
|
|
293
|
-
|
|
294
|
-
// authentication oauth2 required
|
|
295
|
-
// oauth required
|
|
296
|
-
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_api", "IdentityServerApi"], configuration)
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
301
|
-
|
|
302
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
303
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
304
|
-
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
305
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createConsultationCommand, localVarRequestOptions, configuration)
|
|
306
|
-
|
|
307
|
-
return {
|
|
308
|
-
url: toPathString(localVarUrlObj),
|
|
309
|
-
options: localVarRequestOptions,
|
|
310
|
-
};
|
|
311
|
-
},
|
|
312
|
-
}
|
|
313
|
-
};
|
|
314
|
-
|
|
315
|
-
/**
|
|
316
|
-
* ConsultationsApi - functional programming interface
|
|
317
|
-
* @export
|
|
318
|
-
*/
|
|
319
|
-
export const ConsultationsApiFp = function(configuration?: Configuration) {
|
|
320
|
-
const localVarAxiosParamCreator = ConsultationsApiAxiosParamCreator(configuration)
|
|
321
|
-
return {
|
|
322
|
-
/**
|
|
323
|
-
*
|
|
324
|
-
* @summary Get consultation.
|
|
325
|
-
* @param {string} consultationId
|
|
326
|
-
* @param {string} [languageCode]
|
|
327
|
-
* @param {*} [options] Override http request option.
|
|
328
|
-
* @throws {RequiredError}
|
|
329
|
-
*/
|
|
330
|
-
async apiV2ConsultationsConsultationIdGet(consultationId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationModel>> {
|
|
331
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ConsultationsConsultationIdGet(consultationId, languageCode, options);
|
|
332
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
333
|
-
},
|
|
334
|
-
/**
|
|
335
|
-
*
|
|
336
|
-
* @summary Pay consultation.
|
|
337
|
-
* @param {string} consultationId
|
|
338
|
-
* @param {*} [options] Override http request option.
|
|
339
|
-
* @throws {RequiredError}
|
|
340
|
-
*/
|
|
341
|
-
async apiV2ConsultationsConsultationIdPayPost(consultationId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
|
|
342
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ConsultationsConsultationIdPayPost(consultationId, options);
|
|
343
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
344
|
-
},
|
|
345
|
-
/**
|
|
346
|
-
*
|
|
347
|
-
* @summary Update consultation.
|
|
348
|
-
* @param {string} consultationId
|
|
349
|
-
* @param {UpdateConsultationCommand} [updateConsultationCommand]
|
|
350
|
-
* @param {*} [options] Override http request option.
|
|
351
|
-
* @throws {RequiredError}
|
|
352
|
-
*/
|
|
353
|
-
async apiV2ConsultationsConsultationIdPut(consultationId: string, updateConsultationCommand?: UpdateConsultationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationModel>> {
|
|
354
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ConsultationsConsultationIdPut(consultationId, updateConsultationCommand, options);
|
|
355
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
356
|
-
},
|
|
357
|
-
/**
|
|
358
|
-
*
|
|
359
|
-
* @summary Get all consultations.
|
|
360
|
-
* @param {string} [hospitalId]
|
|
361
|
-
* @param {string} [hospitalName]
|
|
362
|
-
* @param {string} [doctorId]
|
|
363
|
-
* @param {string} [doctorName]
|
|
364
|
-
* @param {string} [dealId]
|
|
365
|
-
* @param {string} [dealName]
|
|
366
|
-
* @param {boolean} [isOpen]
|
|
367
|
-
* @param {boolean} [isCompleted]
|
|
368
|
-
* @param {ConsultationStatus} [status]
|
|
369
|
-
* @param {ConsultationType} [consultationType]
|
|
370
|
-
* @param {string} [languageCode]
|
|
371
|
-
* @param {number} [page]
|
|
372
|
-
* @param {number} [limit]
|
|
373
|
-
* @param {Date} [lastRetrieved]
|
|
374
|
-
* @param {*} [options] Override http request option.
|
|
375
|
-
* @throws {RequiredError}
|
|
376
|
-
*/
|
|
377
|
-
async apiV2ConsultationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationsModel>> {
|
|
378
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ConsultationsGet(hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options);
|
|
379
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
380
|
-
},
|
|
381
|
-
/**
|
|
382
|
-
*
|
|
383
|
-
* @summary Create consultation.
|
|
384
|
-
* @param {string} requestId
|
|
385
|
-
* @param {CreateConsultationCommand} [createConsultationCommand]
|
|
386
|
-
* @param {*} [options] Override http request option.
|
|
387
|
-
* @throws {RequiredError}
|
|
388
|
-
*/
|
|
389
|
-
async apiV2ConsultationsRequestIdPost(requestId: string, createConsultationCommand?: CreateConsultationCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ConsultationModel>> {
|
|
390
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2ConsultationsRequestIdPost(requestId, createConsultationCommand, options);
|
|
391
|
-
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
392
|
-
},
|
|
393
|
-
}
|
|
394
|
-
};
|
|
395
|
-
|
|
396
|
-
/**
|
|
397
|
-
* ConsultationsApi - factory interface
|
|
398
|
-
* @export
|
|
399
|
-
*/
|
|
400
|
-
export const ConsultationsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
401
|
-
const localVarFp = ConsultationsApiFp(configuration)
|
|
402
|
-
return {
|
|
403
|
-
/**
|
|
404
|
-
*
|
|
405
|
-
* @summary Get consultation.
|
|
406
|
-
* @param {string} consultationId
|
|
407
|
-
* @param {string} [languageCode]
|
|
408
|
-
* @param {*} [options] Override http request option.
|
|
409
|
-
* @throws {RequiredError}
|
|
410
|
-
*/
|
|
411
|
-
apiV2ConsultationsConsultationIdGet(consultationId: string, languageCode?: string, options?: any): AxiosPromise<ConsultationModel> {
|
|
412
|
-
return localVarFp.apiV2ConsultationsConsultationIdGet(consultationId, languageCode, options).then((request) => request(axios, basePath));
|
|
413
|
-
},
|
|
414
|
-
/**
|
|
415
|
-
*
|
|
416
|
-
* @summary Pay consultation.
|
|
417
|
-
* @param {string} consultationId
|
|
418
|
-
* @param {*} [options] Override http request option.
|
|
419
|
-
* @throws {RequiredError}
|
|
420
|
-
*/
|
|
421
|
-
apiV2ConsultationsConsultationIdPayPost(consultationId: string, options?: any): AxiosPromise<string> {
|
|
422
|
-
return localVarFp.apiV2ConsultationsConsultationIdPayPost(consultationId, options).then((request) => request(axios, basePath));
|
|
423
|
-
},
|
|
424
|
-
/**
|
|
425
|
-
*
|
|
426
|
-
* @summary Update consultation.
|
|
427
|
-
* @param {string} consultationId
|
|
428
|
-
* @param {UpdateConsultationCommand} [updateConsultationCommand]
|
|
429
|
-
* @param {*} [options] Override http request option.
|
|
430
|
-
* @throws {RequiredError}
|
|
431
|
-
*/
|
|
432
|
-
apiV2ConsultationsConsultationIdPut(consultationId: string, updateConsultationCommand?: UpdateConsultationCommand, options?: any): AxiosPromise<ConsultationModel> {
|
|
433
|
-
return localVarFp.apiV2ConsultationsConsultationIdPut(consultationId, updateConsultationCommand, options).then((request) => request(axios, basePath));
|
|
434
|
-
},
|
|
435
|
-
/**
|
|
436
|
-
*
|
|
437
|
-
* @summary Get all consultations.
|
|
438
|
-
* @param {string} [hospitalId]
|
|
439
|
-
* @param {string} [hospitalName]
|
|
440
|
-
* @param {string} [doctorId]
|
|
441
|
-
* @param {string} [doctorName]
|
|
442
|
-
* @param {string} [dealId]
|
|
443
|
-
* @param {string} [dealName]
|
|
444
|
-
* @param {boolean} [isOpen]
|
|
445
|
-
* @param {boolean} [isCompleted]
|
|
446
|
-
* @param {ConsultationStatus} [status]
|
|
447
|
-
* @param {ConsultationType} [consultationType]
|
|
448
|
-
* @param {string} [languageCode]
|
|
449
|
-
* @param {number} [page]
|
|
450
|
-
* @param {number} [limit]
|
|
451
|
-
* @param {Date} [lastRetrieved]
|
|
452
|
-
* @param {*} [options] Override http request option.
|
|
453
|
-
* @throws {RequiredError}
|
|
454
|
-
*/
|
|
455
|
-
apiV2ConsultationsGet(hospitalId?: string, hospitalName?: string, doctorId?: string, doctorName?: string, dealId?: string, dealName?: string, isOpen?: boolean, isCompleted?: boolean, status?: ConsultationStatus, consultationType?: ConsultationType, languageCode?: string, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<ConsultationsModel> {
|
|
456
|
-
return localVarFp.apiV2ConsultationsGet(hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
457
|
-
},
|
|
458
|
-
/**
|
|
459
|
-
*
|
|
460
|
-
* @summary Create consultation.
|
|
461
|
-
* @param {string} requestId
|
|
462
|
-
* @param {CreateConsultationCommand} [createConsultationCommand]
|
|
463
|
-
* @param {*} [options] Override http request option.
|
|
464
|
-
* @throws {RequiredError}
|
|
465
|
-
*/
|
|
466
|
-
apiV2ConsultationsRequestIdPost(requestId: string, createConsultationCommand?: CreateConsultationCommand, options?: any): AxiosPromise<ConsultationModel> {
|
|
467
|
-
return localVarFp.apiV2ConsultationsRequestIdPost(requestId, createConsultationCommand, options).then((request) => request(axios, basePath));
|
|
468
|
-
},
|
|
469
|
-
};
|
|
470
|
-
};
|
|
471
|
-
|
|
472
|
-
/**
|
|
473
|
-
* Request parameters for apiV2ConsultationsConsultationIdGet operation in ConsultationsApi.
|
|
474
|
-
* @export
|
|
475
|
-
* @interface ConsultationsApiApiV2ConsultationsConsultationIdGetRequest
|
|
476
|
-
*/
|
|
477
|
-
export interface ConsultationsApiApiV2ConsultationsConsultationIdGetRequest {
|
|
478
|
-
/**
|
|
479
|
-
*
|
|
480
|
-
* @type {string}
|
|
481
|
-
* @memberof ConsultationsApiApiV2ConsultationsConsultationIdGet
|
|
482
|
-
*/
|
|
483
|
-
readonly consultationId: string
|
|
484
|
-
|
|
485
|
-
/**
|
|
486
|
-
*
|
|
487
|
-
* @type {string}
|
|
488
|
-
* @memberof ConsultationsApiApiV2ConsultationsConsultationIdGet
|
|
489
|
-
*/
|
|
490
|
-
readonly languageCode?: string
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
/**
|
|
494
|
-
* Request parameters for apiV2ConsultationsConsultationIdPayPost operation in ConsultationsApi.
|
|
495
|
-
* @export
|
|
496
|
-
* @interface ConsultationsApiApiV2ConsultationsConsultationIdPayPostRequest
|
|
497
|
-
*/
|
|
498
|
-
export interface ConsultationsApiApiV2ConsultationsConsultationIdPayPostRequest {
|
|
499
|
-
/**
|
|
500
|
-
*
|
|
501
|
-
* @type {string}
|
|
502
|
-
* @memberof ConsultationsApiApiV2ConsultationsConsultationIdPayPost
|
|
503
|
-
*/
|
|
504
|
-
readonly consultationId: string
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
/**
|
|
508
|
-
* Request parameters for apiV2ConsultationsConsultationIdPut operation in ConsultationsApi.
|
|
509
|
-
* @export
|
|
510
|
-
* @interface ConsultationsApiApiV2ConsultationsConsultationIdPutRequest
|
|
511
|
-
*/
|
|
512
|
-
export interface ConsultationsApiApiV2ConsultationsConsultationIdPutRequest {
|
|
513
|
-
/**
|
|
514
|
-
*
|
|
515
|
-
* @type {string}
|
|
516
|
-
* @memberof ConsultationsApiApiV2ConsultationsConsultationIdPut
|
|
517
|
-
*/
|
|
518
|
-
readonly consultationId: string
|
|
519
|
-
|
|
520
|
-
/**
|
|
521
|
-
*
|
|
522
|
-
* @type {UpdateConsultationCommand}
|
|
523
|
-
* @memberof ConsultationsApiApiV2ConsultationsConsultationIdPut
|
|
524
|
-
*/
|
|
525
|
-
readonly updateConsultationCommand?: UpdateConsultationCommand
|
|
526
|
-
}
|
|
527
|
-
|
|
528
|
-
/**
|
|
529
|
-
* Request parameters for apiV2ConsultationsGet operation in ConsultationsApi.
|
|
530
|
-
* @export
|
|
531
|
-
* @interface ConsultationsApiApiV2ConsultationsGetRequest
|
|
532
|
-
*/
|
|
533
|
-
export interface ConsultationsApiApiV2ConsultationsGetRequest {
|
|
534
|
-
/**
|
|
535
|
-
*
|
|
536
|
-
* @type {string}
|
|
537
|
-
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
538
|
-
*/
|
|
539
|
-
readonly hospitalId?: string
|
|
540
|
-
|
|
541
|
-
/**
|
|
542
|
-
*
|
|
543
|
-
* @type {string}
|
|
544
|
-
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
545
|
-
*/
|
|
546
|
-
readonly hospitalName?: string
|
|
547
|
-
|
|
548
|
-
/**
|
|
549
|
-
*
|
|
550
|
-
* @type {string}
|
|
551
|
-
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
552
|
-
*/
|
|
553
|
-
readonly doctorId?: string
|
|
554
|
-
|
|
555
|
-
/**
|
|
556
|
-
*
|
|
557
|
-
* @type {string}
|
|
558
|
-
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
559
|
-
*/
|
|
560
|
-
readonly doctorName?: string
|
|
561
|
-
|
|
562
|
-
/**
|
|
563
|
-
*
|
|
564
|
-
* @type {string}
|
|
565
|
-
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
566
|
-
*/
|
|
567
|
-
readonly dealId?: string
|
|
568
|
-
|
|
569
|
-
/**
|
|
570
|
-
*
|
|
571
|
-
* @type {string}
|
|
572
|
-
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
573
|
-
*/
|
|
574
|
-
readonly dealName?: string
|
|
575
|
-
|
|
576
|
-
/**
|
|
577
|
-
*
|
|
578
|
-
* @type {boolean}
|
|
579
|
-
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
580
|
-
*/
|
|
581
|
-
readonly isOpen?: boolean
|
|
582
|
-
|
|
583
|
-
/**
|
|
584
|
-
*
|
|
585
|
-
* @type {boolean}
|
|
586
|
-
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
587
|
-
*/
|
|
588
|
-
readonly isCompleted?: boolean
|
|
589
|
-
|
|
590
|
-
/**
|
|
591
|
-
*
|
|
592
|
-
* @type {ConsultationStatus}
|
|
593
|
-
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
594
|
-
*/
|
|
595
|
-
readonly status?: ConsultationStatus
|
|
596
|
-
|
|
597
|
-
/**
|
|
598
|
-
*
|
|
599
|
-
* @type {ConsultationType}
|
|
600
|
-
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
601
|
-
*/
|
|
602
|
-
readonly consultationType?: ConsultationType
|
|
603
|
-
|
|
604
|
-
/**
|
|
605
|
-
*
|
|
606
|
-
* @type {string}
|
|
607
|
-
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
608
|
-
*/
|
|
609
|
-
readonly languageCode?: string
|
|
610
|
-
|
|
611
|
-
/**
|
|
612
|
-
*
|
|
613
|
-
* @type {number}
|
|
614
|
-
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
615
|
-
*/
|
|
616
|
-
readonly page?: number
|
|
617
|
-
|
|
618
|
-
/**
|
|
619
|
-
*
|
|
620
|
-
* @type {number}
|
|
621
|
-
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
622
|
-
*/
|
|
623
|
-
readonly limit?: number
|
|
624
|
-
|
|
625
|
-
/**
|
|
626
|
-
*
|
|
627
|
-
* @type {Date}
|
|
628
|
-
* @memberof ConsultationsApiApiV2ConsultationsGet
|
|
629
|
-
*/
|
|
630
|
-
readonly lastRetrieved?: Date
|
|
631
|
-
}
|
|
632
|
-
|
|
633
|
-
/**
|
|
634
|
-
* Request parameters for apiV2ConsultationsRequestIdPost operation in ConsultationsApi.
|
|
635
|
-
* @export
|
|
636
|
-
* @interface ConsultationsApiApiV2ConsultationsRequestIdPostRequest
|
|
637
|
-
*/
|
|
638
|
-
export interface ConsultationsApiApiV2ConsultationsRequestIdPostRequest {
|
|
639
|
-
/**
|
|
640
|
-
*
|
|
641
|
-
* @type {string}
|
|
642
|
-
* @memberof ConsultationsApiApiV2ConsultationsRequestIdPost
|
|
643
|
-
*/
|
|
644
|
-
readonly requestId: string
|
|
645
|
-
|
|
646
|
-
/**
|
|
647
|
-
*
|
|
648
|
-
* @type {CreateConsultationCommand}
|
|
649
|
-
* @memberof ConsultationsApiApiV2ConsultationsRequestIdPost
|
|
650
|
-
*/
|
|
651
|
-
readonly createConsultationCommand?: CreateConsultationCommand
|
|
652
|
-
}
|
|
653
|
-
|
|
654
|
-
/**
|
|
655
|
-
* ConsultationsApi - object-oriented interface
|
|
656
|
-
* @export
|
|
657
|
-
* @class ConsultationsApi
|
|
658
|
-
* @extends {BaseAPI}
|
|
659
|
-
*/
|
|
660
|
-
export class ConsultationsApi extends BaseAPI {
|
|
661
|
-
/**
|
|
662
|
-
*
|
|
663
|
-
* @summary Get consultation.
|
|
664
|
-
* @param {ConsultationsApiApiV2ConsultationsConsultationIdGetRequest} requestParameters Request parameters.
|
|
665
|
-
* @param {*} [options] Override http request option.
|
|
666
|
-
* @throws {RequiredError}
|
|
667
|
-
* @memberof ConsultationsApi
|
|
668
|
-
*/
|
|
669
|
-
public apiV2ConsultationsConsultationIdGet(requestParameters: ConsultationsApiApiV2ConsultationsConsultationIdGetRequest, options?: AxiosRequestConfig) {
|
|
670
|
-
return ConsultationsApiFp(this.configuration).apiV2ConsultationsConsultationIdGet(requestParameters.consultationId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
671
|
-
}
|
|
672
|
-
|
|
673
|
-
/**
|
|
674
|
-
*
|
|
675
|
-
* @summary Pay consultation.
|
|
676
|
-
* @param {ConsultationsApiApiV2ConsultationsConsultationIdPayPostRequest} requestParameters Request parameters.
|
|
677
|
-
* @param {*} [options] Override http request option.
|
|
678
|
-
* @throws {RequiredError}
|
|
679
|
-
* @memberof ConsultationsApi
|
|
680
|
-
*/
|
|
681
|
-
public apiV2ConsultationsConsultationIdPayPost(requestParameters: ConsultationsApiApiV2ConsultationsConsultationIdPayPostRequest, options?: AxiosRequestConfig) {
|
|
682
|
-
return ConsultationsApiFp(this.configuration).apiV2ConsultationsConsultationIdPayPost(requestParameters.consultationId, options).then((request) => request(this.axios, this.basePath));
|
|
683
|
-
}
|
|
684
|
-
|
|
685
|
-
/**
|
|
686
|
-
*
|
|
687
|
-
* @summary Update consultation.
|
|
688
|
-
* @param {ConsultationsApiApiV2ConsultationsConsultationIdPutRequest} requestParameters Request parameters.
|
|
689
|
-
* @param {*} [options] Override http request option.
|
|
690
|
-
* @throws {RequiredError}
|
|
691
|
-
* @memberof ConsultationsApi
|
|
692
|
-
*/
|
|
693
|
-
public apiV2ConsultationsConsultationIdPut(requestParameters: ConsultationsApiApiV2ConsultationsConsultationIdPutRequest, options?: AxiosRequestConfig) {
|
|
694
|
-
return ConsultationsApiFp(this.configuration).apiV2ConsultationsConsultationIdPut(requestParameters.consultationId, requestParameters.updateConsultationCommand, options).then((request) => request(this.axios, this.basePath));
|
|
695
|
-
}
|
|
696
|
-
|
|
697
|
-
/**
|
|
698
|
-
*
|
|
699
|
-
* @summary Get all consultations.
|
|
700
|
-
* @param {ConsultationsApiApiV2ConsultationsGetRequest} requestParameters Request parameters.
|
|
701
|
-
* @param {*} [options] Override http request option.
|
|
702
|
-
* @throws {RequiredError}
|
|
703
|
-
* @memberof ConsultationsApi
|
|
704
|
-
*/
|
|
705
|
-
public apiV2ConsultationsGet(requestParameters: ConsultationsApiApiV2ConsultationsGetRequest = {}, options?: AxiosRequestConfig) {
|
|
706
|
-
return ConsultationsApiFp(this.configuration).apiV2ConsultationsGet(requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.doctorId, requestParameters.doctorName, requestParameters.dealId, requestParameters.dealName, requestParameters.isOpen, requestParameters.isCompleted, requestParameters.status, requestParameters.consultationType, requestParameters.languageCode, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
707
|
-
}
|
|
708
|
-
|
|
709
|
-
/**
|
|
710
|
-
*
|
|
711
|
-
* @summary Create consultation.
|
|
712
|
-
* @param {ConsultationsApiApiV2ConsultationsRequestIdPostRequest} requestParameters Request parameters.
|
|
713
|
-
* @param {*} [options] Override http request option.
|
|
714
|
-
* @throws {RequiredError}
|
|
715
|
-
* @memberof ConsultationsApi
|
|
716
|
-
*/
|
|
717
|
-
public apiV2ConsultationsRequestIdPost(requestParameters: ConsultationsApiApiV2ConsultationsRequestIdPostRequest, options?: AxiosRequestConfig) {
|
|
718
|
-
return ConsultationsApiFp(this.configuration).apiV2ConsultationsRequestIdPost(requestParameters.requestId, requestParameters.createConsultationCommand, options).then((request) => request(this.axios, this.basePath));
|
|
719
|
-
}
|
|
720
|
-
}
|