ch-api-client-typescript2 5.90.29 → 5.90.39
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/curations-api.d.ts +28 -13
- package/lib/api/curations-api.d.ts.map +1 -1
- package/lib/api/curations-api.js +24 -18
- package/lib/models/appointment-status.d.ts +1 -1
- package/lib/models/appointment-status.js +1 -1
- package/lib/models/appointment-type.d.ts +1 -1
- package/lib/models/appointment-type.js +1 -1
- package/lib/models/article-status.d.ts +1 -1
- package/lib/models/article-status.js +1 -1
- package/lib/models/article-type.d.ts +1 -1
- package/lib/models/article-type.js +1 -1
- package/lib/models/call-status.d.ts +1 -1
- package/lib/models/call-status.js +1 -1
- package/lib/models/charge-status.d.ts +1 -1
- package/lib/models/charge-status.js +1 -1
- package/lib/models/contact-type.d.ts +1 -1
- package/lib/models/contact-type.js +1 -1
- package/lib/models/contribution-type.d.ts +1 -1
- package/lib/models/contribution-type.js +1 -1
- package/lib/models/curations-model.d.ts +33 -0
- package/lib/models/curations-model.d.ts.map +1 -0
- package/lib/models/curations-model.js +15 -0
- package/lib/models/deal-target-gender.d.ts +1 -1
- package/lib/models/deal-target-gender.js +1 -1
- package/lib/models/doctor-prefix.d.ts +1 -1
- package/lib/models/doctor-prefix.js +1 -1
- package/lib/models/filter-operator.d.ts +1 -1
- package/lib/models/filter-operator.js +1 -1
- package/lib/models/form-result-by-hospital-sorting-field.d.ts +1 -1
- package/lib/models/form-result-by-hospital-sorting-field.js +1 -1
- package/lib/models/form-result-status.d.ts +1 -1
- package/lib/models/form-result-status.js +1 -1
- package/lib/models/form-template-status.d.ts +1 -1
- package/lib/models/form-template-status.js +1 -1
- package/lib/models/form-template-type.d.ts +1 -1
- package/lib/models/form-template-type.js +1 -1
- package/lib/models/frequently-asked-question-categories.d.ts +1 -1
- package/lib/models/frequently-asked-question-categories.js +1 -1
- package/lib/models/frequently-asked-question-subcategories.d.ts +1 -1
- package/lib/models/frequently-asked-question-subcategories.js +1 -1
- package/lib/models/gender.d.ts +1 -1
- package/lib/models/gender.js +1 -1
- package/lib/models/header-navigation-dynamic-sub-item-detail-type.d.ts +1 -1
- package/lib/models/header-navigation-dynamic-sub-item-detail-type.js +1 -1
- package/lib/models/header-navigation-dynamic-sub-item-type.d.ts +1 -1
- package/lib/models/header-navigation-dynamic-sub-item-type.js +1 -1
- package/lib/models/index.d.ts +1 -0
- package/lib/models/index.d.ts.map +1 -1
- package/lib/models/index.js +1 -0
- package/lib/models/marketing-type.d.ts +1 -1
- package/lib/models/marketing-type.js +1 -1
- package/lib/models/media-type.d.ts +1 -1
- package/lib/models/media-type.js +1 -1
- package/lib/models/notice-status.d.ts +1 -1
- package/lib/models/notice-status.js +1 -1
- package/lib/models/notification-code.d.ts +1 -1
- package/lib/models/notification-code.js +1 -1
- package/lib/models/page-block-link-type.d.ts +1 -1
- package/lib/models/page-block-link-type.js +1 -1
- package/lib/models/page-block-type.d.ts +1 -1
- package/lib/models/page-block-type.js +1 -1
- package/lib/models/page-item-status.d.ts +1 -1
- package/lib/models/page-item-status.js +1 -1
- package/lib/models/page-section-list-type.d.ts +1 -1
- package/lib/models/page-section-list-type.js +1 -1
- package/lib/models/payment-method.d.ts +1 -1
- package/lib/models/payment-method.js +1 -1
- package/lib/models/payment-status.d.ts +1 -1
- package/lib/models/payment-status.js +1 -1
- package/lib/models/platform.d.ts +1 -1
- package/lib/models/platform.js +1 -1
- package/lib/models/procedure.d.ts +1 -1
- package/lib/models/procedure.js +1 -1
- package/lib/models/promotion-type.d.ts +1 -1
- package/lib/models/promotion-type.js +1 -1
- package/lib/models/recurring-interval.d.ts +1 -1
- package/lib/models/recurring-interval.js +1 -1
- package/lib/models/refund-policy.d.ts +1 -1
- package/lib/models/refund-policy.js +1 -1
- package/lib/models/refund-status.d.ts +1 -1
- package/lib/models/refund-status.js +1 -1
- package/lib/models/reject-reason.d.ts +1 -1
- package/lib/models/reject-reason.js +1 -1
- package/lib/models/review-type.d.ts +1 -1
- package/lib/models/review-type.js +1 -1
- package/lib/models/sns-type.d.ts +1 -1
- package/lib/models/sns-type.js +1 -1
- package/lib/models/sorting-direction.d.ts +1 -1
- package/lib/models/sorting-direction.js +1 -1
- package/lib/models/survey-form-element-types.d.ts +1 -1
- package/lib/models/survey-form-element-types.js +1 -1
- package/lib/models/survey-form-status.d.ts +1 -1
- package/lib/models/survey-form-status.js +1 -1
- package/package.json +1 -1
|
@@ -15,6 +15,7 @@ import { RequestArgs, BaseAPI } from '../base';
|
|
|
15
15
|
import { CurationCategoriesModel } from '../models';
|
|
16
16
|
import { CurationModel } from '../models';
|
|
17
17
|
import { CurationsByCategoryModel } from '../models';
|
|
18
|
+
import { CurationsModel } from '../models';
|
|
18
19
|
/**
|
|
19
20
|
* CurationsApi - axios parameter creator
|
|
20
21
|
* @export
|
|
@@ -35,12 +36,13 @@ export declare const CurationsApiAxiosParamCreator: (configuration?: Configurati
|
|
|
35
36
|
*
|
|
36
37
|
* @summary Get Curations by single Category
|
|
37
38
|
* @param {string} curationCategoryId
|
|
38
|
-
* @param {string} languageCode
|
|
39
|
+
* @param {string} [languageCode]
|
|
40
|
+
* @param {number} [page]
|
|
41
|
+
* @param {number} [limit]
|
|
39
42
|
* @param {*} [options] Override http request option.
|
|
40
|
-
* @deprecated
|
|
41
43
|
* @throws {RequiredError}
|
|
42
44
|
*/
|
|
43
|
-
apiV2CurationsCategoryCurationCategoryIdGet: (curationCategoryId: string, languageCode
|
|
45
|
+
apiV2CurationsCategoryCurationCategoryIdGet: (curationCategoryId: string, languageCode?: string, page?: number, limit?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
44
46
|
/**
|
|
45
47
|
*
|
|
46
48
|
* @summary Get Curations by mutiple Categories with limit
|
|
@@ -83,12 +85,13 @@ export declare const CurationsApiFp: (configuration?: Configuration) => {
|
|
|
83
85
|
*
|
|
84
86
|
* @summary Get Curations by single Category
|
|
85
87
|
* @param {string} curationCategoryId
|
|
86
|
-
* @param {string} languageCode
|
|
88
|
+
* @param {string} [languageCode]
|
|
89
|
+
* @param {number} [page]
|
|
90
|
+
* @param {number} [limit]
|
|
87
91
|
* @param {*} [options] Override http request option.
|
|
88
|
-
* @deprecated
|
|
89
92
|
* @throws {RequiredError}
|
|
90
93
|
*/
|
|
91
|
-
apiV2CurationsCategoryCurationCategoryIdGet(curationCategoryId: string, languageCode
|
|
94
|
+
apiV2CurationsCategoryCurationCategoryIdGet(curationCategoryId: string, languageCode?: string, page?: number, limit?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CurationsModel>>;
|
|
92
95
|
/**
|
|
93
96
|
*
|
|
94
97
|
* @summary Get Curations by mutiple Categories with limit
|
|
@@ -131,12 +134,13 @@ export declare const CurationsApiFactory: (configuration?: Configuration, basePa
|
|
|
131
134
|
*
|
|
132
135
|
* @summary Get Curations by single Category
|
|
133
136
|
* @param {string} curationCategoryId
|
|
134
|
-
* @param {string} languageCode
|
|
137
|
+
* @param {string} [languageCode]
|
|
138
|
+
* @param {number} [page]
|
|
139
|
+
* @param {number} [limit]
|
|
135
140
|
* @param {*} [options] Override http request option.
|
|
136
|
-
* @deprecated
|
|
137
141
|
* @throws {RequiredError}
|
|
138
142
|
*/
|
|
139
|
-
apiV2CurationsCategoryCurationCategoryIdGet(curationCategoryId: string, languageCode
|
|
143
|
+
apiV2CurationsCategoryCurationCategoryIdGet(curationCategoryId: string, languageCode?: string, page?: number, limit?: number, options?: any): AxiosPromise<CurationsModel>;
|
|
140
144
|
/**
|
|
141
145
|
*
|
|
142
146
|
* @summary Get Curations by mutiple Categories with limit
|
|
@@ -203,11 +207,23 @@ export interface CurationsApiApiV2CurationsCategoryCurationCategoryIdGetRequest
|
|
|
203
207
|
*/
|
|
204
208
|
readonly curationCategoryId: string;
|
|
205
209
|
/**
|
|
206
|
-
*
|
|
210
|
+
*
|
|
207
211
|
* @type {string}
|
|
208
212
|
* @memberof CurationsApiApiV2CurationsCategoryCurationCategoryIdGet
|
|
209
213
|
*/
|
|
210
|
-
readonly languageCode
|
|
214
|
+
readonly languageCode?: string;
|
|
215
|
+
/**
|
|
216
|
+
*
|
|
217
|
+
* @type {number}
|
|
218
|
+
* @memberof CurationsApiApiV2CurationsCategoryCurationCategoryIdGet
|
|
219
|
+
*/
|
|
220
|
+
readonly page?: number;
|
|
221
|
+
/**
|
|
222
|
+
*
|
|
223
|
+
* @type {number}
|
|
224
|
+
* @memberof CurationsApiApiV2CurationsCategoryCurationCategoryIdGet
|
|
225
|
+
*/
|
|
226
|
+
readonly limit?: number;
|
|
211
227
|
}
|
|
212
228
|
/**
|
|
213
229
|
* Request parameters for apiV2CurationsCategoryGet operation in CurationsApi.
|
|
@@ -274,11 +290,10 @@ export declare class CurationsApi extends BaseAPI {
|
|
|
274
290
|
* @summary Get Curations by single Category
|
|
275
291
|
* @param {CurationsApiApiV2CurationsCategoryCurationCategoryIdGetRequest} requestParameters Request parameters.
|
|
276
292
|
* @param {*} [options] Override http request option.
|
|
277
|
-
* @deprecated
|
|
278
293
|
* @throws {RequiredError}
|
|
279
294
|
* @memberof CurationsApi
|
|
280
295
|
*/
|
|
281
|
-
apiV2CurationsCategoryCurationCategoryIdGet(requestParameters: CurationsApiApiV2CurationsCategoryCurationCategoryIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<
|
|
296
|
+
apiV2CurationsCategoryCurationCategoryIdGet(requestParameters: CurationsApiApiV2CurationsCategoryCurationCategoryIdGetRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CurationsModel, any>>;
|
|
282
297
|
/**
|
|
283
298
|
*
|
|
284
299
|
* @summary Get Curations by mutiple Categories with limit
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"curations-api.d.ts","sourceRoot":"","sources":["../../src/api/curations-api.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAoB,EAAE,YAAY,EAAE,aAAa,EAAE,kBAAkB,EAAE,MAA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AAC,UAAU,EAAE,MAAM,CAAA;IAE3B;;;;OAIG;IACH,QAAQ,CAAC,YAAY,EAAE,MAAM,CAAA;CAChC;AAED;;;;;GAKG;AACH,qBAAa,YAAa,SAAQ,OAAO;IACrC;;;;;;;OAOG;IACI,2BAA2B,CAAC,iBAAiB,GAAE,8CAAmD,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIvI;;;;;;;OAOG;IACI,2CAA2C,CAAC,iBAAiB,EAAE,8DAA8D,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAIlK;;;;;;;;OAQG;IACI,yBAAyB,CAAC,iBAAiB,EAAE,4CAA4C,EAAE,OAAO,CAAC,EAAE,kBAAkB;IAI9H;;;;;;;;OAQG;IACI,2BAA2B,CAAC,iBAAiB,EAAE,8CAA8C,EAAE,OAAO,CAAC,EAAE,kBAAkB;CAGrI"}
|
package/lib/api/curations-api.js
CHANGED
|
@@ -154,24 +154,23 @@ var CurationsApiAxiosParamCreator = function (configuration) {
|
|
|
154
154
|
*
|
|
155
155
|
* @summary Get Curations by single Category
|
|
156
156
|
* @param {string} curationCategoryId
|
|
157
|
-
* @param {string} languageCode
|
|
157
|
+
* @param {string} [languageCode]
|
|
158
|
+
* @param {number} [page]
|
|
159
|
+
* @param {number} [limit]
|
|
158
160
|
* @param {*} [options] Override http request option.
|
|
159
|
-
* @deprecated
|
|
160
161
|
* @throws {RequiredError}
|
|
161
162
|
*/
|
|
162
|
-
apiV2CurationsCategoryCurationCategoryIdGet: function (curationCategoryId_1, languageCode_1) {
|
|
163
|
+
apiV2CurationsCategoryCurationCategoryIdGet: function (curationCategoryId_1, languageCode_1, page_1, limit_1) {
|
|
163
164
|
var args_1 = [];
|
|
164
|
-
for (var _i =
|
|
165
|
-
args_1[_i -
|
|
165
|
+
for (var _i = 4; _i < arguments.length; _i++) {
|
|
166
|
+
args_1[_i - 4] = arguments[_i];
|
|
166
167
|
}
|
|
167
|
-
return __awaiter(_this, __spreadArray([curationCategoryId_1, languageCode_1], args_1, true), void 0, function (curationCategoryId, languageCode, options) {
|
|
168
|
+
return __awaiter(_this, __spreadArray([curationCategoryId_1, languageCode_1, page_1, limit_1], args_1, true), void 0, function (curationCategoryId, languageCode, page, limit, options) {
|
|
168
169
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
169
170
|
if (options === void 0) { options = {}; }
|
|
170
171
|
return __generator(this, function (_a) {
|
|
171
172
|
// verify required parameter 'curationCategoryId' is not null or undefined
|
|
172
173
|
(0, common_1.assertParamExists)('apiV2CurationsCategoryCurationCategoryIdGet', 'curationCategoryId', curationCategoryId);
|
|
173
|
-
// verify required parameter 'languageCode' is not null or undefined
|
|
174
|
-
(0, common_1.assertParamExists)('apiV2CurationsCategoryCurationCategoryIdGet', 'languageCode', languageCode);
|
|
175
174
|
localVarPath = "/api/v2/curations/category/{curationCategoryId}"
|
|
176
175
|
.replace("{".concat("curationCategoryId", "}"), encodeURIComponent(String(curationCategoryId)));
|
|
177
176
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -184,6 +183,12 @@ var CurationsApiAxiosParamCreator = function (configuration) {
|
|
|
184
183
|
if (languageCode !== undefined) {
|
|
185
184
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
186
185
|
}
|
|
186
|
+
if (page !== undefined) {
|
|
187
|
+
localVarQueryParameter['page'] = page;
|
|
188
|
+
}
|
|
189
|
+
if (limit !== undefined) {
|
|
190
|
+
localVarQueryParameter['limit'] = limit;
|
|
191
|
+
}
|
|
187
192
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
188
193
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
189
194
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -325,17 +330,18 @@ var CurationsApiFp = function (configuration) {
|
|
|
325
330
|
*
|
|
326
331
|
* @summary Get Curations by single Category
|
|
327
332
|
* @param {string} curationCategoryId
|
|
328
|
-
* @param {string} languageCode
|
|
333
|
+
* @param {string} [languageCode]
|
|
334
|
+
* @param {number} [page]
|
|
335
|
+
* @param {number} [limit]
|
|
329
336
|
* @param {*} [options] Override http request option.
|
|
330
|
-
* @deprecated
|
|
331
337
|
* @throws {RequiredError}
|
|
332
338
|
*/
|
|
333
|
-
apiV2CurationsCategoryCurationCategoryIdGet: function (curationCategoryId, languageCode, options) {
|
|
339
|
+
apiV2CurationsCategoryCurationCategoryIdGet: function (curationCategoryId, languageCode, page, limit, options) {
|
|
334
340
|
return __awaiter(this, void 0, void 0, function () {
|
|
335
341
|
var localVarAxiosArgs;
|
|
336
342
|
return __generator(this, function (_a) {
|
|
337
343
|
switch (_a.label) {
|
|
338
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2CurationsCategoryCurationCategoryIdGet(curationCategoryId, languageCode, options)];
|
|
344
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2CurationsCategoryCurationCategoryIdGet(curationCategoryId, languageCode, page, limit, options)];
|
|
339
345
|
case 1:
|
|
340
346
|
localVarAxiosArgs = _a.sent();
|
|
341
347
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -415,13 +421,14 @@ var CurationsApiFactory = function (configuration, basePath, axios) {
|
|
|
415
421
|
*
|
|
416
422
|
* @summary Get Curations by single Category
|
|
417
423
|
* @param {string} curationCategoryId
|
|
418
|
-
* @param {string} languageCode
|
|
424
|
+
* @param {string} [languageCode]
|
|
425
|
+
* @param {number} [page]
|
|
426
|
+
* @param {number} [limit]
|
|
419
427
|
* @param {*} [options] Override http request option.
|
|
420
|
-
* @deprecated
|
|
421
428
|
* @throws {RequiredError}
|
|
422
429
|
*/
|
|
423
|
-
apiV2CurationsCategoryCurationCategoryIdGet: function (curationCategoryId, languageCode, options) {
|
|
424
|
-
return localVarFp.apiV2CurationsCategoryCurationCategoryIdGet(curationCategoryId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
430
|
+
apiV2CurationsCategoryCurationCategoryIdGet: function (curationCategoryId, languageCode, page, limit, options) {
|
|
431
|
+
return localVarFp.apiV2CurationsCategoryCurationCategoryIdGet(curationCategoryId, languageCode, page, limit, options).then(function (request) { return request(axios, basePath); });
|
|
425
432
|
},
|
|
426
433
|
/**
|
|
427
434
|
*
|
|
@@ -480,13 +487,12 @@ var CurationsApi = /** @class */ (function (_super) {
|
|
|
480
487
|
* @summary Get Curations by single Category
|
|
481
488
|
* @param {CurationsApiApiV2CurationsCategoryCurationCategoryIdGetRequest} requestParameters Request parameters.
|
|
482
489
|
* @param {*} [options] Override http request option.
|
|
483
|
-
* @deprecated
|
|
484
490
|
* @throws {RequiredError}
|
|
485
491
|
* @memberof CurationsApi
|
|
486
492
|
*/
|
|
487
493
|
CurationsApi.prototype.apiV2CurationsCategoryCurationCategoryIdGet = function (requestParameters, options) {
|
|
488
494
|
var _this = this;
|
|
489
|
-
return (0, exports.CurationsApiFp)(this.configuration).apiV2CurationsCategoryCurationCategoryIdGet(requestParameters.curationCategoryId, requestParameters.languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
495
|
+
return (0, exports.CurationsApiFp)(this.configuration).apiV2CurationsCategoryCurationCategoryIdGet(requestParameters.curationCategoryId, requestParameters.languageCode, requestParameters.page, requestParameters.limit, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
490
496
|
};
|
|
491
497
|
/**
|
|
492
498
|
*
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Values: - `New`: New - `Rejected`: Rejected - `Approved`: Approved - `RescheduleRequested`: RescheduleRequested - `Paid`: Paid - `Canceled`: Canceled - `RefundRequested`: RefundRequested - `RefundRequestedByManager`: RefundRequestedByManager - `Refunded`: Refunded - `Completed`: Completed
|
|
14
14
|
* @export
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.AppointmentStatus = void 0;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Values: - `New`: New - `Rejected`: Rejected - `Approved`: Approved - `RescheduleRequested`: RescheduleRequested - `Paid`: Paid - `Canceled`: Canceled - `RefundRequested`: RefundRequested - `RefundRequestedByManager`: RefundRequestedByManager - `Refunded`: Refunded - `Completed`: Completed
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.AppointmentType = void 0;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Values: - `Hospital`: Hospital - `Doctor`: Doctor - `DealPackage`: DealPackage - `HospitalSpecialty`: HospitalSpecialty - `HospitalService`: HospitalService
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Values: - `All`: All - `GeneralHealth`: GeneralHealth - `Beauty`: Beauty - `Tech`: Tech - `MedicalContent`: MedicalContent - `Press`: Press - `Insights`: Insights - `News`: News
|
|
14
14
|
* @export
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ArticleType = void 0;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Values: - `All`: All - `GeneralHealth`: GeneralHealth - `Beauty`: Beauty - `Tech`: Tech - `MedicalContent`: MedicalContent - `Press`: Press - `Insights`: Insights - `News`: News
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Values: - `Started`: Started - `Ringing`: Ringing - `Answered`: Answered - `Busy`: Busy - `Cancelled`: Cancelled - `Unanswered`: Unanswered - `Disconnected`: Disconnected - `Rejected`: Rejected - `Failed`: Failed - `Completed`: Completed - `Timeout`: Timeout
|
|
14
14
|
* @export
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.CallStatus = void 0;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Values: - `Started`: Started - `Ringing`: Ringing - `Answered`: Answered - `Busy`: Busy - `Cancelled`: Cancelled - `Unanswered`: Unanswered - `Disconnected`: Disconnected - `Rejected`: Rejected - `Failed`: Failed - `Completed`: Completed - `Timeout`: Timeout
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Values: - `Voip`: Voip - `Emergency`: Emergency - `Appointment`: Appointment - `Phone`: Phone - `Email`: Email - `Telegram`: Telegram - `WhatsApp`: WhatsApp - `Kakao`: Kakao - `WeChat`: WeChat - `Line`: Line
|
|
14
14
|
* @export
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.ContactType = void 0;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Values: - `Voip`: Voip - `Emergency`: Emergency - `Appointment`: Appointment - `Phone`: Phone - `Email`: Email - `Telegram`: Telegram - `WhatsApp`: WhatsApp - `Kakao`: Kakao - `WeChat`: WeChat - `Line`: Line
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CloudHospital Api
|
|
3
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 2
|
|
6
|
+
* Contact: developer@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 { CurationItemModel } from './curation-item-model';
|
|
13
|
+
import { PagedListMetaData } from './paged-list-meta-data';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface CurationsModel
|
|
18
|
+
*/
|
|
19
|
+
export interface CurationsModel {
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
* @type {Array<CurationItemModel>}
|
|
23
|
+
* @memberof CurationsModel
|
|
24
|
+
*/
|
|
25
|
+
'items'?: Array<CurationItemModel> | null;
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
* @type {PagedListMetaData}
|
|
29
|
+
* @memberof CurationsModel
|
|
30
|
+
*/
|
|
31
|
+
'metaData'?: PagedListMetaData;
|
|
32
|
+
}
|
|
33
|
+
//# sourceMappingURL=curations-model.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"curations-model.d.ts","sourceRoot":"","sources":["../../src/models/curations-model.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAKH,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAG1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D;;;;GAIG;AACH,MAAM,WAAW,cAAc;IAC3B;;;;OAIG;IACH,OAAO,CAAC,EAAE,KAAK,CAAC,iBAAiB,CAAC,GAAG,IAAI,CAAC;IAC1C;;;;OAIG;IACH,UAAU,CAAC,EAAE,iBAAiB,CAAC;CAClC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* CloudHospital Api
|
|
6
|
+
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 2
|
|
9
|
+
* Contact: developer@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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
/**
|
|
13
|
-
*
|
|
13
|
+
* Values: - `Hospital`: Hospital - `Doctor`: Doctor - `Deal`: Deal - `Article`: Article - `GeneralArticle`: GeneralArticle - `HospitalSpecialty`: HospitalSpecialty - `Service`: Service - `SpecialtyType`: SpecialtyType - `Specialty`: Specialty
|
|
14
14
|
* @export
|
|
15
15
|
* @enum {string}
|
|
16
16
|
*/
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.FrequentlyAskedQuestionSubcategories = void 0;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Values: - `Hospital`: Hospital - `Doctor`: Doctor - `Deal`: Deal - `Article`: Article - `GeneralArticle`: GeneralArticle - `HospitalSpecialty`: HospitalSpecialty - `Service`: Service - `SpecialtyType`: SpecialtyType - `Specialty`: Specialty
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|
package/lib/models/gender.d.ts
CHANGED
package/lib/models/gender.js
CHANGED
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
16
|
exports.Gender = void 0;
|
|
17
17
|
/**
|
|
18
|
-
*
|
|
18
|
+
* Values: - `NotSpecified`: NotSpecified - `Male`: Male - `Female`: Female - `NonBinary`: NonBinary - `PreferNotToSay`: PreferNotToSay
|
|
19
19
|
* @export
|
|
20
20
|
* @enum {string}
|
|
21
21
|
*/
|