vineanova-redux-artifacts 1.119.246 → 1.119.247

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 CHANGED
@@ -2,4 +2,4 @@
2
2
 
3
3
  All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
4
4
 
5
- ### 1.119.246 (2025-04-09)
5
+ ### 1.119.247 (2025-04-14)
@@ -5004,6 +5004,43 @@ var ducksActions = (0, _reduxActions.createActions)({
5004
5004
  reducerName: 'identityTeam'
5005
5005
  };
5006
5006
  }]
5007
+ },
5008
+ "delete": {
5009
+ REQUEST: [function (payload) {
5010
+ return payload;
5011
+ }, function () {
5012
+ return {
5013
+ reducerName: 'identityTeam'
5014
+ };
5015
+ }],
5016
+ RECEIVE: [function (payload) {
5017
+ return payload;
5018
+ }, function () {
5019
+ return {
5020
+ reducerName: 'identityTeam'
5021
+ };
5022
+ }],
5023
+ ERROR: [function (payload) {
5024
+ return payload;
5025
+ }, function () {
5026
+ return {
5027
+ reducerName: 'identityTeam'
5028
+ };
5029
+ }],
5030
+ CLEARDATA: [function (payload) {
5031
+ return payload;
5032
+ }, function () {
5033
+ return {
5034
+ reducerName: 'identityTeam'
5035
+ };
5036
+ }],
5037
+ UPDATEPARTIALENTITY: [function (payload) {
5038
+ return payload;
5039
+ }, function () {
5040
+ return {
5041
+ reducerName: 'identityTeam'
5042
+ };
5043
+ }]
5007
5044
  }
5008
5045
  },
5009
5046
  identityUserPerson: {
@@ -5922,6 +5959,43 @@ var ducksActions = (0, _reduxActions.createActions)({
5922
5959
  reducerName: 'invoiceBatch'
5923
5960
  };
5924
5961
  }]
5962
+ },
5963
+ post: {
5964
+ REQUEST: [function (payload) {
5965
+ return payload;
5966
+ }, function () {
5967
+ return {
5968
+ reducerName: 'invoiceBatch'
5969
+ };
5970
+ }],
5971
+ RECEIVE: [function (payload) {
5972
+ return payload;
5973
+ }, function () {
5974
+ return {
5975
+ reducerName: 'invoiceBatch'
5976
+ };
5977
+ }],
5978
+ ERROR: [function (payload) {
5979
+ return payload;
5980
+ }, function () {
5981
+ return {
5982
+ reducerName: 'invoiceBatch'
5983
+ };
5984
+ }],
5985
+ CLEARDATA: [function (payload) {
5986
+ return payload;
5987
+ }, function () {
5988
+ return {
5989
+ reducerName: 'invoiceBatch'
5990
+ };
5991
+ }],
5992
+ UPDATEPARTIALENTITY: [function (payload) {
5993
+ return payload;
5994
+ }, function () {
5995
+ return {
5996
+ reducerName: 'invoiceBatch'
5997
+ };
5998
+ }]
5925
5999
  }
5926
6000
  },
5927
6001
  invoiceBatchHeaders: {
@@ -5963,6 +6037,45 @@ var ducksActions = (0, _reduxActions.createActions)({
5963
6037
  }]
5964
6038
  }
5965
6039
  },
6040
+ invoiceBatchInvoices: {
6041
+ post: {
6042
+ REQUEST: [function (payload) {
6043
+ return payload;
6044
+ }, function () {
6045
+ return {
6046
+ reducerName: 'invoiceBatchInvoices'
6047
+ };
6048
+ }],
6049
+ RECEIVE: [function (payload) {
6050
+ return payload;
6051
+ }, function () {
6052
+ return {
6053
+ reducerName: 'invoiceBatchInvoices'
6054
+ };
6055
+ }],
6056
+ ERROR: [function (payload) {
6057
+ return payload;
6058
+ }, function () {
6059
+ return {
6060
+ reducerName: 'invoiceBatchInvoices'
6061
+ };
6062
+ }],
6063
+ CLEARDATA: [function (payload) {
6064
+ return payload;
6065
+ }, function () {
6066
+ return {
6067
+ reducerName: 'invoiceBatchInvoices'
6068
+ };
6069
+ }],
6070
+ UPDATEPARTIALENTITY: [function (payload) {
6071
+ return payload;
6072
+ }, function () {
6073
+ return {
6074
+ reducerName: 'invoiceBatchInvoices'
6075
+ };
6076
+ }]
6077
+ }
6078
+ },
5966
6079
  invoice: {
5967
6080
  "delete": {
5968
6081
  REQUEST: [function (payload) {
@@ -806,6 +806,17 @@ Object.keys(_useFetchinvoiceBatchHeaders).forEach(function (key) {
806
806
  }
807
807
  });
808
808
  });
809
+ var _useFetchinvoiceBatchInvoices = require("./useFetchinvoiceBatchInvoices");
810
+ Object.keys(_useFetchinvoiceBatchInvoices).forEach(function (key) {
811
+ if (key === "default" || key === "__esModule") return;
812
+ if (key in exports && exports[key] === _useFetchinvoiceBatchInvoices[key]) return;
813
+ Object.defineProperty(exports, key, {
814
+ enumerable: true,
815
+ get: function get() {
816
+ return _useFetchinvoiceBatchInvoices[key];
817
+ }
818
+ });
819
+ });
809
820
  var _useFetchinvoice = require("./useFetchinvoice");
810
821
  Object.keys(_useFetchinvoice).forEach(function (key) {
811
822
  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.useFetchInvoiceBatchInvoices = 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 useFetchInvoiceBatchInvoices = exports.useFetchInvoiceBatchInvoices = function useFetchInvoiceBatchInvoices(props) {
20
+ // selectors
21
+ var data = (0, _reactRedux.useSelector)(VineaNovaSelectors.getInvoiceBatchInvoicesEntityData);
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.invoiceBatchInvoices.get.request({
27
+ queryParams: _objectSpread({}, queryParams)
28
+ }));
29
+ }, []);
30
+ var useQuery = function useQuery(queryParams) {
31
+ dispatchAPI(_actions.VineaNovaActions.api.v1.invoiceBatchInvoices.get.request({
32
+ queryParams: _objectSpread({}, queryParams)
33
+ }));
34
+ };
35
+ return {
36
+ data: data,
37
+ useQuery: useQuery
38
+ };
39
+ };
@@ -82,6 +82,7 @@ var rootReducer = {
82
82
  draftInvoiceJobs: (0, _createNamedReducer["default"])('draftInvoiceJobs'),
83
83
  invoiceBatch: (0, _createNamedReducer["default"])('invoiceBatch'),
84
84
  invoiceBatchHeaders: (0, _createNamedReducer["default"])('invoiceBatchHeaders'),
85
+ invoiceBatchInvoices: (0, _createNamedReducer["default"])('invoiceBatchInvoices'),
85
86
  invoice: (0, _createNamedReducer["default"])('invoice'),
86
87
  jobActivity: (0, _createNamedReducer["default"])('jobActivity'),
87
88
  jobActivities: (0, _createNamedReducer["default"])('jobActivities'),