ch-admin-api-client-typescript 3.3.5 → 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.
Files changed (5) hide show
  1. package/lib/api.d.ts +1361 -1516
  2. package/lib/api.d.ts.map +1 -1
  3. package/lib/api.js +395 -256
  4. package/package.json +1 -1
  5. package/src/api.ts +1345 -1439
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
- * DoctorsApi - axios parameter creator
11978
+ * DoctorAffiliationsApi - axios parameter creator
11979
11979
  * @export
11980
11980
  */
11981
- exports.DoctorsApiAxiosParamCreator = function (configuration) {
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} doctorId
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
- apiV1DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
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
- // verify required parameter 'doctorId' is not null or undefined
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} doctorId
12049
- * @param {string} hospitalId
12068
+ * @param {string} id
12050
12069
  * @param {*} [options] Override http request option.
12051
12070
  * @throws {RequiredError}
12052
12071
  */
12053
- apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete: function (doctorId, hospitalId, options) {
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 'doctorId' is not null or undefined
12061
- common_1.assertParamExists('apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete', 'doctorId', doctorId);
12062
- // verify required parameter 'hospitalId' is not null or undefined
12063
- common_1.assertParamExists('apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete', 'hospitalId', hospitalId);
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} doctorId
12096
- * @param {string} hospitalId
12111
+ * @param {string} id
12097
12112
  * @param {*} [options] Override http request option.
12098
12113
  * @throws {RequiredError}
12099
12114
  */
