ch-api-client-typescript2 4.1.0 → 4.1.1
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 +126 -60
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +38 -42
- package/package.json +1 -1
- package/src/api.ts +143 -75
package/lib/api.js
CHANGED
|
@@ -78,26 +78,15 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
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.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.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus =
|
|
82
|
-
exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = 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.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DoctorAffiliationsApi = exports.DoctorAffiliationsApiFactory = exports.DoctorAffiliationsApiFp = exports.DoctorAffiliationsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory =
|
|
83
|
-
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.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator =
|
|
81
|
+
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.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.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = void 0;
|
|
82
|
+
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.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DoctorAffiliationsApi = exports.DoctorAffiliationsApiFactory = exports.DoctorAffiliationsApiFp = exports.DoctorAffiliationsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = void 0;
|
|
83
|
+
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.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = void 0;
|
|
84
84
|
var axios_1 = __importDefault(require("axios"));
|
|
85
85
|
// Some imports not used depending on template conditions
|
|
86
86
|
// @ts-ignore
|
|
87
87
|
var common_1 = require("./common");
|
|
88
88
|
// @ts-ignore
|
|
89
89
|
var base_1 = require("./base");
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @export
|
|
93
|
-
* @enum {string}
|
|
94
|
-
*/
|
|
95
|
-
var ArticleStatus;
|
|
96
|
-
(function (ArticleStatus) {
|
|
97
|
-
ArticleStatus["Draft"] = "Draft";
|
|
98
|
-
ArticleStatus["Active"] = "Active";
|
|
99
|
-
ArticleStatus["Archived"] = "Archived";
|
|
100
|
-
})(ArticleStatus = exports.ArticleStatus || (exports.ArticleStatus = {}));
|
|
101
90
|
/**
|
|
102
91
|
*
|
|
103
92
|
* @export
|
|
@@ -1325,7 +1314,6 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1325
1314
|
* @param {string} [id]
|
|
1326
1315
|
* @param {string} [name]
|
|
1327
1316
|
* @param {string} [description]
|
|
1328
|
-
* @param {ArticleStatus} [status]
|
|
1329
1317
|
* @param {MarketingType} [marketingType]
|
|
1330
1318
|
* @param {string} [userId]
|
|
1331
1319
|
* @param {string} [userName]
|
|
@@ -1345,7 +1333,7 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1345
1333
|
* @param {*} [options] Override http request option.
|
|
1346
1334
|
* @throws {RequiredError}
|
|
1347
1335
|
*/
|
|
1348
|
-
apiV2ArticlesGet: function (id, name, description,
|
|
1336
|
+
apiV2ArticlesGet: function (id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1349
1337
|
if (options === void 0) { options = {}; }
|
|
1350
1338
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1351
1339
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1367,9 +1355,6 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1367
1355
|
if (description !== undefined) {
|
|
1368
1356
|
localVarQueryParameter['Description'] = description;
|
|
1369
1357
|
}
|
|
1370
|
-
if (status !== undefined) {
|
|
1371
|
-
localVarQueryParameter['Status'] = status;
|
|
1372
|
-
}
|
|
1373
1358
|
if (marketingType !== undefined) {
|
|
1374
1359
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
1375
1360
|
}
|
|
@@ -1694,7 +1679,6 @@ var ArticlesApiFp = function (configuration) {
|
|
|
1694
1679
|
* @param {string} [id]
|
|
1695
1680
|
* @param {string} [name]
|
|
1696
1681
|
* @param {string} [description]
|
|
1697
|
-
* @param {ArticleStatus} [status]
|
|
1698
1682
|
* @param {MarketingType} [marketingType]
|
|
1699
1683
|
* @param {string} [userId]
|
|
1700
1684
|
* @param {string} [userName]
|
|
@@ -1714,12 +1698,12 @@ var ArticlesApiFp = function (configuration) {
|
|
|
1714
1698
|
* @param {*} [options] Override http request option.
|
|
1715
1699
|
* @throws {RequiredError}
|
|
1716
1700
|
*/
|
|
1717
|
-
apiV2ArticlesGet: function (id, name, description,
|
|
1701
|
+
apiV2ArticlesGet: function (id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1718
1702
|
return __awaiter(this, void 0, void 0, function () {
|
|
1719
1703
|
var localVarAxiosArgs;
|
|
1720
1704
|
return __generator(this, function (_a) {
|
|
1721
1705
|
switch (_a.label) {
|
|
1722
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesGet(id, name, description,
|
|
1706
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesGet(id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
1723
1707
|
case 1:
|
|
1724
1708
|
localVarAxiosArgs = _a.sent();
|
|
1725
1709
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1882,7 +1866,6 @@ var ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1882
1866
|
* @param {string} [id]
|
|
1883
1867
|
* @param {string} [name]
|
|
1884
1868
|
* @param {string} [description]
|
|
1885
|
-
* @param {ArticleStatus} [status]
|
|
1886
1869
|
* @param {MarketingType} [marketingType]
|
|
1887
1870
|
* @param {string} [userId]
|
|
1888
1871
|
* @param {string} [userName]
|
|
@@ -1902,8 +1885,8 @@ var ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1902
1885
|
* @param {*} [options] Override http request option.
|
|
1903
1886
|
* @throws {RequiredError}
|
|
1904
1887
|
*/
|
|
1905
|
-
apiV2ArticlesGet: function (id, name, description,
|
|
1906
|
-
return localVarFp.apiV2ArticlesGet(id, name, description,
|
|
1888
|
+
apiV2ArticlesGet: function (id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1889
|
+
return localVarFp.apiV2ArticlesGet(id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
1907
1890
|
},
|
|
1908
1891
|
/**
|
|
1909
1892
|
*
|
|
@@ -2072,7 +2055,6 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
2072
2055
|
* @param {string} [id]
|
|
2073
2056
|
* @param {string} [name]
|
|
2074
2057
|
* @param {string} [description]
|
|
2075
|
-
* @param {ArticleStatus} [status]
|
|
2076
2058
|
* @param {MarketingType} [marketingType]
|
|
2077
2059
|
* @param {string} [userId]
|
|
2078
2060
|
* @param {string} [userName]
|
|
@@ -2093,9 +2075,9 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
2093
2075
|
* @throws {RequiredError}
|
|
2094
2076
|
* @memberof ArticlesApi
|
|
2095
2077
|
*/
|
|
2096
|
-
ArticlesApi.prototype.apiV2ArticlesGet = function (id, name, description,
|
|
2078
|
+
ArticlesApi.prototype.apiV2ArticlesGet = function (id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
2097
2079
|
var _this = this;
|
|
2098
|
-
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesGet(id, name, description,
|
|
2080
|
+
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesGet(id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2099
2081
|
};
|
|
2100
2082
|
/**
|
|
2101
2083
|
*
|
|
@@ -10875,13 +10857,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10875
10857
|
* @param {string} [slug]
|
|
10876
10858
|
* @param {MarketingType} [marketingType]
|
|
10877
10859
|
* @param {string} [languageCode]
|
|
10860
|
+
* @param {boolean} [showHidden]
|
|
10878
10861
|
* @param {number} [page]
|
|
10879
10862
|
* @param {number} [limit]
|
|
10880
10863
|
* @param {Date} [lastRetrieved]
|
|
10881
10864
|
* @param {*} [options] Override http request option.
|
|
10882
10865
|
* @throws {RequiredError}
|
|
10883
10866
|
*/
|
|
10884
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
10867
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
10885
10868
|
if (options === void 0) { options = {}; }
|
|
10886
10869
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10887
10870
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10924,6 +10907,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10924
10907
|
if (languageCode !== undefined) {
|
|
10925
10908
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
10926
10909
|
}
|
|
10910
|
+
if (showHidden !== undefined) {
|
|
10911
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
10912
|
+
}
|
|
10927
10913
|
if (page !== undefined) {
|
|
10928
10914
|
localVarQueryParameter['page'] = page;
|
|
10929
10915
|
}
|
|
@@ -11058,13 +11044,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
11058
11044
|
* @param {string} [slug]
|
|
11059
11045
|
* @param {MarketingType} [marketingType]
|
|
11060
11046
|
* @param {string} [languageCode]
|
|
11047
|
+
* @param {boolean} [showHidden]
|
|
11061
11048
|
* @param {number} [page]
|
|
11062
11049
|
* @param {number} [limit]
|
|
11063
11050
|
* @param {Date} [lastRetrieved]
|
|
11064
11051
|
* @param {*} [options] Override http request option.
|
|
11065
11052
|
* @throws {RequiredError}
|
|
11066
11053
|
*/
|
|
11067
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
11054
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
11068
11055
|
if (options === void 0) { options = {}; }
|
|
11069
11056
|
return __awaiter(_this, void 0, void 0, function () {
|
|
11070
11057
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -11107,6 +11094,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
11107
11094
|
if (languageCode !== undefined) {
|
|
11108
11095
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
11109
11096
|
}
|
|
11097
|
+
if (showHidden !== undefined) {
|
|
11098
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
11099
|
+
}
|
|
11110
11100
|
if (page !== undefined) {
|
|
11111
11101
|
localVarQueryParameter['page'] = page;
|
|
11112
11102
|
}
|
|
@@ -12065,18 +12055,19 @@ var HospitalsApiFp = function (configuration) {
|
|
|
12065
12055
|
* @param {string} [slug]
|
|
12066
12056
|
* @param {MarketingType} [marketingType]
|
|
12067
12057
|
* @param {string} [languageCode]
|
|
12058
|
+
* @param {boolean} [showHidden]
|
|
12068
12059
|
* @param {number} [page]
|
|
12069
12060
|
* @param {number} [limit]
|
|
12070
12061
|
* @param {Date} [lastRetrieved]
|
|
12071
12062
|
* @param {*} [options] Override http request option.
|
|
12072
12063
|
* @throws {RequiredError}
|
|
12073
12064
|
*/
|
|
12074
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12065
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12075
12066
|
return __awaiter(this, void 0, void 0, function () {
|
|
12076
12067
|
var localVarAxiosArgs;
|
|
12077
12068
|
return __generator(this, function (_a) {
|
|
12078
12069
|
switch (_a.label) {
|
|
12079
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
12070
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
12080
12071
|
case 1:
|
|
12081
12072
|
localVarAxiosArgs = _a.sent();
|
|
12082
12073
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -12145,18 +12136,19 @@ var HospitalsApiFp = function (configuration) {
|
|
|
12145
12136
|
* @param {string} [slug]
|
|
12146
12137
|
* @param {MarketingType} [marketingType]
|
|
12147
12138
|
* @param {string} [languageCode]
|
|
12139
|
+
* @param {boolean} [showHidden]
|
|
12148
12140
|
* @param {number} [page]
|
|
12149
12141
|
* @param {number} [limit]
|
|
12150
12142
|
* @param {Date} [lastRetrieved]
|
|
12151
12143
|
* @param {*} [options] Override http request option.
|
|
12152
12144
|
* @throws {RequiredError}
|
|
12153
12145
|
*/
|
|
12154
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12146
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12155
12147
|
return __awaiter(this, void 0, void 0, function () {
|
|
12156
12148
|
var localVarAxiosArgs;
|
|
12157
12149
|
return __generator(this, function (_a) {
|
|
12158
12150
|
switch (_a.label) {
|
|
12159
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
12151
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
12160
12152
|
case 1:
|
|
12161
12153
|
localVarAxiosArgs = _a.sent();
|
|
12162
12154
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -12644,14 +12636,15 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12644
12636
|
* @param {string} [slug]
|
|
12645
12637
|
* @param {MarketingType} [marketingType]
|
|
12646
12638
|
* @param {string} [languageCode]
|
|
12639
|
+
* @param {boolean} [showHidden]
|
|
12647
12640
|
* @param {number} [page]
|
|
12648
12641
|
* @param {number} [limit]
|
|
12649
12642
|
* @param {Date} [lastRetrieved]
|
|
12650
12643
|
* @param {*} [options] Override http request option.
|
|
12651
12644
|
* @throws {RequiredError}
|
|
12652
12645
|
*/
|
|
12653
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12654
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12646
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12647
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12655
12648
|
},
|
|
12656
12649
|
/**
|
|
12657
12650
|
*
|
|
@@ -12694,14 +12687,15 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12694
12687
|
* @param {string} [slug]
|
|
12695
12688
|
* @param {MarketingType} [marketingType]
|
|
12696
12689
|
* @param {string} [languageCode]
|
|
12690
|
+
* @param {boolean} [showHidden]
|
|
12697
12691
|
* @param {number} [page]
|
|
12698
12692
|
* @param {number} [limit]
|
|
12699
12693
|
* @param {Date} [lastRetrieved]
|
|
12700
12694
|
* @param {*} [options] Override http request option.
|
|
12701
12695
|
* @throws {RequiredError}
|
|
12702
12696
|
*/
|
|
12703
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12704
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12697
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12698
|
+
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12705
12699
|
},
|
|
12706
12700
|
/**
|
|
12707
12701
|
*
|
|
@@ -13115,6 +13109,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
13115
13109
|
* @param {string} [slug]
|
|
13116
13110
|
* @param {MarketingType} [marketingType]
|
|
13117
13111
|
* @param {string} [languageCode]
|
|
13112
|
+
* @param {boolean} [showHidden]
|
|
13118
13113
|
* @param {number} [page]
|
|
13119
13114
|
* @param {number} [limit]
|
|
13120
13115
|
* @param {Date} [lastRetrieved]
|
|
@@ -13122,9 +13117,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
13122
13117
|
* @throws {RequiredError}
|
|
13123
13118
|
* @memberof HospitalsApi
|
|
13124
13119
|
*/
|
|
13125
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
13120
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
13126
13121
|
var _this = this;
|
|
13127
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13122
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13128
13123
|
};
|
|
13129
13124
|
/**
|
|
13130
13125
|
*
|
|
@@ -13171,6 +13166,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
13171
13166
|
* @param {string} [slug]
|
|
13172
13167
|
* @param {MarketingType} [marketingType]
|
|
13173
13168
|
* @param {string} [languageCode]
|
|
13169
|
+
* @param {boolean} [showHidden]
|
|
13174
13170
|
* @param {number} [page]
|
|
13175
13171
|
* @param {number} [limit]
|
|
13176
13172
|
* @param {Date} [lastRetrieved]
|
|
@@ -13178,9 +13174,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
13178
13174
|
* @throws {RequiredError}
|
|
13179
13175
|
* @memberof HospitalsApi
|
|
13180
13176
|
*/
|
|
13181
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
13177
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
13182
13178
|
var _this = this;
|
|
13183
|
-
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13179
|
+
return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
13184
13180
|
};
|
|
13185
13181
|
/**
|
|
13186
13182
|
*
|