ch-api-client-typescript2 4.1.1 → 4.1.6
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 +132 -12
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +171 -24
- package/package.json +1 -1
- package/src/api.ts +201 -21
package/lib/api.js
CHANGED
|
@@ -78,9 +78,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
78
78
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
79
79
|
};
|
|
80
80
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
81
|
-
exports.
|
|
82
|
-
exports.
|
|
83
|
-
exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = void 0;
|
|
81
|
+
exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AppVersionApi = exports.AppVersionApiFactory = exports.AppVersionApiFp = exports.AppVersionApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SortingOrder = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.Platform = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = void 0;
|
|
82
|
+
exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DoctorAffiliationsApi = exports.DoctorAffiliationsApiFactory = exports.DoctorAffiliationsApiFp = exports.DoctorAffiliationsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = void 0;
|
|
83
|
+
exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = void 0;
|
|
84
84
|
var axios_1 = __importDefault(require("axios"));
|
|
85
85
|
// Some imports not used depending on template conditions
|
|
86
86
|
// @ts-ignore
|
|
@@ -205,6 +205,17 @@ var NotificationCode;
|
|
|
205
205
|
NotificationCode["ConsultationRefunded"] = "ConsultationRefunded";
|
|
206
206
|
NotificationCode["ConsultationReady"] = "ConsultationReady";
|
|
207
207
|
})(NotificationCode = exports.NotificationCode || (exports.NotificationCode = {}));
|
|
208
|
+
/**
|
|
209
|
+
*
|
|
210
|
+
* @export
|
|
211
|
+
* @enum {string}
|
|
212
|
+
*/
|
|
213
|
+
var Platform;
|
|
214
|
+
(function (Platform) {
|
|
215
|
+
Platform["Web"] = "Web";
|
|
216
|
+
Platform["IOs"] = "iOS";
|
|
217
|
+
Platform["Android"] = "Android";
|
|
218
|
+
})(Platform = exports.Platform || (exports.Platform = {}));
|
|
208
219
|
/**
|
|
209
220
|
*
|
|
210
221
|
* @export
|
|
@@ -884,6 +895,121 @@ var AccreditationsApi = /** @class */ (function (_super) {
|
|
|
884
895
|
return AccreditationsApi;
|
|
885
896
|
}(base_1.BaseAPI));
|
|
886
897
|
exports.AccreditationsApi = AccreditationsApi;
|
|
898
|
+
/**
|
|
899
|
+
* AppVersionApi - axios parameter creator
|
|
900
|
+
* @export
|
|
901
|
+
*/
|
|
902
|
+
var AppVersionApiAxiosParamCreator = function (configuration) {
|
|
903
|
+
var _this = this;
|
|
904
|
+
return {
|
|
905
|
+
/**
|
|
906
|
+
*
|
|
907
|
+
* @param {Platform} platform
|
|
908
|
+
* @param {*} [options] Override http request option.
|
|
909
|
+
* @throws {RequiredError}
|
|
910
|
+
*/
|
|
911
|
+
apiV2AppversionPlatformGet: function (platform, options) {
|
|
912
|
+
if (options === void 0) { options = {}; }
|
|
913
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
914
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
915
|
+
return __generator(this, function (_a) {
|
|
916
|
+
// verify required parameter 'platform' is not null or undefined
|
|
917
|
+
(0, common_1.assertParamExists)('apiV2AppversionPlatformGet', 'platform', platform);
|
|
918
|
+
localVarPath = "/api/v2/appversion/{platform}"
|
|
919
|
+
.replace("{".concat("platform", "}"), encodeURIComponent(String(platform)));
|
|
920
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
921
|
+
if (configuration) {
|
|
922
|
+
baseOptions = configuration.baseOptions;
|
|
923
|
+
}
|
|
924
|
+
localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
|
|
925
|
+
localVarHeaderParameter = {};
|
|
926
|
+
localVarQueryParameter = {};
|
|
927
|
+
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
928
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
929
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
930
|
+
return [2 /*return*/, {
|
|
931
|
+
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
932
|
+
options: localVarRequestOptions,
|
|
933
|
+
}];
|
|
934
|
+
});
|
|
935
|
+
});
|
|
936
|
+
},
|
|
937
|
+
};
|
|
938
|
+
};
|
|
939
|
+
exports.AppVersionApiAxiosParamCreator = AppVersionApiAxiosParamCreator;
|
|
940
|
+
/**
|
|
941
|
+
* AppVersionApi - functional programming interface
|
|
942
|
+
* @export
|
|
943
|
+
*/
|
|
944
|
+
var AppVersionApiFp = function (configuration) {
|
|
945
|
+
var localVarAxiosParamCreator = (0, exports.AppVersionApiAxiosParamCreator)(configuration);
|
|
946
|
+
return {
|
|
947
|
+
/**
|
|
948
|
+
*
|
|
949
|
+
* @param {Platform} platform
|
|
950
|
+
* @param {*} [options] Override http request option.
|
|
951
|
+
* @throws {RequiredError}
|
|
952
|
+
*/
|
|
953
|
+
apiV2AppversionPlatformGet: function (platform, options) {
|
|
954
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
955
|
+
var localVarAxiosArgs;
|
|
956
|
+
return __generator(this, function (_a) {
|
|
957
|
+
switch (_a.label) {
|
|
958
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2AppversionPlatformGet(platform, options)];
|
|
959
|
+
case 1:
|
|
960
|
+
localVarAxiosArgs = _a.sent();
|
|
961
|
+
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
962
|
+
}
|
|
963
|
+
});
|
|
964
|
+
});
|
|
965
|
+
},
|
|
966
|
+
};
|
|
967
|
+
};
|
|
968
|
+
exports.AppVersionApiFp = AppVersionApiFp;
|
|
969
|
+
/**
|
|
970
|
+
* AppVersionApi - factory interface
|
|
971
|
+
* @export
|
|
972
|
+
*/
|
|
973
|
+
var AppVersionApiFactory = function (configuration, basePath, axios) {
|
|
974
|
+
var localVarFp = (0, exports.AppVersionApiFp)(configuration);
|
|
975
|
+
return {
|
|
976
|
+
/**
|
|
977
|
+
*
|
|
978
|
+
* @param {Platform} platform
|
|
979
|
+
* @param {*} [options] Override http request option.
|
|
980
|
+
* @throws {RequiredError}
|
|
981
|
+
*/
|
|
982
|
+
apiV2AppversionPlatformGet: function (platform, options) {
|
|
983
|
+
return localVarFp.apiV2AppversionPlatformGet(platform, options).then(function (request) { return request(axios, basePath); });
|
|
984
|
+
},
|
|
985
|
+
};
|
|
986
|
+
};
|
|
987
|
+
exports.AppVersionApiFactory = AppVersionApiFactory;
|
|
988
|
+
/**
|
|
989
|
+
* AppVersionApi - object-oriented interface
|
|
990
|
+
* @export
|
|
991
|
+
* @class AppVersionApi
|
|
992
|
+
* @extends {BaseAPI}
|
|
993
|
+
*/
|
|
994
|
+
var AppVersionApi = /** @class */ (function (_super) {
|
|
995
|
+
__extends(AppVersionApi, _super);
|
|
996
|
+
function AppVersionApi() {
|
|
997
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
998
|
+
}
|
|
999
|
+
/**
|
|
1000
|
+
*
|
|
1001
|
+
* @param {Platform} platform
|
|
1002
|
+
* @param {*} [options] Override http request option.
|
|
1003
|
+
* @throws {RequiredError}
|
|
1004
|
+
* @memberof AppVersionApi
|
|
1005
|
+
*/
|
|
1006
|
+
AppVersionApi.prototype.apiV2AppversionPlatformGet = function (platform, options) {
|
|
1007
|
+
var _this = this;
|
|
1008
|
+
return (0, exports.AppVersionApiFp)(this.configuration).apiV2AppversionPlatformGet(platform, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
1009
|
+
};
|
|
1010
|
+
return AppVersionApi;
|
|
1011
|
+
}(base_1.BaseAPI));
|
|
1012
|
+
exports.AppVersionApi = AppVersionApi;
|
|
887
1013
|
/**
|
|
888
1014
|
* ArticlesApi - axios parameter creator
|
|
889
1015
|
* @export
|
|
@@ -9778,10 +9904,11 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
|
|
|
9778
9904
|
*
|
|
9779
9905
|
* @param {string} dealId
|
|
9780
9906
|
* @param {string} [hospitalId]
|
|
9907
|
+
* @param {boolean} [isExternal]
|
|
9781
9908
|
* @param {*} [options] Override http request option.
|
|
9782
9909
|
* @throws {RequiredError}
|
|
9783
9910
|
*/
|
|
9784
|
-
apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, options) {
|
|
9911
|
+
apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, isExternal, options) {
|
|
9785
9912
|
if (options === void 0) { options = {}; }
|
|
9786
9913
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9787
9914
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9809,6 +9936,9 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
|
|
|
9809
9936
|
if (hospitalId !== undefined) {
|
|
9810
9937
|
localVarQueryParameter['hospitalId'] = hospitalId;
|
|
9811
9938
|
}
|
|
9939
|
+
if (isExternal !== undefined) {
|
|
9940
|
+
localVarQueryParameter['isExternal'] = isExternal;
|
|
9941
|
+
}
|
|
9812
9942
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9813
9943
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9814
9944
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9824,10 +9954,11 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
|
|
|
9824
9954
|
*
|
|
9825
9955
|
* @param {string} doctorId
|
|
9826
9956
|
* @param {string} [hospitalId]
|
|
9957
|
+
* @param {boolean} [isExternal]
|
|
9827
9958
|
* @param {*} [options] Override http request option.
|
|
9828
9959
|
* @throws {RequiredError}
|
|
9829
9960
|
*/
|
|
9830
|
-
apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, options) {
|
|
9961
|
+
apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, isExternal, options) {
|
|
9831
9962
|
if (options === void 0) { options = {}; }
|
|
9832
9963
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9833
9964
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9855,6 +9986,9 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
|
|
|
9855
9986
|
if (hospitalId !== undefined) {
|
|
9856
9987
|
localVarQueryParameter['hospitalId'] = hospitalId;
|
|
9857
9988
|
}
|
|
9989
|
+
if (isExternal !== undefined) {
|
|
9990
|
+
localVarQueryParameter['isExternal'] = isExternal;
|
|
9991
|
+
}
|
|
9858
9992
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9859
9993
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9860
9994
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9869,10 +10003,11 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
|
|
|
9869
10003
|
/**
|
|
9870
10004
|
*
|
|
9871
10005
|
* @param {string} hospitalId
|
|
10006
|
+
* @param {boolean} [isExternal]
|
|
9872
10007
|
* @param {*} [options] Override http request option.
|
|
9873
10008
|
* @throws {RequiredError}
|
|
9874
10009
|
*/
|
|
9875
|
-
apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, options) {
|
|
10010
|
+
apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, isExternal, options) {
|
|
9876
10011
|
if (options === void 0) { options = {}; }
|
|
9877
10012
|
return __awaiter(_this, void 0, void 0, function () {
|
|
9878
10013
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -9897,6 +10032,9 @@ var GroupChannelsApiAxiosParamCreator = function (configuration) {
|
|
|
9897
10032
|
// authentication oauth2 required
|
|
9898
10033
|
// oauth required
|
|
9899
10034
|
_a.sent();
|
|
10035
|
+
if (isExternal !== undefined) {
|
|
10036
|
+
localVarQueryParameter['isExternal'] = isExternal;
|
|
10037
|
+
}
|
|
9900
10038
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
9901
10039
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9902
10040
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9942,15 +10080,16 @@ var GroupChannelsApiFp = function (configuration) {
|
|
|
9942
10080
|
*
|
|
9943
10081
|
* @param {string} dealId
|
|
9944
10082
|
* @param {string} [hospitalId]
|
|
10083
|
+
* @param {boolean} [isExternal]
|
|
9945
10084
|
* @param {*} [options] Override http request option.
|
|
9946
10085
|
* @throws {RequiredError}
|
|
9947
10086
|
*/
|
|
9948
|
-
apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, options) {
|
|
10087
|
+
apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, isExternal, options) {
|
|
9949
10088
|
return __awaiter(this, void 0, void 0, function () {
|
|
9950
10089
|
var localVarAxiosArgs;
|
|
9951
10090
|
return __generator(this, function (_a) {
|
|
9952
10091
|
switch (_a.label) {
|
|
9953
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options)];
|
|
10092
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options)];
|
|
9954
10093
|
case 1:
|
|
9955
10094
|
localVarAxiosArgs = _a.sent();
|
|
9956
10095
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -9962,15 +10101,16 @@ var GroupChannelsApiFp = function (configuration) {
|
|
|
9962
10101
|
*
|
|
9963
10102
|
* @param {string} doctorId
|
|
9964
10103
|
* @param {string} [hospitalId]
|
|
10104
|
+
* @param {boolean} [isExternal]
|
|
9965
10105
|
* @param {*} [options] Override http request option.
|
|
9966
10106
|
* @throws {RequiredError}
|
|
9967
10107
|
*/
|
|
9968
|
-
apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, options) {
|
|
10108
|
+
apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, isExternal, options) {
|
|
9969
10109
|
return __awaiter(this, void 0, void 0, function () {
|
|
9970
10110
|
var localVarAxiosArgs;
|
|
9971
10111
|
return __generator(this, function (_a) {
|
|
9972
10112
|
switch (_a.label) {
|
|
9973
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options)];
|
|
10113
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options)];
|
|
9974
10114
|
case 1:
|
|
9975
10115
|
localVarAxiosArgs = _a.sent();
|
|
9976
10116
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -9981,15 +10121,16 @@ var GroupChannelsApiFp = function (configuration) {
|
|
|
9981
10121
|
/**
|
|
9982
10122
|
*
|
|
9983
10123
|
* @param {string} hospitalId
|
|
10124
|
+
* @param {boolean} [isExternal]
|
|
9984
10125
|
* @param {*} [options] Override http request option.
|
|
9985
10126
|
* @throws {RequiredError}
|
|
9986
10127
|
*/
|
|
9987
|
-
apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, options) {
|
|
10128
|
+
apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, isExternal, options) {
|
|
9988
10129
|
return __awaiter(this, void 0, void 0, function () {
|
|
9989
10130
|
var localVarAxiosArgs;
|
|
9990
10131
|
return __generator(this, function (_a) {
|
|
9991
10132
|
switch (_a.label) {
|
|
9992
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options)];
|
|
10133
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options)];
|
|
9993
10134
|
case 1:
|
|
9994
10135
|
localVarAxiosArgs = _a.sent();
|
|
9995
10136
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -10021,30 +10162,33 @@ var GroupChannelsApiFactory = function (configuration, basePath, axios) {
|
|
|
10021
10162
|
*
|
|
10022
10163
|
* @param {string} dealId
|
|
10023
10164
|
* @param {string} [hospitalId]
|
|
10165
|
+
* @param {boolean} [isExternal]
|
|
10024
10166
|
* @param {*} [options] Override http request option.
|
|
10025
10167
|
* @throws {RequiredError}
|
|
10026
10168
|
*/
|
|
10027
|
-
apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, options) {
|
|
10028
|
-
return localVarFp.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
10169
|
+
apiV2GroupchannelsDealDealIdGet: function (dealId, hospitalId, isExternal, options) {
|
|
10170
|
+
return localVarFp.apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options).then(function (request) { return request(axios, basePath); });
|
|
10029
10171
|
},
|
|
10030
10172
|
/**
|
|
10031
10173
|
*
|
|
10032
10174
|
* @param {string} doctorId
|
|
10033
10175
|
* @param {string} [hospitalId]
|
|
10176
|
+
* @param {boolean} [isExternal]
|
|
10034
10177
|
* @param {*} [options] Override http request option.
|
|
10035
10178
|
* @throws {RequiredError}
|
|
10036
10179
|
*/
|
|
10037
|
-
apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, options) {
|
|
10038
|
-
return localVarFp.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
10180
|
+
apiV2GroupchannelsDoctorDoctorIdGet: function (doctorId, hospitalId, isExternal, options) {
|
|
10181
|
+
return localVarFp.apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options).then(function (request) { return request(axios, basePath); });
|
|
10039
10182
|
},
|
|
10040
10183
|
/**
|
|
10041
10184
|
*
|
|
10042
10185
|
* @param {string} hospitalId
|
|
10186
|
+
* @param {boolean} [isExternal]
|
|
10043
10187
|
* @param {*} [options] Override http request option.
|
|
10044
10188
|
* @throws {RequiredError}
|
|
10045
10189
|
*/
|
|
10046
|
-
apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, options) {
|
|
10047
|
-
return localVarFp.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
10190
|
+
apiV2GroupchannelsHospitalHospitalIdGet: function (hospitalId, isExternal, options) {
|
|
10191
|
+
return localVarFp.apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options).then(function (request) { return request(axios, basePath); });
|
|
10048
10192
|
},
|
|
10049
10193
|
};
|
|
10050
10194
|
};
|
|
@@ -10076,36 +10220,39 @@ var GroupChannelsApi = /** @class */ (function (_super) {
|
|
|
10076
10220
|
*
|
|
10077
10221
|
* @param {string} dealId
|
|
10078
10222
|
* @param {string} [hospitalId]
|
|
10223
|
+
* @param {boolean} [isExternal]
|
|
10079
10224
|
* @param {*} [options] Override http request option.
|
|
10080
10225
|
* @throws {RequiredError}
|
|
10081
10226
|
* @memberof GroupChannelsApi
|
|
10082
10227
|
*/
|
|
10083
|
-
GroupChannelsApi.prototype.apiV2GroupchannelsDealDealIdGet = function (dealId, hospitalId, options) {
|
|
10228
|
+
GroupChannelsApi.prototype.apiV2GroupchannelsDealDealIdGet = function (dealId, hospitalId, isExternal, options) {
|
|
10084
10229
|
var _this = this;
|
|
10085
|
-
return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10230
|
+
return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsDealDealIdGet(dealId, hospitalId, isExternal, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10086
10231
|
};
|
|
10087
10232
|
/**
|
|
10088
10233
|
*
|
|
10089
10234
|
* @param {string} doctorId
|
|
10090
10235
|
* @param {string} [hospitalId]
|
|
10236
|
+
* @param {boolean} [isExternal]
|
|
10091
10237
|
* @param {*} [options] Override http request option.
|
|
10092
10238
|
* @throws {RequiredError}
|
|
10093
10239
|
* @memberof GroupChannelsApi
|
|
10094
10240
|
*/
|
|
10095
|
-
GroupChannelsApi.prototype.apiV2GroupchannelsDoctorDoctorIdGet = function (doctorId, hospitalId, options) {
|
|
10241
|
+
GroupChannelsApi.prototype.apiV2GroupchannelsDoctorDoctorIdGet = function (doctorId, hospitalId, isExternal, options) {
|
|
10096
10242
|
var _this = this;
|
|
10097
|
-
return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10243
|
+
return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsDoctorDoctorIdGet(doctorId, hospitalId, isExternal, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10098
10244
|
};
|
|
10099
10245
|
/**
|
|
10100
10246
|
*
|
|
10101
10247
|
* @param {string} hospitalId
|
|
10248
|
+
* @param {boolean} [isExternal]
|
|
10102
10249
|
* @param {*} [options] Override http request option.
|
|
10103
10250
|
* @throws {RequiredError}
|
|
10104
10251
|
* @memberof GroupChannelsApi
|
|
10105
10252
|
*/
|
|
10106
|
-
GroupChannelsApi.prototype.apiV2GroupchannelsHospitalHospitalIdGet = function (hospitalId, options) {
|
|
10253
|
+
GroupChannelsApi.prototype.apiV2GroupchannelsHospitalHospitalIdGet = function (hospitalId, isExternal, options) {
|
|
10107
10254
|
var _this = this;
|
|
10108
|
-
return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10255
|
+
return (0, exports.GroupChannelsApiFp)(this.configuration).apiV2GroupchannelsHospitalHospitalIdGet(hospitalId, isExternal, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
10109
10256
|
};
|
|
10110
10257
|
return GroupChannelsApi;
|
|
10111
10258
|
}(base_1.BaseAPI));
|