ch-api-client-typescript2 4.1.0 → 4.1.5
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 +258 -72
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +206 -63
- package/package.json +1 -1
- package/src/api.ts +344 -96
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.
|
|
82
|
-
exports.
|
|
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 = exports.PatientsApi = void 0;
|
|
81
|
+
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.AppVersionApi = exports.AppVersionApiFactory = exports.AppVersionApiFp = exports.AppVersionApiAxiosParamCreator = 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.Platform = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = void 0;
|
|
82
|
+
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 = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = 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 = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = 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
|
|
@@ -216,6 +205,17 @@ var NotificationCode;
|
|
|
216
205
|
NotificationCode["ConsultationRefunded"] = "ConsultationRefunded";
|
|
217
206
|
NotificationCode["ConsultationReady"] = "ConsultationReady";
|
|
218
207
|
})(NotificationCode = exports.NotificationCode || (exports.NotificationCode = {}));
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
* @export
|
|
211
|
+
* @enum {string}
|
|
212
|
+
*/
|
|
213
|
+
var Platform;
|
|
214
|
+
(function (Platform) {
|
|
215
|
+
Platform["Web"] = "Web";
|
|
216
|
+
Platform["IOs"] = "iOS";
|
|
217
|
+
Platform["Android"] = "Android";
|
|
218
|
+
})(Platform = exports.Platform || (exports.Platform = {}));
|
|
219
219
|
/**
|
|
220
220
|
*
|
|
221
221
|
* @export
|
|
@@ -895,6 +895,121 @@ var AccreditationsApi = /** @class */ (function (_super) {
|
|
|
895
895
|
return AccreditationsApi;
|
|
896
896
|
}(base_1.BaseAPI));
|
|
897
897
|
exports.AccreditationsApi = AccreditationsApi;
|
|
898
|
+
/**
|
|
899
|
+
* AppVersionApi - axios parameter creator
|
|
900
|
+
* @export
|
|
901
|
+
*/
|
|
902
|
+
var AppVersionApiAxiosParamCreator = function (configuration) {
|
|
903
|
+
var _this = this;
|
|
904
|
+
return {
|
|
905
|
+
/**
|
|
906
|
+
*
|
|
907
|
+
* @param {Platform} platform
|
|
908
|
+
* @param {*} [options] Override http request option.
|
|
909
|
+
* @throws {RequiredError}
|
|
910
|
+
*/
|
|
911
|
+
apiV2AppversionPlatformGet: function (platform, options) {
|
|
912
|
+
if (options === void 0) { options = {}; }
|
|
913
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
914
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
915
|
+
return __generator(this, function (_a) {
|
|
916
|
+
// verify required parameter 'platform' is not null or undefined
|
|
917
|
+
(0, common_1.assertParamExists)('apiV2AppversionPlatformGet', 'platform', platform);
|
|
918
|
+
localVarPath = "/api/v2/appversion/{platform}"
|
|
919
|
+
.replace("{".concat("platform", "}"), encodeURIComponent(String(platform)));
|
|
920
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
921
|
+
if (configuration) {
|
|
922
|
+
baseOptions = configuration.baseOptions;
|
|
923
|
+
}
|
|
924
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
925
|
+
localVarHeaderParameter = {};
|
|
926
|
+
localVarQueryParameter = {};
|
|
927
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
928
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
929
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
930
|
+
return [2 /*return*/, {
|
|
931
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
932
|
+
options: localVarRequestOptions,
|
|
933
|
+
}];
|
|
934
|
+
});
|
|
935
|
+
});
|
|
936
|
+
},
|
|
937
|
+
};
|
|
938
|
+
};
|
|
939
|
+
exports.AppVersionApiAxiosParamCreator = AppVersionApiAxiosParamCreator;
|
|
940
|
+
/**
|
|
941
|
+
* AppVersionApi - functional programming interface
|
|
942
|
+
* @export
|
|
943
|
+
*/
|
|
944
|
+
var AppVersionApiFp = function (configuration) {
|
|
945
|
+
var localVarAxiosParamCreator = (0, exports.AppVersionApiAxiosParamCreator)(configuration);
|
|
946
|
+
return {
|
|
947
|
+
/**
|
|
948
|
+
*
|
|
949
|
+
* @param {Platform} platform
|
|
950
|
+
* @param {*} [options] Override http request option.
|
|
951
|
+
* @throws {RequiredError}
|
|
952
|
+
*/
|
|
953
|
+
apiV2AppversionPlatformGet: function (platform, options) {
|
|
954
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
955
|
+
var localVarAxiosArgs;
|
|
956
|
+
return __generator(this, function (_a) {
|
|
957
|
+
switch (_a.label) {
|
|
958
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2AppversionPlatformGet(platform, options)];
|
|
959
|
+
case 1:
|
|
960
|
+
localVarAxiosArgs = _a.sent();
|
|
961
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
962
|
+
}
|
|
963
|
+
});
|
|
964
|
+
});
|
|
965
|
+
},
|
|
966
|
+
};
|
|
967
|
+
};
|
|
968
|
+
exports.AppVersionApiFp = AppVersionApiFp;
|
|
969
|
+
/**
|
|
970
|
+
* AppVersionApi - factory interface
|
|
971
|
+
* @export
|
|
972
|
+
*/
|
|
973
|
+
var AppVersionApiFactory = function (configuration, basePath, axios) {
|
|
974
|
+
var localVarFp = (0, exports.AppVersionApiFp)(configuration);
|
|
975
|
+
return {
|
|
976
|
+
/**
|
|
977
|
+
*
|
|
978
|
+
* @param {Platform} platform
|
|
979
|
+
* @param {*} [options] Override http request option.
|
|
980
|
+
* @throws {RequiredError}
|
|
981
|
+
*/
|
|
982
|
+
apiV2AppversionPlatformGet: function (platform, options) {
|
|
983
|
+
return localVarFp.apiV2AppversionPlatformGet(platform, options).then(function (request) { return request(axios, basePath); });
|
|
984
|
+
},
|
|
985
|
+
};
|
|
986
|
+
};
|
|
987
|
+
exports.AppVersionApiFactory = AppVersionApiFactory;
|
|
988
|
+
/**
|
|
989
|
+
* AppVersionApi - object-oriented interface
|
|
990
|
+
* @export
|
|
991
|
+
* @class AppVersionApi
|
|
992
|
+
* @extends {BaseAPI}
|
|
993
|
+
*/
|
|
994
|
+
var AppVersionApi = /** @class */ (function (_super) {
|
|
995
|
+
__extends(AppVersionApi, _super);
|
|
996
|
+
function AppVersionApi() {
|
|
997
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
998
|
+
}
|
|
999
|
+
/**
|
|
1000
|
+
*
|
|
1001
|
+
* @param {Platform} platform
|
|
1002
|
+
* @param {*} [options] Override http request option.
|
|
1003
|
+
* @throws {RequiredError}
|
|
1004
|
+
* @memberof AppVersionApi
|
|
1005
|
+
*/
|
|
1006
|
+
AppVersionApi.prototype.apiV2AppversionPlatformGet = function (platform, options) {
|
|
1007
|
+
var _this = this;
|
|
1008
|
+
return (0, exports.AppVersionApiFp)(this.configuration).apiV2AppversionPlatformGet(platform, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1009
|
+
};
|
|
1010
|
+
return AppVersionApi;
|
|
1011
|
+
}(base_1.BaseAPI));
|
|
1012
|
+
exports.AppVersionApi = AppVersionApi;
|
|
898
1013
|
/**
|
|
899
1014
|
* ArticlesApi - axios parameter creator
|
|
900
1015
|
* @export
|
|
@@ -1325,7 +1440,6 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1325
1440
|
* @param {string} [id]
|
|
1326
1441
|
* @param {string} [name]
|
|
1327
1442
|
* @param {string} [description]
|
|
1328
|
-
* @param {ArticleStatus} [status]
|
|
1329
1443
|
* @param {MarketingType} [marketingType]
|
|
1330
1444
|
* @param {string} [userId]
|
|
1331
1445
|
* @param {string} [userName]
|
|
@@ -1345,7 +1459,7 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1345
1459
|
* @param {*} [options] Override http request option.
|
|
1346
1460
|
* @throws {RequiredError}
|
|
1347
1461
|
*/
|
|
1348
|
-
apiV2ArticlesGet: function (id, name, description,
|
|
1462
|
+
apiV2ArticlesGet: function (id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1349
1463
|
if (options === void 0) { options = {}; }
|
|
1350
1464
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1351
1465
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1367,9 +1481,6 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1367
1481
|
if (description !== undefined) {
|
|
1368
1482
|
localVarQueryParameter['Description'] = description;
|
|
1369
1483
|
}
|
|
1370
|
-
if (status !== undefined) {
|
|
1371
|
-
localVarQueryParameter['Status'] = status;
|
|
1372
|
-
}
|
|
1373
1484
|
if (marketingType !== undefined) {
|
|
1374
1485
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
1375
1486
|
}
|
|
@@ -1694,7 +1805,6 @@ var ArticlesApiFp = function (configuration) {
|
|
|
1694
1805
|
* @param {string} [id]
|
|
1695
1806
|
* @param {string} [name]
|
|
1696
1807
|
* @param {string} [description]
|
|
1697
|
-
* @param {ArticleStatus} [status]
|
|
1698
1808
|
* @param {MarketingType} [marketingType]
|
|
1699
1809
|
* @param {string} [userId]
|
|
1700
1810
|
* @param {string} [userName]
|
|
@@ -1714,12 +1824,12 @@ var ArticlesApiFp = function (configuration) {
|
|
|
1714
1824
|
* @param {*} [options] Override http request option.
|
|
1715
1825
|
* @throws {RequiredError}
|
|
1716
1826
|
*/
|
|
1717
|
-
apiV2ArticlesGet: function (id, name, description,
|
|
1827
|
+
apiV2ArticlesGet: function (id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1718
1828
|
return __awaiter(this, void 0, void 0, function () {
|
|
1719
1829
|
var localVarAxiosArgs;
|
|
1720
1830
|
return __generator(this, function (_a) {
|
|
1721
1831
|
switch (_a.label) {
|
|
1722
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesGet(id, name, description,
|
|
1832
|
+
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
1833
|
case 1:
|
|
1724
1834
|
localVarAxiosArgs = _a.sent();
|
|
1725
1835
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1882,7 +1992,6 @@ var ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1882
1992
|
* @param {string} [id]
|
|
1883
1993
|
* @param {string} [name]
|
|
1884
1994
|
* @param {string} [description]
|
|
1885
|
-
* @param {ArticleStatus} [status]
|
|
1886
1995
|
* @param {MarketingType} [marketingType]
|
|
1887
1996
|
* @param {string} [userId]
|
|
1888
1997
|
* @param {string} [userName]
|
|
@@ -1902,8 +2011,8 @@ var ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1902
2011
|
* @param {*} [options] Override http request option.
|
|
1903
2012
|
* @throws {RequiredError}
|
|
1904
2013
|
*/
|
|
1905
|
-
apiV2ArticlesGet: function (id, name, description,
|
|
1906
|
-
return localVarFp.apiV2ArticlesGet(id, name, description,
|
|
2014
|
+
apiV2ArticlesGet: function (id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
2015
|
+
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
2016
|
},
|
|
1908
2017
|
/**
|
|
1909
2018
|
*
|
|
@@ -2072,7 +2181,6 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
2072
2181
|
* @param {string} [id]
|
|
2073
2182
|
* @param {string} [name]
|
|
2074
2183
|
* @param {string} [description]
|
|
2075
|
-
* @param {ArticleStatus} [status]
|
|
2076
2184
|
* @param {MarketingType} [marketingType]
|
|
2077
2185
|
* @param {string} [userId]
|
|
2078
2186
|
* @param {string} [userName]
|
|
@@ -2093,9 +2201,9 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
2093
2201
|
* @throws {RequiredError}
|
|
2094
2202
|
* @memberof ArticlesApi
|
|
2095
2203
|
*/
|
|
2096
|
-
ArticlesApi.prototype.apiV2ArticlesGet = function (id, name, description,
|
|
2204
|
+
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
2205
|
var _this = this;
|
|
2098
|
-
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesGet(id, name, description,
|
|
2206
|
+
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
2207
|
};
|
|
2100
2208
|
/**
|
|
2101
2209
|
*
|
|
@@ -9796,10 +9904,11 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
|
|
|
9796
9904
|
*
|
|
9797
9905
|
* @param {string} dealId
|
|
9798
9906
|
* @param {string} [hospitalId]
|
|
9907
|
+
* @param {boolean} [isExternal]
|
|
9799
9908
|
* @param {*} [options] Override http request option.
|
|
9800
9909
|
* @throws {RequiredError}
|
|
9801
9910
|
*/
|
|
9802
|
-
apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, options) {
|
|
9911
|
+
apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, isExternal, options) {
|
|
9803
9912
|
if (options === void 0) { options = {}; }
|
|
9804
9913
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9805
9914
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9827,6 +9936,9 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
|
|
|
9827
9936
|
if (hospitalId !== undefined) {
|
|
9828
9937
|
localVarQueryParameter['hospitalId'] = hospitalId;
|
|
9829
9938
|
}
|
|
9939
|
+
if (isExternal !== undefined) {
|
|
9940
|
+
localVarQueryParameter['isExternal'] = isExternal;
|
|
9941
|
+
}
|
|
9830
9942
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9831
9943
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9832
9944
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9842,10 +9954,11 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
|
|
|
9842
9954
|
*
|
|
9843
9955
|
* @param {string} doctorId
|
|
9844
9956
|
* @param {string} [hospitalId]
|
|
9957
|
+
* @param {boolean} [isExternal]
|
|
9845
9958
|
* @param {*} [options] Override http request option.
|
|
9846
9959
|
* @throws {RequiredError}
|
|
9847
9960
|
*/
|
|
9848
|
-
apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, options) {
|
|
9961
|
+
apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, isExternal, options) {
|
|
9849
9962
|
if (options === void 0) { options = {}; }
|
|
9850
9963
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9851
9964
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9873,6 +9986,9 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
|
|
|
9873
9986
|
if (hospitalId !== undefined) {
|
|
9874
9987
|
localVarQueryParameter['hospitalId'] = hospitalId;
|
|
9875
9988
|
}
|
|
9989
|
+
if (isExternal !== undefined) {
|
|
9990
|
+
localVarQueryParameter['isExternal'] = isExternal;
|
|
9991
|
+
}
|
|
9876
9992
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9877
9993
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9878
9994
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9887,10 +10003,11 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
|
|
|
9887
10003
|
/**
|
|
9888
10004
|
*
|
|
9889
10005
|
* @param {string} hospitalId
|
|
10006
|
+
* @param {boolean} [isExternal]
|
|
9890
10007
|
* @param {*} [options] Override http request option.
|
|
9891
10008
|
* @throws {RequiredError}
|
|
9892
10009
|
*/
|
|
9893
|
-
apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, options) {
|
|
10010
|
+
apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, isExternal, options) {
|
|
9894
10011
|
if (options === void 0) { options = {}; }
|
|
9895
10012
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9896
10013
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9915,6 +10032,9 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
|
|
|
9915
10032
|
// authentication oauth2 required
|
|
9916
10033
|
// oauth required
|
|
9917
10034
|
_a.sent();
|
|
10035
|
+
if (isExternal !== undefined) {
|
|
10036
|
+
localVarQueryParameter['isExternal'] = isExternal;
|
|
10037
|
+
}
|
|
9918
10038
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9919
10039
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9920
10040
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9960,15 +10080,16 @@ var GroupChannelsApiFp = function (configuration) {
|
|
|
9960
10080
|
*
|
|
9961
10081
|
* @param {string} dealId
|
|
9962
10082
|
* @param {string} [hospitalId]
|
|
10083
|
+
* @param {boolean} [isExternal]
|
|
9963
10084
|
* @param {*} [options] Override http request option.
|
|
9964
10085
|
* @throws {RequiredError}
|
|
9965
10086
|
*/
|
|
9966
|
-
apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, options) {
|
|
10087
|
+
apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, isExternal, options) {
|
|
9967
10088
|
return __awaiter(this, void 0, void 0, function () {
|
|
9968
10089
|
var localVarAxiosArgs;
|
|
9969
10090
|
return __generator(this, function (_a) {
|
|
9970
10091
|
switch (_a.label) {
|
|
9971
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options)];
|
|
10092
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options)];
|
|
9972
10093
|
case 1:
|
|
9973
10094
|
localVarAxiosArgs = _a.sent();
|
|
9974
10095
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -9980,15 +10101,16 @@ var GroupChannelsApiFp = function (configuration) {
|
|
|
9980
10101
|
*
|
|
9981
10102
|
* @param {string} doctorId
|
|
9982
10103
|
* @param {string} [hospitalId]
|
|
10104
|
+
* @param {boolean} [isExternal]
|
|
9983
10105
|
* @param {*} [options] Override http request option.
|
|
9984
10106
|
* @throws {RequiredError}
|
|
9985
10107
|
*/
|
|
9986
|
-
apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, options) {
|
|
10108
|
+
apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, isExternal, options) {
|
|
9987
10109
|
return __awaiter(this, void 0, void 0, function () {
|
|
9988
10110
|
var localVarAxiosArgs;
|
|
9989
10111
|
return __generator(this, function (_a) {
|
|
9990
10112
|
switch (_a.label) {
|
|
9991
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options)];
|
|
10113
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options)];
|
|
9992
10114
|
case 1:
|
|
9993
10115
|
localVarAxiosArgs = _a.sent();
|
|
9994
10116
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -9999,15 +10121,16 @@ var GroupChannelsApiFp = function (configuration) {
|
|
|
9999
10121
|
/**
|
|
10000
10122
|
*
|
|
10001
10123
|
* @param {string} hospitalId
|
|
10124
|
+
* @param {boolean} [isExternal]
|
|
10002
10125
|
* @param {*} [options] Override http request option.
|
|
10003
10126
|
* @throws {RequiredError}
|
|
10004
10127
|
*/
|
|
10005
|
-
apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, options) {
|
|
10128
|
+
apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, isExternal, options) {
|
|
10006
10129
|
return __awaiter(this, void 0, void 0, function () {
|
|
10007
10130
|
var localVarAxiosArgs;
|
|
10008
10131
|
return __generator(this, function (_a) {
|
|
10009
10132
|
switch (_a.label) {
|
|
10010
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options)];
|
|
10133
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options)];
|
|
10011
10134
|
case 1:
|
|
10012
10135
|
localVarAxiosArgs = _a.sent();
|
|
10013
10136
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10039,30 +10162,33 @@ var GroupChannelsApiFactory = function (configuration, basePath, axios) {
|
|
|
10039
10162
|
*
|
|
10040
10163
|
* @param {string} dealId
|
|
10041
10164
|
* @param {string} [hospitalId]
|
|
10165
|
+
* @param {boolean} [isExternal]
|
|
10042
10166
|
* @param {*} [options] Override http request option.
|
|
10043
10167
|
* @throws {RequiredError}
|
|
10044
10168
|
*/
|
|
10045
|
-
apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, options) {
|
|
10046
|
-
return localVarFp.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
10169
|
+
apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, isExternal, options) {
|
|
10170
|
+
return localVarFp.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options).then(function (request) { return request(axios, basePath); });
|
|
10047
10171
|
},
|
|
10048
10172
|
/**
|
|
10049
10173
|
*
|
|
10050
10174
|
* @param {string} doctorId
|
|
10051
10175
|
* @param {string} [hospitalId]
|
|
10176
|
+
* @param {boolean} [isExternal]
|
|
10052
10177
|
* @param {*} [options] Override http request option.
|
|
10053
10178
|
* @throws {RequiredError}
|
|
10054
10179
|
*/
|
|
10055
|
-
apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, options) {
|
|
10056
|
-
return localVarFp.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
10180
|
+
apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, isExternal, options) {
|
|
10181
|
+
return localVarFp.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options).then(function (request) { return request(axios, basePath); });
|
|
10057
10182
|
},
|
|
10058
10183
|
/**
|
|
10059
10184
|
*
|
|
10060
10185
|
* @param {string} hospitalId
|
|
10186
|
+
* @param {boolean} [isExternal]
|
|
10061
10187
|
* @param {*} [options] Override http request option.
|
|
10062
10188
|
* @throws {RequiredError}
|
|
10063
10189
|
*/
|
|
10064
|
-
apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, options) {
|
|
10065
|
-
return localVarFp.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
10190
|
+
apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, isExternal, options) {
|
|
10191
|
+
return localVarFp.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options).then(function (request) { return request(axios, basePath); });
|
|
10066
10192
|
},
|
|
10067
10193
|
};
|
|
10068
10194
|
};
|
|
@@ -10094,36 +10220,39 @@ var GroupChannelsApi = /** @class */ (function (_super) {
|
|
|
10094
10220
|
*
|
|
10095
10221
|
* @param {string} dealId
|
|
10096
10222
|
* @param {string} [hospitalId]
|
|
10223
|
+
* @param {boolean} [isExternal]
|
|
10097
10224
|
* @param {*} [options] Override http request option.
|
|
10098
10225
|
* @throws {RequiredError}
|
|
10099
10226
|
* @memberof GroupChannelsApi
|
|
10100
10227
|
*/
|
|
10101
|
-
GroupChannelsApi.prototype.apiV2GroupchannelsDealDealIdGet = function (dealId, hospitalId, options) {
|
|
10228
|
+
GroupChannelsApi.prototype.apiV2GroupchannelsDealDealIdGet = function (dealId, hospitalId, isExternal, options) {
|
|
10102
10229
|
var _this = this;
|
|
10103
|
-
return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10230
|
+
return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10104
10231
|
};
|
|
10105
10232
|
/**
|
|
10106
10233
|
*
|
|
10107
10234
|
* @param {string} doctorId
|
|
10108
10235
|
* @param {string} [hospitalId]
|
|
10236
|
+
* @param {boolean} [isExternal]
|
|
10109
10237
|
* @param {*} [options] Override http request option.
|
|
10110
10238
|
* @throws {RequiredError}
|
|
10111
10239
|
* @memberof GroupChannelsApi
|
|
10112
10240
|
*/
|
|
10113
|
-
GroupChannelsApi.prototype.apiV2GroupchannelsDoctorDoctorIdGet = function (doctorId, hospitalId, options) {
|
|
10241
|
+
GroupChannelsApi.prototype.apiV2GroupchannelsDoctorDoctorIdGet = function (doctorId, hospitalId, isExternal, options) {
|
|
10114
10242
|
var _this = this;
|
|
10115
|
-
return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10243
|
+
return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10116
10244
|
};
|
|
10117
10245
|
/**
|
|
10118
10246
|
*
|
|
10119
10247
|
* @param {string} hospitalId
|
|
10248
|
+
* @param {boolean} [isExternal]
|
|
10120
10249
|
* @param {*} [options] Override http request option.
|
|
10121
10250
|
* @throws {RequiredError}
|
|
10122
10251
|
* @memberof GroupChannelsApi
|
|
10123
10252
|
*/
|
|
10124
|
-
GroupChannelsApi.prototype.apiV2GroupchannelsHospitalHospitalIdGet = function (hospitalId, options) {
|
|
10253
|
+
GroupChannelsApi.prototype.apiV2GroupchannelsHospitalHospitalIdGet = function (hospitalId, isExternal, options) {
|
|
10125
10254
|
var _this = this;
|
|
10126
|
-
return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10255
|
+
return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10127
10256
|
};
|
|
10128
10257
|
return GroupChannelsApi;
|
|
10129
10258
|
}(base_1.BaseAPI));
|
|
@@ -10875,13 +11004,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10875
11004
|
* @param {string} [slug]
|
|
10876
11005
|
* @param {MarketingType} [marketingType]
|
|
10877
11006
|
* @param {string} [languageCode]
|
|
11007
|
+
* @param {boolean} [showHidden]
|
|
10878
11008
|
* @param {number} [page]
|
|
10879
11009
|
* @param {number} [limit]
|
|
10880
11010
|
* @param {Date} [lastRetrieved]
|
|
10881
11011
|
* @param {*} [options] Override http request option.
|
|
10882
11012
|
* @throws {RequiredError}
|
|
10883
11013
|
*/
|
|
10884
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
11014
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
10885
11015
|
if (options === void 0) { options = {}; }
|
|
10886
11016
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10887
11017
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10924,6 +11054,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10924
11054
|
if (languageCode !== undefined) {
|
|
10925
11055
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
10926
11056
|
}
|
|
11057
|
+
if (showHidden !== undefined) {
|
|
11058
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
11059
|
+
}
|
|
10927
11060
|
if (page !== undefined) {
|
|
10928
11061
|
localVarQueryParameter['page'] = page;
|
|
10929
11062
|
}
|
|
@@ -11058,13 +11191,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
11058
11191
|
* @param {string} [slug]
|
|
11059
11192
|
* @param {MarketingType} [marketingType]
|
|
11060
11193
|
* @param {string} [languageCode]
|
|
11194
|
+
* @param {boolean} [showHidden]
|
|
11061
11195
|
* @param {number} [page]
|
|
11062
11196
|
* @param {number} [limit]
|
|
11063
11197
|
* @param {Date} [lastRetrieved]
|
|
11064
11198
|
* @param {*} [options] Override http request option.
|
|
11065
11199
|
* @throws {RequiredError}
|
|
11066
11200
|
*/
|
|
11067
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
11201
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
11068
11202
|
if (options === void 0) { options = {}; }
|
|
11069
11203
|
return __awaiter(_this, void 0, void 0, function () {
|
|
11070
11204
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -11107,6 +11241,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
11107
11241
|
if (languageCode !== undefined) {
|
|
11108
11242
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
11109
11243
|
}
|
|
11244
|
+
if (showHidden !== undefined) {
|
|
11245
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
11246
|
+
}
|
|
11110
11247
|
if (page !== undefined) {
|
|
11111
11248
|
localVarQueryParameter['page'] = page;
|
|
11112
11249
|
}
|
|
@@ -12065,18 +12202,19 @@ var HospitalsApiFp = function (configuration) {
|
|
|
12065
12202
|
* @param {string} [slug]
|
|
12066
12203
|
* @param {MarketingType} [marketingType]
|
|
12067
12204
|
* @param {string} [languageCode]
|
|
12205
|
+
* @param {boolean} [showHidden]
|
|
12068
12206
|
* @param {number} [page]
|
|
12069
12207
|
* @param {number} [limit]
|
|
12070
12208
|
* @param {Date} [lastRetrieved]
|
|
12071
12209
|
* @param {*} [options] Override http request option.
|
|
12072
12210
|
* @throws {RequiredError}
|
|
12073
12211
|
*/
|
|
12074
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12212
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12075
12213
|
return __awaiter(this, void 0, void 0, function () {
|
|
12076
12214
|
var localVarAxiosArgs;
|
|
12077
12215
|
return __generator(this, function (_a) {
|
|
12078
12216
|
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)];
|
|
12217
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
12080
12218
|
case 1:
|
|
12081
12219
|
localVarAxiosArgs = _a.sent();
|
|
12082
12220
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -12145,18 +12283,19 @@ var HospitalsApiFp = function (configuration) {
|
|
|
12145
12283
|
* @param {string} [slug]
|
|
12146
12284
|
* @param {MarketingType} [marketingType]
|
|
12147
12285
|
* @param {string} [languageCode]
|
|
12286
|
+
* @param {boolean} [showHidden]
|
|
12148
12287
|
* @param {number} [page]
|
|
12149
12288
|
* @param {number} [limit]
|
|
12150
12289
|
* @param {Date} [lastRetrieved]
|
|
12151
12290
|
* @param {*} [options] Override http request option.
|
|
12152
12291
|
* @throws {RequiredError}
|
|
12153
12292
|
*/
|
|
12154
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12293
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12155
12294
|
return __awaiter(this, void 0, void 0, function () {
|
|
12156
12295
|
var localVarAxiosArgs;
|
|
12157
12296
|
return __generator(this, function (_a) {
|
|
12158
12297
|
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)];
|
|
12298
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
12160
12299
|
case 1:
|
|
12161
12300
|
localVarAxiosArgs = _a.sent();
|
|
12162
12301
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -12644,14 +12783,15 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12644
12783
|
* @param {string} [slug]
|
|
12645
12784
|
* @param {MarketingType} [marketingType]
|
|
12646
12785
|
* @param {string} [languageCode]
|
|
12786
|
+
* @param {boolean} [showHidden]
|
|
12647
12787
|
* @param {number} [page]
|
|
12648
12788
|
* @param {number} [limit]
|
|
12649
12789
|
* @param {Date} [lastRetrieved]
|
|
12650
12790
|
* @param {*} [options] Override http request option.
|
|
12651
12791
|
* @throws {RequiredError}
|
|
12652
12792
|
*/
|
|
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); });
|
|
12793
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12794
|
+
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
12795
|
},
|
|
12656
12796
|
/**
|
|
12657
12797
|
*
|
|
@@ -12694,14 +12834,15 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12694
12834
|
* @param {string} [slug]
|
|
12695
12835
|
* @param {MarketingType} [marketingType]
|
|
12696
12836
|
* @param {string} [languageCode]
|
|
12837
|
+
* @param {boolean} [showHidden]
|
|
12697
12838
|
* @param {number} [page]
|
|
12698
12839
|
* @param {number} [limit]
|
|
12699
12840
|
* @param {Date} [lastRetrieved]
|
|
12700
12841
|
* @param {*} [options] Override http request option.
|
|
12701
12842
|
* @throws {RequiredError}
|
|
12702
12843
|
*/
|
|
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); });
|
|
12844
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12845
|
+
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
12846
|
},
|
|
12706
12847
|
/**
|
|
12707
12848
|
*
|
|
@@ -13115,6 +13256,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
13115
13256
|
* @param {string} [slug]
|
|
13116
13257
|
* @param {MarketingType} [marketingType]
|
|
13117
13258
|
* @param {string} [languageCode]
|
|
13259
|
+
* @param {boolean} [showHidden]
|
|
13118
13260
|
* @param {number} [page]
|
|
13119
13261
|
* @param {number} [limit]
|
|
13120
13262
|
* @param {Date} [lastRetrieved]
|
|
@@ -13122,9 +13264,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
13122
13264
|
* @throws {RequiredError}
|
|
13123
13265
|
* @memberof HospitalsApi
|
|
13124
13266
|
*/
|
|
13125
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
13267
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
13126
13268
|
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); });
|
|
13269
|
+
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
13270
|
};
|
|
13129
13271
|
/**
|
|
13130
13272
|
*
|
|
@@ -13171,6 +13313,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
13171
13313
|
* @param {string} [slug]
|
|
13172
13314
|
* @param {MarketingType} [marketingType]
|
|
13173
13315
|
* @param {string} [languageCode]
|
|
13316
|
+
* @param {boolean} [showHidden]
|
|
13174
13317
|
* @param {number} [page]
|
|
13175
13318
|
* @param {number} [limit]
|
|
13176
13319
|
* @param {Date} [lastRetrieved]
|
|
@@ -13178,9 +13321,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
13178
13321
|
* @throws {RequiredError}
|
|
13179
13322
|
* @memberof HospitalsApi
|
|
13180
13323
|
*/
|
|
13181
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
13324
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
13182
13325
|
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); });
|
|
13326
|
+
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
13327
|
};
|
|
13185
13328
|
/**
|
|
13186
13329
|
*
|