ch-api-client-typescript2 3.4.0 → 3.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/api.js CHANGED
@@ -78,9 +78,9 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
78
78
  return (mod && mod.__esModule) ? mod : { "default": mod };
79
79
  };
80
80
  Object.defineProperty(exports, "__esModule", { value: true });
81
- exports.CountriesApiFp = exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
82
- exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PatientsApi = exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = void 0;
83
- exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = void 0;
81
+ exports.CountriesApiAxiosParamCreator = exports.ContributorsApi = exports.ContributorsApiFactory = exports.ContributorsApiFp = exports.ContributorsApiAxiosParamCreator = exports.ConsultationsApi = exports.ConsultationsApiFactory = exports.ConsultationsApiFp = exports.ConsultationsApiAxiosParamCreator = exports.CommunicationsApi = exports.CommunicationsApiFactory = exports.CommunicationsApiFp = exports.CommunicationsApiAxiosParamCreator = exports.ChatUsersApi = exports.ChatUsersApiFactory = exports.ChatUsersApiFp = exports.ChatUsersApiAxiosParamCreator = exports.BookingsApi = exports.BookingsApiFactory = exports.BookingsApiFp = exports.BookingsApiAxiosParamCreator = exports.ArticlesApi = exports.ArticlesApiFactory = exports.ArticlesApiFp = exports.ArticlesApiAxiosParamCreator = exports.AccreditationsApi = exports.AccreditationsApiFactory = exports.AccreditationsApiFp = exports.AccreditationsApiAxiosParamCreator = exports.AboutUsApi = exports.AboutUsApiFactory = exports.AboutUsApiFp = exports.AboutUsApiAxiosParamCreator = exports.UserLocationType = exports.SortingOrder = exports.SnsType = exports.ReviewType = exports.RejectReason = exports.RefundPolicy = exports.RecurringInterval = exports.Procedure = exports.NotificationCode = exports.MediaType = exports.MarketingType = exports.Gender = exports.ContributionType = exports.ConsultationType = exports.ConsultationStatus = exports.BookingStatus = exports.ArticleStatus = void 0;
82
+ exports.PatientsApiFactory = exports.PatientsApiFp = exports.PatientsApiAxiosParamCreator = exports.NotificationsApi = exports.NotificationsApiFactory = exports.NotificationsApiFp = exports.NotificationsApiAxiosParamCreator = exports.MembershipsApi = exports.MembershipsApiFactory = exports.MembershipsApiFp = exports.MembershipsApiAxiosParamCreator = exports.LanguagesApi = exports.LanguagesApiFactory = exports.LanguagesApiFp = exports.LanguagesApiAxiosParamCreator = exports.ImagesApi = exports.ImagesApiFactory = exports.ImagesApiFp = exports.ImagesApiAxiosParamCreator = exports.HospitalsApi = exports.HospitalsApiFactory = exports.HospitalsApiFp = exports.HospitalsApiAxiosParamCreator = exports.GroupChannelsApi = exports.GroupChannelsApiFactory = exports.GroupChannelsApiFp = exports.GroupChannelsApiAxiosParamCreator = exports.FaqsApi = exports.FaqsApiFactory = exports.FaqsApiFp = exports.FaqsApiAxiosParamCreator = exports.FaqCategoriesApi = exports.FaqCategoriesApiFactory = exports.FaqCategoriesApiFp = exports.FaqCategoriesApiAxiosParamCreator = exports.DoctorsApi = exports.DoctorsApiFactory = exports.DoctorsApiFp = exports.DoctorsApiAxiosParamCreator = exports.DoctorAffiliationsApi = exports.DoctorAffiliationsApiFactory = exports.DoctorAffiliationsApiFp = exports.DoctorAffiliationsApiAxiosParamCreator = exports.DealsApi = exports.DealsApiFactory = exports.DealsApiFp = exports.DealsApiAxiosParamCreator = exports.CountriesApi = exports.CountriesApiFactory = exports.CountriesApiFp = void 0;
83
+ exports.TagsApi = exports.TagsApiFactory = exports.TagsApiFp = exports.TagsApiAxiosParamCreator = exports.SpecialtyTypesApi = exports.SpecialtyTypesApiFactory = exports.SpecialtyTypesApiFp = exports.SpecialtyTypesApiAxiosParamCreator = exports.SpecialtiesApi = exports.SpecialtiesApiFactory = exports.SpecialtiesApiFp = exports.SpecialtiesApiAxiosParamCreator = exports.ServicesCategoriesApi = exports.ServicesCategoriesApiFactory = exports.ServicesCategoriesApiFp = exports.ServicesCategoriesApiAxiosParamCreator = exports.ServicesApi = exports.ServicesApiFactory = exports.ServicesApiFp = exports.ServicesApiAxiosParamCreator = exports.ServiceReviewsApi = exports.ServiceReviewsApiFactory = exports.ServiceReviewsApiFp = exports.ServiceReviewsApiAxiosParamCreator = exports.ProfilesApi = exports.ProfilesApiFactory = exports.ProfilesApiFp = exports.ProfilesApiAxiosParamCreator = exports.PlansApi = exports.PlansApiFactory = exports.PlansApiFp = exports.PlansApiAxiosParamCreator = exports.PatientsApi = void 0;
84
84
  var axios_1 = __importDefault(require("axios"));
85
85
  // Some imports not used depending on template conditions
86
86
  // @ts-ignore
@@ -286,6 +286,16 @@ var SnsType;
286
286
  SnsType["Youtube"] = "Youtube";
287
287
  SnsType["KakaoTalk"] = "KakaoTalk";
288
288
  })(SnsType = exports.SnsType || (exports.SnsType = {}));
289
+ /**
290
+ *
291
+ * @export
292
+ * @enum {string}
293
+ */
294
+ var SortingOrder;
295
+ (function (SortingOrder) {
296
+ SortingOrder["Ascending"] = "Ascending";
297
+ SortingOrder["Descending"] = "Descending";
298
+ })(SortingOrder = exports.SortingOrder || (exports.SortingOrder = {}));
289
299
  /**
290
300
  *
291
301
  * @export
@@ -1013,11 +1023,10 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
1013
1023
  * @summary Get Article.
1014
1024
  * @param {string} articleId
1015
1025
  * @param {string} [languageCode]
1016
- * @param {boolean} [returnDefaultValue]
1017
1026
  * @param {*} [options] Override http request option.
1018
1027
  * @throws {RequiredError}
1019
1028
  */
