@banch0u/core-project-test-repository 2.1.3 → 2.1.4

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.
@@ -13815,7 +13815,7 @@ export var getContractTypesSubtypes = createAsyncThunk("/getContractTypesSubtype
13815
13815
  };
13816
13816
  }());
13817
13817
  export var getContractTypesSubtypesAll = createAsyncThunk("/getContractTypesSubtypesAll", /*#__PURE__*/function () {
13818
- var _ref846 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee423(visibility, _ref845) {
13818
+ var _ref846 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee423(data, _ref845) {
13819
13819
  var dispatch, response, _error$response242;
13820
13820
  return _regeneratorRuntime.wrap(function _callee423$(_context423) {
13821
13821
  while (1) switch (_context423.prev = _context423.next) {
@@ -13824,7 +13824,7 @@ export var getContractTypesSubtypesAll = createAsyncThunk("/getContractTypesSubt
13824
13824
  _context423.prev = 1;
13825
13825
  dispatch(setLoading(true));
13826
13826
  _context423.next = 5;
13827
- return Services.getContractTypesSubtypesAll(visibility);
13827
+ return Services.getContractTypesSubtypesAll(data === null || data === void 0 ? void 0 : data.typeId, data === null || data === void 0 ? void 0 : data.visibility);
13828
13828
  case 5:
13829
13829
  response = _context423.sent;
13830
13830
  dispatch(setLoading(false));
@@ -8028,13 +8028,13 @@ _defineProperty(Services, "getContractTypesSubtypes", /*#__PURE__*/function () {
8028
8028
  };
8029
8029
  }());
8030
8030
  _defineProperty(Services, "getContractTypesSubtypesAll", /*#__PURE__*/function () {
8031
- var _ref424 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee424(visibility) {
8031
+ var _ref424 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee424(typeId, visibility) {
8032
8032
  var response;
8033
8033
  return _regeneratorRuntime.wrap(function _callee424$(_context424) {
8034
8034
  while (1) switch (_context424.prev = _context424.next) {
8035
8035
  case 0:
8036
8036
  _context424.next = 2;
8037
- return api.get("/contracttypes/subtypes?visibility=".concat(visibility));
8037
+ return api.get("/contracttypes/subtypes?visibility=".concat(visibility, "&contractTypeId=").concat(typeId));
8038
8038
  case 2:
8039
8039
  response = _context424.sent;
8040
8040
  return _context424.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
@@ -8044,7 +8044,7 @@ _defineProperty(Services, "getContractTypesSubtypesAll", /*#__PURE__*/function (
8044
8044
  }
8045
8045
  }, _callee424);
8046
8046
  }));
8047
- return function (_x649) {
8047
+ return function (_x649, _x650) {
8048
8048
  return _ref424.apply(this, arguments);
8049
8049
  };
8050
8050
  }());
@@ -8065,7 +8065,7 @@ _defineProperty(Services, "addContractTypesSubtypes", /*#__PURE__*/function () {
8065
8065
  }
8066
8066
  }, _callee425);
8067
8067
  }));
8068
- return function (_x650) {
8068
+ return function (_x651) {
8069
8069
  return _ref425.apply(this, arguments);
8070
8070
  };
8071
8071
  }());
@@ -8086,7 +8086,7 @@ _defineProperty(Services, "editContractTypesSubtypes", /*#__PURE__*/function ()
8086
8086
  }
8087
8087
  }, _callee426);
8088
8088
  }));
8089
- return function (_x651) {
8089
+ return function (_x652) {
8090
8090
  return _ref426.apply(this, arguments);
8091
8091
  };
8092
8092
  }());
@@ -8107,7 +8107,7 @@ _defineProperty(Services, "deleteContractTypesSubtypes", /*#__PURE__*/function (
8107
8107
  }
8108
8108
  }, _callee427);
8109
8109
  }));
8110
- return function (_x652) {
8110
+ return function (_x653) {
8111
8111
  return _ref427.apply(this, arguments);
8112
8112
  };
8113
8113
  }());
@@ -8128,7 +8128,7 @@ _defineProperty(Services, "contractTypesSubtypesVisibility", /*#__PURE__*/functi
8128
8128
  }
8129
8129
  }, _callee428);
8130
8130
  }));
8131
- return function (_x653) {
8131
+ return function (_x654) {
8132
8132
  return _ref428.apply(this, arguments);
8133
8133
  };
8134
8134
  }());
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@banch0u/core-project-test-repository",
3
- "version": "2.1.3",
3
+ "version": "2.1.4",
4
4
  "description": "Shared core features for all projects",
5
5
  "main": "dist/index.js",
6
6
  "files": [