ch-admin-api-client-typescript 2.1.9 → 2.2.8

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
@@ -9696,9 +9696,8 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
9696
9696
  *
9697
9697
  * @summary Delete DoctorCertificate.
9698
9698
  * @param {string} doctorId
9699
- * @param {string} [doctorId2]
9700
- * @param {string} [id]
9701
9699
  * @param {string} [doctorName]
9700
+ * @param {string} [certificateId]
9702
9701
  * @param {string} [certificate]
9703
9702
  * @param {Date} [activeFrom]
9704
9703
  * @param {Date} [activeTo]
@@ -9708,7 +9707,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
9708
9707
  * @param {*} [options] Override http request option.
9709
9708
  * @throws {RequiredError}
9710
9709
  */
9711
- apiV1DoctorsDoctorIdCertificatesGet: function (doctorId, doctorId2, id, doctorName, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options) {
9710
+ apiV1DoctorsDoctorIdCertificatesGet: function (doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options) {
9712
9711
  if (options === void 0) { options = {}; }
9713
9712
  return __awaiter(_this, void 0, void 0, function () {
9714
9713
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -9733,15 +9732,12 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
9733
9732
  // authentication oauth2 required
9734
9733
  // oauth required
9735
9734
  _a.sent();
9736
- if (doctorId2 !== undefined) {
9737
- localVarQueryParameter['DoctorId'] = doctorId2;
9738
- }
9739
- if (id !== undefined) {
9740
- localVarQueryParameter['Id'] = id;
9741
- }
9742
9735
  if (doctorName !== undefined) {
9743
9736
  localVarQueryParameter['DoctorName'] = doctorName;
9744
9737
  }
9738
+ if (certificateId !== undefined) {
9739
+ localVarQueryParameter['CertificateId'] = certificateId;
9740
+ }
9745
9741
  if (certificate !== undefined) {
9746
9742
  localVarQueryParameter['Certificate'] = certificate;
9747
9743
  }
@@ -10014,8 +10010,8 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
10014
10010
  *
10015
10011
  * @summary Get all DoctorEducations.
10016
10012
  * @param {string} doctorId
10017
- * @param {string} [doctorId2]
10018
10013
  * @param {string} [doctorName]
10014
+ * @param {string} [educationId]
10019
10015
  * @param {string} [institution]
10020
10016
  * @param {string} [qualification]
10021
10017
  * @param {Date} [graduationDate]
@@ -10025,7 +10021,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
10025
10021
  * @param {*} [options] Override http request option.
10026
10022
  * @throws {RequiredError}
10027
10023
  */
10028
- apiV1DoctorsDoctorIdEducationsGet: function (doctorId, doctorId2, doctorName, institution, qualification, graduationDate, page, limit, lastRetrieved, options) {
10024
+ apiV1DoctorsDoctorIdEducationsGet: function (doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options) {
10029
10025
  if (options === void 0) { options = {}; }
10030
10026
  return __awaiter(_this, void 0, void 0, function () {
10031
10027
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -10050,12 +10046,12 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
10050
10046
  // authentication oauth2 required
10051
10047
  // oauth required
10052
10048
  _a.sent();
10053
- if (doctorId2 !== undefined) {
10054
- localVarQueryParameter['DoctorId'] = doctorId2;
10055
- }
10056
10049
  if (doctorName !== undefined) {
10057
10050
  localVarQueryParameter['DoctorName'] = doctorName;
10058
10051
  }
10052
+ if (educationId !== undefined) {
10053
+ localVarQueryParameter['EducationId'] = educationId;
10054
+ }
10059
10055
  if (institution !== undefined) {
10060
10056
  localVarQueryParameter['Institution'] = institution;
10061
10057
  }
@@ -10441,9 +10437,8 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
10441
10437
  *
10442
10438
  * @summary Get All DoctorPortfolios
10443
10439
  * @param {string} doctorId
10444
- * @param {string} [id]
10445
- * @param {string} [doctorId2]
10446
10440
  * @param {string} [doctorName]
10441
+ * @param {string} [portfolioId]
10447
10442
  * @param {string} [name]
10448
10443
  * @param {number} [page]
10449
10444
  * @param {number} [limit]
@@ -10451,7 +10446,7 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
10451
10446
  * @param {*} [options] Override http request option.
10452
10447
  * @throws {RequiredError}
10453
10448
  */
10454
- apiV1DoctorsDoctorIdPortfoliosGet: function (doctorId, id, doctorId2, doctorName, name, page, limit, lastRetrieved, options) {
10449
+ apiV1DoctorsDoctorIdPortfoliosGet: function (doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options) {
10455
10450
  if (options === void 0) { options = {}; }
10456
10451
  return __awaiter(_this, void 0, void 0, function () {
10457
10452
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -10476,15 +10471,12 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
10476
10471
  // authentication oauth2 required
10477
10472
  // oauth required
10478
10473
  _a.sent();
10479
- if (id !== undefined) {
10480
- localVarQueryParameter['Id'] = id;
10481
- }
10482
- if (doctorId2 !== undefined) {
10483
- localVarQueryParameter['DoctorId'] = doctorId2;
10484
- }
10485
10474
  if (doctorName !== undefined) {
10486
10475
  localVarQueryParameter['DoctorName'] = doctorName;
10487
10476
  }
10477
+ if (portfolioId !== undefined) {
10478
+ localVarQueryParameter['PortfolioId'] = portfolioId;
10479
+ }
10488
10480
  if (name !== undefined) {
10489
10481
  localVarQueryParameter['Name'] = name;
10490
10482
  }
@@ -11334,9 +11326,8 @@ exports.DoctorsApiFp = function (configuration) {
11334
11326
  *
11335
11327
  * @summary Delete DoctorCertificate.
11336
11328
  * @param {string} doctorId
11337
- * @param {string} [doctorId2]
11338
- * @param {string} [id]
11339
11329
  * @param {string} [doctorName]
11330
+ * @param {string} [certificateId]
11340
11331
  * @param {string} [certificate]
11341
11332
  * @param {Date} [activeFrom]
11342
11333
  * @param {Date} [activeTo]
@@ -11346,12 +11337,12 @@ exports.DoctorsApiFp = function (configuration) {
11346
11337
  * @param {*} [options] Override http request option.
11347
11338
  * @throws {RequiredError}
11348
11339
  */
11349
- apiV1DoctorsDoctorIdCertificatesGet: function (doctorId, doctorId2, id, doctorName, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options) {
11340
+ apiV1DoctorsDoctorIdCertificatesGet: function (doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options) {
11350
11341
  return __awaiter(this, void 0, void 0, function () {
11351
11342
  var localVarAxiosArgs;
11352
11343
  return __generator(this, function (_a) {
11353
11344
  switch (_a.label) {
11354
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdCertificatesGet(doctorId, doctorId2, id, doctorName, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options)];
11345
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdCertificatesGet(doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options)];
11355
11346
  case 1:
11356
11347
  localVarAxiosArgs = _a.sent();
11357
11348
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -11468,8 +11459,8 @@ exports.DoctorsApiFp = function (configuration) {
11468
11459
  *
11469
11460
  * @summary Get all DoctorEducations.
11470
11461
  * @param {string} doctorId
11471
- * @param {string} [doctorId2]
11472
11462
  * @param {string} [doctorName]
11463
+ * @param {string} [educationId]
11473
11464
  * @param {string} [institution]
11474
11465
  * @param {string} [qualification]
11475
11466
  * @param {Date} [graduationDate]
@@ -11479,12 +11470,12 @@ exports.DoctorsApiFp = function (configuration) {
11479
11470
  * @param {*} [options] Override http request option.
11480
11471
  * @throws {RequiredError}
11481
11472
  */
11482
- apiV1DoctorsDoctorIdEducationsGet: function (doctorId, doctorId2, doctorName, institution, qualification, graduationDate, page, limit, lastRetrieved, options) {
11473
+ apiV1DoctorsDoctorIdEducationsGet: function (doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options) {
11483
11474
  return __awaiter(this, void 0, void 0, function () {
11484
11475
  var localVarAxiosArgs;
11485
11476
  return __generator(this, function (_a) {
11486
11477
  switch (_a.label) {
11487
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdEducationsGet(doctorId, doctorId2, doctorName, institution, qualification, graduationDate, page, limit, lastRetrieved, options)];
11478
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdEducationsGet(doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options)];
11488
11479
  case 1:
11489
11480
  localVarAxiosArgs = _a.sent();
11490
11481
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -11648,9 +11639,8 @@ exports.DoctorsApiFp = function (configuration) {
11648
11639
  *
11649
11640
  * @summary Get All DoctorPortfolios
11650
11641
  * @param {string} doctorId
11651
- * @param {string} [id]
11652
- * @param {string} [doctorId2]
11653
11642
  * @param {string} [doctorName]
11643
+ * @param {string} [portfolioId]
11654
11644
  * @param {string} [name]
11655
11645
  * @param {number} [page]
11656
11646
  * @param {number} [limit]
@@ -11658,12 +11648,12 @@ exports.DoctorsApiFp = function (configuration) {
11658
11648
  * @param {*} [options] Override http request option.
11659
11649
  * @throws {RequiredError}
11660
11650
  */
11661
- apiV1DoctorsDoctorIdPortfoliosGet: function (doctorId, id, doctorId2, doctorName, name, page, limit, lastRetrieved, options) {
11651
+ apiV1DoctorsDoctorIdPortfoliosGet: function (doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options) {
11662
11652
  return __awaiter(this, void 0, void 0, function () {
11663
11653
  var localVarAxiosArgs;
11664
11654
  return __generator(this, function (_a) {
11665
11655
  switch (_a.label) {
11666
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdPortfoliosGet(doctorId, id, doctorId2, doctorName, name, page, limit, lastRetrieved, options)];
11656
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1DoctorsDoctorIdPortfoliosGet(doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options)];
11667
11657
  case 1:
11668
11658
  localVarAxiosArgs = _a.sent();
11669
11659
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -12036,9 +12026,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
12036
12026
  *
12037
12027
  * @summary Delete DoctorCertificate.
12038
12028
  * @param {string} doctorId
12039
- * @param {string} [doctorId2]
12040
- * @param {string} [id]
12041
12029
  * @param {string} [doctorName]
12030
+ * @param {string} [certificateId]
12042
12031
  * @param {string} [certificate]
12043
12032
  * @param {Date} [activeFrom]
12044
12033
  * @param {Date} [activeTo]
@@ -12048,8 +12037,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
12048
12037
  * @param {*} [options] Override http request option.
12049
12038
  * @throws {RequiredError}
12050
12039
  */
12051
- apiV1DoctorsDoctorIdCertificatesGet: function (doctorId, doctorId2, id, doctorName, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options) {
12052
- return localVarFp.apiV1DoctorsDoctorIdCertificatesGet(doctorId, doctorId2, id, doctorName, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
12040
+ apiV1DoctorsDoctorIdCertificatesGet: function (doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options) {
12041
+ return localVarFp.apiV1DoctorsDoctorIdCertificatesGet(doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
12053
12042
  },
12054
12043
  /**
12055
12044
  *
@@ -12110,8 +12099,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
12110
12099
  *
12111
12100
  * @summary Get all DoctorEducations.
12112
12101
  * @param {string} doctorId
12113
- * @param {string} [doctorId2]
12114
12102
  * @param {string} [doctorName]
12103
+ * @param {string} [educationId]
12115
12104
  * @param {string} [institution]
12116
12105
  * @param {string} [qualification]
12117
12106
  * @param {Date} [graduationDate]
@@ -12121,8 +12110,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
12121
12110
  * @param {*} [options] Override http request option.
12122
12111
  * @throws {RequiredError}
12123
12112
  */
12124
- apiV1DoctorsDoctorIdEducationsGet: function (doctorId, doctorId2, doctorName, institution, qualification, graduationDate, page, limit, lastRetrieved, options) {
12125
- return localVarFp.apiV1DoctorsDoctorIdEducationsGet(doctorId, doctorId2, doctorName, institution, qualification, graduationDate, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
12113
+ apiV1DoctorsDoctorIdEducationsGet: function (doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options) {
12114
+ return localVarFp.apiV1DoctorsDoctorIdEducationsGet(doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
12126
12115
  },
12127
12116
  /**
12128
12117
  *
@@ -12210,9 +12199,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
12210
12199
  *
12211
12200
  * @summary Get All DoctorPortfolios
12212
12201
  * @param {string} doctorId
12213
- * @param {string} [id]
12214
- * @param {string} [doctorId2]
12215
12202
  * @param {string} [doctorName]
12203
+ * @param {string} [portfolioId]
12216
12204
  * @param {string} [name]
12217
12205
  * @param {number} [page]
12218
12206
  * @param {number} [limit]
@@ -12220,8 +12208,8 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
12220
12208
  * @param {*} [options] Override http request option.
12221
12209
  * @throws {RequiredError}
12222
12210
  */
12223
- apiV1DoctorsDoctorIdPortfoliosGet: function (doctorId, id, doctorId2, doctorName, name, page, limit, lastRetrieved, options) {
12224
- return localVarFp.apiV1DoctorsDoctorIdPortfoliosGet(doctorId, id, doctorId2, doctorName, name, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
12211
+ apiV1DoctorsDoctorIdPortfoliosGet: function (doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options) {
12212
+ return localVarFp.apiV1DoctorsDoctorIdPortfoliosGet(doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
12225
12213
  },
12226
12214
  /**
12227
12215
  *
@@ -12472,9 +12460,8 @@ var DoctorsApi = /** @class */ (function (_super) {
12472
12460
  *
12473
12461
  * @summary Delete DoctorCertificate.
12474
12462
  * @param {string} doctorId
12475
- * @param {string} [doctorId2]
12476
- * @param {string} [id]
12477
12463
  * @param {string} [doctorName]
12464
+ * @param {string} [certificateId]
12478
12465
  * @param {string} [certificate]
12479
12466
  * @param {Date} [activeFrom]
12480
12467
  * @param {Date} [activeTo]
@@ -12485,9 +12472,9 @@ var DoctorsApi = /** @class */ (function (_super) {
12485
12472
  * @throws {RequiredError}
12486
12473
  * @memberof DoctorsApi
12487
12474
  */
12488
- DoctorsApi.prototype.apiV1DoctorsDoctorIdCertificatesGet = function (doctorId, doctorId2, id, doctorName, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options) {
12475
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdCertificatesGet = function (doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options) {
12489
12476
  var _this = this;
12490
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdCertificatesGet(doctorId, doctorId2, id, doctorName, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
12477
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdCertificatesGet(doctorId, doctorName, certificateId, certificate, activeFrom, activeTo, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
12491
12478
  };
12492
12479
  /**
12493
12480
  *
@@ -12558,8 +12545,8 @@ var DoctorsApi = /** @class */ (function (_super) {
12558
12545
  *
12559
12546
  * @summary Get all DoctorEducations.
12560
12547
  * @param {string} doctorId
12561
- * @param {string} [doctorId2]
12562
12548
  * @param {string} [doctorName]
12549
+ * @param {string} [educationId]
12563
12550
  * @param {string} [institution]
12564
12551
  * @param {string} [qualification]
12565
12552
  * @param {Date} [graduationDate]
@@ -12570,9 +12557,9 @@ var DoctorsApi = /** @class */ (function (_super) {
12570
12557
  * @throws {RequiredError}
12571
12558
  * @memberof DoctorsApi
12572
12559
  */
12573
- DoctorsApi.prototype.apiV1DoctorsDoctorIdEducationsGet = function (doctorId, doctorId2, doctorName, institution, qualification, graduationDate, page, limit, lastRetrieved, options) {
12560
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdEducationsGet = function (doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options) {
12574
12561
  var _this = this;
12575
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdEducationsGet(doctorId, doctorId2, doctorName, institution, qualification, graduationDate, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
12562
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdEducationsGet(doctorId, doctorName, educationId, institution, qualification, graduationDate, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
12576
12563
  };
12577
12564
  /**
12578
12565
  *
@@ -12674,9 +12661,8 @@ var DoctorsApi = /** @class */ (function (_super) {
12674
12661
  *
12675
12662
  * @summary Get All DoctorPortfolios
12676
12663
  * @param {string} doctorId
12677
- * @param {string} [id]
12678
- * @param {string} [doctorId2]
12679
12664
  * @param {string} [doctorName]
12665
+ * @param {string} [portfolioId]
12680
12666
  * @param {string} [name]
12681
12667
  * @param {number} [page]
12682
12668
  * @param {number} [limit]
@@ -12685,9 +12671,9 @@ var DoctorsApi = /** @class */ (function (_super) {
12685
12671
  * @throws {RequiredError}
12686
12672
  * @memberof DoctorsApi
12687
12673
  */
12688
- DoctorsApi.prototype.apiV1DoctorsDoctorIdPortfoliosGet = function (doctorId, id, doctorId2, doctorName, name, page, limit, lastRetrieved, options) {
12674
+ DoctorsApi.prototype.apiV1DoctorsDoctorIdPortfoliosGet = function (doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options) {
12689
12675
  var _this = this;
12690
- return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdPortfoliosGet(doctorId, id, doctorId2, doctorName, name, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
12676
+ return exports.DoctorsApiFp(this.configuration).apiV1DoctorsDoctorIdPortfoliosGet(doctorId, doctorName, portfolioId, name, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
12691
12677
  };
12692
12678
  /**
12693
12679
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-admin-api-client-typescript",
3
- "version": "2.1.9",
3
+ "version": "2.2.8",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital admin",
5
5
  "main": "index.js",
6
6
  "scripts": {