vineanova-redux-artifacts 1.119.217 → 1.119.219
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/CHANGELOG.md +1 -1
- package/dist/actions/commonActions.js +117 -0
- package/dist/hooks/index.js +33 -0
- package/dist/hooks/useFetchdraftInvoiceJobs.js +39 -0
- package/dist/hooks/useFetchinvoiceJobs.js +39 -0
- package/dist/hooks/useFetchjobBlockStatus.js +39 -0
- package/dist/reducers/index.js +3 -0
- package/dist/sagas/vineaNovaApi.sagas.js +1188 -1053
- package/dist/selectors/draftInvoiceJobsSelector.js +57 -0
- package/dist/selectors/index.js +33 -0
- package/dist/selectors/invoiceJobsSelector.js +57 -0
- package/dist/selectors/jobBlockStatusSelector.js +57 -0
- package/dist/services/apiServices.js +947 -838
- package/package.json +1 -1
- package/src/actions/commonActions.js +27 -0
- package/src/hooks/index.js +3 -0
- package/src/hooks/useFetchdraftInvoiceJobs.js +38 -0
- package/src/hooks/useFetchinvoiceJobs.js +38 -0
- package/src/hooks/useFetchjobBlockStatus.js +38 -0
- package/src/reducers/index.js +3 -0
- package/src/sagas/vineaNovaApi.sagas.js +96 -0
- package/src/selectors/draftInvoiceJobsSelector.js +62 -0
- package/src/selectors/index.js +3 -0
- package/src/selectors/invoiceJobsSelector.js +62 -0
- package/src/selectors/jobBlockStatusSelector.js +62 -0
- package/src/services/apiServices.js +70 -0
package/CHANGELOG.md
CHANGED
|
@@ -5694,6 +5694,84 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
5694
5694
|
}]
|
|
5695
5695
|
}
|
|
5696
5696
|
},
|
|
5697
|
+
invoiceJobs: {
|
|
5698
|
+
get: {
|
|
5699
|
+
REQUEST: [function (payload) {
|
|
5700
|
+
return payload;
|
|
5701
|
+
}, function () {
|
|
5702
|
+
return {
|
|
5703
|
+
reducerName: 'invoiceJobs'
|
|
5704
|
+
};
|
|
5705
|
+
}],
|
|
5706
|
+
RECEIVE: [function (payload) {
|
|
5707
|
+
return payload;
|
|
5708
|
+
}, function () {
|
|
5709
|
+
return {
|
|
5710
|
+
reducerName: 'invoiceJobs'
|
|
5711
|
+
};
|
|
5712
|
+
}],
|
|
5713
|
+
ERROR: [function (payload) {
|
|
5714
|
+
return payload;
|
|
5715
|
+
}, function () {
|
|
5716
|
+
return {
|
|
5717
|
+
reducerName: 'invoiceJobs'
|
|
5718
|
+
};
|
|
5719
|
+
}],
|
|
5720
|
+
CLEARDATA: [function (payload) {
|
|
5721
|
+
return payload;
|
|
5722
|
+
}, function () {
|
|
5723
|
+
return {
|
|
5724
|
+
reducerName: 'invoiceJobs'
|
|
5725
|
+
};
|
|
5726
|
+
}],
|
|
5727
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
5728
|
+
return payload;
|
|
5729
|
+
}, function () {
|
|
5730
|
+
return {
|
|
5731
|
+
reducerName: 'invoiceJobs'
|
|
5732
|
+
};
|
|
5733
|
+
}]
|
|
5734
|
+
}
|
|
5735
|
+
},
|
|
5736
|
+
draftInvoiceJobs: {
|
|
5737
|
+
get: {
|
|
5738
|
+
REQUEST: [function (payload) {
|
|
5739
|
+
return payload;
|
|
5740
|
+
}, function () {
|
|
5741
|
+
return {
|
|
5742
|
+
reducerName: 'draftInvoiceJobs'
|
|
5743
|
+
};
|
|
5744
|
+
}],
|
|
5745
|
+
RECEIVE: [function (payload) {
|
|
5746
|
+
return payload;
|
|
5747
|
+
}, function () {
|
|
5748
|
+
return {
|
|
5749
|
+
reducerName: 'draftInvoiceJobs'
|
|
5750
|
+
};
|
|
5751
|
+
}],
|
|
5752
|
+
ERROR: [function (payload) {
|
|
5753
|
+
return payload;
|
|
5754
|
+
}, function () {
|
|
5755
|
+
return {
|
|
5756
|
+
reducerName: 'draftInvoiceJobs'
|
|
5757
|
+
};
|
|
5758
|
+
}],
|
|
5759
|
+
CLEARDATA: [function (payload) {
|
|
5760
|
+
return payload;
|
|
5761
|
+
}, function () {
|
|
5762
|
+
return {
|
|
5763
|
+
reducerName: 'draftInvoiceJobs'
|
|
5764
|
+
};
|
|
5765
|
+
}],
|
|
5766
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
5767
|
+
return payload;
|
|
5768
|
+
}, function () {
|
|
5769
|
+
return {
|
|
5770
|
+
reducerName: 'draftInvoiceJobs'
|
|
5771
|
+
};
|
|
5772
|
+
}]
|
|
5773
|
+
}
|
|
5774
|
+
},
|
|
5697
5775
|
jobActivity: {
|
|
5698
5776
|
get: {
|
|
5699
5777
|
REQUEST: [function (payload) {
|
|
@@ -6222,6 +6300,45 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
6222
6300
|
}]
|
|
6223
6301
|
}
|
|
6224
6302
|
},
|
|
6303
|
+
jobBlockStatus: {
|
|
6304
|
+
put: {
|
|
6305
|
+
REQUEST: [function (payload) {
|
|
6306
|
+
return payload;
|
|
6307
|
+
}, function () {
|
|
6308
|
+
return {
|
|
6309
|
+
reducerName: 'jobBlockStatus'
|
|
6310
|
+
};
|
|
6311
|
+
}],
|
|
6312
|
+
RECEIVE: [function (payload) {
|
|
6313
|
+
return payload;
|
|
6314
|
+
}, function () {
|
|
6315
|
+
return {
|
|
6316
|
+
reducerName: 'jobBlockStatus'
|
|
6317
|
+
};
|
|
6318
|
+
}],
|
|
6319
|
+
ERROR: [function (payload) {
|
|
6320
|
+
return payload;
|
|
6321
|
+
}, function () {
|
|
6322
|
+
return {
|
|
6323
|
+
reducerName: 'jobBlockStatus'
|
|
6324
|
+
};
|
|
6325
|
+
}],
|
|
6326
|
+
CLEARDATA: [function (payload) {
|
|
6327
|
+
return payload;
|
|
6328
|
+
}, function () {
|
|
6329
|
+
return {
|
|
6330
|
+
reducerName: 'jobBlockStatus'
|
|
6331
|
+
};
|
|
6332
|
+
}],
|
|
6333
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
6334
|
+
return payload;
|
|
6335
|
+
}, function () {
|
|
6336
|
+
return {
|
|
6337
|
+
reducerName: 'jobBlockStatus'
|
|
6338
|
+
};
|
|
6339
|
+
}]
|
|
6340
|
+
}
|
|
6341
|
+
},
|
|
6225
6342
|
blocksForJob: {
|
|
6226
6343
|
get: {
|
|
6227
6344
|
REQUEST: [function (payload) {
|
package/dist/hooks/index.js
CHANGED
|
@@ -751,6 +751,28 @@ Object.keys(_useFetchinvoiceBatches).forEach(function (key) {
|
|
|
751
751
|
}
|
|
752
752
|
});
|
|
753
753
|
});
|
|
754
|
+
var _useFetchinvoiceJobs = require("./useFetchinvoiceJobs");
|
|
755
|
+
Object.keys(_useFetchinvoiceJobs).forEach(function (key) {
|
|
756
|
+
if (key === "default" || key === "__esModule") return;
|
|
757
|
+
if (key in exports && exports[key] === _useFetchinvoiceJobs[key]) return;
|
|
758
|
+
Object.defineProperty(exports, key, {
|
|
759
|
+
enumerable: true,
|
|
760
|
+
get: function get() {
|
|
761
|
+
return _useFetchinvoiceJobs[key];
|
|
762
|
+
}
|
|
763
|
+
});
|
|
764
|
+
});
|
|
765
|
+
var _useFetchdraftInvoiceJobs = require("./useFetchdraftInvoiceJobs");
|
|
766
|
+
Object.keys(_useFetchdraftInvoiceJobs).forEach(function (key) {
|
|
767
|
+
if (key === "default" || key === "__esModule") return;
|
|
768
|
+
if (key in exports && exports[key] === _useFetchdraftInvoiceJobs[key]) return;
|
|
769
|
+
Object.defineProperty(exports, key, {
|
|
770
|
+
enumerable: true,
|
|
771
|
+
get: function get() {
|
|
772
|
+
return _useFetchdraftInvoiceJobs[key];
|
|
773
|
+
}
|
|
774
|
+
});
|
|
775
|
+
});
|
|
754
776
|
var _useFetchjobActivity = require("./useFetchjobActivity");
|
|
755
777
|
Object.keys(_useFetchjobActivity).forEach(function (key) {
|
|
756
778
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -806,6 +828,17 @@ Object.keys(_useFetchjobBlock).forEach(function (key) {
|
|
|
806
828
|
}
|
|
807
829
|
});
|
|
808
830
|
});
|
|
831
|
+
var _useFetchjobBlockStatus = require("./useFetchjobBlockStatus");
|
|
832
|
+
Object.keys(_useFetchjobBlockStatus).forEach(function (key) {
|
|
833
|
+
if (key === "default" || key === "__esModule") return;
|
|
834
|
+
if (key in exports && exports[key] === _useFetchjobBlockStatus[key]) return;
|
|
835
|
+
Object.defineProperty(exports, key, {
|
|
836
|
+
enumerable: true,
|
|
837
|
+
get: function get() {
|
|
838
|
+
return _useFetchjobBlockStatus[key];
|
|
839
|
+
}
|
|
840
|
+
});
|
|
841
|
+
});
|
|
809
842
|
var _useFetchblocksForJob = require("./useFetchblocksForJob");
|
|
810
843
|
Object.keys(_useFetchblocksForJob).forEach(function (key) {
|
|
811
844
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useFetchDraftInvoiceJobs = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _reactRedux = require("react-redux");
|
|
9
|
+
var _actions = require("../actions");
|
|
10
|
+
var VineaNovaSelectors = _interopRequireWildcard(require("../selectors"));
|
|
11
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
12
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
13
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
14
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19
|
+
var useFetchDraftInvoiceJobs = exports.useFetchDraftInvoiceJobs = function useFetchDraftInvoiceJobs(props) {
|
|
20
|
+
// selectors
|
|
21
|
+
var data = (0, _reactRedux.useSelector)(VineaNovaSelectors.getDraftInvoiceJobsEntityData);
|
|
22
|
+
var dispatchAPI = (0, _reactRedux.useDispatch)();
|
|
23
|
+
var _props$queryParams = props.queryParams,
|
|
24
|
+
queryParams = _props$queryParams === void 0 ? {} : _props$queryParams;
|
|
25
|
+
(0, _react.useEffect)(function () {
|
|
26
|
+
dispatchAPI(_actions.VineaNovaActions.api.v1.draftInvoiceJobs.get.request({
|
|
27
|
+
queryParams: _objectSpread({}, queryParams)
|
|
28
|
+
}));
|
|
29
|
+
}, []);
|
|
30
|
+
var useQuery = function useQuery(queryParams) {
|
|
31
|
+
dispatchAPI(_actions.VineaNovaActions.api.v1.draftInvoiceJobs.get.request({
|
|
32
|
+
queryParams: _objectSpread({}, queryParams)
|
|
33
|
+
}));
|
|
34
|
+
};
|
|
35
|
+
return {
|
|
36
|
+
data: data,
|
|
37
|
+
useQuery: useQuery
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useFetchInvoiceJobs = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _reactRedux = require("react-redux");
|
|
9
|
+
var _actions = require("../actions");
|
|
10
|
+
var VineaNovaSelectors = _interopRequireWildcard(require("../selectors"));
|
|
11
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
12
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
13
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
14
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19
|
+
var useFetchInvoiceJobs = exports.useFetchInvoiceJobs = function useFetchInvoiceJobs(props) {
|
|
20
|
+
// selectors
|
|
21
|
+
var data = (0, _reactRedux.useSelector)(VineaNovaSelectors.getInvoiceJobsEntityData);
|
|
22
|
+
var dispatchAPI = (0, _reactRedux.useDispatch)();
|
|
23
|
+
var _props$queryParams = props.queryParams,
|
|
24
|
+
queryParams = _props$queryParams === void 0 ? {} : _props$queryParams;
|
|
25
|
+
(0, _react.useEffect)(function () {
|
|
26
|
+
dispatchAPI(_actions.VineaNovaActions.api.v1.invoiceJobs.get.request({
|
|
27
|
+
queryParams: _objectSpread({}, queryParams)
|
|
28
|
+
}));
|
|
29
|
+
}, []);
|
|
30
|
+
var useQuery = function useQuery(queryParams) {
|
|
31
|
+
dispatchAPI(_actions.VineaNovaActions.api.v1.invoiceJobs.get.request({
|
|
32
|
+
queryParams: _objectSpread({}, queryParams)
|
|
33
|
+
}));
|
|
34
|
+
};
|
|
35
|
+
return {
|
|
36
|
+
data: data,
|
|
37
|
+
useQuery: useQuery
|
|
38
|
+
};
|
|
39
|
+
};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports.useFetchJobBlockStatus = void 0;
|
|
7
|
+
var _react = require("react");
|
|
8
|
+
var _reactRedux = require("react-redux");
|
|
9
|
+
var _actions = require("../actions");
|
|
10
|
+
var VineaNovaSelectors = _interopRequireWildcard(require("../selectors"));
|
|
11
|
+
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
12
|
+
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { "default": e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && {}.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n["default"] = e, t && t.set(e, n), n; }
|
|
13
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
14
|
+
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
15
|
+
function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
|
|
16
|
+
function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
19
|
+
var useFetchJobBlockStatus = exports.useFetchJobBlockStatus = function useFetchJobBlockStatus(props) {
|
|
20
|
+
// selectors
|
|
21
|
+
var data = (0, _reactRedux.useSelector)(VineaNovaSelectors.getJobBlockStatusEntityData);
|
|
22
|
+
var dispatchAPI = (0, _reactRedux.useDispatch)();
|
|
23
|
+
var _props$queryParams = props.queryParams,
|
|
24
|
+
queryParams = _props$queryParams === void 0 ? {} : _props$queryParams;
|
|
25
|
+
(0, _react.useEffect)(function () {
|
|
26
|
+
dispatchAPI(_actions.VineaNovaActions.api.v1.jobBlockStatus.get.request({
|
|
27
|
+
queryParams: _objectSpread({}, queryParams)
|
|
28
|
+
}));
|
|
29
|
+
}, []);
|
|
30
|
+
var useQuery = function useQuery(queryParams) {
|
|
31
|
+
dispatchAPI(_actions.VineaNovaActions.api.v1.jobBlockStatus.get.request({
|
|
32
|
+
queryParams: _objectSpread({}, queryParams)
|
|
33
|
+
}));
|
|
34
|
+
};
|
|
35
|
+
return {
|
|
36
|
+
data: data,
|
|
37
|
+
useQuery: useQuery
|
|
38
|
+
};
|
|
39
|
+
};
|
package/dist/reducers/index.js
CHANGED
|
@@ -77,11 +77,14 @@ var rootReducer = {
|
|
|
77
77
|
importTypeFilters: (0, _createNamedReducer["default"])('importTypeFilters'),
|
|
78
78
|
importSheets: (0, _createNamedReducer["default"])('importSheets'),
|
|
79
79
|
invoiceBatches: (0, _createNamedReducer["default"])('invoiceBatches'),
|
|
80
|
+
invoiceJobs: (0, _createNamedReducer["default"])('invoiceJobs'),
|
|
81
|
+
draftInvoiceJobs: (0, _createNamedReducer["default"])('draftInvoiceJobs'),
|
|
80
82
|
jobActivity: (0, _createNamedReducer["default"])('jobActivity'),
|
|
81
83
|
jobActivities: (0, _createNamedReducer["default"])('jobActivities'),
|
|
82
84
|
jobActivityRate: (0, _createNamedReducer["default"])('jobActivityRate'),
|
|
83
85
|
getJobActivityRates: (0, _createNamedReducer["default"])('getJobActivityRates'),
|
|
84
86
|
jobBlock: (0, _createNamedReducer["default"])('jobBlock'),
|
|
87
|
+
jobBlockStatus: (0, _createNamedReducer["default"])('jobBlockStatus'),
|
|
85
88
|
blocksForJob: (0, _createNamedReducer["default"])('blocksForJob'),
|
|
86
89
|
jobBlocksBulk: (0, _createNamedReducer["default"])('jobBlocksBulk'),
|
|
87
90
|
jobBlockRows: (0, _createNamedReducer["default"])('jobBlockRows'),
|