ch-api-client-typescript2 2.9.6 → 2.9.7
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.d.ts +487 -41
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +524 -88
- package/package.json +1 -1
- package/src/api.ts +761 -101
package/lib/api.js
CHANGED
|
@@ -305,6 +305,8 @@ var SnsType;
|
|
|
305
305
|
SnsType["Twitter"] = "Twitter";
|
|
306
306
|
SnsType["Facebook"] = "Facebook";
|
|
307
307
|
SnsType["Instagram"] = "Instagram";
|
|
308
|
+
SnsType["LinkedIn"] = "LinkedIn";
|
|
309
|
+
SnsType["Youtube"] = "Youtube";
|
|
308
310
|
})(SnsType = exports.SnsType || (exports.SnsType = {}));
|
|
309
311
|
/**
|
|
310
312
|
*
|
|
@@ -323,47 +325,6 @@ var UserLocationType;
|
|
|
323
325
|
var AboutUsApiAxiosParamCreator = function (configuration) {
|
|
324
326
|
var _this = this;
|
|
325
327
|
return {
|
|
326
|
-
/**
|
|
327
|
-
*
|
|
328
|
-
* @summary Get AboutUs.
|
|
329
|
-
* @param {string} aboutUsId
|
|
330
|
-
* @param {string} [languageCode]
|
|
331
|
-
* @param {boolean} [returnDefaultValue]
|
|
332
|
-
* @param {*} [options] Override http request option.
|
|
333
|
-
* @throws {RequiredError}
|
|
334
|
-
*/
|
|
335
|
-
apiV2AboutusAboutUsIdGet: function (aboutUsId, languageCode, returnDefaultValue, options) {
|
|
336
|
-
if (options === void 0) { options = {}; }
|
|
337
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
338
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
339
|
-
return __generator(this, function (_a) {
|
|
340
|
-
// verify required parameter 'aboutUsId' is not null or undefined
|
|
341
|
-
(0, common_1.assertParamExists)('apiV2AboutusAboutUsIdGet', 'aboutUsId', aboutUsId);
|
|
342
|
-
localVarPath = "/api/v2/aboutus/{aboutUsId}"
|
|
343
|
-
.replace("{".concat("aboutUsId", "}"), encodeURIComponent(String(aboutUsId)));
|
|
344
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
345
|
-
if (configuration) {
|
|
346
|
-
baseOptions = configuration.baseOptions;
|
|
347
|
-
}
|
|
348
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
349
|
-
localVarHeaderParameter = {};
|
|
350
|
-
localVarQueryParameter = {};
|
|
351
|
-
if (languageCode !== undefined) {
|
|
352
|
-
localVarQueryParameter['languageCode'] = languageCode;
|
|
353
|
-
}
|
|
354
|
-
if (returnDefaultValue !== undefined) {
|
|
355
|
-
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
356
|
-
}
|
|
357
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
358
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
359
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
360
|
-
return [2 /*return*/, {
|
|
361
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
362
|
-
options: localVarRequestOptions,
|
|
363
|
-
}];
|
|
364
|
-
});
|
|
365
|
-
});
|
|
366
|
-
},
|
|
367
328
|
/**
|
|
368
329
|
*
|
|
369
330
|
* @summary Get all AboutUsList.
|
|
@@ -459,6 +420,47 @@ var AboutUsApiAxiosParamCreator = function (configuration) {
|
|
|
459
420
|
});
|
|
460
421
|
});
|
|
461
422
|
},
|
|
423
|
+
/**
|
|
424
|
+
*
|
|
425
|
+
* @summary Get AboutUs.
|
|
426
|
+
* @param {string} hospitalId
|
|
427
|
+
* @param {string} [languageCode]
|
|
428
|
+
* @param {boolean} [returnDefaultValue]
|
|
429
|
+
* @param {*} [options] Override http request option.
|
|
430
|
+
* @throws {RequiredError}
|
|
431
|
+
*/
|
|
432
|
+
apiV2AboutusHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
433
|
+
if (options === void 0) { options = {}; }
|
|
434
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
435
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
436
|
+
return __generator(this, function (_a) {
|
|
437
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
438
|
+
(0, common_1.assertParamExists)('apiV2AboutusHospitalIdGet', 'hospitalId', hospitalId);
|
|
439
|
+
localVarPath = "/api/v2/aboutus/{hospitalId}"
|
|
440
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
441
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
442
|
+
if (configuration) {
|
|
443
|
+
baseOptions = configuration.baseOptions;
|
|
444
|
+
}
|
|
445
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
446
|
+
localVarHeaderParameter = {};
|
|
447
|
+
localVarQueryParameter = {};
|
|
448
|
+
if (languageCode !== undefined) {
|
|
449
|
+
localVarQueryParameter['languageCode'] = languageCode;
|
|
450
|
+
}
|
|
451
|
+
if (returnDefaultValue !== undefined) {
|
|
452
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
453
|
+
}
|
|
454
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
455
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
456
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
457
|
+
return [2 /*return*/, {
|
|
458
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
459
|
+
options: localVarRequestOptions,
|
|
460
|
+
}];
|
|
461
|
+
});
|
|
462
|
+
});
|
|
463
|
+
},
|
|
462
464
|
/**
|
|
463
465
|
*
|
|
464
466
|
* @param {string} slug
|
|
@@ -511,19 +513,32 @@ var AboutUsApiFp = function (configuration) {
|
|
|
511
513
|
return {
|
|
512
514
|
/**
|
|
513
515
|
*
|
|
514
|
-
* @summary Get
|
|
515
|
-
* @param {string}
|
|
516
|
+
* @summary Get all AboutUsList.
|
|
517
|
+
* @param {string} [hospitalId]
|
|
518
|
+
* @param {string} [hospitalName]
|
|
519
|
+
* @param {string} [hospitalSlug]
|
|
520
|
+
* @param {string} [overviewTitle]
|
|
521
|
+
* @param {string} [normalizedOverviewTitle]
|
|
522
|
+
* @param {string} [overview]
|
|
523
|
+
* @param {string} [content]
|
|
524
|
+
* @param {string} [customStyle]
|
|
525
|
+
* @param {string} [background]
|
|
526
|
+
* @param {string} [backgroundThumbnail]
|
|
516
527
|
* @param {string} [languageCode]
|
|
517
528
|
* @param {boolean} [returnDefaultValue]
|
|
529
|
+
* @param {boolean} [confirmed]
|
|
530
|
+
* @param {number} [page]
|
|
531
|
+
* @param {number} [limit]
|
|
532
|
+
* @param {Date} [lastRetrieved]
|
|
518
533
|
* @param {*} [options] Override http request option.
|
|
519
534
|
* @throws {RequiredError}
|
|
520
535
|
*/
|
|
521
|
-
|
|
536
|
+
apiV2AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
|
|
522
537
|
return __awaiter(this, void 0, void 0, function () {
|
|
523
538
|
var localVarAxiosArgs;
|
|
524
539
|
return __generator(this, function (_a) {
|
|
525
540
|
switch (_a.label) {
|
|
526
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
541
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options)];
|
|
527
542
|
case 1:
|
|
528
543
|
localVarAxiosArgs = _a.sent();
|
|
529
544
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -533,32 +548,19 @@ var AboutUsApiFp = function (configuration) {
|
|
|
533
548
|
},
|
|
534
549
|
/**
|
|
535
550
|
*
|
|
536
|
-
* @summary Get
|
|
537
|
-
* @param {string}
|
|
538
|
-
* @param {string} [hospitalName]
|
|
539
|
-
* @param {string} [hospitalSlug]
|
|
540
|
-
* @param {string} [overviewTitle]
|
|
541
|
-
* @param {string} [normalizedOverviewTitle]
|
|
542
|
-
* @param {string} [overview]
|
|
543
|
-
* @param {string} [content]
|
|
544
|
-
* @param {string} [customStyle]
|
|
545
|
-
* @param {string} [background]
|
|
546
|
-
* @param {string} [backgroundThumbnail]
|
|
551
|
+
* @summary Get AboutUs.
|
|
552
|
+
* @param {string} hospitalId
|
|
547
553
|
* @param {string} [languageCode]
|
|
548
554
|
* @param {boolean} [returnDefaultValue]
|
|
549
|
-
* @param {boolean} [confirmed]
|
|
550
|
-
* @param {number} [page]
|
|
551
|
-
* @param {number} [limit]
|
|
552
|
-
* @param {Date} [lastRetrieved]
|
|
553
555
|
* @param {*} [options] Override http request option.
|
|
554
556
|
* @throws {RequiredError}
|
|
555
557
|
*/
|
|
556
|
-
|
|
558
|
+
apiV2AboutusHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
557
559
|
return __awaiter(this, void 0, void 0, function () {
|
|
558
560
|
var localVarAxiosArgs;
|
|
559
561
|
return __generator(this, function (_a) {
|
|
560
562
|
switch (_a.label) {
|
|
561
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
563
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options)];
|
|
562
564
|
case 1:
|
|
563
565
|
localVarAxiosArgs = _a.sent();
|
|
564
566
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -597,18 +599,6 @@ exports.AboutUsApiFp = AboutUsApiFp;
|
|
|
597
599
|
var AboutUsApiFactory = function (configuration, basePath, axios) {
|
|
598
600
|
var localVarFp = (0, exports.AboutUsApiFp)(configuration);
|
|
599
601
|
return {
|
|
600
|
-
/**
|
|
601
|
-
*
|
|
602
|
-
* @summary Get AboutUs.
|
|
603
|
-
* @param {string} aboutUsId
|
|
604
|
-
* @param {string} [languageCode]
|
|
605
|
-
* @param {boolean} [returnDefaultValue]
|
|
606
|
-
* @param {*} [options] Override http request option.
|
|
607
|
-
* @throws {RequiredError}
|
|
608
|
-
*/
|
|
609
|
-
apiV2AboutusAboutUsIdGet: function (aboutUsId, languageCode, returnDefaultValue, options) {
|
|
610
|
-
return localVarFp.apiV2AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
611
|
-
},
|
|
612
602
|
/**
|
|
613
603
|
*
|
|
614
604
|
* @summary Get all AboutUsList.
|
|
@@ -634,6 +624,18 @@ var AboutUsApiFactory = function (configuration, basePath, axios) {
|
|
|
634
624
|
apiV2AboutusGet: function (hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options) {
|
|
635
625
|
return localVarFp.apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
636
626
|
},
|
|
627
|
+
/**
|
|
628
|
+
*
|
|
629
|
+
* @summary Get AboutUs.
|
|
630
|
+
* @param {string} hospitalId
|
|
631
|
+
* @param {string} [languageCode]
|
|
632
|
+
* @param {boolean} [returnDefaultValue]
|
|
633
|
+
* @param {*} [options] Override http request option.
|
|
634
|
+
* @throws {RequiredError}
|
|
635
|
+
*/
|
|
636
|
+
apiV2AboutusHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
637
|
+
return localVarFp.apiV2AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
638
|
+
},
|
|
637
639
|
/**
|
|
638
640
|
*
|
|
639
641
|
* @param {string} slug
|
|
@@ -659,20 +661,6 @@ var AboutUsApi = /** @class */ (function (_super) {
|
|
|
659
661
|
function AboutUsApi() {
|
|
660
662
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
661
663
|
}
|
|
662
|
-
/**
|
|
663
|
-
*
|
|
664
|
-
* @summary Get AboutUs.
|
|
665
|
-
* @param {string} aboutUsId
|
|
666
|
-
* @param {string} [languageCode]
|
|
667
|
-
* @param {boolean} [returnDefaultValue]
|
|
668
|
-
* @param {*} [options] Override http request option.
|
|
669
|
-
* @throws {RequiredError}
|
|
670
|
-
* @memberof AboutUsApi
|
|
671
|
-
*/
|
|
672
|
-
AboutUsApi.prototype.apiV2AboutusAboutUsIdGet = function (aboutUsId, languageCode, returnDefaultValue, options) {
|
|
673
|
-
var _this = this;
|
|
674
|
-
return (0, exports.AboutUsApiFp)(this.configuration).apiV2AboutusAboutUsIdGet(aboutUsId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
675
|
-
};
|
|
676
664
|
/**
|
|
677
665
|
*
|
|
678
666
|
* @summary Get all AboutUsList.
|
|
@@ -700,6 +688,20 @@ var AboutUsApi = /** @class */ (function (_super) {
|
|
|
700
688
|
var _this = this;
|
|
701
689
|
return (0, exports.AboutUsApiFp)(this.configuration).apiV2AboutusGet(hospitalId, hospitalName, hospitalSlug, overviewTitle, normalizedOverviewTitle, overview, content, customStyle, background, backgroundThumbnail, languageCode, returnDefaultValue, confirmed, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
702
690
|
};
|
|
691
|
+
/**
|
|
692
|
+
*
|
|
693
|
+
* @summary Get AboutUs.
|
|
694
|
+
* @param {string} hospitalId
|
|
695
|
+
* @param {string} [languageCode]
|
|
696
|
+
* @param {boolean} [returnDefaultValue]
|
|
697
|
+
* @param {*} [options] Override http request option.
|
|
698
|
+
* @throws {RequiredError}
|
|
699
|
+
* @memberof AboutUsApi
|
|
700
|
+
*/
|
|
701
|
+
AboutUsApi.prototype.apiV2AboutusHospitalIdGet = function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
702
|
+
var _this = this;
|
|
703
|
+
return (0, exports.AboutUsApiFp)(this.configuration).apiV2AboutusHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
704
|
+
};
|
|
703
705
|
/**
|
|
704
706
|
*
|
|
705
707
|
* @param {string} slug
|
|
@@ -10747,6 +10749,106 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10747
10749
|
});
|
|
10748
10750
|
});
|
|
10749
10751
|
},
|
|
10752
|
+
/**
|
|
10753
|
+
*
|
|
10754
|
+
* @summary Get all HospitalHandles.
|
|
10755
|
+
* @param {string} hospitalId
|
|
10756
|
+
* @param {string} [hospitalId2]
|
|
10757
|
+
* @param {string} [id]
|
|
10758
|
+
* @param {SnsType} [snsType]
|
|
10759
|
+
* @param {string} [handle]
|
|
10760
|
+
* @param {number} [page]
|
|
10761
|
+
* @param {number} [limit]
|
|
10762
|
+
* @param {Date} [lastRetrieved]
|
|
10763
|
+
* @param {*} [options] Override http request option.
|
|
10764
|
+
* @throws {RequiredError}
|
|
10765
|
+
*/
|
|
10766
|
+
apiV2HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
|
|
10767
|
+
if (options === void 0) { options = {}; }
|
|
10768
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
10769
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
10770
|
+
return __generator(this, function (_a) {
|
|
10771
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
10772
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdHandlesGet', 'hospitalId', hospitalId);
|
|
10773
|
+
localVarPath = "/api/v2/hospitals/{hospitalId}/handles"
|
|
10774
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
10775
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10776
|
+
if (configuration) {
|
|
10777
|
+
baseOptions = configuration.baseOptions;
|
|
10778
|
+
}
|
|
10779
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
10780
|
+
localVarHeaderParameter = {};
|
|
10781
|
+
localVarQueryParameter = {};
|
|
10782
|
+
if (hospitalId2 !== undefined) {
|
|
10783
|
+
localVarQueryParameter['HospitalId'] = hospitalId2;
|
|
10784
|
+
}
|
|
10785
|
+
if (id !== undefined) {
|
|
10786
|
+
localVarQueryParameter['Id'] = id;
|
|
10787
|
+
}
|
|
10788
|
+
if (snsType !== undefined) {
|
|
10789
|
+
localVarQueryParameter['SnsType'] = snsType;
|
|
10790
|
+
}
|
|
10791
|
+
if (handle !== undefined) {
|
|
10792
|
+
localVarQueryParameter['Handle'] = handle;
|
|
10793
|
+
}
|
|
10794
|
+
if (page !== undefined) {
|
|
10795
|
+
localVarQueryParameter['page'] = page;
|
|
10796
|
+
}
|
|
10797
|
+
if (limit !== undefined) {
|
|
10798
|
+
localVarQueryParameter['limit'] = limit;
|
|
10799
|
+
}
|
|
10800
|
+
if (lastRetrieved !== undefined) {
|
|
10801
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
10802
|
+
lastRetrieved.toISOString() :
|
|
10803
|
+
lastRetrieved;
|
|
10804
|
+
}
|
|
10805
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10806
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10807
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10808
|
+
return [2 /*return*/, {
|
|
10809
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10810
|
+
options: localVarRequestOptions,
|
|
10811
|
+
}];
|
|
10812
|
+
});
|
|
10813
|
+
});
|
|
10814
|
+
},
|
|
10815
|
+
/**
|
|
10816
|
+
*
|
|
10817
|
+
* @summary Get HospitalHandle.
|
|
10818
|
+
* @param {string} hospitalId
|
|
10819
|
+
* @param {string} handleId
|
|
10820
|
+
* @param {*} [options] Override http request option.
|
|
10821
|
+
* @throws {RequiredError}
|
|
10822
|
+
*/
|
|
10823
|
+
apiV2HospitalsHospitalIdHandlesHandleIdGet: function (hospitalId, handleId, options) {
|
|
10824
|
+
if (options === void 0) { options = {}; }
|
|
10825
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
10826
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
10827
|
+
return __generator(this, function (_a) {
|
|
10828
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
10829
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdHandlesHandleIdGet', 'hospitalId', hospitalId);
|
|
10830
|
+
// verify required parameter 'handleId' is not null or undefined
|
|
10831
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdHandlesHandleIdGet', 'handleId', handleId);
|
|
10832
|
+
localVarPath = "/api/v2/hospitals/{hospitalId}/handles/{handleId}"
|
|
10833
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
10834
|
+
.replace("{".concat("handleId", "}"), encodeURIComponent(String(handleId)));
|
|
10835
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
10836
|
+
if (configuration) {
|
|
10837
|
+
baseOptions = configuration.baseOptions;
|
|
10838
|
+
}
|
|
10839
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
10840
|
+
localVarHeaderParameter = {};
|
|
10841
|
+
localVarQueryParameter = {};
|
|
10842
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
10843
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10844
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
10845
|
+
return [2 /*return*/, {
|
|
10846
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
10847
|
+
options: localVarRequestOptions,
|
|
10848
|
+
}];
|
|
10849
|
+
});
|
|
10850
|
+
});
|
|
10851
|
+
},
|
|
10750
10852
|
/**
|
|
10751
10853
|
*
|
|
10752
10854
|
* @summary Get all HospitalMedias.
|
|
@@ -11344,6 +11446,118 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
11344
11446
|
});
|
|
11345
11447
|
});
|
|
11346
11448
|
},
|
|
11449
|
+
/**
|
|
11450
|
+
*
|
|
11451
|
+
* @summary Get all HospitalWorkingDays.
|
|
11452
|
+
* @param {string} hospitalId
|
|
11453
|
+
* @param {string} [hospitalId2]
|
|
11454
|
+
* @param {string} [id]
|
|
11455
|
+
* @param {string} [dayOfWeek]
|
|
11456
|
+
* @param {Date} [timeFrom]
|
|
11457
|
+
* @param {Date} [timeTo]
|
|
11458
|
+
* @param {boolean} [checkHoliday]
|
|
11459
|
+
* @param {number} [page]
|
|
11460
|
+
* @param {number} [limit]
|
|
11461
|
+
* @param {Date} [lastRetrieved]
|
|
11462
|
+
* @param {*} [options] Override http request option.
|
|
11463
|
+
* @throws {RequiredError}
|
|
11464
|
+
*/
|
|
11465
|
+
apiV2HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
11466
|
+
if (options === void 0) { options = {}; }
|
|
11467
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
11468
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
11469
|
+
return __generator(this, function (_a) {
|
|
11470
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
11471
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdWorkingdaysGet', 'hospitalId', hospitalId);
|
|
11472
|
+
localVarPath = "/api/v2/hospitals/{hospitalId}/workingdays"
|
|
11473
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
|
|
11474
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11475
|
+
if (configuration) {
|
|
11476
|
+
baseOptions = configuration.baseOptions;
|
|
11477
|
+
}
|
|
11478
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
11479
|
+
localVarHeaderParameter = {};
|
|
11480
|
+
localVarQueryParameter = {};
|
|
11481
|
+
if (hospitalId2 !== undefined) {
|
|
11482
|
+
localVarQueryParameter['HospitalId'] = hospitalId2;
|
|
11483
|
+
}
|
|
11484
|
+
if (id !== undefined) {
|
|
11485
|
+
localVarQueryParameter['Id'] = id;
|
|
11486
|
+
}
|
|
11487
|
+
if (dayOfWeek !== undefined) {
|
|
11488
|
+
localVarQueryParameter['DayOfWeek'] = dayOfWeek;
|
|
11489
|
+
}
|
|
11490
|
+
if (timeFrom !== undefined) {
|
|
11491
|
+
localVarQueryParameter['TimeFrom'] = (timeFrom instanceof Date) ?
|
|
11492
|
+
timeFrom.toISOString() :
|
|
11493
|
+
timeFrom;
|
|
11494
|
+
}
|
|
11495
|
+
if (timeTo !== undefined) {
|
|
11496
|
+
localVarQueryParameter['TimeTo'] = (timeTo instanceof Date) ?
|
|
11497
|
+
timeTo.toISOString() :
|
|
11498
|
+
timeTo;
|
|
11499
|
+
}
|
|
11500
|
+
if (checkHoliday !== undefined) {
|
|
11501
|
+
localVarQueryParameter['CheckHoliday'] = checkHoliday;
|
|
11502
|
+
}
|
|
11503
|
+
if (page !== undefined) {
|
|
11504
|
+
localVarQueryParameter['page'] = page;
|
|
11505
|
+
}
|
|
11506
|
+
if (limit !== undefined) {
|
|
11507
|
+
localVarQueryParameter['limit'] = limit;
|
|
11508
|
+
}
|
|
11509
|
+
if (lastRetrieved !== undefined) {
|
|
11510
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
11511
|
+
lastRetrieved.toISOString() :
|
|
11512
|
+
lastRetrieved;
|
|
11513
|
+
}
|
|
11514
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11515
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11516
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11517
|
+
return [2 /*return*/, {
|
|
11518
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11519
|
+
options: localVarRequestOptions,
|
|
11520
|
+
}];
|
|
11521
|
+
});
|
|
11522
|
+
});
|
|
11523
|
+
},
|
|
11524
|
+
/**
|
|
11525
|
+
*
|
|
11526
|
+
* @summary Get HospitalWorkingDay.
|
|
11527
|
+
* @param {string} hospitalId
|
|
11528
|
+
* @param {string} workingDayId
|
|
11529
|
+
* @param {*} [options] Override http request option.
|
|
11530
|
+
* @throws {RequiredError}
|
|
11531
|
+
*/
|
|
11532
|
+
apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet: function (hospitalId, workingDayId, options) {
|
|
11533
|
+
if (options === void 0) { options = {}; }
|
|
11534
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
11535
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
11536
|
+
return __generator(this, function (_a) {
|
|
11537
|
+
// verify required parameter 'hospitalId' is not null or undefined
|
|
11538
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet', 'hospitalId', hospitalId);
|
|
11539
|
+
// verify required parameter 'workingDayId' is not null or undefined
|
|
11540
|
+
(0, common_1.assertParamExists)('apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet', 'workingDayId', workingDayId);
|
|
11541
|
+
localVarPath = "/api/v2/hospitals/{hospitalId}/workingdays/{workingDayId}"
|
|
11542
|
+
.replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)))
|
|
11543
|
+
.replace("{".concat("workingDayId", "}"), encodeURIComponent(String(workingDayId)));
|
|
11544
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
11545
|
+
if (configuration) {
|
|
11546
|
+
baseOptions = configuration.baseOptions;
|
|
11547
|
+
}
|
|
11548
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
11549
|
+
localVarHeaderParameter = {};
|
|
11550
|
+
localVarQueryParameter = {};
|
|
11551
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
11552
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11553
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
11554
|
+
return [2 /*return*/, {
|
|
11555
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
11556
|
+
options: localVarRequestOptions,
|
|
11557
|
+
}];
|
|
11558
|
+
});
|
|
11559
|
+
});
|
|
11560
|
+
},
|
|
11347
11561
|
/**
|
|
11348
11562
|
*
|
|
11349
11563
|
* @summary Get all Hospitals.
|
|
@@ -11739,6 +11953,54 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11739
11953
|
});
|
|
11740
11954
|
});
|
|
11741
11955
|
},
|
|
11956
|
+
/**
|
|
11957
|
+
*
|
|
11958
|
+
* @summary Get all HospitalHandles.
|
|
11959
|
+
* @param {string} hospitalId
|
|
11960
|
+
* @param {string} [hospitalId2]
|
|
11961
|
+
* @param {string} [id]
|
|
11962
|
+
* @param {SnsType} [snsType]
|
|
11963
|
+
* @param {string} [handle]
|
|
11964
|
+
* @param {number} [page]
|
|
11965
|
+
* @param {number} [limit]
|
|
11966
|
+
* @param {Date} [lastRetrieved]
|
|
11967
|
+
* @param {*} [options] Override http request option.
|
|
11968
|
+
* @throws {RequiredError}
|
|
11969
|
+
*/
|
|
11970
|
+
apiV2HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
|
|
11971
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11972
|
+
var localVarAxiosArgs;
|
|
11973
|
+
return __generator(this, function (_a) {
|
|
11974
|
+
switch (_a.label) {
|
|
11975
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options)];
|
|
11976
|
+
case 1:
|
|
11977
|
+
localVarAxiosArgs = _a.sent();
|
|
11978
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
11979
|
+
}
|
|
11980
|
+
});
|
|
11981
|
+
});
|
|
11982
|
+
},
|
|
11983
|
+
/**
|
|
11984
|
+
*
|
|
11985
|
+
* @summary Get HospitalHandle.
|
|
11986
|
+
* @param {string} hospitalId
|
|
11987
|
+
* @param {string} handleId
|
|
11988
|
+
* @param {*} [options] Override http request option.
|
|
11989
|
+
* @throws {RequiredError}
|
|
11990
|
+
*/
|
|
11991
|
+
apiV2HospitalsHospitalIdHandlesHandleIdGet: function (hospitalId, handleId, options) {
|
|
11992
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
11993
|
+
var localVarAxiosArgs;
|
|
11994
|
+
return __generator(this, function (_a) {
|
|
11995
|
+
switch (_a.label) {
|
|
11996
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options)];
|
|
11997
|
+
case 1:
|
|
11998
|
+
localVarAxiosArgs = _a.sent();
|
|
11999
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
12000
|
+
}
|
|
12001
|
+
});
|
|
12002
|
+
});
|
|
12003
|
+
},
|
|
11742
12004
|
/**
|
|
11743
12005
|
*
|
|
11744
12006
|
* @summary Get all HospitalMedias.
|
|
@@ -11991,6 +12253,56 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11991
12253
|
});
|
|
11992
12254
|
});
|
|
11993
12255
|
},
|
|
12256
|
+
/**
|
|
12257
|
+
*
|
|
12258
|
+
* @summary Get all HospitalWorkingDays.
|
|
12259
|
+
* @param {string} hospitalId
|
|
12260
|
+
* @param {string} [hospitalId2]
|
|
12261
|
+
* @param {string} [id]
|
|
12262
|
+
* @param {string} [dayOfWeek]
|
|
12263
|
+
* @param {Date} [timeFrom]
|
|
12264
|
+
* @param {Date} [timeTo]
|
|
12265
|
+
* @param {boolean} [checkHoliday]
|
|
12266
|
+
* @param {number} [page]
|
|
12267
|
+
* @param {number} [limit]
|
|
12268
|
+
* @param {Date} [lastRetrieved]
|
|
12269
|
+
* @param {*} [options] Override http request option.
|
|
12270
|
+
* @throws {RequiredError}
|
|
12271
|
+
*/
|
|
12272
|
+
apiV2HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
12273
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12274
|
+
var localVarAxiosArgs;
|
|
12275
|
+
return __generator(this, function (_a) {
|
|
12276
|
+
switch (_a.label) {
|
|
12277
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options)];
|
|
12278
|
+
case 1:
|
|
12279
|
+
localVarAxiosArgs = _a.sent();
|
|
12280
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
12281
|
+
}
|
|
12282
|
+
});
|
|
12283
|
+
});
|
|
12284
|
+
},
|
|
12285
|
+
/**
|
|
12286
|
+
*
|
|
12287
|
+
* @summary Get HospitalWorkingDay.
|
|
12288
|
+
* @param {string} hospitalId
|
|
12289
|
+
* @param {string} workingDayId
|
|
12290
|
+
* @param {*} [options] Override http request option.
|
|
12291
|
+
* @throws {RequiredError}
|
|
12292
|
+
*/
|
|
12293
|
+
apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet: function (hospitalId, workingDayId, options) {
|
|
12294
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12295
|
+
var localVarAxiosArgs;
|
|
12296
|
+
return __generator(this, function (_a) {
|
|
12297
|
+
switch (_a.label) {
|
|
12298
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options)];
|
|
12299
|
+
case 1:
|
|
12300
|
+
localVarAxiosArgs = _a.sent();
|
|
12301
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
12302
|
+
}
|
|
12303
|
+
});
|
|
12304
|
+
});
|
|
12305
|
+
},
|
|
11994
12306
|
/**
|
|
11995
12307
|
*
|
|
11996
12308
|
* @summary Get all Hospitals.
|
|
@@ -12205,6 +12517,34 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12205
12517
|
apiV2HospitalsHospitalIdGet: function (hospitalId, languageCode, returnDefaultValue, options) {
|
|
12206
12518
|
return localVarFp.apiV2HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
12207
12519
|
},
|
|
12520
|
+
/**
|
|
12521
|
+
*
|
|
12522
|
+
* @summary Get all HospitalHandles.
|
|
12523
|
+
* @param {string} hospitalId
|
|
12524
|
+
* @param {string} [hospitalId2]
|
|
12525
|
+
* @param {string} [id]
|
|
12526
|
+
* @param {SnsType} [snsType]
|
|
12527
|
+
* @param {string} [handle]
|
|
12528
|
+
* @param {number} [page]
|
|
12529
|
+
* @param {number} [limit]
|
|
12530
|
+
* @param {Date} [lastRetrieved]
|
|
12531
|
+
* @param {*} [options] Override http request option.
|
|
12532
|
+
* @throws {RequiredError}
|
|
12533
|
+
*/
|
|
12534
|
+
apiV2HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
|
|
12535
|
+
return localVarFp.apiV2HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12536
|
+
},
|
|
12537
|
+
/**
|
|
12538
|
+
*
|
|
12539
|
+
* @summary Get HospitalHandle.
|
|
12540
|
+
* @param {string} hospitalId
|
|
12541
|
+
* @param {string} handleId
|
|
12542
|
+
* @param {*} [options] Override http request option.
|
|
12543
|
+
* @throws {RequiredError}
|
|
12544
|
+
*/
|
|
12545
|
+
apiV2HospitalsHospitalIdHandlesHandleIdGet: function (hospitalId, handleId, options) {
|
|
12546
|
+
return localVarFp.apiV2HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options).then(function (request) { return request(axios, basePath); });
|
|
12547
|
+
},
|
|
12208
12548
|
/**
|
|
12209
12549
|
*
|
|
12210
12550
|
* @summary Get all HospitalMedias.
|
|
@@ -12367,6 +12707,36 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12367
12707
|
apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet: function (hospitalId, specialtyId, serviceId, mediaId, options) {
|
|
12368
12708
|
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
12369
12709
|
},
|
|
12710
|
+
/**
|
|
12711
|
+
*
|
|
12712
|
+
* @summary Get all HospitalWorkingDays.
|
|
12713
|
+
* @param {string} hospitalId
|
|
12714
|
+
* @param {string} [hospitalId2]
|
|
12715
|
+
* @param {string} [id]
|
|
12716
|
+
* @param {string} [dayOfWeek]
|
|
12717
|
+
* @param {Date} [timeFrom]
|
|
12718
|
+
* @param {Date} [timeTo]
|
|
12719
|
+
* @param {boolean} [checkHoliday]
|
|
12720
|
+
* @param {number} [page]
|
|
12721
|
+
* @param {number} [limit]
|
|
12722
|
+
* @param {Date} [lastRetrieved]
|
|
12723
|
+
* @param {*} [options] Override http request option.
|
|
12724
|
+
* @throws {RequiredError}
|
|
12725
|
+
*/
|
|
12726
|
+
apiV2HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
12727
|
+
return localVarFp.apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12728
|
+
},
|
|
12729
|
+
/**
|
|
12730
|
+
*
|
|
12731
|
+
* @summary Get HospitalWorkingDay.
|
|
12732
|
+
* @param {string} hospitalId
|
|
12733
|
+
* @param {string} workingDayId
|
|
12734
|
+
* @param {*} [options] Override http request option.
|
|
12735
|
+
* @throws {RequiredError}
|
|
12736
|
+
*/
|
|
12737
|
+
apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet: function (hospitalId, workingDayId, options) {
|
|
12738
|
+
return localVarFp.apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options).then(function (request) { return request(axios, basePath); });
|
|
12739
|
+
},
|
|
12370
12740
|
/**
|
|
12371
12741
|
*
|
|
12372
12742
|
* @summary Get all Hospitals.
|
|
@@ -12585,6 +12955,38 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12585
12955
|
var _this = this;
|
|
12586
12956
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdGet(hospitalId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12587
12957
|
};
|
|
12958
|
+
/**
|
|
12959
|
+
*
|
|
12960
|
+
* @summary Get all HospitalHandles.
|
|
12961
|
+
* @param {string} hospitalId
|
|
12962
|
+
* @param {string} [hospitalId2]
|
|
12963
|
+
* @param {string} [id]
|
|
12964
|
+
* @param {SnsType} [snsType]
|
|
12965
|
+
* @param {string} [handle]
|
|
12966
|
+
* @param {number} [page]
|
|
12967
|
+
* @param {number} [limit]
|
|
12968
|
+
* @param {Date} [lastRetrieved]
|
|
12969
|
+
* @param {*} [options] Override http request option.
|
|
12970
|
+
* @throws {RequiredError}
|
|
12971
|
+
* @memberof HospitalsApi
|
|
12972
|
+
*/
|
|
12973
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdHandlesGet = function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
|
|
12974
|
+
var _this = this;
|
|
12975
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12976
|
+
};
|
|
12977
|
+
/**
|
|
12978
|
+
*
|
|
12979
|
+
* @summary Get HospitalHandle.
|
|
12980
|
+
* @param {string} hospitalId
|
|
12981
|
+
* @param {string} handleId
|
|
12982
|
+
* @param {*} [options] Override http request option.
|
|
12983
|
+
* @throws {RequiredError}
|
|
12984
|
+
* @memberof HospitalsApi
|
|
12985
|
+
*/
|
|
12986
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdHandlesHandleIdGet = function (hospitalId, handleId, options) {
|
|
12987
|
+
var _this = this;
|
|
12988
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdHandlesHandleIdGet(hospitalId, handleId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12989
|
+
};
|
|
12588
12990
|
/**
|
|
12589
12991
|
*
|
|
12590
12992
|
* @summary Get all HospitalMedias.
|
|
@@ -12765,6 +13167,40 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12765
13167
|
var _this = this;
|
|
12766
13168
|
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSpecialtyIdServicesServiceIdMediasMediaIdGet(hospitalId, specialtyId, serviceId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12767
13169
|
};
|
|
13170
|
+
/**
|
|
13171
|
+
*
|
|
13172
|
+
* @summary Get all HospitalWorkingDays.
|
|
13173
|
+
* @param {string} hospitalId
|
|
13174
|
+
* @param {string} [hospitalId2]
|
|
13175
|
+
* @param {string} [id]
|
|
13176
|
+
* @param {string} [dayOfWeek]
|
|
13177
|
+
* @param {Date} [timeFrom]
|
|
13178
|
+
* @param {Date} [timeTo]
|
|
13179
|
+
* @param {boolean} [checkHoliday]
|
|
13180
|
+
* @param {number} [page]
|
|
13181
|
+
* @param {number} [limit]
|
|
13182
|
+
* @param {Date} [lastRetrieved]
|
|
13183
|
+
* @param {*} [options] Override http request option.
|
|
13184
|
+
* @throws {RequiredError}
|
|
13185
|
+
* @memberof HospitalsApi
|
|
13186
|
+
*/
|
|
13187
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdWorkingdaysGet = function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
13188
|
+
var _this = this;
|
|
13189
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13190
|
+
};
|
|
13191
|
+
/**
|
|
13192
|
+
*
|
|
13193
|
+
* @summary Get HospitalWorkingDay.
|
|
13194
|
+
* @param {string} hospitalId
|
|
13195
|
+
* @param {string} workingDayId
|
|
13196
|
+
* @param {*} [options] Override http request option.
|
|
13197
|
+
* @throws {RequiredError}
|
|
13198
|
+
* @memberof HospitalsApi
|
|
13199
|
+
*/
|
|
13200
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet = function (hospitalId, workingDayId, options) {
|
|
13201
|
+
var _this = this;
|
|
13202
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdWorkingdaysWorkingDayIdGet(hospitalId, workingDayId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13203
|
+
};
|
|
12768
13204
|
/**
|
|
12769
13205
|
*
|
|
12770
13206
|
* @summary Get all Hospitals.
|