ch-admin-api-client-typescript 2.6.0 → 2.6.5

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
@@ -8120,7 +8120,7 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
8120
8120
  * @param {*} [options] Override http request option.
8121
8121
  * @throws {RequiredError}
8122
8122
  */
8123
- apiV1CountriesCountryIdRevokePut: function (countryId, options) {
8123
+ apiV1CountriesCountryIdReactivePut: function (countryId, options) {
8124
8124
  if (options === void 0) { options = {}; }
8125
8125
  return __awaiter(_this, void 0, void 0, function () {
8126
8126
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -8128,8 +8128,8 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
8128
8128
  switch (_a.label) {
8129
8129
  case 0:
8130
8130
  // verify required parameter 'countryId' is not null or undefined
8131
- common_1.assertParamExists('apiV1CountriesCountryIdRevokePut', 'countryId', countryId);
8132
- localVarPath = "/api/v1/countries/{countryId}/revoke"
8131
+ common_1.assertParamExists('apiV1CountriesCountryIdReactivePut', 'countryId', countryId);
8132
+ localVarPath = "/api/v1/countries/{countryId}/reactive"
8133
8133
  .replace("{" + "countryId" + "}", encodeURIComponent(String(countryId)));
8134
8134
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8135
8135
  if (configuration) {
@@ -8283,7 +8283,6 @@ exports.CountriesApiAxiosParamCreator = function (configuration) {
8283
8283
  },
8284
8284
  /**
8285
8285
  *
8286
- * @summary Get country by slug.
8287
8286
  * @param {string} slug
8288
8287
  * @param {string} [languageCode]
8289
8288
  * @param {boolean} [returnDefaultValue]
@@ -8521,12 +8520,12 @@ exports.CountriesApiFp = function (configuration) {
8521
8520
  * @param {*} [options] Override http request option.
8522
8521
  * @throws {RequiredError}
8523
8522
  */
8524
- apiV1CountriesCountryIdRevokePut: function (countryId, options) {
8523
+ apiV1CountriesCountryIdReactivePut: function (countryId, options) {
8525
8524
  return __awaiter(this, void 0, void 0, function () {
8526
8525
  var localVarAxiosArgs;
8527
8526
  return __generator(this, function (_a) {
8528
8527
  switch (_a.label) {
8529
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CountriesCountryIdRevokePut(countryId, options)];
8528
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1CountriesCountryIdReactivePut(countryId, options)];
8530
8529
  case 1:
8531
8530
  localVarAxiosArgs = _a.sent();
8532
8531
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -8585,7 +8584,6 @@ exports.CountriesApiFp = function (configuration) {
8585
8584
  },
8586
8585
  /**
8587
8586
  *
8588
- * @summary Get country by slug.
8589
8587
  * @param {string} slug
8590
8588
  * @param {string} [languageCode]
8591
8589
  * @param {boolean} [returnDefaultValue]
@@ -8714,8 +8712,8 @@ exports.CountriesApiFactory = function (configuration, basePath, axios) {
8714
8712
  * @param {*} [options] Override http request option.
8715
8713
  * @throws {RequiredError}
8716
8714
  */
8717
- apiV1CountriesCountryIdRevokePut: function (countryId, options) {
8718
- return localVarFp.apiV1CountriesCountryIdRevokePut(countryId, options).then(function (request) { return request(axios, basePath); });
8715
+ apiV1CountriesCountryIdReactivePut: function (countryId, options) {
8716
+ return localVarFp.apiV1CountriesCountryIdReactivePut(countryId, options).then(function (request) { return request(axios, basePath); });
8719
8717
  },
8720
8718
  /**
8721
8719
  *
@@ -8748,7 +8746,6 @@ exports.CountriesApiFactory = function (configuration, basePath, axios) {
8748
8746
  },
8749
8747
  /**
8750
8748
  *
8751
- * @summary Get country by slug.
8752
8749
  * @param {string} slug
8753
8750
  * @param {string} [languageCode]
8754
8751
  * @param {boolean} [returnDefaultValue]
@@ -8888,9 +8885,9 @@ var CountriesApi = /** @class */ (function (_super) {
8888
8885
  * @throws {RequiredError}
8889
8886
  * @memberof CountriesApi
8890
8887
  */
8891
- CountriesApi.prototype.apiV1CountriesCountryIdRevokePut = function (countryId, options) {
8888
+ CountriesApi.prototype.apiV1CountriesCountryIdReactivePut = function (countryId, options) {
8892
8889
  var _this = this;
8893
- return exports.CountriesApiFp(this.configuration).apiV1CountriesCountryIdRevokePut(countryId, options).then(function (request) { return request(_this.axios, _this.basePath); });
8890
+ return exports.CountriesApiFp(this.configuration).apiV1CountriesCountryIdReactivePut(countryId, options).then(function (request) { return request(_this.axios, _this.basePath); });
8894
8891
  };
8895
8892
  /**
8896
8893
  *
@@ -8927,7 +8924,6 @@ var CountriesApi = /** @class */ (function (_super) {
8927
8924
  };
8928
8925
  /**
8929
8926
  *
8930
- * @summary Get country by slug.
8931
8927
  * @param {string} slug
8932
8928
  * @param {string} [languageCode]
8933
8929
  * @param {boolean} [returnDefaultValue]
@@ -11436,7 +11432,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
11436
11432
  },
11437
11433
  /**
11438
11434
  *
11439
- * @summary Get Doctor.
11440
11435
  * @param {string} doctorId
11441
11436
  * @param {string} [languageCode]
11442
11437
  * @param {boolean} [returnDefaultValue]
@@ -12445,7 +12440,6 @@ exports.DoctorsApiAxiosParamCreator = function (configuration) {
12445
12440
  },
12446
12441
  /**
12447
12442
  *
12448
- * @summary Get Doctor by slug.
12449
12443
  * @param {string} slug
12450
12444
  * @param {string} [languageCode]
12451
12445
  * @param {boolean} [returnDefaultValue]
@@ -12837,7 +12831,6 @@ exports.DoctorsApiFp = function (configuration) {
12837
12831
  },
12838
12832
  /**
12839
12833
  *
12840
- * @summary Get Doctor.
12841
12834
  * @param {string} doctorId
12842
12835
  * @param {string} [languageCode]
12843
12836
  * @param {boolean} [returnDefaultValue]
@@ -13264,7 +13257,6 @@ exports.DoctorsApiFp = function (configuration) {
13264
13257
  },
13265
13258
  /**
13266
13259
  *
13267
- * @summary Get Doctor by slug.
13268
13260
  * @param {string} slug
13269
13261
  * @param {string} [languageCode]
13270
13262
  * @param {boolean} [returnDefaultValue]
@@ -13477,7 +13469,6 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
13477
13469
  },
13478
13470
  /**
13479
13471
  *
13480
- * @summary Get Doctor.
13481
13472
  * @param {string} doctorId
13482
13473
  * @param {string} [languageCode]
13483
13474
  * @param {boolean} [returnDefaultValue]
@@ -13714,7 +13705,6 @@ exports.DoctorsApiFactory = function (configuration, basePath, axios) {
13714
13705
  },
13715
13706
  /**
13716
13707
  *
13717
- * @summary Get Doctor by slug.
13718
13708
  * @param {string} slug
13719
13709
  * @param {string} [languageCode]
13720
13710
  * @param {boolean} [returnDefaultValue]
@@ -13951,7 +13941,6 @@ var DoctorsApi = /** @class */ (function (_super) {
13951
13941
  };
13952
13942
  /**
13953
13943
  *
13954
- * @summary Get Doctor.
13955
13944
  * @param {string} doctorId
13956
13945
  * @param {string} [languageCode]
13957
13946
  * @param {boolean} [returnDefaultValue]
@@ -14226,7 +14215,6 @@ var DoctorsApi = /** @class */ (function (_super) {
14226
14215
  };
14227
14216
  /**
14228
14217
  *
14229
- * @summary Get Doctor by slug.
14230
14218
  * @param {string} slug
14231
14219
  * @param {string} [languageCode]
14232
14220
  * @param {boolean} [returnDefaultValue]
@@ -17465,6 +17453,53 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
17465
17453
  });
17466
17454
  });
17467
17455
  },
17456
+ /**
17457
+ *
17458
+ * @summary Reactivate HospitalEquipment.
17459
+ * @param {string} hospitalId
17460
+ * @param {string} equipmentId
17461
+ * @param {*} [options] Override http request option.
17462
+ * @throws {RequiredError}
17463
+ */
17464
+ apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut: function (hospitalId, equipmentId, options) {
17465
+ if (options === void 0) { options = {}; }
17466
+ return __awaiter(_this, void 0, void 0, function () {
17467
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
17468
+ return __generator(this, function (_a) {
17469
+ switch (_a.label) {
17470
+ case 0:
17471
+ // verify required parameter 'hospitalId' is not null or undefined
17472
+ common_1.assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut', 'hospitalId', hospitalId);
17473
+ // verify required parameter 'equipmentId' is not null or undefined
17474
+ common_1.assertParamExists('apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut', 'equipmentId', equipmentId);
17475
+ localVarPath = "/api/v1/hospitals/{hospitalId}/equipments/{equipmentId}/reactive"
17476
+ .replace("{" + "hospitalId" + "}", encodeURIComponent(String(hospitalId)))
17477
+ .replace("{" + "equipmentId" + "}", encodeURIComponent(String(equipmentId)));
17478
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
17479
+ if (configuration) {
17480
+ baseOptions = configuration.baseOptions;
17481
+ }
17482
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
17483
+ localVarHeaderParameter = {};
17484
+ localVarQueryParameter = {};
17485
+ // authentication oauth2 required
17486
+ // oauth required
17487
+ return [4 /*yield*/, common_1.setOAuthToObject(localVarHeaderParameter, "oauth2", ["CloudHospital_admin_api", "IdentityServerApi"], configuration)];
17488
+ case 1:
17489
+ // authentication oauth2 required
17490
+ // oauth required
17491
+ _a.sent();
17492
+ common_1.setSearchParams(localVarUrlObj, localVarQueryParameter);
17493
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
17494
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
17495
+ return [2 /*return*/, {
17496
+ url: common_1.toPathString(localVarUrlObj),
17497
+ options: localVarRequestOptions,
17498
+ }];
17499
+ }
17500
+ });
17501
+ });
17502
+ },
17468
17503
  /**
17469
17504
  *
17470
17505
  * @summary Get all HospitalEquipments.
@@ -18603,7 +18638,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
18603
18638
  },
18604
18639
  /**
18605
18640
  *
18606
- * @summary Delete HospitalService
18607
18641
  * @param {string} hospitalId
18608
18642
  * @param {string} specialtyId
18609
18643
  * @param {string} serviceId
@@ -18654,7 +18688,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
18654
18688
  },
18655
18689
  /**
18656
18690
  *
18657
- * @summary Get HospitalService.
18658
18691
  * @param {string} hospitalId
18659
18692
  * @param {string} specialtyId
18660
18693
  * @param {string} serviceId
@@ -19215,7 +19248,6 @@ exports.HospitalsApiAxiosParamCreator = function (configuration) {
19215
19248
  },
19216
19249
  /**
19217
19250
  *
19218
- * @summary Get Hospital by slug.
19219
19251
  * @param {string} slug
19220
19252
  * @param {string} [languageCode]
19221
19253
  * @param {boolean} [returnDefaultValue]
@@ -19597,6 +19629,27 @@ exports.HospitalsApiFp = function (configuration) {
19597
19629
  });
19598
19630
  });
19599
19631
  },
19632
+ /**
19633
+ *
19634
+ * @summary Reactivate HospitalEquipment.
19635
+ * @param {string} hospitalId
19636
+ * @param {string} equipmentId
19637
+ * @param {*} [options] Override http request option.
19638
+ * @throws {RequiredError}
19639
+ */
19640
+ apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut: function (hospitalId, equipmentId, options) {
19641
+ return __awaiter(this, void 0, void 0, function () {
19642
+ var localVarAxiosArgs;
19643
+ return __generator(this, function (_a) {
19644
+ switch (_a.label) {
19645
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId, equipmentId, options)];
19646
+ case 1:
19647
+ localVarAxiosArgs = _a.sent();
19648
+ return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
19649
+ }
19650
+ });
19651
+ });
19652
+ },
19600
19653
  /**
19601
19654
  *
19602
19655
  * @summary Get all HospitalEquipments.
@@ -20066,7 +20119,6 @@ exports.HospitalsApiFp = function (configuration) {
20066
20119
  },
20067
20120
  /**
20068
20121
  *
20069
- * @summary Delete HospitalService
20070
20122
  * @param {string} hospitalId
20071
20123
  * @param {string} specialtyId
20072
20124
  * @param {string} serviceId
@@ -20088,7 +20140,6 @@ exports.HospitalsApiFp = function (configuration) {
20088
20140
  },
20089
20141
  /**
20090
20142
  *
20091
- * @summary Get HospitalService.
20092
20143
  * @param {string} hospitalId
20093
20144
  * @param {string} specialtyId
20094
20145
  * @param {string} serviceId
@@ -20311,7 +20362,6 @@ exports.HospitalsApiFp = function (configuration) {
20311
20362
  },
20312
20363
  /**
20313
20364
  *
20314
- * @summary Get Hospital by slug.
20315
20365
  * @param {string} slug
20316
20366
  * @param {string} [languageCode]
20317
20367
  * @param {boolean} [returnDefaultValue]
@@ -20524,6 +20574,17 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
20524
20574
  apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut: function (hospitalId, equipmentId, updateHospitalEquipmentCommand, options) {
20525
20575
  return localVarFp.apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId, equipmentId, updateHospitalEquipmentCommand, options).then(function (request) { return request(axios, basePath); });
20526
20576
  },
20577
+ /**
20578
+ *
20579
+ * @summary Reactivate HospitalEquipment.
20580
+ * @param {string} hospitalId
20581
+ * @param {string} equipmentId
20582
+ * @param {*} [options] Override http request option.
20583
+ * @throws {RequiredError}
20584
+ */
20585
+ apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut: function (hospitalId, equipmentId, options) {
20586
+ return localVarFp.apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId, equipmentId, options).then(function (request) { return request(axios, basePath); });
20587
+ },
20527
20588
  /**
20528
20589
  *
20529
20590
  * @summary Get all HospitalEquipments.
@@ -20793,7 +20854,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
20793
20854
  },
20794
20855
  /**
20795
20856
  *
20796
- * @summary Delete HospitalService
20797
20857
  * @param {string} hospitalId
20798
20858
  * @param {string} specialtyId
20799
20859
  * @param {string} serviceId
@@ -20805,7 +20865,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
20805
20865
  },
20806
20866
  /**
20807
20867
  *
20808
- * @summary Get HospitalService.
20809
20868
  * @param {string} hospitalId
20810
20869
  * @param {string} specialtyId
20811
20870
  * @param {string} serviceId
@@ -20938,7 +20997,6 @@ exports.HospitalsApiFactory = function (configuration, basePath, axios) {
20938
20997
  },
20939
20998
  /**
20940
20999
  *
20941
- * @summary Get Hospital by slug.
20942
21000
  * @param {string} slug
20943
21001
  * @param {string} [languageCode]
20944
21002
  * @param {boolean} [returnDefaultValue]
@@ -21173,6 +21231,19 @@ var HospitalsApi = /** @class */ (function (_super) {
21173
21231
  var _this = this;
21174
21232
  return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdEquipmentsEquipmentIdPut(hospitalId, equipmentId, updateHospitalEquipmentCommand, options).then(function (request) { return request(_this.axios, _this.basePath); });
21175
21233
  };
21234
+ /**
21235
+ *
21236
+ * @summary Reactivate HospitalEquipment.
21237
+ * @param {string} hospitalId
21238
+ * @param {string} equipmentId
21239
+ * @param {*} [options] Override http request option.
21240
+ * @throws {RequiredError}
21241
+ * @memberof HospitalsApi
21242
+ */
21243
+ HospitalsApi.prototype.apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut = function (hospitalId, equipmentId, options) {
21244
+ var _this = this;
21245
+ return exports.HospitalsApiFp(this.configuration).apiV1HospitalsHospitalIdEquipmentsEquipmentIdReactivePut(hospitalId, equipmentId, options).then(function (request) { return request(_this.axios, _this.basePath); });
21246
+ };
21176
21247
  /**
21177
21248
  *
21178
21249
  * @summary Get all HospitalEquipments.
@@ -21482,7 +21553,6 @@ var HospitalsApi = /** @class */ (function (_super) {
21482
21553
  };
21483
21554
  /**
21484
21555
  *
21485
- * @summary Delete HospitalService
21486
21556
  * @param {string} hospitalId
21487
21557
  * @param {string} specialtyId
21488
21558
  * @param {string} serviceId
@@ -21496,7 +21566,6 @@ var HospitalsApi = /** @class */ (function (_super) {
21496
21566
  };
21497
21567
  /**
21498
21568
  *
21499
- * @summary Get HospitalService.
21500
21569
  * @param {string} hospitalId
21501
21570
  * @param {string} specialtyId
21502
21571
  * @param {string} serviceId
@@ -21647,7 +21716,6 @@ var HospitalsApi = /** @class */ (function (_super) {
21647
21716
  };
21648
21717
  /**
21649
21718
  *
21650
- * @summary Get Hospital by slug.
21651
21719
  * @param {string} slug
21652
21720
  * @param {string} [languageCode]
21653
21721
  * @param {boolean} [returnDefaultValue]
@@ -25793,7 +25861,6 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
25793
25861
  },
25794
25862
  /**
25795
25863
  *
25796
- * @summary Get HospitalService.
25797
25864
  * @param {string} serviceId
25798
25865
  * @param {string} [languageCode]
25799
25866
  * @param {boolean} [returnDefaultValue]
@@ -25844,7 +25911,6 @@ exports.ServicesApiAxiosParamCreator = function (configuration) {
25844
25911
  },
25845
25912
  /**
25846
25913
  *
25847
- * @summary Get HospitalService by slug.
25848
25914
  * @param {string} slug
25849
25915
  * @param {string} [languageCode]
25850
25916
  * @param {boolean} [returnDefaultValue]
@@ -25942,7 +26008,6 @@ exports.ServicesApiFp = function (configuration) {
25942
26008
  },
25943
26009
  /**
25944
26010
  *
25945
- * @summary Get HospitalService.
25946
26011
  * @param {string} serviceId
25947
26012
  * @param {string} [languageCode]
25948
26013
  * @param {boolean} [returnDefaultValue]
@@ -25964,7 +26029,6 @@ exports.ServicesApiFp = function (configuration) {
25964
26029
  },
25965
26030
  /**
25966
26031
  *
25967
- * @summary Get HospitalService by slug.
25968
26032
  * @param {string} slug
25969
26033
  * @param {string} [languageCode]
25970
26034
  * @param {boolean} [returnDefaultValue]
@@ -26023,7 +26087,6 @@ exports.ServicesApiFactory = function (configuration, basePath, axios) {
26023
26087
  },
26024
26088
  /**
26025
26089
  *
26026
- * @summary Get HospitalService.
26027
26090
  * @param {string} serviceId
26028
26091
  * @param {string} [languageCode]
26029
26092
  * @param {boolean} [returnDefaultValue]
@@ -26035,7 +26098,6 @@ exports.ServicesApiFactory = function (configuration, basePath, axios) {
26035
26098
  },
26036
26099
  /**
26037
26100
  *
26038
- * @summary Get HospitalService by slug.
26039
26101
  * @param {string} slug
26040
26102
  * @param {string} [languageCode]
26041
26103
  * @param {boolean} [returnDefaultValue]
@@ -26090,7 +26152,6 @@ var ServicesApi = /** @class */ (function (_super) {
26090
26152
  };
26091
26153
  /**
26092
26154
  *
26093
- * @summary Get HospitalService.
26094
26155
  * @param {string} serviceId
26095
26156
  * @param {string} [languageCode]
26096
26157
  * @param {boolean} [returnDefaultValue]
@@ -26104,7 +26165,6 @@ var ServicesApi = /** @class */ (function (_super) {
26104
26165
  };
26105
26166
  /**
26106
26167
  *
26107
- * @summary Get HospitalService by slug.
26108
26168
  * @param {string} slug
26109
26169
  * @param {string} [languageCode]
26110
26170
  * @param {boolean} [returnDefaultValue]
@@ -26133,13 +26193,14 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
26133
26193
  * @param {string} [name]
26134
26194
  * @param {string} [description]
26135
26195
  * @param {string} [languageCode]
26196
+ * @param {boolean} [returnDefaultValue]
26136
26197
  * @param {number} [page]
26137
26198
  * @param {number} [limit]
26138
26199
  * @param {Date} [lastRetrieved]
26139
26200
  * @param {*} [options] Override http request option.
26140
26201
  * @throws {RequiredError}
26141
26202
  */
26142
- apiV1ServicescategoriesGet: function (id, name, description, languageCode, page, limit, lastRetrieved, options) {
26203
+ apiV1ServicescategoriesGet: function (id, name, description, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
26143
26204
  if (options === void 0) { options = {}; }
26144
26205
  return __awaiter(_this, void 0, void 0, function () {
26145
26206
  var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -26173,6 +26234,9 @@ exports.ServicesCategoriesApiAxiosParamCreator = function (configuration) {
26173
26234
  if (languageCode !== undefined) {
26174
26235
  localVarQueryParameter['LanguageCode'] = languageCode;
26175
26236
  }
26237
+ if (returnDefaultValue !== undefined) {
26238
+ localVarQueryParameter['ReturnDefaultValue'] = returnDefaultValue;
26239
+ }
26176
26240
  if (page !== undefined) {
26177
26241
  localVarQueryParameter['page'] = page;
26178
26242
  }
@@ -26388,18 +26452,19 @@ exports.ServicesCategoriesApiFp = function (configuration) {
26388
26452
  * @param {string} [name]
26389
26453
  * @param {string} [description]
26390
26454
  * @param {string} [languageCode]
26455
+ * @param {boolean} [returnDefaultValue]
26391
26456
  * @param {number} [page]
26392
26457
  * @param {number} [limit]
26393
26458
  * @param {Date} [lastRetrieved]
26394
26459
  * @param {*} [options] Override http request option.
26395
26460
  * @throws {RequiredError}
26396
26461
  */
26397
- apiV1ServicescategoriesGet: function (id, name, description, languageCode, page, limit, lastRetrieved, options) {
26462
+ apiV1ServicescategoriesGet: function (id, name, description, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
26398
26463
  return __awaiter(this, void 0, void 0, function () {
26399
26464
  var localVarAxiosArgs;
26400
26465
  return __generator(this, function (_a) {
26401
26466
  switch (_a.label) {
26402
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, description, languageCode, page, limit, lastRetrieved, options)];
26467
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.apiV1ServicescategoriesGet(id, name, description, languageCode, returnDefaultValue, page, limit, lastRetrieved, options)];
26403
26468
  case 1:
26404
26469
  localVarAxiosArgs = _a.sent();
26405
26470
  return [2 /*return*/, common_1.createRequestFunction(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -26504,14 +26569,15 @@ exports.ServicesCategoriesApiFactory = function (configuration, basePath, axios)
26504
26569
  * @param {string} [name]
26505
26570
  * @param {string} [description]
26506
26571
  * @param {string} [languageCode]
26572
+ * @param {boolean} [returnDefaultValue]
26507
26573
  * @param {number} [page]
26508
26574
  * @param {number} [limit]
26509
26575
  * @param {Date} [lastRetrieved]
26510
26576
  * @param {*} [options] Override http request option.
26511
26577
  * @throws {RequiredError}
26512
26578
  */
26513
- apiV1ServicescategoriesGet: function (id, name, description, languageCode, page, limit, lastRetrieved, options) {
26514
- return localVarFp.apiV1ServicescategoriesGet(id, name, description, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
26579
+ apiV1ServicescategoriesGet: function (id, name, description, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
26580
+ return localVarFp.apiV1ServicescategoriesGet(id, name, description, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(axios, basePath); });
26515
26581
  },
26516
26582
  /**
26517
26583
  *
@@ -26574,6 +26640,7 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
26574
26640
  * @param {string} [name]
26575
26641
  * @param {string} [description]
26576
26642
  * @param {string} [languageCode]
26643
+ * @param {boolean} [returnDefaultValue]
26577
26644
  * @param {number} [page]
26578
26645
  * @param {number} [limit]
26579
26646
  * @param {Date} [lastRetrieved]
@@ -26581,9 +26648,9 @@ var ServicesCategoriesApi = /** @class */ (function (_super) {
26581
26648
  * @throws {RequiredError}
26582
26649
  * @memberof ServicesCategoriesApi
26583
26650
  */
26584
- ServicesCategoriesApi.prototype.apiV1ServicescategoriesGet = function (id, name, description, languageCode, page, limit, lastRetrieved, options) {
26651
+ ServicesCategoriesApi.prototype.apiV1ServicescategoriesGet = function (id, name, description, languageCode, returnDefaultValue, page, limit, lastRetrieved, options) {
26585
26652
  var _this = this;
26586
- return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, description, languageCode, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
26653
+ return exports.ServicesCategoriesApiFp(this.configuration).apiV1ServicescategoriesGet(id, name, description, languageCode, returnDefaultValue, page, limit, lastRetrieved, options).then(function (request) { return request(_this.axios, _this.basePath); });
26587
26654
  };
26588
26655
  /**
26589
26656
  *
@@ -26779,7 +26846,6 @@ exports.SpecialtiesApiAxiosParamCreator = function (configuration) {
26779
26846
  },
26780
26847
  /**
26781
26848
  *
26782
- * @summary Get Specialty by slug.
26783
26849
  * @param {string} slug
26784
26850
  * @param {string} [languageCode]
26785
26851
  * @param {boolean} [returnDefaultValue]
@@ -27285,7 +27351,6 @@ exports.SpecialtiesApiFp = function (configuration) {
27285
27351
  },
27286
27352
  /**
27287
27353
  *
27288
- * @summary Get Specialty by slug.
27289
27354
  * @param {string} slug
27290
27355
  * @param {string} [languageCode]
27291
27356
  * @param {boolean} [returnDefaultValue]
@@ -27520,7 +27585,6 @@ exports.SpecialtiesApiFactory = function (configuration, basePath, axios) {
27520
27585
  },
27521
27586
  /**
27522
27587
  *
27523
- * @summary Get Specialty by slug.
27524
27588
  * @param {string} slug
27525
27589
  * @param {string} [languageCode]
27526
27590
  * @param {boolean} [returnDefaultValue]
@@ -27673,7 +27737,6 @@ var SpecialtiesApi = /** @class */ (function (_super) {
27673
27737
  };
27674
27738
  /**
27675
27739
  *
27676
- * @summary Get Specialty by slug.
27677
27740
  * @param {string} slug
27678
27741
  * @param {string} [languageCode]
27679
27742
  * @param {boolean} [returnDefaultValue]
@@ -28038,7 +28101,6 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
28038
28101
  },
28039
28102
  /**
28040
28103
  *
28041
- * @summary Get Department by slug.
28042
28104
  * @param {string} slug
28043
28105
  * @param {string} [languageCode]
28044
28106
  * @param {boolean} [returnDefaultValue]
@@ -28132,7 +28194,6 @@ exports.SpecialtyTypesApiAxiosParamCreator = function (configuration) {
28132
28194
  },
28133
28195
  /**
28134
28196
  *
28135
- * @summary Get Department.
28136
28197
  * @param {string} specialtyTypeId
28137
28198
  * @param {string} [languageCode]
28138
28199
  * @param {boolean} [returnDefaultValue]
@@ -28577,7 +28638,6 @@ exports.SpecialtyTypesApiFp = function (configuration) {
28577
28638
  },
28578
28639
  /**
28579
28640
  *
28580
- * @summary Get Department by slug.
28581
28641
  * @param {string} slug
28582
28642
  * @param {string} [languageCode]
28583
28643
  * @param {boolean} [returnDefaultValue]
@@ -28619,7 +28679,6 @@ exports.SpecialtyTypesApiFp = function (configuration) {
28619
28679
  },
28620
28680
  /**
28621
28681
  *
28622
- * @summary Get Department.
28623
28682
  * @param {string} specialtyTypeId
28624
28683
  * @param {string} [languageCode]
28625
28684
  * @param {boolean} [returnDefaultValue]
@@ -28835,7 +28894,6 @@ exports.SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
28835
28894
  },
28836
28895
  /**
28837
28896
  *
28838
- * @summary Get Department by slug.
28839
28897
  * @param {string} slug
28840
28898
  * @param {string} [languageCode]
28841
28899
  * @param {boolean} [returnDefaultValue]
@@ -28857,7 +28915,6 @@ exports.SpecialtyTypesApiFactory = function (configuration, basePath, axios) {
28857
28915
  },
28858
28916
  /**
28859
28917
  *
28860
- * @summary Get Department.
28861
28918
  * @param {string} specialtyTypeId
28862
28919
  * @param {string} [languageCode]
28863
28920
  * @param {boolean} [returnDefaultValue]
@@ -29013,7 +29070,6 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
29013
29070
  };
29014
29071
  /**
29015
29072
  *
29016
- * @summary Get Department by slug.
29017
29073
  * @param {string} slug
29018
29074
  * @param {string} [languageCode]
29019
29075
  * @param {boolean} [returnDefaultValue]
@@ -29039,7 +29095,6 @@ var SpecialtyTypesApi = /** @class */ (function (_super) {
29039
29095
  };
29040
29096
  /**
29041
29097
  *
29042
- * @summary Get Department.
29043
29098
  * @param {string} specialtyTypeId
29044
29099
  * @param {string} [languageCode]
29045
29100
  * @param {boolean} [returnDefaultValue]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ch-admin-api-client-typescript",
3
- "version": "2.6.0",
3
+ "version": "2.6.5",
4
4
  "description": "Openapi generated typescript-axios client for CloudHospital admin",
5
5
  "main": "index.js",
6
6
  "scripts": {