@banch0u/core-project-test-repository 1.9.3 → 1.9.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.
@@ -5473,4 +5473,598 @@ _defineProperty(Services, "drivingcategoriesVisibility", /*#__PURE__*/function (
5473
5473
  return _ref295.apply(this, arguments);
5474
5474
  };
5475
5475
  }());
5476
+ _defineProperty(Services, "getEmployeeConfigurations", /*#__PURE__*/function () {
5477
+ var _ref296 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee296(size, page, query, visibility) {
5478
+ return _regeneratorRuntime.wrap(function _callee296$(_context296) {
5479
+ while (1) switch (_context296.prev = _context296.next) {
5480
+ case 0:
5481
+ _context296.next = 2;
5482
+ return api.get("/employeeconfigurations/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name));
5483
+ case 2:
5484
+ return _context296.abrupt("return", _context296.sent);
5485
+ case 3:
5486
+ case "end":
5487
+ return _context296.stop();
5488
+ }
5489
+ }, _callee296);
5490
+ }));
5491
+ return function (_x454, _x455, _x456, _x457) {
5492
+ return _ref296.apply(this, arguments);
5493
+ };
5494
+ }());
5495
+ _defineProperty(Services, "getEmployeeConfigurationsAll", /*#__PURE__*/function () {
5496
+ var _ref297 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee297(visibility) {
5497
+ return _regeneratorRuntime.wrap(function _callee297$(_context297) {
5498
+ while (1) switch (_context297.prev = _context297.next) {
5499
+ case 0:
5500
+ _context297.next = 2;
5501
+ return api.get("/employeeconfigurations?visibility=".concat(visibility));
5502
+ case 2:
5503
+ return _context297.abrupt("return", _context297.sent);
5504
+ case 3:
5505
+ case "end":
5506
+ return _context297.stop();
5507
+ }
5508
+ }, _callee297);
5509
+ }));
5510
+ return function (_x458) {
5511
+ return _ref297.apply(this, arguments);
5512
+ };
5513
+ }());
5514
+ _defineProperty(Services, "addEmployeeConfigurations", /*#__PURE__*/function () {
5515
+ var _ref298 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee298(data) {
5516
+ return _regeneratorRuntime.wrap(function _callee298$(_context298) {
5517
+ while (1) switch (_context298.prev = _context298.next) {
5518
+ case 0:
5519
+ console.log(data);
5520
+ _context298.next = 3;
5521
+ return api.post("/employeeconfigurations", data, {
5522
+ headers: {
5523
+ "Content-Type": "application/json"
5524
+ }
5525
+ });
5526
+ case 3:
5527
+ return _context298.abrupt("return", _context298.sent);
5528
+ case 4:
5529
+ case "end":
5530
+ return _context298.stop();
5531
+ }
5532
+ }, _callee298);
5533
+ }));
5534
+ return function (_x459) {
5535
+ return _ref298.apply(this, arguments);
5536
+ };
5537
+ }());
5538
+ _defineProperty(Services, "editEmployeeConfigurations", /*#__PURE__*/function () {
5539
+ var _ref299 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee299(value) {
5540
+ return _regeneratorRuntime.wrap(function _callee299$(_context299) {
5541
+ while (1) switch (_context299.prev = _context299.next) {
5542
+ case 0:
5543
+ _context299.next = 2;
5544
+ return api.put("/employeeconfigurations/".concat(value === null || value === void 0 ? void 0 : value.id), value);
5545
+ case 2:
5546
+ return _context299.abrupt("return", _context299.sent);
5547
+ case 3:
5548
+ case "end":
5549
+ return _context299.stop();
5550
+ }
5551
+ }, _callee299);
5552
+ }));
5553
+ return function (_x460) {
5554
+ return _ref299.apply(this, arguments);
5555
+ };
5556
+ }());
5557
+ _defineProperty(Services, "deleteEmployeeConfigurations", /*#__PURE__*/function () {
5558
+ var _ref300 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee300(id) {
5559
+ return _regeneratorRuntime.wrap(function _callee300$(_context300) {
5560
+ while (1) switch (_context300.prev = _context300.next) {
5561
+ case 0:
5562
+ _context300.next = 2;
5563
+ return api["delete"]("/employeeconfigurations/".concat(id));
5564
+ case 2:
5565
+ return _context300.abrupt("return", _context300.sent);
5566
+ case 3:
5567
+ case "end":
5568
+ return _context300.stop();
5569
+ }
5570
+ }, _callee300);
5571
+ }));
5572
+ return function (_x461) {
5573
+ return _ref300.apply(this, arguments);
5574
+ };
5575
+ }());
5576
+ _defineProperty(Services, "employeeConfigurationsVisibility", /*#__PURE__*/function () {
5577
+ var _ref301 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee301(data) {
5578
+ return _regeneratorRuntime.wrap(function _callee301$(_context301) {
5579
+ while (1) switch (_context301.prev = _context301.next) {
5580
+ case 0:
5581
+ _context301.next = 2;
5582
+ return api.patch("/employeeconfigurations/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked));
5583
+ case 2:
5584
+ return _context301.abrupt("return", _context301.sent);
5585
+ case 3:
5586
+ case "end":
5587
+ return _context301.stop();
5588
+ }
5589
+ }, _callee301);
5590
+ }));
5591
+ return function (_x462) {
5592
+ return _ref301.apply(this, arguments);
5593
+ };
5594
+ }());
5595
+ _defineProperty(Services, "getContragenttypes", /*#__PURE__*/function () {
5596
+ var _ref302 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee302(size, page, query, visibility) {
5597
+ return _regeneratorRuntime.wrap(function _callee302$(_context302) {
5598
+ while (1) switch (_context302.prev = _context302.next) {
5599
+ case 0:
5600
+ _context302.next = 2;
5601
+ return api.get("/contragenttypes/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name));
5602
+ case 2:
5603
+ return _context302.abrupt("return", _context302.sent);
5604
+ case 3:
5605
+ case "end":
5606
+ return _context302.stop();
5607
+ }
5608
+ }, _callee302);
5609
+ }));
5610
+ return function (_x463, _x464, _x465, _x466) {
5611
+ return _ref302.apply(this, arguments);
5612
+ };
5613
+ }());
5614
+ _defineProperty(Services, "getContragenttypesAll", /*#__PURE__*/function () {
5615
+ var _ref303 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee303(visibility) {
5616
+ return _regeneratorRuntime.wrap(function _callee303$(_context303) {
5617
+ while (1) switch (_context303.prev = _context303.next) {
5618
+ case 0:
5619
+ _context303.next = 2;
5620
+ return api.get("/contragenttypes?visibility=".concat(visibility));
5621
+ case 2:
5622
+ return _context303.abrupt("return", _context303.sent);
5623
+ case 3:
5624
+ case "end":
5625
+ return _context303.stop();
5626
+ }
5627
+ }, _callee303);
5628
+ }));
5629
+ return function (_x467) {
5630
+ return _ref303.apply(this, arguments);
5631
+ };
5632
+ }());
5633
+ _defineProperty(Services, "addContragenttypes", /*#__PURE__*/function () {
5634
+ var _ref304 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee304(data) {
5635
+ return _regeneratorRuntime.wrap(function _callee304$(_context304) {
5636
+ while (1) switch (_context304.prev = _context304.next) {
5637
+ case 0:
5638
+ _context304.next = 2;
5639
+ return api.post("/contragenttypes", data, {
5640
+ headers: {
5641
+ "Content-Type": "application/json"
5642
+ }
5643
+ });
5644
+ case 2:
5645
+ return _context304.abrupt("return", _context304.sent);
5646
+ case 3:
5647
+ case "end":
5648
+ return _context304.stop();
5649
+ }
5650
+ }, _callee304);
5651
+ }));
5652
+ return function (_x468) {
5653
+ return _ref304.apply(this, arguments);
5654
+ };
5655
+ }());
5656
+ _defineProperty(Services, "editContragenttypes", /*#__PURE__*/function () {
5657
+ var _ref305 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee305(value) {
5658
+ return _regeneratorRuntime.wrap(function _callee305$(_context305) {
5659
+ while (1) switch (_context305.prev = _context305.next) {
5660
+ case 0:
5661
+ _context305.next = 2;
5662
+ return api.put("/contragenttypes/".concat(value === null || value === void 0 ? void 0 : value.id), value);
5663
+ case 2:
5664
+ return _context305.abrupt("return", _context305.sent);
5665
+ case 3:
5666
+ case "end":
5667
+ return _context305.stop();
5668
+ }
5669
+ }, _callee305);
5670
+ }));
5671
+ return function (_x469) {
5672
+ return _ref305.apply(this, arguments);
5673
+ };
5674
+ }());
5675
+ _defineProperty(Services, "deleteContragenttypes", /*#__PURE__*/function () {
5676
+ var _ref306 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee306(id) {
5677
+ return _regeneratorRuntime.wrap(function _callee306$(_context306) {
5678
+ while (1) switch (_context306.prev = _context306.next) {
5679
+ case 0:
5680
+ _context306.next = 2;
5681
+ return api["delete"]("/contragenttypes/".concat(id));
5682
+ case 2:
5683
+ return _context306.abrupt("return", _context306.sent);
5684
+ case 3:
5685
+ case "end":
5686
+ return _context306.stop();
5687
+ }
5688
+ }, _callee306);
5689
+ }));
5690
+ return function (_x470) {
5691
+ return _ref306.apply(this, arguments);
5692
+ };
5693
+ }());
5694
+ _defineProperty(Services, "contragenttypesVisibility", /*#__PURE__*/function () {
5695
+ var _ref307 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee307(data) {
5696
+ return _regeneratorRuntime.wrap(function _callee307$(_context307) {
5697
+ while (1) switch (_context307.prev = _context307.next) {
5698
+ case 0:
5699
+ _context307.next = 2;
5700
+ return api.patch("/contragenttypes/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked));
5701
+ case 2:
5702
+ return _context307.abrupt("return", _context307.sent);
5703
+ case 3:
5704
+ case "end":
5705
+ return _context307.stop();
5706
+ }
5707
+ }, _callee307);
5708
+ }));
5709
+ return function (_x471) {
5710
+ return _ref307.apply(this, arguments);
5711
+ };
5712
+ }());
5713
+ // Contracttypes
5714
+ _defineProperty(Services, "getContracttypes", /*#__PURE__*/function () {
5715
+ var _ref308 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee308(size, page, query, visibility) {
5716
+ return _regeneratorRuntime.wrap(function _callee308$(_context308) {
5717
+ while (1) switch (_context308.prev = _context308.next) {
5718
+ case 0:
5719
+ _context308.next = 2;
5720
+ return api.get("/contracttypes/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name));
5721
+ case 2:
5722
+ return _context308.abrupt("return", _context308.sent);
5723
+ case 3:
5724
+ case "end":
5725
+ return _context308.stop();
5726
+ }
5727
+ }, _callee308);
5728
+ }));
5729
+ return function (_x472, _x473, _x474, _x475) {
5730
+ return _ref308.apply(this, arguments);
5731
+ };
5732
+ }());
5733
+ _defineProperty(Services, "getContracttypesAll", /*#__PURE__*/function () {
5734
+ var _ref309 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee309(visibility) {
5735
+ return _regeneratorRuntime.wrap(function _callee309$(_context309) {
5736
+ while (1) switch (_context309.prev = _context309.next) {
5737
+ case 0:
5738
+ _context309.next = 2;
5739
+ return api.get("/contracttypes?visibility=".concat(visibility));
5740
+ case 2:
5741
+ return _context309.abrupt("return", _context309.sent);
5742
+ case 3:
5743
+ case "end":
5744
+ return _context309.stop();
5745
+ }
5746
+ }, _callee309);
5747
+ }));
5748
+ return function (_x476) {
5749
+ return _ref309.apply(this, arguments);
5750
+ };
5751
+ }());
5752
+ _defineProperty(Services, "addContracttypes", /*#__PURE__*/function () {
5753
+ var _ref310 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee310(data) {
5754
+ return _regeneratorRuntime.wrap(function _callee310$(_context310) {
5755
+ while (1) switch (_context310.prev = _context310.next) {
5756
+ case 0:
5757
+ _context310.next = 2;
5758
+ return api.post("/contracttypes", data, {
5759
+ headers: {
5760
+ "Content-Type": "application/json"
5761
+ }
5762
+ });
5763
+ case 2:
5764
+ return _context310.abrupt("return", _context310.sent);
5765
+ case 3:
5766
+ case "end":
5767
+ return _context310.stop();
5768
+ }
5769
+ }, _callee310);
5770
+ }));
5771
+ return function (_x477) {
5772
+ return _ref310.apply(this, arguments);
5773
+ };
5774
+ }());
5775
+ _defineProperty(Services, "editContracttypes", /*#__PURE__*/function () {
5776
+ var _ref311 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee311(value) {
5777
+ return _regeneratorRuntime.wrap(function _callee311$(_context311) {
5778
+ while (1) switch (_context311.prev = _context311.next) {
5779
+ case 0:
5780
+ _context311.next = 2;
5781
+ return api.put("/contracttypes/".concat(value === null || value === void 0 ? void 0 : value.id), value);
5782
+ case 2:
5783
+ return _context311.abrupt("return", _context311.sent);
5784
+ case 3:
5785
+ case "end":
5786
+ return _context311.stop();
5787
+ }
5788
+ }, _callee311);
5789
+ }));
5790
+ return function (_x478) {
5791
+ return _ref311.apply(this, arguments);
5792
+ };
5793
+ }());
5794
+ _defineProperty(Services, "deleteContracttypes", /*#__PURE__*/function () {
5795
+ var _ref312 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee312(id) {
5796
+ return _regeneratorRuntime.wrap(function _callee312$(_context312) {
5797
+ while (1) switch (_context312.prev = _context312.next) {
5798
+ case 0:
5799
+ _context312.next = 2;
5800
+ return api["delete"]("/contracttypes/".concat(id));
5801
+ case 2:
5802
+ return _context312.abrupt("return", _context312.sent);
5803
+ case 3:
5804
+ case "end":
5805
+ return _context312.stop();
5806
+ }
5807
+ }, _callee312);
5808
+ }));
5809
+ return function (_x479) {
5810
+ return _ref312.apply(this, arguments);
5811
+ };
5812
+ }());
5813
+ _defineProperty(Services, "contracttypesVisibility", /*#__PURE__*/function () {
5814
+ var _ref313 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee313(data) {
5815
+ return _regeneratorRuntime.wrap(function _callee313$(_context313) {
5816
+ while (1) switch (_context313.prev = _context313.next) {
5817
+ case 0:
5818
+ _context313.next = 2;
5819
+ return api.patch("/contracttypes/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked));
5820
+ case 2:
5821
+ return _context313.abrupt("return", _context313.sent);
5822
+ case 3:
5823
+ case "end":
5824
+ return _context313.stop();
5825
+ }
5826
+ }, _callee313);
5827
+ }));
5828
+ return function (_x480) {
5829
+ return _ref313.apply(this, arguments);
5830
+ };
5831
+ }());
5832
+ // Contractcurrencies
5833
+ _defineProperty(Services, "getContractcurrencies", /*#__PURE__*/function () {
5834
+ var _ref314 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee314(size, page, query, visibility) {
5835
+ return _regeneratorRuntime.wrap(function _callee314$(_context314) {
5836
+ while (1) switch (_context314.prev = _context314.next) {
5837
+ case 0:
5838
+ _context314.next = 2;
5839
+ return api.get("/contractcurrencies/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name));
5840
+ case 2:
5841
+ return _context314.abrupt("return", _context314.sent);
5842
+ case 3:
5843
+ case "end":
5844
+ return _context314.stop();
5845
+ }
5846
+ }, _callee314);
5847
+ }));
5848
+ return function (_x481, _x482, _x483, _x484) {
5849
+ return _ref314.apply(this, arguments);
5850
+ };
5851
+ }());
5852
+ _defineProperty(Services, "getContractcurrenciesAll", /*#__PURE__*/function () {
5853
+ var _ref315 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee315(visibility) {
5854
+ return _regeneratorRuntime.wrap(function _callee315$(_context315) {
5855
+ while (1) switch (_context315.prev = _context315.next) {
5856
+ case 0:
5857
+ _context315.next = 2;
5858
+ return api.get("/contractcurrencies?visibility=".concat(visibility));
5859
+ case 2:
5860
+ return _context315.abrupt("return", _context315.sent);
5861
+ case 3:
5862
+ case "end":
5863
+ return _context315.stop();
5864
+ }
5865
+ }, _callee315);
5866
+ }));
5867
+ return function (_x485) {
5868
+ return _ref315.apply(this, arguments);
5869
+ };
5870
+ }());
5871
+ _defineProperty(Services, "addContractcurrencies", /*#__PURE__*/function () {
5872
+ var _ref316 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee316(data) {
5873
+ return _regeneratorRuntime.wrap(function _callee316$(_context316) {
5874
+ while (1) switch (_context316.prev = _context316.next) {
5875
+ case 0:
5876
+ _context316.next = 2;
5877
+ return api.post("/contractcurrencies", data, {
5878
+ headers: {
5879
+ "Content-Type": "application/json"
5880
+ }
5881
+ });
5882
+ case 2:
5883
+ return _context316.abrupt("return", _context316.sent);
5884
+ case 3:
5885
+ case "end":
5886
+ return _context316.stop();
5887
+ }
5888
+ }, _callee316);
5889
+ }));
5890
+ return function (_x486) {
5891
+ return _ref316.apply(this, arguments);
5892
+ };
5893
+ }());
5894
+ _defineProperty(Services, "editContractcurrencies", /*#__PURE__*/function () {
5895
+ var _ref317 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee317(value) {
5896
+ return _regeneratorRuntime.wrap(function _callee317$(_context317) {
5897
+ while (1) switch (_context317.prev = _context317.next) {
5898
+ case 0:
5899
+ _context317.next = 2;
5900
+ return api.put("/contractcurrencies/".concat(value === null || value === void 0 ? void 0 : value.id), value);
5901
+ case 2:
5902
+ return _context317.abrupt("return", _context317.sent);
5903
+ case 3:
5904
+ case "end":
5905
+ return _context317.stop();
5906
+ }
5907
+ }, _callee317);
5908
+ }));
5909
+ return function (_x487) {
5910
+ return _ref317.apply(this, arguments);
5911
+ };
5912
+ }());
5913
+ _defineProperty(Services, "deleteContractcurrencies", /*#__PURE__*/function () {
5914
+ var _ref318 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee318(id) {
5915
+ return _regeneratorRuntime.wrap(function _callee318$(_context318) {
5916
+ while (1) switch (_context318.prev = _context318.next) {
5917
+ case 0:
5918
+ _context318.next = 2;
5919
+ return api["delete"]("/contractcurrencies/".concat(id));
5920
+ case 2:
5921
+ return _context318.abrupt("return", _context318.sent);
5922
+ case 3:
5923
+ case "end":
5924
+ return _context318.stop();
5925
+ }
5926
+ }, _callee318);
5927
+ }));
5928
+ return function (_x488) {
5929
+ return _ref318.apply(this, arguments);
5930
+ };
5931
+ }());
5932
+ _defineProperty(Services, "contractcurrenciesVisibility", /*#__PURE__*/function () {
5933
+ var _ref319 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee319(data) {
5934
+ return _regeneratorRuntime.wrap(function _callee319$(_context319) {
5935
+ while (1) switch (_context319.prev = _context319.next) {
5936
+ case 0:
5937
+ _context319.next = 2;
5938
+ return api.patch("/contractcurrencies/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked));
5939
+ case 2:
5940
+ return _context319.abrupt("return", _context319.sent);
5941
+ case 3:
5942
+ case "end":
5943
+ return _context319.stop();
5944
+ }
5945
+ }, _callee319);
5946
+ }));
5947
+ return function (_x489) {
5948
+ return _ref319.apply(this, arguments);
5949
+ };
5950
+ }());
5951
+ // Orders
5952
+ _defineProperty(Services, "getOrders", /*#__PURE__*/function () {
5953
+ var _ref320 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee320(size, page, query, visibility) {
5954
+ return _regeneratorRuntime.wrap(function _callee320$(_context320) {
5955
+ while (1) switch (_context320.prev = _context320.next) {
5956
+ case 0:
5957
+ _context320.next = 2;
5958
+ return api.get("/orders/".concat(size, "/page/").concat(page, "?visibility=").concat(visibility, "&name=").concat(query === null || query === void 0 ? void 0 : query.name));
5959
+ case 2:
5960
+ return _context320.abrupt("return", _context320.sent);
5961
+ case 3:
5962
+ case "end":
5963
+ return _context320.stop();
5964
+ }
5965
+ }, _callee320);
5966
+ }));
5967
+ return function (_x490, _x491, _x492, _x493) {
5968
+ return _ref320.apply(this, arguments);
5969
+ };
5970
+ }());
5971
+ _defineProperty(Services, "getOrdersAll", /*#__PURE__*/function () {
5972
+ var _ref321 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee321(visibility) {
5973
+ return _regeneratorRuntime.wrap(function _callee321$(_context321) {
5974
+ while (1) switch (_context321.prev = _context321.next) {
5975
+ case 0:
5976
+ _context321.next = 2;
5977
+ return api.get("/orders?visibility=".concat(visibility));
5978
+ case 2:
5979
+ return _context321.abrupt("return", _context321.sent);
5980
+ case 3:
5981
+ case "end":
5982
+ return _context321.stop();
5983
+ }
5984
+ }, _callee321);
5985
+ }));
5986
+ return function (_x494) {
5987
+ return _ref321.apply(this, arguments);
5988
+ };
5989
+ }());
5990
+ _defineProperty(Services, "addOrders", /*#__PURE__*/function () {
5991
+ var _ref322 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee322(data) {
5992
+ return _regeneratorRuntime.wrap(function _callee322$(_context322) {
5993
+ while (1) switch (_context322.prev = _context322.next) {
5994
+ case 0:
5995
+ _context322.next = 2;
5996
+ return api.post("/orders", data, {
5997
+ headers: {
5998
+ "Content-Type": "application/json"
5999
+ }
6000
+ });
6001
+ case 2:
6002
+ return _context322.abrupt("return", _context322.sent);
6003
+ case 3:
6004
+ case "end":
6005
+ return _context322.stop();
6006
+ }
6007
+ }, _callee322);
6008
+ }));
6009
+ return function (_x495) {
6010
+ return _ref322.apply(this, arguments);
6011
+ };
6012
+ }());
6013
+ _defineProperty(Services, "editOrders", /*#__PURE__*/function () {
6014
+ var _ref323 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee323(value) {
6015
+ return _regeneratorRuntime.wrap(function _callee323$(_context323) {
6016
+ while (1) switch (_context323.prev = _context323.next) {
6017
+ case 0:
6018
+ _context323.next = 2;
6019
+ return api.put("/orders/".concat(value === null || value === void 0 ? void 0 : value.id), value);
6020
+ case 2:
6021
+ return _context323.abrupt("return", _context323.sent);
6022
+ case 3:
6023
+ case "end":
6024
+ return _context323.stop();
6025
+ }
6026
+ }, _callee323);
6027
+ }));
6028
+ return function (_x496) {
6029
+ return _ref323.apply(this, arguments);
6030
+ };
6031
+ }());
6032
+ _defineProperty(Services, "deleteOrders", /*#__PURE__*/function () {
6033
+ var _ref324 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee324(id) {
6034
+ return _regeneratorRuntime.wrap(function _callee324$(_context324) {
6035
+ while (1) switch (_context324.prev = _context324.next) {
6036
+ case 0:
6037
+ _context324.next = 2;
6038
+ return api["delete"]("/orders/".concat(id));
6039
+ case 2:
6040
+ return _context324.abrupt("return", _context324.sent);
6041
+ case 3:
6042
+ case "end":
6043
+ return _context324.stop();
6044
+ }
6045
+ }, _callee324);
6046
+ }));
6047
+ return function (_x497) {
6048
+ return _ref324.apply(this, arguments);
6049
+ };
6050
+ }());
6051
+ _defineProperty(Services, "ordersVisibility", /*#__PURE__*/function () {
6052
+ var _ref325 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee325(data) {
6053
+ return _regeneratorRuntime.wrap(function _callee325$(_context325) {
6054
+ while (1) switch (_context325.prev = _context325.next) {
6055
+ case 0:
6056
+ _context325.next = 2;
6057
+ return api.patch("/orders/".concat(data === null || data === void 0 ? void 0 : data.id, "/visibility/").concat(data === null || data === void 0 ? void 0 : data.checked));
6058
+ case 2:
6059
+ return _context325.abrupt("return", _context325.sent);
6060
+ case 3:
6061
+ case "end":
6062
+ return _context325.stop();
6063
+ }
6064
+ }, _callee325);
6065
+ }));
6066
+ return function (_x498) {
6067
+ return _ref325.apply(this, arguments);
6068
+ };
6069
+ }());
5476
6070
  export default Services;
