ch-api-client-typescript2 3.0.2 → 3.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/api.js CHANGED
@@ -5495,6 +5495,7 @@ var DealsApiAxiosParamCreator = function (configuration) {
5495
5495
  * @param {string} [exceptHospitalId]
5496
5496
  * @param {string} [exceptDealId]
5497
5497
  * @param {Array<string>} [ids]
5498
+ * @param {number} [serviceDuration]
5498
5499
  * @param {string} [languageCode]
5499
5500
  * @param {boolean} [showHidden]
5500
5501
  * @param {boolean} [returnDefaultValue]
@@ -5504,7 +5505,7 @@ var DealsApiAxiosParamCreator = function (configuration) {
5504
5505
  * @param {*} [options] Override http request option.
5505
5506
  * @throws {RequiredError}
5506
5507
  */
5507
- apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
5508
+ apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
5508
5509
  if (options === void 0) { options = {}; }
5509
5510
  return __awaiter(_this, void 0, void 0, function () {
5510
5511
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -5553,6 +5554,9 @@ var DealsApiAxiosParamCreator = function (configuration) {
5553
5554
  if (ids) {
5554
5555
  localVarQueryParameter['Ids'] = ids;
5555
5556
  }
5557
+ if (serviceDuration !== undefined) {
5558
+ localVarQueryParameter['ServiceDuration'] = serviceDuration;
5559
+ }
5556
5560
  if (languageCode !== undefined) {
5557
5561
  localVarQueryParameter['LanguageCode'] = languageCode;
5558
5562
  }
@@ -5598,6 +5602,7 @@ var DealsApiAxiosParamCreator = function (configuration) {
5598
5602
  * @param {string} [exceptHospitalId]
5599
5603
  * @param {string} [exceptDealId]
5600
5604
  * @param {Array<string>} [ids]
5605
+ * @param {number} [serviceDuration]
5601
5606
  * @param {string} [languageCode]
5602
5607
  * @param {boolean} [showHidden]
5603
5608
  * @param {boolean} [returnDefaultValue]
@@ -5607,7 +5612,7 @@ var DealsApiAxiosParamCreator = function (configuration) {
5607
5612
  * @param {*} [options] Override http request option.
5608
5613
  * @throws {RequiredError}
5609
5614
  */
5610
- apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
5615
+ apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
5611
5616
  if (options === void 0) { options = {}; }
5612
5617
  return __awaiter(_this, void 0, void 0, function () {
5613
5618
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -5656,6 +5661,9 @@ var DealsApiAxiosParamCreator = function (configuration) {
5656
5661
  if (ids) {
5657
5662
  localVarQueryParameter['Ids'] = ids;
5658
5663
  }
5664
+ if (serviceDuration !== undefined) {
5665
+ localVarQueryParameter['ServiceDuration'] = serviceDuration;
5666
+ }
5659
5667
  if (languageCode !== undefined) {
5660
5668
  localVarQueryParameter['LanguageCode'] = languageCode;
5661
5669
  }
@@ -5868,6 +5876,7 @@ var DealsApiFp = function (configuration) {
5868
5876
  * @param {string} [exceptHospitalId]
5869
5877
  * @param {string} [exceptDealId]
5870
5878
  * @param {Array<string>} [ids]
5879
+ * @param {number} [serviceDuration]
5871
5880
  * @param {string} [languageCode]
5872
5881
  * @param {boolean} [showHidden]
5873
5882
  * @param {boolean} [returnDefaultValue]
@@ -5877,12 +5886,12 @@ var DealsApiFp = function (configuration) {
5877
5886
  * @param {*} [options] Override http request option.
5878
5887
  * @throws {RequiredError}
5879
5888
  */
5880
- apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
5889
+ apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
5881
5890
  return __awaiter(this, void 0, void 0, function () {
5882
5891
  var localVarAxiosArgs;
5883
5892
  return __generator(this, function (_a) {
5884
5893
  switch (_a.label) {
5885
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
5894
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
5886
5895
  case 1:
5887
5896
  localVarAxiosArgs = _a.sent();
5888
5897
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -5905,6 +5914,7 @@ var DealsApiFp = function (configuration) {
5905
5914
  * @param {string} [exceptHospitalId]
5906
5915
  * @param {string} [exceptDealId]
5907
5916
  * @param {Array<string>} [ids]
5917
+ * @param {number} [serviceDuration]
5908
5918
  * @param {string} [languageCode]
5909
5919
  * @param {boolean} [showHidden]
5910
5920
  * @param {boolean} [returnDefaultValue]
@@ -5914,12 +5924,12 @@ var DealsApiFp = function (configuration) {
5914
5924
  * @param {*} [options] Override http request option.
5915
5925
  * @throws {RequiredError}
5916
5926
  */
5917
- apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
5927
+ apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
5918
5928
  return __awaiter(this, void 0, void 0, function () {
5919
5929
  var localVarAxiosArgs;
5920
5930
  return __generator(this, function (_a) {
5921
5931
  switch (_a.label) {
5922
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
5932
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options)];
5923
5933
  case 1:
5924
5934
  localVarAxiosArgs = _a.sent();
5925
5935
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -6040,6 +6050,7 @@ var DealsApiFactory = function (configuration, basePath, axios) {
6040
6050
  * @param {string} [exceptHospitalId]
6041
6051
  * @param {string} [exceptDealId]
6042
6052
  * @param {Array<string>} [ids]
6053
+ * @param {number} [serviceDuration]
6043
6054
  * @param {string} [languageCode]
6044
6055
  * @param {boolean} [showHidden]
6045
6056
  * @param {boolean} [returnDefaultValue]
@@ -6049,8 +6060,8 @@ var DealsApiFactory = function (configuration, basePath, axios) {
6049
6060
  * @param {*} [options] Override http request option.
6050
6061
  * @throws {RequiredError}
6051
6062
  */
6052
- apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6053
- return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
6063
+ apiV2DealsGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6064
+ return localVarFp.apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
6054
6065
  },
6055
6066
  /**
6056
6067
  *
@@ -6067,6 +6078,7 @@ var DealsApiFactory = function (configuration, basePath, axios) {
6067
6078
  * @param {string} [exceptHospitalId]
6068
6079
  * @param {string} [exceptDealId]
6069
6080
  * @param {Array<string>} [ids]
6081
+ * @param {number} [serviceDuration]
6070
6082
  * @param {string} [languageCode]
6071
6083
  * @param {boolean} [showHidden]
6072
6084
  * @param {boolean} [returnDefaultValue]
@@ -6076,8 +6088,8 @@ var DealsApiFactory = function (configuration, basePath, axios) {
6076
6088
  * @param {*} [options] Override http request option.
6077
6089
  * @throws {RequiredError}
6078
6090
  */
6079
- apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6080
- return localVarFp.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
6091
+ apiV2DealsSimpleGet: function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6092
+ return localVarFp.apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
6081
6093
  },
6082
6094
  /**
6083
6095
  *
@@ -6196,6 +6208,7 @@ var DealsApi = /** @class */ (function (_super) {
6196
6208
  * @param {string} [exceptHospitalId]
6197
6209
  * @param {string} [exceptDealId]
6198
6210
  * @param {Array<string>} [ids]
6211
+ * @param {number} [serviceDuration]
6199
6212
  * @param {string} [languageCode]
6200
6213
  * @param {boolean} [showHidden]
6201
6214
  * @param {boolean} [returnDefaultValue]
@@ -6206,9 +6219,9 @@ var DealsApi = /** @class */ (function (_super) {
6206
6219
  * @throws {RequiredError}
6207
6220
  * @memberof DealsApi
6208
6221
  */
6209
- DealsApi.prototype.apiV2DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6222
+ DealsApi.prototype.apiV2DealsGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6210
6223
  var _this = this;
6211
- return (0, exports.DealsApiFp)(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
6224
+ return (0, exports.DealsApiFp)(this.configuration).apiV2DealsGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
6212
6225
  };
6213
6226
  /**
6214
6227
  *
@@ -6225,6 +6238,7 @@ var DealsApi = /** @class */ (function (_super) {
6225
6238
  * @param {string} [exceptHospitalId]
6226
6239
  * @param {string} [exceptDealId]
6227
6240
  * @param {Array<string>} [ids]
6241
+ * @param {number} [serviceDuration]
6228
6242
  * @param {string} [languageCode]
6229
6243
  * @param {boolean} [showHidden]
6230
6244
  * @param {boolean} [returnDefaultValue]
@@ -6235,9 +6249,9 @@ var DealsApi = /** @class */ (function (_super) {
6235
6249
  * @throws {RequiredError}
6236
6250
  * @memberof DealsApi
6237
6251
  */
6238
- DealsApi.prototype.apiV2DealsSimpleGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6252
+ DealsApi.prototype.apiV2DealsSimpleGet = function (id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options) {
6239
6253
  var _this = this;
6240
- return (0, exports.DealsApiFp)(this.configuration).apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
6254
+ return (0, exports.DealsApiFp)(this.configuration).apiV2DealsSimpleGet(id, name, marketingType, countryId, hospitalId, hospitalName, specialtyId, specialtyTypeId, serviceId, exceptHospitalId, exceptDealId, ids, serviceDuration, languageCode, showHidden, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
6241
6255
  };
6242
6256
  /**
6243
6257
  *
@@ -6605,6 +6619,94 @@ var DoctorsApiAxiosParamCreator = function (configuration) {
6605
6619
  });
6606
6620
  });
6607
6621
  },
6622
+ /**
6623
+ *
6624
+ * @summary Get all DoctorEducations.
6625
+ * @param {string} doctorId
6626
+ * @param {string} [language]
6627
+ * @param {number} [page]
6628
+ * @param {number} [limit]
6629
+ * @param {Date} [lastRetrieved]
6630
+ * @param {*} [options] Override http request option.
6631
+ * @throws {RequiredError}
6632
+ */
6633
+ apiV2DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
6634
+ if (options === void 0) { options = {}; }
6635
+ return __awaiter(_this, void 0, void 0, function () {
6636
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
6637
+ return __generator(this, function (_a) {
6638
+ // verify required parameter 'doctorId' is not null or undefined
6639
+ (0, common_1.assertParamExists)('apiV2DoctorsDoctorIdLanguagesGet', 'doctorId', doctorId);
6640
+ localVarPath = "/api/v2/doctors/{doctorId}/languages"
6641
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)));
6642
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6643
+ if (configuration) {
6644
+ baseOptions = configuration.baseOptions;
6645
+ }
6646
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
6647
+ localVarHeaderParameter = {};
6648
+ localVarQueryParameter = {};
6649
+ if (language !== undefined) {
6650
+ localVarQueryParameter['Language'] = language;
6651
+ }
6652
+ if (page !== undefined) {
6653
+ localVarQueryParameter['page'] = page;
6654
+ }
6655
+ if (limit !== undefined) {
6656
+ localVarQueryParameter['limit'] = limit;
6657
+ }
6658
+ if (lastRetrieved !== undefined) {
6659
+ localVarQueryParameter['lastRetrieved'] = (lastRetrieved instanceof Date) ?
6660
+ lastRetrieved.toISOString() :
6661
+ lastRetrieved;
6662
+ }
6663
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6664
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6665
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6666
+ return [2 /*return*/, {
6667
+ url: (0, common_1.toPathString)(localVarUrlObj),
6668
+ options: localVarRequestOptions,
6669
+ }];
6670
+ });
6671
+ });
6672
+ },
6673
+ /**
6674
+ *
6675
+ * @summary Get DoctorEducation.
6676
+ * @param {string} doctorId
6677
+ * @param {string} languageId
6678
+ * @param {*} [options] Override http request option.
6679
+ * @throws {RequiredError}
6680
+ */
6681
+ apiV2DoctorsDoctorIdLanguagesLanguageIdGet: function (doctorId, languageId, options) {
6682
+ if (options === void 0) { options = {}; }
6683
+ return __awaiter(_this, void 0, void 0, function () {
6684
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
6685
+ return __generator(this, function (_a) {
6686
+ // verify required parameter 'doctorId' is not null or undefined
6687
+ (0, common_1.assertParamExists)('apiV2DoctorsDoctorIdLanguagesLanguageIdGet', 'doctorId', doctorId);
6688
+ // verify required parameter 'languageId' is not null or undefined
6689
+ (0, common_1.assertParamExists)('apiV2DoctorsDoctorIdLanguagesLanguageIdGet', 'languageId', languageId);
6690
+ localVarPath = "/api/v2/doctors/{doctorId}/languages/{languageId}"
6691
+ .replace("{".concat("doctorId", "}"), encodeURIComponent(String(doctorId)))
6692
+ .replace("{".concat("languageId", "}"), encodeURIComponent(String(languageId)));
6693
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
6694
+ if (configuration) {
6695
+ baseOptions = configuration.baseOptions;
6696
+ }
6697
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
6698
+ localVarHeaderParameter = {};
6699
+ localVarQueryParameter = {};
6700
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
6701
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
6702
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
6703
+ return [2 /*return*/, {
6704
+ url: (0, common_1.toPathString)(localVarUrlObj),
6705
+ options: localVarRequestOptions,
6706
+ }];
6707
+ });
6708
+ });
6709
+ },
6608
6710
  /**
6609
6711
  *
6610
6712
  * @summary Get all DoctorMedias.
@@ -7301,6 +7403,51 @@ var DoctorsApiFp = function (configuration) {
7301
7403
  });
7302
7404
  });
7303
7405
  },
7406
+ /**
7407
+ *
7408
+ * @summary Get all DoctorEducations.
7409
+ * @param {string} doctorId
7410
+ * @param {string} [language]
7411
+ * @param {number} [page]
7412
+ * @param {number} [limit]
7413
+ * @param {Date} [lastRetrieved]
7414
+ * @param {*} [options] Override http request option.
7415
+ * @throws {RequiredError}
7416
+ */
7417
+ apiV2DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
7418
+ return __awaiter(this, void 0, void 0, function () {
7419
+ var localVarAxiosArgs;
7420
+ return __generator(this, function (_a) {
7421
+ switch (_a.label) {
7422
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options)];
7423
+ case 1:
7424
+ localVarAxiosArgs = _a.sent();
7425
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
7426
+ }
7427
+ });
7428
+ });
7429
+ },
7430
+ /**
7431
+ *
7432
+ * @summary Get DoctorEducation.
7433
+ * @param {string} doctorId
7434
+ * @param {string} languageId
7435
+ * @param {*} [options] Override http request option.
7436
+ * @throws {RequiredError}
7437
+ */
7438
+ apiV2DoctorsDoctorIdLanguagesLanguageIdGet: function (doctorId, languageId, options) {
7439
+ return __awaiter(this, void 0, void 0, function () {
7440
+ var localVarAxiosArgs;
7441
+ return __generator(this, function (_a) {
7442
+ switch (_a.label) {
7443
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options)];
7444
+ case 1:
7445
+ localVarAxiosArgs = _a.sent();
7446
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
7447
+ }
7448
+ });
7449
+ });
7450
+ },
7304
7451
  /**
7305
7452
  *
7306
7453
  * @summary Get all DoctorMedias.
@@ -7636,6 +7783,31 @@ var DoctorsApiFactory = function (configuration, basePath, axios) {
7636
7783
  apiV2DoctorsDoctorIdGet: function (doctorId, languageCode, returnDefaultValue, options) {
7637
7784
  return localVarFp.apiV2DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then(function (request) { return request(axios, basePath); });
7638
7785
  },
7786
+ /**
7787
+ *
7788
+ * @summary Get all DoctorEducations.
7789
+ * @param {string} doctorId
7790
+ * @param {string} [language]
7791
+ * @param {number} [page]
7792
+ * @param {number} [limit]
7793
+ * @param {Date} [lastRetrieved]
7794
+ * @param {*} [options] Override http request option.
7795
+ * @throws {RequiredError}
7796
+ */
7797
+ apiV2DoctorsDoctorIdLanguagesGet: function (doctorId, language, page, limit, lastRetrieved, options) {
7798
+ return localVarFp.apiV2DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
7799
+ },
7800
+ /**
7801
+ *
7802
+ * @summary Get DoctorEducation.
7803
+ * @param {string} doctorId
7804
+ * @param {string} languageId
7805
+ * @param {*} [options] Override http request option.
7806
+ * @throws {RequiredError}
7807
+ */
7808
+ apiV2DoctorsDoctorIdLanguagesLanguageIdGet: function (doctorId, languageId, options) {
7809
+ return localVarFp.apiV2DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then(function (request) { return request(axios, basePath); });
7810
+ },
7639
7811
  /**
7640
7812
  *
7641
7813
  * @summary Get all DoctorMedias.
@@ -7899,6 +8071,35 @@ var DoctorsApi = /** @class */ (function (_super) {
7899
8071
  var _this = this;
7900
8072
  return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdGet(doctorId, languageCode, returnDefaultValue, options).then(function (request) { return request(_this.axios, _this.basePath); });
7901
8073
  };
8074
+ /**
8075
+ *
8076
+ * @summary Get all DoctorEducations.
8077
+ * @param {string} doctorId
8078
+ * @param {string} [language]
8079
+ * @param {number} [page]
8080
+ * @param {number} [limit]
8081
+ * @param {Date} [lastRetrieved]
8082
+ * @param {*} [options] Override http request option.
8083
+ * @throws {RequiredError}
8084
+ * @memberof DoctorsApi
8085
+ */
8086
+ DoctorsApi.prototype.apiV2DoctorsDoctorIdLanguagesGet = function (doctorId, language, page, limit, lastRetrieved, options) {
8087
+ var _this = this;
8088
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdLanguagesGet(doctorId, language, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
8089
+ };
8090
+ /**
8091
+ *
8092
+ * @summary Get DoctorEducation.
8093
+ * @param {string} doctorId
8094
+ * @param {string} languageId
8095
+ * @param {*} [options] Override http request option.
8096
+ * @throws {RequiredError}
8097
+ * @memberof DoctorsApi
8098
+ */
8099
+ DoctorsApi.prototype.apiV2DoctorsDoctorIdLanguagesLanguageIdGet = function (doctorId, languageId, options) {
8100
+ var _this = this;
8101
+ return (0, exports.DoctorsApiFp)(this.configuration).apiV2DoctorsDoctorIdLanguagesLanguageIdGet(doctorId, languageId, options).then(function (request) { return request(_this.axios, _this.basePath); });
8102
+ };
7902
8103
  /**
7903
8104
  *
7904
8105
  * @summary Get all DoctorMedias.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "3.0.2",
3
+ "version": "3.1.1",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {