ch-api-client-typescript2 4.9.1 → 4.9.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api/{v2-about-us-api.d.ts → about-us-api.d.ts} +25 -25
- package/lib/api/about-us-api.d.ts.map +1 -0
- package/lib/api/{v2-about-us-api.js → about-us-api.js} +48 -48
- package/lib/api/{v2-accreditations-api.d.ts → accreditations-api.d.ts} +20 -20
- package/lib/api/accreditations-api.d.ts.map +1 -0
- package/lib/api/{v2-accreditations-api.js → accreditations-api.js} +38 -38
- package/lib/api/{v2-app-version-api.d.ts → app-version-api.d.ts} +15 -15
- package/lib/api/app-version-api.d.ts.map +1 -0
- package/lib/api/{v2-app-version-api.js → app-version-api.js} +29 -29
- package/lib/api/{v2-articles-api.d.ts → articles-api.d.ts} +65 -65
- package/lib/api/articles-api.d.ts.map +1 -0
- package/lib/api/{v2-articles-api.js → articles-api.js} +132 -132
- package/lib/api/{v2-bookings-api.d.ts → bookings-api.d.ts} +35 -35
- package/lib/api/bookings-api.d.ts.map +1 -0
- package/lib/api/{v2-bookings-api.js → bookings-api.js} +68 -68
- package/lib/api/{v2-chat-users-api.d.ts → chat-users-api.d.ts} +40 -40
- package/lib/api/chat-users-api.d.ts.map +1 -0
- package/lib/api/{v2-chat-users-api.js → chat-users-api.js} +74 -74
- package/lib/api/{v2-communications-api.d.ts → communications-api.d.ts} +25 -25
- package/lib/api/communications-api.d.ts.map +1 -0
- package/lib/api/{v2-communications-api.js → communications-api.js} +46 -46
- package/lib/api/{v2-consultations-api.d.ts → consultations-api.d.ts} +35 -35
- package/lib/api/consultations-api.d.ts.map +1 -0
- package/lib/api/{v2-consultations-api.js → consultations-api.js} +68 -68
- package/lib/api/{v2-contributors-api.d.ts → contributors-api.d.ts} +35 -35
- package/lib/api/contributors-api.d.ts.map +1 -0
- package/lib/api/{v2-contributors-api.js → contributors-api.js} +69 -69
- package/lib/api/{v2-countries-api.d.ts → countries-api.d.ts} +35 -35
- package/lib/api/countries-api.d.ts.map +1 -0
- package/lib/api/{v2-countries-api.js → countries-api.js} +69 -69
- package/lib/api/{v2-deals-api.d.ts → deals-api.d.ts} +50 -50
- package/lib/api/deals-api.d.ts.map +1 -0
- package/lib/api/{v2-deals-api.js → deals-api.js} +99 -99
- package/lib/api/{v2-devices-api.d.ts → devices-api.d.ts} +40 -40
- package/lib/api/devices-api.d.ts.map +1 -0
- package/lib/api/{v2-devices-api.js → devices-api.js} +77 -77
- package/lib/api/{v2-doctor-affiliations-api.d.ts → doctor-affiliations-api.d.ts} +35 -35
- package/lib/api/doctor-affiliations-api.d.ts.map +1 -0
- package/lib/api/{v2-doctor-affiliations-api.js → doctor-affiliations-api.js} +69 -69
- package/lib/api/{v2-doctors-api.d.ts → doctors-api.d.ts} +85 -85
- package/lib/api/doctors-api.d.ts.map +1 -0
- package/lib/api/{v2-doctors-api.js → doctors-api.js} +173 -173
- package/lib/api/{v2-external-api.d.ts → external-api.d.ts} +15 -15
- package/lib/api/external-api.d.ts.map +1 -0
- package/lib/api/{v2-external-api.js → external-api.js} +28 -28
- package/lib/api/{v2-faq-categories-api.d.ts → faq-categories-api.d.ts} +25 -25
- package/lib/api/faq-categories-api.d.ts.map +1 -0
- package/lib/api/{v2-faq-categories-api.js → faq-categories-api.js} +48 -48
- package/lib/api/{v2-faqs-api.d.ts → faqs-api.d.ts} +45 -45
- package/lib/api/faqs-api.d.ts.map +1 -0
- package/lib/api/{v2-faqs-api.js → faqs-api.js} +90 -90
- package/lib/api/{v2-group-channels-api.d.ts → group-channels-api.d.ts} +35 -35
- package/lib/api/group-channels-api.d.ts.map +1 -0
- package/lib/api/{v2-group-channels-api.js → group-channels-api.js} +70 -70
- package/lib/api/{v2-header-navigations-api.d.ts → header-navigations-api.d.ts} +15 -15
- package/lib/api/header-navigations-api.d.ts.map +1 -0
- package/lib/api/{v2-header-navigations-api.js → header-navigations-api.js} +29 -29
- package/lib/api/{v2-hospitals-api.d.ts → hospitals-api.d.ts} +170 -170
- package/lib/api/hospitals-api.d.ts.map +1 -0
- package/lib/api/{v2-hospitals-api.js → hospitals-api.js} +361 -361
- package/lib/api/{v2-hospitals-consultation-timetables-api.d.ts → hospitals-consultation-timetables-api.d.ts} +15 -15
- package/lib/api/hospitals-consultation-timetables-api.d.ts.map +1 -0
- package/lib/api/{v2-hospitals-consultation-timetables-api.js → hospitals-consultation-timetables-api.js} +29 -29
- package/lib/api/{v2-images-api.d.ts → images-api.d.ts} +15 -15
- package/lib/api/images-api.d.ts.map +1 -0
- package/lib/api/{v2-images-api.js → images-api.js} +28 -28
- package/lib/api/{v2-languages-api.d.ts → languages-api.d.ts} +20 -20
- package/lib/api/languages-api.d.ts.map +1 -0
- package/lib/api/{v2-languages-api.js → languages-api.js} +38 -38
- package/lib/api/{v2-memberships-api.d.ts → memberships-api.d.ts} +25 -25
- package/lib/api/memberships-api.d.ts.map +1 -0
- package/lib/api/{v2-memberships-api.js → memberships-api.js} +48 -48
- package/lib/api/{v2-notifications-api.d.ts → notifications-api.d.ts} +20 -20
- package/lib/api/notifications-api.d.ts.map +1 -0
- package/lib/api/{v2-notifications-api.js → notifications-api.js} +37 -37
- package/lib/api/{v2-origins-api.d.ts → origins-api.d.ts} +30 -30
- package/lib/api/origins-api.d.ts.map +1 -0
- package/lib/api/{v2-origins-api.js → origins-api.js} +56 -56
- package/lib/api/{v2-patients-api.d.ts → patients-api.d.ts} +40 -40
- package/lib/api/patients-api.d.ts.map +1 -0
- package/lib/api/{v2-patients-api.js → patients-api.js} +78 -78
- package/lib/api/{v2-plans-api.d.ts → plans-api.d.ts} +30 -30
- package/lib/api/plans-api.d.ts.map +1 -0
- package/lib/api/{v2-plans-api.js → plans-api.js} +59 -59
- package/lib/api/{v2-profiles-api.d.ts → profiles-api.d.ts} +40 -40
- package/lib/api/profiles-api.d.ts.map +1 -0
- package/lib/api/{v2-profiles-api.js → profiles-api.js} +74 -74
- package/lib/api/{v2-service-reviews-api.d.ts → service-reviews-api.d.ts} +60 -60
- package/lib/api/service-reviews-api.d.ts.map +1 -0
- package/lib/api/{v2-service-reviews-api.js → service-reviews-api.js} +120 -120
- package/lib/api/{v2-services-api.d.ts → services-api.d.ts} +25 -25
- package/lib/api/services-api.d.ts.map +1 -0
- package/lib/api/{v2-services-api.js → services-api.js} +48 -48
- package/lib/api/{v2-services-categories-api.d.ts → services-categories-api.d.ts} +20 -20
- package/lib/api/services-categories-api.d.ts.map +1 -0
- package/lib/api/{v2-services-categories-api.js → services-categories-api.js} +38 -38
- package/lib/api/{v2-specialties-api.d.ts → specialties-api.d.ts} +40 -40
- package/lib/api/specialties-api.d.ts.map +1 -0
- package/lib/api/{v2-specialties-api.js → specialties-api.js} +78 -78
- package/lib/api/{v2-specialty-types-api.d.ts → specialty-types-api.d.ts} +40 -40
- package/lib/api/specialty-types-api.d.ts.map +1 -0
- package/lib/api/{v2-specialty-types-api.js → specialty-types-api.js} +78 -78
- package/lib/api/{v2-survey-forms-api.d.ts → survey-forms-api.d.ts} +15 -15
- package/lib/api/survey-forms-api.d.ts.map +1 -0
- package/lib/api/{v2-survey-forms-api.js → survey-forms-api.js} +29 -29
- package/lib/api/{v2-survey-results-api.d.ts → survey-results-api.d.ts} +15 -15
- package/lib/api/survey-results-api.d.ts.map +1 -0
- package/lib/api/{v2-survey-results-api.js → survey-results-api.js} +28 -28
- package/lib/api/{v2-tags-api.d.ts → tags-api.d.ts} +20 -20
- package/lib/api/tags-api.d.ts.map +1 -0
- package/lib/api/{v2-tags-api.js → tags-api.js} +38 -38
- package/lib/api.d.ts +37 -37
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +37 -37
- package/package.json +1 -1
- package/src/.openapi-generator/FILES +37 -37
- package/src/api/{v2-about-us-api.ts → about-us-api.ts} +40 -40
- package/src/api/{v2-accreditations-api.ts → accreditations-api.ts} +30 -30
- package/src/api/{v2-app-version-api.ts → app-version-api.ts} +21 -21
- package/src/api/{v2-articles-api.ts → articles-api.ts} +124 -124
- package/src/api/{v2-bookings-api.ts → bookings-api.ts} +60 -60
- package/src/api/{v2-chat-users-api.ts → chat-users-api.ts} +66 -66
- package/src/api/{v2-communications-api.ts → communications-api.ts} +38 -38
- package/src/api/{v2-consultations-api.ts → consultations-api.ts} +60 -60
- package/src/api/{v2-contributors-api.ts → contributors-api.ts} +61 -61
- package/src/api/{v2-countries-api.ts → countries-api.ts} +61 -61
- package/src/api/{v2-deals-api.ts → deals-api.ts} +91 -91
- package/src/api/{v2-devices-api.ts → devices-api.ts} +69 -69
- package/src/api/{v2-doctor-affiliations-api.ts → doctor-affiliations-api.ts} +61 -61
- package/src/api/{v2-doctors-api.ts → doctors-api.ts} +165 -165
- package/src/api/{v2-external-api.ts → external-api.ts} +20 -20
- package/src/api/{v2-faq-categories-api.ts → faq-categories-api.ts} +40 -40
- package/src/api/{v2-faqs-api.ts → faqs-api.ts} +82 -82
- package/src/api/{v2-group-channels-api.ts → group-channels-api.ts} +62 -62
- package/src/api/{v2-header-navigations-api.ts → header-navigations-api.ts} +21 -21
- package/src/api/{v2-hospitals-api.ts → hospitals-api.ts} +353 -353
- package/src/api/{v2-hospitals-consultation-timetables-api.ts → hospitals-consultation-timetables-api.ts} +21 -21
- package/src/api/{v2-images-api.ts → images-api.ts} +20 -20
- package/src/api/{v2-languages-api.ts → languages-api.ts} +30 -30
- package/src/api/{v2-memberships-api.ts → memberships-api.ts} +40 -40
- package/src/api/{v2-notifications-api.ts → notifications-api.ts} +29 -29
- package/src/api/{v2-origins-api.ts → origins-api.ts} +48 -48
- package/src/api/{v2-patients-api.ts → patients-api.ts} +70 -70
- package/src/api/{v2-plans-api.ts → plans-api.ts} +51 -51
- package/src/api/{v2-profiles-api.ts → profiles-api.ts} +66 -66
- package/src/api/{v2-service-reviews-api.ts → service-reviews-api.ts} +112 -112
- package/src/api/{v2-services-api.ts → services-api.ts} +40 -40
- package/src/api/{v2-services-categories-api.ts → services-categories-api.ts} +30 -30
- package/src/api/{v2-specialties-api.ts → specialties-api.ts} +70 -70
- package/src/api/{v2-specialty-types-api.ts → specialty-types-api.ts} +70 -70
- package/src/api/{v2-survey-forms-api.ts → survey-forms-api.ts} +21 -21
- package/src/api/{v2-survey-results-api.ts → survey-results-api.ts} +20 -20
- package/src/api/{v2-tags-api.ts → tags-api.ts} +30 -30
- package/src/api.ts +37 -37
- package/lib/api/v2-about-us-api.d.ts.map +0 -1
- package/lib/api/v2-accreditations-api.d.ts.map +0 -1
- package/lib/api/v2-app-version-api.d.ts.map +0 -1
- package/lib/api/v2-articles-api.d.ts.map +0 -1
- package/lib/api/v2-bookings-api.d.ts.map +0 -1
- package/lib/api/v2-chat-users-api.d.ts.map +0 -1
- package/lib/api/v2-communications-api.d.ts.map +0 -1
- package/lib/api/v2-consultations-api.d.ts.map +0 -1
- package/lib/api/v2-contributors-api.d.ts.map +0 -1
- package/lib/api/v2-countries-api.d.ts.map +0 -1
- package/lib/api/v2-deals-api.d.ts.map +0 -1
- package/lib/api/v2-devices-api.d.ts.map +0 -1
- package/lib/api/v2-doctor-affiliations-api.d.ts.map +0 -1
- package/lib/api/v2-doctors-api.d.ts.map +0 -1
- package/lib/api/v2-external-api.d.ts.map +0 -1
- package/lib/api/v2-faq-categories-api.d.ts.map +0 -1
- package/lib/api/v2-faqs-api.d.ts.map +0 -1
- package/lib/api/v2-group-channels-api.d.ts.map +0 -1
- package/lib/api/v2-header-navigations-api.d.ts.map +0 -1
- package/lib/api/v2-hospitals-api.d.ts.map +0 -1
- package/lib/api/v2-hospitals-consultation-timetables-api.d.ts.map +0 -1
- package/lib/api/v2-images-api.d.ts.map +0 -1
- package/lib/api/v2-languages-api.d.ts.map +0 -1
- package/lib/api/v2-memberships-api.d.ts.map +0 -1
- package/lib/api/v2-notifications-api.d.ts.map +0 -1
- package/lib/api/v2-origins-api.d.ts.map +0 -1
- package/lib/api/v2-patients-api.d.ts.map +0 -1
- package/lib/api/v2-plans-api.d.ts.map +0 -1
- package/lib/api/v2-profiles-api.d.ts.map +0 -1
- package/lib/api/v2-service-reviews-api.d.ts.map +0 -1
- package/lib/api/v2-services-api.d.ts.map +0 -1
- package/lib/api/v2-services-categories-api.d.ts.map +0 -1
- package/lib/api/v2-specialties-api.d.ts.map +0 -1
- package/lib/api/v2-specialty-types-api.d.ts.map +0 -1
- package/lib/api/v2-survey-forms-api.d.ts.map +0 -1
- package/lib/api/v2-survey-results-api.d.ts.map +0 -1
- package/lib/api/v2-tags-api.d.ts.map +0 -1
|
@@ -78,7 +78,7 @@ 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.
|
|
81
|
+
exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = void 0;
|
|
82
82
|
var axios_1 = __importDefault(require("axios"));
|
|
83
83
|
// Some imports not used depending on template conditions
|
|
84
84
|
// @ts-ignore
|
|
@@ -86,10 +86,10 @@ var common_1 = require("../common");
|
|
|
86
86
|
// @ts-ignore
|
|
87
87
|
var base_1 = require("../base");
|
|
88
88
|
/**
|
|
89
|
-
*
|
|
89
|
+
* ArticlesApi - axios parameter creator
|
|
90
90
|
* @export
|
|
91
91
|
*/
|
|
92
|
-
var
|
|
92
|
+
var ArticlesApiAxiosParamCreator = function (configuration) {
|
|
93
93
|
var _this = this;
|
|
94
94
|
return {
|
|
95
95
|
/**
|
|
@@ -100,16 +100,16 @@ var V2ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
100
100
|
* @param {*} [options] Override http request option.
|
|
101
101
|
* @throws {RequiredError}
|
|
102
102
|
*/
|
|
103
|
-
|
|
103
|
+
apiV2ArticlesArticleIdContributorsContributorIdGet: function (articleId, contributorId, options) {
|
|
104
104
|
if (options === void 0) { options = {}; }
|
|
105
105
|
return __awaiter(_this, void 0, void 0, function () {
|
|
106
106
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
107
107
|
return __generator(this, function (_a) {
|
|
108
108
|
// verify required parameter 'articleId' is not null or undefined
|
|
109
|
-
(0, common_1.assertParamExists)('
|
|
109
|
+
(0, common_1.assertParamExists)('apiV2ArticlesArticleIdContributorsContributorIdGet', 'articleId', articleId);
|
|
110
110
|
// verify required parameter 'contributorId' is not null or undefined
|
|
111
|
-
(0, common_1.assertParamExists)('
|
|
112
|
-
localVarPath = "/
|
|
111
|
+
(0, common_1.assertParamExists)('apiV2ArticlesArticleIdContributorsContributorIdGet', 'contributorId', contributorId);
|
|
112
|
+
localVarPath = "/api/v2/articles/{articleId}/contributors/{contributorId}"
|
|
113
113
|
.replace("{".concat("articleId", "}"), encodeURIComponent(String(articleId)))
|
|
114
114
|
.replace("{".concat("contributorId", "}"), encodeURIComponent(String(contributorId)));
|
|
115
115
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -147,14 +147,14 @@ var V2ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
147
147
|
* @param {*} [options] Override http request option.
|
|
148
148
|
* @throws {RequiredError}
|
|
149
149
|
*/
|
|
150
|
-
|
|
150
|
+
apiV2ArticlesArticleIdContributorsGet: function (articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
151
151
|
if (options === void 0) { options = {}; }
|
|
152
152
|
return __awaiter(_this, void 0, void 0, function () {
|
|
153
153
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
154
154
|
return __generator(this, function (_a) {
|
|
155
155
|
// verify required parameter 'articleId' is not null or undefined
|
|
156
|
-
(0, common_1.assertParamExists)('
|
|
157
|
-
localVarPath = "/
|
|
156
|
+
(0, common_1.assertParamExists)('apiV2ArticlesArticleIdContributorsGet', 'articleId', articleId);
|
|
157
|
+
localVarPath = "/api/v2/articles/{articleId}/contributors"
|
|
158
158
|
.replace("{".concat("articleId", "}"), encodeURIComponent(String(articleId)));
|
|
159
159
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
160
160
|
if (configuration) {
|
|
@@ -216,14 +216,14 @@ var V2ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
216
216
|
* @param {*} [options] Override http request option.
|
|
217
217
|
* @throws {RequiredError}
|
|
218
218
|
*/
|
|
219
|
-
|
|
219
|
+
apiV2ArticlesArticleIdGet: function (articleId, languageCode, options) {
|
|
220
220
|
if (options === void 0) { options = {}; }
|
|
221
221
|
return __awaiter(_this, void 0, void 0, function () {
|
|
222
222
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
223
223
|
return __generator(this, function (_a) {
|
|
224
224
|
// verify required parameter 'articleId' is not null or undefined
|
|
225
|
-
(0, common_1.assertParamExists)('
|
|
226
|
-
localVarPath = "/
|
|
225
|
+
(0, common_1.assertParamExists)('apiV2ArticlesArticleIdGet', 'articleId', articleId);
|
|
226
|
+
localVarPath = "/api/v2/articles/{articleId}"
|
|
227
227
|
.replace("{".concat("articleId", "}"), encodeURIComponent(String(articleId)));
|
|
228
228
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
229
229
|
if (configuration) {
|
|
@@ -257,14 +257,14 @@ var V2ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
257
257
|
* @param {*} [options] Override http request option.
|
|
258
258
|
* @throws {RequiredError}
|
|
259
259
|
*/
|
|
260
|
-
|
|
260
|
+
apiV2ArticlesArticleIdMediasGet: function (articleId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
261
261
|
if (options === void 0) { options = {}; }
|
|
262
262
|
return __awaiter(_this, void 0, void 0, function () {
|
|
263
263
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
264
264
|
return __generator(this, function (_a) {
|
|
265
265
|
// verify required parameter 'articleId' is not null or undefined
|
|
266
|
-
(0, common_1.assertParamExists)('
|
|
267
|
-
localVarPath = "/
|
|
266
|
+
(0, common_1.assertParamExists)('apiV2ArticlesArticleIdMediasGet', 'articleId', articleId);
|
|
267
|
+
localVarPath = "/api/v2/articles/{articleId}/medias"
|
|
268
268
|
.replace("{".concat("articleId", "}"), encodeURIComponent(String(articleId)));
|
|
269
269
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
270
270
|
if (configuration) {
|
|
@@ -308,16 +308,16 @@ var V2ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
308
308
|
* @param {*} [options] Override http request option.
|
|
309
309
|
* @throws {RequiredError}
|
|
310
310
|
*/
|
|
311
|
-
|
|
311
|
+
apiV2ArticlesArticleIdMediasMediaIdGet: function (articleId, mediaId, options) {
|
|
312
312
|
if (options === void 0) { options = {}; }
|
|
313
313
|
return __awaiter(_this, void 0, void 0, function () {
|
|
314
314
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
315
315
|
return __generator(this, function (_a) {
|
|
316
316
|
// verify required parameter 'articleId' is not null or undefined
|
|
317
|
-
(0, common_1.assertParamExists)('
|
|
317
|
+
(0, common_1.assertParamExists)('apiV2ArticlesArticleIdMediasMediaIdGet', 'articleId', articleId);
|
|
318
318
|
// verify required parameter 'mediaId' is not null or undefined
|
|
319
|
-
(0, common_1.assertParamExists)('
|
|
320
|
-
localVarPath = "/
|
|
319
|
+
(0, common_1.assertParamExists)('apiV2ArticlesArticleIdMediasMediaIdGet', 'mediaId', mediaId);
|
|
320
|
+
localVarPath = "/api/v2/articles/{articleId}/medias/{mediaId}"
|
|
321
321
|
.replace("{".concat("articleId", "}"), encodeURIComponent(String(articleId)))
|
|
322
322
|
.replace("{".concat("mediaId", "}"), encodeURIComponent(String(mediaId)));
|
|
323
323
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -347,14 +347,14 @@ var V2ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
347
347
|
* @param {*} [options] Override http request option.
|
|
348
348
|
* @throws {RequiredError}
|
|
349
349
|
*/
|
|
350
|
-
|
|
350
|
+
apiV2ArticlesArticleIdSourcesGet: function (articleId, page, limit, lastRetrieved, options) {
|
|
351
351
|
if (options === void 0) { options = {}; }
|
|
352
352
|
return __awaiter(_this, void 0, void 0, function () {
|
|
353
353
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
354
354
|
return __generator(this, function (_a) {
|
|
355
355
|
// verify required parameter 'articleId' is not null or undefined
|
|
356
|
-
(0, common_1.assertParamExists)('
|
|
357
|
-
localVarPath = "/
|
|
356
|
+
(0, common_1.assertParamExists)('apiV2ArticlesArticleIdSourcesGet', 'articleId', articleId);
|
|
357
|
+
localVarPath = "/api/v2/articles/{articleId}/sources"
|
|
358
358
|
.replace("{".concat("articleId", "}"), encodeURIComponent(String(articleId)));
|
|
359
359
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
360
360
|
if (configuration) {
|
|
@@ -392,16 +392,16 @@ var V2ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
392
392
|
* @param {*} [options] Override http request option.
|
|
393
393
|
* @throws {RequiredError}
|
|
394
394
|
*/
|
|
395
|
-
|
|
395
|
+
apiV2ArticlesArticleIdSourcesSourceIdGet: function (articleId, sourceId, options) {
|
|
396
396
|
if (options === void 0) { options = {}; }
|
|
397
397
|
return __awaiter(_this, void 0, void 0, function () {
|
|
398
398
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
399
399
|
return __generator(this, function (_a) {
|
|
400
400
|
// verify required parameter 'articleId' is not null or undefined
|
|
401
|
-
(0, common_1.assertParamExists)('
|
|
401
|
+
(0, common_1.assertParamExists)('apiV2ArticlesArticleIdSourcesSourceIdGet', 'articleId', articleId);
|
|
402
402
|
// verify required parameter 'sourceId' is not null or undefined
|
|
403
|
-
(0, common_1.assertParamExists)('
|
|
404
|
-
localVarPath = "/
|
|
403
|
+
(0, common_1.assertParamExists)('apiV2ArticlesArticleIdSourcesSourceIdGet', 'sourceId', sourceId);
|
|
404
|
+
localVarPath = "/api/v2/articles/{articleId}/sources/{sourceId}"
|
|
405
405
|
.replace("{".concat("articleId", "}"), encodeURIComponent(String(articleId)))
|
|
406
406
|
.replace("{".concat("sourceId", "}"), encodeURIComponent(String(sourceId)));
|
|
407
407
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -432,14 +432,14 @@ var V2ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
432
432
|
* @param {*} [options] Override http request option.
|
|
433
433
|
* @throws {RequiredError}
|
|
434
434
|
*/
|
|
435
|
-
|
|
435
|
+
apiV2ArticlesArticleIdTagsGet: function (articleId, tagId, page, limit, lastRetrieved, options) {
|
|
436
436
|
if (options === void 0) { options = {}; }
|
|
437
437
|
return __awaiter(_this, void 0, void 0, function () {
|
|
438
438
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
439
439
|
return __generator(this, function (_a) {
|
|
440
440
|
// verify required parameter 'articleId' is not null or undefined
|
|
441
|
-
(0, common_1.assertParamExists)('
|
|
442
|
-
localVarPath = "/
|
|
441
|
+
(0, common_1.assertParamExists)('apiV2ArticlesArticleIdTagsGet', 'articleId', articleId);
|
|
442
|
+
localVarPath = "/api/v2/articles/{articleId}/tags"
|
|
443
443
|
.replace("{".concat("articleId", "}"), encodeURIComponent(String(articleId)));
|
|
444
444
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
445
445
|
if (configuration) {
|
|
@@ -480,16 +480,16 @@ var V2ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
480
480
|
* @param {*} [options] Override http request option.
|
|
481
481
|
* @throws {RequiredError}
|
|
482
482
|
*/
|
|
483
|
-
|
|
483
|
+
apiV2ArticlesArticleIdTagsTagIdGet: function (articleId, tagId, options) {
|
|
484
484
|
if (options === void 0) { options = {}; }
|
|
485
485
|
return __awaiter(_this, void 0, void 0, function () {
|
|
486
486
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
487
487
|
return __generator(this, function (_a) {
|
|
488
488
|
// verify required parameter 'articleId' is not null or undefined
|
|
489
|
-
(0, common_1.assertParamExists)('
|
|
489
|
+
(0, common_1.assertParamExists)('apiV2ArticlesArticleIdTagsTagIdGet', 'articleId', articleId);
|
|
490
490
|
// verify required parameter 'tagId' is not null or undefined
|
|
491
|
-
(0, common_1.assertParamExists)('
|
|
492
|
-
localVarPath = "/
|
|
491
|
+
(0, common_1.assertParamExists)('apiV2ArticlesArticleIdTagsTagIdGet', 'tagId', tagId);
|
|
492
|
+
localVarPath = "/api/v2/articles/{articleId}/tags/{tagId}"
|
|
493
493
|
.replace("{".concat("articleId", "}"), encodeURIComponent(String(articleId)))
|
|
494
494
|
.replace("{".concat("tagId", "}"), encodeURIComponent(String(tagId)));
|
|
495
495
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -534,12 +534,12 @@ var V2ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
534
534
|
* @param {*} [options] Override http request option.
|
|
535
535
|
* @throws {RequiredError}
|
|
536
536
|
*/
|
|
537
|
-
|
|
537
|
+
apiV2ArticlesGet: function (id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
538
538
|
if (options === void 0) { options = {}; }
|
|
539
539
|
return __awaiter(_this, void 0, void 0, function () {
|
|
540
540
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
541
541
|
return __generator(this, function (_a) {
|
|
542
|
-
localVarPath = "/
|
|
542
|
+
localVarPath = "/api/v2/articles";
|
|
543
543
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
544
544
|
if (configuration) {
|
|
545
545
|
baseOptions = configuration.baseOptions;
|
|
@@ -625,14 +625,14 @@ var V2ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
625
625
|
* @param {*} [options] Override http request option.
|
|
626
626
|
* @throws {RequiredError}
|
|
627
627
|
*/
|
|
628
|
-
|
|
628
|
+
apiV2ArticlesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
629
629
|
if (options === void 0) { options = {}; }
|
|
630
630
|
return __awaiter(_this, void 0, void 0, function () {
|
|
631
631
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
632
632
|
return __generator(this, function (_a) {
|
|
633
633
|
// verify required parameter 'slug' is not null or undefined
|
|
634
|
-
(0, common_1.assertParamExists)('
|
|
635
|
-
localVarPath = "/
|
|
634
|
+
(0, common_1.assertParamExists)('apiV2ArticlesSlugGet', 'slug', slug);
|
|
635
|
+
localVarPath = "/api/v2/articles/{slug}"
|
|
636
636
|
.replace("{".concat("slug", "}"), encodeURIComponent(String(slug)));
|
|
637
637
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
638
638
|
if (configuration) {
|
|
@@ -659,13 +659,13 @@ var V2ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
659
659
|
},
|
|
660
660
|
};
|
|
661
661
|
};
|
|
662
|
-
exports.
|
|
662
|
+
exports.ArticlesApiAxiosParamCreator = ArticlesApiAxiosParamCreator;
|
|
663
663
|
/**
|
|
664
|
-
*
|
|
664
|
+
* ArticlesApi - functional programming interface
|
|
665
665
|
* @export
|
|
666
666
|
*/
|
|
667
|
-
var
|
|
668
|
-
var localVarAxiosParamCreator = (0, exports.
|
|
667
|
+
var ArticlesApiFp = function (configuration) {
|
|
668
|
+
var localVarAxiosParamCreator = (0, exports.ArticlesApiAxiosParamCreator)(configuration);
|
|
669
669
|
return {
|
|
670
670
|
/**
|
|
671
671
|
*
|
|
@@ -675,12 +675,12 @@ var V2ArticlesApiFp = function (configuration) {
|
|
|
675
675
|
* @param {*} [options] Override http request option.
|
|
676
676
|
* @throws {RequiredError}
|
|
677
677
|
*/
|
|
678
|
-
|
|
678
|
+
apiV2ArticlesArticleIdContributorsContributorIdGet: function (articleId, contributorId, options) {
|
|
679
679
|
return __awaiter(this, void 0, void 0, function () {
|
|
680
680
|
var localVarAxiosArgs;
|
|
681
681
|
return __generator(this, function (_a) {
|
|
682
682
|
switch (_a.label) {
|
|
683
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
683
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesArticleIdContributorsContributorIdGet(articleId, contributorId, options)];
|
|
684
684
|
case 1:
|
|
685
685
|
localVarAxiosArgs = _a.sent();
|
|
686
686
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -706,12 +706,12 @@ var V2ArticlesApiFp = function (configuration) {
|
|
|
706
706
|
* @param {*} [options] Override http request option.
|
|
707
707
|
* @throws {RequiredError}
|
|
708
708
|
*/
|
|
709
|
-
|
|
709
|
+
apiV2ArticlesArticleIdContributorsGet: function (articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
710
710
|
return __awaiter(this, void 0, void 0, function () {
|
|
711
711
|
var localVarAxiosArgs;
|
|
712
712
|
return __generator(this, function (_a) {
|
|
713
713
|
switch (_a.label) {
|
|
714
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
714
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
715
715
|
case 1:
|
|
716
716
|
localVarAxiosArgs = _a.sent();
|
|
717
717
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -727,12 +727,12 @@ var V2ArticlesApiFp = function (configuration) {
|
|
|
727
727
|
* @param {*} [options] Override http request option.
|
|
728
728
|
* @throws {RequiredError}
|
|
729
729
|
*/
|
|
730
|
-
|
|
730
|
+
apiV2ArticlesArticleIdGet: function (articleId, languageCode, options) {
|
|
731
731
|
return __awaiter(this, void 0, void 0, function () {
|
|
732
732
|
var localVarAxiosArgs;
|
|
733
733
|
return __generator(this, function (_a) {
|
|
734
734
|
switch (_a.label) {
|
|
735
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
735
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesArticleIdGet(articleId, languageCode, options)];
|
|
736
736
|
case 1:
|
|
737
737
|
localVarAxiosArgs = _a.sent();
|
|
738
738
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -752,12 +752,12 @@ var V2ArticlesApiFp = function (configuration) {
|
|
|
752
752
|
* @param {*} [options] Override http request option.
|
|
753
753
|
* @throws {RequiredError}
|
|
754
754
|
*/
|
|
755
|
-
|
|
755
|
+
apiV2ArticlesArticleIdMediasGet: function (articleId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
756
756
|
return __awaiter(this, void 0, void 0, function () {
|
|
757
757
|
var localVarAxiosArgs;
|
|
758
758
|
return __generator(this, function (_a) {
|
|
759
759
|
switch (_a.label) {
|
|
760
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
760
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesArticleIdMediasGet(articleId, id, mediaType, page, limit, lastRetrieved, options)];
|
|
761
761
|
case 1:
|
|
762
762
|
localVarAxiosArgs = _a.sent();
|
|
763
763
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -773,12 +773,12 @@ var V2ArticlesApiFp = function (configuration) {
|
|
|
773
773
|
* @param {*} [options] Override http request option.
|
|
774
774
|
* @throws {RequiredError}
|
|
775
775
|
*/
|
|
776
|
-
|
|
776
|
+
apiV2ArticlesArticleIdMediasMediaIdGet: function (articleId, mediaId, options) {
|
|
777
777
|
return __awaiter(this, void 0, void 0, function () {
|
|
778
778
|
var localVarAxiosArgs;
|
|
779
779
|
return __generator(this, function (_a) {
|
|
780
780
|
switch (_a.label) {
|
|
781
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
781
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesArticleIdMediasMediaIdGet(articleId, mediaId, options)];
|
|
782
782
|
case 1:
|
|
783
783
|
localVarAxiosArgs = _a.sent();
|
|
784
784
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -796,12 +796,12 @@ var V2ArticlesApiFp = function (configuration) {
|
|
|
796
796
|
* @param {*} [options] Override http request option.
|
|
797
797
|
* @throws {RequiredError}
|
|
798
798
|
*/
|
|
799
|
-
|
|
799
|
+
apiV2ArticlesArticleIdSourcesGet: function (articleId, page, limit, lastRetrieved, options) {
|
|
800
800
|
return __awaiter(this, void 0, void 0, function () {
|
|
801
801
|
var localVarAxiosArgs;
|
|
802
802
|
return __generator(this, function (_a) {
|
|
803
803
|
switch (_a.label) {
|
|
804
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
804
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesArticleIdSourcesGet(articleId, page, limit, lastRetrieved, options)];
|
|
805
805
|
case 1:
|
|
806
806
|
localVarAxiosArgs = _a.sent();
|
|
807
807
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -817,12 +817,12 @@ var V2ArticlesApiFp = function (configuration) {
|
|
|
817
817
|
* @param {*} [options] Override http request option.
|
|
818
818
|
* @throws {RequiredError}
|
|
819
819
|
*/
|
|
820
|
-
|
|
820
|
+
apiV2ArticlesArticleIdSourcesSourceIdGet: function (articleId, sourceId, options) {
|
|
821
821
|
return __awaiter(this, void 0, void 0, function () {
|
|
822
822
|
var localVarAxiosArgs;
|
|
823
823
|
return __generator(this, function (_a) {
|
|
824
824
|
switch (_a.label) {
|
|
825
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
825
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesArticleIdSourcesSourceIdGet(articleId, sourceId, options)];
|
|
826
826
|
case 1:
|
|
827
827
|
localVarAxiosArgs = _a.sent();
|
|
828
828
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -841,12 +841,12 @@ var V2ArticlesApiFp = function (configuration) {
|
|
|
841
841
|
* @param {*} [options] Override http request option.
|
|
842
842
|
* @throws {RequiredError}
|
|
843
843
|
*/
|
|
844
|
-
|
|
844
|
+
apiV2ArticlesArticleIdTagsGet: function (articleId, tagId, page, limit, lastRetrieved, options) {
|
|
845
845
|
return __awaiter(this, void 0, void 0, function () {
|
|
846
846
|
var localVarAxiosArgs;
|
|
847
847
|
return __generator(this, function (_a) {
|
|
848
848
|
switch (_a.label) {
|
|
849
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
849
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesArticleIdTagsGet(articleId, tagId, page, limit, lastRetrieved, options)];
|
|
850
850
|
case 1:
|
|
851
851
|
localVarAxiosArgs = _a.sent();
|
|
852
852
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -862,12 +862,12 @@ var V2ArticlesApiFp = function (configuration) {
|
|
|
862
862
|
* @param {*} [options] Override http request option.
|
|
863
863
|
* @throws {RequiredError}
|
|
864
864
|
*/
|
|
865
|
-
|
|
865
|
+
apiV2ArticlesArticleIdTagsTagIdGet: function (articleId, tagId, options) {
|
|
866
866
|
return __awaiter(this, void 0, void 0, function () {
|
|
867
867
|
var localVarAxiosArgs;
|
|
868
868
|
return __generator(this, function (_a) {
|
|
869
869
|
switch (_a.label) {
|
|
870
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
870
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesArticleIdTagsTagIdGet(articleId, tagId, options)];
|
|
871
871
|
case 1:
|
|
872
872
|
localVarAxiosArgs = _a.sent();
|
|
873
873
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -900,12 +900,12 @@ var V2ArticlesApiFp = function (configuration) {
|
|
|
900
900
|
* @param {*} [options] Override http request option.
|
|
901
901
|
* @throws {RequiredError}
|
|
902
902
|
*/
|
|
903
|
-
|
|
903
|
+
apiV2ArticlesGet: function (id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
904
904
|
return __awaiter(this, void 0, void 0, function () {
|
|
905
905
|
var localVarAxiosArgs;
|
|
906
906
|
return __generator(this, function (_a) {
|
|
907
907
|
switch (_a.label) {
|
|
908
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
908
|
+
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)];
|
|
909
909
|
case 1:
|
|
910
910
|
localVarAxiosArgs = _a.sent();
|
|
911
911
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -922,12 +922,12 @@ var V2ArticlesApiFp = function (configuration) {
|
|
|
922
922
|
* @param {*} [options] Override http request option.
|
|
923
923
|
* @throws {RequiredError}
|
|
924
924
|
*/
|
|
925
|
-
|
|
925
|
+
apiV2ArticlesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
926
926
|
return __awaiter(this, void 0, void 0, function () {
|
|
927
927
|
var localVarAxiosArgs;
|
|
928
928
|
return __generator(this, function (_a) {
|
|
929
929
|
switch (_a.label) {
|
|
930
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
930
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesSlugGet(slug, languageCode, returnDefaultValue, options)];
|
|
931
931
|
case 1:
|
|
932
932
|
localVarAxiosArgs = _a.sent();
|
|
933
933
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -937,13 +937,13 @@ var V2ArticlesApiFp = function (configuration) {
|
|
|
937
937
|
},
|
|
938
938
|
};
|
|
939
939
|
};
|
|
940
|
-
exports.
|
|
940
|
+
exports.ArticlesApiFp = ArticlesApiFp;
|
|
941
941
|
/**
|
|
942
|
-
*
|
|
942
|
+
* ArticlesApi - factory interface
|
|
943
943
|
* @export
|
|
944
944
|
*/
|
|
945
|
-
var
|
|
946
|
-
var localVarFp = (0, exports.
|
|
945
|
+
var ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
946
|
+
var localVarFp = (0, exports.ArticlesApiFp)(configuration);
|
|
947
947
|
return {
|
|
948
948
|
/**
|
|
949
949
|
*
|
|
@@ -953,8 +953,8 @@ var V2ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
953
953
|
* @param {*} [options] Override http request option.
|
|
954
954
|
* @throws {RequiredError}
|
|
955
955
|
*/
|
|
956
|
-
|
|
957
|
-
return localVarFp.
|
|
956
|
+
apiV2ArticlesArticleIdContributorsContributorIdGet: function (articleId, contributorId, options) {
|
|
957
|
+
return localVarFp.apiV2ArticlesArticleIdContributorsContributorIdGet(articleId, contributorId, options).then(function (request) { return request(axios, basePath); });
|
|
958
958
|
},
|
|
959
959
|
/**
|
|
960
960
|
*
|
|
@@ -974,8 +974,8 @@ var V2ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
974
974
|
* @param {*} [options] Override http request option.
|
|
975
975
|
* @throws {RequiredError}
|
|
976
976
|
*/
|
|
977
|
-
|
|
978
|
-
return localVarFp.
|
|
977
|
+
apiV2ArticlesArticleIdContributorsGet: function (articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
978
|
+
return localVarFp.apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
979
979
|
},
|
|
980
980
|
/**
|
|
981
981
|
*
|
|
@@ -985,8 +985,8 @@ var V2ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
985
985
|
* @param {*} [options] Override http request option.
|
|
986
986
|
* @throws {RequiredError}
|
|
987
987
|
*/
|
|
988
|
-
|
|
989
|
-
return localVarFp.
|
|
988
|
+
apiV2ArticlesArticleIdGet: function (articleId, languageCode, options) {
|
|
989
|
+
return localVarFp.apiV2ArticlesArticleIdGet(articleId, languageCode, options).then(function (request) { return request(axios, basePath); });
|
|
990
990
|
},
|
|
991
991
|
/**
|
|
992
992
|
*
|
|
@@ -1000,8 +1000,8 @@ var V2ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1000
1000
|
* @param {*} [options] Override http request option.
|
|
1001
1001
|
* @throws {RequiredError}
|
|
1002
1002
|
*/
|
|
1003
|
-
|
|
1004
|
-
return localVarFp.
|
|
1003
|
+
apiV2ArticlesArticleIdMediasGet: function (articleId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
1004
|
+
return localVarFp.apiV2ArticlesArticleIdMediasGet(articleId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
1005
1005
|
},
|
|
1006
1006
|
/**
|
|
1007
1007
|
*
|
|
@@ -1011,8 +1011,8 @@ var V2ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1011
1011
|
* @param {*} [options] Override http request option.
|
|
1012
1012
|
* @throws {RequiredError}
|
|
1013
1013
|
*/
|
|
1014
|
-
|
|
1015
|
-
return localVarFp.
|
|
1014
|
+
apiV2ArticlesArticleIdMediasMediaIdGet: function (articleId, mediaId, options) {
|
|
1015
|
+
return localVarFp.apiV2ArticlesArticleIdMediasMediaIdGet(articleId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
1016
1016
|
},
|
|
1017
1017
|
/**
|
|
1018
1018
|
*
|
|
@@ -1024,8 +1024,8 @@ var V2ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1024
1024
|
* @param {*} [options] Override http request option.
|
|
1025
1025
|
* @throws {RequiredError}
|
|
1026
1026
|
*/
|
|
1027
|
-
|
|
1028
|
-
return localVarFp.
|
|
1027
|
+
apiV2ArticlesArticleIdSourcesGet: function (articleId, page, limit, lastRetrieved, options) {
|
|
1028
|
+
return localVarFp.apiV2ArticlesArticleIdSourcesGet(articleId, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
1029
1029
|
},
|
|
1030
1030
|
/**
|
|
1031
1031
|
*
|
|
@@ -1035,8 +1035,8 @@ var V2ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1035
1035
|
* @param {*} [options] Override http request option.
|
|
1036
1036
|
* @throws {RequiredError}
|
|
1037
1037
|
*/
|
|
1038
|
-
|
|
1039
|
-
return localVarFp.
|
|
1038
|
+
apiV2ArticlesArticleIdSourcesSourceIdGet: function (articleId, sourceId, options) {
|
|
1039
|
+
return localVarFp.apiV2ArticlesArticleIdSourcesSourceIdGet(articleId, sourceId, options).then(function (request) { return request(axios, basePath); });
|
|
1040
1040
|
},
|
|
1041
1041
|
/**
|
|
1042
1042
|
*
|
|
@@ -1049,8 +1049,8 @@ var V2ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1049
1049
|
* @param {*} [options] Override http request option.
|
|
1050
1050
|
* @throws {RequiredError}
|
|
1051
1051
|
*/
|
|
1052
|
-
|
|
1053
|
-
return localVarFp.
|
|
1052
|
+
apiV2ArticlesArticleIdTagsGet: function (articleId, tagId, page, limit, lastRetrieved, options) {
|
|
1053
|
+
return localVarFp.apiV2ArticlesArticleIdTagsGet(articleId, tagId, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
1054
1054
|
},
|
|
1055
1055
|
/**
|
|
1056
1056
|
*
|
|
@@ -1060,8 +1060,8 @@ var V2ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1060
1060
|
* @param {*} [options] Override http request option.
|
|
1061
1061
|
* @throws {RequiredError}
|
|
1062
1062
|
*/
|
|
1063
|
-
|
|
1064
|
-
return localVarFp.
|
|
1063
|
+
apiV2ArticlesArticleIdTagsTagIdGet: function (articleId, tagId, options) {
|
|
1064
|
+
return localVarFp.apiV2ArticlesArticleIdTagsTagIdGet(articleId, tagId, options).then(function (request) { return request(axios, basePath); });
|
|
1065
1065
|
},
|
|
1066
1066
|
/**
|
|
1067
1067
|
*
|
|
@@ -1088,8 +1088,8 @@ var V2ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1088
1088
|
* @param {*} [options] Override http request option.
|
|
1089
1089
|
* @throws {RequiredError}
|
|
1090
1090
|
*/
|
|
1091
|
-
|
|
1092
|
-
return localVarFp.
|
|
1091
|
+
apiV2ArticlesGet: function (id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1092
|
+
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); });
|
|
1093
1093
|
},
|
|
1094
1094
|
/**
|
|
1095
1095
|
*
|
|
@@ -1100,21 +1100,21 @@ var V2ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1100
1100
|
* @param {*} [options] Override http request option.
|
|
1101
1101
|
* @throws {RequiredError}
|
|
1102
1102
|
*/
|
|
1103
|
-
|
|
1104
|
-
return localVarFp.
|
|
1103
|
+
apiV2ArticlesSlugGet: function (slug, languageCode, returnDefaultValue, options) {
|
|
1104
|
+
return localVarFp.apiV2ArticlesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
|
|
1105
1105
|
},
|
|
1106
1106
|
};
|
|
1107
1107
|
};
|
|
1108
|
-
exports.
|
|
1108
|
+
exports.ArticlesApiFactory = ArticlesApiFactory;
|
|
1109
1109
|
/**
|
|
1110
|
-
*
|
|
1110
|
+
* ArticlesApi - object-oriented interface
|
|
1111
1111
|
* @export
|
|
1112
|
-
* @class
|
|
1112
|
+
* @class ArticlesApi
|
|
1113
1113
|
* @extends {BaseAPI}
|
|
1114
1114
|
*/
|
|
1115
|
-
var
|
|
1116
|
-
__extends(
|
|
1117
|
-
function
|
|
1115
|
+
var ArticlesApi = /** @class */ (function (_super) {
|
|
1116
|
+
__extends(ArticlesApi, _super);
|
|
1117
|
+
function ArticlesApi() {
|
|
1118
1118
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
1119
1119
|
}
|
|
1120
1120
|
/**
|
|
@@ -1124,11 +1124,11 @@ var V2ArticlesApi = /** @class */ (function (_super) {
|
|
|
1124
1124
|
* @param {string} contributorId
|
|
1125
1125
|
* @param {*} [options] Override http request option.
|
|
1126
1126
|
* @throws {RequiredError}
|
|
1127
|
-
* @memberof
|
|
1127
|
+
* @memberof ArticlesApi
|
|
1128
1128
|
*/
|
|
1129
|
-
|
|
1129
|
+
ArticlesApi.prototype.apiV2ArticlesArticleIdContributorsContributorIdGet = function (articleId, contributorId, options) {
|
|
1130
1130
|
var _this = this;
|
|
1131
|
-
return (0, exports.
|
|
1131
|
+
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesArticleIdContributorsContributorIdGet(articleId, contributorId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1132
1132
|
};
|
|
1133
1133
|
/**
|
|
1134
1134
|
*
|
|
@@ -1147,11 +1147,11 @@ var V2ArticlesApi = /** @class */ (function (_super) {
|
|
|
1147
1147
|
* @param {Date} [lastRetrieved]
|
|
1148
1148
|
* @param {*} [options] Override http request option.
|
|
1149
1149
|
* @throws {RequiredError}
|
|
1150
|
-
* @memberof
|
|
1150
|
+
* @memberof ArticlesApi
|
|
1151
1151
|
*/
|
|
1152
|
-
|
|
1152
|
+
ArticlesApi.prototype.apiV2ArticlesArticleIdContributorsGet = function (articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
1153
1153
|
var _this = this;
|
|
1154
|
-
return (0, exports.
|
|
1154
|
+
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesArticleIdContributorsGet(articleId, articleName, contributorId, contributorName, email, website, contributionType, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1155
1155
|
};
|
|
1156
1156
|
/**
|
|
1157
1157
|
*
|
|
@@ -1160,11 +1160,11 @@ var V2ArticlesApi = /** @class */ (function (_super) {
|
|
|
1160
1160
|
* @param {string} [languageCode]
|
|
1161
1161
|
* @param {*} [options] Override http request option.
|
|
1162
1162
|
* @throws {RequiredError}
|
|
1163
|
-
* @memberof
|
|
1163
|
+
* @memberof ArticlesApi
|
|
1164
1164
|
*/
|
|
1165
|
-
|
|
1165
|
+
ArticlesApi.prototype.apiV2ArticlesArticleIdGet = function (articleId, languageCode, options) {
|
|
1166
1166
|
var _this = this;
|
|
1167
|
-
return (0, exports.
|
|
1167
|
+
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesArticleIdGet(articleId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1168
1168
|
};
|
|
1169
1169
|
/**
|
|
1170
1170
|
*
|
|
@@ -1177,11 +1177,11 @@ var V2ArticlesApi = /** @class */ (function (_super) {
|
|
|
1177
1177
|
* @param {Date} [lastRetrieved]
|
|
1178
1178
|
* @param {*} [options] Override http request option.
|
|
1179
1179
|
* @throws {RequiredError}
|
|
1180
|
-
* @memberof
|
|
1180
|
+
* @memberof ArticlesApi
|
|
1181
1181
|
*/
|
|
1182
|
-
|
|
1182
|
+
ArticlesApi.prototype.apiV2ArticlesArticleIdMediasGet = function (articleId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
1183
1183
|
var _this = this;
|
|
1184
|
-
return (0, exports.
|
|
1184
|
+
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesArticleIdMediasGet(articleId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1185
1185
|
};
|
|
1186
1186
|
/**
|
|
1187
1187
|
*
|
|
@@ -1190,11 +1190,11 @@ var V2ArticlesApi = /** @class */ (function (_super) {
|
|
|
1190
1190
|
* @param {string} mediaId
|
|
1191
1191
|
* @param {*} [options] Override http request option.
|
|
1192
1192
|
* @throws {RequiredError}
|
|
1193
|
-
* @memberof
|
|
1193
|
+
* @memberof ArticlesApi
|
|
1194
1194
|
*/
|
|
1195
|
-
|
|
1195
|
+
ArticlesApi.prototype.apiV2ArticlesArticleIdMediasMediaIdGet = function (articleId, mediaId, options) {
|
|
1196
1196
|
var _this = this;
|
|
1197
|
-
return (0, exports.
|
|
1197
|
+
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesArticleIdMediasMediaIdGet(articleId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1198
1198
|
};
|
|
1199
1199
|
/**
|
|
1200
1200
|
*
|
|
@@ -1205,11 +1205,11 @@ var V2ArticlesApi = /** @class */ (function (_super) {
|
|
|
1205
1205
|
* @param {Date} [lastRetrieved]
|
|
1206
1206
|
* @param {*} [options] Override http request option.
|
|
1207
1207
|
* @throws {RequiredError}
|
|
1208
|
-
* @memberof
|
|
1208
|
+
* @memberof ArticlesApi
|
|
1209
1209
|
*/
|
|
1210
|
-
|
|
1210
|
+
ArticlesApi.prototype.apiV2ArticlesArticleIdSourcesGet = function (articleId, page, limit, lastRetrieved, options) {
|
|
1211
1211
|
var _this = this;
|
|
1212
|
-
return (0, exports.
|
|
1212
|
+
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesArticleIdSourcesGet(articleId, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1213
1213
|
};
|
|
1214
1214
|
/**
|
|
1215
1215
|
*
|
|
@@ -1218,11 +1218,11 @@ var V2ArticlesApi = /** @class */ (function (_super) {
|
|
|
1218
1218
|
* @param {string} sourceId
|
|
1219
1219
|
* @param {*} [options] Override http request option.
|
|
1220
1220
|
* @throws {RequiredError}
|
|
1221
|
-
* @memberof
|
|
1221
|
+
* @memberof ArticlesApi
|
|
1222
1222
|
*/
|
|
1223
|
-
|
|
1223
|
+
ArticlesApi.prototype.apiV2ArticlesArticleIdSourcesSourceIdGet = function (articleId, sourceId, options) {
|
|
1224
1224
|
var _this = this;
|
|
1225
|
-
return (0, exports.
|
|
1225
|
+
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesArticleIdSourcesSourceIdGet(articleId, sourceId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1226
1226
|
};
|
|
1227
1227
|
/**
|
|
1228
1228
|
*
|
|
@@ -1234,11 +1234,11 @@ var V2ArticlesApi = /** @class */ (function (_super) {
|
|
|
1234
1234
|
* @param {Date} [lastRetrieved]
|
|
1235
1235
|
* @param {*} [options] Override http request option.
|
|
1236
1236
|
* @throws {RequiredError}
|
|
1237
|
-
* @memberof
|
|
1237
|
+
* @memberof ArticlesApi
|
|
1238
1238
|
*/
|
|
1239
|
-
|
|
1239
|
+
ArticlesApi.prototype.apiV2ArticlesArticleIdTagsGet = function (articleId, tagId, page, limit, lastRetrieved, options) {
|
|
1240
1240
|
var _this = this;
|
|
1241
|
-
return (0, exports.
|
|
1241
|
+
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesArticleIdTagsGet(articleId, tagId, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1242
1242
|
};
|
|
1243
1243
|
/**
|
|
1244
1244
|
*
|
|
@@ -1247,11 +1247,11 @@ var V2ArticlesApi = /** @class */ (function (_super) {
|
|
|
1247
1247
|
* @param {string} tagId
|
|
1248
1248
|
* @param {*} [options] Override http request option.
|
|
1249
1249
|
* @throws {RequiredError}
|
|
1250
|
-
* @memberof
|
|
1250
|
+
* @memberof ArticlesApi
|
|
1251
1251
|
*/
|
|
1252
|
-
|
|
1252
|
+
ArticlesApi.prototype.apiV2ArticlesArticleIdTagsTagIdGet = function (articleId, tagId, options) {
|
|
1253
1253
|
var _this = this;
|
|
1254
|
-
return (0, exports.
|
|
1254
|
+
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesArticleIdTagsTagIdGet(articleId, tagId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1255
1255
|
};
|
|
1256
1256
|
/**
|
|
1257
1257
|
*
|
|
@@ -1277,11 +1277,11 @@ var V2ArticlesApi = /** @class */ (function (_super) {
|
|
|
1277
1277
|
* @param {Date} [lastRetrieved]
|
|
1278
1278
|
* @param {*} [options] Override http request option.
|
|
1279
1279
|
* @throws {RequiredError}
|
|
1280
|
-
* @memberof
|
|
1280
|
+
* @memberof ArticlesApi
|
|
1281
1281
|
*/
|
|
1282
|
-
|
|
1282
|
+
ArticlesApi.prototype.apiV2ArticlesGet = function (id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1283
1283
|
var _this = this;
|
|
1284
|
-
return (0, exports.
|
|
1284
|
+
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); });
|
|
1285
1285
|
};
|
|
1286
1286
|
/**
|
|
1287
1287
|
*
|
|
@@ -1291,12 +1291,12 @@ var V2ArticlesApi = /** @class */ (function (_super) {
|
|
|
1291
1291
|
* @param {boolean} [returnDefaultValue]
|
|
1292
1292
|
* @param {*} [options] Override http request option.
|
|
1293
1293
|
* @throws {RequiredError}
|
|
1294
|
-
* @memberof
|
|
1294
|
+
* @memberof ArticlesApi
|
|
1295
1295
|
*/
|
|
1296
|
-
|
|
1296
|
+
ArticlesApi.prototype.apiV2ArticlesSlugGet = function (slug, languageCode, returnDefaultValue, options) {
|
|
1297
1297
|
var _this = this;
|
|
1298
|
-
return (0, exports.
|
|
1298
|
+
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1299
1299
|
};
|
|
1300
|
-
return
|
|
1300
|
+
return ArticlesApi;
|
|
1301
1301
|
}(base_1.BaseAPI));
|
|
1302
|
-
exports.
|
|
1302
|
+
exports.ArticlesApi = ArticlesApi;
|