ch-admin-api-client-typescript 3.4.0 → 3.4.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/api.d.ts +551 -137
- package/lib/api.d.ts.map +1 -1
- package/lib/api.js +367 -221
- package/package.json +1 -1
- package/src/api.ts +670 -191
package/lib/api.js
CHANGED
|
@@ -76,7 +76,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
76
76
|
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
77
77
|
};
|
|
78
78
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
79
|
-
exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = 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.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = 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.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = 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.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.EmailMarketingsApi = exports.EmailMarketingsApiFactory = exports.EmailMarketingsApiFp = exports.EmailMarketingsApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.DashBoardApi = exports.DashBoardApiFactory = exports.DashBoardApiFp = exports.DashBoardApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = 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.CHManagersApi = exports.CHManagersApiFactory = exports.CHManagersApiFp = exports.CHManagersApiAxiosParamCreator = exports.CHAdminsApi = exports.CHAdminsApiFactory = exports.CHAdminsApiFp = exports.CHAdminsApiAxiosParamCreator = 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.Duration = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
|
|
79
|
+
exports.TranslationApi = exports.TranslationApiFactory = exports.TranslationApiFp = exports.TranslationApiAxiosParamCreator = 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.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PaymentsApi = exports.PaymentsApiFactory = exports.PaymentsApiFp = exports.PaymentsApiAxiosParamCreator = 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.ManagersApi = exports.ManagersApiFactory = exports.ManagersApiFp = exports.ManagersApiAxiosParamCreator = 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.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.EmailMarketingsApi = exports.EmailMarketingsApiFactory = exports.EmailMarketingsApiFp = exports.EmailMarketingsApiAxiosParamCreator = 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.DashBoardApi = exports.DashBoardApiFactory = exports.DashBoardApiFp = exports.DashBoardApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = 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.CHManagersApi = exports.CHManagersApiFactory = exports.CHManagersApiFp = exports.CHManagersApiAxiosParamCreator = exports.CHAdminsApi = exports.CHAdminsApiFactory = exports.CHAdminsApiFp = exports.CHAdminsApiAxiosParamCreator = 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.Duration = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
|
|
80
80
|
var axios_1 = __importDefault(require("axios"));
|
|
81
81
|
// Some imports not used depending on template conditions
|
|
82
82
|
// @ts-ignore
|
|
@@ -11975,34 +11975,36 @@ var DealsApi = /** @class */ (function (_super) {
|
|
|
11975
11975
|
}(base_1.BaseAPI));
|
|
11976
11976
|
exports.DealsApi = DealsApi;
|
|
11977
11977
|
/**
|
|
11978
|
-
*
|
|
11978
|
+
* DoctorAffiliationsApi - axios parameter creator
|
|
11979
11979
|
* @export
|
|
11980
11980
|
*/
|
|
11981
|
-
exports.
|
|
11981
|
+
exports.DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
|
|
11982
11982
|
var _this = this;
|
|
11983
11983
|
return {
|
|
11984
11984
|
/**
|
|
11985
11985
|
*
|
|
11986
11986
|
* @summary Get all doctor affiliations.
|
|
11987
|
-
* @param {string}
|
|
11987
|
+
* @param {string} [hospitalId]
|
|
11988
11988
|
* @param {string} [hospitalName]
|
|
11989
|
+
* @param {string} [doctorId]
|
|
11990
|
+
* @param {string} [name]
|
|
11991
|
+
* @param {string} [slug]
|
|
11992
|
+
* @param {string} [languageCode]
|
|
11993
|
+
* @param {boolean} [showHidden]
|
|
11989
11994
|
* @param {number} [page]
|
|
11990
11995
|
* @param {number} [limit]
|
|
11991
11996
|
* @param {Date} [lastRetrieved]
|
|
11992
11997
|
* @param {*} [options] Override http request option.
|
|
11993
11998
|
* @throws {RequiredError}
|
|
11994
11999
|
*/
|
|
11995
|
-
|
|
12000
|
+
apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
11996
12001
|
if (options === void 0) { options = {}; }
|
|
11997
12002
|
return __awaiter(_this, void 0, void 0, function () {
|
|
11998
12003
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
11999
12004
|
return __generator(this, function (_a) {
|
|
12000
12005
|
switch (_a.label) {
|
|
12001
12006
|
case 0:
|
|
12002
|
-
|
|
12003
|
-
common_1.assertParamExists('apiV1DoctorsDoctorIdAffiliationsGet', 'doctorId', doctorId);
|
|
12004
|
-
localVarPath = "/api/v1/doctors/{doctorId}/affiliations"
|
|
12005
|
-
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)));
|
|
12007
|
+
localVarPath = "/api/v1/doctoraffiliations";
|
|
12006
12008
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12007
12009
|
if (configuration) {
|
|
12008
12010
|
baseOptions = configuration.baseOptions;
|
|
@@ -12017,9 +12019,27 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12017
12019
|
// authentication oauth2 required
|
|
12018
12020
|
// oauth required
|
|
12019
12021
|
_a.sent();
|
|
12022
|
+
if (hospitalId !== undefined) {
|
|
12023
|
+
localVarQueryParameter['HospitalId'] = hospitalId;
|
|
12024
|
+
}
|
|
12020
12025
|
if (hospitalName !== undefined) {
|
|
12021
12026
|
localVarQueryParameter['HospitalName'] = hospitalName;
|
|
12022
12027
|
}
|
|
12028
|
+
if (doctorId !== undefined) {
|
|
12029
|
+
localVarQueryParameter['DoctorId'] = doctorId;
|
|
12030
|
+
}
|
|
12031
|
+
if (name !== undefined) {
|
|
12032
|
+
localVarQueryParameter['Name'] = name;
|
|
12033
|
+
}
|
|
12034
|
+
if (slug !== undefined) {
|
|
12035
|
+
localVarQueryParameter['Slug'] = slug;
|
|
12036
|
+
}
|
|
12037
|
+
if (languageCode !== undefined) {
|
|
12038
|
+
localVarQueryParameter['LanguageCode'] = languageCode;
|
|
12039
|
+
}
|
|
12040
|
+
if (showHidden !== undefined) {
|
|
12041
|
+
localVarQueryParameter['ShowHidden'] = showHidden;
|
|
12042
|
+
}
|
|
12023
12043
|
if (page !== undefined) {
|
|
12024
12044
|
localVarQueryParameter['page'] = page;
|
|
12025
12045
|
}
|
|
@@ -12045,25 +12065,21 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12045
12065
|
/**
|
|
12046
12066
|
*
|
|
12047
12067
|
* @summary Delete doctor affiliation.
|
|
12048
|
-
* @param {string}
|
|
12049
|
-
* @param {string} hospitalId
|
|
12068
|
+
* @param {string} id
|
|
12050
12069
|
* @param {*} [options] Override http request option.
|
|
12051
12070
|
* @throws {RequiredError}
|
|
12052
12071
|
*/
|
|
12053
|
-
|
|
12072
|
+
apiV1DoctoraffiliationsIdDelete: function (id, options) {
|
|
12054
12073
|
if (options === void 0) { options = {}; }
|
|
12055
12074
|
return __awaiter(_this, void 0, void 0, function () {
|
|
12056
12075
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12057
12076
|
return __generator(this, function (_a) {
|
|
12058
12077
|
switch (_a.label) {
|
|
12059
12078
|
case 0:
|
|
12060
|
-
// verify required parameter '
|
|
12061
|
-
common_1.assertParamExists('
|
|
12062
|
-
|
|
12063
|
-
|
|
12064
|
-
localVarPath = "/api/v1/doctors/{doctorId}/affiliations/{hospitalId}"
|
|
12065
|
-
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
|
|
12066
|
-
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
12079
|
+
// verify required parameter 'id' is not null or undefined
|
|
12080
|
+
common_1.assertParamExists('apiV1DoctoraffiliationsIdDelete', 'id', id);
|
|
12081
|
+
localVarPath = "/api/v1/doctoraffiliations/{id}"
|
|
12082
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
12067
12083
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12068
12084
|
if (configuration) {
|
|
12069
12085
|
baseOptions = configuration.baseOptions;
|
|
@@ -12092,25 +12108,21 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12092
12108
|
/**
|
|
12093
12109
|
*
|
|
12094
12110
|
* @summary Get doctor affiliation.
|
|
12095
|
-
* @param {string}
|
|
12096
|
-
* @param {string} hospitalId
|
|
12111
|
+
* @param {string} id
|
|
12097
12112
|
* @param {*} [options] Override http request option.
|
|
12098
12113
|
* @throws {RequiredError}
|
|
12099
12114
|
*/
|
|
12100
|
-
|
|
12115
|
+
apiV1DoctoraffiliationsIdGet: function (id, options) {
|
|
12101
12116
|
if (options === void 0) { options = {}; }
|
|
12102
12117
|
return __awaiter(_this, void 0, void 0, function () {
|
|
12103
12118
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12104
12119
|
return __generator(this, function (_a) {
|
|
12105
12120
|
switch (_a.label) {
|
|
12106
12121
|
case 0:
|
|
12107
|
-
// verify required parameter '
|
|
12108
|
-
common_1.assertParamExists('
|
|
12109
|
-
|
|
12110
|
-
|
|
12111
|
-
localVarPath = "/api/v1/doctors/{doctorId}/affiliations/{hospitalId}"
|
|
12112
|
-
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)))
|
|
12113
|
-
.replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)));
|
|
12122
|
+
// verify required parameter 'id' is not null or undefined
|
|
12123
|
+
common_1.assertParamExists('apiV1DoctoraffiliationsIdGet', 'id', id);
|
|
12124
|
+
localVarPath = "/api/v1/doctoraffiliations/{id}"
|
|
12125
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
12114
12126
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12115
12127
|
if (configuration) {
|
|
12116
12128
|
baseOptions = configuration.baseOptions;
|
|
@@ -12138,22 +12150,64 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12138
12150
|
},
|
|
12139
12151
|
/**
|
|
12140
12152
|
*
|
|
12141
|
-
* @
|
|
12153
|
+
* @summary Update Hospital.
|
|
12154
|
+
* @param {string} id
|
|
12155
|
+
* @param {UpdateDoctorAffiliationCommand} [updateDoctorAffiliationCommand]
|
|
12156
|
+
* @param {*} [options] Override http request option.
|
|
12157
|
+
* @throws {RequiredError}
|
|
12158
|
+
*/
|
|
12159
|
+
apiV1DoctoraffiliationsIdPut: function (id, updateDoctorAffiliationCommand, options) {
|
|
12160
|
+
if (options === void 0) { options = {}; }
|
|
12161
|
+
return __awaiter(_this, void 0, void 0, function () {
|
|
12162
|
+
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12163
|
+
return __generator(this, function (_a) {
|
|
12164
|
+
switch (_a.label) {
|
|
12165
|
+
case 0:
|
|
12166
|
+
// verify required parameter 'id' is not null or undefined
|
|
12167
|
+
common_1.assertParamExists('apiV1DoctoraffiliationsIdPut', 'id', id);
|
|
12168
|
+
localVarPath = "/api/v1/doctoraffiliations/{id}"
|
|
12169
|
+
.replace("{" + "id" + "}", encodeURIComponent(String(id)));
|
|
12170
|
+
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12171
|
+
if (configuration) {
|
|
12172
|
+
baseOptions = configuration.baseOptions;
|
|
12173
|
+
}
|
|
12174
|
+
localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
|
|
12175
|
+
localVarHeaderParameter = {};
|
|
12176
|
+
localVarQueryParameter = {};
|
|
12177
|
+
// authentication oauth2 required
|
|
12178
|
+
// oauth required
|
|
12179
|
+
return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
|
|
12180
|
+
case 1:
|
|
12181
|
+
// authentication oauth2 required
|
|
12182
|
+
// oauth required
|
|
12183
|
+
_a.sent();
|
|
12184
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
12185
|
+
common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
12186
|
+
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
12187
|
+
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
12188
|
+
localVarRequestOptions.data = common_1.serializeDataIfNeeded(updateDoctorAffiliationCommand, localVarRequestOptions, configuration);
|
|
12189
|
+
return [2 /*return*/, {
|
|
12190
|
+
url: common_1.toPathString(localVarUrlObj),
|
|
12191
|
+
options: localVarRequestOptions,
|
|
12192
|
+
}];
|
|
12193
|
+
}
|
|
12194
|
+
});
|
|
12195
|
+
});
|
|
12196
|
+
},
|
|
12197
|
+
/**
|
|
12198
|
+
*
|
|
12142
12199
|
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
12143
12200
|
* @param {*} [options] Override http request option.
|
|
12144
12201
|
* @throws {RequiredError}
|
|
12145
12202
|
*/
|
|
12146
|
-
|
|
12203
|
+
apiV1DoctoraffiliationsPost: function (createDoctorAffiliationCommand, options) {
|
|
12147
12204
|
if (options === void 0) { options = {}; }
|
|
12148
12205
|
return __awaiter(_this, void 0, void 0, function () {
|
|
12149
12206
|
var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
12150
12207
|
return __generator(this, function (_a) {
|
|
12151
12208
|
switch (_a.label) {
|
|
12152
12209
|
case 0:
|
|
12153
|
-
|
|
12154
|
-
common_1.assertParamExists('apiV1DoctorsDoctorIdAffiliationsPost', 'doctorId', doctorId);
|
|
12155
|
-
localVarPath = "/api/v1/doctors/{doctorId}/affiliations"
|
|
12156
|
-
.replace("{" + "doctorId" + "}", encodeURIComponent(String(doctorId)));
|
|
12210
|
+
localVarPath = "/api/v1/doctoraffiliations";
|
|
12157
12211
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
12158
12212
|
if (configuration) {
|
|
12159
12213
|
baseOptions = configuration.baseOptions;
|
|
@@ -12181,6 +12235,284 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
12181
12235
|
});
|
|
12182
12236
|
});
|
|
12183
12237
|
},
|
|
12238
|
+
};
|
|
12239
|
+
};
|
|
12240
|
+
/**
|
|
12241
|
+
* DoctorAffiliationsApi - functional programming interface
|
|
12242
|
+
* @export
|
|
12243
|
+
*/
|
|
12244
|
+
exports.DoctorAffiliationsApiFp = function (configuration) {
|
|
12245
|
+
var localVarAxiosParamCreator = exports.DoctorAffiliationsApiAxiosParamCreator(configuration);
|
|
12246
|
+
return {
|
|
12247
|
+
/**
|
|
12248
|
+
*
|
|
12249
|
+
* @summary Get all doctor affiliations.
|
|
12250
|
+
* @param {string} [hospitalId]
|
|
12251
|
+
* @param {string} [hospitalName]
|
|
12252
|
+
* @param {string} [doctorId]
|
|
12253
|
+
* @param {string} [name]
|
|
12254
|
+
* @param {string} [slug]
|
|
12255
|
+
* @param {string} [languageCode]
|
|
12256
|
+
* @param {boolean} [showHidden]
|
|
12257
|
+
* @param {number} [page]
|
|
12258
|
+
* @param {number} [limit]
|
|
12259
|
+
* @param {Date} [lastRetrieved]
|
|
12260
|
+
* @param {*} [options] Override http request option.
|
|
12261
|
+
* @throws {RequiredError}
|
|
12262
|
+
*/
|
|
12263
|
+
apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12264
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12265
|
+
var localVarAxiosArgs;
|
|
12266
|
+
return __generator(this, function (_a) {
|
|
12267
|
+
switch (_a.label) {
|
|
12268
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options)];
|
|
12269
|
+
case 1:
|
|
12270
|
+
localVarAxiosArgs = _a.sent();
|
|
12271
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
12272
|
+
}
|
|
12273
|
+
});
|
|
12274
|
+
});
|
|
12275
|
+
},
|
|
12276
|
+
/**
|
|
12277
|
+
*
|
|
12278
|
+
* @summary Delete doctor affiliation.
|
|
12279
|
+
* @param {string} id
|
|
12280
|
+
* @param {*} [options] Override http request option.
|
|
12281
|
+
* @throws {RequiredError}
|
|
12282
|
+
*/
|
|
12283
|
+
apiV1DoctoraffiliationsIdDelete: function (id, options) {
|
|
12284
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12285
|
+
var localVarAxiosArgs;
|
|
12286
|
+
return __generator(this, function (_a) {
|
|
12287
|
+
switch (_a.label) {
|
|
12288
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsIdDelete(id, options)];
|
|
12289
|
+
case 1:
|
|
12290
|
+
localVarAxiosArgs = _a.sent();
|
|
12291
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
12292
|
+
}
|
|
12293
|
+
});
|
|
12294
|
+
});
|
|
12295
|
+
},
|
|
12296
|
+
/**
|
|
12297
|
+
*
|
|
12298
|
+
* @summary Get doctor affiliation.
|
|
12299
|
+
* @param {string} id
|
|
12300
|
+
* @param {*} [options] Override http request option.
|
|
12301
|
+
* @throws {RequiredError}
|
|
12302
|
+
*/
|
|
12303
|
+
apiV1DoctoraffiliationsIdGet: function (id, options) {
|
|
12304
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12305
|
+
var localVarAxiosArgs;
|
|
12306
|
+
return __generator(this, function (_a) {
|
|
12307
|
+
switch (_a.label) {
|
|
12308
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsIdGet(id, options)];
|
|
12309
|
+
case 1:
|
|
12310
|
+
localVarAxiosArgs = _a.sent();
|
|
12311
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
12312
|
+
}
|
|
12313
|
+
});
|
|
12314
|
+
});
|
|
12315
|
+
},
|
|
12316
|
+
/**
|
|
12317
|
+
*
|
|
12318
|
+
* @summary Update Hospital.
|
|
12319
|
+
* @param {string} id
|
|
12320
|
+
* @param {UpdateDoctorAffiliationCommand} [updateDoctorAffiliationCommand]
|
|
12321
|
+
* @param {*} [options] Override http request option.
|
|
12322
|
+
* @throws {RequiredError}
|
|
12323
|
+
*/
|
|
12324
|
+
apiV1DoctoraffiliationsIdPut: function (id, updateDoctorAffiliationCommand, options) {
|
|
12325
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12326
|
+
var localVarAxiosArgs;
|
|
12327
|
+
return __generator(this, function (_a) {
|
|
12328
|
+
switch (_a.label) {
|
|
12329
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsIdPut(id, updateDoctorAffiliationCommand, options)];
|
|
12330
|
+
case 1:
|
|
12331
|
+
localVarAxiosArgs = _a.sent();
|
|
12332
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
12333
|
+
}
|
|
12334
|
+
});
|
|
12335
|
+
});
|
|
12336
|
+
},
|
|
12337
|
+
/**
|
|
12338
|
+
*
|
|
12339
|
+
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
12340
|
+
* @param {*} [options] Override http request option.
|
|
12341
|
+
* @throws {RequiredError}
|
|
12342
|
+
*/
|
|
12343
|
+
apiV1DoctoraffiliationsPost: function (createDoctorAffiliationCommand, options) {
|
|
12344
|
+
return __awaiter(this, void 0, void 0, function () {
|
|
12345
|
+
var localVarAxiosArgs;
|
|
12346
|
+
return __generator(this, function (_a) {
|
|
12347
|
+
switch (_a.label) {
|
|
12348
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctoraffiliationsPost(createDoctorAffiliationCommand, options)];
|
|
12349
|
+
case 1:
|
|
12350
|
+
localVarAxiosArgs = _a.sent();
|
|
12351
|
+
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
12352
|
+
}
|
|
12353
|
+
});
|
|
12354
|
+
});
|
|
12355
|
+
},
|
|
12356
|
+
};
|
|
12357
|
+
};
|
|
12358
|
+
/**
|
|
12359
|
+
* DoctorAffiliationsApi - factory interface
|
|
12360
|
+
* @export
|
|
12361
|
+
*/
|
|
12362
|
+
exports.DoctorAffiliationsApiFactory = function (configuration, basePath, axios) {
|
|
12363
|
+
var localVarFp = exports.DoctorAffiliationsApiFp(configuration);
|
|
12364
|
+
return {
|
|
12365
|
+
/**
|
|
12366
|
+
*
|
|
12367
|
+
* @summary Get all doctor affiliations.
|
|
12368
|
+
* @param {string} [hospitalId]
|
|
12369
|
+
* @param {string} [hospitalName]
|
|
12370
|
+
* @param {string} [doctorId]
|
|
12371
|
+
* @param {string} [name]
|
|
12372
|
+
* @param {string} [slug]
|
|
12373
|
+
* @param {string} [languageCode]
|
|
12374
|
+
* @param {boolean} [showHidden]
|
|
12375
|
+
* @param {number} [page]
|
|
12376
|
+
* @param {number} [limit]
|
|
12377
|
+
* @param {Date} [lastRetrieved]
|
|
12378
|
+
* @param {*} [options] Override http request option.
|
|
12379
|
+
* @throws {RequiredError}
|
|
12380
|
+
*/
|
|
12381
|
+
apiV1DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12382
|
+
return localVarFp.apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
12383
|
+
},
|
|
12384
|
+
/**
|
|
12385
|
+
*
|
|
12386
|
+
* @summary Delete doctor affiliation.
|
|
12387
|
+
* @param {string} id
|
|
12388
|
+
* @param {*} [options] Override http request option.
|
|
12389
|
+
* @throws {RequiredError}
|
|
12390
|
+
*/
|
|
12391
|
+
apiV1DoctoraffiliationsIdDelete: function (id, options) {
|
|
12392
|
+
return localVarFp.apiV1DoctoraffiliationsIdDelete(id, options).then(function (request) { return request(axios, basePath); });
|
|
12393
|
+
},
|
|
12394
|
+
/**
|
|
12395
|
+
*
|
|
12396
|
+
* @summary Get doctor affiliation.
|
|
12397
|
+
* @param {string} id
|
|
12398
|
+
* @param {*} [options] Override http request option.
|
|
12399
|
+
* @throws {RequiredError}
|
|
12400
|
+
*/
|
|
12401
|
+
apiV1DoctoraffiliationsIdGet: function (id, options) {
|
|
12402
|
+
return localVarFp.apiV1DoctoraffiliationsIdGet(id, options).then(function (request) { return request(axios, basePath); });
|
|
12403
|
+
},
|
|
12404
|
+
/**
|
|
12405
|
+
*
|
|
12406
|
+
* @summary Update Hospital.
|
|
12407
|
+
* @param {string} id
|
|
12408
|
+
* @param {UpdateDoctorAffiliationCommand} [updateDoctorAffiliationCommand]
|
|
12409
|
+
* @param {*} [options] Override http request option.
|
|
12410
|
+
* @throws {RequiredError}
|
|
12411
|
+
*/
|
|
12412
|
+
apiV1DoctoraffiliationsIdPut: function (id, updateDoctorAffiliationCommand, options) {
|
|
12413
|
+
return localVarFp.apiV1DoctoraffiliationsIdPut(id, updateDoctorAffiliationCommand, options).then(function (request) { return request(axios, basePath); });
|
|
12414
|
+
},
|
|
12415
|
+
/**
|
|
12416
|
+
*
|
|
12417
|
+
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
12418
|
+
* @param {*} [options] Override http request option.
|
|
12419
|
+
* @throws {RequiredError}
|
|
12420
|
+
*/
|
|
12421
|
+
apiV1DoctoraffiliationsPost: function (createDoctorAffiliationCommand, options) {
|
|
12422
|
+
return localVarFp.apiV1DoctoraffiliationsPost(createDoctorAffiliationCommand, options).then(function (request) { return request(axios, basePath); });
|
|
12423
|
+
},
|
|
12424
|
+
};
|
|
12425
|
+
};
|
|
12426
|
+
/**
|
|
12427
|
+
* DoctorAffiliationsApi - object-oriented interface
|
|
12428
|
+
* @export
|
|
12429
|
+
* @class DoctorAffiliationsApi
|
|
12430
|
+
* @extends {BaseAPI}
|
|
12431
|
+
*/
|
|
12432
|
+
var DoctorAffiliationsApi = /** @class */ (function (_super) {
|
|
12433
|
+
__extends(DoctorAffiliationsApi, _super);
|
|
12434
|
+
function DoctorAffiliationsApi() {
|
|
12435
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
12436
|
+
}
|
|
12437
|
+
/**
|
|
12438
|
+
*
|
|
12439
|
+
* @summary Get all doctor affiliations.
|
|
12440
|
+
* @param {string} [hospitalId]
|
|
12441
|
+
* @param {string} [hospitalName]
|
|
12442
|
+
* @param {string} [doctorId]
|
|
12443
|
+
* @param {string} [name]
|
|
12444
|
+
* @param {string} [slug]
|
|
12445
|
+
* @param {string} [languageCode]
|
|
12446
|
+
* @param {boolean} [showHidden]
|
|
12447
|
+
* @param {number} [page]
|
|
12448
|
+
* @param {number} [limit]
|
|
12449
|
+
* @param {Date} [lastRetrieved]
|
|
12450
|
+
* @param {*} [options] Override http request option.
|
|
12451
|
+
* @throws {RequiredError}
|
|
12452
|
+
* @memberof DoctorAffiliationsApi
|
|
12453
|
+
*/
|
|
12454
|
+
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsGet = function (hospitalId, hospitalName, doctorId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options) {
|
|
12455
|
+
var _this = this;
|
|
12456
|
+
return exports.DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, name, slug, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12457
|
+
};
|
|
12458
|
+
/**
|
|
12459
|
+
*
|
|
12460
|
+
* @summary Delete doctor affiliation.
|
|
12461
|
+
* @param {string} id
|
|
12462
|
+
* @param {*} [options] Override http request option.
|
|
12463
|
+
* @throws {RequiredError}
|
|
12464
|
+
* @memberof DoctorAffiliationsApi
|
|
12465
|
+
*/
|
|
12466
|
+
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsIdDelete = function (id, options) {
|
|
12467
|
+
var _this = this;
|
|
12468
|
+
return exports.DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdDelete(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12469
|
+
};
|
|
12470
|
+
/**
|
|
12471
|
+
*
|
|
12472
|
+
* @summary Get doctor affiliation.
|
|
12473
|
+
* @param {string} id
|
|
12474
|
+
* @param {*} [options] Override http request option.
|
|
12475
|
+
* @throws {RequiredError}
|
|
12476
|
+
* @memberof DoctorAffiliationsApi
|
|
12477
|
+
*/
|
|
12478
|
+
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsIdGet = function (id, options) {
|
|
12479
|
+
var _this = this;
|
|
12480
|
+
return exports.DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdGet(id, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12481
|
+
};
|
|
12482
|
+
/**
|
|
12483
|
+
*
|
|
12484
|
+
* @summary Update Hospital.
|
|
12485
|
+
* @param {string} id
|
|
12486
|
+
* @param {UpdateDoctorAffiliationCommand} [updateDoctorAffiliationCommand]
|
|
12487
|
+
* @param {*} [options] Override http request option.
|
|
12488
|
+
* @throws {RequiredError}
|
|
12489
|
+
* @memberof DoctorAffiliationsApi
|
|
12490
|
+
*/
|
|
12491
|
+
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsIdPut = function (id, updateDoctorAffiliationCommand, options) {
|
|
12492
|
+
var _this = this;
|
|
12493
|
+
return exports.DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsIdPut(id, updateDoctorAffiliationCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12494
|
+
};
|
|
12495
|
+
/**
|
|
12496
|
+
*
|
|
12497
|
+
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
12498
|
+
* @param {*} [options] Override http request option.
|
|
12499
|
+
* @throws {RequiredError}
|
|
12500
|
+
* @memberof DoctorAffiliationsApi
|
|
12501
|
+
*/
|
|
12502
|
+
DoctorAffiliationsApi.prototype.apiV1DoctoraffiliationsPost = function (createDoctorAffiliationCommand, options) {
|
|
12503
|
+
var _this = this;
|
|
12504
|
+
return exports.DoctorAffiliationsApiFp(this.configuration).apiV1DoctoraffiliationsPost(createDoctorAffiliationCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
12505
|
+
};
|
|
12506
|
+
return DoctorAffiliationsApi;
|
|
12507
|
+
}(base_1.BaseAPI));
|
|
12508
|
+
exports.DoctorAffiliationsApi = DoctorAffiliationsApi;
|
|
12509
|
+
/**
|
|
12510
|
+
* DoctorsApi - axios parameter creator
|
|
12511
|
+
* @export
|
|
12512
|
+
*/
|
|
12513
|
+
exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
12514
|
+
var _this = this;
|
|
12515
|
+
return {
|
|
12184
12516
|
/**
|
|
12185
12517
|
*
|
|
12186
12518
|
* @summary Delete DoctorCertificate.
|
|
@@ -14203,92 +14535,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
|
|
|
14203
14535
|
exports.DoctorsApiFp = function (configuration) {
|
|
14204
14536
|
var localVarAxiosParamCreator = exports.DoctorsApiAxiosParamCreator(configuration);
|
|
14205
14537
|
return {
|
|
14206
|
-
/**
|
|
14207
|
-
*
|
|
14208
|
-
* @summary Get all doctor affiliations.
|
|
14209
|
-
* @param {string} doctorId
|
|
14210
|
-
* @param {string} [hospitalName]
|
|
14211
|
-
* @param {number} [page]
|
|
14212
|
-
* @param {number} [limit]
|
|
14213
|
-
* @param {Date} [lastRetrieved]
|
|
14214
|
-
* @param {*} [options] Override http request option.
|
|
14215
|
-
* @throws {RequiredError}
|
|
14216
|
-
*/
|
|
14217
|
-
apiV1DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
|
|
14218
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
14219
|
-
var localVarAxiosArgs;
|
|
14220
|
-
return __generator(this, function (_a) {
|
|
14221
|
-
switch (_a.label) {
|
|
14222
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options)];
|
|
14223
|
-
case 1:
|
|
14224
|
-
localVarAxiosArgs = _a.sent();
|
|
14225
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
14226
|
-
}
|
|
14227
|
-
});
|
|
14228
|
-
});
|
|
14229
|
-
},
|
|
14230
|
-
/**
|
|
14231
|
-
*
|
|
14232
|
-
* @summary Delete doctor affiliation.
|
|
14233
|
-
* @param {string} doctorId
|
|
14234
|
-
* @param {string} hospitalId
|
|
14235
|
-
* @param {*} [options] Override http request option.
|
|
14236
|
-
* @throws {RequiredError}
|
|
14237
|
-
*/
|
|
14238
|
-
apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete: function (doctorId, hospitalId, options) {
|
|
14239
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
14240
|
-
var localVarAxiosArgs;
|
|
14241
|
-
return __generator(this, function (_a) {
|
|
14242
|
-
switch (_a.label) {
|
|
14243
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete(doctorId, hospitalId, options)];
|
|
14244
|
-
case 1:
|
|
14245
|
-
localVarAxiosArgs = _a.sent();
|
|
14246
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
14247
|
-
}
|
|
14248
|
-
});
|
|
14249
|
-
});
|
|
14250
|
-
},
|
|
14251
|
-
/**
|
|
14252
|
-
*
|
|
14253
|
-
* @summary Get doctor affiliation.
|
|
14254
|
-
* @param {string} doctorId
|
|
14255
|
-
* @param {string} hospitalId
|
|
14256
|
-
* @param {*} [options] Override http request option.
|
|
14257
|
-
* @throws {RequiredError}
|
|
14258
|
-
*/
|
|
14259
|
-
apiV1DoctorsDoctorIdAffiliationsHospitalIdGet: function (doctorId, hospitalId, options) {
|
|
14260
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
14261
|
-
var localVarAxiosArgs;
|
|
14262
|
-
return __generator(this, function (_a) {
|
|
14263
|
-
switch (_a.label) {
|
|
14264
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options)];
|
|
14265
|
-
case 1:
|
|
14266
|
-
localVarAxiosArgs = _a.sent();
|
|
14267
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
14268
|
-
}
|
|
14269
|
-
});
|
|
14270
|
-
});
|
|
14271
|
-
},
|
|
14272
|
-
/**
|
|
14273
|
-
*
|
|
14274
|
-
* @param {string} doctorId
|
|
14275
|
-
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
14276
|
-
* @param {*} [options] Override http request option.
|
|
14277
|
-
* @throws {RequiredError}
|
|
14278
|
-
*/
|
|
14279
|
-
apiV1DoctorsDoctorIdAffiliationsPost: function (doctorId, createDoctorAffiliationCommand, options) {
|
|
14280
|
-
return __awaiter(this, void 0, void 0, function () {
|
|
14281
|
-
var localVarAxiosArgs;
|
|
14282
|
-
return __generator(this, function (_a) {
|
|
14283
|
-
switch (_a.label) {
|
|
14284
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options)];
|
|
14285
|
-
case 1:
|
|
14286
|
-
localVarAxiosArgs = _a.sent();
|
|
14287
|
-
return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
14288
|
-
}
|
|
14289
|
-
});
|
|
14290
|
-
});
|
|
14291
|
-
},
|
|
14292
14538
|
/**
|
|
14293
14539
|
*
|
|
14294
14540
|
* @summary Delete DoctorCertificate.
|
|
@@ -15138,52 +15384,6 @@ exports.DoctorsApiFp = function (configuration) {
|
|
|
15138
15384
|
exports.DoctorsApiFactory = function (configuration, basePath, axios) {
|
|
15139
15385
|
var localVarFp = exports.DoctorsApiFp(configuration);
|
|
15140
15386
|
return {
|
|
15141
|
-
/**
|
|
15142
|
-
*
|
|
15143
|
-
* @summary Get all doctor affiliations.
|
|
15144
|
-
* @param {string} doctorId
|
|
15145
|
-
* @param {string} [hospitalName]
|
|
15146
|
-
* @param {number} [page]
|
|
15147
|
-
* @param {number} [limit]
|
|
15148
|
-
* @param {Date} [lastRetrieved]
|
|
15149
|
-
* @param {*} [options] Override http request option.
|
|
15150
|
-
* @throws {RequiredError}
|
|
15151
|
-
*/
|
|
15152
|
-
apiV1DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
|
|
15153
|
-
return localVarFp.apiV1DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
|
|
15154
|
-
},
|
|
15155
|
-
/**
|
|
15156
|
-
*
|
|
15157
|
-
* @summary Delete doctor affiliation.
|
|
15158
|
-
* @param {string} doctorId
|
|
15159
|
-
* @param {string} hospitalId
|
|
15160
|
-
* @param {*} [options] Override http request option.
|
|
15161
|
-
* @throws {RequiredError}
|
|
15162
|
-
*/
|
|
15163
|
-
apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete: function (doctorId, hospitalId, options) {
|
|
15164
|
-
return localVarFp.apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete(doctorId, hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
15165
|
-
},
|
|
15166
|
-
/**
|
|
15167
|
-
*
|
|
15168
|
-
* @summary Get doctor affiliation.
|
|
15169
|
-
* @param {string} doctorId
|
|
15170
|
-
* @param {string} hospitalId
|
|
15171
|
-
* @param {*} [options] Override http request option.
|
|
15172
|
-
* @throws {RequiredError}
|
|
15173
|
-
*/
|
|
15174
|
-
apiV1DoctorsDoctorIdAffiliationsHospitalIdGet: function (doctorId, hospitalId, options) {
|
|
15175
|
-
return localVarFp.apiV1DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options).then(function (request) { return request(axios, basePath); });
|
|
15176
|
-
},
|
|
15177
|
-
/**
|
|
15178
|
-
*
|
|
15179
|
-
* @param {string} doctorId
|
|
15180
|
-
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
15181
|
-
* @param {*} [options] Override http request option.
|
|
15182
|
-
* @throws {RequiredError}
|
|
15183
|
-
*/
|
|
15184
|
-
apiV1DoctorsDoctorIdAffiliationsPost: function (doctorId, createDoctorAffiliationCommand, options) {
|
|
15185
|
-
return localVarFp.apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options).then(function (request) { return request(axios, basePath); });
|
|
15186
|
-
},
|
|
15187
15387
|
/**
|
|
15188
15388
|
*
|
|
15189
15389
|
* @summary Delete DoctorCertificate.
|
|
@@ -15667,60 +15867,6 @@ var DoctorsApi = /** @class */ (function (_super) {
|
|
|
15667
15867
|
function DoctorsApi() {
|
|
15668
15868
|
return _super !== null && _super.apply(this, arguments) || this;
|
|
15669
15869
|
}
|
|
15670
|
-
/**
|
|
15671
|
-
*
|
|
15672
|
-
* @summary Get all doctor affiliations.
|
|
15673
|
-
* @param {string} doctorId
|
|
15674
|
-
* @param {string} [hospitalName]
|
|
15675
|
-
* @param {number} [page]
|
|
15676
|
-
* @param {number} [limit]
|
|
15677
|
-
* @param {Date} [lastRetrieved]
|
|
15678
|
-
* @param {*} [options] Override http request option.
|
|
15679
|
-
* @throws {RequiredError}
|
|
15680
|
-
* @memberof DoctorsApi
|
|
15681
|
-
*/
|
|
15682
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdAffiliationsGet = function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
|
|
15683
|
-
var _this = this;
|
|
15684
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15685
|
-
};
|
|
15686
|
-
/**
|
|
15687
|
-
*
|
|
15688
|
-
* @summary Delete doctor affiliation.
|
|
15689
|
-
* @param {string} doctorId
|
|
15690
|
-
* @param {string} hospitalId
|
|
15691
|
-
* @param {*} [options] Override http request option.
|
|
15692
|
-
* @throws {RequiredError}
|
|
15693
|
-
* @memberof DoctorsApi
|
|
15694
|
-
*/
|
|
15695
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete = function (doctorId, hospitalId, options) {
|
|
15696
|
-
var _this = this;
|
|
15697
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete(doctorId, hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15698
|
-
};
|
|
15699
|
-
/**
|
|
15700
|
-
*
|
|
15701
|
-
* @summary Get doctor affiliation.
|
|
15702
|
-
* @param {string} doctorId
|
|
15703
|
-
* @param {string} hospitalId
|
|
15704
|
-
* @param {*} [options] Override http request option.
|
|
15705
|
-
* @throws {RequiredError}
|
|
15706
|
-
* @memberof DoctorsApi
|
|
15707
|
-
*/
|
|
15708
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdAffiliationsHospitalIdGet = function (doctorId, hospitalId, options) {
|
|
15709
|
-
var _this = this;
|
|
15710
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15711
|
-
};
|
|
15712
|
-
/**
|
|
15713
|
-
*
|
|
15714
|
-
* @param {string} doctorId
|
|
15715
|
-
* @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
|
|
15716
|
-
* @param {*} [options] Override http request option.
|
|
15717
|
-
* @throws {RequiredError}
|
|
15718
|
-
* @memberof DoctorsApi
|
|
15719
|
-
*/
|
|
15720
|
-
DoctorsApi.prototype.apiV1DoctorsDoctorIdAffiliationsPost = function (doctorId, createDoctorAffiliationCommand, options) {
|
|
15721
|
-
var _this = this;
|
|
15722
|
-
return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
15723
|
-
};
|
|
15724
15870
|
/**
|
|
15725
15871
|
*
|
|
15726
15872
|
* @summary Delete DoctorCertificate.
|