ch-admin-api-client-typescript 5.3.2 → 5.3.4
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/call-histories-api.d.ts +263 -0
- package/lib/api/call-histories-api.d.ts.map +1 -0
- package/lib/api/call-histories-api.js +390 -0
- package/lib/api.d.ts +1 -0
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +1 -0
- package/lib/models/call-histories-model.d.ts +33 -0
- package/lib/models/call-histories-model.d.ts.map +1 -0
- package/lib/models/call-histories-model.js +15 -0
- package/lib/models/call-history-change-log-model.d.ts +44 -0
- package/lib/models/call-history-change-log-model.d.ts.map +1 -0
- package/lib/models/call-history-change-log-model.js +15 -0
- package/lib/models/call-history-item-model.d.ts +109 -0
- package/lib/models/call-history-item-model.d.ts.map +1 -0
- package/lib/models/call-history-item-model.js +15 -0
- package/lib/models/call-history-model.d.ts +122 -0
- package/lib/models/call-history-model.d.ts.map +1 -0
- package/lib/models/call-history-model.js +15 -0
- package/lib/models/call-status.d.ts +29 -0
- package/lib/models/call-status.d.ts.map +1 -0
- package/lib/models/call-status.js +32 -0
- package/lib/models/create-deal-command.d.ts +7 -1
- package/lib/models/create-deal-command.d.ts.map +1 -1
- package/lib/models/create-doctor-affiliation-command.d.ts +6 -0
- package/lib/models/create-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/create-grade-command.d.ts +6 -0
- package/lib/models/create-grade-command.d.ts.map +1 -1
- package/lib/models/create-hospital-command.d.ts +12 -0
- package/lib/models/create-hospital-command.d.ts.map +1 -1
- package/lib/models/create-hospital-contact-command.d.ts +6 -0
- package/lib/models/create-hospital-contact-command.d.ts.map +1 -1
- package/lib/models/deal-item-model.d.ts +6 -0
- package/lib/models/deal-item-model.d.ts.map +1 -1
- package/lib/models/deal-model.d.ts +6 -0
- package/lib/models/deal-model.d.ts.map +1 -1
- package/lib/models/doctor-affiliation-item-model.d.ts +6 -0
- package/lib/models/doctor-affiliation-item-model.d.ts.map +1 -1
- package/lib/models/doctor-affiliation-model.d.ts +6 -0
- package/lib/models/doctor-affiliation-model.d.ts.map +1 -1
- package/lib/models/grade-item-model.d.ts +6 -0
- package/lib/models/grade-item-model.d.ts.map +1 -1
- package/lib/models/grade-model.d.ts +6 -0
- package/lib/models/grade-model.d.ts.map +1 -1
- package/lib/models/hospital-contact-item-model.d.ts +6 -0
- package/lib/models/hospital-contact-item-model.d.ts.map +1 -1
- package/lib/models/hospital-contact-model.d.ts +6 -0
- package/lib/models/hospital-contact-model.d.ts.map +1 -1
- package/lib/models/hospital-item-model.d.ts +12 -0
- package/lib/models/hospital-item-model.d.ts.map +1 -1
- package/lib/models/hospital-model.d.ts +12 -0
- package/lib/models/hospital-model.d.ts.map +1 -1
- package/lib/models/index.d.ts +5 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +5 -0
- package/lib/models/update-deal-command.d.ts +6 -0
- package/lib/models/update-deal-command.d.ts.map +1 -1
- package/lib/models/update-doctor-affiliation-command.d.ts +6 -0
- package/lib/models/update-doctor-affiliation-command.d.ts.map +1 -1
- package/lib/models/update-grade-command.d.ts +6 -0
- package/lib/models/update-grade-command.d.ts.map +1 -1
- package/lib/models/update-hospital-command.d.ts +12 -0
- package/lib/models/update-hospital-command.d.ts.map +1 -1
- package/lib/models/update-hospital-contact-command.d.ts +6 -0
- package/lib/models/update-hospital-contact-command.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +6 -0
- package/src/api/call-histories-api.ts +443 -0
- package/src/api.ts +1 -0
- package/src/models/call-histories-model.ts +42 -0
- package/src/models/call-history-change-log-model.ts +51 -0
- package/src/models/call-history-item-model.ts +114 -0
- package/src/models/call-history-model.ts +129 -0
- package/src/models/call-status.ts +38 -0
- package/src/models/create-deal-command.ts +7 -1
- package/src/models/create-doctor-affiliation-command.ts +6 -0
- package/src/models/create-grade-command.ts +6 -0
- package/src/models/create-hospital-command.ts +12 -0
- package/src/models/create-hospital-contact-command.ts +6 -0
- package/src/models/deal-item-model.ts +6 -0
- package/src/models/deal-model.ts +6 -0
- package/src/models/doctor-affiliation-item-model.ts +6 -0
- package/src/models/doctor-affiliation-model.ts +6 -0
- package/src/models/grade-item-model.ts +6 -0
- package/src/models/grade-model.ts +6 -0
- package/src/models/hospital-contact-item-model.ts +6 -0
- package/src/models/hospital-contact-model.ts +6 -0
- package/src/models/hospital-item-model.ts +12 -0
- package/src/models/hospital-model.ts +12 -0
- package/src/models/index.ts +5 -0
- package/src/models/update-deal-command.ts +6 -0
- package/src/models/update-doctor-affiliation-command.ts +6 -0
- package/src/models/update-grade-command.ts +6 -0
- package/src/models/update-hospital-command.ts +12 -0
- package/src/models/update-hospital-contact-command.ts +6 -0
|
@@ -0,0 +1,443 @@
|
|
|
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 { CallHistoriesModel } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { CallHistoryModel } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
28
|
+
import { SortingOrder } from '../models';
|
|
29
|
+
/**
|
|
30
|
+
* CallHistoriesApi - axios parameter creator
|
|
31
|
+
* @export
|
|
32
|
+
*/
|
|
33
|
+
export const CallHistoriesApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
34
|
+
return {
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @param {string} callId
|
|
38
|
+
* @param {string} [languageCode]
|
|
39
|
+
* @param {*} [options] Override http request option.
|
|
40
|
+
* @throws {RequiredError}
|
|
41
|
+
*/
|
|
42
|
+
apiV2CallhistoriesCallIdGet: async (callId: string, languageCode?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
43
|
+
// verify required parameter 'callId' is not null or undefined
|
|
44
|
+
assertParamExists('apiV2CallhistoriesCallIdGet', 'callId', callId)
|
|
45
|
+
const localVarPath = `/api/v2/callhistories/{callId}`
|
|
46
|
+
.replace(`{${"callId"}}`, encodeURIComponent(String(callId)));
|
|
47
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
48
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
49
|
+
let baseOptions;
|
|
50
|
+
if (configuration) {
|
|
51
|
+
baseOptions = configuration.baseOptions;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
55
|
+
const localVarHeaderParameter = {} as any;
|
|
56
|
+
const localVarQueryParameter = {} as any;
|
|
57
|
+
|
|
58
|
+
// authentication oauth2 required
|
|
59
|
+
// oauth required
|
|
60
|
+
await setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)
|
|
61
|
+
|
|
62
|
+
if (languageCode !== undefined) {
|
|
63
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
|
|
68
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
69
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
70
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
71
|
+
|
|
72
|
+
return {
|
|
73
|
+
url: toPathString(localVarUrlObj),
|
|
74
|
+
options: localVarRequestOptions,
|
|
75
|
+
};
|
|
76
|
+
},
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @param {string} [id]
|
|
80
|
+
* @param {string} [userId]
|
|
81
|
+
* @param {string} [userName]
|
|
82
|
+
* @param {string} [hospitalId]
|
|
83
|
+
* @param {string} [hospitalName]
|
|
84
|
+
* @param {string} [virtualNumber]
|
|
85
|
+
* @param {string} [targetNumber]
|
|
86
|
+
* @param {Date} [startTime]
|
|
87
|
+
* @param {Date} [endTime]
|
|
88
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
89
|
+
* @param {string} [languageCode]
|
|
90
|
+
* @param {boolean} [isExternal]
|
|
91
|
+
* @param {number} [page]
|
|
92
|
+
* @param {number} [limit]
|
|
93
|
+
* @param {Date} [lastRetrieved]
|
|
94
|
+
* @param {*} [options] Override http request option.
|
|
95
|
+
* @throws {RequiredError}
|
|
96
|
+
*/
|
|
97
|
+
apiV2CallhistoriesGet: async (id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, virtualNumber?: string, targetNumber?: string, startTime?: Date, endTime?: Date, sortRequestDate?: SortingOrder, languageCode?: string, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
98
|
+
const localVarPath = `/api/v2/callhistories`;
|
|
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: 'GET', ...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
|
+
if (id !== undefined) {
|
|
115
|
+
localVarQueryParameter['Id'] = id;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
if (userId !== undefined) {
|
|
119
|
+
localVarQueryParameter['UserId'] = userId;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
if (userName !== undefined) {
|
|
123
|
+
localVarQueryParameter['UserName'] = userName;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
if (hospitalId !== undefined) {
|
|
127
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
if (hospitalName !== undefined) {
|
|
131
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
if (virtualNumber !== undefined) {
|
|
135
|
+
localVarQueryParameter['VirtualNumber'] = virtualNumber;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
if (targetNumber !== undefined) {
|
|
139
|
+
localVarQueryParameter['TargetNumber'] = targetNumber;
|
|
140
|
+
}
|
|
141
|
+
|
|
142
|
+
if (startTime !== undefined) {
|
|
143
|
+
localVarQueryParameter['StartTime'] = (startTime as any instanceof Date) ?
|
|
144
|
+
(startTime as any).toISOString() :
|
|
145
|
+
startTime;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
if (endTime !== undefined) {
|
|
149
|
+
localVarQueryParameter['EndTime'] = (endTime as any instanceof Date) ?
|
|
150
|
+
(endTime as any).toISOString() :
|
|
151
|
+
endTime;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
if (sortRequestDate !== undefined) {
|
|
155
|
+
localVarQueryParameter['SortRequestDate'] = sortRequestDate;
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
if (languageCode !== undefined) {
|
|
159
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
if (isExternal !== undefined) {
|
|
163
|
+
localVarQueryParameter['IsExternal'] = isExternal;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
if (page !== undefined) {
|
|
167
|
+
localVarQueryParameter['page'] = page;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
if (limit !== undefined) {
|
|
171
|
+
localVarQueryParameter['limit'] = limit;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
if (lastRetrieved !== undefined) {
|
|
175
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved as any instanceof Date) ?
|
|
176
|
+
(lastRetrieved as any).toISOString() :
|
|
177
|
+
lastRetrieved;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
|
|
182
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
183
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
184
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
185
|
+
|
|
186
|
+
return {
|
|
187
|
+
url: toPathString(localVarUrlObj),
|
|
188
|
+
options: localVarRequestOptions,
|
|
189
|
+
};
|
|
190
|
+
},
|
|
191
|
+
}
|
|
192
|
+
};
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* CallHistoriesApi - functional programming interface
|
|
196
|
+
* @export
|
|
197
|
+
*/
|
|
198
|
+
export const CallHistoriesApiFp = function(configuration?: Configuration) {
|
|
199
|
+
const localVarAxiosParamCreator = CallHistoriesApiAxiosParamCreator(configuration)
|
|
200
|
+
return {
|
|
201
|
+
/**
|
|
202
|
+
*
|
|
203
|
+
* @param {string} callId
|
|
204
|
+
* @param {string} [languageCode]
|
|
205
|
+
* @param {*} [options] Override http request option.
|
|
206
|
+
* @throws {RequiredError}
|
|
207
|
+
*/
|
|
208
|
+
async apiV2CallhistoriesCallIdGet(callId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CallHistoryModel>> {
|
|
209
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2CallhistoriesCallIdGet(callId, languageCode, options);
|
|
210
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
211
|
+
},
|
|
212
|
+
/**
|
|
213
|
+
*
|
|
214
|
+
* @param {string} [id]
|
|
215
|
+
* @param {string} [userId]
|
|
216
|
+
* @param {string} [userName]
|
|
217
|
+
* @param {string} [hospitalId]
|
|
218
|
+
* @param {string} [hospitalName]
|
|
219
|
+
* @param {string} [virtualNumber]
|
|
220
|
+
* @param {string} [targetNumber]
|
|
221
|
+
* @param {Date} [startTime]
|
|
222
|
+
* @param {Date} [endTime]
|
|
223
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
224
|
+
* @param {string} [languageCode]
|
|
225
|
+
* @param {boolean} [isExternal]
|
|
226
|
+
* @param {number} [page]
|
|
227
|
+
* @param {number} [limit]
|
|
228
|
+
* @param {Date} [lastRetrieved]
|
|
229
|
+
* @param {*} [options] Override http request option.
|
|
230
|
+
* @throws {RequiredError}
|
|
231
|
+
*/
|
|
232
|
+
async apiV2CallhistoriesGet(id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, virtualNumber?: string, targetNumber?: string, startTime?: Date, endTime?: Date, sortRequestDate?: SortingOrder, languageCode?: string, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CallHistoriesModel>> {
|
|
233
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.apiV2CallhistoriesGet(id, userId, userName, hospitalId, hospitalName, virtualNumber, targetNumber, startTime, endTime, sortRequestDate, languageCode, isExternal, page, limit, lastRetrieved, options);
|
|
234
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
235
|
+
},
|
|
236
|
+
}
|
|
237
|
+
};
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* CallHistoriesApi - factory interface
|
|
241
|
+
* @export
|
|
242
|
+
*/
|
|
243
|
+
export const CallHistoriesApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
244
|
+
const localVarFp = CallHistoriesApiFp(configuration)
|
|
245
|
+
return {
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @param {string} callId
|
|
249
|
+
* @param {string} [languageCode]
|
|
250
|
+
* @param {*} [options] Override http request option.
|
|
251
|
+
* @throws {RequiredError}
|
|
252
|
+
*/
|
|
253
|
+
apiV2CallhistoriesCallIdGet(callId: string, languageCode?: string, options?: any): AxiosPromise<CallHistoryModel> {
|
|
254
|
+
return localVarFp.apiV2CallhistoriesCallIdGet(callId, languageCode, options).then((request) => request(axios, basePath));
|
|
255
|
+
},
|
|
256
|
+
/**
|
|
257
|
+
*
|
|
258
|
+
* @param {string} [id]
|
|
259
|
+
* @param {string} [userId]
|
|
260
|
+
* @param {string} [userName]
|
|
261
|
+
* @param {string} [hospitalId]
|
|
262
|
+
* @param {string} [hospitalName]
|
|
263
|
+
* @param {string} [virtualNumber]
|
|
264
|
+
* @param {string} [targetNumber]
|
|
265
|
+
* @param {Date} [startTime]
|
|
266
|
+
* @param {Date} [endTime]
|
|
267
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
268
|
+
* @param {string} [languageCode]
|
|
269
|
+
* @param {boolean} [isExternal]
|
|
270
|
+
* @param {number} [page]
|
|
271
|
+
* @param {number} [limit]
|
|
272
|
+
* @param {Date} [lastRetrieved]
|
|
273
|
+
* @param {*} [options] Override http request option.
|
|
274
|
+
* @throws {RequiredError}
|
|
275
|
+
*/
|
|
276
|
+
apiV2CallhistoriesGet(id?: string, userId?: string, userName?: string, hospitalId?: string, hospitalName?: string, virtualNumber?: string, targetNumber?: string, startTime?: Date, endTime?: Date, sortRequestDate?: SortingOrder, languageCode?: string, isExternal?: boolean, page?: number, limit?: number, lastRetrieved?: Date, options?: any): AxiosPromise<CallHistoriesModel> {
|
|
277
|
+
return localVarFp.apiV2CallhistoriesGet(id, userId, userName, hospitalId, hospitalName, virtualNumber, targetNumber, startTime, endTime, sortRequestDate, languageCode, isExternal, page, limit, lastRetrieved, options).then((request) => request(axios, basePath));
|
|
278
|
+
},
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Request parameters for apiV2CallhistoriesCallIdGet operation in CallHistoriesApi.
|
|
284
|
+
* @export
|
|
285
|
+
* @interface CallHistoriesApiApiV2CallhistoriesCallIdGetRequest
|
|
286
|
+
*/
|
|
287
|
+
export interface CallHistoriesApiApiV2CallhistoriesCallIdGetRequest {
|
|
288
|
+
/**
|
|
289
|
+
*
|
|
290
|
+
* @type {string}
|
|
291
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesCallIdGet
|
|
292
|
+
*/
|
|
293
|
+
readonly callId: string
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
*
|
|
297
|
+
* @type {string}
|
|
298
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesCallIdGet
|
|
299
|
+
*/
|
|
300
|
+
readonly languageCode?: string
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
/**
|
|
304
|
+
* Request parameters for apiV2CallhistoriesGet operation in CallHistoriesApi.
|
|
305
|
+
* @export
|
|
306
|
+
* @interface CallHistoriesApiApiV2CallhistoriesGetRequest
|
|
307
|
+
*/
|
|
308
|
+
export interface CallHistoriesApiApiV2CallhistoriesGetRequest {
|
|
309
|
+
/**
|
|
310
|
+
*
|
|
311
|
+
* @type {string}
|
|
312
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
313
|
+
*/
|
|
314
|
+
readonly id?: string
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
*
|
|
318
|
+
* @type {string}
|
|
319
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
320
|
+
*/
|
|
321
|
+
readonly userId?: string
|
|
322
|
+
|
|
323
|
+
/**
|
|
324
|
+
*
|
|
325
|
+
* @type {string}
|
|
326
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
327
|
+
*/
|
|
328
|
+
readonly userName?: string
|
|
329
|
+
|
|
330
|
+
/**
|
|
331
|
+
*
|
|
332
|
+
* @type {string}
|
|
333
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
334
|
+
*/
|
|
335
|
+
readonly hospitalId?: string
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
*
|
|
339
|
+
* @type {string}
|
|
340
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
341
|
+
*/
|
|
342
|
+
readonly hospitalName?: string
|
|
343
|
+
|
|
344
|
+
/**
|
|
345
|
+
*
|
|
346
|
+
* @type {string}
|
|
347
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
348
|
+
*/
|
|
349
|
+
readonly virtualNumber?: string
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
*
|
|
353
|
+
* @type {string}
|
|
354
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
355
|
+
*/
|
|
356
|
+
readonly targetNumber?: string
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
*
|
|
360
|
+
* @type {Date}
|
|
361
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
362
|
+
*/
|
|
363
|
+
readonly startTime?: Date
|
|
364
|
+
|
|
365
|
+
/**
|
|
366
|
+
*
|
|
367
|
+
* @type {Date}
|
|
368
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
369
|
+
*/
|
|
370
|
+
readonly endTime?: Date
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
*
|
|
374
|
+
* @type {SortingOrder}
|
|
375
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
376
|
+
*/
|
|
377
|
+
readonly sortRequestDate?: SortingOrder
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
*
|
|
381
|
+
* @type {string}
|
|
382
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
383
|
+
*/
|
|
384
|
+
readonly languageCode?: string
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
*
|
|
388
|
+
* @type {boolean}
|
|
389
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
390
|
+
*/
|
|
391
|
+
readonly isExternal?: boolean
|
|
392
|
+
|
|
393
|
+
/**
|
|
394
|
+
*
|
|
395
|
+
* @type {number}
|
|
396
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
397
|
+
*/
|
|
398
|
+
readonly page?: number
|
|
399
|
+
|
|
400
|
+
/**
|
|
401
|
+
*
|
|
402
|
+
* @type {number}
|
|
403
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
404
|
+
*/
|
|
405
|
+
readonly limit?: number
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
*
|
|
409
|
+
* @type {Date}
|
|
410
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
411
|
+
*/
|
|
412
|
+
readonly lastRetrieved?: Date
|
|
413
|
+
}
|
|
414
|
+
|
|
415
|
+
/**
|
|
416
|
+
* CallHistoriesApi - object-oriented interface
|
|
417
|
+
* @export
|
|
418
|
+
* @class CallHistoriesApi
|
|
419
|
+
* @extends {BaseAPI}
|
|
420
|
+
*/
|
|
421
|
+
export class CallHistoriesApi extends BaseAPI {
|
|
422
|
+
/**
|
|
423
|
+
*
|
|
424
|
+
* @param {CallHistoriesApiApiV2CallhistoriesCallIdGetRequest} requestParameters Request parameters.
|
|
425
|
+
* @param {*} [options] Override http request option.
|
|
426
|
+
* @throws {RequiredError}
|
|
427
|
+
* @memberof CallHistoriesApi
|
|
428
|
+
*/
|
|
429
|
+
public apiV2CallhistoriesCallIdGet(requestParameters: CallHistoriesApiApiV2CallhistoriesCallIdGetRequest, options?: AxiosRequestConfig) {
|
|
430
|
+
return CallHistoriesApiFp(this.configuration).apiV2CallhistoriesCallIdGet(requestParameters.callId, requestParameters.languageCode, options).then((request) => request(this.axios, this.basePath));
|
|
431
|
+
}
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
*
|
|
435
|
+
* @param {CallHistoriesApiApiV2CallhistoriesGetRequest} requestParameters Request parameters.
|
|
436
|
+
* @param {*} [options] Override http request option.
|
|
437
|
+
* @throws {RequiredError}
|
|
438
|
+
* @memberof CallHistoriesApi
|
|
439
|
+
*/
|
|
440
|
+
public apiV2CallhistoriesGet(requestParameters: CallHistoriesApiApiV2CallhistoriesGetRequest = {}, options?: AxiosRequestConfig) {
|
|
441
|
+
return CallHistoriesApiFp(this.configuration).apiV2CallhistoriesGet(requestParameters.id, requestParameters.userId, requestParameters.userName, requestParameters.hospitalId, requestParameters.hospitalName, requestParameters.virtualNumber, requestParameters.targetNumber, requestParameters.startTime, requestParameters.endTime, requestParameters.sortRequestDate, requestParameters.languageCode, requestParameters.isExternal, requestParameters.page, requestParameters.limit, requestParameters.lastRetrieved, options).then((request) => request(this.axios, this.basePath));
|
|
442
|
+
}
|
|
443
|
+
}
|
package/src/api.ts
CHANGED
|
@@ -22,6 +22,7 @@ export * from './api/articles-api';
|
|
|
22
22
|
export * from './api/bookings-api';
|
|
23
23
|
export * from './api/chadmins-api';
|
|
24
24
|
export * from './api/chmanagers-api';
|
|
25
|
+
export * from './api/call-histories-api';
|
|
25
26
|
export * from './api/chat-users-api';
|
|
26
27
|
export * from './api/communications-api';
|
|
27
28
|
export * from './api/consultations-api';
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { CallHistoryItemModel } from './call-history-item-model';
|
|
19
|
+
// May contain unused imports in some cases
|
|
20
|
+
// @ts-ignore
|
|
21
|
+
import { PagedListMetaData } from './paged-list-meta-data';
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @export
|
|
26
|
+
* @interface CallHistoriesModel
|
|
27
|
+
*/
|
|
28
|
+
export interface CallHistoriesModel {
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {Array<CallHistoryItemModel>}
|
|
32
|
+
* @memberof CallHistoriesModel
|
|
33
|
+
*/
|
|
34
|
+
'items'?: Array<CallHistoryItemModel> | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {PagedListMetaData}
|
|
38
|
+
* @memberof CallHistoriesModel
|
|
39
|
+
*/
|
|
40
|
+
'metaData'?: PagedListMetaData;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -0,0 +1,51 @@
|
|
|
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
|
+
// May contain unused imports in some cases
|
|
17
|
+
// @ts-ignore
|
|
18
|
+
import { CallStatus } from './call-status';
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @export
|
|
23
|
+
* @interface CallHistoryChangeLogModel
|
|
24
|
+
*/
|
|
25
|
+
export interface CallHistoryChangeLogModel {
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {CallStatus}
|
|
29
|
+
* @memberof CallHistoryChangeLogModel
|
|
30
|
+
*/
|
|
31
|
+
'status'?: CallStatus;
|
|
32
|
+
/**
|
|
33
|
+
*
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof CallHistoryChangeLogModel
|
|
36
|
+
*/
|
|
37
|
+
'actorId'?: string;
|
|
38
|
+
/**
|
|
39
|
+
*
|
|
40
|
+
* @type {Date}
|
|
41
|
+
* @memberof CallHistoryChangeLogModel
|
|
42
|
+
*/
|
|
43
|
+
'createdDate'?: Date;
|
|
44
|
+
/**
|
|
45
|
+
*
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof CallHistoryChangeLogModel
|
|
48
|
+
*/
|
|
49
|
+
'actorName'?: string | null;
|
|
50
|
+
}
|
|
51
|
+
|
|
@@ -0,0 +1,114 @@
|
|
|
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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface CallHistoryItemModel
|
|
21
|
+
*/
|
|
22
|
+
export interface CallHistoryItemModel {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CallHistoryItemModel
|
|
27
|
+
*/
|
|
28
|
+
'id'?: string;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CallHistoryItemModel
|
|
33
|
+
*/
|
|
34
|
+
'languageCodeFilter'?: string | null;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CallHistoryItemModel
|
|
39
|
+
*/
|
|
40
|
+
'patientId'?: string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CallHistoryItemModel
|
|
45
|
+
*/
|
|
46
|
+
'patientName'?: string | null;
|
|
47
|
+
/**
|
|
48
|
+
*
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof CallHistoryItemModel
|
|
51
|
+
*/
|
|
52
|
+
'patientPhoto'?: string | null;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CallHistoryItemModel
|
|
57
|
+
*/
|
|
58
|
+
'hospitalId'?: string;
|
|
59
|
+
/**
|
|
60
|
+
*
|
|
61
|
+
* @type {string}
|
|
62
|
+
* @memberof CallHistoryItemModel
|
|
63
|
+
*/
|
|
64
|
+
'hospitalName'?: string | null;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof CallHistoryItemModel
|
|
69
|
+
*/
|
|
70
|
+
'hospitalTimeZone'?: string | null;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {string}
|
|
74
|
+
* @memberof CallHistoryItemModel
|
|
75
|
+
*/
|
|
76
|
+
'virtualNumber'?: string | null;
|
|
77
|
+
/**
|
|
78
|
+
*
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof CallHistoryItemModel
|
|
81
|
+
*/
|
|
82
|
+
'targetNumber'?: string | null;
|
|
83
|
+
/**
|
|
84
|
+
*
|
|
85
|
+
* @type {Date}
|
|
86
|
+
* @memberof CallHistoryItemModel
|
|
87
|
+
*/
|
|
88
|
+
'startTime'?: Date;
|
|
89
|
+
/**
|
|
90
|
+
*
|
|
91
|
+
* @type {Date}
|
|
92
|
+
* @memberof CallHistoryItemModel
|
|
93
|
+
*/
|
|
94
|
+
'endTime'?: Date;
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @type {number}
|
|
98
|
+
* @memberof CallHistoryItemModel
|
|
99
|
+
*/
|
|
100
|
+
'duration'?: number;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @type {number}
|
|
104
|
+
* @memberof CallHistoryItemModel
|
|
105
|
+
*/
|
|
106
|
+
'rate'?: number;
|
|
107
|
+
/**
|
|
108
|
+
*
|
|
109
|
+
* @type {number}
|
|
110
|
+
* @memberof CallHistoryItemModel
|
|
111
|
+
*/
|
|
112
|
+
'price'?: number;
|
|
113
|
+
}
|
|
114
|
+
|