ch-admin-api-client-typescript 3.1.0 → 3.1.3
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 +443 -63
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +635 -84
- package/package.json +1 -1
- package/src/api.ts +814 -175
package/lib/api.js
CHANGED
|
@@ -4412,13 +4412,14 @@ exports.BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
4412
4412
|
* @param {SortingOrder} [sortRequestDate]
|
|
4413
4413
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
4414
4414
|
* @param {boolean} [isExternal]
|
|
4415
|
+
* @param {boolean} [paymentEnabled]
|
|
4415
4416
|
* @param {number} [page]
|
|
4416
4417
|
* @param {number} [limit]
|
|
4417
4418
|
* @param {Date} [lastRetrieved]
|
|
4418
4419
|
* @param {*} [options] Override http request option.
|
|
4419
4420
|
* @throws {RequiredError}
|
|
4420
4421
|
*/
|
|
4421
|
-
apiV1BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options) {
|
|
4422
|
+
apiV1BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
4422
4423
|
if (options === void 0) { options = {}; }
|
|
4423
4424
|
return __awaiter(_this, void 0, void 0, function () {
|
|
4424
4425
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -4464,6 +4465,9 @@ exports.BookingsApiAxiosParamCreator = function (configuration) {
|
|
|
4464
4465
|
if (isExternal !== undefined) {
|
|
4465
4466
|
localVarQueryParameter['IsExternal'] = isExternal;
|
|
4466
4467
|
}
|
|
4468
|
+
if (paymentEnabled !== undefined) {
|
|
4469
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
4470
|
+
}
|
|
4467
4471
|
if (page !== undefined) {
|
|
4468
4472
|
localVarQueryParameter['page'] = page;
|
|
4469
4473
|
}
|
|
@@ -4628,18 +4632,19 @@ exports.BookingsApiFp = function (configuration) {
|
|
|
4628
4632
|
* @param {SortingOrder} [sortRequestDate]
|
|
4629
4633
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
4630
4634
|
* @param {boolean} [isExternal]
|
|
4635
|
+
* @param {boolean} [paymentEnabled]
|
|
4631
4636
|
* @param {number} [page]
|
|
4632
4637
|
* @param {number} [limit]
|
|
4633
4638
|
* @param {Date} [lastRetrieved]
|
|
4634
4639
|
* @param {*} [options] Override http request option.
|
|
4635
4640
|
* @throws {RequiredError}
|
|
4636
4641
|
*/
|
|
4637
|
-
apiV1BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options) {
|
|
4642
|
+
apiV1BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
4638
4643
|
return __awaiter(this, void 0, void 0, function () {
|
|
4639
4644
|
var localVarAxiosArgs;
|
|
4640
4645
|
return __generator(this, function (_a) {
|
|
4641
4646
|
switch (_a.label) {
|
|
4642
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options)];
|
|
4647
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options)];
|
|
4643
4648
|
case 1:
|
|
4644
4649
|
localVarAxiosArgs = _a.sent();
|
|
4645
4650
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -4729,14 +4734,15 @@ exports.BookingsApiFactory = function (configuration, basePath, axios) {
|
|
|
4729
4734
|
* @param {SortingOrder} [sortRequestDate]
|
|
4730
4735
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
4731
4736
|
* @param {boolean} [isExternal]
|
|
4737
|
+
* @param {boolean} [paymentEnabled]
|
|
4732
4738
|
* @param {number} [page]
|
|
4733
4739
|
* @param {number} [limit]
|
|
4734
4740
|
* @param {Date} [lastRetrieved]
|
|
4735
4741
|
* @param {*} [options] Override http request option.
|
|
4736
4742
|
* @throws {RequiredError}
|
|
4737
4743
|
*/
|
|
4738
|
-
apiV1BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options) {
|
|
4739
|
-
return localVarFp.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
4744
|
+
apiV1BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
4745
|
+
return localVarFp.apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
4740
4746
|
},
|
|
4741
4747
|
};
|
|
4742
4748
|
};
|
|
@@ -4836,6 +4842,7 @@ var BookingsApi = /** @class */ (function (_super) {
|
|
|
4836
4842
|
* @param {SortingOrder} [sortRequestDate]
|
|
4837
4843
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
4838
4844
|
* @param {boolean} [isExternal]
|
|
4845
|
+
* @param {boolean} [paymentEnabled]
|
|
4839
4846
|
* @param {number} [page]
|
|
4840
4847
|
* @param {number} [limit]
|
|
4841
4848
|
* @param {Date} [lastRetrieved]
|
|
@@ -4843,9 +4850,9 @@ var BookingsApi = /** @class */ (function (_super) {
|
|
|
4843
4850
|
* @throws {RequiredError}
|
|
4844
4851
|
* @memberof BookingsApi
|
|
4845
4852
|
*/
|
|
4846
|
-
BookingsApi.prototype.apiV1BookingsGet = function (searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options) {
|
|
4853
|
+
BookingsApi.prototype.apiV1BookingsGet = function (searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
4847
4854
|
var _this = this;
|
|
4848
|
-
return exports.BookingsApiFp(this.configuration).apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4855
|
+
return exports.BookingsApiFp(this.configuration).apiV1BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
4849
4856
|
};
|
|
4850
4857
|
return BookingsApi;
|
|
4851
4858
|
}(base_1.BaseAPI));
|
|
@@ -7060,13 +7067,14 @@ exports.ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
7060
7067
|
* @param {SortingOrder} [sortRequestDate]
|
|
7061
7068
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
7062
7069
|
* @param {boolean} [isExternal]
|
|
7070
|
+
* @param {boolean} [paymentEnabled]
|
|
7063
7071
|
* @param {number} [page]
|
|
7064
7072
|
* @param {number} [limit]
|
|
7065
7073
|
* @param {Date} [lastRetrieved]
|
|
7066
7074
|
* @param {*} [options] Override http request option.
|
|
7067
7075
|
* @throws {RequiredError}
|
|
7068
7076
|
*/
|
|
7069
|
-
apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options) {
|
|
7077
|
+
apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
7070
7078
|
if (options === void 0) { options = {}; }
|
|
7071
7079
|
return __awaiter(_this, void 0, void 0, function () {
|
|
7072
7080
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -7112,6 +7120,9 @@ exports.ConsultationsApiAxiosParamCreator = function (configuration) {
|
|
|
7112
7120
|
if (isExternal !== undefined) {
|
|
7113
7121
|
localVarQueryParameter['IsExternal'] = isExternal;
|
|
7114
7122
|
}
|
|
7123
|
+
if (paymentEnabled !== undefined) {
|
|
7124
|
+
localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
|
|
7125
|
+
}
|
|
7115
7126
|
if (page !== undefined) {
|
|
7116
7127
|
localVarQueryParameter['page'] = page;
|
|
7117
7128
|
}
|
|
@@ -7276,18 +7287,19 @@ exports.ConsultationsApiFp = function (configuration) {
|
|
|
7276
7287
|
* @param {SortingOrder} [sortRequestDate]
|
|
7277
7288
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
7278
7289
|
* @param {boolean} [isExternal]
|
|
7290
|
+
* @param {boolean} [paymentEnabled]
|
|
7279
7291
|
* @param {number} [page]
|
|
7280
7292
|
* @param {number} [limit]
|
|
7281
7293
|
* @param {Date} [lastRetrieved]
|
|
7282
7294
|
* @param {*} [options] Override http request option.
|
|
7283
7295
|
* @throws {RequiredError}
|
|
7284
7296
|
*/
|
|
7285
|
-
apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options) {
|
|
7297
|
+
apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
7286
7298
|
return __awaiter(this, void 0, void 0, function () {
|
|
7287
7299
|
var localVarAxiosArgs;
|
|
7288
7300
|
return __generator(this, function (_a) {
|
|
7289
7301
|
switch (_a.label) {
|
|
7290
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options)];
|
|
7302
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options)];
|
|
7291
7303
|
case 1:
|
|
7292
7304
|
localVarAxiosArgs = _a.sent();
|
|
7293
7305
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -7377,14 +7389,15 @@ exports.ConsultationsApiFactory = function (configuration, basePath, axios) {
|
|
|
7377
7389
|
* @param {SortingOrder} [sortRequestDate]
|
|
7378
7390
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
7379
7391
|
* @param {boolean} [isExternal]
|
|
7392
|
+
* @param {boolean} [paymentEnabled]
|
|
7380
7393
|
* @param {number} [page]
|
|
7381
7394
|
* @param {number} [limit]
|
|
7382
7395
|
* @param {Date} [lastRetrieved]
|
|
7383
7396
|
* @param {*} [options] Override http request option.
|
|
7384
7397
|
* @throws {RequiredError}
|
|
7385
7398
|
*/
|
|
7386
|
-
apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options) {
|
|
7387
|
-
return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7399
|
+
apiV1ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
7400
|
+
return localVarFp.apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
7388
7401
|
},
|
|
7389
7402
|
};
|
|
7390
7403
|
};
|
|
@@ -7484,6 +7497,7 @@ var ConsultationsApi = /** @class */ (function (_super) {
|
|
|
7484
7497
|
* @param {SortingOrder} [sortRequestDate]
|
|
7485
7498
|
* @param {SortingOrder} [sortConfirmedDateStart]
|
|
7486
7499
|
* @param {boolean} [isExternal]
|
|
7500
|
+
* @param {boolean} [paymentEnabled]
|
|
7487
7501
|
* @param {number} [page]
|
|
7488
7502
|
* @param {number} [limit]
|
|
7489
7503
|
* @param {Date} [lastRetrieved]
|
|
@@ -7491,9 +7505,9 @@ var ConsultationsApi = /** @class */ (function (_super) {
|
|
|
7491
7505
|
* @throws {RequiredError}
|
|
7492
7506
|
* @memberof ConsultationsApi
|
|
7493
7507
|
*/
|
|
7494
|
-
ConsultationsApi.prototype.apiV1ConsultationsGet = function (searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options) {
|
|
7508
|
+
ConsultationsApi.prototype.apiV1ConsultationsGet = function (searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options) {
|
|
7495
7509
|
var _this = this;
|
|
7496
|
-
return exports.ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7510
|
+
return exports.ConsultationsApiFp(this.configuration).apiV1ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
7497
7511
|
};
|
|
7498
7512
|
return ConsultationsApi;
|
|
7499
7513
|
}(base_1.BaseAPI));
|
|
@@ -10710,6 +10724,7 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
10710
10724
|
* @param {string} [exceptHospitalId]
|
|
10711
10725
|
* @param {string} [exceptDealId]
|
|
10712
10726
|
* @param {Array<string>} [ids]
|
|
10727
|
+
* @param {number} [serviceDuration]
|
|
10713
10728
|
* @param {string} [languageCode]
|
|
10714
10729
|
* @param {boolean} [showHidden]
|
|
10715
10730
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -10719,7 +10734,7 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
10719
10734
|
* @param {*} [options] Override http request option.
|
|
10720
10735
|
* @throws {RequiredError}
|
|
10721
10736
|
*/
|
|
10722
|
-
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10737
|
+
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10723
10738
|
if (options === void 0) { options = {}; }
|
|
10724
10739
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10725
10740
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10777,6 +10792,9 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
10777
10792
|
if (ids) {
|
|
10778
10793
|
localVarQueryParameter['Ids'] = ids;
|
|
10779
10794
|
}
|
|
10795
|
+
if (serviceDuration !== undefined) {
|
|
10796
|
+
localVarQueryParameter['ServiceDuration'] = serviceDuration;
|
|
10797
|
+
}
|
|
10780
10798
|
if (languageCode !== undefined) {
|
|
10781
10799
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
10782
10800
|
}
|
|
@@ -10865,6 +10883,7 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
10865
10883
|
* @param {string} [exceptHospitalId]
|
|
10866
10884
|
* @param {string} [exceptDealId]
|
|
10867
10885
|
* @param {Array<string>} [ids]
|
|
10886
|
+
* @param {number} [serviceDuration]
|
|
10868
10887
|
* @param {string} [languageCode]
|
|
10869
10888
|
* @param {boolean} [showHidden]
|
|
10870
10889
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -10874,7 +10893,7 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
10874
10893
|
* @param {*} [options] Override http request option.
|
|
10875
10894
|
* @throws {RequiredError}
|
|
10876
10895
|
*/
|
|
10877
|
-
apiV1DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10896
|
+
apiV1DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
10878
10897
|
if (options === void 0) { options = {}; }
|
|
10879
10898
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10880
10899
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10932,6 +10951,9 @@ exports.DealsApiAxiosParamCreator = function (configuration) {
|
|
|
10932
10951
|
if (ids) {
|
|
10933
10952
|
localVarQueryParameter['Ids'] = ids;
|
|
10934
10953
|
}
|
|
10954
|
+
if (serviceDuration !== undefined) {
|
|
10955
|
+
localVarQueryParameter['ServiceDuration'] = serviceDuration;
|
|
10956
|
+
}
|
|
10935
10957
|
if (languageCode !== undefined) {
|
|
10936
10958
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
10937
10959
|
}
|
|
@@ -11323,6 +11345,7 @@ exports.DealsApiFp = function (configuration) {
|
|
|
11323
11345
|
* @param {string} [exceptHospitalId]
|
|
11324
11346
|
* @param {string} [exceptDealId]
|
|
11325
11347
|
* @param {Array<string>} [ids]
|
|
11348
|
+
* @param {number} [serviceDuration]
|
|
11326
11349
|
* @param {string} [languageCode]
|
|
11327
11350
|
* @param {boolean} [showHidden]
|
|
11328
11351
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -11332,12 +11355,12 @@ exports.DealsApiFp = function (configuration) {
|
|
|
11332
11355
|
* @param {*} [options] Override http request option.
|
|
11333
11356
|
* @throws {RequiredError}
|
|
11334
11357
|
*/
|
|
11335
|
-
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11358
|
+
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11336
11359
|
return __awaiter(this, void 0, void 0, function () {
|
|
11337
11360
|
var localVarAxiosArgs;
|
|
11338
11361
|
return __generator(this, function (_a) {
|
|
11339
11362
|
switch (_a.label) {
|
|
11340
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
11363
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
11341
11364
|
case 1:
|
|
11342
11365
|
localVarAxiosArgs = _a.sent();
|
|
11343
11366
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11380,6 +11403,7 @@ exports.DealsApiFp = function (configuration) {
|
|
|
11380
11403
|
* @param {string} [exceptHospitalId]
|
|
11381
11404
|
* @param {string} [exceptDealId]
|
|
11382
11405
|
* @param {Array<string>} [ids]
|
|
11406
|
+
* @param {number} [serviceDuration]
|
|
11383
11407
|
* @param {string} [languageCode]
|
|
11384
11408
|
* @param {boolean} [showHidden]
|
|
11385
11409
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -11389,12 +11413,12 @@ exports.DealsApiFp = function (configuration) {
|
|
|
11389
11413
|
* @param {*} [options] Override http request option.
|
|
11390
11414
|
* @throws {RequiredError}
|
|
11391
11415
|
*/
|
|
11392
|
-
apiV1DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11416
|
+
apiV1DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11393
11417
|
return __awaiter(this, void 0, void 0, function () {
|
|
11394
11418
|
var localVarAxiosArgs;
|
|
11395
11419
|
return __generator(this, function (_a) {
|
|
11396
11420
|
switch (_a.label) {
|
|
11397
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
11421
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
11398
11422
|
case 1:
|
|
11399
11423
|
localVarAxiosArgs = _a.sent();
|
|
11400
11424
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11603,6 +11627,7 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
11603
11627
|
* @param {string} [exceptHospitalId]
|
|
11604
11628
|
* @param {string} [exceptDealId]
|
|
11605
11629
|
* @param {Array<string>} [ids]
|
|
11630
|
+
* @param {number} [serviceDuration]
|
|
11606
11631
|
* @param {string} [languageCode]
|
|
11607
11632
|
* @param {boolean} [showHidden]
|
|
11608
11633
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -11612,8 +11637,8 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
11612
11637
|
* @param {*} [options] Override http request option.
|
|
11613
11638
|
* @throws {RequiredError}
|
|
11614
11639
|
*/
|
|
11615
|
-
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11616
|
-
return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
11640
|
+
apiV1DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11641
|
+
return localVarFp.apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
11617
11642
|
},
|
|
11618
11643
|
/**
|
|
11619
11644
|
*
|
|
@@ -11640,6 +11665,7 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
11640
11665
|
* @param {string} [exceptHospitalId]
|
|
11641
11666
|
* @param {string} [exceptDealId]
|
|
11642
11667
|
* @param {Array<string>} [ids]
|
|
11668
|
+
* @param {number} [serviceDuration]
|
|
11643
11669
|
* @param {string} [languageCode]
|
|
11644
11670
|
* @param {boolean} [showHidden]
|
|
11645
11671
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -11649,8 +11675,8 @@ exports.DealsApiFactory = function (configuration, basePath, axios) {
|
|
|
11649
11675
|
* @param {*} [options] Override http request option.
|
|
11650
11676
|
* @throws {RequiredError}
|
|
11651
11677
|
*/
|
|
11652
|
-
apiV1DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11653
|
-
return localVarFp.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
11678
|
+
apiV1DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11679
|
+
return localVarFp.apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
11654
11680
|
},
|
|
11655
11681
|
/**
|
|
11656
11682
|
*
|
|
@@ -11873,6 +11899,7 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
11873
11899
|
* @param {string} [exceptHospitalId]
|
|
11874
11900
|
* @param {string} [exceptDealId]
|
|
11875
11901
|
* @param {Array<string>} [ids]
|
|
11902
|
+
* @param {number} [serviceDuration]
|
|
11876
11903
|
* @param {string} [languageCode]
|
|
11877
11904
|
* @param {boolean} [showHidden]
|
|
11878
11905
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -11883,9 +11910,9 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
11883
11910
|
* @throws {RequiredError}
|
|
11884
11911
|
* @memberof DealsApi
|
|
11885
11912
|
*/
|
|
11886
|
-
DealsApi.prototype.apiV1DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11913
|
+
DealsApi.prototype.apiV1DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11887
11914
|
var _this = this;
|
|
11888
|
-
return exports.DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11915
|
+
return exports.DealsApiFp(this.configuration).apiV1DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11889
11916
|
};
|
|
11890
11917
|
/**
|
|
11891
11918
|
*
|
|
@@ -11914,6 +11941,7 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
11914
11941
|
* @param {string} [exceptHospitalId]
|
|
11915
11942
|
* @param {string} [exceptDealId]
|
|
11916
11943
|
* @param {Array<string>} [ids]
|
|
11944
|
+
* @param {number} [serviceDuration]
|
|
11917
11945
|
* @param {string} [languageCode]
|
|
11918
11946
|
* @param {boolean} [showHidden]
|
|
11919
11947
|
* @param {boolean} [returnDefaultValue]
|
|
@@ -11924,9 +11952,9 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
11924
11952
|
* @throws {RequiredError}
|
|
11925
11953
|
* @memberof DealsApi
|
|
11926
11954
|
*/
|
|
11927
|
-
DealsApi.prototype.apiV1DealsSimpleGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11955
|
+
DealsApi.prototype.apiV1DealsSimpleGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
11928
11956
|
var _this = this;
|
|
11929
|
-
return exports.DealsApiFp(this.configuration).apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11957
|
+
return exports.DealsApiFp(this.configuration).apiV1DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
11930
11958
|
};
|
|
11931
11959
|
/**
|
|
11932
11960
|
*
|
|
@@ -12785,6 +12813,257 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12785
12813
|
});
|
|
12786
12814
|
});
|
|
12787
12815
|
},
|
|
12816
|
+
/**
|
|
12817
|
+
*
|
|
12818
|
+
* @summary Get all DoctorLanguages.
|
|
12819
|
+
* @param {string} doctorId
|
|
12820
|
+
* @param {string} [language]
|
|
12821
|
+
* @param {number} [page]
|
|
12822
|
+
* @param {number} [limit]
|
|
12823
|
+
* @param {Date} [lastRetrieved]
|
|
12824
|
+
* @param {*} [options] Override http request option.
|
|
12825
|
+
* @throws {RequiredError}
|
|
12826
|
+
*/
|
|
12827
|
+
apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
|
|
12828
|
+
if (options === void 0) { options = {}; }
|
|
12829
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
12830
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12831
|
+
return __generator(this, function (_a) {
|
|
12832
|
+
switch (_a.label) {
|
|
12833
|
+
case 0:
|
|
12834
|
+
// verify required parameter 'doctorId' is not null or undefined
|
|
12835
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId);
|
|
12836
|
+
localVarPath = "/api/v1/doctors/{doctorId}/languages"
|
|
12837
|
+
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)));
|
|
12838
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12839
|
+
if (configuration) {
|
|
12840
|
+
baseOptions = configuration.baseOptions;
|
|
12841
|
+
}
|
|
12842
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
12843
|
+
localVarHeaderParameter = {};
|
|
12844
|
+
localVarQueryParameter = {};
|
|
12845
|
+
// authentication oauth2 required
|
|
12846
|
+
// oauth required
|
|
12847
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
12848
|
+
case 1:
|
|
12849
|
+
// authentication oauth2 required
|
|
12850
|
+
// oauth required
|
|
12851
|
+
_a.sent();
|
|
12852
|
+
if (language !== undefined) {
|
|
12853
|
+
localVarQueryParameter['Language'] = language;
|
|
12854
|
+
}
|
|
12855
|
+
if (page !== undefined) {
|
|
12856
|
+
localVarQueryParameter['page'] = page;
|
|
12857
|
+
}
|
|
12858
|
+
if (limit !== undefined) {
|
|
12859
|
+
localVarQueryParameter['limit'] = limit;
|
|
12860
|
+
}
|
|
12861
|
+
if (lastRetrieved !== undefined) {
|
|
12862
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
12863
|
+
lastRetrieved.toISOString() :
|
|
12864
|
+
lastRetrieved;
|
|
12865
|
+
}
|
|
12866
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12867
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12868
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12869
|
+
return [2 /*return*/, {
|
|
12870
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
12871
|
+
options: localVarRequestOptions,
|
|
12872
|
+
}];
|
|
12873
|
+
}
|
|
12874
|
+
});
|
|
12875
|
+
});
|
|
12876
|
+
},
|
|
12877
|
+
/**
|
|
12878
|
+
*
|
|
12879
|
+
* @summary Delete DoctorLanguage
|
|
12880
|
+
* @param {string} doctorId
|
|
12881
|
+
* @param {string} languageId
|
|
12882
|
+
* @param {*} [options] Override http request option.
|
|
12883
|
+
* @throws {RequiredError}
|
|
12884
|
+
*/
|
|
12885
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: function (doctorId, languageId, options) {
|
|
12886
|
+
if (options === void 0) { options = {}; }
|
|
12887
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
12888
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12889
|
+
return __generator(this, function (_a) {
|
|
12890
|
+
switch (_a.label) {
|
|
12891
|
+
case 0:
|
|
12892
|
+
// verify required parameter 'doctorId' is not null or undefined
|
|
12893
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdDelete', 'doctorId', doctorId);
|
|
12894
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
12895
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdDelete', 'languageId', languageId);
|
|
12896
|
+
localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageId}"
|
|
12897
|
+
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
|
|
12898
|
+
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
|
|
12899
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12900
|
+
if (configuration) {
|
|
12901
|
+
baseOptions = configuration.baseOptions;
|
|
12902
|
+
}
|
|
12903
|
+
localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
|
|
12904
|
+
localVarHeaderParameter = {};
|
|
12905
|
+
localVarQueryParameter = {};
|
|
12906
|
+
// authentication oauth2 required
|
|
12907
|
+
// oauth required
|
|
12908
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
12909
|
+
case 1:
|
|
12910
|
+
// authentication oauth2 required
|
|
12911
|
+
// oauth required
|
|
12912
|
+
_a.sent();
|
|
12913
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12914
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12915
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12916
|
+
return [2 /*return*/, {
|
|
12917
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
12918
|
+
options: localVarRequestOptions,
|
|
12919
|
+
}];
|
|
12920
|
+
}
|
|
12921
|
+
});
|
|
12922
|
+
});
|
|
12923
|
+
},
|
|
12924
|
+
/**
|
|
12925
|
+
*
|
|
12926
|
+
* @summary Get DoctorLanguage.
|
|
12927
|
+
* @param {string} doctorId
|
|
12928
|
+
* @param {string} languageId
|
|
12929
|
+
* @param {*} [options] Override http request option.
|
|
12930
|
+
* @throws {RequiredError}
|
|
12931
|
+
*/
|
|
12932
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdGet: function (doctorId, languageId, options) {
|
|
12933
|
+
if (options === void 0) { options = {}; }
|
|
12934
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
12935
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12936
|
+
return __generator(this, function (_a) {
|
|
12937
|
+
switch (_a.label) {
|
|
12938
|
+
case 0:
|
|
12939
|
+
// verify required parameter 'doctorId' is not null or undefined
|
|
12940
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdGet', 'doctorId', doctorId);
|
|
12941
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
12942
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdGet', 'languageId', languageId);
|
|
12943
|
+
localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageId}"
|
|
12944
|
+
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
|
|
12945
|
+
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
|
|
12946
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12947
|
+
if (configuration) {
|
|
12948
|
+
baseOptions = configuration.baseOptions;
|
|
12949
|
+
}
|
|
12950
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
12951
|
+
localVarHeaderParameter = {};
|
|
12952
|
+
localVarQueryParameter = {};
|
|
12953
|
+
// authentication oauth2 required
|
|
12954
|
+
// oauth required
|
|
12955
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
12956
|
+
case 1:
|
|
12957
|
+
// authentication oauth2 required
|
|
12958
|
+
// oauth required
|
|
12959
|
+
_a.sent();
|
|
12960
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12961
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12962
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12963
|
+
return [2 /*return*/, {
|
|
12964
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
12965
|
+
options: localVarRequestOptions,
|
|
12966
|
+
}];
|
|
12967
|
+
}
|
|
12968
|
+
});
|
|
12969
|
+
});
|
|
12970
|
+
},
|
|
12971
|
+
/**
|
|
12972
|
+
*
|
|
12973
|
+
* @summary Update DoctorLanguage.
|
|
12974
|
+
* @param {string} doctorId
|
|
12975
|
+
* @param {string} languageId
|
|
12976
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
12977
|
+
* @param {*} [options] Override http request option.
|
|
12978
|
+
* @throws {RequiredError}
|
|
12979
|
+
*/
|
|
12980
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdPut: function (doctorId, languageId, updateDoctorLanguageCommand, options) {
|
|
12981
|
+
if (options === void 0) { options = {}; }
|
|
12982
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
12983
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12984
|
+
return __generator(this, function (_a) {
|
|
12985
|
+
switch (_a.label) {
|
|
12986
|
+
case 0:
|
|
12987
|
+
// verify required parameter 'doctorId' is not null or undefined
|
|
12988
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdPut', 'doctorId', doctorId);
|
|
12989
|
+
// verify required parameter 'languageId' is not null or undefined
|
|
12990
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesLanguageIdPut', 'languageId', languageId);
|
|
12991
|
+
localVarPath = "/api/v1/doctors/{doctorId}/languages/{languageId}"
|
|
12992
|
+
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
|
|
12993
|
+
.replace("{" + "languageId" + "}", encodeURIComponent(String(languageId)));
|
|
12994
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12995
|
+
if (configuration) {
|
|
12996
|
+
baseOptions = configuration.baseOptions;
|
|
12997
|
+
}
|
|
12998
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
12999
|
+
localVarHeaderParameter = {};
|
|
13000
|
+
localVarQueryParameter = {};
|
|
13001
|
+
// authentication oauth2 required
|
|
13002
|
+
// oauth required
|
|
13003
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
13004
|
+
case 1:
|
|
13005
|
+
// authentication oauth2 required
|
|
13006
|
+
// oauth required
|
|
13007
|
+
_a.sent();
|
|
13008
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13009
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13010
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13011
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13012
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDoctorLanguageCommand, localVarRequestOptions, configuration);
|
|
13013
|
+
return [2 /*return*/, {
|
|
13014
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
13015
|
+
options: localVarRequestOptions,
|
|
13016
|
+
}];
|
|
13017
|
+
}
|
|
13018
|
+
});
|
|
13019
|
+
});
|
|
13020
|
+
},
|
|
13021
|
+
/**
|
|
13022
|
+
*
|
|
13023
|
+
* @summary Create DoctorLanguage.
|
|
13024
|
+
* @param {string} doctorId
|
|
13025
|
+
* @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
|
|
13026
|
+
* @param {*} [options] Override http request option.
|
|
13027
|
+
* @throws {RequiredError}
|
|
13028
|
+
*/
|
|
13029
|
+
apiV1DoctorsDoctorIdLanguagesPost: function (doctorId, createDoctorLanguageCommand, options) {
|
|
13030
|
+
if (options === void 0) { options = {}; }
|
|
13031
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
13032
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
13033
|
+
return __generator(this, function (_a) {
|
|
13034
|
+
switch (_a.label) {
|
|
13035
|
+
case 0:
|
|
13036
|
+
// verify required parameter 'doctorId' is not null or undefined
|
|
13037
|
+
common_1.assertParamExists('apiV1DoctorsDoctorIdLanguagesPost', 'doctorId', doctorId);
|
|
13038
|
+
localVarPath = "/api/v1/doctors/{doctorId}/languages"
|
|
13039
|
+
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)));
|
|
13040
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
13041
|
+
if (configuration) {
|
|
13042
|
+
baseOptions = configuration.baseOptions;
|
|
13043
|
+
}
|
|
13044
|
+
localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
|
|
13045
|
+
localVarHeaderParameter = {};
|
|
13046
|
+
localVarQueryParameter = {};
|
|
13047
|
+
// authentication oauth2 required
|
|
13048
|
+
// oauth required
|
|
13049
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
13050
|
+
case 1:
|
|
13051
|
+
// authentication oauth2 required
|
|
13052
|
+
// oauth required
|
|
13053
|
+
_a.sent();
|
|
13054
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
13055
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
13056
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
13057
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
13058
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(createDoctorLanguageCommand, localVarRequestOptions, configuration);
|
|
13059
|
+
return [2 /*return*/, {
|
|
13060
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
13061
|
+
options: localVarRequestOptions,
|
|
13062
|
+
}];
|
|
13063
|
+
}
|
|
13064
|
+
});
|
|
13065
|
+
});
|
|
13066
|
+
},
|
|
12788
13067
|
/**
|
|
12789
13068
|
*
|
|
12790
13069
|
* @summary Get all DoctorMedias.
|
|
@@ -14276,6 +14555,115 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
14276
14555
|
});
|
|
14277
14556
|
});
|
|
14278
14557
|
},
|
|
14558
|
+
/**
|
|
14559
|
+
*
|
|
14560
|
+
* @summary Get all DoctorLanguages.
|
|
14561
|
+
* @param {string} doctorId
|
|
14562
|
+
* @param {string} [language]
|
|
14563
|
+
* @param {number} [page]
|
|
14564
|
+
* @param {number} [limit]
|
|
14565
|
+
* @param {Date} [lastRetrieved]
|
|
14566
|
+
* @param {*} [options] Override http request option.
|
|
14567
|
+
* @throws {RequiredError}
|
|
14568
|
+
*/
|
|
14569
|
+
apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
|
|
14570
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14571
|
+
var localVarAxiosArgs;
|
|
14572
|
+
return __generator(this, function (_a) {
|
|
14573
|
+
switch (_a.label) {
|
|
14574
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options)];
|
|
14575
|
+
case 1:
|
|
14576
|
+
localVarAxiosArgs = _a.sent();
|
|
14577
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
14578
|
+
}
|
|
14579
|
+
});
|
|
14580
|
+
});
|
|
14581
|
+
},
|
|
14582
|
+
/**
|
|
14583
|
+
*
|
|
14584
|
+
* @summary Delete DoctorLanguage
|
|
14585
|
+
* @param {string} doctorId
|
|
14586
|
+
* @param {string} languageId
|
|
14587
|
+
* @param {*} [options] Override http request option.
|
|
14588
|
+
* @throws {RequiredError}
|
|
14589
|
+
*/
|
|
14590
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: function (doctorId, languageId, options) {
|
|
14591
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14592
|
+
var localVarAxiosArgs;
|
|
14593
|
+
return __generator(this, function (_a) {
|
|
14594
|
+
switch (_a.label) {
|
|
14595
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options)];
|
|
14596
|
+
case 1:
|
|
14597
|
+
localVarAxiosArgs = _a.sent();
|
|
14598
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
14599
|
+
}
|
|
14600
|
+
});
|
|
14601
|
+
});
|
|
14602
|
+
},
|
|
14603
|
+
/**
|
|
14604
|
+
*
|
|
14605
|
+
* @summary Get DoctorLanguage.
|
|
14606
|
+
* @param {string} doctorId
|
|
14607
|
+
* @param {string} languageId
|
|
14608
|
+
* @param {*} [options] Override http request option.
|
|
14609
|
+
* @throws {RequiredError}
|
|
14610
|
+
*/
|
|
14611
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdGet: function (doctorId, languageId, options) {
|
|
14612
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14613
|
+
var localVarAxiosArgs;
|
|
14614
|
+
return __generator(this, function (_a) {
|
|
14615
|
+
switch (_a.label) {
|
|
14616
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options)];
|
|
14617
|
+
case 1:
|
|
14618
|
+
localVarAxiosArgs = _a.sent();
|
|
14619
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
14620
|
+
}
|
|
14621
|
+
});
|
|
14622
|
+
});
|
|
14623
|
+
},
|
|
14624
|
+
/**
|
|
14625
|
+
*
|
|
14626
|
+
* @summary Update DoctorLanguage.
|
|
14627
|
+
* @param {string} doctorId
|
|
14628
|
+
* @param {string} languageId
|
|
14629
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
14630
|
+
* @param {*} [options] Override http request option.
|
|
14631
|
+
* @throws {RequiredError}
|
|
14632
|
+
*/
|
|
14633
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdPut: function (doctorId, languageId, updateDoctorLanguageCommand, options) {
|
|
14634
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14635
|
+
var localVarAxiosArgs;
|
|
14636
|
+
return __generator(this, function (_a) {
|
|
14637
|
+
switch (_a.label) {
|
|
14638
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options)];
|
|
14639
|
+
case 1:
|
|
14640
|
+
localVarAxiosArgs = _a.sent();
|
|
14641
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
14642
|
+
}
|
|
14643
|
+
});
|
|
14644
|
+
});
|
|
14645
|
+
},
|
|
14646
|
+
/**
|
|
14647
|
+
*
|
|
14648
|
+
* @summary Create DoctorLanguage.
|
|
14649
|
+
* @param {string} doctorId
|
|
14650
|
+
* @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
|
|
14651
|
+
* @param {*} [options] Override http request option.
|
|
14652
|
+
* @throws {RequiredError}
|
|
14653
|
+
*/
|
|
14654
|
+
apiV1DoctorsDoctorIdLanguagesPost: function (doctorId, createDoctorLanguageCommand, options) {
|
|
14655
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
14656
|
+
var localVarAxiosArgs;
|
|
14657
|
+
return __generator(this, function (_a) {
|
|
14658
|
+
switch (_a.label) {
|
|
14659
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdLanguagesPost(doctorId, createDoctorLanguageCommand, options)];
|
|
14660
|
+
case 1:
|
|
14661
|
+
localVarAxiosArgs = _a.sent();
|
|
14662
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
14663
|
+
}
|
|
14664
|
+
});
|
|
14665
|
+
});
|
|
14666
|
+
},
|
|
14279
14667
|
/**
|
|
14280
14668
|
*
|
|
14281
14669
|
* @summary Get all DoctorMedias.
|
|
@@ -14942,6 +15330,65 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
|
14942
15330
|
apiV1DoctorsDoctorIdGet: function (doctorId, languageCode, returnDefaultValue, options) {
|
|
14943
15331
|
return localVarFp.apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
14944
15332
|
},
|
|
15333
|
+
/**
|
|
15334
|
+
*
|
|
15335
|
+
* @summary Get all DoctorLanguages.
|
|
15336
|
+
* @param {string} doctorId
|
|
15337
|
+
* @param {string} [language]
|
|
15338
|
+
* @param {number} [page]
|
|
15339
|
+
* @param {number} [limit]
|
|
15340
|
+
* @param {Date} [lastRetrieved]
|
|
15341
|
+
* @param {*} [options] Override http request option.
|
|
15342
|
+
* @throws {RequiredError}
|
|
15343
|
+
*/
|
|
15344
|
+
apiV1DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
|
|
15345
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
15346
|
+
},
|
|
15347
|
+
/**
|
|
15348
|
+
*
|
|
15349
|
+
* @summary Delete DoctorLanguage
|
|
15350
|
+
* @param {string} doctorId
|
|
15351
|
+
* @param {string} languageId
|
|
15352
|
+
* @param {*} [options] Override http request option.
|
|
15353
|
+
* @throws {RequiredError}
|
|
15354
|
+
*/
|
|
15355
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdDelete: function (doctorId, languageId, options) {
|
|
15356
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options).then(function (request) { return request(axios, basePath); });
|
|
15357
|
+
},
|
|
15358
|
+
/**
|
|
15359
|
+
*
|
|
15360
|
+
* @summary Get DoctorLanguage.
|
|
15361
|
+
* @param {string} doctorId
|
|
15362
|
+
* @param {string} languageId
|
|
15363
|
+
* @param {*} [options] Override http request option.
|
|
15364
|
+
* @throws {RequiredError}
|
|
15365
|
+
*/
|
|
15366
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdGet: function (doctorId, languageId, options) {
|
|
15367
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then(function (request) { return request(axios, basePath); });
|
|
15368
|
+
},
|
|
15369
|
+
/**
|
|
15370
|
+
*
|
|
15371
|
+
* @summary Update DoctorLanguage.
|
|
15372
|
+
* @param {string} doctorId
|
|
15373
|
+
* @param {string} languageId
|
|
15374
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
15375
|
+
* @param {*} [options] Override http request option.
|
|
15376
|
+
* @throws {RequiredError}
|
|
15377
|
+
*/
|
|
15378
|
+
apiV1DoctorsDoctorIdLanguagesLanguageIdPut: function (doctorId, languageId, updateDoctorLanguageCommand, options) {
|
|
15379
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options).then(function (request) { return request(axios, basePath); });
|
|
15380
|
+
},
|
|
15381
|
+
/**
|
|
15382
|
+
*
|
|
15383
|
+
* @summary Create DoctorLanguage.
|
|
15384
|
+
* @param {string} doctorId
|
|
15385
|
+
* @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
|
|
15386
|
+
* @param {*} [options] Override http request option.
|
|
15387
|
+
* @throws {RequiredError}
|
|
15388
|
+
*/
|
|
15389
|
+
apiV1DoctorsDoctorIdLanguagesPost: function (doctorId, createDoctorLanguageCommand, options) {
|
|
15390
|
+
return localVarFp.apiV1DoctorsDoctorIdLanguagesPost(doctorId, createDoctorLanguageCommand, options).then(function (request) { return request(axios, basePath); });
|
|
15391
|
+
},
|
|
14945
15392
|
/**
|
|
14946
15393
|
*
|
|
14947
15394
|
* @summary Get all DoctorMedias.
|
|
@@ -15444,6 +15891,75 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
15444
15891
|
var _this = this;
|
|
15445
15892
|
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15446
15893
|
};
|
|
15894
|
+
/**
|
|
15895
|
+
*
|
|
15896
|
+
* @summary Get all DoctorLanguages.
|
|
15897
|
+
* @param {string} doctorId
|
|
15898
|
+
* @param {string} [language]
|
|
15899
|
+
* @param {number} [page]
|
|
15900
|
+
* @param {number} [limit]
|
|
15901
|
+
* @param {Date} [lastRetrieved]
|
|
15902
|
+
* @param {*} [options] Override http request option.
|
|
15903
|
+
* @throws {RequiredError}
|
|
15904
|
+
* @memberof DoctorsApi
|
|
15905
|
+
*/
|
|
15906
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesGet = function (doctorId, language, page, limit, lastRetrieved, options) {
|
|
15907
|
+
var _this = this;
|
|
15908
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15909
|
+
};
|
|
15910
|
+
/**
|
|
15911
|
+
*
|
|
15912
|
+
* @summary Delete DoctorLanguage
|
|
15913
|
+
* @param {string} doctorId
|
|
15914
|
+
* @param {string} languageId
|
|
15915
|
+
* @param {*} [options] Override http request option.
|
|
15916
|
+
* @throws {RequiredError}
|
|
15917
|
+
* @memberof DoctorsApi
|
|
15918
|
+
*/
|
|
15919
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageIdDelete = function (doctorId, languageId, options) {
|
|
15920
|
+
var _this = this;
|
|
15921
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdDelete(doctorId, languageId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15922
|
+
};
|
|
15923
|
+
/**
|
|
15924
|
+
*
|
|
15925
|
+
* @summary Get DoctorLanguage.
|
|
15926
|
+
* @param {string} doctorId
|
|
15927
|
+
* @param {string} languageId
|
|
15928
|
+
* @param {*} [options] Override http request option.
|
|
15929
|
+
* @throws {RequiredError}
|
|
15930
|
+
* @memberof DoctorsApi
|
|
15931
|
+
*/
|
|
15932
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageIdGet = function (doctorId, languageId, options) {
|
|
15933
|
+
var _this = this;
|
|
15934
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15935
|
+
};
|
|
15936
|
+
/**
|
|
15937
|
+
*
|
|
15938
|
+
* @summary Update DoctorLanguage.
|
|
15939
|
+
* @param {string} doctorId
|
|
15940
|
+
* @param {string} languageId
|
|
15941
|
+
* @param {UpdateDoctorLanguageCommand} [updateDoctorLanguageCommand]
|
|
15942
|
+
* @param {*} [options] Override http request option.
|
|
15943
|
+
* @throws {RequiredError}
|
|
15944
|
+
* @memberof DoctorsApi
|
|
15945
|
+
*/
|
|
15946
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesLanguageIdPut = function (doctorId, languageId, updateDoctorLanguageCommand, options) {
|
|
15947
|
+
var _this = this;
|
|
15948
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesLanguageIdPut(doctorId, languageId, updateDoctorLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15949
|
+
};
|
|
15950
|
+
/**
|
|
15951
|
+
*
|
|
15952
|
+
* @summary Create DoctorLanguage.
|
|
15953
|
+
* @param {string} doctorId
|
|
15954
|
+
* @param {CreateDoctorLanguageCommand} [createDoctorLanguageCommand]
|
|
15955
|
+
* @param {*} [options] Override http request option.
|
|
15956
|
+
* @throws {RequiredError}
|
|
15957
|
+
* @memberof DoctorsApi
|
|
15958
|
+
*/
|
|
15959
|
+
DoctorsApi.prototype.apiV1DoctorsDoctorIdLanguagesPost = function (doctorId, createDoctorLanguageCommand, options) {
|
|
15960
|
+
var _this = this;
|
|
15961
|
+
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdLanguagesPost(doctorId, createDoctorLanguageCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15962
|
+
};
|
|
15447
15963
|
/**
|
|
15448
15964
|
*
|
|
15449
15965
|
* @summary Get all DoctorMedias.
|
|
@@ -16435,10 +16951,11 @@ exports.FaqCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
16435
16951
|
* @summary Get FaqCategory.
|
|
16436
16952
|
* @param {string} faqCategoryId
|
|
16437
16953
|
* @param {string} [languageCode]
|
|
16954
|
+
* @param {boolean} [returnDefaultValue]
|
|
16438
16955
|
* @param {*} [options] Override http request option.
|
|
16439
16956
|
* @throws {RequiredError}
|
|
16440
16957
|
*/
|
|
16441
|
-
apiV1FaqcategoriesFaqCategoryIdGet: function (faqCategoryId, languageCode, options) {
|
|
16958
|
+
apiV1FaqcategoriesFaqCategoryIdGet: function (faqCategoryId, languageCode, returnDefaultValue, options) {
|
|
16442
16959
|
if (options === void 0) { options = {}; }
|
|
16443
16960
|
return __awaiter(_this, void 0, void 0, function () {
|
|
16444
16961
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -16466,6 +16983,9 @@ exports.FaqCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
16466
16983
|
if (languageCode !== undefined) {
|
|
16467
16984
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
16468
16985
|
}
|
|
16986
|
+
if (returnDefaultValue !== undefined) {
|
|
16987
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
16988
|
+
}
|
|
16469
16989
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16470
16990
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16471
16991
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -16530,14 +17050,18 @@ exports.FaqCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
16530
17050
|
* @param {string} [parentId]
|
|
16531
17051
|
* @param {string} [name]
|
|
16532
17052
|
* @param {string} [description]
|
|
17053
|
+
* @param {string} [hospitalId]
|
|
17054
|
+
* @param {string} [hospitalName]
|
|
16533
17055
|
* @param {string} [languageCode]
|
|
17056
|
+
* @param {boolean} [showHidden]
|
|
17057
|
+
* @param {boolean} [returnDefaultValue]
|
|
16534
17058
|
* @param {number} [page]
|
|
16535
17059
|
* @param {number} [limit]
|
|
16536
17060
|
* @param {Date} [lastRetrieved]
|
|
16537
17061
|
* @param {*} [options] Override http request option.
|
|
16538
17062
|
* @throws {RequiredError}
|
|
16539
17063
|
*/
|
|
16540
|
-
apiV1FaqcategoriesGet: function (id, parentId, name, description, languageCode, page, limit, lastRetrieved, options) {
|
|
17064
|
+
apiV1FaqcategoriesGet: function (id, parentId, name, description, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
16541
17065
|
if (options === void 0) { options = {}; }
|
|
16542
17066
|
return __awaiter(_this, void 0, void 0, function () {
|
|
16543
17067
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -16571,9 +17095,21 @@ exports.FaqCategoriesApiAxiosParamCreator = function (configuration) {
|
|
|
16571
17095
|
if (description !== undefined) {
|
|
16572
17096
|
localVarQueryParameter['Description'] = description;
|
|
16573
17097
|
}
|
|
17098
|
+
if (hospitalId !== undefined) {
|
|
17099
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
17100
|
+
}
|
|
17101
|
+
if (hospitalName !== undefined) {
|
|
17102
|
+
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
17103
|
+
}
|
|
16574
17104
|
if (languageCode !== undefined) {
|
|
16575
17105
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
16576
17106
|
}
|
|
17107
|
+
if (showHidden !== undefined) {
|
|
17108
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
17109
|
+
}
|
|
17110
|
+
if (returnDefaultValue !== undefined) {
|
|
17111
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
17112
|
+
}
|
|
16577
17113
|
if (page !== undefined) {
|
|
16578
17114
|
localVarQueryParameter['page'] = page;
|
|
16579
17115
|
}
|
|
@@ -16741,15 +17277,16 @@ exports.FaqCategoriesApiFp = function (configuration) {
|
|
|
16741
17277
|
* @summary Get FaqCategory.
|
|
16742
17278
|
* @param {string} faqCategoryId
|
|
16743
17279
|
* @param {string} [languageCode]
|
|
17280
|
+
* @param {boolean} [returnDefaultValue]
|
|
16744
17281
|
* @param {*} [options] Override http request option.
|
|
16745
17282
|
* @throws {RequiredError}
|
|
16746
17283
|
*/
|
|
16747
|
-
apiV1FaqcategoriesFaqCategoryIdGet: function (faqCategoryId, languageCode, options) {
|
|
17284
|
+
apiV1FaqcategoriesFaqCategoryIdGet: function (faqCategoryId, languageCode, returnDefaultValue, options) {
|
|
16748
17285
|
return __awaiter(this, void 0, void 0, function () {
|
|
16749
17286
|
var localVarAxiosArgs;
|
|
16750
17287
|
return __generator(this, function (_a) {
|
|
16751
17288
|
switch (_a.label) {
|
|
16752
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options)];
|
|
17289
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, returnDefaultValue, options)];
|
|
16753
17290
|
case 1:
|
|
16754
17291
|
localVarAxiosArgs = _a.sent();
|
|
16755
17292
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16785,19 +17322,23 @@ exports.FaqCategoriesApiFp = function (configuration) {
|
|
|
16785
17322
|
* @param {string} [parentId]
|
|
16786
17323
|
* @param {string} [name]
|
|
16787
17324
|
* @param {string} [description]
|
|
17325
|
+
* @param {string} [hospitalId]
|
|
17326
|
+
* @param {string} [hospitalName]
|
|
16788
17327
|
* @param {string} [languageCode]
|
|
17328
|
+
* @param {boolean} [showHidden]
|
|
17329
|
+
* @param {boolean} [returnDefaultValue]
|
|
16789
17330
|
* @param {number} [page]
|
|
16790
17331
|
* @param {number} [limit]
|
|
16791
17332
|
* @param {Date} [lastRetrieved]
|
|
16792
17333
|
* @param {*} [options] Override http request option.
|
|
16793
17334
|
* @throws {RequiredError}
|
|
16794
17335
|
*/
|
|
16795
|
-
apiV1FaqcategoriesGet: function (id, parentId, name, description, languageCode, page, limit, lastRetrieved, options) {
|
|
17336
|
+
apiV1FaqcategoriesGet: function (id, parentId, name, description, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
16796
17337
|
return __awaiter(this, void 0, void 0, function () {
|
|
16797
17338
|
var localVarAxiosArgs;
|
|
16798
17339
|
return __generator(this, function (_a) {
|
|
16799
17340
|
switch (_a.label) {
|
|
16800
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options)];
|
|
17341
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqcategoriesGet(id, parentId, name, description, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
16801
17342
|
case 1:
|
|
16802
17343
|
localVarAxiosArgs = _a.sent();
|
|
16803
17344
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -16882,11 +17423,12 @@ exports.FaqCategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
16882
17423
|
* @summary Get FaqCategory.
|
|
16883
17424
|
* @param {string} faqCategoryId
|
|
16884
17425
|
* @param {string} [languageCode]
|
|
17426
|
+
* @param {boolean} [returnDefaultValue]
|
|
16885
17427
|
* @param {*} [options] Override http request option.
|
|
16886
17428
|
* @throws {RequiredError}
|
|
16887
17429
|
*/
|
|
16888
|
-
apiV1FaqcategoriesFaqCategoryIdGet: function (faqCategoryId, languageCode, options) {
|
|
16889
|
-
return localVarFp.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
17430
|
+
apiV1FaqcategoriesFaqCategoryIdGet: function (faqCategoryId, languageCode, returnDefaultValue, options) {
|
|
17431
|
+
return localVarFp.apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
16890
17432
|
},
|
|
16891
17433
|
/**
|
|
16892
17434
|
*
|
|
@@ -16906,15 +17448,19 @@ exports.FaqCategoriesApiFactory = function (configuration, basePath, axios) {
|
|
|
16906
17448
|
* @param {string} [parentId]
|
|
16907
17449
|
* @param {string} [name]
|
|
16908
17450
|
* @param {string} [description]
|
|
17451
|
+
* @param {string} [hospitalId]
|
|
17452
|
+
* @param {string} [hospitalName]
|
|
16909
17453
|
* @param {string} [languageCode]
|
|
17454
|
+
* @param {boolean} [showHidden]
|
|
17455
|
+
* @param {boolean} [returnDefaultValue]
|
|
16910
17456
|
* @param {number} [page]
|
|
16911
17457
|
* @param {number} [limit]
|
|
16912
17458
|
* @param {Date} [lastRetrieved]
|
|
16913
17459
|
* @param {*} [options] Override http request option.
|
|
16914
17460
|
* @throws {RequiredError}
|
|
16915
17461
|
*/
|
|
16916
|
-
apiV1FaqcategoriesGet: function (id, parentId, name, description, languageCode, page, limit, lastRetrieved, options) {
|
|
16917
|
-
return localVarFp.apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
17462
|
+
apiV1FaqcategoriesGet: function (id, parentId, name, description, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
17463
|
+
return localVarFp.apiV1FaqcategoriesGet(id, parentId, name, description, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
16918
17464
|
},
|
|
16919
17465
|
/**
|
|
16920
17466
|
*
|
|
@@ -16981,13 +17527,14 @@ var FaqCategoriesApi = /** @class */ (function (_super) {
|
|
|
16981
17527
|
* @summary Get FaqCategory.
|
|
16982
17528
|
* @param {string} faqCategoryId
|
|
16983
17529
|
* @param {string} [languageCode]
|
|
17530
|
+
* @param {boolean} [returnDefaultValue]
|
|
16984
17531
|
* @param {*} [options] Override http request option.
|
|
16985
17532
|
* @throws {RequiredError}
|
|
16986
17533
|
* @memberof FaqCategoriesApi
|
|
16987
17534
|
*/
|
|
16988
|
-
FaqCategoriesApi.prototype.apiV1FaqcategoriesFaqCategoryIdGet = function (faqCategoryId, languageCode, options) {
|
|
17535
|
+
FaqCategoriesApi.prototype.apiV1FaqcategoriesFaqCategoryIdGet = function (faqCategoryId, languageCode, returnDefaultValue, options) {
|
|
16989
17536
|
var _this = this;
|
|
16990
|
-
return exports.FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17537
|
+
return exports.FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesFaqCategoryIdGet(faqCategoryId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
16991
17538
|
};
|
|
16992
17539
|
/**
|
|
16993
17540
|
*
|
|
@@ -17009,7 +17556,11 @@ var FaqCategoriesApi = /** @class */ (function (_super) {
|
|
|
17009
17556
|
* @param {string} [parentId]
|
|
17010
17557
|
* @param {string} [name]
|
|
17011
17558
|
* @param {string} [description]
|
|
17559
|
+
* @param {string} [hospitalId]
|
|
17560
|
+
* @param {string} [hospitalName]
|
|
17012
17561
|
* @param {string} [languageCode]
|
|
17562
|
+
* @param {boolean} [showHidden]
|
|
17563
|
+
* @param {boolean} [returnDefaultValue]
|
|
17013
17564
|
* @param {number} [page]
|
|
17014
17565
|
* @param {number} [limit]
|
|
17015
17566
|
* @param {Date} [lastRetrieved]
|
|
@@ -17017,9 +17568,9 @@ var FaqCategoriesApi = /** @class */ (function (_super) {
|
|
|
17017
17568
|
* @throws {RequiredError}
|
|
17018
17569
|
* @memberof FaqCategoriesApi
|
|
17019
17570
|
*/
|
|
17020
|
-
FaqCategoriesApi.prototype.apiV1FaqcategoriesGet = function (id, parentId, name, description, languageCode, page, limit, lastRetrieved, options) {
|
|
17571
|
+
FaqCategoriesApi.prototype.apiV1FaqcategoriesGet = function (id, parentId, name, description, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
17021
17572
|
var _this = this;
|
|
17022
|
-
return exports.FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesGet(id, parentId, name, description, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17573
|
+
return exports.FaqCategoriesApiFp(this.configuration).apiV1FaqcategoriesGet(id, parentId, name, description, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
17023
17574
|
};
|
|
17024
17575
|
/**
|
|
17025
17576
|
*
|
|
@@ -17104,10 +17655,11 @@ exports.FaqsApiAxiosParamCreator = function (configuration) {
|
|
|
17104
17655
|
* @summary Get faq.
|
|
17105
17656
|
* @param {string} faqId
|
|
17106
17657
|
* @param {string} [languageCode]
|
|
17658
|
+
* @param {boolean} [returnDefaultValue]
|
|
17107
17659
|
* @param {*} [options] Override http request option.
|
|
17108
17660
|
* @throws {RequiredError}
|
|
17109
17661
|
*/
|
|
17110
|
-
apiV1FaqsFaqIdGet: function (faqId, languageCode, options) {
|
|
17662
|
+
apiV1FaqsFaqIdGet: function (faqId, languageCode, returnDefaultValue, options) {
|
|
17111
17663
|
if (options === void 0) { options = {}; }
|
|
17112
17664
|
return __awaiter(_this, void 0, void 0, function () {
|
|
17113
17665
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -17135,6 +17687,9 @@ exports.FaqsApiAxiosParamCreator = function (configuration) {
|
|
|
17135
17687
|
if (languageCode !== undefined) {
|
|
17136
17688
|
localVarQueryParameter['languageCode'] = languageCode;
|
|
17137
17689
|
}
|
|
17690
|
+
if (returnDefaultValue !== undefined) {
|
|
17691
|
+
localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
|
|
17692
|
+
}
|
|
17138
17693
|
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17139
17694
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17140
17695
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -17458,13 +18013,14 @@ exports.FaqsApiAxiosParamCreator = function (configuration) {
|
|
|
17458
18013
|
* @param {string} [hospitalName]
|
|
17459
18014
|
* @param {string} [languageCode]
|
|
17460
18015
|
* @param {boolean} [showHidden]
|
|
18016
|
+
* @param {boolean} [returnDefaultValue]
|
|
17461
18017
|
* @param {number} [page]
|
|
17462
18018
|
* @param {number} [limit]
|
|
17463
18019
|
* @param {Date} [lastRetrieved]
|
|
17464
18020
|
* @param {*} [options] Override http request option.
|
|
17465
18021
|
* @throws {RequiredError}
|
|
17466
18022
|
*/
|
|
17467
|
-
apiV1FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
18023
|
+
apiV1FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
17468
18024
|
if (options === void 0) { options = {}; }
|
|
17469
18025
|
return __awaiter(_this, void 0, void 0, function () {
|
|
17470
18026
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -17510,6 +18066,9 @@ exports.FaqsApiAxiosParamCreator = function (configuration) {
|
|
|
17510
18066
|
if (showHidden !== undefined) {
|
|
17511
18067
|
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
17512
18068
|
}
|
|
18069
|
+
if (returnDefaultValue !== undefined) {
|
|
18070
|
+
localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
|
|
18071
|
+
}
|
|
17513
18072
|
if (page !== undefined) {
|
|
17514
18073
|
localVarQueryParameter['page'] = page;
|
|
17515
18074
|
}
|
|
@@ -17655,15 +18214,16 @@ exports.FaqsApiFp = function (configuration) {
|
|
|
17655
18214
|
* @summary Get faq.
|
|
17656
18215
|
* @param {string} faqId
|
|
17657
18216
|
* @param {string} [languageCode]
|
|
18217
|
+
* @param {boolean} [returnDefaultValue]
|
|
17658
18218
|
* @param {*} [options] Override http request option.
|
|
17659
18219
|
* @throws {RequiredError}
|
|
17660
18220
|
*/
|
|
17661
|
-
apiV1FaqsFaqIdGet: function (faqId, languageCode, options) {
|
|
18221
|
+
apiV1FaqsFaqIdGet: function (faqId, languageCode, returnDefaultValue, options) {
|
|
17662
18222
|
return __awaiter(this, void 0, void 0, function () {
|
|
17663
18223
|
var localVarAxiosArgs;
|
|
17664
18224
|
return __generator(this, function (_a) {
|
|
17665
18225
|
switch (_a.label) {
|
|
17666
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqsFaqIdGet(faqId, languageCode, options)];
|
|
18226
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqsFaqIdGet(faqId, languageCode, returnDefaultValue, options)];
|
|
17667
18227
|
case 1:
|
|
17668
18228
|
localVarAxiosArgs = _a.sent();
|
|
17669
18229
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -17813,18 +18373,19 @@ exports.FaqsApiFp = function (configuration) {
|
|
|
17813
18373
|
* @param {string} [hospitalName]
|
|
17814
18374
|
* @param {string} [languageCode]
|
|
17815
18375
|
* @param {boolean} [showHidden]
|
|
18376
|
+
* @param {boolean} [returnDefaultValue]
|
|
17816
18377
|
* @param {number} [page]
|
|
17817
18378
|
* @param {number} [limit]
|
|
17818
18379
|
* @param {Date} [lastRetrieved]
|
|
17819
18380
|
* @param {*} [options] Override http request option.
|
|
17820
18381
|
* @throws {RequiredError}
|
|
17821
18382
|
*/
|
|
17822
|
-
apiV1FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
18383
|
+
apiV1FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
17823
18384
|
return __awaiter(this, void 0, void 0, function () {
|
|
17824
18385
|
var localVarAxiosArgs;
|
|
17825
18386
|
return __generator(this, function (_a) {
|
|
17826
18387
|
switch (_a.label) {
|
|
17827
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
18388
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
17828
18389
|
case 1:
|
|
17829
18390
|
localVarAxiosArgs = _a.sent();
|
|
17830
18391
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -17897,11 +18458,12 @@ exports.FaqsApiFactory = function (configuration, basePath, axios) {
|
|
|
17897
18458
|
* @summary Get faq.
|
|
17898
18459
|
* @param {string} faqId
|
|
17899
18460
|
* @param {string} [languageCode]
|
|
18461
|
+
* @param {boolean} [returnDefaultValue]
|
|
17900
18462
|
* @param {*} [options] Override http request option.
|
|
17901
18463
|
* @throws {RequiredError}
|
|
17902
18464
|
*/
|
|
17903
|
-
apiV1FaqsFaqIdGet: function (faqId, languageCode, options) {
|
|
17904
|
-
return localVarFp.apiV1FaqsFaqIdGet(faqId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
18465
|
+
apiV1FaqsFaqIdGet: function (faqId, languageCode, returnDefaultValue, options) {
|
|
18466
|
+
return localVarFp.apiV1FaqsFaqIdGet(faqId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
17905
18467
|
},
|
|
17906
18468
|
/**
|
|
17907
18469
|
*
|
|
@@ -17985,14 +18547,15 @@ exports.FaqsApiFactory = function (configuration, basePath, axios) {
|
|
|
17985
18547
|
* @param {string} [hospitalName]
|
|
17986
18548
|
* @param {string} [languageCode]
|
|
17987
18549
|
* @param {boolean} [showHidden]
|
|
18550
|
+
* @param {boolean} [returnDefaultValue]
|
|
17988
18551
|
* @param {number} [page]
|
|
17989
18552
|
* @param {number} [limit]
|
|
17990
18553
|
* @param {Date} [lastRetrieved]
|
|
17991
18554
|
* @param {*} [options] Override http request option.
|
|
17992
18555
|
* @throws {RequiredError}
|
|
17993
18556
|
*/
|
|
17994
|
-
apiV1FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
17995
|
-
return localVarFp.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
18557
|
+
apiV1FaqsGet: function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18558
|
+
return localVarFp.apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
17996
18559
|
},
|
|
17997
18560
|
/**
|
|
17998
18561
|
*
|
|
@@ -18045,13 +18608,14 @@ var FaqsApi = /** @class */ (function (_super) {
|
|
|
18045
18608
|
* @summary Get faq.
|
|
18046
18609
|
* @param {string} faqId
|
|
18047
18610
|
* @param {string} [languageCode]
|
|
18611
|
+
* @param {boolean} [returnDefaultValue]
|
|
18048
18612
|
* @param {*} [options] Override http request option.
|
|
18049
18613
|
* @throws {RequiredError}
|
|
18050
18614
|
* @memberof FaqsApi
|
|
18051
18615
|
*/
|
|
18052
|
-
FaqsApi.prototype.apiV1FaqsFaqIdGet = function (faqId, languageCode, options) {
|
|
18616
|
+
FaqsApi.prototype.apiV1FaqsFaqIdGet = function (faqId, languageCode, returnDefaultValue, options) {
|
|
18053
18617
|
var _this = this;
|
|
18054
|
-
return exports.FaqsApiFp(this.configuration).apiV1FaqsFaqIdGet(faqId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18618
|
+
return exports.FaqsApiFp(this.configuration).apiV1FaqsFaqIdGet(faqId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18055
18619
|
};
|
|
18056
18620
|
/**
|
|
18057
18621
|
*
|
|
@@ -18147,6 +18711,7 @@ var FaqsApi = /** @class */ (function (_super) {
|
|
|
18147
18711
|
* @param {string} [hospitalName]
|
|
18148
18712
|
* @param {string} [languageCode]
|
|
18149
18713
|
* @param {boolean} [showHidden]
|
|
18714
|
+
* @param {boolean} [returnDefaultValue]
|
|
18150
18715
|
* @param {number} [page]
|
|
18151
18716
|
* @param {number} [limit]
|
|
18152
18717
|
* @param {Date} [lastRetrieved]
|
|
@@ -18154,9 +18719,9 @@ var FaqsApi = /** @class */ (function (_super) {
|
|
|
18154
18719
|
* @throws {RequiredError}
|
|
18155
18720
|
* @memberof FaqsApi
|
|
18156
18721
|
*/
|
|
18157
|
-
FaqsApi.prototype.apiV1FaqsGet = function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
18722
|
+
FaqsApi.prototype.apiV1FaqsGet = function (id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
18158
18723
|
var _this = this;
|
|
18159
|
-
return exports.FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18724
|
+
return exports.FaqsApiFp(this.configuration).apiV1FaqsGet(id, title, content, categoryId, hospitalId, hospitalName, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
18160
18725
|
};
|
|
18161
18726
|
/**
|
|
18162
18727
|
*
|
|
@@ -19419,7 +19984,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19419
19984
|
*
|
|
19420
19985
|
* @summary Get all HospitalHandles.
|
|
19421
19986
|
* @param {string} hospitalId
|
|
19422
|
-
* @param {string} [hospitalId2]
|
|
19423
19987
|
* @param {string} [id]
|
|
19424
19988
|
* @param {SnsType} [snsType]
|
|
19425
19989
|
* @param {string} [handle]
|
|
@@ -19429,7 +19993,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19429
19993
|
* @param {*} [options] Override http request option.
|
|
19430
19994
|
* @throws {RequiredError}
|
|
19431
19995
|
*/
|
|
19432
|
-
apiV1HospitalsHospitalIdHandlesGet: function (hospitalId,
|
|
19996
|
+
apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, id, snsType, handle, page, limit, lastRetrieved, options) {
|
|
19433
19997
|
if (options === void 0) { options = {}; }
|
|
19434
19998
|
return __awaiter(_this, void 0, void 0, function () {
|
|
19435
19999
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -19454,9 +20018,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19454
20018
|
// authentication oauth2 required
|
|
19455
20019
|
// oauth required
|
|
19456
20020
|
_a.sent();
|
|
19457
|
-
if (hospitalId2 !== undefined) {
|
|
19458
|
-
localVarQueryParameter['HospitalId'] = hospitalId2;
|
|
19459
|
-
}
|
|
19460
20021
|
if (id !== undefined) {
|
|
19461
20022
|
localVarQueryParameter['Id'] = id;
|
|
19462
20023
|
}
|
|
@@ -21021,7 +21582,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21021
21582
|
*
|
|
21022
21583
|
* @summary Get all HospitalWorkingDays.
|
|
21023
21584
|
* @param {string} hospitalId
|
|
21024
|
-
* @param {string} [hospitalId2]
|
|
21025
21585
|
* @param {string} [id]
|
|
21026
21586
|
* @param {string} [dayOfWeek]
|
|
21027
21587
|
* @param {Date} [timeFrom]
|
|
@@ -21033,7 +21593,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21033
21593
|
* @param {*} [options] Override http request option.
|
|
21034
21594
|
* @throws {RequiredError}
|
|
21035
21595
|
*/
|
|
21036
|
-
apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId,
|
|
21596
|
+
apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
21037
21597
|
if (options === void 0) { options = {}; }
|
|
21038
21598
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21039
21599
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -21058,9 +21618,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21058
21618
|
// authentication oauth2 required
|
|
21059
21619
|
// oauth required
|
|
21060
21620
|
_a.sent();
|
|
21061
|
-
if (hospitalId2 !== undefined) {
|
|
21062
|
-
localVarQueryParameter['HospitalId'] = hospitalId2;
|
|
21063
|
-
}
|
|
21064
21621
|
if (id !== undefined) {
|
|
21065
21622
|
localVarQueryParameter['Id'] = id;
|
|
21066
21623
|
}
|
|
@@ -22015,7 +22572,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
22015
22572
|
*
|
|
22016
22573
|
* @summary Get all HospitalHandles.
|
|
22017
22574
|
* @param {string} hospitalId
|
|
22018
|
-
* @param {string} [hospitalId2]
|
|
22019
22575
|
* @param {string} [id]
|
|
22020
22576
|
* @param {SnsType} [snsType]
|
|
22021
22577
|
* @param {string} [handle]
|
|
@@ -22025,12 +22581,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
22025
22581
|
* @param {*} [options] Override http request option.
|
|
22026
22582
|
* @throws {RequiredError}
|
|
22027
22583
|
*/
|
|
22028
|
-
apiV1HospitalsHospitalIdHandlesGet: function (hospitalId,
|
|
22584
|
+
apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, id, snsType, handle, page, limit, lastRetrieved, options) {
|
|
22029
22585
|
return __awaiter(this, void 0, void 0, function () {
|
|
22030
22586
|
var localVarAxiosArgs;
|
|
22031
22587
|
return __generator(this, function (_a) {
|
|
22032
22588
|
switch (_a.label) {
|
|
22033
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesGet(hospitalId,
|
|
22589
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options)];
|
|
22034
22590
|
case 1:
|
|
22035
22591
|
localVarAxiosArgs = _a.sent();
|
|
22036
22592
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -22663,7 +23219,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
22663
23219
|
*
|
|
22664
23220
|
* @summary Get all HospitalWorkingDays.
|
|
22665
23221
|
* @param {string} hospitalId
|
|
22666
|
-
* @param {string} [hospitalId2]
|
|
22667
23222
|
* @param {string} [id]
|
|
22668
23223
|
* @param {string} [dayOfWeek]
|
|
22669
23224
|
* @param {Date} [timeFrom]
|
|
@@ -22675,12 +23230,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
22675
23230
|
* @param {*} [options] Override http request option.
|
|
22676
23231
|
* @throws {RequiredError}
|
|
22677
23232
|
*/
|
|
22678
|
-
apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId,
|
|
23233
|
+
apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
22679
23234
|
return __awaiter(this, void 0, void 0, function () {
|
|
22680
23235
|
var localVarAxiosArgs;
|
|
22681
23236
|
return __generator(this, function (_a) {
|
|
22682
23237
|
switch (_a.label) {
|
|
22683
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId,
|
|
23238
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options)];
|
|
22684
23239
|
case 1:
|
|
22685
23240
|
localVarAxiosArgs = _a.sent();
|
|
22686
23241
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -23150,7 +23705,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
23150
23705
|
*
|
|
23151
23706
|
* @summary Get all HospitalHandles.
|
|
23152
23707
|
* @param {string} hospitalId
|
|
23153
|
-
* @param {string} [hospitalId2]
|
|
23154
23708
|
* @param {string} [id]
|
|
23155
23709
|
* @param {SnsType} [snsType]
|
|
23156
23710
|
* @param {string} [handle]
|
|
@@ -23160,8 +23714,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
23160
23714
|
* @param {*} [options] Override http request option.
|
|
23161
23715
|
* @throws {RequiredError}
|
|
23162
23716
|
*/
|
|
23163
|
-
apiV1HospitalsHospitalIdHandlesGet: function (hospitalId,
|
|
23164
|
-
return localVarFp.apiV1HospitalsHospitalIdHandlesGet(hospitalId,
|
|
23717
|
+
apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, id, snsType, handle, page, limit, lastRetrieved, options) {
|
|
23718
|
+
return localVarFp.apiV1HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
23165
23719
|
},
|
|
23166
23720
|
/**
|
|
23167
23721
|
*
|
|
@@ -23528,7 +24082,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
23528
24082
|
*
|
|
23529
24083
|
* @summary Get all HospitalWorkingDays.
|
|
23530
24084
|
* @param {string} hospitalId
|
|
23531
|
-
* @param {string} [hospitalId2]
|
|
23532
24085
|
* @param {string} [id]
|
|
23533
24086
|
* @param {string} [dayOfWeek]
|
|
23534
24087
|
* @param {Date} [timeFrom]
|
|
@@ -23540,8 +24093,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
23540
24093
|
* @param {*} [options] Override http request option.
|
|
23541
24094
|
* @throws {RequiredError}
|
|
23542
24095
|
*/
|
|
23543
|
-
apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId,
|
|
23544
|
-
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId,
|
|
24096
|
+
apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
24097
|
+
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
23545
24098
|
},
|
|
23546
24099
|
/**
|
|
23547
24100
|
*
|
|
@@ -23983,7 +24536,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
23983
24536
|
*
|
|
23984
24537
|
* @summary Get all HospitalHandles.
|
|
23985
24538
|
* @param {string} hospitalId
|
|
23986
|
-
* @param {string} [hospitalId2]
|
|
23987
24539
|
* @param {string} [id]
|
|
23988
24540
|
* @param {SnsType} [snsType]
|
|
23989
24541
|
* @param {string} [handle]
|
|
@@ -23994,9 +24546,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
23994
24546
|
* @throws {RequiredError}
|
|
23995
24547
|
* @memberof HospitalsApi
|
|
23996
24548
|
*/
|
|
23997
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesGet = function (hospitalId,
|
|
24549
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesGet = function (hospitalId, id, snsType, handle, page, limit, lastRetrieved, options) {
|
|
23998
24550
|
var _this = this;
|
|
23999
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesGet(hospitalId,
|
|
24551
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
24000
24552
|
};
|
|
24001
24553
|
/**
|
|
24002
24554
|
*
|
|
@@ -24415,7 +24967,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
24415
24967
|
*
|
|
24416
24968
|
* @summary Get all HospitalWorkingDays.
|
|
24417
24969
|
* @param {string} hospitalId
|
|
24418
|
-
* @param {string} [hospitalId2]
|
|
24419
24970
|
* @param {string} [id]
|
|
24420
24971
|
* @param {string} [dayOfWeek]
|
|
24421
24972
|
* @param {Date} [timeFrom]
|
|
@@ -24428,9 +24979,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
24428
24979
|
* @throws {RequiredError}
|
|
24429
24980
|
* @memberof HospitalsApi
|
|
24430
24981
|
*/
|
|
24431
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysGet = function (hospitalId,
|
|
24982
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysGet = function (hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
24432
24983
|
var _this = this;
|
|
24433
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId,
|
|
24984
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
24434
24985
|
};
|
|
24435
24986
|
/**
|
|
24436
24987
|
*
|