@banch0u/core-project-test-repository 2.2.12 → 2.2.13
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.
|
@@ -9165,7 +9165,7 @@ _defineProperty(Services, "getPentions", /*#__PURE__*/function () {
|
|
|
9165
9165
|
while (1) switch (_context475.prev = _context475.next) {
|
|
9166
9166
|
case 0:
|
|
9167
9167
|
_context475.next = 1;
|
|
9168
|
-
return api.get("/
|
|
9168
|
+
return api.get("/pensions/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name));
|
|
9169
9169
|
case 1:
|
|
9170
9170
|
response = _context475.sent;
|
|
9171
9171
|
return _context475.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|
|
@@ -9186,7 +9186,7 @@ _defineProperty(Services, "getPentionsAll", /*#__PURE__*/function () {
|
|
|
9186
9186
|
while (1) switch (_context476.prev = _context476.next) {
|
|
9187
9187
|
case 0:
|
|
9188
9188
|
_context476.next = 1;
|
|
9189
|
-
return api.get("/
|
|
9189
|
+
return api.get("/pensions?visibility=".concat(visibility));
|
|
9190
9190
|
case 1:
|
|
9191
9191
|
response = _context476.sent;
|
|
9192
9192
|
return _context476.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|
|
@@ -9207,7 +9207,7 @@ _defineProperty(Services, "addPentions", /*#__PURE__*/function () {
|
|
|
9207
9207
|
while (1) switch (_context477.prev = _context477.next) {
|
|
9208
9208
|
case 0:
|
|
9209
9209
|
_context477.next = 1;
|
|
9210
|
-
return api.post("/
|
|
9210
|
+
return api.post("/pensions", value);
|
|
9211
9211
|
case 1:
|
|
9212
9212
|
response = _context477.sent;
|
|
9213
9213
|
return _context477.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|
|
@@ -9228,7 +9228,7 @@ _defineProperty(Services, "editPentions", /*#__PURE__*/function () {
|
|
|
9228
9228
|
while (1) switch (_context478.prev = _context478.next) {
|
|
9229
9229
|
case 0:
|
|
9230
9230
|
_context478.next = 1;
|
|
9231
|
-
return api.put("/
|
|
9231
|
+
return api.put("/pensions/".concat(data === null || data === void 0 ? void 0 : data.id), data);
|
|
9232
9232
|
case 1:
|
|
9233
9233
|
response = _context478.sent;
|
|
9234
9234
|
return _context478.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|
|
@@ -9249,7 +9249,7 @@ _defineProperty(Services, "deletePentions", /*#__PURE__*/function () {
|
|
|
9249
9249
|
while (1) switch (_context479.prev = _context479.next) {
|
|
9250
9250
|
case 0:
|
|
9251
9251
|
_context479.next = 1;
|
|
9252
|
-
return api["delete"]("/
|
|
9252
|
+
return api["delete"]("/pensions/".concat(id));
|
|
9253
9253
|
case 1:
|
|
9254
9254
|
response = _context479.sent;
|
|
9255
9255
|
return _context479.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|
|
@@ -9270,7 +9270,7 @@ _defineProperty(Services, "pentionsVisibility", /*#__PURE__*/function () {
|
|
|
9270
9270
|
while (1) switch (_context480.prev = _context480.next) {
|
|
9271
9271
|
case 0:
|
|
9272
9272
|
_context480.next = 1;
|
|
9273
|
-
return api.patch("/
|
|
9273
|
+
return api.patch("/pensions/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked));
|
|
9274
9274
|
case 1:
|
|
9275
9275
|
response = _context480.sent;
|
|
9276
9276
|
return _context480.abrupt("return", response === null || response === void 0 ? void 0 : response.data);
|