ch-api-client-typescript2 4.0.9 → 4.1.4
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 +252 -72
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +274 -63
- package/package.json +1 -1
- package/src/api.ts +383 -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.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SortingOrder = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus =
|
|
82
|
-
exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DoctorAffiliationsApi = exports.DoctorAffiliationsApiFactory = exports.DoctorAffiliationsApiFp = exports.DoctorAffiliationsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory =
|
|
83
|
-
exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator =
|
|
81
|
+
exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SortingOrder = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = void 0;
|
|
82
|
+
exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DoctorAffiliationsApi = exports.DoctorAffiliationsApiFactory = exports.DoctorAffiliationsApiFp = exports.DoctorAffiliationsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = void 0;
|
|
83
|
+
exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = void 0;
|
|
84
84
|
var axios_1 = __importDefault(require("axios"));
|
|
85
85
|
// Some imports not used depending on template conditions
|
|
86
86
|
// @ts-ignore
|
|
87
87
|
var common_1 = require("./common");
|
|
88
88
|
// @ts-ignore
|
|
89
89
|
var base_1 = require("./base");
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @export
|
|
93
|
-
* @enum {string}
|
|
94
|
-
*/
|
|
95
|
-
var ArticleStatus;
|
|
96
|
-
(function (ArticleStatus) {
|
|
97
|
-
ArticleStatus["Draft"] = "Draft";
|
|
98
|
-
ArticleStatus["Active"] = "Active";
|
|
99
|
-
ArticleStatus["Archived"] = "Archived";
|
|
100
|
-
})(ArticleStatus = exports.ArticleStatus || (exports.ArticleStatus = {}));
|
|
101
90
|
/**
|
|
102
91
|
*
|
|
103
92
|
* @export
|
|
@@ -1325,7 +1314,6 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1325
1314
|
* @param {string} [id]
|
|
1326
1315
|
* @param {string} [name]
|
|
1327
1316
|
* @param {string} [description]
|
|
1328
|
-
* @param {ArticleStatus} [status]
|
|
1329
1317
|
* @param {MarketingType} [marketingType]
|
|
1330
1318
|
* @param {string} [userId]
|
|
1331
1319
|
* @param {string} [userName]
|
|
@@ -1345,7 +1333,7 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1345
1333
|
* @param {*} [options] Override http request option.
|
|
1346
1334
|
* @throws {RequiredError}
|
|
1347
1335
|
*/
|
|
1348
|
-
apiV2ArticlesGet: function (id, name, description,
|
|
1336
|
+
apiV2ArticlesGet: function (id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1349
1337
|
if (options === void 0) { options = {}; }
|
|
1350
1338
|
return __awaiter(_this, void 0, void 0, function () {
|
|
1351
1339
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -1367,9 +1355,6 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
|
|
|
1367
1355
|
if (description !== undefined) {
|
|
1368
1356
|
localVarQueryParameter['Description'] = description;
|
|
1369
1357
|
}
|
|
1370
|
-
if (status !== undefined) {
|
|
1371
|
-
localVarQueryParameter['Status'] = status;
|
|
1372
|
-
}
|
|
1373
1358
|
if (marketingType !== undefined) {
|
|
1374
1359
|
localVarQueryParameter['MarketingType'] = marketingType;
|
|
1375
1360
|
}
|
|
@@ -1694,7 +1679,6 @@ var ArticlesApiFp = function (configuration) {
|
|
|
1694
1679
|
* @param {string} [id]
|
|
1695
1680
|
* @param {string} [name]
|
|
1696
1681
|
* @param {string} [description]
|
|
1697
|
-
* @param {ArticleStatus} [status]
|
|
1698
1682
|
* @param {MarketingType} [marketingType]
|
|
1699
1683
|
* @param {string} [userId]
|
|
1700
1684
|
* @param {string} [userName]
|
|
@@ -1714,12 +1698,12 @@ var ArticlesApiFp = function (configuration) {
|
|
|
1714
1698
|
* @param {*} [options] Override http request option.
|
|
1715
1699
|
* @throws {RequiredError}
|
|
1716
1700
|
*/
|
|
1717
|
-
apiV2ArticlesGet: function (id, name, description,
|
|
1701
|
+
apiV2ArticlesGet: function (id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1718
1702
|
return __awaiter(this, void 0, void 0, function () {
|
|
1719
1703
|
var localVarAxiosArgs;
|
|
1720
1704
|
return __generator(this, function (_a) {
|
|
1721
1705
|
switch (_a.label) {
|
|
1722
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesGet(id, name, description,
|
|
1706
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesGet(id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
|
|
1723
1707
|
case 1:
|
|
1724
1708
|
localVarAxiosArgs = _a.sent();
|
|
1725
1709
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -1882,7 +1866,6 @@ var ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1882
1866
|
* @param {string} [id]
|
|
1883
1867
|
* @param {string} [name]
|
|
1884
1868
|
* @param {string} [description]
|
|
1885
|
-
* @param {ArticleStatus} [status]
|
|
1886
1869
|
* @param {MarketingType} [marketingType]
|
|
1887
1870
|
* @param {string} [userId]
|
|
1888
1871
|
* @param {string} [userName]
|
|
@@ -1902,8 +1885,8 @@ var ArticlesApiFactory = function (configuration, basePath, axios) {
|
|
|
1902
1885
|
* @param {*} [options] Override http request option.
|
|
1903
1886
|
* @throws {RequiredError}
|
|
1904
1887
|
*/
|
|
1905
|
-
apiV2ArticlesGet: function (id, name, description,
|
|
1906
|
-
return localVarFp.apiV2ArticlesGet(id, name, description,
|
|
1888
|
+
apiV2ArticlesGet: function (id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
1889
|
+
return localVarFp.apiV2ArticlesGet(id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
1907
1890
|
},
|
|
1908
1891
|
/**
|
|
1909
1892
|
*
|
|
@@ -2072,7 +2055,6 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
2072
2055
|
* @param {string} [id]
|
|
2073
2056
|
* @param {string} [name]
|
|
2074
2057
|
* @param {string} [description]
|
|
2075
|
-
* @param {ArticleStatus} [status]
|
|
2076
2058
|
* @param {MarketingType} [marketingType]
|
|
2077
2059
|
* @param {string} [userId]
|
|
2078
2060
|
* @param {string} [userName]
|
|
@@ -2093,9 +2075,9 @@ var ArticlesApi = /** @class */ (function (_super) {
|
|
|
2093
2075
|
* @throws {RequiredError}
|
|
2094
2076
|
* @memberof ArticlesApi
|
|
2095
2077
|
*/
|
|
2096
|
-
ArticlesApi.prototype.apiV2ArticlesGet = function (id, name, description,
|
|
2078
|
+
ArticlesApi.prototype.apiV2ArticlesGet = function (id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
|
|
2097
2079
|
var _this = this;
|
|
2098
|
-
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesGet(id, name, description,
|
|
2080
|
+
return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesGet(id, name, description, marketingType, userId, userName, hospitalId, hospitalName, countryId, tag, exceptArticleId, exceptHospitalId, contributorId, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
2099
2081
|
};
|
|
2100
2082
|
/**
|
|
2101
2083
|
*
|
|
@@ -6377,6 +6359,98 @@ exports.DealsApi = DealsApi;
|
|
|
6377
6359
|
var DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
6378
6360
|
var _this = this;
|
|
6379
6361
|
return {
|
|
6362
|
+
/**
|
|
6363
|
+
*
|
|
6364
|
+
* @summary Get all DoctorAffiliationMedias.
|
|
6365
|
+
* @param {string} doctorAffiliationId
|
|
6366
|
+
* @param {string} [id]
|
|
6367
|
+
* @param {MediaType} [mediaType]
|
|
6368
|
+
* @param {number} [page]
|
|
6369
|
+
* @param {number} [limit]
|
|
6370
|
+
* @param {Date} [lastRetrieved]
|
|
6371
|
+
* @param {*} [options] Override http request option.
|
|
6372
|
+
* @throws {RequiredError}
|
|
6373
|
+
*/
|
|
6374
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet: function (doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
6375
|
+
if (options === void 0) { options = {}; }
|
|
6376
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
6377
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6378
|
+
return __generator(this, function (_a) {
|
|
6379
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
6380
|
+
(0, common_1.assertParamExists)('apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet', 'doctorAffiliationId', doctorAffiliationId);
|
|
6381
|
+
localVarPath = "/api/v2/doctoraffiliations/{doctorAffiliationId}/medias"
|
|
6382
|
+
.replace("{".concat("doctorAffiliationId", "}"), encodeURIComponent(String(doctorAffiliationId)));
|
|
6383
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6384
|
+
if (configuration) {
|
|
6385
|
+
baseOptions = configuration.baseOptions;
|
|
6386
|
+
}
|
|
6387
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
6388
|
+
localVarHeaderParameter = {};
|
|
6389
|
+
localVarQueryParameter = {};
|
|
6390
|
+
if (id !== undefined) {
|
|
6391
|
+
localVarQueryParameter['Id'] = id;
|
|
6392
|
+
}
|
|
6393
|
+
if (mediaType !== undefined) {
|
|
6394
|
+
localVarQueryParameter['MediaType'] = mediaType;
|
|
6395
|
+
}
|
|
6396
|
+
if (page !== undefined) {
|
|
6397
|
+
localVarQueryParameter['page'] = page;
|
|
6398
|
+
}
|
|
6399
|
+
if (limit !== undefined) {
|
|
6400
|
+
localVarQueryParameter['limit'] = limit;
|
|
6401
|
+
}
|
|
6402
|
+
if (lastRetrieved !== undefined) {
|
|
6403
|
+
localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
|
|
6404
|
+
lastRetrieved.toISOString() :
|
|
6405
|
+
lastRetrieved;
|
|
6406
|
+
}
|
|
6407
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6408
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6409
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6410
|
+
return [2 /*return*/, {
|
|
6411
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6412
|
+
options: localVarRequestOptions,
|
|
6413
|
+
}];
|
|
6414
|
+
});
|
|
6415
|
+
});
|
|
6416
|
+
},
|
|
6417
|
+
/**
|
|
6418
|
+
*
|
|
6419
|
+
* @summary Get DoctorAffiliationMedia.
|
|
6420
|
+
* @param {string} doctorAffiliationId
|
|
6421
|
+
* @param {string} mediaId
|
|
6422
|
+
* @param {*} [options] Override http request option.
|
|
6423
|
+
* @throws {RequiredError}
|
|
6424
|
+
*/
|
|
6425
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet: function (doctorAffiliationId, mediaId, options) {
|
|
6426
|
+
if (options === void 0) { options = {}; }
|
|
6427
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
6428
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
6429
|
+
return __generator(this, function (_a) {
|
|
6430
|
+
// verify required parameter 'doctorAffiliationId' is not null or undefined
|
|
6431
|
+
(0, common_1.assertParamExists)('apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet', 'doctorAffiliationId', doctorAffiliationId);
|
|
6432
|
+
// verify required parameter 'mediaId' is not null or undefined
|
|
6433
|
+
(0, common_1.assertParamExists)('apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet', 'mediaId', mediaId);
|
|
6434
|
+
localVarPath = "/api/v2/doctoraffiliations/{doctorAffiliationId}/medias/{mediaId}"
|
|
6435
|
+
.replace("{".concat("doctorAffiliationId", "}"), encodeURIComponent(String(doctorAffiliationId)))
|
|
6436
|
+
.replace("{".concat("mediaId", "}"), encodeURIComponent(String(mediaId)));
|
|
6437
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
6438
|
+
if (configuration) {
|
|
6439
|
+
baseOptions = configuration.baseOptions;
|
|
6440
|
+
}
|
|
6441
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
6442
|
+
localVarHeaderParameter = {};
|
|
6443
|
+
localVarQueryParameter = {};
|
|
6444
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
6445
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6446
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
6447
|
+
return [2 /*return*/, {
|
|
6448
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
6449
|
+
options: localVarRequestOptions,
|
|
6450
|
+
}];
|
|
6451
|
+
});
|
|
6452
|
+
});
|
|
6453
|
+
},
|
|
6380
6454
|
/**
|
|
6381
6455
|
*
|
|
6382
6456
|
* @summary Get all doctor affiliations.
|
|
@@ -6539,6 +6613,52 @@ exports.DoctorAffiliationsApiAxiosParamCreator = DoctorAffiliationsApiAxiosParam
|
|
|
6539
6613
|
var DoctorAffiliationsApiFp = function (configuration) {
|
|
6540
6614
|
var localVarAxiosParamCreator = (0, exports.DoctorAffiliationsApiAxiosParamCreator)(configuration);
|
|
6541
6615
|
return {
|
|
6616
|
+
/**
|
|
6617
|
+
*
|
|
6618
|
+
* @summary Get all DoctorAffiliationMedias.
|
|
6619
|
+
* @param {string} doctorAffiliationId
|
|
6620
|
+
* @param {string} [id]
|
|
6621
|
+
* @param {MediaType} [mediaType]
|
|
6622
|
+
* @param {number} [page]
|
|
6623
|
+
* @param {number} [limit]
|
|
6624
|
+
* @param {Date} [lastRetrieved]
|
|
6625
|
+
* @param {*} [options] Override http request option.
|
|
6626
|
+
* @throws {RequiredError}
|
|
6627
|
+
*/
|
|
6628
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet: function (doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
6629
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6630
|
+
var localVarAxiosArgs;
|
|
6631
|
+
return __generator(this, function (_a) {
|
|
6632
|
+
switch (_a.label) {
|
|
6633
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options)];
|
|
6634
|
+
case 1:
|
|
6635
|
+
localVarAxiosArgs = _a.sent();
|
|
6636
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
6637
|
+
}
|
|
6638
|
+
});
|
|
6639
|
+
});
|
|
6640
|
+
},
|
|
6641
|
+
/**
|
|
6642
|
+
*
|
|
6643
|
+
* @summary Get DoctorAffiliationMedia.
|
|
6644
|
+
* @param {string} doctorAffiliationId
|
|
6645
|
+
* @param {string} mediaId
|
|
6646
|
+
* @param {*} [options] Override http request option.
|
|
6647
|
+
* @throws {RequiredError}
|
|
6648
|
+
*/
|
|
6649
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet: function (doctorAffiliationId, mediaId, options) {
|
|
6650
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
6651
|
+
var localVarAxiosArgs;
|
|
6652
|
+
return __generator(this, function (_a) {
|
|
6653
|
+
switch (_a.label) {
|
|
6654
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options)];
|
|
6655
|
+
case 1:
|
|
6656
|
+
localVarAxiosArgs = _a.sent();
|
|
6657
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
6658
|
+
}
|
|
6659
|
+
});
|
|
6660
|
+
});
|
|
6661
|
+
},
|
|
6542
6662
|
/**
|
|
6543
6663
|
*
|
|
6544
6664
|
* @summary Get all doctor affiliations.
|
|
@@ -6621,6 +6741,32 @@ exports.DoctorAffiliationsApiFp = DoctorAffiliationsApiFp;
|
|
|
6621
6741
|
var DoctorAffiliationsApiFactory = function (configuration, basePath, axios) {
|
|
6622
6742
|
var localVarFp = (0, exports.DoctorAffiliationsApiFp)(configuration);
|
|
6623
6743
|
return {
|
|
6744
|
+
/**
|
|
6745
|
+
*
|
|
6746
|
+
* @summary Get all DoctorAffiliationMedias.
|
|
6747
|
+
* @param {string} doctorAffiliationId
|
|
6748
|
+
* @param {string} [id]
|
|
6749
|
+
* @param {MediaType} [mediaType]
|
|
6750
|
+
* @param {number} [page]
|
|
6751
|
+
* @param {number} [limit]
|
|
6752
|
+
* @param {Date} [lastRetrieved]
|
|
6753
|
+
* @param {*} [options] Override http request option.
|
|
6754
|
+
* @throws {RequiredError}
|
|
6755
|
+
*/
|
|
6756
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet: function (doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
6757
|
+
return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
6758
|
+
},
|
|
6759
|
+
/**
|
|
6760
|
+
*
|
|
6761
|
+
* @summary Get DoctorAffiliationMedia.
|
|
6762
|
+
* @param {string} doctorAffiliationId
|
|
6763
|
+
* @param {string} mediaId
|
|
6764
|
+
* @param {*} [options] Override http request option.
|
|
6765
|
+
* @throws {RequiredError}
|
|
6766
|
+
*/
|
|
6767
|
+
apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet: function (doctorAffiliationId, mediaId, options) {
|
|
6768
|
+
return localVarFp.apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then(function (request) { return request(axios, basePath); });
|
|
6769
|
+
},
|
|
6624
6770
|
/**
|
|
6625
6771
|
*
|
|
6626
6772
|
* @summary Get all doctor affiliations.
|
|
@@ -6677,6 +6823,36 @@ var DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
|
6677
6823
|
function DoctorAffiliationsApi() {
|
|
6678
6824
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
6679
6825
|
}
|
|
6826
|
+
/**
|
|
6827
|
+
*
|
|
6828
|
+
* @summary Get all DoctorAffiliationMedias.
|
|
6829
|
+
* @param {string} doctorAffiliationId
|
|
6830
|
+
* @param {string} [id]
|
|
6831
|
+
* @param {MediaType} [mediaType]
|
|
6832
|
+
* @param {number} [page]
|
|
6833
|
+
* @param {number} [limit]
|
|
6834
|
+
* @param {Date} [lastRetrieved]
|
|
6835
|
+
* @param {*} [options] Override http request option.
|
|
6836
|
+
* @throws {RequiredError}
|
|
6837
|
+
* @memberof DoctorAffiliationsApi
|
|
6838
|
+
*/
|
|
6839
|
+
DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet = function (doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options) {
|
|
6840
|
+
var _this = this;
|
|
6841
|
+
return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdMediasGet(doctorAffiliationId, id, mediaType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6842
|
+
};
|
|
6843
|
+
/**
|
|
6844
|
+
*
|
|
6845
|
+
* @summary Get DoctorAffiliationMedia.
|
|
6846
|
+
* @param {string} doctorAffiliationId
|
|
6847
|
+
* @param {string} mediaId
|
|
6848
|
+
* @param {*} [options] Override http request option.
|
|
6849
|
+
* @throws {RequiredError}
|
|
6850
|
+
* @memberof DoctorAffiliationsApi
|
|
6851
|
+
*/
|
|
6852
|
+
DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet = function (doctorAffiliationId, mediaId, options) {
|
|
6853
|
+
var _this = this;
|
|
6854
|
+
return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsDoctorAffiliationIdMediasMediaIdGet(doctorAffiliationId, mediaId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
6855
|
+
};
|
|
6680
6856
|
/**
|
|
6681
6857
|
*
|
|
6682
6858
|
* @summary Get all doctor affiliations.
|
|
@@ -9602,10 +9778,11 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
|
|
|
9602
9778
|
*
|
|
9603
9779
|
* @param {string} dealId
|
|
9604
9780
|
* @param {string} [hospitalId]
|
|
9781
|
+
* @param {boolean} [isExternal]
|
|
9605
9782
|
* @param {*} [options] Override http request option.
|
|
9606
9783
|
* @throws {RequiredError}
|
|
9607
9784
|
*/
|
|
9608
|
-
apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, options) {
|
|
9785
|
+
apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, isExternal, options) {
|
|
9609
9786
|
if (options === void 0) { options = {}; }
|
|
9610
9787
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9611
9788
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9633,6 +9810,9 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
|
|
|
9633
9810
|
if (hospitalId !== undefined) {
|
|
9634
9811
|
localVarQueryParameter['hospitalId'] = hospitalId;
|
|
9635
9812
|
}
|
|
9813
|
+
if (isExternal !== undefined) {
|
|
9814
|
+
localVarQueryParameter['isExternal'] = isExternal;
|
|
9815
|
+
}
|
|
9636
9816
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9637
9817
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9638
9818
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9648,10 +9828,11 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
|
|
|
9648
9828
|
*
|
|
9649
9829
|
* @param {string} doctorId
|
|
9650
9830
|
* @param {string} [hospitalId]
|
|
9831
|
+
* @param {boolean} [isExternal]
|
|
9651
9832
|
* @param {*} [options] Override http request option.
|
|
9652
9833
|
* @throws {RequiredError}
|
|
9653
9834
|
*/
|
|
9654
|
-
apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, options) {
|
|
9835
|
+
apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, isExternal, options) {
|
|
9655
9836
|
if (options === void 0) { options = {}; }
|
|
9656
9837
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9657
9838
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9679,6 +9860,9 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
|
|
|
9679
9860
|
if (hospitalId !== undefined) {
|
|
9680
9861
|
localVarQueryParameter['hospitalId'] = hospitalId;
|
|
9681
9862
|
}
|
|
9863
|
+
if (isExternal !== undefined) {
|
|
9864
|
+
localVarQueryParameter['isExternal'] = isExternal;
|
|
9865
|
+
}
|
|
9682
9866
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9683
9867
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9684
9868
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9693,10 +9877,11 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
|
|
|
9693
9877
|
/**
|
|
9694
9878
|
*
|
|
9695
9879
|
* @param {string} hospitalId
|
|
9880
|
+
* @param {boolean} [isExternal]
|
|
9696
9881
|
* @param {*} [options] Override http request option.
|
|
9697
9882
|
* @throws {RequiredError}
|
|
9698
9883
|
*/
|
|
9699
|
-
apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, options) {
|
|
9884
|
+
apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, isExternal, options) {
|
|
9700
9885
|
if (options === void 0) { options = {}; }
|
|
9701
9886
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9702
9887
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9721,6 +9906,9 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
|
|
|
9721
9906
|
// authentication oauth2 required
|
|
9722
9907
|
// oauth required
|
|
9723
9908
|
_a.sent();
|
|
9909
|
+
if (isExternal !== undefined) {
|
|
9910
|
+
localVarQueryParameter['isExternal'] = isExternal;
|
|
9911
|
+
}
|
|
9724
9912
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9725
9913
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9726
9914
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9766,15 +9954,16 @@ var GroupChannelsApiFp = function (configuration) {
|
|
|
9766
9954
|
*
|
|
9767
9955
|
* @param {string} dealId
|
|
9768
9956
|
* @param {string} [hospitalId]
|
|
9957
|
+
* @param {boolean} [isExternal]
|
|
9769
9958
|
* @param {*} [options] Override http request option.
|
|
9770
9959
|
* @throws {RequiredError}
|
|
9771
9960
|
*/
|
|
9772
|
-
apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, options) {
|
|
9961
|
+
apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, isExternal, options) {
|
|
9773
9962
|
return __awaiter(this, void 0, void 0, function () {
|
|
9774
9963
|
var localVarAxiosArgs;
|
|
9775
9964
|
return __generator(this, function (_a) {
|
|
9776
9965
|
switch (_a.label) {
|
|
9777
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options)];
|
|
9966
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options)];
|
|
9778
9967
|
case 1:
|
|
9779
9968
|
localVarAxiosArgs = _a.sent();
|
|
9780
9969
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -9786,15 +9975,16 @@ var GroupChannelsApiFp = function (configuration) {
|
|
|
9786
9975
|
*
|
|
9787
9976
|
* @param {string} doctorId
|
|
9788
9977
|
* @param {string} [hospitalId]
|
|
9978
|
+
* @param {boolean} [isExternal]
|
|
9789
9979
|
* @param {*} [options] Override http request option.
|
|
9790
9980
|
* @throws {RequiredError}
|
|
9791
9981
|
*/
|
|
9792
|
-
apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, options) {
|
|
9982
|
+
apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, isExternal, options) {
|
|
9793
9983
|
return __awaiter(this, void 0, void 0, function () {
|
|
9794
9984
|
var localVarAxiosArgs;
|
|
9795
9985
|
return __generator(this, function (_a) {
|
|
9796
9986
|
switch (_a.label) {
|
|
9797
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options)];
|
|
9987
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options)];
|
|
9798
9988
|
case 1:
|
|
9799
9989
|
localVarAxiosArgs = _a.sent();
|
|
9800
9990
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -9805,15 +9995,16 @@ var GroupChannelsApiFp = function (configuration) {
|
|
|
9805
9995
|
/**
|
|
9806
9996
|
*
|
|
9807
9997
|
* @param {string} hospitalId
|
|
9998
|
+
* @param {boolean} [isExternal]
|
|
9808
9999
|
* @param {*} [options] Override http request option.
|
|
9809
10000
|
* @throws {RequiredError}
|
|
9810
10001
|
*/
|
|
9811
|
-
apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, options) {
|
|
10002
|
+
apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, isExternal, options) {
|
|
9812
10003
|
return __awaiter(this, void 0, void 0, function () {
|
|
9813
10004
|
var localVarAxiosArgs;
|
|
9814
10005
|
return __generator(this, function (_a) {
|
|
9815
10006
|
switch (_a.label) {
|
|
9816
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options)];
|
|
10007
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options)];
|
|
9817
10008
|
case 1:
|
|
9818
10009
|
localVarAxiosArgs = _a.sent();
|
|
9819
10010
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -9845,30 +10036,33 @@ var GroupChannelsApiFactory = function (configuration, basePath, axios) {
|
|
|
9845
10036
|
*
|
|
9846
10037
|
* @param {string} dealId
|
|
9847
10038
|
* @param {string} [hospitalId]
|
|
10039
|
+
* @param {boolean} [isExternal]
|
|
9848
10040
|
* @param {*} [options] Override http request option.
|
|
9849
10041
|
* @throws {RequiredError}
|
|
9850
10042
|
*/
|
|
9851
|
-
apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, options) {
|
|
9852
|
-
return localVarFp.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
10043
|
+
apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, isExternal, options) {
|
|
10044
|
+
return localVarFp.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options).then(function (request) { return request(axios, basePath); });
|
|
9853
10045
|
},
|
|
9854
10046
|
/**
|
|
9855
10047
|
*
|
|
9856
10048
|
* @param {string} doctorId
|
|
9857
10049
|
* @param {string} [hospitalId]
|
|
10050
|
+
* @param {boolean} [isExternal]
|
|
9858
10051
|
* @param {*} [options] Override http request option.
|
|
9859
10052
|
* @throws {RequiredError}
|
|
9860
10053
|
*/
|
|
9861
|
-
apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, options) {
|
|
9862
|
-
return localVarFp.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
10054
|
+
apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, isExternal, options) {
|
|
10055
|
+
return localVarFp.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options).then(function (request) { return request(axios, basePath); });
|
|
9863
10056
|
},
|
|
9864
10057
|
/**
|
|
9865
10058
|
*
|
|
9866
10059
|
* @param {string} hospitalId
|
|
10060
|
+
* @param {boolean} [isExternal]
|
|
9867
10061
|
* @param {*} [options] Override http request option.
|
|
9868
10062
|
* @throws {RequiredError}
|
|
9869
10063
|
*/
|
|
9870
|
-
apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, options) {
|
|
9871
|
-
return localVarFp.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
10064
|
+
apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, isExternal, options) {
|
|
10065
|
+
return localVarFp.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options).then(function (request) { return request(axios, basePath); });
|
|
9872
10066
|
},
|
|
9873
10067
|
};
|
|
9874
10068
|
};
|
|
@@ -9900,36 +10094,39 @@ var GroupChannelsApi = /** @class */ (function (_super) {
|
|
|
9900
10094
|
*
|
|
9901
10095
|
* @param {string} dealId
|
|
9902
10096
|
* @param {string} [hospitalId]
|
|
10097
|
+
* @param {boolean} [isExternal]
|
|
9903
10098
|
* @param {*} [options] Override http request option.
|
|
9904
10099
|
* @throws {RequiredError}
|
|
9905
10100
|
* @memberof GroupChannelsApi
|
|
9906
10101
|
*/
|
|
9907
|
-
GroupChannelsApi.prototype.apiV2GroupchannelsDealDealIdGet = function (dealId, hospitalId, options) {
|
|
10102
|
+
GroupChannelsApi.prototype.apiV2GroupchannelsDealDealIdGet = function (dealId, hospitalId, isExternal, options) {
|
|
9908
10103
|
var _this = this;
|
|
9909
|
-
return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10104
|
+
return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9910
10105
|
};
|
|
9911
10106
|
/**
|
|
9912
10107
|
*
|
|
9913
10108
|
* @param {string} doctorId
|
|
9914
10109
|
* @param {string} [hospitalId]
|
|
10110
|
+
* @param {boolean} [isExternal]
|
|
9915
10111
|
* @param {*} [options] Override http request option.
|
|
9916
10112
|
* @throws {RequiredError}
|
|
9917
10113
|
* @memberof GroupChannelsApi
|
|
9918
10114
|
*/
|
|
9919
|
-
GroupChannelsApi.prototype.apiV2GroupchannelsDoctorDoctorIdGet = function (doctorId, hospitalId, options) {
|
|
10115
|
+
GroupChannelsApi.prototype.apiV2GroupchannelsDoctorDoctorIdGet = function (doctorId, hospitalId, isExternal, options) {
|
|
9920
10116
|
var _this = this;
|
|
9921
|
-
return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10117
|
+
return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9922
10118
|
};
|
|
9923
10119
|
/**
|
|
9924
10120
|
*
|
|
9925
10121
|
* @param {string} hospitalId
|
|
10122
|
+
* @param {boolean} [isExternal]
|
|
9926
10123
|
* @param {*} [options] Override http request option.
|
|
9927
10124
|
* @throws {RequiredError}
|
|
9928
10125
|
* @memberof GroupChannelsApi
|
|
9929
10126
|
*/
|
|
9930
|
-
GroupChannelsApi.prototype.apiV2GroupchannelsHospitalHospitalIdGet = function (hospitalId, options) {
|
|
10127
|
+
GroupChannelsApi.prototype.apiV2GroupchannelsHospitalHospitalIdGet = function (hospitalId, isExternal, options) {
|
|
9931
10128
|
var _this = this;
|
|
9932
|
-
return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10129
|
+
return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
9933
10130
|
};
|
|
9934
10131
|
return GroupChannelsApi;
|
|
9935
10132
|
}(base_1.BaseAPI));
|
|
@@ -10681,13 +10878,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10681
10878
|
* @param {string} [slug]
|
|
10682
10879
|
* @param {MarketingType} [marketingType]
|
|
10683
10880
|
* @param {string} [languageCode]
|
|
10881
|
+
* @param {boolean} [showHidden]
|
|
10684
10882
|
* @param {number} [page]
|
|
10685
10883
|
* @param {number} [limit]
|
|
10686
10884
|
* @param {Date} [lastRetrieved]
|
|
10687
10885
|
* @param {*} [options] Override http request option.
|
|
10688
10886
|
* @throws {RequiredError}
|
|
10689
10887
|
*/
|
|
10690
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
10888
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
10691
10889
|
if (options === void 0) { options = {}; }
|
|
10692
10890
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10693
10891
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10730,6 +10928,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10730
10928
|
if (languageCode !== undefined) {
|
|
10731
10929
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
10732
10930
|
}
|
|
10931
|
+
if (showHidden !== undefined) {
|
|
10932
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
10933
|
+
}
|
|
10733
10934
|
if (page !== undefined) {
|
|
10734
10935
|
localVarQueryParameter['page'] = page;
|
|
10735
10936
|
}
|
|
@@ -10864,13 +11065,14 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10864
11065
|
* @param {string} [slug]
|
|
10865
11066
|
* @param {MarketingType} [marketingType]
|
|
10866
11067
|
* @param {string} [languageCode]
|
|
11068
|
+
* @param {boolean} [showHidden]
|
|
10867
11069
|
* @param {number} [page]
|
|
10868
11070
|
* @param {number} [limit]
|
|
10869
11071
|
* @param {Date} [lastRetrieved]
|
|
10870
11072
|
* @param {*} [options] Override http request option.
|
|
10871
11073
|
* @throws {RequiredError}
|
|
10872
11074
|
*/
|
|
10873
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
11075
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
10874
11076
|
if (options === void 0) { options = {}; }
|
|
10875
11077
|
return __awaiter(_this, void 0, void 0, function () {
|
|
10876
11078
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -10913,6 +11115,9 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
|
|
|
10913
11115
|
if (languageCode !== undefined) {
|
|
10914
11116
|
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
10915
11117
|
}
|
|
11118
|
+
if (showHidden !== undefined) {
|
|
11119
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
11120
|
+
}
|
|
10916
11121
|
if (page !== undefined) {
|
|
10917
11122
|
localVarQueryParameter['page'] = page;
|
|
10918
11123
|
}
|
|
@@ -11871,18 +12076,19 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11871
12076
|
* @param {string} [slug]
|
|
11872
12077
|
* @param {MarketingType} [marketingType]
|
|
11873
12078
|
* @param {string} [languageCode]
|
|
12079
|
+
* @param {boolean} [showHidden]
|
|
11874
12080
|
* @param {number} [page]
|
|
11875
12081
|
* @param {number} [limit]
|
|
11876
12082
|
* @param {Date} [lastRetrieved]
|
|
11877
12083
|
* @param {*} [options] Override http request option.
|
|
11878
12084
|
* @throws {RequiredError}
|
|
11879
12085
|
*/
|
|
11880
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12086
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
11881
12087
|
return __awaiter(this, void 0, void 0, function () {
|
|
11882
12088
|
var localVarAxiosArgs;
|
|
11883
12089
|
return __generator(this, function (_a) {
|
|
11884
12090
|
switch (_a.label) {
|
|
11885
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
12091
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
11886
12092
|
case 1:
|
|
11887
12093
|
localVarAxiosArgs = _a.sent();
|
|
11888
12094
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -11951,18 +12157,19 @@ var HospitalsApiFp = function (configuration) {
|
|
|
11951
12157
|
* @param {string} [slug]
|
|
11952
12158
|
* @param {MarketingType} [marketingType]
|
|
11953
12159
|
* @param {string} [languageCode]
|
|
12160
|
+
* @param {boolean} [showHidden]
|
|
11954
12161
|
* @param {number} [page]
|
|
11955
12162
|
* @param {number} [limit]
|
|
11956
12163
|
* @param {Date} [lastRetrieved]
|
|
11957
12164
|
* @param {*} [options] Override http request option.
|
|
11958
12165
|
* @throws {RequiredError}
|
|
11959
12166
|
*/
|
|
11960
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12167
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
11961
12168
|
return __awaiter(this, void 0, void 0, function () {
|
|
11962
12169
|
var localVarAxiosArgs;
|
|
11963
12170
|
return __generator(this, function (_a) {
|
|
11964
12171
|
switch (_a.label) {
|
|
11965
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options)];
|
|
12172
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
11966
12173
|
case 1:
|
|
11967
12174
|
localVarAxiosArgs = _a.sent();
|
|
11968
12175
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -12450,14 +12657,15 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12450
12657
|
* @param {string} [slug]
|
|
12451
12658
|
* @param {MarketingType} [marketingType]
|
|
12452
12659
|
* @param {string} [languageCode]
|
|
12660
|
+
* @param {boolean} [showHidden]
|
|
12453
12661
|
* @param {number} [page]
|
|
12454
12662
|
* @param {number} [limit]
|
|
12455
12663
|
* @param {Date} [lastRetrieved]
|
|
12456
12664
|
* @param {*} [options] Override http request option.
|
|
12457
12665
|
* @throws {RequiredError}
|
|
12458
12666
|
*/
|
|
12459
|
-
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12460
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12667
|
+
apiV2HospitalsHospitalIdSpecialtiesGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12668
|
+
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); });
|
|
12461
12669
|
},
|
|
12462
12670
|
/**
|
|
12463
12671
|
*
|
|
@@ -12500,14 +12708,15 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
|
|
|
12500
12708
|
* @param {string} [slug]
|
|
12501
12709
|
* @param {MarketingType} [marketingType]
|
|
12502
12710
|
* @param {string} [languageCode]
|
|
12711
|
+
* @param {boolean} [showHidden]
|
|
12503
12712
|
* @param {number} [page]
|
|
12504
12713
|
* @param {number} [limit]
|
|
12505
12714
|
* @param {Date} [lastRetrieved]
|
|
12506
12715
|
* @param {*} [options] Override http request option.
|
|
12507
12716
|
* @throws {RequiredError}
|
|
12508
12717
|
*/
|
|
12509
|
-
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
12510
|
-
return localVarFp.apiV2HospitalsHospitalIdSpecialtiesSimpleGet(hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12718
|
+
apiV2HospitalsHospitalIdSpecialtiesSimpleGet: function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12719
|
+
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); });
|
|
12511
12720
|
},
|
|
12512
12721
|
/**
|
|
12513
12722
|
*
|
|
@@ -12921,6 +13130,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12921
13130
|
* @param {string} [slug]
|
|
12922
13131
|
* @param {MarketingType} [marketingType]
|
|
12923
13132
|
* @param {string} [languageCode]
|
|
13133
|
+
* @param {boolean} [showHidden]
|
|
12924
13134
|
* @param {number} [page]
|
|
12925
13135
|
* @param {number} [limit]
|
|
12926
13136
|
* @param {Date} [lastRetrieved]
|
|
@@ -12928,9 +13138,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12928
13138
|
* @throws {RequiredError}
|
|
12929
13139
|
* @memberof HospitalsApi
|
|
12930
13140
|
*/
|
|
12931
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
13141
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12932
13142
|
var _this = this;
|
|
12933
|
-
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); });
|
|
13143
|
+
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); });
|
|
12934
13144
|
};
|
|
12935
13145
|
/**
|
|
12936
13146
|
*
|
|
@@ -12977,6 +13187,7 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12977
13187
|
* @param {string} [slug]
|
|
12978
13188
|
* @param {MarketingType} [marketingType]
|
|
12979
13189
|
* @param {string} [languageCode]
|
|
13190
|
+
* @param {boolean} [showHidden]
|
|
12980
13191
|
* @param {number} [page]
|
|
12981
13192
|
* @param {number} [limit]
|
|
12982
13193
|
* @param {Date} [lastRetrieved]
|
|
@@ -12984,9 +13195,9 @@ var HospitalsApi = /** @class */ (function (_super) {
|
|
|
12984
13195
|
* @throws {RequiredError}
|
|
12985
13196
|
* @memberof HospitalsApi
|
|
12986
13197
|
*/
|
|
12987
|
-
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, page, limit, lastRetrieved, options) {
|
|
13198
|
+
HospitalsApi.prototype.apiV2HospitalsHospitalIdSpecialtiesSimpleGet = function (hospitalId, specialtyId, specialtyName, specialtyTypeId, specialtyTypeName, hospitalSpecialtyId, name, slug, marketingType, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12988
13199
|
var _this = this;
|
|
12989
|
-
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); });
|
|
13200
|
+
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); });
|
|
12990
13201
|
};
|
|
12991
13202
|
/**
|
|
12992
13203
|
*
|