12100
- apiV1DoctorsDoctorIdAffiliationsHospitalIdGet: function (doctorId, hospitalId, options) {
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 'doctorId' is not null or undefined
12108
- common_1.assertParamExists('apiV1DoctorsDoctorIdAffiliationsHospitalIdGet', 'doctorId', doctorId);
12109
- // verify required parameter 'hospitalId' is not null or undefined
12110
- common_1.assertParamExists('apiV1DoctorsDoctorIdAffiliationsHospitalIdGet', 'hospitalId', hospitalId);
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
- * @param {string} doctorId
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
- apiV1DoctorsDoctorIdAffiliationsPost: function (doctorId, createDoctorAffiliationCommand, options) {
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
- // verify required parameter 'doctorId' is not null or undefined
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.
@@ -13888,7 +14220,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
13888
14220
  *
13889
14221
  * @summary Get all Doctors.
13890
14222
  * @param {string} [hospitalId]
13891
- * @param {string} [hospitalName]
13892
14223
  * @param {string} [languageCode]
13893
14224
  * @param {boolean} [returnDefaultValue]
13894
14225
  * @param {Array<string>} [ids]
@@ -13907,7 +14238,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
13907
14238
  * @param {*} [options] Override http request option.
13908
14239
  * @throws {RequiredError}
13909
14240
  */
13910
- apiV1DoctorsGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
14241
+ apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
13911
14242
  if (options === void 0) { options = {}; }
13912
14243
  return __awaiter(_this, void 0, void 0, function () {
13913
14244
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -13932,9 +14263,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
13932
14263
  if (hospitalId !== undefined) {
13933
14264
  localVarQueryParameter['HospitalId'] = hospitalId;
13934
14265
  }
13935
- if (hospitalName !== undefined) {
13936
- localVarQueryParameter['HospitalName'] = hospitalName;
13937
- }
13938
14266
  if (languageCode !== undefined) {
13939
14267
  localVarQueryParameter['LanguageCode'] = languageCode;
13940
14268
  }
@@ -14043,7 +14371,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14043
14371
  *
14044
14372
  * @summary Get all Doctors.
14045
14373
  * @param {string} [hospitalId]
14046
- * @param {string} [hospitalName]
14047
14374
  * @param {string} [languageCode]
14048
14375
  * @param {boolean} [returnDefaultValue]
14049
14376
  * @param {Array<string>} [ids]
@@ -14062,7 +14389,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14062
14389
  * @param {*} [options] Override http request option.
14063
14390
  * @throws {RequiredError}
14064
14391
  */
14065
- apiV1DoctorsSimpleGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
14392
+ apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
14066
14393
  if (options === void 0) { options = {}; }
14067
14394
  return __awaiter(_this, void 0, void 0, function () {
14068
14395
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -14087,9 +14414,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14087
14414
  if (hospitalId !== undefined) {
14088
14415
  localVarQueryParameter['HospitalId'] = hospitalId;
14089
14416
  }
14090
- if (hospitalName !== undefined) {
14091
- localVarQueryParameter['HospitalName'] = hospitalName;
14092
- }
14093
14417
  if (languageCode !== undefined) {
14094
14418
  localVarQueryParameter['LanguageCode'] = languageCode;
14095
14419
  }
@@ -14211,92 +14535,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
14211
14535
  exports.DoctorsApiFp = function (configuration) {
14212
14536
  var localVarAxiosParamCreator = exports.DoctorsApiAxiosParamCreator(configuration);
14213
14537
  return {
14214
- /**
14215
- *
14216
- * @summary Get all doctor affiliations.
14217
- * @param {string} doctorId
14218
- * @param {string} [hospitalName]
14219
- * @param {number} [page]
14220
- * @param {number} [limit]
14221
- * @param {Date} [lastRetrieved]
14222
- * @param {*} [options] Override http request option.
14223
- * @throws {RequiredError}
14224
- */
14225
- apiV1DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
14226
- return __awaiter(this, void 0, void 0, function () {
14227
- var localVarAxiosArgs;
14228
- return __generator(this, function (_a) {
14229
- switch (_a.label) {
14230
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options)];
14231
- case 1:
14232
- localVarAxiosArgs = _a.sent();
14233
- return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
14234
- }
14235
- });
14236
- });
14237
- },
14238
- /**
14239
- *
14240
- * @summary Delete doctor affiliation.
14241
- * @param {string} doctorId
14242
- * @param {string} hospitalId
14243
- * @param {*} [options] Override http request option.
14244
- * @throws {RequiredError}
14245
- */
14246
- apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete: function (doctorId, hospitalId, options) {
14247
- return __awaiter(this, void 0, void 0, function () {
14248
- var localVarAxiosArgs;
14249
- return __generator(this, function (_a) {
14250
- switch (_a.label) {
14251
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete(doctorId, hospitalId, options)];
14252
- case 1:
14253
- localVarAxiosArgs = _a.sent();
14254
- return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
14255
- }
14256
- });
14257
- });
14258
- },
14259
- /**
14260
- *
14261
- * @summary Get doctor affiliation.
14262
- * @param {string} doctorId
14263
- * @param {string} hospitalId
14264
- * @param {*} [options] Override http request option.
14265
- * @throws {RequiredError}
14266
- */
14267
- apiV1DoctorsDoctorIdAffiliationsHospitalIdGet: function (doctorId, hospitalId, options) {
14268
- return __awaiter(this, void 0, void 0, function () {
14269
- var localVarAxiosArgs;
14270
- return __generator(this, function (_a) {
14271
- switch (_a.label) {
14272
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options)];
14273
- case 1:
14274
- localVarAxiosArgs = _a.sent();
14275
- return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
14276
- }
14277
- });
14278
- });
14279
- },
14280
- /**
14281
- *
14282
- * @param {string} doctorId
14283
- * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
14284
- * @param {*} [options] Override http request option.
14285
- * @throws {RequiredError}
14286
- */
14287
- apiV1DoctorsDoctorIdAffiliationsPost: function (doctorId, createDoctorAffiliationCommand, options) {
14288
- return __awaiter(this, void 0, void 0, function () {
14289
- var localVarAxiosArgs;
14290
- return __generator(this, function (_a) {
14291
- switch (_a.label) {
14292
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options)];
14293
- case 1:
14294
- localVarAxiosArgs = _a.sent();
14295
- return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
14296
- }
14297
- });
14298
- });
14299
- },
14300
14538
  /**
14301
14539
  *
14302
14540
  * @summary Delete DoctorCertificate.
@@ -15030,7 +15268,6 @@ exports.DoctorsApiFp = function (configuration) {
15030
15268
  *
15031
15269
  * @summary Get all Doctors.
15032
15270
  * @param {string} [hospitalId]
15033
- * @param {string} [hospitalName]
15034
15271
  * @param {string} [languageCode]
15035
15272
  * @param {boolean} [returnDefaultValue]
15036
15273
  * @param {Array<string>} [ids]
@@ -15049,12 +15286,12 @@ exports.DoctorsApiFp = function (configuration) {
15049
15286
  * @param {*} [options] Override http request option.
15050
15287
  * @throws {RequiredError}
15051
15288
  */
