ch-api-client-typescript2 3.0.3 → 3.1.2

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 DoctorLanguages.
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 DoctorLanguage.
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 DoctorLanguages.
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 DoctorLanguage.
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 DoctorLanguages.
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 DoctorLanguage.
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 DoctorLanguages.
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 DoctorLanguage.
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.
@@ -9964,7 +10165,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
9964
10165
  *
9965
10166
  * @summary Get all HospitalHandles.
9966
10167
  * @param {string} hospitalId
9967
- * @param {string} [hospitalId2]
9968
10168
  * @param {string} [id]
9969
10169
  * @param {SnsType} [snsType]
9970
10170
  * @param {string} [handle]
@@ -9974,7 +10174,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
9974
10174
  * @param {*} [options] Override http request option.
9975
10175
  * @throws {RequiredError}
9976
10176
  */
9977
- apiV2HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
10177
+ apiV2HospitalsHospitalIdHandlesGet: function (hospitalId, id, snsType, handle, page, limit, lastRetrieved, options) {
9978
10178
  if (options === void 0) { options = {}; }
9979
10179
  return __awaiter(_this, void 0, void 0, function () {
9980
10180
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -9990,9 +10190,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
9990
10190
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
9991
10191
  localVarHeaderParameter = {};
9992
10192
  localVarQueryParameter = {};
9993
- if (hospitalId2 !== undefined) {
9994
- localVarQueryParameter['HospitalId'] = hospitalId2;
9995
- }
9996
10193
  if (id !== undefined) {
9997
10194
  localVarQueryParameter['Id'] = id;
9998
10195
  }
@@ -10661,7 +10858,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10661
10858
  *
10662
10859
  * @summary Get all HospitalWorkingDays.
10663
10860
  * @param {string} hospitalId
10664
- * @param {string} [hospitalId2]
10665
10861
  * @param {string} [id]
10666
10862
  * @param {string} [dayOfWeek]
10667
10863
  * @param {Date} [timeFrom]
@@ -10673,7 +10869,7 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10673
10869
  * @param {*} [options] Override http request option.
10674
10870
  * @throws {RequiredError}
10675
10871
  */
10676
- apiV2HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
10872
+ apiV2HospitalsHospitalIdWorkingdaysGet: function (hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
10677
10873
  if (options === void 0) { options = {}; }
10678
10874
  return __awaiter(_this, void 0, void 0, function () {
10679
10875
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -10689,9 +10885,6 @@ var HospitalsApiAxiosParamCreator = function (configuration) {
10689
10885
  localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
10690
10886
  localVarHeaderParameter = {};
10691
10887
  localVarQueryParameter = {};
10692
- if (hospitalId2 !== undefined) {
10693
- localVarQueryParameter['HospitalId'] = hospitalId2;
10694
- }
10695
10888
  if (id !== undefined) {
10696
10889
  localVarQueryParameter['Id'] = id;
10697
10890
  }
@@ -11168,7 +11361,6 @@ var HospitalsApiFp = function (configuration) {
11168
11361
  *
11169
11362
  * @summary Get all HospitalHandles.
11170
11363
  * @param {string} hospitalId
11171
- * @param {string} [hospitalId2]
11172
11364
  * @param {string} [id]
11173
11365
  * @param {SnsType} [snsType]
11174
11366
  * @param {string} [handle]
@@ -11178,12 +11370,12 @@ var HospitalsApiFp = function (configuration) {
11178
11370
  * @param {*} [options] Override http request option.
11179
11371
  * @throws {RequiredError}
11180
11372
  */
11181
- apiV2HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
11373
+ apiV2HospitalsHospitalIdHandlesGet: function (hospitalId, id, snsType, handle, page, limit, lastRetrieved, options) {
11182
11374
  return __awaiter(this, void 0, void 0, function () {
11183
11375
  var localVarAxiosArgs;
11184
11376
  return __generator(this, function (_a) {
11185
11377
  switch (_a.label) {
11186
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options)];
11378
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options)];
11187
11379
  case 1:
11188
11380
  localVarAxiosArgs = _a.sent();
11189
11381
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -11468,7 +11660,6 @@ var HospitalsApiFp = function (configuration) {
11468
11660
  *
11469
11661
  * @summary Get all HospitalWorkingDays.
11470
11662
  * @param {string} hospitalId
11471
- * @param {string} [hospitalId2]
11472
11663
  * @param {string} [id]
11473
11664
  * @param {string} [dayOfWeek]
11474
11665
  * @param {Date} [timeFrom]
@@ -11480,12 +11671,12 @@ var HospitalsApiFp = function (configuration) {
11480
11671
  * @param {*} [options] Override http request option.
11481
11672
  * @throws {RequiredError}
11482
11673
  */
11483
- apiV2HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
11674
+ apiV2HospitalsHospitalIdWorkingdaysGet: function (hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
11484
11675
  return __awaiter(this, void 0, void 0, function () {
11485
11676
  var localVarAxiosArgs;
11486
11677
  return __generator(this, function (_a) {
11487
11678
  switch (_a.label) {
11488
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options)];
11679
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options)];
11489
11680
  case 1:
11490
11681
  localVarAxiosArgs = _a.sent();
11491
11682
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -11732,7 +11923,6 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
11732
11923
  *
11733
11924
  * @summary Get all HospitalHandles.
11734
11925
  * @param {string} hospitalId
11735
- * @param {string} [hospitalId2]
11736
11926
  * @param {string} [id]
11737
11927
  * @param {SnsType} [snsType]
11738
11928
  * @param {string} [handle]
@@ -11742,8 +11932,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
11742
11932
  * @param {*} [options] Override http request option.
11743
11933
  * @throws {RequiredError}
11744
11934
  */
11745
- apiV2HospitalsHospitalIdHandlesGet: function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
11746
- return localVarFp.apiV2HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
11935
+ apiV2HospitalsHospitalIdHandlesGet: function (hospitalId, id, snsType, handle, page, limit, lastRetrieved, options) {
11936
+ return localVarFp.apiV2HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
11747
11937
  },
11748
11938
  /**
11749
11939
  *
@@ -11922,7 +12112,6 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
11922
12112
  *
11923
12113
  * @summary Get all HospitalWorkingDays.
11924
12114
  * @param {string} hospitalId
11925
- * @param {string} [hospitalId2]
11926
12115
  * @param {string} [id]
11927
12116
  * @param {string} [dayOfWeek]
11928
12117
  * @param {Date} [timeFrom]
@@ -11934,8 +12123,8 @@ var HospitalsApiFactory = function (configuration, basePath, axios) {
11934
12123
  * @param {*} [options] Override http request option.
11935
12124
  * @throws {RequiredError}
11936
12125
  */
11937
- apiV2HospitalsHospitalIdWorkingdaysGet: function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
11938
- return localVarFp.apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
12126
+ apiV2HospitalsHospitalIdWorkingdaysGet: function (hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
12127
+ return localVarFp.apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
11939
12128
  },
11940
12129
  /**
11941
12130
  *
@@ -12170,7 +12359,6 @@ var HospitalsApi = /** @class */ (function (_super) {
12170
12359
  *
12171
12360
  * @summary Get all HospitalHandles.
12172
12361
  * @param {string} hospitalId
12173
- * @param {string} [hospitalId2]
12174
12362
  * @param {string} [id]
12175
12363
  * @param {SnsType} [snsType]
12176
12364
  * @param {string} [handle]
@@ -12181,9 +12369,9 @@ var HospitalsApi = /** @class */ (function (_super) {
12181
12369
  * @throws {RequiredError}
12182
12370
  * @memberof HospitalsApi
12183
12371
  */
12184
- HospitalsApi.prototype.apiV2HospitalsHospitalIdHandlesGet = function (hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options) {
12372
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdHandlesGet = function (hospitalId, id, snsType, handle, page, limit, lastRetrieved, options) {
12185
12373
  var _this = this;
12186
- return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdHandlesGet(hospitalId, hospitalId2, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
12374
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdHandlesGet(hospitalId, id, snsType, handle, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
12187
12375
  };
12188
12376
  /**
12189
12377
  *
@@ -12382,7 +12570,6 @@ var HospitalsApi = /** @class */ (function (_super) {
12382
12570
  *
12383
12571
  * @summary Get all HospitalWorkingDays.
12384
12572
  * @param {string} hospitalId
12385
- * @param {string} [hospitalId2]
12386
12573
  * @param {string} [id]
12387
12574
  * @param {string} [dayOfWeek]
12388
12575
  * @param {Date} [timeFrom]
@@ -12395,9 +12582,9 @@ var HospitalsApi = /** @class */ (function (_super) {
12395
12582
  * @throws {RequiredError}
12396
12583
  * @memberof HospitalsApi
12397
12584
  */
12398
- HospitalsApi.prototype.apiV2HospitalsHospitalIdWorkingdaysGet = function (hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
12585
+ HospitalsApi.prototype.apiV2HospitalsHospitalIdWorkingdaysGet = function (hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options) {
12399
12586
  var _this = this;
12400
- return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, hospitalId2, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
12587
+ return (0, exports.HospitalsApiFp)(this.configuration).apiV2HospitalsHospitalIdWorkingdaysGet(hospitalId, id, dayOfWeek, timeFrom, timeTo, checkHoliday, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
12401
12588
  };
12402
12589
  /**
12403
12590
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-api-client-typescript2",
3
- "version": "3.0.3",
3
+ "version": "3.1.2",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital",
5
5
  "main": "index.js",
6
6
  "scripts": {