vineanova-redux-artifacts 1.119.103 → 1.119.105
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 +6 -1
- package/dist/actions/commonActions.js +117 -117
- package/dist/hooks/index.js +33 -33
- package/dist/hooks/{useFetchlookupEventLogStatus.js → useFetchallIdentityDataConnectors.js} +5 -5
- package/dist/hooks/{useFetchlookupCostAllocationFactor.js → useFetchlookupRelationshipSubType.js} +5 -5
- package/dist/hooks/{useFetchlookupImportType.js → useFetchnewLoginEventLog.js} +5 -5
- package/dist/reducers/index.js +4 -4
- package/dist/sagas/vineaNovaApi.sagas.js +1631 -1635
- package/dist/selectors/{lookupEventLogStatusSelector.js → allIdentityDataConnectorsSelector.js} +5 -5
- package/dist/selectors/index.js +33 -33
- package/dist/selectors/{lookupCostAllocationFactorSelector.js → lookupRelationshipSubTypeSelector.js} +5 -5
- package/dist/selectors/lookupStatusSelector.js +9 -19
- package/dist/selectors/{lookupImportTypeSelector.js → newLoginEventLogSelector.js} +5 -5
- package/dist/services/apiServices.js +1728 -1391
- package/dist/services/config/serviceConfig.js +13 -9
- package/dist/utils/winstonLogger.js +26 -0
- package/package.json +4 -1
- package/src/actions/commonActions.js +27 -27
- package/src/hooks/index.js +3 -3
- package/src/hooks/{useFetchlookupEventLogStatus.js → useFetchallIdentityDataConnectors.js} +4 -4
- package/src/hooks/{useFetchlookupCostAllocationFactor.js → useFetchlookupRelationshipSubType.js} +4 -4
- package/src/hooks/{useFetchlookupImportType.js → useFetchnewLoginEventLog.js} +4 -4
- package/src/reducers/index.js +3 -3
- package/src/sagas/vineaNovaApi.sagas.js +438 -443
- package/src/selectors/{lookupEventLogStatusSelector.js → allIdentityDataConnectorsSelector.js} +5 -5
- package/src/selectors/index.js +3 -3
- package/src/selectors/{lookupCostAllocationFactorSelector.js → lookupRelationshipSubTypeSelector.js} +5 -5
- package/src/selectors/lookupStatusSelector.js +9 -27
- package/src/selectors/{lookupImportTypeSelector.js → newLoginEventLogSelector.js} +5 -5
- package/src/services/apiServices.js +411 -72
- package/src/services/config/serviceConfig.js +16 -12
- package/src/utils/winstonLogger.js +20 -0
package/CHANGELOG.md
CHANGED
|
@@ -2,4 +2,9 @@
|
|
|
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.
|
|
5
|
+
### 1.119.105 (2024-10-06)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* updated env variables ([6341682](https://github.com/infopowernz/vineanova/commit/63416823560449a891d152d71b9f391ab19ea100))
|
|
@@ -1641,6 +1641,45 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
1641
1641
|
}]
|
|
1642
1642
|
}
|
|
1643
1643
|
},
|
|
1644
|
+
newLoginEventLog: {
|
|
1645
|
+
post: {
|
|
1646
|
+
REQUEST: [function (payload) {
|
|
1647
|
+
return payload;
|
|
1648
|
+
}, function () {
|
|
1649
|
+
return {
|
|
1650
|
+
reducerName: 'newLoginEventLog'
|
|
1651
|
+
};
|
|
1652
|
+
}],
|
|
1653
|
+
RECEIVE: [function (payload) {
|
|
1654
|
+
return payload;
|
|
1655
|
+
}, function () {
|
|
1656
|
+
return {
|
|
1657
|
+
reducerName: 'newLoginEventLog'
|
|
1658
|
+
};
|
|
1659
|
+
}],
|
|
1660
|
+
ERROR: [function (payload) {
|
|
1661
|
+
return payload;
|
|
1662
|
+
}, function () {
|
|
1663
|
+
return {
|
|
1664
|
+
reducerName: 'newLoginEventLog'
|
|
1665
|
+
};
|
|
1666
|
+
}],
|
|
1667
|
+
CLEARDATA: [function (payload) {
|
|
1668
|
+
return payload;
|
|
1669
|
+
}, function () {
|
|
1670
|
+
return {
|
|
1671
|
+
reducerName: 'newLoginEventLog'
|
|
1672
|
+
};
|
|
1673
|
+
}],
|
|
1674
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
1675
|
+
return payload;
|
|
1676
|
+
}, function () {
|
|
1677
|
+
return {
|
|
1678
|
+
reducerName: 'newLoginEventLog'
|
|
1679
|
+
};
|
|
1680
|
+
}]
|
|
1681
|
+
}
|
|
1682
|
+
},
|
|
1644
1683
|
demoExcelData: {
|
|
1645
1684
|
get: {
|
|
1646
1685
|
REQUEST: [function (payload) {
|
|
@@ -3116,6 +3155,45 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
3116
3155
|
}]
|
|
3117
3156
|
}
|
|
3118
3157
|
},
|
|
3158
|
+
allIdentityDataConnectors: {
|
|
3159
|
+
get: {
|
|
3160
|
+
REQUEST: [function (payload) {
|
|
3161
|
+
return payload;
|
|
3162
|
+
}, function () {
|
|
3163
|
+
return {
|
|
3164
|
+
reducerName: 'allIdentityDataConnectors'
|
|
3165
|
+
};
|
|
3166
|
+
}],
|
|
3167
|
+
RECEIVE: [function (payload) {
|
|
3168
|
+
return payload;
|
|
3169
|
+
}, function () {
|
|
3170
|
+
return {
|
|
3171
|
+
reducerName: 'allIdentityDataConnectors'
|
|
3172
|
+
};
|
|
3173
|
+
}],
|
|
3174
|
+
ERROR: [function (payload) {
|
|
3175
|
+
return payload;
|
|
3176
|
+
}, function () {
|
|
3177
|
+
return {
|
|
3178
|
+
reducerName: 'allIdentityDataConnectors'
|
|
3179
|
+
};
|
|
3180
|
+
}],
|
|
3181
|
+
CLEARDATA: [function (payload) {
|
|
3182
|
+
return payload;
|
|
3183
|
+
}, function () {
|
|
3184
|
+
return {
|
|
3185
|
+
reducerName: 'allIdentityDataConnectors'
|
|
3186
|
+
};
|
|
3187
|
+
}],
|
|
3188
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
3189
|
+
return payload;
|
|
3190
|
+
}, function () {
|
|
3191
|
+
return {
|
|
3192
|
+
reducerName: 'allIdentityDataConnectors'
|
|
3193
|
+
};
|
|
3194
|
+
}]
|
|
3195
|
+
}
|
|
3196
|
+
},
|
|
3119
3197
|
identityJob: {
|
|
3120
3198
|
get: {
|
|
3121
3199
|
REQUEST: [function (payload) {
|
|
@@ -10243,6 +10321,45 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
10243
10321
|
}]
|
|
10244
10322
|
}
|
|
10245
10323
|
},
|
|
10324
|
+
lookupRelationshipSubType: {
|
|
10325
|
+
get: {
|
|
10326
|
+
REQUEST: [function (payload) {
|
|
10327
|
+
return payload;
|
|
10328
|
+
}, function () {
|
|
10329
|
+
return {
|
|
10330
|
+
reducerName: 'lookupRelationshipSubType'
|
|
10331
|
+
};
|
|
10332
|
+
}],
|
|
10333
|
+
RECEIVE: [function (payload) {
|
|
10334
|
+
return payload;
|
|
10335
|
+
}, function () {
|
|
10336
|
+
return {
|
|
10337
|
+
reducerName: 'lookupRelationshipSubType'
|
|
10338
|
+
};
|
|
10339
|
+
}],
|
|
10340
|
+
ERROR: [function (payload) {
|
|
10341
|
+
return payload;
|
|
10342
|
+
}, function () {
|
|
10343
|
+
return {
|
|
10344
|
+
reducerName: 'lookupRelationshipSubType'
|
|
10345
|
+
};
|
|
10346
|
+
}],
|
|
10347
|
+
CLEARDATA: [function (payload) {
|
|
10348
|
+
return payload;
|
|
10349
|
+
}, function () {
|
|
10350
|
+
return {
|
|
10351
|
+
reducerName: 'lookupRelationshipSubType'
|
|
10352
|
+
};
|
|
10353
|
+
}],
|
|
10354
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
10355
|
+
return payload;
|
|
10356
|
+
}, function () {
|
|
10357
|
+
return {
|
|
10358
|
+
reducerName: 'lookupRelationshipSubType'
|
|
10359
|
+
};
|
|
10360
|
+
}]
|
|
10361
|
+
}
|
|
10362
|
+
},
|
|
10246
10363
|
lookupContactMethod: {
|
|
10247
10364
|
get: {
|
|
10248
10365
|
REQUEST: [function (payload) {
|
|
@@ -12856,123 +12973,6 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
12856
12973
|
}]
|
|
12857
12974
|
}
|
|
12858
12975
|
},
|
|
12859
|
-
lookupImportType: {
|
|
12860
|
-
get: {
|
|
12861
|
-
REQUEST: [function (payload) {
|
|
12862
|
-
return payload;
|
|
12863
|
-
}, function () {
|
|
12864
|
-
return {
|
|
12865
|
-
reducerName: 'lookupImportType'
|
|
12866
|
-
};
|
|
12867
|
-
}],
|
|
12868
|
-
RECEIVE: [function (payload) {
|
|
12869
|
-
return payload;
|
|
12870
|
-
}, function () {
|
|
12871
|
-
return {
|
|
12872
|
-
reducerName: 'lookupImportType'
|
|
12873
|
-
};
|
|
12874
|
-
}],
|
|
12875
|
-
ERROR: [function (payload) {
|
|
12876
|
-
return payload;
|
|
12877
|
-
}, function () {
|
|
12878
|
-
return {
|
|
12879
|
-
reducerName: 'lookupImportType'
|
|
12880
|
-
};
|
|
12881
|
-
}],
|
|
12882
|
-
CLEARDATA: [function (payload) {
|
|
12883
|
-
return payload;
|
|
12884
|
-
}, function () {
|
|
12885
|
-
return {
|
|
12886
|
-
reducerName: 'lookupImportType'
|
|
12887
|
-
};
|
|
12888
|
-
}],
|
|
12889
|
-
UPDATEPARTIALENTITY: [function (payload) {
|
|
12890
|
-
return payload;
|
|
12891
|
-
}, function () {
|
|
12892
|
-
return {
|
|
12893
|
-
reducerName: 'lookupImportType'
|
|
12894
|
-
};
|
|
12895
|
-
}]
|
|
12896
|
-
}
|
|
12897
|
-
},
|
|
12898
|
-
lookupEventLogStatus: {
|
|
12899
|
-
get: {
|
|
12900
|
-
REQUEST: [function (payload) {
|
|
12901
|
-
return payload;
|
|
12902
|
-
}, function () {
|
|
12903
|
-
return {
|
|
12904
|
-
reducerName: 'lookupEventLogStatus'
|
|
12905
|
-
};
|
|
12906
|
-
}],
|
|
12907
|
-
RECEIVE: [function (payload) {
|
|
12908
|
-
return payload;
|
|
12909
|
-
}, function () {
|
|
12910
|
-
return {
|
|
12911
|
-
reducerName: 'lookupEventLogStatus'
|
|
12912
|
-
};
|
|
12913
|
-
}],
|
|
12914
|
-
ERROR: [function (payload) {
|
|
12915
|
-
return payload;
|
|
12916
|
-
}, function () {
|
|
12917
|
-
return {
|
|
12918
|
-
reducerName: 'lookupEventLogStatus'
|
|
12919
|
-
};
|
|
12920
|
-
}],
|
|
12921
|
-
CLEARDATA: [function (payload) {
|
|
12922
|
-
return payload;
|
|
12923
|
-
}, function () {
|
|
12924
|
-
return {
|
|
12925
|
-
reducerName: 'lookupEventLogStatus'
|
|
12926
|
-
};
|
|
12927
|
-
}],
|
|
12928
|
-
UPDATEPARTIALENTITY: [function (payload) {
|
|
12929
|
-
return payload;
|
|
12930
|
-
}, function () {
|
|
12931
|
-
return {
|
|
12932
|
-
reducerName: 'lookupEventLogStatus'
|
|
12933
|
-
};
|
|
12934
|
-
}]
|
|
12935
|
-
}
|
|
12936
|
-
},
|
|
12937
|
-
lookupCostAllocationFactor: {
|
|
12938
|
-
get: {
|
|
12939
|
-
REQUEST: [function (payload) {
|
|
12940
|
-
return payload;
|
|
12941
|
-
}, function () {
|
|
12942
|
-
return {
|
|
12943
|
-
reducerName: 'lookupCostAllocationFactor'
|
|
12944
|
-
};
|
|
12945
|
-
}],
|
|
12946
|
-
RECEIVE: [function (payload) {
|
|
12947
|
-
return payload;
|
|
12948
|
-
}, function () {
|
|
12949
|
-
return {
|
|
12950
|
-
reducerName: 'lookupCostAllocationFactor'
|
|
12951
|
-
};
|
|
12952
|
-
}],
|
|
12953
|
-
ERROR: [function (payload) {
|
|
12954
|
-
return payload;
|
|
12955
|
-
}, function () {
|
|
12956
|
-
return {
|
|
12957
|
-
reducerName: 'lookupCostAllocationFactor'
|
|
12958
|
-
};
|
|
12959
|
-
}],
|
|
12960
|
-
CLEARDATA: [function (payload) {
|
|
12961
|
-
return payload;
|
|
12962
|
-
}, function () {
|
|
12963
|
-
return {
|
|
12964
|
-
reducerName: 'lookupCostAllocationFactor'
|
|
12965
|
-
};
|
|
12966
|
-
}],
|
|
12967
|
-
UPDATEPARTIALENTITY: [function (payload) {
|
|
12968
|
-
return payload;
|
|
12969
|
-
}, function () {
|
|
12970
|
-
return {
|
|
12971
|
-
reducerName: 'lookupCostAllocationFactor'
|
|
12972
|
-
};
|
|
12973
|
-
}]
|
|
12974
|
-
}
|
|
12975
|
-
},
|
|
12976
12976
|
fetchAllLookups: {
|
|
12977
12977
|
REQUEST: [function (payload) {
|
|
12978
12978
|
return payload;
|
package/dist/hooks/index.js
CHANGED
|
@@ -234,6 +234,17 @@ Object.keys(_useFetcheventLogStatus).forEach(function (key) {
|
|
|
234
234
|
}
|
|
235
235
|
});
|
|
236
236
|
});
|
|
237
|
+
var _useFetchnewLoginEventLog = require("./useFetchnewLoginEventLog");
|
|
238
|
+
Object.keys(_useFetchnewLoginEventLog).forEach(function (key) {
|
|
239
|
+
if (key === "default" || key === "__esModule") return;
|
|
240
|
+
if (key in exports && exports[key] === _useFetchnewLoginEventLog[key]) return;
|
|
241
|
+
Object.defineProperty(exports, key, {
|
|
242
|
+
enumerable: true,
|
|
243
|
+
get: function get() {
|
|
244
|
+
return _useFetchnewLoginEventLog[key];
|
|
245
|
+
}
|
|
246
|
+
});
|
|
247
|
+
});
|
|
237
248
|
var _useFetchdemoExcelData = require("./useFetchdemoExcelData");
|
|
238
249
|
Object.keys(_useFetchdemoExcelData).forEach(function (key) {
|
|
239
250
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -410,6 +421,17 @@ Object.keys(_useFetchidentityDataConnector).forEach(function (key) {
|
|
|
410
421
|
}
|
|
411
422
|
});
|
|
412
423
|
});
|
|
424
|
+
var _useFetchallIdentityDataConnectors = require("./useFetchallIdentityDataConnectors");
|
|
425
|
+
Object.keys(_useFetchallIdentityDataConnectors).forEach(function (key) {
|
|
426
|
+
if (key === "default" || key === "__esModule") return;
|
|
427
|
+
if (key in exports && exports[key] === _useFetchallIdentityDataConnectors[key]) return;
|
|
428
|
+
Object.defineProperty(exports, key, {
|
|
429
|
+
enumerable: true,
|
|
430
|
+
get: function get() {
|
|
431
|
+
return _useFetchallIdentityDataConnectors[key];
|
|
432
|
+
}
|
|
433
|
+
});
|
|
434
|
+
});
|
|
413
435
|
var _useFetchidentityJob = require("./useFetchidentityJob");
|
|
414
436
|
Object.keys(_useFetchidentityJob).forEach(function (key) {
|
|
415
437
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -1554,6 +1576,17 @@ Object.keys(_useFetchlookupRelationshipType).forEach(function (key) {
|
|
|
1554
1576
|
}
|
|
1555
1577
|
});
|
|
1556
1578
|
});
|
|
1579
|
+
var _useFetchlookupRelationshipSubType = require("./useFetchlookupRelationshipSubType");
|
|
1580
|
+
Object.keys(_useFetchlookupRelationshipSubType).forEach(function (key) {
|
|
1581
|
+
if (key === "default" || key === "__esModule") return;
|
|
1582
|
+
if (key in exports && exports[key] === _useFetchlookupRelationshipSubType[key]) return;
|
|
1583
|
+
Object.defineProperty(exports, key, {
|
|
1584
|
+
enumerable: true,
|
|
1585
|
+
get: function get() {
|
|
1586
|
+
return _useFetchlookupRelationshipSubType[key];
|
|
1587
|
+
}
|
|
1588
|
+
});
|
|
1589
|
+
});
|
|
1557
1590
|
var _useFetchlookupContactMethod = require("./useFetchlookupContactMethod");
|
|
1558
1591
|
Object.keys(_useFetchlookupContactMethod).forEach(function (key) {
|
|
1559
1592
|
if (key === "default" || key === "__esModule") return;
|
|
@@ -2290,37 +2323,4 @@ Object.keys(_useFetchlookupSiteType).forEach(function (key) {
|
|
|
2290
2323
|
return _useFetchlookupSiteType[key];
|
|
2291
2324
|
}
|
|
2292
2325
|
});
|
|
2293
|
-
});
|
|
2294
|
-
var _useFetchlookupImportType = require("./useFetchlookupImportType");
|
|
2295
|
-
Object.keys(_useFetchlookupImportType).forEach(function (key) {
|
|
2296
|
-
if (key === "default" || key === "__esModule") return;
|
|
2297
|
-
if (key in exports && exports[key] === _useFetchlookupImportType[key]) return;
|
|
2298
|
-
Object.defineProperty(exports, key, {
|
|
2299
|
-
enumerable: true,
|
|
2300
|
-
get: function get() {
|
|
2301
|
-
return _useFetchlookupImportType[key];
|
|
2302
|
-
}
|
|
2303
|
-
});
|
|
2304
|
-
});
|
|
2305
|
-
var _useFetchlookupEventLogStatus = require("./useFetchlookupEventLogStatus");
|
|
2306
|
-
Object.keys(_useFetchlookupEventLogStatus).forEach(function (key) {
|
|
2307
|
-
if (key === "default" || key === "__esModule") return;
|
|
2308
|
-
if (key in exports && exports[key] === _useFetchlookupEventLogStatus[key]) return;
|
|
2309
|
-
Object.defineProperty(exports, key, {
|
|
2310
|
-
enumerable: true,
|
|
2311
|
-
get: function get() {
|
|
2312
|
-
return _useFetchlookupEventLogStatus[key];
|
|
2313
|
-
}
|
|
2314
|
-
});
|
|
2315
|
-
});
|
|
2316
|
-
var _useFetchlookupCostAllocationFactor = require("./useFetchlookupCostAllocationFactor");
|
|
2317
|
-
Object.keys(_useFetchlookupCostAllocationFactor).forEach(function (key) {
|
|
2318
|
-
if (key === "default" || key === "__esModule") return;
|
|
2319
|
-
if (key in exports && exports[key] === _useFetchlookupCostAllocationFactor[key]) return;
|
|
2320
|
-
Object.defineProperty(exports, key, {
|
|
2321
|
-
enumerable: true,
|
|
2322
|
-
get: function get() {
|
|
2323
|
-
return _useFetchlookupCostAllocationFactor[key];
|
|
2324
|
-
}
|
|
2325
|
-
});
|
|
2326
2326
|
});
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.useFetchAllIdentityDataConnectors = void 0;
|
|
7
7
|
var _react = require("react");
|
|
8
8
|
var _reactRedux = require("react-redux");
|
|
9
9
|
var _actions = require("../actions");
|
|
@@ -16,19 +16,19 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
16
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
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
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
|
|
19
|
+
var useFetchAllIdentityDataConnectors = exports.useFetchAllIdentityDataConnectors = function useFetchAllIdentityDataConnectors(props) {
|
|
20
20
|
// selectors
|
|
21
|
-
var data = (0, _reactRedux.useSelector)(VineaNovaSelectors.
|
|
21
|
+
var data = (0, _reactRedux.useSelector)(VineaNovaSelectors.getAllIdentityDataConnectorsEntityData);
|
|
22
22
|
var dispatchAPI = (0, _reactRedux.useDispatch)();
|
|
23
23
|
var _props$queryParams = props.queryParams,
|
|
24
24
|
queryParams = _props$queryParams === void 0 ? {} : _props$queryParams;
|
|
25
25
|
(0, _react.useEffect)(function () {
|
|
26
|
-
dispatchAPI(_actions.VineaNovaActions.api.v1.
|
|
26
|
+
dispatchAPI(_actions.VineaNovaActions.api.v1.allIdentityDataConnectors.get.request({
|
|
27
27
|
queryParams: _objectSpread({}, queryParams)
|
|
28
28
|
}));
|
|
29
29
|
}, []);
|
|
30
30
|
var useQuery = function useQuery(queryParams) {
|
|
31
|
-
dispatchAPI(_actions.VineaNovaActions.api.v1.
|
|
31
|
+
dispatchAPI(_actions.VineaNovaActions.api.v1.allIdentityDataConnectors.get.request({
|
|
32
32
|
queryParams: _objectSpread({}, queryParams)
|
|
33
33
|
}));
|
|
34
34
|
};
|
package/dist/hooks/{useFetchlookupCostAllocationFactor.js → useFetchlookupRelationshipSubType.js}
RENAMED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.useFetchlookupRelationshipSubType = void 0;
|
|
7
7
|
var _react = require("react");
|
|
8
8
|
var _reactRedux = require("react-redux");
|
|
9
9
|
var _actions = require("../actions");
|
|
@@ -16,19 +16,19 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
16
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
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
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
|
|
19
|
+
var useFetchlookupRelationshipSubType = exports.useFetchlookupRelationshipSubType = function useFetchlookupRelationshipSubType(props) {
|
|
20
20
|
// selectors
|
|
21
|
-
var data = (0, _reactRedux.useSelector)(VineaNovaSelectors.
|
|
21
|
+
var data = (0, _reactRedux.useSelector)(VineaNovaSelectors.getlookupRelationshipSubTypeEntityData);
|
|
22
22
|
var dispatchAPI = (0, _reactRedux.useDispatch)();
|
|
23
23
|
var _props$queryParams = props.queryParams,
|
|
24
24
|
queryParams = _props$queryParams === void 0 ? {} : _props$queryParams;
|
|
25
25
|
(0, _react.useEffect)(function () {
|
|
26
|
-
dispatchAPI(_actions.VineaNovaActions.api.v1.
|
|
26
|
+
dispatchAPI(_actions.VineaNovaActions.api.v1.lookupRelationshipSubType.get.request({
|
|
27
27
|
queryParams: _objectSpread({}, queryParams)
|
|
28
28
|
}));
|
|
29
29
|
}, []);
|
|
30
30
|
var useQuery = function useQuery(queryParams) {
|
|
31
|
-
dispatchAPI(_actions.VineaNovaActions.api.v1.
|
|
31
|
+
dispatchAPI(_actions.VineaNovaActions.api.v1.lookupRelationshipSubType.get.request({
|
|
32
32
|
queryParams: _objectSpread({}, queryParams)
|
|
33
33
|
}));
|
|
34
34
|
};
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, "__esModule", {
|
|
4
4
|
value: true
|
|
5
5
|
});
|
|
6
|
-
exports.
|
|
6
|
+
exports.useFetchNewLoginEventLog = void 0;
|
|
7
7
|
var _react = require("react");
|
|
8
8
|
var _reactRedux = require("react-redux");
|
|
9
9
|
var _actions = require("../actions");
|
|
@@ -16,19 +16,19 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
16
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
17
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
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
|
|
19
|
+
var useFetchNewLoginEventLog = exports.useFetchNewLoginEventLog = function useFetchNewLoginEventLog(props) {
|
|
20
20
|
// selectors
|
|
21
|
-
var data = (0, _reactRedux.useSelector)(VineaNovaSelectors.
|
|
21
|
+
var data = (0, _reactRedux.useSelector)(VineaNovaSelectors.getNewLoginEventLogEntityData);
|
|
22
22
|
var dispatchAPI = (0, _reactRedux.useDispatch)();
|
|
23
23
|
var _props$queryParams = props.queryParams,
|
|
24
24
|
queryParams = _props$queryParams === void 0 ? {} : _props$queryParams;
|
|
25
25
|
(0, _react.useEffect)(function () {
|
|
26
|
-
dispatchAPI(_actions.VineaNovaActions.api.v1.
|
|
26
|
+
dispatchAPI(_actions.VineaNovaActions.api.v1.newLoginEventLog.get.request({
|
|
27
27
|
queryParams: _objectSpread({}, queryParams)
|
|
28
28
|
}));
|
|
29
29
|
}, []);
|
|
30
30
|
var useQuery = function useQuery(queryParams) {
|
|
31
|
-
dispatchAPI(_actions.VineaNovaActions.api.v1.
|
|
31
|
+
dispatchAPI(_actions.VineaNovaActions.api.v1.newLoginEventLog.get.request({
|
|
32
32
|
queryParams: _objectSpread({}, queryParams)
|
|
33
33
|
}));
|
|
34
34
|
};
|
package/dist/reducers/index.js
CHANGED
|
@@ -30,6 +30,7 @@ var rootReducer = {
|
|
|
30
30
|
triggerSensorSummaryDataSync: (0, _createNamedReducer["default"])('triggerSensorSummaryDataSync'),
|
|
31
31
|
eventLog: (0, _createNamedReducer["default"])('eventLog'),
|
|
32
32
|
eventLogStatus: (0, _createNamedReducer["default"])('eventLogStatus'),
|
|
33
|
+
newLoginEventLog: (0, _createNamedReducer["default"])('newLoginEventLog'),
|
|
33
34
|
demoExcelData: (0, _createNamedReducer["default"])('demoExcelData'),
|
|
34
35
|
healthcheck: (0, _createNamedReducer["default"])('healthcheck'),
|
|
35
36
|
identity: (0, _createNamedReducer["default"])('identity'),
|
|
@@ -46,6 +47,7 @@ var rootReducer = {
|
|
|
46
47
|
identityContactMethodAddress: (0, _createNamedReducer["default"])('identityContactMethodAddress'),
|
|
47
48
|
identityCourse: (0, _createNamedReducer["default"])('identityCourse'),
|
|
48
49
|
identityDataConnector: (0, _createNamedReducer["default"])('identityDataConnector'),
|
|
50
|
+
allIdentityDataConnectors: (0, _createNamedReducer["default"])('allIdentityDataConnectors'),
|
|
49
51
|
identityJob: (0, _createNamedReducer["default"])('identityJob'),
|
|
50
52
|
jobRowSpecialAttributes: (0, _createNamedReducer["default"])('jobRowSpecialAttributes'),
|
|
51
53
|
identityNotes: (0, _createNamedReducer["default"])('identityNotes'),
|
|
@@ -150,6 +152,7 @@ var rootReducer = {
|
|
|
150
152
|
lookupBusinessUnit: (0, _createNamedReducer["default"])('lookupBusinessUnit'),
|
|
151
153
|
lookupReferenceTypeIdentityType: (0, _createNamedReducer["default"])('lookupReferenceTypeIdentityType'),
|
|
152
154
|
lookupRelationshipType: (0, _createNamedReducer["default"])('lookupRelationshipType'),
|
|
155
|
+
lookupRelationshipSubType: (0, _createNamedReducer["default"])('lookupRelationshipSubType'),
|
|
153
156
|
lookupContactMethod: (0, _createNamedReducer["default"])('lookupContactMethod'),
|
|
154
157
|
lookupGender: (0, _createNamedReducer["default"])('lookupGender'),
|
|
155
158
|
lookupNationality: (0, _createNamedReducer["default"])('lookupNationality'),
|
|
@@ -216,10 +219,7 @@ var rootReducer = {
|
|
|
216
219
|
lookupWorkRecordUnitType: (0, _createNamedReducer["default"])('lookupWorkRecordUnitType'),
|
|
217
220
|
lookupIdentityActivity: (0, _createNamedReducer["default"])('lookupIdentityActivity'),
|
|
218
221
|
lookupSystemData: (0, _createNamedReducer["default"])('lookupSystemData'),
|
|
219
|
-
lookupSiteType: (0, _createNamedReducer["default"])('lookupSiteType')
|
|
220
|
-
lookupImportType: (0, _createNamedReducer["default"])('lookupImportType'),
|
|
221
|
-
lookupEventLogStatus: (0, _createNamedReducer["default"])('lookupEventLogStatus'),
|
|
222
|
-
lookupCostAllocationFactor: (0, _createNamedReducer["default"])('lookupCostAllocationFactor')
|
|
222
|
+
lookupSiteType: (0, _createNamedReducer["default"])('lookupSiteType')
|
|
223
223
|
})
|
|
224
224
|
};
|
|
225
225
|
var _default = exports["default"] = rootReducer;
|