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,263 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
3
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1
|
|
6
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { CallHistoriesModel } from '../models';
|
|
16
|
+
import { CallHistoryModel } from '../models';
|
|
17
|
+
import { SortingOrder } from '../models';
|
|
18
|
+
/**
|
|
19
|
+
* CallHistoriesApi - axios parameter creator
|
|
20
|
+
* @export
|
|
21
|
+
*/
|
|
22
|
+
export declare const CallHistoriesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @param {string} callId
|
|
26
|
+
* @param {string} [languageCode]
|
|
27
|
+
* @param {*} [options] Override http request option.
|
|
28
|
+
* @throws {RequiredError}
|
|
29
|
+
*/
|
|
30
|
+
apiV2CallhistoriesCallIdGet: (callId: string, languageCode?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
31
|
+
/**
|
|
32
|
+
*
|
|
33
|
+
* @param {string} [id]
|
|
34
|
+
* @param {string} [userId]
|
|
35
|
+
* @param {string} [userName]
|
|
36
|
+
* @param {string} [hospitalId]
|
|
37
|
+
* @param {string} [hospitalName]
|
|
38
|
+
* @param {string} [virtualNumber]
|
|
39
|
+
* @param {string} [targetNumber]
|
|
40
|
+
* @param {Date} [startTime]
|
|
41
|
+
* @param {Date} [endTime]
|
|
42
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
43
|
+
* @param {string} [languageCode]
|
|
44
|
+
* @param {boolean} [isExternal]
|
|
45
|
+
* @param {number} [page]
|
|
46
|
+
* @param {number} [limit]
|
|
47
|
+
* @param {Date} [lastRetrieved]
|
|
48
|
+
* @param {*} [options] Override http request option.
|
|
49
|
+
* @throws {RequiredError}
|
|
50
|
+
*/
|
|
51
|
+
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<RequestArgs>;
|
|
52
|
+
};
|
|
53
|
+
/**
|
|
54
|
+
* CallHistoriesApi - functional programming interface
|
|
55
|
+
* @export
|
|
56
|
+
*/
|
|
57
|
+
export declare const CallHistoriesApiFp: (configuration?: Configuration) => {
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @param {string} callId
|
|
61
|
+
* @param {string} [languageCode]
|
|
62
|
+
* @param {*} [options] Override http request option.
|
|
63
|
+
* @throws {RequiredError}
|
|
64
|
+
*/
|
|
65
|
+
apiV2CallhistoriesCallIdGet(callId: string, languageCode?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CallHistoryModel>>;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @param {string} [id]
|
|
69
|
+
* @param {string} [userId]
|
|
70
|
+
* @param {string} [userName]
|
|
71
|
+
* @param {string} [hospitalId]
|
|
72
|
+
* @param {string} [hospitalName]
|
|
73
|
+
* @param {string} [virtualNumber]
|
|
74
|
+
* @param {string} [targetNumber]
|
|
75
|
+
* @param {Date} [startTime]
|
|
76
|
+
* @param {Date} [endTime]
|
|
77
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
78
|
+
* @param {string} [languageCode]
|
|
79
|
+
* @param {boolean} [isExternal]
|
|
80
|
+
* @param {number} [page]
|
|
81
|
+
* @param {number} [limit]
|
|
82
|
+
* @param {Date} [lastRetrieved]
|
|
83
|
+
* @param {*} [options] Override http request option.
|
|
84
|
+
* @throws {RequiredError}
|
|
85
|
+
*/
|
|
86
|
+
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>>;
|
|
87
|
+
};
|
|
88
|
+
/**
|
|
89
|
+
* CallHistoriesApi - factory interface
|
|
90
|
+
* @export
|
|
91
|
+
*/
|
|
92
|
+
export declare const CallHistoriesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
93
|
+
/**
|
|
94
|
+
*
|
|
95
|
+
* @param {string} callId
|
|
96
|
+
* @param {string} [languageCode]
|
|
97
|
+
* @param {*} [options] Override http request option.
|
|
98
|
+
* @throws {RequiredError}
|
|
99
|
+
*/
|
|
100
|
+
apiV2CallhistoriesCallIdGet(callId: string, languageCode?: string, options?: any): AxiosPromise<CallHistoryModel>;
|
|
101
|
+
/**
|
|
102
|
+
*
|
|
103
|
+
* @param {string} [id]
|
|
104
|
+
* @param {string} [userId]
|
|
105
|
+
* @param {string} [userName]
|
|
106
|
+
* @param {string} [hospitalId]
|
|
107
|
+
* @param {string} [hospitalName]
|
|
108
|
+
* @param {string} [virtualNumber]
|
|
109
|
+
* @param {string} [targetNumber]
|
|
110
|
+
* @param {Date} [startTime]
|
|
111
|
+
* @param {Date} [endTime]
|
|
112
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
113
|
+
* @param {string} [languageCode]
|
|
114
|
+
* @param {boolean} [isExternal]
|
|
115
|
+
* @param {number} [page]
|
|
116
|
+
* @param {number} [limit]
|
|
117
|
+
* @param {Date} [lastRetrieved]
|
|
118
|
+
* @param {*} [options] Override http request option.
|
|
119
|
+
* @throws {RequiredError}
|
|
120
|
+
*/
|
|
121
|
+
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>;
|
|
122
|
+
};
|
|
123
|
+
/**
|
|
124
|
+
* Request parameters for apiV2CallhistoriesCallIdGet operation in CallHistoriesApi.
|
|
125
|
+
* @export
|
|
126
|
+
* @interface CallHistoriesApiApiV2CallhistoriesCallIdGetRequest
|
|
127
|
+
*/
|
|
128
|
+
export interface CallHistoriesApiApiV2CallhistoriesCallIdGetRequest {
|
|
129
|
+
/**
|
|
130
|
+
*
|
|
131
|
+
* @type {string}
|
|
132
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesCallIdGet
|
|
133
|
+
*/
|
|
134
|
+
readonly callId: string;
|
|
135
|
+
/**
|
|
136
|
+
*
|
|
137
|
+
* @type {string}
|
|
138
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesCallIdGet
|
|
139
|
+
*/
|
|
140
|
+
readonly languageCode?: string;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* Request parameters for apiV2CallhistoriesGet operation in CallHistoriesApi.
|
|
144
|
+
* @export
|
|
145
|
+
* @interface CallHistoriesApiApiV2CallhistoriesGetRequest
|
|
146
|
+
*/
|
|
147
|
+
export interface CallHistoriesApiApiV2CallhistoriesGetRequest {
|
|
148
|
+
/**
|
|
149
|
+
*
|
|
150
|
+
* @type {string}
|
|
151
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
152
|
+
*/
|
|
153
|
+
readonly id?: string;
|
|
154
|
+
/**
|
|
155
|
+
*
|
|
156
|
+
* @type {string}
|
|
157
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
158
|
+
*/
|
|
159
|
+
readonly userId?: string;
|
|
160
|
+
/**
|
|
161
|
+
*
|
|
162
|
+
* @type {string}
|
|
163
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
164
|
+
*/
|
|
165
|
+
readonly userName?: string;
|
|
166
|
+
/**
|
|
167
|
+
*
|
|
168
|
+
* @type {string}
|
|
169
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
170
|
+
*/
|
|
171
|
+
readonly hospitalId?: string;
|
|
172
|
+
/**
|
|
173
|
+
*
|
|
174
|
+
* @type {string}
|
|
175
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
176
|
+
*/
|
|
177
|
+
readonly hospitalName?: string;
|
|
178
|
+
/**
|
|
179
|
+
*
|
|
180
|
+
* @type {string}
|
|
181
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
182
|
+
*/
|
|
183
|
+
readonly virtualNumber?: string;
|
|
184
|
+
/**
|
|
185
|
+
*
|
|
186
|
+
* @type {string}
|
|
187
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
188
|
+
*/
|
|
189
|
+
readonly targetNumber?: string;
|
|
190
|
+
/**
|
|
191
|
+
*
|
|
192
|
+
* @type {Date}
|
|
193
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
194
|
+
*/
|
|
195
|
+
readonly startTime?: Date;
|
|
196
|
+
/**
|
|
197
|
+
*
|
|
198
|
+
* @type {Date}
|
|
199
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
200
|
+
*/
|
|
201
|
+
readonly endTime?: Date;
|
|
202
|
+
/**
|
|
203
|
+
*
|
|
204
|
+
* @type {SortingOrder}
|
|
205
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
206
|
+
*/
|
|
207
|
+
readonly sortRequestDate?: SortingOrder;
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
* @type {string}
|
|
211
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
212
|
+
*/
|
|
213
|
+
readonly languageCode?: string;
|
|
214
|
+
/**
|
|
215
|
+
*
|
|
216
|
+
* @type {boolean}
|
|
217
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
218
|
+
*/
|
|
219
|
+
readonly isExternal?: boolean;
|
|
220
|
+
/**
|
|
221
|
+
*
|
|
222
|
+
* @type {number}
|
|
223
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
224
|
+
*/
|
|
225
|
+
readonly page?: number;
|
|
226
|
+
/**
|
|
227
|
+
*
|
|
228
|
+
* @type {number}
|
|
229
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
230
|
+
*/
|
|
231
|
+
readonly limit?: number;
|
|
232
|
+
/**
|
|
233
|
+
*
|
|
234
|
+
* @type {Date}
|
|
235
|
+
* @memberof CallHistoriesApiApiV2CallhistoriesGet
|
|
236
|
+
*/
|
|
237
|
+
readonly lastRetrieved?: Date;
|
|
238
|
+
}
|
|
239
|
+
/**
|
|
240
|
+
* CallHistoriesApi - object-oriented interface
|
|
241
|
+
* @export
|
|
242
|
+
* @class CallHistoriesApi
|
|
243
|
+
* @extends {BaseAPI}
|
|
244
|
+
*/
|
|
245
|
+
export declare class CallHistoriesApi extends BaseAPI {
|
|
246
|
+
/**
|
|
247
|
+
*
|
|
248
|
+
* @param {CallHistoriesApiApiV2CallhistoriesCallIdGetRequest} requestParameters Request parameters.
|
|
249
|
+
* @param {*} [options] Override http request option.
|
|
250
|
+
* @throws {RequiredError}
|
|
251
|
+
* @memberof CallHistoriesApi
|
|
252
|
+
*/
|
|
253
|
+
apiV2CallhistoriesCallIdGet(requestParameters: CallHistoriesApiApiV2CallhistoriesCallIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CallHistoryModel, any>>;
|
|
254
|
+
/**
|
|
255
|
+
*
|
|
256
|
+
* @param {CallHistoriesApiApiV2CallhistoriesGetRequest} requestParameters Request parameters.
|
|
257
|
+
* @param {*} [options] Override http request option.
|
|
258
|
+
* @throws {RequiredError}
|
|
259
|
+
* @memberof CallHistoriesApi
|
|
260
|
+
*/
|
|
261
|
+
apiV2CallhistoriesGet(requestParameters?: CallHistoriesApiApiV2CallhistoriesGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CallHistoriesModel, any>>;
|
|
262
|
+
}
|
|
263
|
+
//# sourceMappingURL=call-histories-api.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"call-histories-api.d.ts","sourceRoot":"","sources":["../../src/api/call-histories-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAAM,OAAO,CAAC;AACrF,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAKjD,OAAO,EAAiC,WAAW,EAAE,OAAO,EAAiB,MAAM,SAAS,CAAC;AAE7F,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAE/C,OAAO,EAAE,gBAAgB,EAAE,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EAAE,MAAM,CAAA;IAEtB;;;;OAIG;IACH,QAAQ,CAAC,KAAK,CAAC,EAAE,MAAM,CAAA;IAEvB;;;;OAIG;IACH,QAAQ,CAAC,aAAa,CAAC,EAAE,IAAI,CAAA;CAChC;AAED;;;;;GAKG;AACH,qBAAa,gBAAiB,SAAQ,OAAO;IACzC;;;;;;OAMG;IACI,2BAA2B,CAAC,iBAAiB,EAAE,kDAAkD,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAItI;;;;;;OAMG;IACI,qBAAqB,CAAC,iBAAiB,GAAE,4CAAiD,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGlI"}
|
|
@@ -0,0 +1,390 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* Swagger UI - Cloud Hospital Admin Api-INT
|
|
6
|
+
* Cloud Hospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1
|
|
9
|
+
* Contact: hyounoosung@icloudhospital.com
|
|
10
|
+
*
|
|
11
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
+
* https://openapi-generator.tech
|
|
13
|
+
* Do not edit the class manually.
|
|
14
|
+
*/
|
|
15
|
+
var __extends = (this && this.__extends) || (function () {
|
|
16
|
+
var extendStatics = function (d, b) {
|
|
17
|
+
extendStatics = Object.setPrototypeOf ||
|
|
18
|
+
({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
|
|
19
|
+
function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };
|
|
20
|
+
return extendStatics(d, b);
|
|
21
|
+
};
|
|
22
|
+
return function (d, b) {
|
|
23
|
+
if (typeof b !== "function" && b !== null)
|
|
24
|
+
throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
|
|
25
|
+
extendStatics(d, b);
|
|
26
|
+
function __() { this.constructor = d; }
|
|
27
|
+
d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
|
|
28
|
+
};
|
|
29
|
+
})();
|
|
30
|
+
var __assign = (this && this.__assign) || function () {
|
|
31
|
+
__assign = Object.assign || function(t) {
|
|
32
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
33
|
+
s = arguments[i];
|
|
34
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
35
|
+
t[p] = s[p];
|
|
36
|
+
}
|
|
37
|
+
return t;
|
|
38
|
+
};
|
|
39
|
+
return __assign.apply(this, arguments);
|
|
40
|
+
};
|
|
41
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
42
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
43
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
44
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
45
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
46
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
47
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
48
|
+
});
|
|
49
|
+
};
|
|
50
|
+
var __generator = (this && this.__generator) || function (thisArg, body) {
|
|
51
|
+
var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
|
|
52
|
+
return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;
|
|
53
|
+
function verb(n) { return function (v) { return step([n, v]); }; }
|
|
54
|
+
function step(op) {
|
|
55
|
+
if (f) throw new TypeError("Generator is already executing.");
|
|
56
|
+
while (g && (g = 0, op[0] && (_ = 0)), _) try {
|
|
57
|
+
if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;
|
|
58
|
+
if (y = 0, t) op = [op[0] & 2, t.value];
|
|
59
|
+
switch (op[0]) {
|
|
60
|
+
case 0: case 1: t = op; break;
|
|
61
|
+
case 4: _.label++; return { value: op[1], done: false };
|
|
62
|
+
case 5: _.label++; y = op[1]; op = [0]; continue;
|
|
63
|
+
case 7: op = _.ops.pop(); _.trys.pop(); continue;
|
|
64
|
+
default:
|
|
65
|
+
if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }
|
|
66
|
+
if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }
|
|
67
|
+
if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }
|
|
68
|
+
if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }
|
|
69
|
+
if (t[2]) _.ops.pop();
|
|
70
|
+
_.trys.pop(); continue;
|
|
71
|
+
}
|
|
72
|
+
op = body.call(thisArg, _);
|
|
73
|
+
} catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }
|
|
74
|
+
if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };
|
|
75
|
+
}
|
|
76
|
+
};
|
|
77
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
78
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
|
+
};
|
|
80
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
+
exports.CallHistoriesApi = exports.CallHistoriesApiFactory = exports.CallHistoriesApiFp = exports.CallHistoriesApiAxiosParamCreator = void 0;
|
|
82
|
+
var axios_1 = __importDefault(require("axios"));
|
|
83
|
+
// Some imports not used depending on template conditions
|
|
84
|
+
// @ts-ignore
|
|
85
|
+
var common_1 = require("../common");
|
|
86
|
+
// @ts-ignore
|
|
87
|
+
var base_1 = require("../base");
|
|
88
|
+
/**
|
|
89
|
+
* CallHistoriesApi - axios parameter creator
|
|
90
|
+
* @export
|
|
91
|
+
*/
|
|
92
|
+
var CallHistoriesApiAxiosParamCreator = function (configuration) {
|
|
93
|
+
var _this = this;
|
|
94
|
+
return {
|
|
95
|
+
/**
|
|
96
|
+
*
|
|
97
|
+
* @param {string} callId
|
|
98
|
+
* @param {string} [languageCode]
|
|
99
|
+
* @param {*} [options] Override http request option.
|
|
100
|
+
* @throws {RequiredError}
|
|
101
|
+
*/
|
|
102
|
+
apiV2CallhistoriesCallIdGet: function (callId, languageCode, options) {
|
|
103
|
+
if (options === void 0) { options = {}; }
|
|
104
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
105
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
106
|
+
return __generator(this, function (_a) {
|
|
107
|
+
switch (_a.label) {
|
|
108
|
+
case 0:
|
|
109
|
+
// verify required parameter 'callId' is not null or undefined
|
|
110
|
+
(0, common_1.assertParamExists)('apiV2CallhistoriesCallIdGet', 'callId', callId);
|
|
111
|
+
localVarPath = "/api/v2/callhistories/{callId}"
|
|
112
|
+
.replace("{".concat("callId", "}"), encodeURIComponent(String(callId)));
|
|
113
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
114
|
+
if (configuration) {
|
|
115
|
+
baseOptions = configuration.baseOptions;
|
|
116
|
+
}
|
|
117
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
118
|
+
localVarHeaderParameter = {};
|
|
119
|
+
localVarQueryParameter = {};
|
|
120
|
+
// authentication oauth2 required
|
|
121
|
+
// oauth required
|
|
122
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
123
|
+
case 1:
|
|
124
|
+
// authentication oauth2 required
|
|
125
|
+
// oauth required
|
|
126
|
+
_a.sent();
|
|
127
|
+
if (languageCode !== undefined) {
|
|
128
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
129
|
+
}
|
|
130
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
131
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
132
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
133
|
+
return [2 /*return*/, {
|
|
134
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
135
|
+
options: localVarRequestOptions,
|
|
136
|
+
}];
|
|
137
|
+
}
|
|
138
|
+
});
|
|
139
|
+
});
|
|
140
|
+
},
|
|
141
|
+
/**
|
|
142
|
+
*
|
|
143
|
+
* @param {string} [id]
|
|
144
|
+
* @param {string} [userId]
|
|
145
|
+
* @param {string} [userName]
|
|
146
|
+
* @param {string} [hospitalId]
|
|
147
|
+
* @param {string} [hospitalName]
|
|
148
|
+
* @param {string} [virtualNumber]
|
|
149
|
+
* @param {string} [targetNumber]
|
|
150
|
+
* @param {Date} [startTime]
|
|
151
|
+
* @param {Date} [endTime]
|
|
152
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
153
|
+
* @param {string} [languageCode]
|
|
154
|
+
* @param {boolean} [isExternal]
|
|
155
|
+
* @param {number} [page]
|
|
156
|
+
* @param {number} [limit]
|
|
157
|
+
* @param {Date} [lastRetrieved]
|
|
158
|
+
* @param {*} [options] Override http request option.
|
|
159
|
+
* @throws {RequiredError}
|
|
160
|
+
*/
|
|
161
|
+
apiV2CallhistoriesGet: function (id, userId, userName, hospitalId, hospitalName, virtualNumber, targetNumber, startTime, endTime, sortRequestDate, languageCode, isExternal, page, limit, lastRetrieved, options) {
|
|
162
|
+
if (options === void 0) { options = {}; }
|
|
163
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
164
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
165
|
+
return __generator(this, function (_a) {
|
|
166
|
+
switch (_a.label) {
|
|
167
|
+
case 0:
|
|
168
|
+
localVarPath = "/api/v2/callhistories";
|
|
169
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
170
|
+
if (configuration) {
|
|
171
|
+
baseOptions = configuration.baseOptions;
|
|
172
|
+
}
|
|
173
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
174
|
+
localVarHeaderParameter = {};
|
|
175
|
+
localVarQueryParameter = {};
|
|
176
|
+
// authentication oauth2 required
|
|
177
|
+
// oauth required
|
|
178
|
+
return [4 /*yield*/, (0, common_1.setOAuthToObject)(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
179
|
+
case 1:
|
|
180
|
+
// authentication oauth2 required
|
|
181
|
+
// oauth required
|
|
182
|
+
_a.sent();
|
|
183
|
+
if (id !== undefined) {
|
|
184
|
+
localVarQueryParameter['Id'] = id;
|
|
185
|
+
}
|
|
186
|
+
if (userId !== undefined) {
|
|
187
|
+
localVarQueryParameter['UserId'] = userId;
|
|
188
|
+
}
|
|
189
|
+
if (userName !== undefined) {
|
|
190
|
+
localVarQueryParameter['UserName'] = userName;
|
|
191
|
+
}
|
|
192
|
+
if (hospitalId !== undefined) {
|
|
193
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
194
|
+
}
|
|
195
|
+
if (hospitalName !== undefined) {
|
|
196
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
197
|
+
}
|
|
198
|
+
if (virtualNumber !== undefined) {
|
|
199
|
+
localVarQueryParameter['VirtualNumber'] = virtualNumber;
|
|
200
|
+
}
|
|
201
|
+
if (targetNumber !== undefined) {
|
|
202
|
+
localVarQueryParameter['TargetNumber'] = targetNumber;
|
|
203
|
+
}
|
|
204
|
+
if (startTime !== undefined) {
|
|
205
|
+
localVarQueryParameter['StartTime'] = (startTime instanceof Date) ?
|
|
206
|
+
startTime.toISOString() :
|
|
207
|
+
startTime;
|
|
208
|
+
}
|
|
209
|
+
if (endTime !== undefined) {
|
|
210
|
+
localVarQueryParameter['EndTime'] = (endTime instanceof Date) ?
|
|
211
|
+
endTime.toISOString() :
|
|
212
|
+
endTime;
|
|
213
|
+
}
|
|
214
|
+
if (sortRequestDate !== undefined) {
|
|
215
|
+
localVarQueryParameter['SortRequestDate'] = sortRequestDate;
|
|
216
|
+
}
|
|
217
|
+
if (languageCode !== undefined) {
|
|
218
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
219
|
+
}
|
|
220
|
+
if (isExternal !== undefined) {
|
|
221
|
+
localVarQueryParameter['IsExternal'] = isExternal;
|
|
222
|
+
}
|
|
223
|
+
if (page !== undefined) {
|
|
224
|
+
localVarQueryParameter['page'] = page;
|
|
225
|
+
}
|
|
226
|
+
if (limit !== undefined) {
|
|
227
|
+
localVarQueryParameter['limit'] = limit;
|
|
228
|
+
}
|
|
229
|
+
if (lastRetrieved !== undefined) {
|
|
230
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
231
|
+
lastRetrieved.toISOString() :
|
|
232
|
+
lastRetrieved;
|
|
233
|
+
}
|
|
234
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
235
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
236
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
237
|
+
return [2 /*return*/, {
|
|
238
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
239
|
+
options: localVarRequestOptions,
|
|
240
|
+
}];
|
|
241
|
+
}
|
|
242
|
+
});
|
|
243
|
+
});
|
|
244
|
+
},
|
|
245
|
+
};
|
|
246
|
+
};
|
|
247
|
+
exports.CallHistoriesApiAxiosParamCreator = CallHistoriesApiAxiosParamCreator;
|
|
248
|
+
/**
|
|
249
|
+
* CallHistoriesApi - functional programming interface
|
|
250
|
+
* @export
|
|
251
|
+
*/
|
|
252
|
+
var CallHistoriesApiFp = function (configuration) {
|
|
253
|
+
var localVarAxiosParamCreator = (0, exports.CallHistoriesApiAxiosParamCreator)(configuration);
|
|
254
|
+
return {
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
* @param {string} callId
|
|
258
|
+
* @param {string} [languageCode]
|
|
259
|
+
* @param {*} [options] Override http request option.
|
|
260
|
+
* @throws {RequiredError}
|
|
261
|
+
*/
|
|
262
|
+
apiV2CallhistoriesCallIdGet: function (callId, languageCode, options) {
|
|
263
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
264
|
+
var localVarAxiosArgs;
|
|
265
|
+
return __generator(this, function (_a) {
|
|
266
|
+
switch (_a.label) {
|
|
267
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2CallhistoriesCallIdGet(callId, languageCode, options)];
|
|
268
|
+
case 1:
|
|
269
|
+
localVarAxiosArgs = _a.sent();
|
|
270
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
271
|
+
}
|
|
272
|
+
});
|
|
273
|
+
});
|
|
274
|
+
},
|
|
275
|
+
/**
|
|
276
|
+
*
|
|
277
|
+
* @param {string} [id]
|
|
278
|
+
* @param {string} [userId]
|
|
279
|
+
* @param {string} [userName]
|
|
280
|
+
* @param {string} [hospitalId]
|
|
281
|
+
* @param {string} [hospitalName]
|
|
282
|
+
* @param {string} [virtualNumber]
|
|
283
|
+
* @param {string} [targetNumber]
|
|
284
|
+
* @param {Date} [startTime]
|
|
285
|
+
* @param {Date} [endTime]
|
|
286
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
287
|
+
* @param {string} [languageCode]
|
|
288
|
+
* @param {boolean} [isExternal]
|
|
289
|
+
* @param {number} [page]
|
|
290
|
+
* @param {number} [limit]
|
|
291
|
+
* @param {Date} [lastRetrieved]
|
|
292
|
+
* @param {*} [options] Override http request option.
|
|
293
|
+
* @throws {RequiredError}
|
|
294
|
+
*/
|
|
295
|
+
apiV2CallhistoriesGet: function (id, userId, userName, hospitalId, hospitalName, virtualNumber, targetNumber, startTime, endTime, sortRequestDate, languageCode, isExternal, page, limit, lastRetrieved, options) {
|
|
296
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
297
|
+
var localVarAxiosArgs;
|
|
298
|
+
return __generator(this, function (_a) {
|
|
299
|
+
switch (_a.label) {
|
|
300
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2CallhistoriesGet(id, userId, userName, hospitalId, hospitalName, virtualNumber, targetNumber, startTime, endTime, sortRequestDate, languageCode, isExternal, page, limit, lastRetrieved, options)];
|
|
301
|
+
case 1:
|
|
302
|
+
localVarAxiosArgs = _a.sent();
|
|
303
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
304
|
+
}
|
|
305
|
+
});
|
|
306
|
+
});
|
|
307
|
+
},
|
|
308
|
+
};
|
|
309
|
+
};
|
|
310
|
+
exports.CallHistoriesApiFp = CallHistoriesApiFp;
|
|
311
|
+
/**
|
|
312
|
+
* CallHistoriesApi - factory interface
|
|
313
|
+
* @export
|
|
314
|
+
*/
|
|
315
|
+
var CallHistoriesApiFactory = function (configuration, basePath, axios) {
|
|
316
|
+
var localVarFp = (0, exports.CallHistoriesApiFp)(configuration);
|
|
317
|
+
return {
|
|
318
|
+
/**
|
|
319
|
+
*
|
|
320
|
+
* @param {string} callId
|
|
321
|
+
* @param {string} [languageCode]
|
|
322
|
+
* @param {*} [options] Override http request option.
|
|
323
|
+
* @throws {RequiredError}
|
|
324
|
+
*/
|
|
325
|
+
apiV2CallhistoriesCallIdGet: function (callId, languageCode, options) {
|
|
326
|
+
return localVarFp.apiV2CallhistoriesCallIdGet(callId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
327
|
+
},
|
|
328
|
+
/**
|
|
329
|
+
*
|
|
330
|
+
* @param {string} [id]
|
|
331
|
+
* @param {string} [userId]
|
|
332
|
+
* @param {string} [userName]
|
|
333
|
+
* @param {string} [hospitalId]
|
|
334
|
+
* @param {string} [hospitalName]
|
|
335
|
+
* @param {string} [virtualNumber]
|
|
336
|
+
* @param {string} [targetNumber]
|
|
337
|
+
* @param {Date} [startTime]
|
|
338
|
+
* @param {Date} [endTime]
|
|
339
|
+
* @param {SortingOrder} [sortRequestDate]
|
|
340
|
+
* @param {string} [languageCode]
|
|
341
|
+
* @param {boolean} [isExternal]
|
|
342
|
+
* @param {number} [page]
|
|
343
|
+
* @param {number} [limit]
|
|
344
|
+
* @param {Date} [lastRetrieved]
|
|
345
|
+
* @param {*} [options] Override http request option.
|
|
346
|
+
* @throws {RequiredError}
|
|
347
|
+
*/
|
|
348
|
+
apiV2CallhistoriesGet: function (id, userId, userName, hospitalId, hospitalName, virtualNumber, targetNumber, startTime, endTime, sortRequestDate, languageCode, isExternal, page, limit, lastRetrieved, options) {
|
|
349
|
+
return localVarFp.apiV2CallhistoriesGet(id, userId, userName, hospitalId, hospitalName, virtualNumber, targetNumber, startTime, endTime, sortRequestDate, languageCode, isExternal, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
350
|
+
},
|
|
351
|
+
};
|
|
352
|
+
};
|
|
353
|
+
exports.CallHistoriesApiFactory = CallHistoriesApiFactory;
|
|
354
|
+
/**
|
|
355
|
+
* CallHistoriesApi - object-oriented interface
|
|
356
|
+
* @export
|
|
357
|
+
* @class CallHistoriesApi
|
|
358
|
+
* @extends {BaseAPI}
|
|
359
|
+
*/
|
|
360
|
+
var CallHistoriesApi = /** @class */ (function (_super) {
|
|
361
|
+
__extends(CallHistoriesApi, _super);
|
|
362
|
+
function CallHistoriesApi() {
|
|
363
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
364
|
+
}
|
|
365
|
+
/**
|
|
366
|
+
*
|
|
367
|
+
* @param {CallHistoriesApiApiV2CallhistoriesCallIdGetRequest} requestParameters Request parameters.
|
|
368
|
+
* @param {*} [options] Override http request option.
|
|
369
|
+
* @throws {RequiredError}
|
|
370
|
+
* @memberof CallHistoriesApi
|
|
371
|
+
*/
|
|
372
|
+
CallHistoriesApi.prototype.apiV2CallhistoriesCallIdGet = function (requestParameters, options) {
|
|
373
|
+
var _this = this;
|
|
374
|
+
return (0, exports.CallHistoriesApiFp)(this.configuration).apiV2CallhistoriesCallIdGet(requestParameters.callId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
375
|
+
};
|
|
376
|
+
/**
|
|
377
|
+
*
|
|
378
|
+
* @param {CallHistoriesApiApiV2CallhistoriesGetRequest} requestParameters Request parameters.
|
|
379
|
+
* @param {*} [options] Override http request option.
|
|
380
|
+
* @throws {RequiredError}
|
|
381
|
+
* @memberof CallHistoriesApi
|
|
382
|
+
*/
|
|
383
|
+
CallHistoriesApi.prototype.apiV2CallhistoriesGet = function (requestParameters, options) {
|
|
384
|
+
var _this = this;
|
|
385
|
+
if (requestParameters === void 0) { requestParameters = {}; }
|
|
386
|
+
return (0, exports.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(function (request) { return request(_this.axios, _this.basePath); });
|
|
387
|
+
};
|
|
388
|
+
return CallHistoriesApi;
|
|
389
|
+
}(base_1.BaseAPI));
|
|
390
|
+
exports.CallHistoriesApi = CallHistoriesApi;
|
package/lib/api.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ export * from './api/articles-api';
|
|
|
17
17
|
export * from './api/bookings-api';
|
|
18
18
|
export * from './api/chadmins-api';
|
|
19
19
|
export * from './api/chmanagers-api';
|
|
20
|
+
export * from './api/call-histories-api';
|
|
20
21
|
export * from './api/chat-users-api';
|
|
21
22
|
export * from './api/communications-api';
|
|
22
23
|
export * from './api/consultations-api';
|
package/lib/api.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"api.d.ts","sourceRoot":"","sources":["../src/api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAIH,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC;AACtC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC;AACrC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,yBAAyB,CAAC;AACxC,cAAc,wBAAwB,CAAC;AACvC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,iBAAiB,CAAC;AAChC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,0BAA0B,CAAC;AACzC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,kBAAkB,CAAC;AACjC,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sDAAsD,CAAC;AACrE,cAAc,6CAA6C,CAAC;AAC5D,cAAc,kBAAkB,CAAC;AACjC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,uBAAuB,CAAC;AACtC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,iBAAiB,CAAC;AAChC,cAAc,oB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