1020
- apiV2ArticlesArticleIdGet: function (articleId, languageCode, returnDefaultValue, options) {
1029
+ apiV2ArticlesArticleIdGet: function (articleId, languageCode, options) {
1021
1030
  if (options === void 0) { options = {}; }
1022
1031
  return __awaiter(_this, void 0, void 0, function () {
1023
1032
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -1036,9 +1045,6 @@ var ArticlesApiAxiosParamCreator = function (configuration) {
1036
1045
  if (languageCode !== undefined) {
1037
1046
  localVarQueryParameter['languageCode'] = languageCode;
1038
1047
  }
1039
- if (returnDefaultValue !== undefined) {
1040
- localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
1041
- }
1042
1048
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
1043
1049
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1044
1050
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -1531,16 +1537,15 @@ var ArticlesApiFp = function (configuration) {
1531
1537
  * @summary Get Article.
1532
1538
  * @param {string} articleId
1533
1539
  * @param {string} [languageCode]
1534
- * @param {boolean} [returnDefaultValue]
1535
1540
  * @param {*} [options] Override http request option.
1536
1541
  * @throws {RequiredError}
1537
1542
  */
1538
- apiV2ArticlesArticleIdGet: function (articleId, languageCode, returnDefaultValue, options) {
1543
+ apiV2ArticlesArticleIdGet: function (articleId, languageCode, options) {
1539
1544
  return __awaiter(this, void 0, void 0, function () {
1540
1545
  var localVarAxiosArgs;
1541
1546
  return __generator(this, function (_a) {
1542
1547
  switch (_a.label) {
1543
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesArticleIdGet(articleId, languageCode, returnDefaultValue, options)];
1548
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ArticlesArticleIdGet(articleId, languageCode, options)];
1544
1549
  case 1:
1545
1550
  localVarAxiosArgs = _a.sent();
1546
1551
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -1790,12 +1795,11 @@ var ArticlesApiFactory = function (configuration, basePath, axios) {
1790
1795
  * @summary Get Article.
1791
1796
  * @param {string} articleId
1792
1797
  * @param {string} [languageCode]
1793
- * @param {boolean} [returnDefaultValue]
1794
1798
  * @param {*} [options] Override http request option.
1795
1799
  * @throws {RequiredError}
1796
1800
  */
1797
- apiV2ArticlesArticleIdGet: function (articleId, languageCode, returnDefaultValue, options) {
1798
- return localVarFp.apiV2ArticlesArticleIdGet(articleId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
1801
+ apiV2ArticlesArticleIdGet: function (articleId, languageCode, options) {
1802
+ return localVarFp.apiV2ArticlesArticleIdGet(articleId, languageCode, options).then(function (request) { return request(axios, basePath); });
1799
1803
  },
1800
1804
  /**
1801
1805
  *
@@ -1967,14 +1971,13 @@ var ArticlesApi = /** @class */ (function (_super) {
1967
1971
  * @summary Get Article.
1968
1972
  * @param {string} articleId
1969
1973
  * @param {string} [languageCode]
1970
- * @param {boolean} [returnDefaultValue]
1971
1974
  * @param {*} [options] Override http request option.
1972
1975
  * @throws {RequiredError}
1973
1976
  * @memberof ArticlesApi
1974
1977
  */
1975
- ArticlesApi.prototype.apiV2ArticlesArticleIdGet = function (articleId, languageCode, returnDefaultValue, options) {
1978
+ ArticlesApi.prototype.apiV2ArticlesArticleIdGet = function (articleId, languageCode, options) {
1976
1979
  var _this = this;
1977
- return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesArticleIdGet(articleId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
1980
+ return (0, exports.ArticlesApiFp)(this.configuration).apiV2ArticlesArticleIdGet(articleId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
1978
1981
  };
1979
1982
  /**
1980
1983
  *
@@ -2121,10 +2124,11 @@ var BookingsApiAxiosParamCreator = function (configuration) {
2121
2124
  *
2122
2125
  * @summary Get booking.
2123
2126
  * @param {string} bookingId
2127
+ * @param {string} [languageCode]
2124
2128
  * @param {*} [options] Override http request option.
2125
2129
  * @throws {RequiredError}
2126
2130
  */
2127
- apiV2BookingsBookingIdGet: function (bookingId, options) {
2131
+ apiV2BookingsBookingIdGet: function (bookingId, languageCode, options) {
2128
2132
  if (options === void 0) { options = {}; }
2129
2133
  return __awaiter(_this, void 0, void 0, function () {
2130
2134
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -2149,6 +2153,9 @@ var BookingsApiAxiosParamCreator = function (configuration) {
2149
2153
  // authentication oauth2 required
2150
2154
  // oauth required
2151
2155
  _a.sent();
2156
+ if (languageCode !== undefined) {
2157
+ localVarQueryParameter['languageCode'] = languageCode;
2158
+ }
2152
2159
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
2153
2160
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2154
2161
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -2252,19 +2259,26 @@ var BookingsApiAxiosParamCreator = function (configuration) {
2252
2259
  /**
2253
2260
  *
2254
2261
  * @summary Get all bookings.
2255
- * @param {string} [searchString]
2262
+ * @param {string} [hospitalId]
2263
+ * @param {string} [hospitalName]
2264
+ * @param {string} [dealId]
2265
+ * @param {string} [dealName]
2256
2266
  * @param {boolean} [isOpen]
2257
2267
  * @param {boolean} [isCompleted]
2258
2268
  * @param {BookingStatus} [status]
2259
2269
  * @param {string} [dealPackageId]
2260
- * @param {string} [hospitalId]
2270
+ * @param {SortingOrder} [sortRequestDate]
2271
+ * @param {SortingOrder} [sortConfirmedDateStart]
2272
+ * @param {boolean} [isExternal]
2273
+ * @param {boolean} [paymentEnabled]
2274
+ * @param {string} [languageCode]
2261
2275
  * @param {number} [page]
2262
2276
  * @param {number} [limit]
2263
2277
  * @param {Date} [lastRetrieved]
2264
2278
  * @param {*} [options] Override http request option.
2265
2279
  * @throws {RequiredError}
2266
2280
  */
2267
- apiV2BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, hospitalId, page, limit, lastRetrieved, options) {
2281
+ apiV2BookingsGet: function (hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, page, limit, lastRetrieved, options) {
2268
2282
  if (options === void 0) { options = {}; }
2269
2283
  return __awaiter(_this, void 0, void 0, function () {
2270
2284
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -2286,8 +2300,17 @@ var BookingsApiAxiosParamCreator = function (configuration) {
2286
2300
  // authentication oauth2 required
2287
2301
  // oauth required
2288
2302
  _a.sent();
2289
- if (searchString !== undefined) {
2290
- localVarQueryParameter['SearchString'] = searchString;
2303
+ if (hospitalId !== undefined) {
2304
+ localVarQueryParameter['HospitalId'] = hospitalId;
2305
+ }
2306
+ if (hospitalName !== undefined) {
2307
+ localVarQueryParameter['HospitalName'] = hospitalName;
2308
+ }
2309
+ if (dealId !== undefined) {
2310
+ localVarQueryParameter['DealId'] = dealId;
2311
+ }
2312
+ if (dealName !== undefined) {
2313
+ localVarQueryParameter['DealName'] = dealName;
2291
2314
  }
2292
2315
  if (isOpen !== undefined) {
2293
2316
  localVarQueryParameter['IsOpen'] = isOpen;
@@ -2301,8 +2324,20 @@ var BookingsApiAxiosParamCreator = function (configuration) {
2301
2324
  if (dealPackageId !== undefined) {
2302
2325
  localVarQueryParameter['DealPackageId'] = dealPackageId;
2303
2326
  }
2304
- if (hospitalId !== undefined) {
2305
- localVarQueryParameter['HospitalId'] = hospitalId;
2327
+ if (sortRequestDate !== undefined) {
2328
+ localVarQueryParameter['SortRequestDate'] = sortRequestDate;
2329
+ }
2330
+ if (sortConfirmedDateStart !== undefined) {
2331
+ localVarQueryParameter['SortConfirmedDateStart'] = sortConfirmedDateStart;
2332
+ }
2333
+ if (isExternal !== undefined) {
2334
+ localVarQueryParameter['IsExternal'] = isExternal;
2335
+ }
2336
+ if (paymentEnabled !== undefined) {
2337
+ localVarQueryParameter['PaymentEnabled'] = paymentEnabled;
2338
+ }
2339
+ if (languageCode !== undefined) {
2340
+ localVarQueryParameter['LanguageCode'] = languageCode;
2306
2341
  }
2307
2342
  if (page !== undefined) {
2308
2343
  localVarQueryParameter['page'] = page;
@@ -2386,15 +2421,16 @@ var BookingsApiFp = function (configuration) {
2386
2421
  *
2387
2422
  * @summary Get booking.
2388
2423
  * @param {string} bookingId
2424
+ * @param {string} [languageCode]
2389
2425
  * @param {*} [options] Override http request option.
2390
2426
  * @throws {RequiredError}
2391
2427
  */
2392
- apiV2BookingsBookingIdGet: function (bookingId, options) {
2428
+ apiV2BookingsBookingIdGet: function (bookingId, languageCode, options) {
2393
2429
  return __awaiter(this, void 0, void 0, function () {
2394
2430
  var localVarAxiosArgs;
2395
2431
  return __generator(this, function (_a) {
2396
2432
  switch (_a.label) {
2397
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2BookingsBookingIdGet(bookingId, options)];
2433
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2BookingsBookingIdGet(bookingId, languageCode, options)];
2398
2434
  case 1:
2399
2435
  localVarAxiosArgs = _a.sent();
2400
2436
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -2446,24 +2482,31 @@ var BookingsApiFp = function (configuration) {
2446
2482
  /**
2447
2483
  *
2448
2484
  * @summary Get all bookings.
2449
- * @param {string} [searchString]
2485
+ * @param {string} [hospitalId]
2486
+ * @param {string} [hospitalName]
2487
+ * @param {string} [dealId]
2488
+ * @param {string} [dealName]
2450
2489
  * @param {boolean} [isOpen]
2451
2490
  * @param {boolean} [isCompleted]
2452
2491
  * @param {BookingStatus} [status]
2453
2492
  * @param {string} [dealPackageId]
2454
- * @param {string} [hospitalId]
2493
+ * @param {SortingOrder} [sortRequestDate]
2494
+ * @param {SortingOrder} [sortConfirmedDateStart]
2495
+ * @param {boolean} [isExternal]
2496
+ * @param {boolean} [paymentEnabled]
2497
+ * @param {string} [languageCode]
2455
2498
  * @param {number} [page]
2456
2499
  * @param {number} [limit]
2457
2500
  * @param {Date} [lastRetrieved]
2458
2501
  * @param {*} [options] Override http request option.
2459
2502
  * @throws {RequiredError}
2460
2503
  */
2461
- apiV2BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, hospitalId, page, limit, lastRetrieved, options) {
2504
+ apiV2BookingsGet: function (hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, page, limit, lastRetrieved, options) {
2462
2505
  return __awaiter(this, void 0, void 0, function () {
2463
2506
  var localVarAxiosArgs;
2464
2507
  return __generator(this, function (_a) {
2465
2508
  switch (_a.label) {
2466
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, hospitalId, page, limit, lastRetrieved, options)];
2509
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2BookingsGet(hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, page, limit, lastRetrieved, options)];
2467
2510
  case 1:
2468
2511
  localVarAxiosArgs = _a.sent();
2469
2512
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -2506,11 +2549,12 @@ var BookingsApiFactory = function (configuration, basePath, axios) {
2506
2549
  *
2507
2550
  * @summary Get booking.
2508
2551
  * @param {string} bookingId
2552
+ * @param {string} [languageCode]
2509
2553
  * @param {*} [options] Override http request option.
2510
2554
  * @throws {RequiredError}
2511
2555
  */
2512
- apiV2BookingsBookingIdGet: function (bookingId, options) {
2513
- return localVarFp.apiV2BookingsBookingIdGet(bookingId, options).then(function (request) { return request(axios, basePath); });
2556
+ apiV2BookingsBookingIdGet: function (bookingId, languageCode, options) {
2557
+ return localVarFp.apiV2BookingsBookingIdGet(bookingId, languageCode, options).then(function (request) { return request(axios, basePath); });
2514
2558
  },
2515
2559
  /**
2516
2560
  *
@@ -2536,20 +2580,27 @@ var BookingsApiFactory = function (configuration, basePath, axios) {
2536
2580
  /**
2537
2581
  *
2538
2582
  * @summary Get all bookings.
2539
- * @param {string} [searchString]
2583
+ * @param {string} [hospitalId]
2584
+ * @param {string} [hospitalName]
2585
+ * @param {string} [dealId]
2586
+ * @param {string} [dealName]
2540
2587
  * @param {boolean} [isOpen]
2541
2588
  * @param {boolean} [isCompleted]
2542
2589
  * @param {BookingStatus} [status]
2543
2590
  * @param {string} [dealPackageId]
2544
- * @param {string} [hospitalId]
2591
+ * @param {SortingOrder} [sortRequestDate]
2592
+ * @param {SortingOrder} [sortConfirmedDateStart]
2593
+ * @param {boolean} [isExternal]
2594
+ * @param {boolean} [paymentEnabled]
2595
+ * @param {string} [languageCode]
2545
2596
  * @param {number} [page]
2546
2597
  * @param {number} [limit]
2547
2598
  * @param {Date} [lastRetrieved]
2548
2599
  * @param {*} [options] Override http request option.
2549
2600
  * @throws {RequiredError}
2550
2601
  */
2551
- apiV2BookingsGet: function (searchString, isOpen, isCompleted, status, dealPackageId, hospitalId, page, limit, lastRetrieved, options) {
2552
- return localVarFp.apiV2BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, hospitalId, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
2602
+ apiV2BookingsGet: function (hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, page, limit, lastRetrieved, options) {
2603
+ return localVarFp.apiV2BookingsGet(hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
2553
2604
  },
2554
2605
  /**
2555
2606
  *
@@ -2580,13 +2631,14 @@ var BookingsApi = /** @class */ (function (_super) {
2580
2631
  *
2581
2632
  * @summary Get booking.
2582
2633
  * @param {string} bookingId
2634
+ * @param {string} [languageCode]
2583
2635
  * @param {*} [options] Override http request option.
2584
2636
  * @throws {RequiredError}
2585
2637
  * @memberof BookingsApi
2586
2638
  */
2587
- BookingsApi.prototype.apiV2BookingsBookingIdGet = function (bookingId, options) {
2639
+ BookingsApi.prototype.apiV2BookingsBookingIdGet = function (bookingId, languageCode, options) {
2588
2640
  var _this = this;
2589
- return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsBookingIdGet(bookingId, options).then(function (request) { return request(_this.axios, _this.basePath); });
2641
+ return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsBookingIdGet(bookingId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
2590
2642
  };
2591
2643
  /**
2592
2644
  *
@@ -2616,12 +2668,19 @@ var BookingsApi = /** @class */ (function (_super) {
2616
2668
  /**
2617
2669
  *
2618
2670
  * @summary Get all bookings.
2619
- * @param {string} [searchString]
2671
+ * @param {string} [hospitalId]
2672
+ * @param {string} [hospitalName]
2673
+ * @param {string} [dealId]
2674
+ * @param {string} [dealName]
2620
2675
  * @param {boolean} [isOpen]
2621
2676
  * @param {boolean} [isCompleted]
2622
2677
  * @param {BookingStatus} [status]
2623
2678
  * @param {string} [dealPackageId]
2624
- * @param {string} [hospitalId]
2679
+ * @param {SortingOrder} [sortRequestDate]
2680
+ * @param {SortingOrder} [sortConfirmedDateStart]
2681
+ * @param {boolean} [isExternal]
2682
+ * @param {boolean} [paymentEnabled]
2683
+ * @param {string} [languageCode]
2625
2684
  * @param {number} [page]
2626
2685
  * @param {number} [limit]
2627
2686
  * @param {Date} [lastRetrieved]
@@ -2629,9 +2688,9 @@ var BookingsApi = /** @class */ (function (_super) {
2629
2688
  * @throws {RequiredError}
2630
2689
  * @memberof BookingsApi
2631
2690
  */
2632
- BookingsApi.prototype.apiV2BookingsGet = function (searchString, isOpen, isCompleted, status, dealPackageId, hospitalId, page, limit, lastRetrieved, options) {
2691
+ BookingsApi.prototype.apiV2BookingsGet = function (hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, page, limit, lastRetrieved, options) {
2633
2692
  var _this = this;
2634
- return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsGet(searchString, isOpen, isCompleted, status, dealPackageId, hospitalId, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
2693
+ return (0, exports.BookingsApiFp)(this.configuration).apiV2BookingsGet(hospitalId, hospitalName, dealId, dealName, isOpen, isCompleted, status, dealPackageId, sortRequestDate, sortConfirmedDateStart, isExternal, paymentEnabled, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
2635
2694
  };
2636
2695
  /**
2637
2696
  *
@@ -3514,10 +3573,11 @@ var ConsultationsApiAxiosParamCreator = function (configuration) {
3514
3573
  *
3515
3574
  * @summary Get consultation.
3516
3575
  * @param {string} consultationId
3576
+ * @param {string} [languageCode]
3517
3577
  * @param {*} [options] Override http request option.
3518
3578
  * @throws {RequiredError}
3519
3579
  */
3520
- apiV2ConsultationsConsultationIdGet: function (consultationId, options) {
3580
+ apiV2ConsultationsConsultationIdGet: function (consultationId, languageCode, options) {
3521
3581
  if (options === void 0) { options = {}; }
3522
3582
  return __awaiter(_this, void 0, void 0, function () {
3523
3583
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -3542,6 +3602,9 @@ var ConsultationsApiAxiosParamCreator = function (configuration) {
3542
3602
  // authentication oauth2 required
3543
3603
  // oauth required
3544
3604
  _a.sent();
3605
+ if (languageCode !== undefined) {
3606
+ localVarQueryParameter['languageCode'] = languageCode;
3607
+ }
3545
3608
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3546
3609
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3547
3610
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -3645,19 +3708,24 @@ var ConsultationsApiAxiosParamCreator = function (configuration) {
3645
3708
  /**
3646
3709
  *
3647
3710
  * @summary Get all consultations.
3648
- * @param {string} [searchString]
3711
+ * @param {string} [hospitalId]
3712
+ * @param {string} [hospitalName]
3713
+ * @param {string} [doctorId]
3714
+ * @param {string} [doctorName]
3715
+ * @param {string} [dealId]
3716
+ * @param {string} [dealName]
3649
3717
  * @param {boolean} [isOpen]
3650
3718
  * @param {boolean} [isCompleted]
3651
3719
  * @param {ConsultationStatus} [status]
3652
3720
  * @param {ConsultationType} [consultationType]
3653
- * @param {string} [hospitalId]
3721
+ * @param {string} [languageCode]
3654
3722
  * @param {number} [page]
3655
3723
  * @param {number} [limit]
3656
3724
  * @param {Date} [lastRetrieved]
3657
3725
  * @param {*} [options] Override http request option.
3658
3726
  * @throws {RequiredError}
3659
3727
  */
3660
- apiV2ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, hospitalId, page, limit, lastRetrieved, options) {
3728
+ apiV2ConsultationsGet: function (hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options) {
3661
3729
  if (options === void 0) { options = {}; }
3662
3730
  return __awaiter(_this, void 0, void 0, function () {
3663
3731
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -3679,8 +3747,23 @@ var ConsultationsApiAxiosParamCreator = function (configuration) {
3679
3747
  // authentication oauth2 required
3680
3748
  // oauth required
3681
3749
  _a.sent();
3682
- if (searchString !== undefined) {
3683
- localVarQueryParameter['SearchString'] = searchString;
3750
+ if (hospitalId !== undefined) {
3751
+ localVarQueryParameter['HospitalId'] = hospitalId;
3752
+ }
3753
+ if (hospitalName !== undefined) {
3754
+ localVarQueryParameter['HospitalName'] = hospitalName;
3755
+ }
3756
+ if (doctorId !== undefined) {
3757
+ localVarQueryParameter['DoctorId'] = doctorId;
3758
+ }
3759
+ if (doctorName !== undefined) {
3760
+ localVarQueryParameter['DoctorName'] = doctorName;
3761
+ }
3762
+ if (dealId !== undefined) {
3763
+ localVarQueryParameter['DealId'] = dealId;
3764
+ }
3765
+ if (dealName !== undefined) {
3766
+ localVarQueryParameter['DealName'] = dealName;
3684
3767
  }
3685
3768
  if (isOpen !== undefined) {
3686
3769
  localVarQueryParameter['IsOpen'] = isOpen;
@@ -3694,8 +3777,8 @@ var ConsultationsApiAxiosParamCreator = function (configuration) {
3694
3777
  if (consultationType !== undefined) {
3695
3778
  localVarQueryParameter['ConsultationType'] = consultationType;
3696
3779
  }
3697
- if (hospitalId !== undefined) {
3698
- localVarQueryParameter['HospitalId'] = hospitalId;
3780
+ if (languageCode !== undefined) {
3781
+ localVarQueryParameter['LanguageCode'] = languageCode;
3699
3782
  }
3700
3783
  if (page !== undefined) {
3701
3784
  localVarQueryParameter['page'] = page;
@@ -3779,15 +3862,16 @@ var ConsultationsApiFp = function (configuration) {
3779
3862
  *
3780
3863
  * @summary Get consultation.
3781
3864
  * @param {string} consultationId
3865
+ * @param {string} [languageCode]
3782
3866
  * @param {*} [options] Override http request option.
3783
3867
  * @throws {RequiredError}
3784
3868
  */
3785
- apiV2ConsultationsConsultationIdGet: function (consultationId, options) {
3869
+ apiV2ConsultationsConsultationIdGet: function (consultationId, languageCode, options) {
3786
3870
  return __awaiter(this, void 0, void 0, function () {
3787
3871
  var localVarAxiosArgs;
3788
3872
  return __generator(this, function (_a) {
3789
3873
  switch (_a.label) {
3790
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ConsultationsConsultationIdGet(consultationId, options)];
3874
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ConsultationsConsultationIdGet(consultationId, languageCode, options)];
3791
3875
  case 1:
3792
3876
  localVarAxiosArgs = _a.sent();
3793
3877
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -3839,24 +3923,29 @@ var ConsultationsApiFp = function (configuration) {
3839
3923
  /**
3840
3924
  *
3841
3925
  * @summary Get all consultations.
3842
- * @param {string} [searchString]
3926
+ * @param {string} [hospitalId]
3927
+ * @param {string} [hospitalName]
3928
+ * @param {string} [doctorId]
3929
+ * @param {string} [doctorName]
3930
+ * @param {string} [dealId]
3931
+ * @param {string} [dealName]
3843
3932
  * @param {boolean} [isOpen]
3844
3933
  * @param {boolean} [isCompleted]
3845
3934
  * @param {ConsultationStatus} [status]
3846
3935
  * @param {ConsultationType} [consultationType]
3847
- * @param {string} [hospitalId]
3936
+ * @param {string} [languageCode]
3848
3937
  * @param {number} [page]
3849
3938
  * @param {number} [limit]
3850
3939
  * @param {Date} [lastRetrieved]
3851
3940
  * @param {*} [options] Override http request option.
3852
3941
  * @throws {RequiredError}
3853
3942
  */
3854
- apiV2ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, hospitalId, page, limit, lastRetrieved, options) {
3943
+ apiV2ConsultationsGet: function (hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options) {
3855
3944
  return __awaiter(this, void 0, void 0, function () {
3856
3945
  var localVarAxiosArgs;
3857
3946
  return __generator(this, function (_a) {
3858
3947
  switch (_a.label) {
3859
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, hospitalId, page, limit, lastRetrieved, options)];
3948
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2ConsultationsGet(hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options)];
3860
3949
  case 1:
3861
3950
  localVarAxiosArgs = _a.sent();
3862
3951
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -3899,11 +3988,12 @@ var ConsultationsApiFactory = function (configuration, basePath, axios) {
3899
3988
  *
3900
3989
  * @summary Get consultation.
3901
3990
  * @param {string} consultationId
3991
+ * @param {string} [languageCode]
3902
3992
  * @param {*} [options] Override http request option.
3903
3993
  * @throws {RequiredError}
3904
3994
  */
3905
- apiV2ConsultationsConsultationIdGet: function (consultationId, options) {
3906
- return localVarFp.apiV2ConsultationsConsultationIdGet(consultationId, options).then(function (request) { return request(axios, basePath); });
3995
+ apiV2ConsultationsConsultationIdGet: function (consultationId, languageCode, options) {
3996
+ return localVarFp.apiV2ConsultationsConsultationIdGet(consultationId, languageCode, options).then(function (request) { return request(axios, basePath); });
3907
3997
  },
3908
3998
  /**
3909
3999
  *
@@ -3929,20 +4019,25 @@ var ConsultationsApiFactory = function (configuration, basePath, axios) {
3929
4019
  /**
3930
4020
  *
3931
4021
  * @summary Get all consultations.
3932
- * @param {string} [searchString]
4022
+ * @param {string} [hospitalId]
4023
+ * @param {string} [hospitalName]
4024
+ * @param {string} [doctorId]
4025
+ * @param {string} [doctorName]
4026
+ * @param {string} [dealId]
4027
+ * @param {string} [dealName]
3933
4028
  * @param {boolean} [isOpen]
3934
4029
  * @param {boolean} [isCompleted]
3935
4030
  * @param {ConsultationStatus} [status]
3936
4031
  * @param {ConsultationType} [consultationType]
3937
- * @param {string} [hospitalId]
4032
+ * @param {string} [languageCode]
3938
4033
  * @param {number} [page]
3939
4034
  * @param {number} [limit]
3940
4035
  * @param {Date} [lastRetrieved]
3941
4036
  * @param {*} [options] Override http request option.
3942
4037
  * @throws {RequiredError}
3943
4038
  */
3944
- apiV2ConsultationsGet: function (searchString, isOpen, isCompleted, status, consultationType, hospitalId, page, limit, lastRetrieved, options) {
3945
- return localVarFp.apiV2ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, hospitalId, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
4039
+ apiV2ConsultationsGet: function (hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options) {
4040
+ return localVarFp.apiV2ConsultationsGet(hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
3946
4041
  },
3947
4042
  /**
3948
4043
  *
@@ -3973,13 +4068,14 @@ var ConsultationsApi = /** @class */ (function (_super) {
3973
4068
  *
3974
4069
  * @summary Get consultation.
3975
4070
  * @param {string} consultationId
4071
+ * @param {string} [languageCode]
3976
4072
  * @param {*} [options] Override http request option.
3977
4073
  * @throws {RequiredError}
3978
4074
  * @memberof ConsultationsApi
3979
4075
  */
3980
- ConsultationsApi.prototype.apiV2ConsultationsConsultationIdGet = function (consultationId, options) {
4076
+ ConsultationsApi.prototype.apiV2ConsultationsConsultationIdGet = function (consultationId, languageCode, options) {
3981
4077
  var _this = this;
3982
- return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsConsultationIdGet(consultationId, options).then(function (request) { return request(_this.axios, _this.basePath); });
4078
+ return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsConsultationIdGet(consultationId, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
3983
4079
  };
3984
4080
  /**
3985
4081
  *
@@ -4009,12 +4105,17 @@ var ConsultationsApi = /** @class */ (function (_super) {
4009
4105
  /**
4010
4106
  *
4011
4107
  * @summary Get all consultations.
4012
- * @param {string} [searchString]
4108
+ * @param {string} [hospitalId]
4109
+ * @param {string} [hospitalName]
4110
+ * @param {string} [doctorId]
4111
+ * @param {string} [doctorName]
4112
+ * @param {string} [dealId]
4113
+ * @param {string} [dealName]
4013
4114
  * @param {boolean} [isOpen]
4014
4115
  * @param {boolean} [isCompleted]
4015
4116
  * @param {ConsultationStatus} [status]
4016
4117
  * @param {ConsultationType} [consultationType]
4017
- * @param {string} [hospitalId]
4118
+ * @param {string} [languageCode]
4018
4119
  * @param {number} [page]
4019
4120
  * @param {number} [limit]
4020
4121
  * @param {Date} [lastRetrieved]
@@ -4022,9 +4123,9 @@ var ConsultationsApi = /** @class */ (function (_super) {
4022
4123
  * @throws {RequiredError}
4023
4124
  * @memberof ConsultationsApi
4024
4125
  */
4025
- ConsultationsApi.prototype.apiV2ConsultationsGet = function (searchString, isOpen, isCompleted, status, consultationType, hospitalId, page, limit, lastRetrieved, options) {
4126
+ ConsultationsApi.prototype.apiV2ConsultationsGet = function (hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options) {
4026
4127
  var _this = this;
4027
- return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsGet(searchString, isOpen, isCompleted, status, consultationType, hospitalId, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
4128
+ return (0, exports.ConsultationsApiFp)(this.configuration).apiV2ConsultationsGet(hospitalId, hospitalName, doctorId, doctorName, dealId, dealName, isOpen, isCompleted, status, consultationType, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
4028
4129
  };
4029
4130
  /**
4030
4131
  *
@@ -6249,17 +6350,20 @@ var DealsApi = /** @class */ (function (_super) {
6249
6350
  }(base_1.BaseAPI));
6250
6351
  exports.DealsApi = DealsApi;
6251
6352
  /**
6252
- * DoctorsApi - axios parameter creator
6353
+ * DoctorAffiliationsApi - axios parameter creator
6253
6354
  * @export
6254
6355
  */
6255
- var DoctorsApiAxiosParamCreator = function (configuration) {
6356
+ var DoctorAffiliationsApiAxiosParamCreator = function (configuration) {
6256
6357
  var _this = this;
6257
6358
  return {
6258
6359
  /**
6259
6360
  *
6260
6361
  * @summary Get all doctor affiliations.
6261
- * @param {string} doctorId
6362
+ * @param {string} [hospitalId]
6262
6363
  * @param {string} [hospitalName]
6364
+ * @param {string} [doctorId]
6365
+ * @param {string} [doctorName]
6366
+ * @param {string} [doctorSlug]
6263
6367
  * @param {string} [languageCode]
6264
6368
  * @param {number} [page]
6265
6369
  * @param {number} [limit]
@@ -6267,15 +6371,12 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
6267
6371
  * @param {*} [options] Override http request option.
6268
6372
  * @throws {RequiredError}
6269
6373
  */
6270
- apiV2DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
6374
+ apiV2DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options) {
6271
6375
  if (options === void 0) { options = {}; }
6272
6376
  return __awaiter(_this, void 0, void 0, function () {
6273
6377
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
6274
6378
  return __generator(this, function (_a) {
6275
- // verify required parameter 'doctorId' is not null or undefined
6276
- (0, common_1.assertParamExists)('apiV2DoctorsDoctorIdAffiliationsGet', 'doctorId', doctorId);
6277
- localVarPath = "/api/v2/doctors/{doctorId}/affiliations"
6278
- .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
6379
+ localVarPath = "/api/v2/doctoraffiliations";
6279
6380
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6280
6381
  if (configuration) {
6281
6382
  baseOptions = configuration.baseOptions;
@@ -6283,9 +6384,21 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
6283
6384
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
6284
6385
  localVarHeaderParameter = {};
6285
6386
  localVarQueryParameter = {};
6387
+ if (hospitalId !== undefined) {
6388
+ localVarQueryParameter['HospitalId'] = hospitalId;
6389
+ }
6286
6390
  if (hospitalName !== undefined) {
6287
6391
  localVarQueryParameter['HospitalName'] = hospitalName;
6288
6392
  }
6393
+ if (doctorId !== undefined) {
6394
+ localVarQueryParameter['DoctorId'] = doctorId;
6395
+ }
6396
+ if (doctorName !== undefined) {
6397
+ localVarQueryParameter['DoctorName'] = doctorName;
6398
+ }
6399
+ if (doctorSlug !== undefined) {
6400
+ localVarQueryParameter['DoctorSlug'] = doctorSlug;
6401
+ }
6289
6402
  if (languageCode !== undefined) {
6290
6403
  localVarQueryParameter['LanguageCode'] = languageCode;
6291
6404
  }
@@ -6313,23 +6426,20 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
6313
6426
  /**
6314
6427
  *
6315
6428
  * @summary Get doctor affiliation.
6316
- * @param {string} doctorId
6317
- * @param {string} hospitalId
6429
+ * @param {string} id
6430
+ * @param {string} [languageCode]
6318
6431
  * @param {*} [options] Override http request option.
6319
6432
  * @throws {RequiredError}
6320
6433
  */
6321
- apiV2DoctorsDoctorIdAffiliationsHospitalIdGet: function (doctorId, hospitalId, options) {
6434
+ apiV2DoctoraffiliationsIdGet: function (id, languageCode, options) {
6322
6435
  if (options === void 0) { options = {}; }
6323
6436
  return __awaiter(_this, void 0, void 0, function () {
6324
6437
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
6325
6438
  return __generator(this, function (_a) {
6326
- // verify required parameter 'doctorId' is not null or undefined
6327
- (0, common_1.assertParamExists)('apiV2DoctorsDoctorIdAffiliationsHospitalIdGet', 'doctorId', doctorId);
6328
- // verify required parameter 'hospitalId' is not null or undefined
6329
- (0, common_1.assertParamExists)('apiV2DoctorsDoctorIdAffiliationsHospitalIdGet', 'hospitalId', hospitalId);
6330
- localVarPath = "/api/v2/doctors/{doctorId}/affiliations/{hospitalId}"
6331
- .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
6332
- .replace("{".concat("hospitalId", "}"), encodeURIComponent(String(hospitalId)));
6439
+ // verify required parameter 'id' is not null or undefined
6440
+ (0, common_1.assertParamExists)('apiV2DoctoraffiliationsIdGet', 'id', id);
6441
+ localVarPath = "/api/v2/doctoraffiliations/{id}"
6442
+ .replace("{".concat("id", "}"), encodeURIComponent(String(id)));
6333
6443
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6334
6444
  if (configuration) {
6335
6445
  baseOptions = configuration.baseOptions;
@@ -6337,6 +6447,9 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
6337
6447
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
6338
6448
  localVarHeaderParameter = {};
6339
6449
  localVarQueryParameter = {};
6450
+ if (languageCode !== undefined) {
6451
+ localVarQueryParameter['languageCode'] = languageCode;
6452
+ }
6340
6453
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6341
6454
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6342
6455
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -6349,24 +6462,20 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
6349
6462
  },
6350
6463
  /**
6351
6464
  *
6352
- * @summary Get DoctorCertificate.
6353
- * @param {string} doctorId
6354
- * @param {string} certificateId
6465
+ * @param {string} slug
6466
+ * @param {string} [languageCode]
6355
6467
  * @param {*} [options] Override http request option.
6356
6468
  * @throws {RequiredError}
6357
6469
  */
6358
- apiV2DoctorsDoctorIdCertificatesCertificateIdGet: function (doctorId, certificateId, options) {
6470
+ apiV2DoctoraffiliationsSlugGet: function (slug, languageCode, options) {
6359
6471
  if (options === void 0) { options = {}; }
6360
6472
  return __awaiter(_this, void 0, void 0, function () {
6361
6473
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
6362
6474
  return __generator(this, function (_a) {
6363
- // verify required parameter 'doctorId' is not null or undefined
6364
- (0, common_1.assertParamExists)('apiV2DoctorsDoctorIdCertificatesCertificateIdGet', 'doctorId', doctorId);
6365
- // verify required parameter 'certificateId' is not null or undefined
6366
- (0, common_1.assertParamExists)('apiV2DoctorsDoctorIdCertificatesCertificateIdGet', 'certificateId', certificateId);
6367
- localVarPath = "/api/v2/doctors/{doctorId}/certificates/{certificateId}"
6368
- .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
6369
- .replace("{".concat("certificateId", "}"), encodeURIComponent(String(certificateId)));
6475
+ // verify required parameter 'slug' is not null or undefined
6476
+ (0, common_1.assertParamExists)('apiV2DoctoraffiliationsSlugGet', 'slug', slug);
6477
+ localVarPath = "/api/v2/doctoraffiliations/{slug}"
6478
+ .replace("{".concat("slug", "}"), encodeURIComponent(String(slug)));
6370
6479
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6371
6480
  if (configuration) {
6372
6481
  baseOptions = configuration.baseOptions;
@@ -6374,6 +6483,9 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
6374
6483
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
6375
6484
  localVarHeaderParameter = {};
6376
6485
  localVarQueryParameter = {};
6486
+ if (languageCode !== undefined) {
6487
+ localVarQueryParameter['languageCode'] = languageCode;
6488
+ }
6377
6489
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6378
6490
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6379
6491
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -6384,127 +6496,361 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
6384
6496
  });
6385
6497
  });
6386
6498
  },
6499
+ };
6500
+ };
6501
+ exports.DoctorAffiliationsApiAxiosParamCreator = DoctorAffiliationsApiAxiosParamCreator;
6502
+ /**
6503
+ * DoctorAffiliationsApi - functional programming interface
6504
+ * @export
6505
+ */
6506
+ var DoctorAffiliationsApiFp = function (configuration) {
6507
+ var localVarAxiosParamCreator = (0, exports.DoctorAffiliationsApiAxiosParamCreator)(configuration);
6508
+ return {
6387
6509
  /**
6388
6510
  *
6389
- * @summary Delete DoctorCertificate.
6390
- * @param {string} doctorId
6511
+ * @summary Get all doctor affiliations.
6512
+ * @param {string} [hospitalId]
6513
+ * @param {string} [hospitalName]
6514
+ * @param {string} [doctorId]
6391
6515
  * @param {string} [doctorName]
6392
- * @param {string} [certificateId]
6393
- * @param {string} [certificate]
6394
- * @param {Date} [activeFrom]
6395
- * @param {Date} [activeTo]
6516
+ * @param {string} [doctorSlug]
6517
+ * @param {string} [languageCode]
6396
6518
  * @param {number} [page]
6397
6519
  * @param {number} [limit]
6398
6520
  * @param {Date} [lastRetrieved]
6399
6521
  * @param {*} [options] Override http request option.
6400
6522
  * @throws {RequiredError}
6401
6523
  */
6402
- apiV2DoctorsDoctorIdCertificatesGet: function (doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options) {
6403
- if (options === void 0) { options = {}; }
6404
- return __awaiter(_this, void 0, void 0, function () {
6405
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
6524
+ apiV2DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options) {
6525
+ return __awaiter(this, void 0, void 0, function () {
6526
+ var localVarAxiosArgs;
6406
6527
  return __generator(this, function (_a) {
6407
- // verify required parameter 'doctorId' is not null or undefined
6408
- (0, common_1.assertParamExists)('apiV2DoctorsDoctorIdCertificatesGet', 'doctorId', doctorId);
6409
- localVarPath = "/api/v2/doctors/{doctorId}/certificates"
6410
- .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
6411
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6412
- if (configuration) {
6413
- baseOptions = configuration.baseOptions;
6414
- }
6415
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
6416
- localVarHeaderParameter = {};
6417
- localVarQueryParameter = {};
6418
- if (doctorName !== undefined) {
6419
- localVarQueryParameter['DoctorName'] = doctorName;
6420
- }
6421
- if (certificateId !== undefined) {
6422
- localVarQueryParameter['CertificateId'] = certificateId;
6423
- }
6424
- if (certificate !== undefined) {
6425
- localVarQueryParameter['Certificate'] = certificate;
6426
- }
6427
- if (activeFrom !== undefined) {
6428
- localVarQueryParameter['ActiveFrom'] = (activeFrom instanceof Date) ?
6429
- activeFrom.toISOString() :
6430
- activeFrom;
6431
- }
6432
- if (activeTo !== undefined) {
6433
- localVarQueryParameter['ActiveTo'] = (activeTo instanceof Date) ?
6434
- activeTo.toISOString() :
6435
- activeTo;
6436
- }
6437
- if (page !== undefined) {
6438
- localVarQueryParameter['page'] = page;
6439
- }
6440
- if (limit !== undefined) {
6441
- localVarQueryParameter['limit'] = limit;
6442
- }
6443
- if (lastRetrieved !== undefined) {
6444
- localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
6445
- lastRetrieved.toISOString() :
6446
- lastRetrieved;
6528
+ switch (_a.label) {
6529
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options)];
6530
+ case 1:
6531
+ localVarAxiosArgs = _a.sent();
6532
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
6447
6533
  }
6448
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6449
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6450
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6451
- return [2 /*return*/, {
6452
- url: (0, common_1.toPathString)(localVarUrlObj),
6453
- options: localVarRequestOptions,
6454
- }];
6455
6534
  });
6456
6535
  });
6457
6536
  },
6458
6537
  /**
6459
6538
  *
6460
- * @summary Get DoctorEducation.
6461
- * @param {string} doctorId
6462
- * @param {string} educationId
6539
+ * @summary Get doctor affiliation.
6540
+ * @param {string} id
6541
+ * @param {string} [languageCode]
6463
6542
  * @param {*} [options] Override http request option.
6464
6543
  * @throws {RequiredError}
6465
6544
  */
6466
- apiV2DoctorsDoctorIdEducationsEducationIdGet: function (doctorId, educationId, options) {
6467
- if (options === void 0) { options = {}; }
6468
- return __awaiter(_this, void 0, void 0, function () {
6469
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
6545
+ apiV2DoctoraffiliationsIdGet: function (id, languageCode, options) {
6546
+ return __awaiter(this, void 0, void 0, function () {
6547
+ var localVarAxiosArgs;
6470
6548
  return __generator(this, function (_a) {
6471
- // verify required parameter 'doctorId' is not null or undefined
6472
- (0, common_1.assertParamExists)('apiV2DoctorsDoctorIdEducationsEducationIdGet', 'doctorId', doctorId);
6473
- // verify required parameter 'educationId' is not null or undefined
6474
- (0, common_1.assertParamExists)('apiV2DoctorsDoctorIdEducationsEducationIdGet', 'educationId', educationId);
6475
- localVarPath = "/api/v2/doctors/{doctorId}/educations/{educationId}"
6476
- .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
6477
- .replace("{".concat("educationId", "}"), encodeURIComponent(String(educationId)));
6478
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6479
- if (configuration) {
6480
- baseOptions = configuration.baseOptions;
6549
+ switch (_a.label) {
6550
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsIdGet(id, languageCode, options)];
6551
+ case 1:
6552
+ localVarAxiosArgs = _a.sent();
6553
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
6481
6554
  }
6482
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
6483
- localVarHeaderParameter = {};
6484
- localVarQueryParameter = {};
6485
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6486
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6487
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6488
- return [2 /*return*/, {
6489
- url: (0, common_1.toPathString)(localVarUrlObj),
6490
- options: localVarRequestOptions,
6491
- }];
6492
6555
  });
6493
6556
  });
6494
6557
  },
6495
6558
  /**
6496
6559
  *
6497
- * @summary Get all DoctorEducations.
6498
- * @param {string} doctorId
6499
- * @param {string} [doctorName]
6500
- * @param {string} [educationId]
6501
- * @param {string} [institution]
6502
- * @param {string} [qualification]
6503
- * @param {Date} [graduationDate]
6504
- * @param {number} [page]
6505
- * @param {number} [limit]
6506
- * @param {Date} [lastRetrieved]
6507
- * @param {*} [options] Override http request option.
6560
+ * @param {string} slug
6561
+ * @param {string} [languageCode]
6562
+ * @param {*} [options] Override http request option.
6563
+ * @throws {RequiredError}
6564
+ */
6565
+ apiV2DoctoraffiliationsSlugGet: function (slug, languageCode, options) {
6566
+ return __awaiter(this, void 0, void 0, function () {
6567
+ var localVarAxiosArgs;
6568
+ return __generator(this, function (_a) {
6569
+ switch (_a.label) {
6570
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctoraffiliationsSlugGet(slug, languageCode, options)];
6571
+ case 1:
6572
+ localVarAxiosArgs = _a.sent();
6573
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
6574
+ }
6575
+ });
6576
+ });
6577
+ },
6578
+ };
6579
+ };
6580
+ exports.DoctorAffiliationsApiFp = DoctorAffiliationsApiFp;
6581
+ /**
6582
+ * DoctorAffiliationsApi - factory interface
6583
+ * @export
6584
+ */
6585
+ var DoctorAffiliationsApiFactory = function (configuration, basePath, axios) {
6586
+ var localVarFp = (0, exports.DoctorAffiliationsApiFp)(configuration);
6587
+ return {
6588
+ /**
6589
+ *
6590
+ * @summary Get all doctor affiliations.
6591
+ * @param {string} [hospitalId]
6592
+ * @param {string} [hospitalName]
6593
+ * @param {string} [doctorId]
6594
+ * @param {string} [doctorName]
6595
+ * @param {string} [doctorSlug]
6596
+ * @param {string} [languageCode]
6597
+ * @param {number} [page]
6598
+ * @param {number} [limit]
6599
+ * @param {Date} [lastRetrieved]
6600
+ * @param {*} [options] Override http request option.
6601
+ * @throws {RequiredError}
6602
+ */
6603
+ apiV2DoctoraffiliationsGet: function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options) {
6604
+ return localVarFp.apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
6605
+ },
6606
+ /**
6607
+ *
6608
+ * @summary Get doctor affiliation.
6609
+ * @param {string} id
6610
+ * @param {string} [languageCode]
6611
+ * @param {*} [options] Override http request option.
6612
+ * @throws {RequiredError}
6613
+ */
6614
+ apiV2DoctoraffiliationsIdGet: function (id, languageCode, options) {
6615
+ return localVarFp.apiV2DoctoraffiliationsIdGet(id, languageCode, options).then(function (request) { return request(axios, basePath); });
6616
+ },
6617
+ /**
6618
+ *
6619
+ * @param {string} slug
6620
+ * @param {string} [languageCode]
6621
+ * @param {*} [options] Override http request option.
6622
+ * @throws {RequiredError}
6623
+ */
6624
+ apiV2DoctoraffiliationsSlugGet: function (slug, languageCode, options) {
6625
+ return localVarFp.apiV2DoctoraffiliationsSlugGet(slug, languageCode, options).then(function (request) { return request(axios, basePath); });
6626
+ },
6627
+ };
6628
+ };
6629
+ exports.DoctorAffiliationsApiFactory = DoctorAffiliationsApiFactory;
6630
+ /**
6631
+ * DoctorAffiliationsApi - object-oriented interface
6632
+ * @export
6633
+ * @class DoctorAffiliationsApi
6634
+ * @extends {BaseAPI}
6635
+ */
6636
+ var DoctorAffiliationsApi = /** @class */ (function (_super) {
6637
+ __extends(DoctorAffiliationsApi, _super);
6638
+ function DoctorAffiliationsApi() {
6639
+ return _super !== null && _super.apply(this, arguments) || this;
6640
+ }
6641
+ /**
6642
+ *
6643
+ * @summary Get all doctor affiliations.
6644
+ * @param {string} [hospitalId]
6645
+ * @param {string} [hospitalName]
6646
+ * @param {string} [doctorId]
6647
+ * @param {string} [doctorName]
6648
+ * @param {string} [doctorSlug]
6649
+ * @param {string} [languageCode]
6650
+ * @param {number} [page]
6651
+ * @param {number} [limit]
6652
+ * @param {Date} [lastRetrieved]
6653
+ * @param {*} [options] Override http request option.
6654
+ * @throws {RequiredError}
6655
+ * @memberof DoctorAffiliationsApi
6656
+ */
6657
+ DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsGet = function (hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options) {
6658
+ var _this = this;
6659
+ return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsGet(hospitalId, hospitalName, doctorId, doctorName, doctorSlug, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
6660
+ };
6661
+ /**
6662
+ *
6663
+ * @summary Get doctor affiliation.
6664
+ * @param {string} id
6665
+ * @param {string} [languageCode]
6666
+ * @param {*} [options] Override http request option.
6667
+ * @throws {RequiredError}
6668
+ * @memberof DoctorAffiliationsApi
6669
+ */
6670
+ DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsIdGet = function (id, languageCode, options) {
6671
+ var _this = this;
6672
+ return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsIdGet(id, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
6673
+ };
6674
+ /**
6675
+ *
6676
+ * @param {string} slug
6677
+ * @param {string} [languageCode]
6678
+ * @param {*} [options] Override http request option.
6679
+ * @throws {RequiredError}
6680
+ * @memberof DoctorAffiliationsApi
6681
+ */
6682
+ DoctorAffiliationsApi.prototype.apiV2DoctoraffiliationsSlugGet = function (slug, languageCode, options) {
6683
+ var _this = this;
6684
+ return (0, exports.DoctorAffiliationsApiFp)(this.configuration).apiV2DoctoraffiliationsSlugGet(slug, languageCode, options).then(function (request) { return request(_this.axios, _this.basePath); });
6685
+ };
6686
+ return DoctorAffiliationsApi;
6687
+ }(base_1.BaseAPI));
6688
+ exports.DoctorAffiliationsApi = DoctorAffiliationsApi;
6689
+ /**
6690
+ * DoctorsApi - axios parameter creator
6691
+ * @export
6692
+ */
6693
+ var DoctorsApiAxiosParamCreator = function (configuration) {
6694
+ var _this = this;
6695
+ return {
6696
+ /**
6697
+ *
6698
+ * @summary Get DoctorCertificate.
6699
+ * @param {string} doctorId
6700
+ * @param {string} certificateId
6701
+ * @param {*} [options] Override http request option.
6702
+ * @throws {RequiredError}
6703
+ */
6704
+ apiV2DoctorsDoctorIdCertificatesCertificateIdGet: function (doctorId, certificateId, options) {
6705
+ if (options === void 0) { options = {}; }
6706
+ return __awaiter(_this, void 0, void 0, function () {
6707
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
6708
+ return __generator(this, function (_a) {
6709
+ // verify required parameter 'doctorId' is not null or undefined
6710
+ (0, common_1.assertParamExists)('apiV2DoctorsDoctorIdCertificatesCertificateIdGet', 'doctorId', doctorId);
6711
+ // verify required parameter 'certificateId' is not null or undefined
6712
+ (0, common_1.assertParamExists)('apiV2DoctorsDoctorIdCertificatesCertificateIdGet', 'certificateId', certificateId);
6713
+ localVarPath = "/api/v2/doctors/{doctorId}/certificates/{certificateId}"
6714
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
6715
+ .replace("{".concat("certificateId", "}"), encodeURIComponent(String(certificateId)));
6716
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6717
+ if (configuration) {
6718
+ baseOptions = configuration.baseOptions;
6719
+ }
6720
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
6721
+ localVarHeaderParameter = {};
6722
+ localVarQueryParameter = {};
6723
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6724
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6725
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6726
+ return [2 /*return*/, {
6727
+ url: (0, common_1.toPathString)(localVarUrlObj),
6728
+ options: localVarRequestOptions,
6729
+ }];
6730
+ });
6731
+ });
6732
+ },
6733
+ /**
6734
+ *
6735
+ * @summary Delete DoctorCertificate.
6736
+ * @param {string} doctorId
6737
+ * @param {string} [doctorName]
6738
+ * @param {string} [certificateId]
6739
+ * @param {string} [certificate]
6740
+ * @param {Date} [activeFrom]
6741
+ * @param {Date} [activeTo]
6742
+ * @param {number} [page]
6743
+ * @param {number} [limit]
6744
+ * @param {Date} [lastRetrieved]
6745
+ * @param {*} [options] Override http request option.
6746
+ * @throws {RequiredError}
6747
+ */
6748
+ apiV2DoctorsDoctorIdCertificatesGet: function (doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options) {
6749
+ if (options === void 0) { options = {}; }
6750
+ return __awaiter(_this, void 0, void 0, function () {
6751
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
6752
+ return __generator(this, function (_a) {
6753
+ // verify required parameter 'doctorId' is not null or undefined
6754
+ (0, common_1.assertParamExists)('apiV2DoctorsDoctorIdCertificatesGet', 'doctorId', doctorId);
6755
+ localVarPath = "/api/v2/doctors/{doctorId}/certificates"
6756
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
6757
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6758
+ if (configuration) {
6759
+ baseOptions = configuration.baseOptions;
6760
+ }
6761
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
6762
+ localVarHeaderParameter = {};
6763
+ localVarQueryParameter = {};
6764
+ if (doctorName !== undefined) {
6765
+ localVarQueryParameter['DoctorName'] = doctorName;
6766
+ }
6767
+ if (certificateId !== undefined) {
6768
+ localVarQueryParameter['CertificateId'] = certificateId;
6769
+ }
6770
+ if (certificate !== undefined) {
6771
+ localVarQueryParameter['Certificate'] = certificate;
6772
+ }
6773
+ if (activeFrom !== undefined) {
6774
+ localVarQueryParameter['ActiveFrom'] = (activeFrom instanceof Date) ?
6775
+ activeFrom.toISOString() :
6776
+ activeFrom;
6777
+ }
6778
+ if (activeTo !== undefined) {
6779
+ localVarQueryParameter['ActiveTo'] = (activeTo instanceof Date) ?
6780
+ activeTo.toISOString() :
6781
+ activeTo;
6782
+ }
6783
+ if (page !== undefined) {
6784
+ localVarQueryParameter['page'] = page;
6785
+ }
6786
+ if (limit !== undefined) {
6787
+ localVarQueryParameter['limit'] = limit;
6788
+ }
6789
+ if (lastRetrieved !== undefined) {
6790
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
6791
+ lastRetrieved.toISOString() :
6792
+ lastRetrieved;
6793
+ }
6794
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6795
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6796
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6797
+ return [2 /*return*/, {
6798
+ url: (0, common_1.toPathString)(localVarUrlObj),
6799
+ options: localVarRequestOptions,
6800
+ }];
6801
+ });
6802
+ });
6803
+ },
6804
+ /**
6805
+ *
6806
+ * @summary Get DoctorEducation.
6807
+ * @param {string} doctorId
6808
+ * @param {string} educationId
6809
+ * @param {*} [options] Override http request option.
6810
+ * @throws {RequiredError}
6811
+ */
6812
+ apiV2DoctorsDoctorIdEducationsEducationIdGet: function (doctorId, educationId, options) {
6813
+ if (options === void 0) { options = {}; }
6814
+ return __awaiter(_this, void 0, void 0, function () {
6815
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
6816
+ return __generator(this, function (_a) {
6817
+ // verify required parameter 'doctorId' is not null or undefined
6818
+ (0, common_1.assertParamExists)('apiV2DoctorsDoctorIdEducationsEducationIdGet', 'doctorId', doctorId);
6819
+ // verify required parameter 'educationId' is not null or undefined
6820
+ (0, common_1.assertParamExists)('apiV2DoctorsDoctorIdEducationsEducationIdGet', 'educationId', educationId);
6821
+ localVarPath = "/api/v2/doctors/{doctorId}/educations/{educationId}"
6822
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
6823
+ .replace("{".concat("educationId", "}"), encodeURIComponent(String(educationId)));
6824
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6825
+ if (configuration) {
6826
+ baseOptions = configuration.baseOptions;
6827
+ }
6828
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
6829
+ localVarHeaderParameter = {};
6830
+ localVarQueryParameter = {};
6831
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6832
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6833
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6834
+ return [2 /*return*/, {
6835
+ url: (0, common_1.toPathString)(localVarUrlObj),
6836
+ options: localVarRequestOptions,
6837
+ }];
6838
+ });
6839
+ });
6840
+ },
6841
+ /**
6842
+ *
6843
+ * @summary Get all DoctorEducations.
6844
+ * @param {string} doctorId
6845
+ * @param {string} [doctorName]
6846
+ * @param {string} [educationId]
6847
+ * @param {string} [institution]
6848
+ * @param {string} [qualification]
6849
+ * @param {Date} [graduationDate]
6850
+ * @param {number} [page]
6851
+ * @param {number} [limit]
6852
+ * @param {Date} [lastRetrieved]
6853
+ * @param {*} [options] Override http request option.
6508
6854
  * @throws {RequiredError}
6509
6855
  */
6510
6856
  apiV2DoctorsDoctorIdEducationsGet: function (doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options) {
@@ -6885,14 +7231,13 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
6885
7231
  * @param {string} [specialtyId]
6886
7232
  * @param {string} [specialtyName]
6887
7233
  * @param {string} [languageCode]
6888
- * @param {boolean} [showHidden]
6889
7234
  * @param {number} [page]
6890
7235
  * @param {number} [limit]
6891
7236
  * @param {Date} [lastRetrieved]
6892
7237
  * @param {*} [options] Override http request option.
6893
7238
  * @throws {RequiredError}
6894
7239
  */
6895
- apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, showHidden, page, limit, lastRetrieved, options) {
7240
+ apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options) {
6896
7241
  if (options === void 0) { options = {}; }
6897
7242
  return __awaiter(_this, void 0, void 0, function () {
6898
7243
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -6920,9 +7265,6 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
6920
7265
  if (languageCode !== undefined) {
6921
7266
  localVarQueryParameter['LanguageCode'] = languageCode;
6922
7267
  }
6923
- if (showHidden !== undefined) {
6924
- localVarQueryParameter['ShowHidden'] = showHidden;
6925
- }
6926
7268
  if (page !== undefined) {
6927
7269
  localVarQueryParameter['page'] = page;
6928
7270
  }
@@ -6990,25 +7332,23 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
6990
7332
  * @summary Get all Doctors.
6991
7333
  * @param {string} [hospitalId]
6992
7334
  * @param {string} [hospitalName]
6993
- * @param {string} [languageCode]
6994
- * @param {boolean} [returnDefaultValue]
6995
7335
  * @param {Array<string>} [ids]
6996
7336
  * @param {string} [specialtyId]
6997
7337
  * @param {boolean} [consultationEnabled]
7338
+ * @param {string} [languageCode]
6998
7339
  * @param {string} [id]
6999
7340
  * @param {string} [fullname]
7000
7341
  * @param {string} [email]
7001
7342
  * @param {Gender} [gender]
7002
7343
  * @param {Date} [dateOfBirth]
7003
7344
  * @param {Date} [created]
7004
- * @param {boolean} [showHidden]
7005
7345
  * @param {number} [page]
7006
7346
  * @param {number} [limit]
7007
7347
  * @param {Date} [lastRetrieved]
7008
7348
  * @param {*} [options] Override http request option.
7009
7349
  * @throws {RequiredError}
7010
7350
  */
7011
- apiV2DoctorsGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7351
+ apiV2DoctorsGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options) {
7012
7352
  if (options === void 0) { options = {}; }
7013
7353
  return __awaiter(_this, void 0, void 0, function () {
7014
7354
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -7027,12 +7367,6 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
7027
7367
  if (hospitalName !== undefined) {
7028
7368
  localVarQueryParameter['HospitalName'] = hospitalName;
7029
7369
  }
7030
- if (languageCode !== undefined) {
7031
- localVarQueryParameter['LanguageCode'] = languageCode;
7032
- }
7033
- if (returnDefaultValue !== undefined) {
7034
- localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
7035
- }
7036
7370
  if (ids) {
7037
7371
  localVarQueryParameter['Ids'] = ids;
7038
7372
  }
@@ -7042,6 +7376,9 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
7042
7376
  if (consultationEnabled !== undefined) {
7043
7377
  localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
7044
7378
  }
7379
+ if (languageCode !== undefined) {
7380
+ localVarQueryParameter['LanguageCode'] = languageCode;
7381
+ }
7045
7382
  if (id !== undefined) {
7046
7383
  localVarQueryParameter['Id'] = id;
7047
7384
  }
@@ -7064,9 +7401,6 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
7064
7401
  created.toISOString() :
7065
7402
  created;
7066
7403
  }
7067
- if (showHidden !== undefined) {
7068
- localVarQueryParameter['ShowHidden'] = showHidden;
7069
- }
7070
7404
  if (page !== undefined) {
7071
7405
  localVarQueryParameter['page'] = page;
7072
7406
  }
@@ -7093,25 +7427,23 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
7093
7427
  * @summary Get all Doctors.
7094
7428
  * @param {string} [hospitalId]
7095
7429
  * @param {string} [hospitalName]
7096
- * @param {string} [languageCode]
7097
- * @param {boolean} [returnDefaultValue]
7098
7430
  * @param {Array<string>} [ids]
7099
7431
  * @param {string} [specialtyId]
7100
7432
  * @param {boolean} [consultationEnabled]
7433
+ * @param {string} [languageCode]
7101
7434
  * @param {string} [id]
7102
7435
  * @param {string} [fullname]
7103
7436
  * @param {string} [email]
7104
7437
  * @param {Gender} [gender]
7105
7438
  * @param {Date} [dateOfBirth]
7106
7439
  * @param {Date} [created]
7107
- * @param {boolean} [showHidden]
7108
7440
  * @param {number} [page]
7109
7441
  * @param {number} [limit]
7110
7442
  * @param {Date} [lastRetrieved]
7111
7443
  * @param {*} [options] Override http request option.
7112
7444
  * @throws {RequiredError}
7113
7445
  */
7114
- apiV2DoctorsSimpleGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7446
+ apiV2DoctorsSimpleGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options) {
7115
7447
  if (options === void 0) { options = {}; }
7116
7448
  return __awaiter(_this, void 0, void 0, function () {
7117
7449
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -7130,12 +7462,6 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
7130
7462
  if (hospitalName !== undefined) {
7131
7463
  localVarQueryParameter['HospitalName'] = hospitalName;
7132
7464
  }
7133
- if (languageCode !== undefined) {
7134
- localVarQueryParameter['LanguageCode'] = languageCode;
7135
- }
7136
- if (returnDefaultValue !== undefined) {
7137
- localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
7138
- }
7139
7465
  if (ids) {
7140
7466
  localVarQueryParameter['Ids'] = ids;
7141
7467
  }
@@ -7145,6 +7471,9 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
7145
7471
  if (consultationEnabled !== undefined) {
7146
7472
  localVarQueryParameter['ConsultationEnabled'] = consultationEnabled;
7147
7473
  }
7474
+ if (languageCode !== undefined) {
7475
+ localVarQueryParameter['LanguageCode'] = languageCode;
7476
+ }
7148
7477
  if (id !== undefined) {
7149
7478
  localVarQueryParameter['Id'] = id;
7150
7479
  }
@@ -7167,9 +7496,6 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
7167
7496
  created.toISOString() :
7168
7497
  created;
7169
7498
  }
7170
- if (showHidden !== undefined) {
7171
- localVarQueryParameter['ShowHidden'] = showHidden;
7172
- }
7173
7499
  if (page !== undefined) {
7174
7500
  localVarQueryParameter['page'] = page;
7175
7501
  }
@@ -7191,46 +7517,6 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
7191
7517
  });
7192
7518
  });
7193
7519
  },
7194
- /**
7195
- *
7196
- * @param {string} slug
7197
- * @param {string} [languageCode]
7198
- * @param {boolean} [returnDefaultValue]
7199
- * @param {*} [options] Override http request option.
7200
- * @throws {RequiredError}
7201
- */
7202
- apiV2DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
7203
- if (options === void 0) { options = {}; }
7204
- return __awaiter(_this, void 0, void 0, function () {
7205
- var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
7206
- return __generator(this, function (_a) {
7207
- // verify required parameter 'slug' is not null or undefined
7208
- (0, common_1.assertParamExists)('apiV2DoctorsSlugGet', 'slug', slug);
7209
- localVarPath = "/api/v2/doctors/{slug}"
7210
- .replace("{".concat("slug", "}"), encodeURIComponent(String(slug)));
7211
- localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
7212
- if (configuration) {
7213
- baseOptions = configuration.baseOptions;
7214
- }
7215
- localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
7216
- localVarHeaderParameter = {};
7217
- localVarQueryParameter = {};
7218
- if (languageCode !== undefined) {
7219
- localVarQueryParameter['languageCode'] = languageCode;
7220
- }
7221
- if (returnDefaultValue !== undefined) {
7222
- localVarQueryParameter['returnDefaultValue'] = returnDefaultValue;
7223
- }
7224
- (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
7225
- headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
7226
- localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
7227
- return [2 /*return*/, {
7228
- url: (0, common_1.toPathString)(localVarUrlObj),
7229
- options: localVarRequestOptions,
7230
- }];
7231
- });
7232
- });
7233
- },
7234
7520
  };
7235
7521
  };
7236
7522
  exports.DoctorsApiAxiosParamCreator = DoctorsApiAxiosParamCreator;
@@ -7241,52 +7527,6 @@ exports.DoctorsApiAxiosParamCreator = DoctorsApiAxiosParamCreator;
7241
7527
  var DoctorsApiFp = function (configuration) {
7242
7528
  var localVarAxiosParamCreator = (0, exports.DoctorsApiAxiosParamCreator)(configuration);
7243
7529
  return {
7244
- /**
7245
- *
7246
- * @summary Get all doctor affiliations.
7247
- * @param {string} doctorId
7248
- * @param {string} [hospitalName]
7249
- * @param {string} [languageCode]
7250
- * @param {number} [page]
7251
- * @param {number} [limit]
7252
- * @param {Date} [lastRetrieved]
7253
- * @param {*} [options] Override http request option.
7254
- * @throws {RequiredError}
7255
- */
7256
- apiV2DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
7257
- return __awaiter(this, void 0, void 0, function () {
7258
- var localVarAxiosArgs;
7259
- return __generator(this, function (_a) {
7260
- switch (_a.label) {
7261
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options)];
7262
- case 1:
7263
- localVarAxiosArgs = _a.sent();
7264
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
7265
- }
7266
- });
7267
- });
7268
- },
7269
- /**
7270
- *
7271
- * @summary Get doctor affiliation.
7272
- * @param {string} doctorId
7273
- * @param {string} hospitalId
7274
- * @param {*} [options] Override http request option.
7275
- * @throws {RequiredError}
7276
- */
7277
- apiV2DoctorsDoctorIdAffiliationsHospitalIdGet: function (doctorId, hospitalId, options) {
7278
- return __awaiter(this, void 0, void 0, function () {
7279
- var localVarAxiosArgs;
7280
- return __generator(this, function (_a) {
7281
- switch (_a.label) {
7282
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options)];
7283
- case 1:
7284
- localVarAxiosArgs = _a.sent();
7285
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
7286
- }
7287
- });
7288
- });
7289
- },
7290
7530
  /**
7291
7531
  *
7292
7532
  * @summary Get DoctorCertificate.
@@ -7552,19 +7792,18 @@ var DoctorsApiFp = function (configuration) {
7552
7792
  * @param {string} [specialtyId]
7553
7793
  * @param {string} [specialtyName]
7554
7794
  * @param {string} [languageCode]
7555
- * @param {boolean} [showHidden]
7556
7795
  * @param {number} [page]
7557
7796
  * @param {number} [limit]
7558
7797
  * @param {Date} [lastRetrieved]
7559
7798
  * @param {*} [options] Override http request option.
7560
7799
  * @throws {RequiredError}
7561
7800
  */
7562
- apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, showHidden, page, limit, lastRetrieved, options) {
7801
+ apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options) {
7563
7802
  return __awaiter(this, void 0, void 0, function () {
7564
7803
  var localVarAxiosArgs;
7565
7804
  return __generator(this, function (_a) {
7566
7805
  switch (_a.label) {
7567
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, showHidden, page, limit, lastRetrieved, options)];
7806
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options)];
7568
7807
  case 1:
7569
7808
  localVarAxiosArgs = _a.sent();
7570
7809
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -7599,30 +7838,28 @@ var DoctorsApiFp = function (configuration) {
7599
7838
  * @summary Get all Doctors.
7600
7839
  * @param {string} [hospitalId]
7601
7840
  * @param {string} [hospitalName]
7602
- * @param {string} [languageCode]
7603
- * @param {boolean} [returnDefaultValue]
7604
7841
  * @param {Array<string>} [ids]
7605
7842
  * @param {string} [specialtyId]
7606
7843
  * @param {boolean} [consultationEnabled]
7844
+ * @param {string} [languageCode]
7607
7845
  * @param {string} [id]
7608
7846
  * @param {string} [fullname]
7609
7847
  * @param {string} [email]
7610
7848
  * @param {Gender} [gender]
7611
7849
  * @param {Date} [dateOfBirth]
7612
7850
  * @param {Date} [created]
7613
- * @param {boolean} [showHidden]
7614
7851
  * @param {number} [page]
7615
7852
  * @param {number} [limit]
7616
7853
  * @param {Date} [lastRetrieved]
7617
7854
  * @param {*} [options] Override http request option.
7618
7855
  * @throws {RequiredError}
7619
7856
  */
7620
- apiV2DoctorsGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7857
+ apiV2DoctorsGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options) {
7621
7858
  return __awaiter(this, void 0, void 0, function () {
7622
7859
  var localVarAxiosArgs;
7623
7860
  return __generator(this, function (_a) {
7624
7861
  switch (_a.label) {
7625
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
7862
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options)];
7626
7863
  case 1:
7627
7864
  localVarAxiosArgs = _a.sent();
7628
7865
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -7635,51 +7872,28 @@ var DoctorsApiFp = function (configuration) {
7635
7872
  * @summary Get all Doctors.
7636
7873
  * @param {string} [hospitalId]
7637
7874
  * @param {string} [hospitalName]
7638
- * @param {string} [languageCode]
7639
- * @param {boolean} [returnDefaultValue]
7640
7875
  * @param {Array<string>} [ids]
7641
7876
  * @param {string} [specialtyId]
7642
7877
  * @param {boolean} [consultationEnabled]
7878
+ * @param {string} [languageCode]
7643
7879
  * @param {string} [id]
7644
7880
  * @param {string} [fullname]
7645
7881
  * @param {string} [email]
7646
7882
  * @param {Gender} [gender]
7647
7883
  * @param {Date} [dateOfBirth]
7648
7884
  * @param {Date} [created]
7649
- * @param {boolean} [showHidden]
7650
7885
  * @param {number} [page]
7651
7886
  * @param {number} [limit]
7652
7887
  * @param {Date} [lastRetrieved]
7653
7888
  * @param {*} [options] Override http request option.
7654
7889
  * @throws {RequiredError}
7655
7890
  */
7656
- apiV2DoctorsSimpleGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7891
+ apiV2DoctorsSimpleGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options) {
7657
7892
  return __awaiter(this, void 0, void 0, function () {
7658
7893
  var localVarAxiosArgs;
7659
7894
  return __generator(this, function (_a) {
7660
7895
  switch (_a.label) {
7661
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options)];
7662
- case 1:
7663
- localVarAxiosArgs = _a.sent();
7664
- return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
7665
- }
7666
- });
7667
- });
7668
- },
7669
- /**
7670
- *
7671
- * @param {string} slug
7672
- * @param {string} [languageCode]
7673
- * @param {boolean} [returnDefaultValue]
7674
- * @param {*} [options] Override http request option.
7675
- * @throws {RequiredError}
7676
- */
7677
- apiV2DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
7678
- return __awaiter(this, void 0, void 0, function () {
7679
- var localVarAxiosArgs;
7680
- return __generator(this, function (_a) {
7681
- switch (_a.label) {
7682
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsSlugGet(slug, languageCode, returnDefaultValue, options)];
7896
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options)];
7683
7897
  case 1:
7684
7898
  localVarAxiosArgs = _a.sent();
7685
7899
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -7697,32 +7911,6 @@ exports.DoctorsApiFp = DoctorsApiFp;
7697
7911
  var DoctorsApiFactory = function (configuration, basePath, axios) {
7698
7912
  var localVarFp = (0, exports.DoctorsApiFp)(configuration);
7699
7913
  return {
7700
- /**
7701
- *
7702
- * @summary Get all doctor affiliations.
7703
- * @param {string} doctorId
7704
- * @param {string} [hospitalName]
7705
- * @param {string} [languageCode]
7706
- * @param {number} [page]
7707
- * @param {number} [limit]
7708
- * @param {Date} [lastRetrieved]
7709
- * @param {*} [options] Override http request option.
7710
- * @throws {RequiredError}
7711
- */
7712
- apiV2DoctorsDoctorIdAffiliationsGet: function (doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
7713
- return localVarFp.apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
7714
- },
7715
- /**
7716
- *
7717
- * @summary Get doctor affiliation.
7718
- * @param {string} doctorId
7719
- * @param {string} hospitalId
7720
- * @param {*} [options] Override http request option.
7721
- * @throws {RequiredError}
7722
- */
7723
- apiV2DoctorsDoctorIdAffiliationsHospitalIdGet: function (doctorId, hospitalId, options) {
7724
- return localVarFp.apiV2DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options).then(function (request) { return request(axios, basePath); });
7725
- },
7726
7914
  /**
7727
7915
  *
7728
7916
  * @summary Get DoctorCertificate.
@@ -7878,15 +8066,14 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
7878
8066
  * @param {string} [specialtyId]
7879
8067
  * @param {string} [specialtyName]
7880
8068
  * @param {string} [languageCode]
7881
- * @param {boolean} [showHidden]
7882
8069
  * @param {number} [page]
7883
8070
  * @param {number} [limit]
7884
8071
  * @param {Date} [lastRetrieved]
7885
8072
  * @param {*} [options] Override http request option.
7886
8073
  * @throws {RequiredError}
7887
8074
  */
7888
- apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, showHidden, page, limit, lastRetrieved, options) {
7889
- return localVarFp.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
8075
+ apiV2DoctorsDoctorIdSpecialtiesGet: function (doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options) {
8076
+ return localVarFp.apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
7890
8077
  },
7891
8078
  /**
7892
8079
  *
@@ -7905,63 +8092,48 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
7905
8092
  * @summary Get all Doctors.
7906
8093
  * @param {string} [hospitalId]
7907
8094
  * @param {string} [hospitalName]
7908
- * @param {string} [languageCode]
7909
- * @param {boolean} [returnDefaultValue]
7910
8095
  * @param {Array<string>} [ids]
7911
8096
  * @param {string} [specialtyId]
7912
8097
  * @param {boolean} [consultationEnabled]
8098
+ * @param {string} [languageCode]
7913
8099
  * @param {string} [id]
7914
8100
  * @param {string} [fullname]
7915
8101
  * @param {string} [email]
7916
8102
  * @param {Gender} [gender]
7917
8103
  * @param {Date} [dateOfBirth]
7918
8104
  * @param {Date} [created]
7919
- * @param {boolean} [showHidden]
7920
8105
  * @param {number} [page]
7921
8106
  * @param {number} [limit]
7922
8107
  * @param {Date} [lastRetrieved]
7923
8108
  * @param {*} [options] Override http request option.
7924
8109
  * @throws {RequiredError}
7925
8110
  */
7926
- apiV2DoctorsGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7927
- return localVarFp.apiV2DoctorsGet(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); });
8111
+ apiV2DoctorsGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options) {
8112
+ return localVarFp.apiV2DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
7928
8113
  },
7929
8114
  /**
7930
8115
  *
7931
8116
  * @summary Get all Doctors.
7932
8117
  * @param {string} [hospitalId]
7933
8118
  * @param {string} [hospitalName]
7934
- * @param {string} [languageCode]
7935
- * @param {boolean} [returnDefaultValue]
7936
8119
  * @param {Array<string>} [ids]
7937
8120
  * @param {string} [specialtyId]
7938
8121
  * @param {boolean} [consultationEnabled]
8122
+ * @param {string} [languageCode]
7939
8123
  * @param {string} [id]
7940
8124
  * @param {string} [fullname]
7941
8125
  * @param {string} [email]
7942
8126
  * @param {Gender} [gender]
7943
8127
  * @param {Date} [dateOfBirth]
7944
8128
  * @param {Date} [created]
7945
- * @param {boolean} [showHidden]
7946
8129
  * @param {number} [page]
7947
8130
  * @param {number} [limit]
7948
8131
  * @param {Date} [lastRetrieved]
7949
8132
  * @param {*} [options] Override http request option.
7950
8133
  * @throws {RequiredError}
7951
8134
  */
7952
- apiV2DoctorsSimpleGet: function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
7953
- return localVarFp.apiV2DoctorsSimpleGet(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); });
7954
- },
7955
- /**
7956
- *
7957
- * @param {string} slug
7958
- * @param {string} [languageCode]
7959
- * @param {boolean} [returnDefaultValue]
7960
- * @param {*} [options] Override http request option.
7961
- * @throws {RequiredError}
7962
- */
7963
- apiV2DoctorsSlugGet: function (slug, languageCode, returnDefaultValue, options) {
7964
- return localVarFp.apiV2DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
8135
+ apiV2DoctorsSimpleGet: function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options) {
8136
+ return localVarFp.apiV2DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
7965
8137
  },
7966
8138
  };
7967
8139
  };
@@ -7977,36 +8149,6 @@ var DoctorsApi = /** @class */ (function (_super) {
7977
8149
  function DoctorsApi() {
7978
8150
  return _super !== null && _super.apply(this, arguments) || this;
7979
8151
  }
7980
- /**
7981
- *
7982
- * @summary Get all doctor affiliations.
7983
- * @param {string} doctorId
7984
- * @param {string} [hospitalName]
7985
- * @param {string} [languageCode]
7986
- * @param {number} [page]
7987
- * @param {number} [limit]
7988
- * @param {Date} [lastRetrieved]
7989
- * @param {*} [options] Override http request option.
7990
- * @throws {RequiredError}
7991
- * @memberof DoctorsApi
7992
- */
7993
- DoctorsApi.prototype.apiV2DoctorsDoctorIdAffiliationsGet = function (doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options) {
7994
- var _this = this;
7995
- return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdAffiliationsGet(doctorId, hospitalName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
7996
- };
7997
- /**
7998
- *
7999
- * @summary Get doctor affiliation.
8000
- * @param {string} doctorId
8001
- * @param {string} hospitalId
8002
- * @param {*} [options] Override http request option.
8003
- * @throws {RequiredError}
8004
- * @memberof DoctorsApi
8005
- */
8006
- DoctorsApi.prototype.apiV2DoctorsDoctorIdAffiliationsHospitalIdGet = function (doctorId, hospitalId, options) {
8007
- var _this = this;
8008
- return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdAffiliationsHospitalIdGet(doctorId, hospitalId, options).then(function (request) { return request(_this.axios, _this.basePath); });
8009
- };
8010
8152
  /**
8011
8153
  *
8012
8154
  * @summary Get DoctorCertificate.
@@ -8184,7 +8326,6 @@ var DoctorsApi = /** @class */ (function (_super) {
8184
8326
  * @param {string} [specialtyId]
8185
8327
  * @param {string} [specialtyName]
8186
8328
  * @param {string} [languageCode]
8187
- * @param {boolean} [showHidden]
8188
8329
  * @param {number} [page]
8189
8330
  * @param {number} [limit]
8190
8331
  * @param {Date} [lastRetrieved]
@@ -8192,9 +8333,9 @@ var DoctorsApi = /** @class */ (function (_super) {
8192
8333
  * @throws {RequiredError}
8193
8334
  * @memberof DoctorsApi
8194
8335
  */
8195
- DoctorsApi.prototype.apiV2DoctorsDoctorIdSpecialtiesGet = function (doctorId, doctorName, specialtyId, specialtyName, languageCode, showHidden, page, limit, lastRetrieved, options) {
8336
+ DoctorsApi.prototype.apiV2DoctorsDoctorIdSpecialtiesGet = function (doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options) {
8196
8337
  var _this = this;
8197
- return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, showHidden, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
8338
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdSpecialtiesGet(doctorId, doctorName, specialtyId, specialtyName, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
8198
8339
  };
8199
8340
  /**
8200
8341
  *
@@ -8215,18 +8356,16 @@ var DoctorsApi = /** @class */ (function (_super) {
8215
8356
  * @summary Get all Doctors.
8216
8357
  * @param {string} [hospitalId]
8217
8358
  * @param {string} [hospitalName]
8218
- * @param {string} [languageCode]
8219
- * @param {boolean} [returnDefaultValue]
8220
8359
  * @param {Array<string>} [ids]
8221
8360
  * @param {string} [specialtyId]
8222
8361
  * @param {boolean} [consultationEnabled]
8362
+ * @param {string} [languageCode]
8223
8363
  * @param {string} [id]
8224
8364
  * @param {string} [fullname]
8225
8365
  * @param {string} [email]
8226
8366
  * @param {Gender} [gender]
8227
8367
  * @param {Date} [dateOfBirth]
8228
8368
  * @param {Date} [created]
8229
- * @param {boolean} [showHidden]
8230
8369
  * @param {number} [page]
8231
8370
  * @param {number} [limit]
8232
8371
  * @param {Date} [lastRetrieved]
@@ -8234,27 +8373,25 @@ var DoctorsApi = /** @class */ (function (_super) {
8234
8373
  * @throws {RequiredError}
8235
8374
  * @memberof DoctorsApi
8236
8375
  */
8237
- DoctorsApi.prototype.apiV2DoctorsGet = function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
8376
+ DoctorsApi.prototype.apiV2DoctorsGet = function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options) {
8238
8377
  var _this = this;
8239
- return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsGet(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); });
8378
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
8240
8379
  };
8241
8380
  /**
8242
8381
  *
8243
8382
  * @summary Get all Doctors.
8244
8383
  * @param {string} [hospitalId]
8245
8384
  * @param {string} [hospitalName]
8246
- * @param {string} [languageCode]
8247
- * @param {boolean} [returnDefaultValue]
8248
8385
  * @param {Array<string>} [ids]
8249
8386
  * @param {string} [specialtyId]
8250
8387
  * @param {boolean} [consultationEnabled]
8388
+ * @param {string} [languageCode]
8251
8389
  * @param {string} [id]
8252
8390
  * @param {string} [fullname]
8253
8391
  * @param {string} [email]
8254
8392
  * @param {Gender} [gender]
8255
8393
  * @param {Date} [dateOfBirth]
8256
8394
  * @param {Date} [created]
8257
- * @param {boolean} [showHidden]
8258
8395
  * @param {number} [page]
8259
8396
  * @param {number} [limit]
8260
8397
  * @param {Date} [lastRetrieved]
@@ -8262,22 +8399,9 @@ var DoctorsApi = /** @class */ (function (_super) {
8262
8399
  * @throws {RequiredError}
8263
8400
  * @memberof DoctorsApi
8264
8401
  */
8265
- DoctorsApi.prototype.apiV2DoctorsSimpleGet = function (hospitalId, hospitalName, languageCode, returnDefaultValue, ids, specialtyId, consultationEnabled, id, fullname, email, gender, dateOfBirth, created, showHidden, page, limit, lastRetrieved, options) {
8266
- var _this = this;
8267
- return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsSimpleGet(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); });
8268
- };
8269
- /**
8270
- *
8271
- * @param {string} slug
8272
- * @param {string} [languageCode]
8273
- * @param {boolean} [returnDefaultValue]
8274
- * @param {*} [options] Override http request option.
8275
- * @throws {RequiredError}
8276
- * @memberof DoctorsApi
8277
- */
8278
- DoctorsApi.prototype.apiV2DoctorsSlugGet = function (slug, languageCode, returnDefaultValue, options) {
8402
+ DoctorsApi.prototype.apiV2DoctorsSimpleGet = function (hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options) {
8279
8403
  var _this = this;
8280
- return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsSlugGet(slug, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
8404
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsSimpleGet(hospitalId, hospitalName, ids, specialtyId, consultationEnabled, languageCode, id, fullname, email, gender, dateOfBirth, created, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
8281
8405
  };
8282
8406
  return DoctorsApi;
8283
8407
  }(base_1.BaseAPI));