15052
- apiV1DoctorsGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15289
+ apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15053
15290
  return __awaiter(this, void 0, void 0, function () {
15054
15291
  var localVarAxiosArgs;
15055
15292
  return __generator(this, function (_a) {
15056
15293
  switch (_a.label) {
15057
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
15294
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
15058
15295
  case 1:
15059
15296
  localVarAxiosArgs = _a.sent();
15060
15297
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -15086,7 +15323,6 @@ exports.DoctorsApiFp = function (configuration) {
15086
15323
  *
15087
15324
  * @summary Get all Doctors.
15088
15325
  * @param {string} [hospitalId]
15089
- * @param {string} [hospitalName]
15090
15326
  * @param {string} [languageCode]
15091
15327
  * @param {boolean} [returnDefaultValue]
15092
15328
  * @param {Array<string>} [ids]
@@ -15105,12 +15341,12 @@ exports.DoctorsApiFp = function (configuration) {
15105
15341
  * @param {*} [options] Override http request option.
15106
15342
  * @throws {RequiredError}
15107
15343
  */
15108
- apiV1DoctorsSimpleGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15344
+ apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15109
15345
  return __awaiter(this, void 0, void 0, function () {
15110
15346
  var localVarAxiosArgs;
15111
15347
  return __generator(this, function (_a) {
15112
15348
  switch (_a.label) {
15113
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSimpleGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
15349
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
15114
15350
  case 1:
15115
15351
  localVarAxiosArgs = _a.sent();
15116
15352
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -15148,52 +15384,6 @@ exports.DoctorsApiFp = function (configuration) {
15148
15384
  exports.DoctorsApiFactory = function (configuration, basePath, axios) {
15149
15385
  var localVarFp = exports.DoctorsApiFp(configuration);
15150
15386
  return {
15151
- /**
15152
- *
15153
- * @summary Get all doctor affiliations.
15154
- * @param {string} doctorId
15155
- * @param {string} [hospitalName]
15156
- * @param {number} [page]
15157
- * @param {number} [limit]
15158
- * @param {Date} [lastRetrieved]
15159
- * @param {*} [options] Override http request option.
15160
- * @throws {RequiredError}
15161
- */
15162
- apiV1DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
15163
- return localVarFp.apiV1DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
15164
- },
15165
- /**
15166
- *
15167
- * @summary Delete doctor affiliation.
15168
- * @param {string} doctorId
15169
- * @param {string} hospitalId
15170
- * @param {*} [options] Override http request option.
15171
- * @throws {RequiredError}
15172
- */
15173
- apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete: function (doctorId, hospitalId, options) {
15174
- return localVarFp.apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete(doctorId, hospitalId, options).then(function (request) { return request(axios, basePath); });
15175
- },
15176
- /**
15177
- *
15178
- * @summary Get doctor affiliation.
15179
- * @param {string} doctorId
15180
- * @param {string} hospitalId
15181
- * @param {*} [options] Override http request option.
15182
- * @throws {RequiredError}
15183
- */
15184
- apiV1DoctorsDoctorIdAffiliationsHospitalIdGet: function (doctorId, hospitalId, options) {
15185
- return localVarFp.apiV1DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options).then(function (request) { return request(axios, basePath); });
15186
- },
15187
- /**
15188
- *
15189
- * @param {string} doctorId
15190
- * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
15191
- * @param {*} [options] Override http request option.
15192
- * @throws {RequiredError}
15193
- */
15194
- apiV1DoctorsDoctorIdAffiliationsPost: function (doctorId, createDoctorAffiliationCommand, options) {
15195
- return localVarFp.apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options).then(function (request) { return request(axios, basePath); });
15196
- },
15197
15387
  /**
15198
15388
  *
15199
15389
  * @summary Delete DoctorCertificate.
@@ -15597,7 +15787,6 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
15597
15787
  *
15598
15788
  * @summary Get all Doctors.
15599
15789
  * @param {string} [hospitalId]
15600
- * @param {string} [hospitalName]
15601
15790
  * @param {string} [languageCode]
15602
15791
  * @param {boolean} [returnDefaultValue]
15603
15792
  * @param {Array<string>} [ids]
@@ -15616,8 +15805,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
15616
15805
  * @param {*} [options] Override http request option.
15617
15806
  * @throws {RequiredError}
15618
15807
  */
15619
- apiV1DoctorsGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15620
- return localVarFp.apiV1DoctorsGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
15808
+ apiV1DoctorsGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15809
+ return localVarFp.apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
15621
15810
  },
15622
15811
  /**
15623
15812
  *
@@ -15633,7 +15822,6 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
15633
15822
  *
15634
15823
  * @summary Get all Doctors.
15635
15824
  * @param {string} [hospitalId]
15636
- * @param {string} [hospitalName]
15637
15825
  * @param {string} [languageCode]
15638
15826
  * @param {boolean} [returnDefaultValue]
15639
15827
  * @param {Array<string>} [ids]
@@ -15652,8 +15840,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
15652
15840
  * @param {*} [options] Override http request option.
15653
15841
  * @throws {RequiredError}
15654
15842
  */
15655
- apiV1DoctorsSimpleGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15656
- return localVarFp.apiV1DoctorsSimpleGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
15843
+ apiV1DoctorsSimpleGet: function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
15844
+ return localVarFp.apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
15657
15845
  },
15658
15846
  /**
15659
15847
  *
@@ -15679,60 +15867,6 @@ var DoctorsApi = /** @class */ (function (_super) {
15679
15867
  function DoctorsApi() {
15680
15868
  return _super !== null && _super.apply(this, arguments) || this;
15681
15869
  }
15682
- /**
15683
- *
15684
- * @summary Get all doctor affiliations.
15685
- * @param {string} doctorId
15686
- * @param {string} [hospitalName]
15687
- * @param {number} [page]
15688
- * @param {number} [limit]
15689
- * @param {Date} [lastRetrieved]
15690
- * @param {*} [options] Override http request option.
15691
- * @throws {RequiredError}
15692
- * @memberof DoctorsApi
15693
- */
15694
- DoctorsApi.prototype.apiV1DoctorsDoctorIdAffiliationsGet = function (doctorId, hospitalName, page, limit, lastRetrieved, options) {
15695
- var _this = this;
15696
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
15697
- };
15698
- /**
15699
- *
15700
- * @summary Delete doctor affiliation.
15701
- * @param {string} doctorId
15702
- * @param {string} hospitalId
15703
- * @param {*} [options] Override http request option.
15704
- * @throws {RequiredError}
15705
- * @memberof DoctorsApi
15706
- */
15707
- DoctorsApi.prototype.apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete = function (doctorId, hospitalId, options) {
15708
- var _this = this;
15709
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsHospitalIdDelete(doctorId, hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
15710
- };
15711
- /**
15712
- *
15713
- * @summary Get doctor affiliation.
15714
- * @param {string} doctorId
15715
- * @param {string} hospitalId
15716
- * @param {*} [options] Override http request option.
15717
- * @throws {RequiredError}
15718
- * @memberof DoctorsApi
15719
- */
15720
- DoctorsApi.prototype.apiV1DoctorsDoctorIdAffiliationsHospitalIdGet = function (doctorId, hospitalId, options) {
15721
- var _this = this;
15722
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
15723
- };
15724
- /**
15725
- *
15726
- * @param {string} doctorId
15727
- * @param {CreateDoctorAffiliationCommand} [createDoctorAffiliationCommand]
15728
- * @param {*} [options] Override http request option.
15729
- * @throws {RequiredError}
15730
- * @memberof DoctorsApi
15731
- */
15732
- DoctorsApi.prototype.apiV1DoctorsDoctorIdAffiliationsPost = function (doctorId, createDoctorAffiliationCommand, options) {
15733
- var _this = this;
15734
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdAffiliationsPost(doctorId, createDoctorAffiliationCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
15735
- };
15736
15870
  /**
15737
15871
  *
15738
15872
  * @summary Delete DoctorCertificate.
@@ -16202,7 +16336,6 @@ var DoctorsApi = /** @class */ (function (_super) {
16202
16336
  *
16203
16337
  * @summary Get all Doctors.
16204
16338
  * @param {string} [hospitalId]
16205
- * @param {string} [hospitalName]
16206
16339
  * @param {string} [languageCode]
16207
16340
  * @param {boolean} [returnDefaultValue]
16208
16341
  * @param {Array<string>} [ids]
@@ -16222,9 +16355,9 @@ var DoctorsApi = /** @class */ (function (_super) {
16222
16355
  * @throws {RequiredError}
16223
16356
  * @memberof DoctorsApi
16224
16357
  */
16225
- DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
16358
+ DoctorsApi.prototype.apiV1DoctorsGet = function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
16226
16359
  var _this = this;
16227
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
16360
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
16228
16361
  };
16229
16362
  /**
16230
16363
  *
@@ -16242,7 +16375,6 @@ var DoctorsApi = /** @class */ (function (_super) {
16242
16375
  *
16243
16376
  * @summary Get all Doctors.
16244
16377
  * @param {string} [hospitalId]
16245
- * @param {string} [hospitalName]
16246
16378
  * @param {string} [languageCode]
16247
16379
  * @param {boolean} [returnDefaultValue]
16248
16380
  * @param {Array<string>} [ids]
@@ -16262,9 +16394,9 @@ var DoctorsApi = /** @class */ (function (_super) {
16262
16394
  * @throws {RequiredError}
16263
16395
  * @memberof DoctorsApi
16264
16396
  */
16265
- DoctorsApi.prototype.apiV1DoctorsSimpleGet = function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
16397
+ DoctorsApi.prototype.apiV1DoctorsSimpleGet = function (hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
16266
16398
  var _this = this;
16267
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsSimpleGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
16399
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsSimpleGet(hospitalId, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
16268
16400
  };
16269
16401
  /**
16270
16402
  *
@@ -31004,13 +31136,14 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
31004
31136
  * @param {boolean} [recommended]
31005
31137
  * @param {number} [rate]
31006
31138
  * @param {ReviewType} [reviewType]
31139
+ * @param {string} [languageCode]
31007
31140
  * @param {number} [page]
31008
31141
  * @param {number} [limit]
31009
31142
  * @param {Date} [lastRetrieved]
31010
31143
  * @param {*} [options] Override http request option.
31011
31144
  * @throws {RequiredError}
31012
31145
  */
31013
- apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
31146
+ apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options) {
31014
31147
  if (options === void 0) { options = {}; }
31015
31148
  return __awaiter(_this, void 0, void 0, function () {
31016
31149
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -31056,6 +31189,9 @@ exports.ServiceReviewsApiAxiosParamCreator = function (configuration) {
31056
31189
  if (reviewType !== undefined) {
31057
31190
  localVarQueryParameter['ReviewType'] = reviewType;
31058
31191
  }
31192
+ if (languageCode !== undefined) {
31193
+ localVarQueryParameter['LanguageCode'] = languageCode;
31194
+ }
31059
31195
  if (page !== undefined) {
31060
31196
  localVarQueryParameter['page'] = page;
31061
31197
  }
@@ -31526,18 +31662,19 @@ exports.ServiceReviewsApiFp = function (configuration) {
31526
31662
  * @param {boolean} [recommended]
31527
31663
  * @param {number} [rate]
31528
31664
  * @param {ReviewType} [reviewType]
31665
+ * @param {string} [languageCode]
31529
31666
  * @param {number} [page]
31530
31667
  * @param {number} [limit]
31531
31668
  * @param {Date} [lastRetrieved]
31532
31669
  * @param {*} [options] Override http request option.
31533
31670
  * @throws {RequiredError}
31534
31671
  */
31535
- apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
31672
+ apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options) {
31536
31673
  return __awaiter(this, void 0, void 0, function () {
31537
31674
  var localVarAxiosArgs;
31538
31675
  return __generator(this, function (_a) {
31539
31676
  switch (_a.label) {
31540
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options)];
31677
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options)];
31541
31678
  case 1:
31542
31679
  localVarAxiosArgs = _a.sent();
31543
31680
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -31755,14 +31892,15 @@ exports.ServiceReviewsApiFactory = function (configuration, basePath, axios) {
31755
31892
  * @param {boolean} [recommended]
31756
31893
  * @param {number} [rate]
31757
31894
  * @param {ReviewType} [reviewType]
31895
+ * @param {string} [languageCode]
31758
31896
  * @param {number} [page]
31759
31897
  * @param {number} [limit]
31760
31898
  * @param {Date} [lastRetrieved]
31761
31899
  * @param {*} [options] Override http request option.
31762
31900
  * @throws {RequiredError}
31763
31901
  */
31764
- apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
31765
- return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
31902
+ apiV1ServicereviewsGet: function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options) {
31903
+ return localVarFp.apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
31766
31904
  },
31767
31905
  /**
31768
31906
  *
@@ -31888,6 +32026,7 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
31888
32026
  * @param {boolean} [recommended]
31889
32027
  * @param {number} [rate]
31890
32028
  * @param {ReviewType} [reviewType]
32029
+ * @param {string} [languageCode]
31891
32030
  * @param {number} [page]
31892
32031
  * @param {number} [limit]
31893
32032
  * @param {Date} [lastRetrieved]
@@ -31895,9 +32034,9 @@ var ServiceReviewsApi = /** @class */ (function (_super) {
31895
32034
  * @throws {RequiredError}
31896
32035
  * @memberof ServiceReviewsApi
31897
32036
  */
31898
- ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options) {
32037
+ ServiceReviewsApi.prototype.apiV1ServicereviewsGet = function (serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options) {
31899
32038
  var _this = this;
31900
- return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
32039
+ return exports.ServiceReviewsApiFp(this.configuration).apiV1ServicereviewsGet(serviceId, serviceName, patientId, patientName, gender, recommended, rate, reviewType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
31901
32040
  };
31902
32041
  /**
31903
32042
  *