ch-admin-api-client-typescript 3.0.3 → 3.1.2
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 +377 -119
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +559 -162
- package/package.json +1 -1
- package/src/api.ts +708 -262
package/lib/api.js
CHANGED
|
@@ -76,7 +76,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
76
76
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
77
77
|
};
|
|
78
78
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
79
|
-
exports.
|
|
79
|
+
exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.EmailMarketingsApi = exports.EmailMarketingsApiFactory = exports.EmailMarketingsApiFp = exports.EmailMarketingsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.DashBoardApi = exports.DashBoardApiFactory = exports.DashBoardApiFp = exports.DashBoardApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.CHManagersApi = exports.CHManagersApiFactory = exports.CHManagersApiFp = exports.CHManagersApiAxiosParamCreator = exports.CHAdminsApi = exports.CHAdminsApiFactory = exports.CHAdminsApiFp = exports.CHAdminsApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SortingOrder = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.Duration = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
|
|
80
80
|
var axios_1 = __importDefault(require("axios"));
|
|
81
81
|
// Some imports not used depending on template conditions
|
|
82
82
|
// @ts-ignore
|
|
@@ -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.
|
|
@@ -19419,7 +19935,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19419
19935
|
*
|
|
19420
19936
|
* @summary Get all HospitalHandles.
|
|
19421
19937
|
* @param {string} hospitalId
|
|
19422
|
-
* @param {string} [hospitalId2]
|
|
19423
19938
|
* @param {string} [id]
|
|
19424
19939
|
* @param {SnsType} [snsType]
|
|
19425
19940
|
* @param {string} [handle]
|
|
@@ -19429,7 +19944,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19429
19944
|
* @param {*} [options] Override http request option.
|
|
19430
19945
|
* @throws {RequiredError}
|
|
19431
19946
|
*/
|
|
19432
|
-
apiV1HospitalsHospitalIdHandlesGet: function (hospitalId,
|
|
19947
|
+
apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, id, snsType, handle, page, limit, lastRetrieved, options) {
|
|
19433
19948
|
if (options === void 0) { options = {}; }
|
|
19434
19949
|
return __awaiter(_this, void 0, void 0, function () {
|
|
19435
19950
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -19454,9 +19969,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
19454
19969
|
// authentication oauth2 required
|
|
19455
19970
|
// oauth required
|
|
19456
19971
|
_a.sent();
|
|
19457
|
-
if (hospitalId2 !== undefined) {
|
|
19458
|
-
localVarQueryParameter['HospitalId'] = hospitalId2;
|
|
19459
|
-
}
|
|
19460
19972
|
if (id !== undefined) {
|
|
19461
19973
|
localVarQueryParameter['Id'] = id;
|
|
19462
19974
|
}
|
|
@@ -21021,7 +21533,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21021
21533
|
*
|
|
21022
21534
|
* @summary Get all HospitalWorkingDays.
|
|
21023
21535
|
* @param {string} hospitalId
|
|
21024
|
-
* @param {string} [hospitalId2]
|
|
21025
21536
|
* @param {string} [id]
|
|
21026
21537
|
* @param {string} [dayOfWeek]
|
|
21027
21538
|
* @param {Date} [timeFrom]
|
|
@@ -21033,7 +21544,7 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21033
21544
|
* @param {*} [options] Override http request option.
|
|
21034
21545
|
* @throws {RequiredError}
|
|
21035
21546
|
*/
|
|
21036
|
-
apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId,
|
|
21547
|
+
apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
21037
21548
|
if (options === void 0) { options = {}; }
|
|
21038
21549
|
return __awaiter(_this, void 0, void 0, function () {
|
|
21039
21550
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -21058,9 +21569,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
21058
21569
|
// authentication oauth2 required
|
|
21059
21570
|
// oauth required
|
|
21060
21571
|
_a.sent();
|
|
21061
|
-
if (hospitalId2 !== undefined) {
|
|
21062
|
-
localVarQueryParameter['HospitalId'] = hospitalId2;
|
|
21063
|
-
}
|
|
21064
21572
|
if (id !== undefined) {
|
|
21065
21573
|
localVarQueryParameter['Id'] = id;
|
|
21066
21574
|
}
|
|
@@ -22015,7 +22523,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
22015
22523
|
*
|
|
22016
22524
|
* @summary Get all HospitalHandles.
|
|
22017
22525
|
* @param {string} hospitalId
|
|
22018
|
-
* @param {string} [hospitalId2]
|
|
22019
22526
|
* @param {string} [id]
|
|
22020
22527
|
* @param {SnsType} [snsType]
|
|
22021
22528
|
* @param {string} [handle]
|
|
@@ -22025,12 +22532,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
22025
22532
|
* @param {*} [options] Override http request option.
|
|
22026
22533
|
* @throws {RequiredError}
|
|
22027
22534
|
*/
|
|
22028
|
-
apiV1HospitalsHospitalIdHandlesGet: function (hospitalId,
|
|
22535
|
+
apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, id, snsType, handle, page, limit, lastRetrieved, options) {
|
|
22029
22536
|
return __awaiter(this, void 0, void 0, function () {
|
|
22030
22537
|
var localVarAxiosArgs;
|
|
22031
22538
|
return __generator(this, function (_a) {
|
|
22032
22539
|
switch (_a.label) {
|
|
22033
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesGet(hospitalId,
|
|
22540
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options)];
|
|
22034
22541
|
case 1:
|
|
22035
22542
|
localVarAxiosArgs = _a.sent();
|
|
22036
22543
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -22663,7 +23170,6 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
22663
23170
|
*
|
|
22664
23171
|
* @summary Get all HospitalWorkingDays.
|
|
22665
23172
|
* @param {string} hospitalId
|
|
22666
|
-
* @param {string} [hospitalId2]
|
|
22667
23173
|
* @param {string} [id]
|
|
22668
23174
|
* @param {string} [dayOfWeek]
|
|
22669
23175
|
* @param {Date} [timeFrom]
|
|
@@ -22675,12 +23181,12 @@ exports.HospitalsApiFp = function (configuration) {
|
|
|
22675
23181
|
* @param {*} [options] Override http request option.
|
|
22676
23182
|
* @throws {RequiredError}
|
|
22677
23183
|
*/
|
|
22678
|
-
apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId,
|
|
23184
|
+
apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
22679
23185
|
return __awaiter(this, void 0, void 0, function () {
|
|
22680
23186
|
var localVarAxiosArgs;
|
|
22681
23187
|
return __generator(this, function (_a) {
|
|
22682
23188
|
switch (_a.label) {
|
|
22683
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId,
|
|
23189
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options)];
|
|
22684
23190
|
case 1:
|
|
22685
23191
|
localVarAxiosArgs = _a.sent();
|
|
22686
23192
|
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -23150,7 +23656,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
23150
23656
|
*
|
|
23151
23657
|
* @summary Get all HospitalHandles.
|
|
23152
23658
|
* @param {string} hospitalId
|
|
23153
|
-
* @param {string} [hospitalId2]
|
|
23154
23659
|
* @param {string} [id]
|
|
23155
23660
|
* @param {SnsType} [snsType]
|
|
23156
23661
|
* @param {string} [handle]
|
|
@@ -23160,8 +23665,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
23160
23665
|
* @param {*} [options] Override http request option.
|
|
23161
23666
|
* @throws {RequiredError}
|
|
23162
23667
|
*/
|
|
23163
|
-
apiV1HospitalsHospitalIdHandlesGet: function (hospitalId,
|
|
23164
|
-
return localVarFp.apiV1HospitalsHospitalIdHandlesGet(hospitalId,
|
|
23668
|
+
apiV1HospitalsHospitalIdHandlesGet: function (hospitalId, id, snsType, handle, page, limit, lastRetrieved, options) {
|
|
23669
|
+
return localVarFp.apiV1HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
23165
23670
|
},
|
|
23166
23671
|
/**
|
|
23167
23672
|
*
|
|
@@ -23528,7 +24033,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
23528
24033
|
*
|
|
23529
24034
|
* @summary Get all HospitalWorkingDays.
|
|
23530
24035
|
* @param {string} hospitalId
|
|
23531
|
-
* @param {string} [hospitalId2]
|
|
23532
24036
|
* @param {string} [id]
|
|
23533
24037
|
* @param {string} [dayOfWeek]
|
|
23534
24038
|
* @param {Date} [timeFrom]
|
|
@@ -23540,8 +24044,8 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
23540
24044
|
* @param {*} [options] Override http request option.
|
|
23541
24045
|
* @throws {RequiredError}
|
|
23542
24046
|
*/
|
|
23543
|
-
apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId,
|
|
23544
|
-
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId,
|
|
24047
|
+
apiV1HospitalsHospitalIdWorkingdaysGet: function (hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
24048
|
+
return localVarFp.apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
23545
24049
|
},
|
|
23546
24050
|
/**
|
|
23547
24051
|
*
|
|
@@ -23983,7 +24487,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
23983
24487
|
*
|
|
23984
24488
|
* @summary Get all HospitalHandles.
|
|
23985
24489
|
* @param {string} hospitalId
|
|
23986
|
-
* @param {string} [hospitalId2]
|
|
23987
24490
|
* @param {string} [id]
|
|
23988
24491
|
* @param {SnsType} [snsType]
|
|
23989
24492
|
* @param {string} [handle]
|
|
@@ -23994,9 +24497,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
23994
24497
|
* @throws {RequiredError}
|
|
23995
24498
|
* @memberof HospitalsApi
|
|
23996
24499
|
*/
|
|
23997
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesGet = function (hospitalId,
|
|
24500
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdHandlesGet = function (hospitalId, id, snsType, handle, page, limit, lastRetrieved, options) {
|
|
23998
24501
|
var _this = this;
|
|
23999
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesGet(hospitalId,
|
|
24502
|
+
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
24000
24503
|
};
|
|
24001
24504
|
/**
|
|
24002
24505
|
*
|
|
@@ -24415,7 +24918,6 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
24415
24918
|
*
|
|
24416
24919
|
* @summary Get all HospitalWorkingDays.
|
|
24417
24920
|
* @param {string} hospitalId
|
|
24418
|
-
* @param {string} [hospitalId2]
|
|
24419
24921
|
* @param {string} [id]
|
|
24420
24922
|
* @param {string} [dayOfWeek]
|
|
24421
24923
|
* @param {Date} [timeFrom]
|
|
@@ -24428,9 +24930,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
24428
24930
|
* @throws {RequiredError}
|
|
24429
24931
|
* @memberof HospitalsApi
|
|
24430
24932
|
*/
|
|
24431
|
-
HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysGet = function (hospitalId,
|
|
24933
|
+
HospitalsApi.prototype.apiV1HospitalsHospitalIdWorkingdaysGet = function (hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
|
|
24432
24934
|
var _this = this;
|
|
24433
|
-
return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdWorkingdaysGet(hospitalId,
|
|
24935
|
+
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
24936
|
};
|
|
24435
24937
|
/**
|
|
24436
24938
|
*
|
|
@@ -35118,108 +35620,3 @@ var TranslationApi = /** @class */ (function (_super) {
|
|
|
35118
35620
|
return TranslationApi;
|
|
35119
35621
|
}(base_1.BaseAPI));
|
|
35120
35622
|
exports.TranslationApi = TranslationApi;
|
|
35121
|
-
/**
|
|
35122
|
-
* WeatherForecastApi - axios parameter creator
|
|
35123
|
-
* @export
|
|
35124
|
-
*/
|
|
35125
|
-
exports.WeatherForecastApiAxiosParamCreator = function (configuration) {
|
|
35126
|
-
var _this = this;
|
|
35127
|
-
return {
|
|
35128
|
-
/**
|
|
35129
|
-
*
|
|
35130
|
-
* @param {*} [options] Override http request option.
|
|
35131
|
-
* @throws {RequiredError}
|
|
35132
|
-
*/
|
|
35133
|
-
apiV1WeatherforecastGet: function (options) {
|
|
35134
|
-
if (options === void 0) { options = {}; }
|
|
35135
|
-
return __awaiter(_this, void 0, void 0, function () {
|
|
35136
|
-
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
35137
|
-
return __generator(this, function (_a) {
|
|
35138
|
-
localVarPath = "/api/v1/weatherforecast";
|
|
35139
|
-
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
35140
|
-
if (configuration) {
|
|
35141
|
-
baseOptions = configuration.baseOptions;
|
|
35142
|
-
}
|
|
35143
|
-
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
35144
|
-
localVarHeaderParameter = {};
|
|
35145
|
-
localVarQueryParameter = {};
|
|
35146
|
-
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
35147
|
-
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
35148
|
-
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
35149
|
-
return [2 /*return*/, {
|
|
35150
|
-
url: common_1.toPathString(localVarUrlObj),
|
|
35151
|
-
options: localVarRequestOptions,
|
|
35152
|
-
}];
|
|
35153
|
-
});
|
|
35154
|
-
});
|
|
35155
|
-
},
|
|
35156
|
-
};
|
|
35157
|
-
};
|
|
35158
|
-
/**
|
|
35159
|
-
* WeatherForecastApi - functional programming interface
|
|
35160
|
-
* @export
|
|
35161
|
-
*/
|
|
35162
|
-
exports.WeatherForecastApiFp = function (configuration) {
|
|
35163
|
-
var localVarAxiosParamCreator = exports.WeatherForecastApiAxiosParamCreator(configuration);
|
|
35164
|
-
return {
|
|
35165
|
-
/**
|
|
35166
|
-
*
|
|
35167
|
-
* @param {*} [options] Override http request option.
|
|
35168
|
-
* @throws {RequiredError}
|
|
35169
|
-
*/
|
|
35170
|
-
apiV1WeatherforecastGet: function (options) {
|
|
35171
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
35172
|
-
var localVarAxiosArgs;
|
|
35173
|
-
return __generator(this, function (_a) {
|
|
35174
|
-
switch (_a.label) {
|
|
35175
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1WeatherforecastGet(options)];
|
|
35176
|
-
case 1:
|
|
35177
|
-
localVarAxiosArgs = _a.sent();
|
|
35178
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
35179
|
-
}
|
|
35180
|
-
});
|
|
35181
|
-
});
|
|
35182
|
-
},
|
|
35183
|
-
};
|
|
35184
|
-
};
|
|
35185
|
-
/**
|
|
35186
|
-
* WeatherForecastApi - factory interface
|
|
35187
|
-
* @export
|
|
35188
|
-
*/
|
|
35189
|
-
exports.WeatherForecastApiFactory = function (configuration, basePath, axios) {
|
|
35190
|
-
var localVarFp = exports.WeatherForecastApiFp(configuration);
|
|
35191
|
-
return {
|
|
35192
|
-
/**
|
|
35193
|
-
*
|
|
35194
|
-
* @param {*} [options] Override http request option.
|
|
35195
|
-
* @throws {RequiredError}
|
|
35196
|
-
*/
|
|
35197
|
-
apiV1WeatherforecastGet: function (options) {
|
|
35198
|
-
return localVarFp.apiV1WeatherforecastGet(options).then(function (request) { return request(axios, basePath); });
|
|
35199
|
-
},
|
|
35200
|
-
};
|
|
35201
|
-
};
|
|
35202
|
-
/**
|
|
35203
|
-
* WeatherForecastApi - object-oriented interface
|
|
35204
|
-
* @export
|
|
35205
|
-
* @class WeatherForecastApi
|
|
35206
|
-
* @extends {BaseAPI}
|
|
35207
|
-
*/
|
|
35208
|
-
var WeatherForecastApi = /** @class */ (function (_super) {
|
|
35209
|
-
__extends(WeatherForecastApi, _super);
|
|
35210
|
-
function WeatherForecastApi() {
|
|
35211
|
-
return _super !== null && _super.apply(this, arguments) || this;
|
|
35212
|
-
}
|
|
35213
|
-
/**
|
|
35214
|
-
*
|
|
35215
|
-
* @param {*} [options] Override http request option.
|
|
35216
|
-
* @throws {RequiredError}
|
|
35217
|
-
* @memberof WeatherForecastApi
|
|
35218
|
-
*/
|
|
35219
|
-
WeatherForecastApi.prototype.apiV1WeatherforecastGet = function (options) {
|
|
35220
|
-
var _this = this;
|
|
35221
|
-
return exports.WeatherForecastApiFp(this.configuration).apiV1WeatherforecastGet(options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
35222
|
-
};
|
|
35223
|
-
return WeatherForecastApi;
|
|
35224
|
-
}(base_1.BaseAPI));
|
|
35225
|
-
exports.WeatherForecastApi = WeatherForecastApi;
|