vineanova-redux-artifacts 1.53.0 → 1.56.0
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 +228 -0
- package/dist/reducers/index.js +4 -1
- package/dist/sagas/vineaNovaApi.sagas.js +1066 -714
- package/dist/selectors/identityAccommodationSelector.js +71 -0
- package/dist/selectors/index.js +39 -0
- package/dist/selectors/lookupStatusSelector.js +16 -4
- package/dist/selectors/lookupVehicleMakeSelector.js +71 -0
- package/dist/selectors/lookupVehicleTypeSelector.js +71 -0
- package/dist/services/apiServices.js +1268 -941
- package/package.json +1 -1
- package/src/actions/commonActions.js +48 -0
- package/src/reducers/index.js +3 -0
- package/src/sagas/vineaNovaApi.sagas.js +195 -0
- package/src/selectors/identityAccommodationSelector.js +64 -0
- package/src/selectors/index.js +3 -0
- package/src/selectors/lookupStatusSelector.js +18 -0
- package/src/selectors/lookupVehicleMakeSelector.js +64 -0
- package/src/selectors/lookupVehicleTypeSelector.js +64 -0
- package/src/services/apiServices.js +164 -0
package/CHANGELOG.md
CHANGED
|
@@ -1109,6 +1109,156 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
1109
1109
|
}]
|
|
1110
1110
|
}
|
|
1111
1111
|
},
|
|
1112
|
+
identityAccommodation: {
|
|
1113
|
+
post: {
|
|
1114
|
+
REQUEST: [function (payload) {
|
|
1115
|
+
return payload;
|
|
1116
|
+
}, function () {
|
|
1117
|
+
return {
|
|
1118
|
+
reducerName: 'identityAccommodation'
|
|
1119
|
+
};
|
|
1120
|
+
}],
|
|
1121
|
+
RECEIVE: [function (payload) {
|
|
1122
|
+
return payload;
|
|
1123
|
+
}, function () {
|
|
1124
|
+
return {
|
|
1125
|
+
reducerName: 'identityAccommodation'
|
|
1126
|
+
};
|
|
1127
|
+
}],
|
|
1128
|
+
ERROR: [function (payload) {
|
|
1129
|
+
return payload;
|
|
1130
|
+
}, function () {
|
|
1131
|
+
return {
|
|
1132
|
+
reducerName: 'identityAccommodation'
|
|
1133
|
+
};
|
|
1134
|
+
}],
|
|
1135
|
+
CLEARDATA: [function (payload) {
|
|
1136
|
+
return payload;
|
|
1137
|
+
}, function () {
|
|
1138
|
+
return {
|
|
1139
|
+
reducerName: 'identityAccommodation'
|
|
1140
|
+
};
|
|
1141
|
+
}],
|
|
1142
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
1143
|
+
return payload;
|
|
1144
|
+
}, function () {
|
|
1145
|
+
return {
|
|
1146
|
+
reducerName: 'identityAccommodation'
|
|
1147
|
+
};
|
|
1148
|
+
}]
|
|
1149
|
+
},
|
|
1150
|
+
put: {
|
|
1151
|
+
REQUEST: [function (payload) {
|
|
1152
|
+
return payload;
|
|
1153
|
+
}, function () {
|
|
1154
|
+
return {
|
|
1155
|
+
reducerName: 'identityAccommodation'
|
|
1156
|
+
};
|
|
1157
|
+
}],
|
|
1158
|
+
RECEIVE: [function (payload) {
|
|
1159
|
+
return payload;
|
|
1160
|
+
}, function () {
|
|
1161
|
+
return {
|
|
1162
|
+
reducerName: 'identityAccommodation'
|
|
1163
|
+
};
|
|
1164
|
+
}],
|
|
1165
|
+
ERROR: [function (payload) {
|
|
1166
|
+
return payload;
|
|
1167
|
+
}, function () {
|
|
1168
|
+
return {
|
|
1169
|
+
reducerName: 'identityAccommodation'
|
|
1170
|
+
};
|
|
1171
|
+
}],
|
|
1172
|
+
CLEARDATA: [function (payload) {
|
|
1173
|
+
return payload;
|
|
1174
|
+
}, function () {
|
|
1175
|
+
return {
|
|
1176
|
+
reducerName: 'identityAccommodation'
|
|
1177
|
+
};
|
|
1178
|
+
}],
|
|
1179
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
1180
|
+
return payload;
|
|
1181
|
+
}, function () {
|
|
1182
|
+
return {
|
|
1183
|
+
reducerName: 'identityAccommodation'
|
|
1184
|
+
};
|
|
1185
|
+
}]
|
|
1186
|
+
},
|
|
1187
|
+
get: {
|
|
1188
|
+
REQUEST: [function (payload) {
|
|
1189
|
+
return payload;
|
|
1190
|
+
}, function () {
|
|
1191
|
+
return {
|
|
1192
|
+
reducerName: 'identityAccommodation'
|
|
1193
|
+
};
|
|
1194
|
+
}],
|
|
1195
|
+
RECEIVE: [function (payload) {
|
|
1196
|
+
return payload;
|
|
1197
|
+
}, function () {
|
|
1198
|
+
return {
|
|
1199
|
+
reducerName: 'identityAccommodation'
|
|
1200
|
+
};
|
|
1201
|
+
}],
|
|
1202
|
+
ERROR: [function (payload) {
|
|
1203
|
+
return payload;
|
|
1204
|
+
}, function () {
|
|
1205
|
+
return {
|
|
1206
|
+
reducerName: 'identityAccommodation'
|
|
1207
|
+
};
|
|
1208
|
+
}],
|
|
1209
|
+
CLEARDATA: [function (payload) {
|
|
1210
|
+
return payload;
|
|
1211
|
+
}, function () {
|
|
1212
|
+
return {
|
|
1213
|
+
reducerName: 'identityAccommodation'
|
|
1214
|
+
};
|
|
1215
|
+
}],
|
|
1216
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
1217
|
+
return payload;
|
|
1218
|
+
}, function () {
|
|
1219
|
+
return {
|
|
1220
|
+
reducerName: 'identityAccommodation'
|
|
1221
|
+
};
|
|
1222
|
+
}]
|
|
1223
|
+
},
|
|
1224
|
+
"delete": {
|
|
1225
|
+
REQUEST: [function (payload) {
|
|
1226
|
+
return payload;
|
|
1227
|
+
}, function () {
|
|
1228
|
+
return {
|
|
1229
|
+
reducerName: 'identityAccommodation'
|
|
1230
|
+
};
|
|
1231
|
+
}],
|
|
1232
|
+
RECEIVE: [function (payload) {
|
|
1233
|
+
return payload;
|
|
1234
|
+
}, function () {
|
|
1235
|
+
return {
|
|
1236
|
+
reducerName: 'identityAccommodation'
|
|
1237
|
+
};
|
|
1238
|
+
}],
|
|
1239
|
+
ERROR: [function (payload) {
|
|
1240
|
+
return payload;
|
|
1241
|
+
}, function () {
|
|
1242
|
+
return {
|
|
1243
|
+
reducerName: 'identityAccommodation'
|
|
1244
|
+
};
|
|
1245
|
+
}],
|
|
1246
|
+
CLEARDATA: [function (payload) {
|
|
1247
|
+
return payload;
|
|
1248
|
+
}, function () {
|
|
1249
|
+
return {
|
|
1250
|
+
reducerName: 'identityAccommodation'
|
|
1251
|
+
};
|
|
1252
|
+
}],
|
|
1253
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
1254
|
+
return payload;
|
|
1255
|
+
}, function () {
|
|
1256
|
+
return {
|
|
1257
|
+
reducerName: 'identityAccommodation'
|
|
1258
|
+
};
|
|
1259
|
+
}]
|
|
1260
|
+
}
|
|
1261
|
+
},
|
|
1112
1262
|
identityClassification: {
|
|
1113
1263
|
get: {
|
|
1114
1264
|
REQUEST: [function (payload) {
|
|
@@ -6206,6 +6356,84 @@ var ducksActions = (0, _reduxActions.createActions)({
|
|
|
6206
6356
|
}]
|
|
6207
6357
|
}
|
|
6208
6358
|
},
|
|
6359
|
+
lookupVehicleType: {
|
|
6360
|
+
get: {
|
|
6361
|
+
REQUEST: [function (payload) {
|
|
6362
|
+
return payload;
|
|
6363
|
+
}, function () {
|
|
6364
|
+
return {
|
|
6365
|
+
reducerName: 'lookupVehicleType'
|
|
6366
|
+
};
|
|
6367
|
+
}],
|
|
6368
|
+
RECEIVE: [function (payload) {
|
|
6369
|
+
return payload;
|
|
6370
|
+
}, function () {
|
|
6371
|
+
return {
|
|
6372
|
+
reducerName: 'lookupVehicleType'
|
|
6373
|
+
};
|
|
6374
|
+
}],
|
|
6375
|
+
ERROR: [function (payload) {
|
|
6376
|
+
return payload;
|
|
6377
|
+
}, function () {
|
|
6378
|
+
return {
|
|
6379
|
+
reducerName: 'lookupVehicleType'
|
|
6380
|
+
};
|
|
6381
|
+
}],
|
|
6382
|
+
CLEARDATA: [function (payload) {
|
|
6383
|
+
return payload;
|
|
6384
|
+
}, function () {
|
|
6385
|
+
return {
|
|
6386
|
+
reducerName: 'lookupVehicleType'
|
|
6387
|
+
};
|
|
6388
|
+
}],
|
|
6389
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
6390
|
+
return payload;
|
|
6391
|
+
}, function () {
|
|
6392
|
+
return {
|
|
6393
|
+
reducerName: 'lookupVehicleType'
|
|
6394
|
+
};
|
|
6395
|
+
}]
|
|
6396
|
+
}
|
|
6397
|
+
},
|
|
6398
|
+
lookupVehicleMake: {
|
|
6399
|
+
get: {
|
|
6400
|
+
REQUEST: [function (payload) {
|
|
6401
|
+
return payload;
|
|
6402
|
+
}, function () {
|
|
6403
|
+
return {
|
|
6404
|
+
reducerName: 'lookupVehicleMake'
|
|
6405
|
+
};
|
|
6406
|
+
}],
|
|
6407
|
+
RECEIVE: [function (payload) {
|
|
6408
|
+
return payload;
|
|
6409
|
+
}, function () {
|
|
6410
|
+
return {
|
|
6411
|
+
reducerName: 'lookupVehicleMake'
|
|
6412
|
+
};
|
|
6413
|
+
}],
|
|
6414
|
+
ERROR: [function (payload) {
|
|
6415
|
+
return payload;
|
|
6416
|
+
}, function () {
|
|
6417
|
+
return {
|
|
6418
|
+
reducerName: 'lookupVehicleMake'
|
|
6419
|
+
};
|
|
6420
|
+
}],
|
|
6421
|
+
CLEARDATA: [function (payload) {
|
|
6422
|
+
return payload;
|
|
6423
|
+
}, function () {
|
|
6424
|
+
return {
|
|
6425
|
+
reducerName: 'lookupVehicleMake'
|
|
6426
|
+
};
|
|
6427
|
+
}],
|
|
6428
|
+
UPDATEPARTIALENTITY: [function (payload) {
|
|
6429
|
+
return payload;
|
|
6430
|
+
}, function () {
|
|
6431
|
+
return {
|
|
6432
|
+
reducerName: 'lookupVehicleMake'
|
|
6433
|
+
};
|
|
6434
|
+
}]
|
|
6435
|
+
}
|
|
6436
|
+
},
|
|
6209
6437
|
fetchAllLookups: {
|
|
6210
6438
|
REQUEST: [function (payload) {
|
|
6211
6439
|
return payload;
|
package/dist/reducers/index.js
CHANGED
|
@@ -26,6 +26,7 @@ var rootReducer = {
|
|
|
26
26
|
identity: (0, _createNamedReducer["default"])('identity'),
|
|
27
27
|
identityDetails: (0, _createNamedReducer["default"])('identityDetails'),
|
|
28
28
|
identityStatus: (0, _createNamedReducer["default"])('identityStatus'),
|
|
29
|
+
identityAccommodation: (0, _createNamedReducer["default"])('identityAccommodation'),
|
|
29
30
|
identityClassification: (0, _createNamedReducer["default"])('identityClassification'),
|
|
30
31
|
identityContactMethod: (0, _createNamedReducer["default"])('identityContactMethod'),
|
|
31
32
|
contactMethod: (0, _createNamedReducer["default"])('contactMethod'),
|
|
@@ -113,7 +114,9 @@ var rootReducer = {
|
|
|
113
114
|
lookupDocumentType: (0, _createNamedReducer["default"])('lookupDocumentType'),
|
|
114
115
|
lookupDocumentStatus: (0, _createNamedReducer["default"])('lookupDocumentStatus'),
|
|
115
116
|
lookupDashboardPageFilters: (0, _createNamedReducer["default"])('lookupDashboardPageFilters'),
|
|
116
|
-
lookupChartFilters: (0, _createNamedReducer["default"])('lookupChartFilters')
|
|
117
|
+
lookupChartFilters: (0, _createNamedReducer["default"])('lookupChartFilters'),
|
|
118
|
+
lookupVehicleType: (0, _createNamedReducer["default"])('lookupVehicleType'),
|
|
119
|
+
lookupVehicleMake: (0, _createNamedReducer["default"])('lookupVehicleMake')
|
|
117
120
|
})
|
|
118
121
|
};
|
|
119
122
|
var _default = rootReducer;
|