@@ -5,7 +5,8 @@ import { auth } from "./slices/auth";
5
5
  import { notification } from "./slices/notification";
6
6
  import { companyInfo } from "./slices/companyInfo";
7
7
  import { questionnaire } from "./slices/questionnaire";
8
+ import { employees } from "./slices/employees";
8
9
  export var store = configureStore({
9
- reducer: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, notification.name, notification.reducer), global.name, global.reducer), auth.name, auth.reducer), companyInfo.name, companyInfo.reducer), questionnaire.name, questionnaire.reducer)
10
+ reducer: _defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty(_defineProperty({}, employees.name, employees.reducer), notification.name, notification.reducer), global.name, global.reducer), auth.name, auth.reducer), companyInfo.name, companyInfo.reducer), questionnaire.name, questionnaire.reducer)
10
11
  });
11
12
  export default store;
@@ -67,6 +67,7 @@ export var QUESTIONNAIRES_EDUCATION_PAYMENTS = QUESTIONNAIRES + "/education-paym
67
67
  export var QUESTIONNAIRES_EDUCATION_LEVELS = QUESTIONNAIRES + "/education-levels";
68
68
  export var QUESTIONNAIRES_REPRIMAND_TYPES = QUESTIONNAIRES + "/reprimand-types";
69
69
  export var QUESTIONNAIRES_DRIVING_CATEGORIES = QUESTIONNAIRES + "/driving-categories";
70
+ export var QUESTIONNAIRES_EMPLOYEE_CONFIGURATIONS = QUESTIONNAIRES + "/employee-configurations";
70
71
  export var QUESTIONNAIRES_SPECIAL_DAYS = QUESTIONNAIRES + "/special-days";
71
72
  export var SETTINGS_QUESTIONNAIRES_ACADEMIC_DEGREES = SETTINGS_QUESTIONNAIRES + "/academic-degrees";
72
73
  export var SETTINGS_QUESTIONNAIRES_DISABILITY_STATUSES = SETTINGS_QUESTIONNAIRES + "/disability-statuses";
@@ -97,4 +98,13 @@ export var SETTINGS_QUESTIONNAIRES_AREAS = SETTINGS_QUESTIONNAIRES + "/areas";
97
98
  export var SETTINGS_QUESTIONNAIRES_COMPANIES = SETTINGS_QUESTIONNAIRES + "/companies";
98
99
  export var SETTINGS_QUESTIONNAIRES_POSITIONS = SETTINGS_QUESTIONNAIRES + "/positions";
99
100
  export var SETTINGS_QUESTIONNAIRES_HALLS = SETTINGS_QUESTIONNAIRES + "/halls";
100
- export var SETTINGS_QUESTIONNAIRES_DRIVING_CATEGORIES = SETTINGS_QUESTIONNAIRES + "/driving-categories";
101
+ export var SETTINGS_QUESTIONNAIRES_DRIVING_CATEGORIES = SETTINGS_QUESTIONNAIRES + "/driving-categories";
102
+ export var SETTINGS_EMPLOYEE_CONFIGURATIONS = SETTINGS_QUESTIONNAIRES + "/employee-configurations";
103
+ export var QUESTIONNAIRES_CONTRAGENTTYPES = QUESTIONNAIRES + "/contragenttypes";
104
+ export var QUESTIONNAIRES_CONTRACTTYPES = QUESTIONNAIRES + "/contracttypes";
105
+ export var QUESTIONNAIRES_CONTRACTCURRENCIES = QUESTIONNAIRES + "/contractcurrencies";
106
+ export var QUESTIONNAIRES_ORDERS = QUESTIONNAIRES + "/orders";
107
+ export var SETTINGS_QUESTIONNAIRES_CONTRAGENTTYPES = SETTINGS_QUESTIONNAIRES + "/contragenttypes";
108
+ export var SETTINGS_QUESTIONNAIRES_CONTRACTTYPES = SETTINGS_QUESTIONNAIRES + "/contracttypes";
109
+ export var SETTINGS_QUESTIONNAIRES_CONTRACTCURRENCIES = SETTINGS_QUESTIONNAIRES + "/contractcurrencies";
110
+ export var SETTINGS_QUESTIONNAIRES_ORDERS = SETTINGS_QUESTIONNAIRES + "/orders";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@banch0u/core-project-test-repository",
3
- "version": "1.9.3",
3
+ "version": "1.9.5",
4
4
  "description": "Shared core features for all projects",
5
5
  "main": "dist/index.js",
6
6
  "files": [