@lingk/sync 0.0.28 → 0.0.30
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/build/css/main.css +14 -1
- package/build/lightning.js +43 -8
- package/build/lightning.js.map +1 -1
- package/build/lingk.js.map +1 -1
- package/build/main.js +168 -526
- package/build/main.js.map +1 -1
- package/build/reducer.js.map +1 -1
- package/package.json +1 -1
package/build/main.js
CHANGED
|
@@ -111,9 +111,7 @@ module.exports =
|
|
|
111
111
|
iconAlign: 'right',
|
|
112
112
|
onClick: function onClick() {
|
|
113
113
|
props.handleSubmit();
|
|
114
|
-
setTimeout(
|
|
115
|
-
return props.reset();
|
|
116
|
-
}, 100);
|
|
114
|
+
//setTimeout(() => props.reset(), 100)
|
|
117
115
|
},
|
|
118
116
|
style: { float: 'right', marginRight: 14 }
|
|
119
117
|
},
|
|
@@ -221,6 +219,7 @@ module.exports =
|
|
|
221
219
|
exports.callGetTransformersAfterGeneration = callGetTransformersAfterGeneration;
|
|
222
220
|
exports.submitWizardData = submitWizardData;
|
|
223
221
|
exports.callExecuteTransformer = callExecuteTransformer;
|
|
222
|
+
exports.callGetPiConfig = callGetPiConfig;
|
|
224
223
|
exports.callGetWizardDataEntities = callGetWizardDataEntities;
|
|
225
224
|
exports.callGetWizardResourceMeta = callGetWizardResourceMeta;
|
|
226
225
|
exports.clearWizardResourceMeta = clearWizardResourceMeta;
|
|
@@ -452,11 +451,28 @@ module.exports =
|
|
|
452
451
|
};
|
|
453
452
|
}
|
|
454
453
|
|
|
455
|
-
function
|
|
454
|
+
function callGetPiConfig(tenantId, accountId, piGuid) {
|
|
456
455
|
return function (dispatch, getState, api) {
|
|
457
456
|
var _getState8 = getState(),
|
|
458
457
|
config = _getState8.config;
|
|
459
458
|
|
|
459
|
+
var TRANS_API_URL = config.TRANS_API_URL;
|
|
460
|
+
|
|
461
|
+
return api.get(tenantId + '/productizedintegrations', {
|
|
462
|
+
endpoint: TRANS_API_URL
|
|
463
|
+
}).then(function (data) {
|
|
464
|
+
console.log(data);
|
|
465
|
+
// get mapping
|
|
466
|
+
// get schemas
|
|
467
|
+
});
|
|
468
|
+
};
|
|
469
|
+
}
|
|
470
|
+
|
|
471
|
+
function callGetWizardDataEntities(hubId) {
|
|
472
|
+
return function (dispatch, getState, api) {
|
|
473
|
+
var _getState9 = getState(),
|
|
474
|
+
config = _getState9.config;
|
|
475
|
+
|
|
460
476
|
var API_URL = config.API_URL;
|
|
461
477
|
|
|
462
478
|
return api.get('apihubs/' + hubId, {
|
|
@@ -472,8 +488,8 @@ module.exports =
|
|
|
472
488
|
|
|
473
489
|
function callGetWizardResourceMeta(resourceId) {
|
|
474
490
|
return function (dispatch, getState, api) {
|
|
475
|
-
var
|
|
476
|
-
config =
|
|
491
|
+
var _getState10 = getState(),
|
|
492
|
+
config = _getState10.config;
|
|
477
493
|
|
|
478
494
|
var API_URL = config.API_URL;
|
|
479
495
|
|
|
@@ -937,7 +953,6 @@ module.exports =
|
|
|
937
953
|
'Website': true
|
|
938
954
|
},
|
|
939
955
|
'Contact': {
|
|
940
|
-
'Account ID': true,
|
|
941
956
|
'Alternate Email': true,
|
|
942
957
|
"Assistant Name": true,
|
|
943
958
|
"Assistant Phone": true,
|
|
@@ -978,7 +993,6 @@ module.exports =
|
|
|
978
993
|
'Jigsaw Contact ID': true,
|
|
979
994
|
'Last Activity': true,
|
|
980
995
|
'Last Modified By ID': true,
|
|
981
|
-
'Last Modified Date': true,
|
|
982
996
|
'Last Name': true,
|
|
983
997
|
'Last Referenced Date': true,
|
|
984
998
|
'Last Stay-in-Touch Request Date': true,
|
|
@@ -1051,7 +1065,7 @@ module.exports =
|
|
|
1051
1065
|
'System Modstamp': true
|
|
1052
1066
|
},
|
|
1053
1067
|
'Address': {
|
|
1054
|
-
'Address
|
|
1068
|
+
'Address': true,
|
|
1055
1069
|
'Address Type': true,
|
|
1056
1070
|
'Created By ID': true,
|
|
1057
1071
|
'Created Date': true,
|
|
@@ -1069,11 +1083,11 @@ module.exports =
|
|
|
1069
1083
|
'Mailing Address': true,
|
|
1070
1084
|
'Mailing City': true,
|
|
1071
1085
|
'Mailing Country': true,
|
|
1072
|
-
'Mailing State
|
|
1086
|
+
'Mailing State': true,
|
|
1073
1087
|
'Mailing Street': true,
|
|
1074
1088
|
'Mailing Street2': true,
|
|
1075
1089
|
'Mailing Street Address': true,
|
|
1076
|
-
'Mailing
|
|
1090
|
+
'Mailing Postal Code': true,
|
|
1077
1091
|
'Owner ID': true,
|
|
1078
1092
|
'Parent Account': true,
|
|
1079
1093
|
'Parent Contact': true,
|
|
@@ -1088,7 +1102,7 @@ module.exports =
|
|
|
1088
1102
|
},
|
|
1089
1103
|
'Course': {
|
|
1090
1104
|
'Course ID': true,
|
|
1091
|
-
'
|
|
1105
|
+
'Name': true,
|
|
1092
1106
|
'Created By ID': true,
|
|
1093
1107
|
'Created Date': true,
|
|
1094
1108
|
'Credit Hours': true,
|
|
@@ -1102,7 +1116,7 @@ module.exports =
|
|
|
1102
1116
|
'Record ID': true,
|
|
1103
1117
|
'System Modstamp': true
|
|
1104
1118
|
},
|
|
1105
|
-
'Course
|
|
1119
|
+
'Course Connection': {
|
|
1106
1120
|
'Affiliation': true,
|
|
1107
1121
|
'Contact': true,
|
|
1108
1122
|
"Contact Academic Program": true,
|
|
@@ -1118,7 +1132,7 @@ module.exports =
|
|
|
1118
1132
|
'Last Modified Date': true,
|
|
1119
1133
|
'Last Referenced Date': true,
|
|
1120
1134
|
'Last Viewed Date': true,
|
|
1121
|
-
'Owner
|
|
1135
|
+
'Owner': true,
|
|
1122
1136
|
'Primary': true,
|
|
1123
1137
|
'Program Enrollment ID': true,
|
|
1124
1138
|
'Record ID': true,
|
|
@@ -1213,58 +1227,29 @@ module.exports =
|
|
|
1213
1227
|
'Student.First Name': 'Contact.First Name',
|
|
1214
1228
|
'Student.Last Name': 'Contact.Last Name',
|
|
1215
1229
|
'Student.Gender': 'Contact.Gender',
|
|
1216
|
-
'Student.External Id': 'Contact.Account ID',
|
|
1217
1230
|
'Student.Birthdate': 'Contact.Birthdate',
|
|
1218
|
-
'Student.Hispanic Latino Ethnicity': 'Contact.Ethnicity',
|
|
1219
|
-
'Student.Last Modified': 'Contact.Last Modified Date',
|
|
1220
1231
|
'Student Telephone.Telephone Number': 'Contact.Preferred Phone',
|
|
1221
|
-
'Student Email.Email Address': 'Contact.
|
|
1222
|
-
'Student Address.Student External Id': 'Address.Owner
|
|
1223
|
-
'Student Address.Address Type': 'Address.Primary Address Type',
|
|
1224
|
-
'Student Address.Street Number And Name': 'Address.Mailing Address',
|
|
1232
|
+
'Student Email.Email Address': 'Contact.Email',
|
|
1233
|
+
'Student Address.Student External Id': 'Address.Owner',
|
|
1225
1234
|
'Student Address.City': 'Address.Mailing City',
|
|
1226
|
-
'Student Address.State': 'Address.Mailing State
|
|
1227
|
-
'Student Address.Postal Code': 'Address.Mailing
|
|
1235
|
+
'Student Address.State': 'Address.Mailing State',
|
|
1236
|
+
'Student Address.Postal Code': 'Address.Mailing Postal Code',
|
|
1228
1237
|
'Student Address.County': 'Address.Mailing Country',
|
|
1229
|
-
'Student Address.Latitude': 'Address.Mailing Latitude',
|
|
1230
|
-
'Student Address.Longitude': 'Address.Mailing Longitude',
|
|
1231
1238
|
'Staff.First Name': 'Contact.First Name',
|
|
1232
1239
|
'Staff.Last Name': 'Contact.Last Name',
|
|
1233
1240
|
'Staff.Gender': 'Contact.Gender',
|
|
1234
|
-
'Staff.External Id': 'Contact.Account ID',
|
|
1235
1241
|
'Staff.Birthdate': 'Contact.Birthdate',
|
|
1236
|
-
'Staff.Hispanic Latino Ethnicity': 'Contact.Ethnicity',
|
|
1237
|
-
'Staff.Last Modified': 'Contact.Last Modified Date',
|
|
1238
1242
|
'Staff Telephone.Telephone Number': 'Contact.Preferred Phone',
|
|
1239
|
-
'Staff Email.Email Address': 'Contact.
|
|
1240
|
-
'Staff Address.Staff External Id': 'Address.Owner
|
|
1241
|
-
'Staff Address.Address Type': 'Address.Primary Address Type',
|
|
1242
|
-
'Staff Address.Street Number And Name': 'Address.Mailing Address',
|
|
1243
|
+
'Staff Email.Email Address': 'Contact.Email',
|
|
1244
|
+
'Staff Address.Staff External Id': 'Address.Owner',
|
|
1243
1245
|
'Staff Address.City': 'Address.Mailing City',
|
|
1244
|
-
'Staff Address.State': 'Address.Mailing State
|
|
1245
|
-
'Staff Address.Postal Code': 'Address.Mailing
|
|
1246
|
+
'Staff Address.State': 'Address.Mailing State',
|
|
1247
|
+
'Staff Address.Postal Code': 'Address.Mailing Postal Code',
|
|
1246
1248
|
'Staff Address.County': 'Address.Mailing Country',
|
|
1247
|
-
'
|
|
1248
|
-
'Staff Address.Longitude': 'Address.Mailing Longitude',
|
|
1249
|
-
'Calendar Session.Designator': 'Term.Term Name',
|
|
1250
|
-
'Calendar Session.Begin Date': 'Term.Start Date',
|
|
1251
|
-
'Calendar Session.End Date': 'Term.End Date',
|
|
1252
|
-
'Calendar Session.Last Modified': 'Term.Last Modified Date',
|
|
1253
|
-
'Calendar Session.External Id': 'Term.Record ID',
|
|
1254
|
-
'Course.External Id': 'Course.Course ID',
|
|
1255
|
-
'Course.Course Title': 'Course.Course Name',
|
|
1249
|
+
'Course.Course Title': 'Course.Name',
|
|
1256
1250
|
'Course.Description': 'Course.Description',
|
|
1257
|
-
'
|
|
1258
|
-
'
|
|
1259
|
-
'Course.Last Modified': 'Course.Last Modified Date',
|
|
1260
|
-
'Course Section.Last Modified': 'Course Offering.Last Modified Date',
|
|
1261
|
-
'Course Section.External Id': 'Course Offering.Section ID',
|
|
1262
|
-
'Course Section.Course External Id': 'Course Offering.Course Offering ID',
|
|
1263
|
-
'Course Section Schedule.Course Section External ID': 'Course Offering.Section ID',
|
|
1264
|
-
'Student Section.Student External Id': 'Course Enrollment.Owner ID',
|
|
1265
|
-
'Student Section.Number Of Credits Earned': 'Course Enrollment.Credits Earned',
|
|
1266
|
-
'Student Section.Academic Grade': 'Course Enrollment.Grade',
|
|
1267
|
-
'Student Section.Last Modified': 'Course Enrollment.Last Modified Date'
|
|
1251
|
+
'Student Section.Student External Id': 'Course Connection.Owner',
|
|
1252
|
+
'Student Section.Academic Grade': 'Course Connection.Grade'
|
|
1268
1253
|
},
|
|
1269
1254
|
dummyData: {
|
|
1270
1255
|
'Student.First Name': 'Carlos',
|
|
@@ -1323,460 +1308,6 @@ module.exports =
|
|
|
1323
1308
|
'Student Section.Academic Grade': 'B',
|
|
1324
1309
|
'Student Section.Last Modified': '2017-1-10'
|
|
1325
1310
|
}
|
|
1326
|
-
},
|
|
1327
|
-
6: { // REST API to REST API
|
|
1328
|
-
title: 'REST API to REST API',
|
|
1329
|
-
sourceProvider: 'REST',
|
|
1330
|
-
sourceProviderType: 'API',
|
|
1331
|
-
destinationProvider: 'REST',
|
|
1332
|
-
destinationProviderType: 'API',
|
|
1333
|
-
deployment: ['once', 'scheduled']
|
|
1334
|
-
},
|
|
1335
|
-
5: { // Banner to Course Enrollment
|
|
1336
|
-
title: 'Banner to Course Enrollment',
|
|
1337
|
-
sourceProvider: 'Banner',
|
|
1338
|
-
sourceProviderType: 'Banner',
|
|
1339
|
-
destinationProvider: 'Course Enrollment Feed',
|
|
1340
|
-
destinationProviderType: 'FTP',
|
|
1341
|
-
deployment: ['once', 'API', 'scheduled'],
|
|
1342
|
-
customStep: {
|
|
1343
|
-
type: 'bannerAdapter',
|
|
1344
|
-
title: 'Banner Adapter'
|
|
1345
|
-
},
|
|
1346
|
-
sourceDefaultSchema: {
|
|
1347
|
-
'Calendar Session': {
|
|
1348
|
-
ExternalId: true,
|
|
1349
|
-
Designator: true,
|
|
1350
|
-
BeginDate: true,
|
|
1351
|
-
EndDate: true,
|
|
1352
|
-
BNEDTerm: true,
|
|
1353
|
-
Active: true
|
|
1354
|
-
},
|
|
1355
|
-
'Course': {
|
|
1356
|
-
ExternalId: true,
|
|
1357
|
-
CourseNumber: true,
|
|
1358
|
-
CourseTitle: true,
|
|
1359
|
-
SubjectAbbreviation: true
|
|
1360
|
-
},
|
|
1361
|
-
'Course Section': {
|
|
1362
|
-
ExternalId: true,
|
|
1363
|
-
CourseExternalId: true,
|
|
1364
|
-
CourseSectionNumber: true,
|
|
1365
|
-
InstructionSiteName: true,
|
|
1366
|
-
InstructionSiteType: true,
|
|
1367
|
-
CourseEndDate: true,
|
|
1368
|
-
CalendarSessionExternalId: true,
|
|
1369
|
-
Capacity: true,
|
|
1370
|
-
CurrentEnrollment: true,
|
|
1371
|
-
CourseFeeIncluded: true
|
|
1372
|
-
},
|
|
1373
|
-
'Student': {
|
|
1374
|
-
ExternalId: true,
|
|
1375
|
-
FirstName: true,
|
|
1376
|
-
LastName: true,
|
|
1377
|
-
AidAmount: true,
|
|
1378
|
-
AidProviderCode: true,
|
|
1379
|
-
AidBeginDate: true,
|
|
1380
|
-
AidEndDate: true,
|
|
1381
|
-
AidIDType: true,
|
|
1382
|
-
AidAccountType: true
|
|
1383
|
-
},
|
|
1384
|
-
'Student Section': {
|
|
1385
|
-
CourseSectionExternalId: true,
|
|
1386
|
-
StudentExternalId: true,
|
|
1387
|
-
CourseAddDate: true,
|
|
1388
|
-
CourseDropDate: true,
|
|
1389
|
-
Dropped: true,
|
|
1390
|
-
Role: true
|
|
1391
|
-
},
|
|
1392
|
-
'Student Email': {
|
|
1393
|
-
ExternalId: true,
|
|
1394
|
-
EmailAddress: true,
|
|
1395
|
-
EmailAddressType: true,
|
|
1396
|
-
IsPrimary: true
|
|
1397
|
-
},
|
|
1398
|
-
'Staff': {
|
|
1399
|
-
ExternalId: true,
|
|
1400
|
-
FirstName: true,
|
|
1401
|
-
MiddleName: true,
|
|
1402
|
-
LastName: true
|
|
1403
|
-
},
|
|
1404
|
-
'Section Instructor': {
|
|
1405
|
-
CourseSectionExternalId: true,
|
|
1406
|
-
StaffExternalId: true
|
|
1407
|
-
}
|
|
1408
|
-
},
|
|
1409
|
-
destinationDefaultSchema: {
|
|
1410
|
-
'Course Enrollment': {
|
|
1411
|
-
'BNED Store Number / Unit': true,
|
|
1412
|
-
'BNED Term Year': true,
|
|
1413
|
-
'BNED Term Code': true,
|
|
1414
|
-
'College Department': true,
|
|
1415
|
-
'College Course': true,
|
|
1416
|
-
'College Section': true,
|
|
1417
|
-
'Professor Name': true,
|
|
1418
|
-
'Maximum Capacity': true,
|
|
1419
|
-
'Estimated Enrollment': true,
|
|
1420
|
-
'Actual Enrollment': true,
|
|
1421
|
-
'Continuation Class': true,
|
|
1422
|
-
'Evening Class': true,
|
|
1423
|
-
'Extension Class': true,
|
|
1424
|
-
'Location (Campus)': true,
|
|
1425
|
-
'Course Title': true,
|
|
1426
|
-
'Alternate Course ID (CRN)': true
|
|
1427
|
-
}
|
|
1428
|
-
},
|
|
1429
|
-
autoMapData: {
|
|
1430
|
-
'Course Section.InstructionSiteName': 'Course Enrollment.Location (Campus)',
|
|
1431
|
-
'Course.SubjectAbbreviation': 'Course Enrollment.College Department',
|
|
1432
|
-
'Course.ExternalId': 'Course Enrollment.College Course',
|
|
1433
|
-
'Course Section.ExternalId': 'Course Enrollment.College Section',
|
|
1434
|
-
'Staff.LastName': 'Course Enrollment.Professor Name',
|
|
1435
|
-
'Staff.FirstName': 'Course Enrollment.Professor Name',
|
|
1436
|
-
'Course.CourseTitle': 'Course Enrollment.Course Title',
|
|
1437
|
-
'Course Section.Capacity': 'Course Enrollment.Maximum Capacity',
|
|
1438
|
-
'Course Section.CurrentEnrollment': 'Course Enrollment.Actual Enrollment',
|
|
1439
|
-
'Calendar Session.BNEDTerm': 'Course Enrollment.BNED Term Code'
|
|
1440
|
-
},
|
|
1441
|
-
dummyData: {
|
|
1442
|
-
'Course Section.InstructionSiteName': 'Qianshan',
|
|
1443
|
-
'Course.SubjectAbbreviation': 'ASTR',
|
|
1444
|
-
'Course.ExternalId': '786202168-1',
|
|
1445
|
-
'Course Section.ExternalId': '254143083-3',
|
|
1446
|
-
'Staff.LastName': 'Mitchell',
|
|
1447
|
-
'Staff.FirstName': 'Sharon',
|
|
1448
|
-
'Course.CourseTitle': 'Physics',
|
|
1449
|
-
'Course Section.Capacity': '65',
|
|
1450
|
-
'Course Section.CurrentEnrollment': '60',
|
|
1451
|
-
'Calendar Session.BNEDTerm': 'W'
|
|
1452
|
-
}
|
|
1453
|
-
},
|
|
1454
|
-
2: { // Banner to Managed SFA
|
|
1455
|
-
title: 'Banner to Managed SFA',
|
|
1456
|
-
sourceProvider: 'Banner',
|
|
1457
|
-
sourceProviderType: 'Banner',
|
|
1458
|
-
destinationProvider: 'Managed SFA',
|
|
1459
|
-
destinationProviderType: 'FTP',
|
|
1460
|
-
deployment: ['once', 'API', 'scheduled'],
|
|
1461
|
-
customStep: {
|
|
1462
|
-
type: 'bannerAdapter',
|
|
1463
|
-
title: 'Banner Adapter'
|
|
1464
|
-
},
|
|
1465
|
-
sourceDefaultSchema: {
|
|
1466
|
-
'Calendar Session': {
|
|
1467
|
-
ExternalId: true,
|
|
1468
|
-
Designator: true,
|
|
1469
|
-
BeginDate: true,
|
|
1470
|
-
EndDate: true,
|
|
1471
|
-
BNEDTerm: true,
|
|
1472
|
-
Active: true
|
|
1473
|
-
},
|
|
1474
|
-
'Course': {
|
|
1475
|
-
ExternalId: true,
|
|
1476
|
-
CourseNumber: true,
|
|
1477
|
-
CourseTitle: true,
|
|
1478
|
-
SubjectAbbreviation: true
|
|
1479
|
-
},
|
|
1480
|
-
'Course Section': {
|
|
1481
|
-
ExternalId: true,
|
|
1482
|
-
CourseExternalId: true,
|
|
1483
|
-
CourseSectionNumber: true,
|
|
1484
|
-
InstructionSiteName: true,
|
|
1485
|
-
InstructionSiteType: true,
|
|
1486
|
-
CourseEndDate: true,
|
|
1487
|
-
CalendarSessionExternalId: true,
|
|
1488
|
-
Capacity: true,
|
|
1489
|
-
CurrentEnrollment: true,
|
|
1490
|
-
CourseFeeIncluded: true
|
|
1491
|
-
},
|
|
1492
|
-
'Student': {
|
|
1493
|
-
ExternalId: true,
|
|
1494
|
-
FirstName: true,
|
|
1495
|
-
LastName: true,
|
|
1496
|
-
AidAmount: true,
|
|
1497
|
-
AidProviderCode: true,
|
|
1498
|
-
AidBeginDate: true,
|
|
1499
|
-
AidEndDate: true,
|
|
1500
|
-
AidIDType: true,
|
|
1501
|
-
AidAccountType: true
|
|
1502
|
-
},
|
|
1503
|
-
'Student Section': {
|
|
1504
|
-
CourseSectionExternalId: true,
|
|
1505
|
-
StudentExternalId: true,
|
|
1506
|
-
CourseAddDate: true,
|
|
1507
|
-
CourseDropDate: true,
|
|
1508
|
-
Dropped: true,
|
|
1509
|
-
Role: true
|
|
1510
|
-
},
|
|
1511
|
-
'Student Email': {
|
|
1512
|
-
ExternalId: true,
|
|
1513
|
-
EmailAddress: true,
|
|
1514
|
-
EmailAddressType: true,
|
|
1515
|
-
IsPrimary: true
|
|
1516
|
-
},
|
|
1517
|
-
'Staff': {
|
|
1518
|
-
ExternalId: true,
|
|
1519
|
-
FirstName: true,
|
|
1520
|
-
MiddleName: true,
|
|
1521
|
-
LastName: true
|
|
1522
|
-
},
|
|
1523
|
-
'Section Instructor': {
|
|
1524
|
-
CourseSectionExternalId: true,
|
|
1525
|
-
StaffExternalId: true
|
|
1526
|
-
}
|
|
1527
|
-
},
|
|
1528
|
-
destinationDefaultSchema: {
|
|
1529
|
-
'Managed SFA': {
|
|
1530
|
-
'BNED Store Number / ID': true,
|
|
1531
|
-
'BNED Term Year': true,
|
|
1532
|
-
'BNED Term Code': true,
|
|
1533
|
-
'Student ID': true,
|
|
1534
|
-
'First Name': true,
|
|
1535
|
-
'Middle Initial': true,
|
|
1536
|
-
'Last Name': true,
|
|
1537
|
-
'Aid Provider Code': true,
|
|
1538
|
-
'Aid Provider Amount Available': true,
|
|
1539
|
-
'Aid Provider Begin Date': true,
|
|
1540
|
-
'Aid Provider End Date': true,
|
|
1541
|
-
'Record Type': true,
|
|
1542
|
-
'Student ID Type': true,
|
|
1543
|
-
'Account Type': true
|
|
1544
|
-
}
|
|
1545
|
-
},
|
|
1546
|
-
autoMapData: {
|
|
1547
|
-
'Student.AidIDType': 'Managed SFA.Record Type',
|
|
1548
|
-
'Student.AidAccountType': 'Managed SFA.Account Type',
|
|
1549
|
-
'Student.LastName': 'Managed SFA.Last Name',
|
|
1550
|
-
'Student.FirstName': 'Managed SFA.First Name',
|
|
1551
|
-
'Student.AidEndDate': 'Managed SFA.Aid Provider End Date',
|
|
1552
|
-
'Student.AidBeginDate': 'Managed SFA.Aid Provider Begin Date',
|
|
1553
|
-
'Student.AidAmount': 'Managed SFA.Aid Provider Amount Available',
|
|
1554
|
-
'Student.AidProviderCode': 'Managed SFA.Aid Provider Code',
|
|
1555
|
-
'Student.ExternalId': 'Managed SFA.Student ID',
|
|
1556
|
-
'Calendar Session.BNEDTerm': 'Managed SFA.BNED Term Code'
|
|
1557
|
-
},
|
|
1558
|
-
dummyData: {
|
|
1559
|
-
'Student.AidIDType': 'S',
|
|
1560
|
-
'Student.AidAccountType': 'D',
|
|
1561
|
-
'Student.LastName': 'Robertson',
|
|
1562
|
-
'Student.FirstName': 'Carlos',
|
|
1563
|
-
'Student.AidEndDate': '2017-02-23',
|
|
1564
|
-
'Student.AidBeginDate': '2016-10-12',
|
|
1565
|
-
'Student.AidAmount': '50000',
|
|
1566
|
-
'Student.AidProviderCode': '54636',
|
|
1567
|
-
'Student.ExternalId': 'ee106749-8b53-445e-8bc9-1babc72372ff',
|
|
1568
|
-
'Calendar Session.BNEDTerm': 'W'
|
|
1569
|
-
}
|
|
1570
|
-
},
|
|
1571
|
-
3: { // Banner to Course Fee API
|
|
1572
|
-
title: 'Banner to Course Fee API',
|
|
1573
|
-
sourceProvider: 'Banner',
|
|
1574
|
-
sourceProviderType: 'Banner',
|
|
1575
|
-
destinationProvider: 'Course Fee API',
|
|
1576
|
-
destinationProviderType: 'API',
|
|
1577
|
-
deployment: ['once', 'API', 'scheduled'],
|
|
1578
|
-
customStep: {
|
|
1579
|
-
type: 'bannerAdapter',
|
|
1580
|
-
title: 'Banner Adapter'
|
|
1581
|
-
},
|
|
1582
|
-
sourceDefaultSchema: {
|
|
1583
|
-
'Calendar Session': {
|
|
1584
|
-
ExternalId: true,
|
|
1585
|
-
Designator: true,
|
|
1586
|
-
BeginDate: true,
|
|
1587
|
-
EndDate: true,
|
|
1588
|
-
BNEDTerm: true,
|
|
1589
|
-
Active: true
|
|
1590
|
-
},
|
|
1591
|
-
'Course': {
|
|
1592
|
-
ExternalId: true,
|
|
1593
|
-
CourseNumber: true,
|
|
1594
|
-
CourseTitle: true,
|
|
1595
|
-
SubjectAbbreviation: true
|
|
1596
|
-
},
|
|
1597
|
-
'Course Section': {
|
|
1598
|
-
ExternalId: true,
|
|
1599
|
-
CourseExternalId: true,
|
|
1600
|
-
CourseSectionNumber: true,
|
|
1601
|
-
InstructionSiteName: true,
|
|
1602
|
-
InstructionSiteType: true,
|
|
1603
|
-
CourseEndDate: true,
|
|
1604
|
-
CalendarSessionExternalId: true,
|
|
1605
|
-
Capacity: true,
|
|
1606
|
-
CurrentEnrollment: true,
|
|
1607
|
-
CourseFeeIncluded: true
|
|
1608
|
-
},
|
|
1609
|
-
'Student': {
|
|
1610
|
-
ExternalId: true,
|
|
1611
|
-
FirstName: true,
|
|
1612
|
-
LastName: true,
|
|
1613
|
-
AidAmount: true,
|
|
1614
|
-
AidProviderCode: true,
|
|
1615
|
-
AidBeginDate: true,
|
|
1616
|
-
AidEndDate: true,
|
|
1617
|
-
AidIDType: true,
|
|
1618
|
-
AidAccountType: true
|
|
1619
|
-
},
|
|
1620
|
-
'Student Section': {
|
|
1621
|
-
CourseSectionExternalId: true,
|
|
1622
|
-
StudentExternalId: true,
|
|
1623
|
-
CourseAddDate: true,
|
|
1624
|
-
CourseDropDate: true,
|
|
1625
|
-
Dropped: true,
|
|
1626
|
-
Role: true
|
|
1627
|
-
},
|
|
1628
|
-
'Student Email': {
|
|
1629
|
-
ExternalId: true,
|
|
1630
|
-
EmailAddress: true,
|
|
1631
|
-
EmailAddressType: true,
|
|
1632
|
-
IsPrimary: true
|
|
1633
|
-
},
|
|
1634
|
-
'Staff': {
|
|
1635
|
-
ExternalId: true,
|
|
1636
|
-
FirstName: true,
|
|
1637
|
-
MiddleName: true,
|
|
1638
|
-
LastName: true
|
|
1639
|
-
},
|
|
1640
|
-
'Section Instructor': {
|
|
1641
|
-
CourseSectionExternalId: true,
|
|
1642
|
-
StaffExternalId: true
|
|
1643
|
-
}
|
|
1644
|
-
},
|
|
1645
|
-
destinationDefaultSchema: {
|
|
1646
|
-
'Course Fee': {
|
|
1647
|
-
'BNED Store Number / ID': true,
|
|
1648
|
-
'BNED Term Year / Term Code': true,
|
|
1649
|
-
'College Department': true,
|
|
1650
|
-
'College Course': true,
|
|
1651
|
-
'College Section': true,
|
|
1652
|
-
'Role': true,
|
|
1653
|
-
'Student Email Address': true
|
|
1654
|
-
}
|
|
1655
|
-
},
|
|
1656
|
-
autoMapData: {
|
|
1657
|
-
'Course.SubjectAbbreviation': 'Course Fee.College Department',
|
|
1658
|
-
'Course.ExternalId': 'Course Fee.College Course',
|
|
1659
|
-
'Course Section.ExternalId': 'Course Fee.College Section',
|
|
1660
|
-
'Student Section.Role': 'Course Fee.Role',
|
|
1661
|
-
'Student Email.EmailAddress': 'Course Fee.Student Email Address',
|
|
1662
|
-
'Calendar Session.BNEDTerm': 'Course Fee.BNED Term Year / Term Code'
|
|
1663
|
-
},
|
|
1664
|
-
dummyData: {
|
|
1665
|
-
'Course.SubjectAbbreviation': 'ITAL',
|
|
1666
|
-
'Course.ExternalId': '361542699-1',
|
|
1667
|
-
'Course Section.ExternalId': '026743570-3',
|
|
1668
|
-
'Student Section.Role': 'Student',
|
|
1669
|
-
'Student Email.EmailAddress': 'spatterson0@tripod.edu',
|
|
1670
|
-
'Calendar Session.BNEDTerm': 'W'
|
|
1671
|
-
}
|
|
1672
|
-
},
|
|
1673
|
-
4: { // Banner to SFA Balance Inquiry
|
|
1674
|
-
title: 'Banner to SFA Balance Inquiry',
|
|
1675
|
-
sourceProvider: 'Banner',
|
|
1676
|
-
sourceProviderType: 'Banner',
|
|
1677
|
-
destinationProvider: 'SFA Balance Inquiry',
|
|
1678
|
-
destinationProviderType: 'API',
|
|
1679
|
-
deployment: ['once', 'API', 'scheduled'],
|
|
1680
|
-
customStep: {
|
|
1681
|
-
type: 'bannerAdapter',
|
|
1682
|
-
title: 'Banner Adapter'
|
|
1683
|
-
},
|
|
1684
|
-
sourceDefaultSchema: {
|
|
1685
|
-
'Calendar Session': {
|
|
1686
|
-
ExternalId: true,
|
|
1687
|
-
Designator: true,
|
|
1688
|
-
BeginDate: true,
|
|
1689
|
-
EndDate: true,
|
|
1690
|
-
BNEDTerm: true,
|
|
1691
|
-
Active: true
|
|
1692
|
-
},
|
|
1693
|
-
'Course': {
|
|
1694
|
-
ExternalId: true,
|
|
1695
|
-
CourseNumber: true,
|
|
1696
|
-
CourseTitle: true,
|
|
1697
|
-
SubjectAbbreviation: true
|
|
1698
|
-
},
|
|
1699
|
-
'Course Section': {
|
|
1700
|
-
ExternalId: true,
|
|
1701
|
-
CourseExternalId: true,
|
|
1702
|
-
CourseSectionNumber: true,
|
|
1703
|
-
InstructionSiteName: true,
|
|
1704
|
-
InstructionSiteType: true,
|
|
1705
|
-
CourseEndDate: true,
|
|
1706
|
-
CalendarSessionExternalId: true,
|
|
1707
|
-
Capacity: true,
|
|
1708
|
-
CurrentEnrollment: true,
|
|
1709
|
-
CourseFeeIncluded: true
|
|
1710
|
-
},
|
|
1711
|
-
'Student': {
|
|
1712
|
-
ExternalId: true,
|
|
1713
|
-
FirstName: true,
|
|
1714
|
-
LastName: true,
|
|
1715
|
-
AidAmount: true,
|
|
1716
|
-
AidProviderCode: true,
|
|
1717
|
-
AidBeginDate: true,
|
|
1718
|
-
AidEndDate: true,
|
|
1719
|
-
AidIDType: true,
|
|
1720
|
-
AidAccountType: true
|
|
1721
|
-
},
|
|
1722
|
-
'Student Section': {
|
|
1723
|
-
CourseSectionExternalId: true,
|
|
1724
|
-
StudentExternalId: true,
|
|
1725
|
-
CourseAddDate: true,
|
|
1726
|
-
CourseDropDate: true,
|
|
1727
|
-
Dropped: true,
|
|
1728
|
-
Role: true
|
|
1729
|
-
},
|
|
1730
|
-
'Student Email': {
|
|
1731
|
-
ExternalId: true,
|
|
1732
|
-
EmailAddress: true,
|
|
1733
|
-
EmailAddressType: true,
|
|
1734
|
-
IsPrimary: true
|
|
1735
|
-
},
|
|
1736
|
-
'Staff': {
|
|
1737
|
-
ExternalId: true,
|
|
1738
|
-
FirstName: true,
|
|
1739
|
-
MiddleName: true,
|
|
1740
|
-
LastName: true
|
|
1741
|
-
},
|
|
1742
|
-
'Section Instructor': {
|
|
1743
|
-
CourseSectionExternalId: true,
|
|
1744
|
-
StaffExternalId: true
|
|
1745
|
-
}
|
|
1746
|
-
},
|
|
1747
|
-
destinationDefaultSchema: {
|
|
1748
|
-
'Balance Inquiry': {
|
|
1749
|
-
'Student Financial Aid Balance': true,
|
|
1750
|
-
'Student ID': true,
|
|
1751
|
-
'Aid Provider Code': true,
|
|
1752
|
-
'Aid Provider Amount Available': true,
|
|
1753
|
-
'Aid Provider Begin Date': true,
|
|
1754
|
-
'Aid Provider End Date': true,
|
|
1755
|
-
'Record Type': true,
|
|
1756
|
-
'Student ID Type': true,
|
|
1757
|
-
'Account Type': true
|
|
1758
|
-
}
|
|
1759
|
-
},
|
|
1760
|
-
autoMapData: {
|
|
1761
|
-
'Student.AidIDType': 'Managed SFA.Record Type',
|
|
1762
|
-
'Student.AidAccountType': 'Managed SFA.Account Type',
|
|
1763
|
-
'Student.AidEndDate': 'Managed SFA.Aid Provider End Date',
|
|
1764
|
-
'Student.AidBeginDate': 'Managed SFA.Aid Provider Begin Date',
|
|
1765
|
-
'Student.AidAmount': 'Managed SFA.Aid Provider Amount Available',
|
|
1766
|
-
'Student.AidProviderCode': 'Managed SFA.Aid Provider Code',
|
|
1767
|
-
'Student.ExternalId': 'Managed SFA.Student ID',
|
|
1768
|
-
'Calendar Session.BNEDTerm': 'Managed SFA.BNED Term Code'
|
|
1769
|
-
},
|
|
1770
|
-
dummyData: {
|
|
1771
|
-
'Student.AidIDType': 'S',
|
|
1772
|
-
'Student.AidAccountType': 'D',
|
|
1773
|
-
'Student.AidEndDate': '2017-02-23',
|
|
1774
|
-
'Student.AidBeginDate': '2016-10-12',
|
|
1775
|
-
'Student.AidAmount': '50000',
|
|
1776
|
-
'Student.AidProviderCode': '54636',
|
|
1777
|
-
'Student.ExternalId': 'ee106749-8b53-445e-8bc9-1babc72372ff',
|
|
1778
|
-
'Calendar Session.BNEDTerm': 'W'
|
|
1779
|
-
}
|
|
1780
1311
|
}
|
|
1781
1312
|
};
|
|
1782
1313
|
|
|
@@ -1790,7 +1321,13 @@ module.exports =
|
|
|
1790
1321
|
value: true
|
|
1791
1322
|
});
|
|
1792
1323
|
var Resources = exports.Resources = {
|
|
1793
|
-
'
|
|
1324
|
+
'Affiliation': 'hed__Affiliation__c',
|
|
1325
|
+
'Address': 'hed__Address__c',
|
|
1326
|
+
'Course': 'hed__Course__c',
|
|
1327
|
+
'Course Offering': 'hed__Course_Offering__c',
|
|
1328
|
+
'Program Connection': 'hed__Course_Enrollment__c',
|
|
1329
|
+
'Relationship': 'hed__Relationship__c',
|
|
1330
|
+
'Term': 'hed__Term__c'
|
|
1794
1331
|
};
|
|
1795
1332
|
|
|
1796
1333
|
var Heda = exports.Heda = {
|
|
@@ -1827,6 +1364,84 @@ module.exports =
|
|
|
1827
1364
|
'Work Address': true,
|
|
1828
1365
|
'Work Email': true,
|
|
1829
1366
|
'Work Phone': true
|
|
1367
|
+
},
|
|
1368
|
+
'Affiliation': {
|
|
1369
|
+
'Affiliation Type': true,
|
|
1370
|
+
'Contact': true,
|
|
1371
|
+
'Description': true,
|
|
1372
|
+
'End Date': true,
|
|
1373
|
+
'Organization': true,
|
|
1374
|
+
'Primary': true,
|
|
1375
|
+
'Role': true,
|
|
1376
|
+
'Start Date': true,
|
|
1377
|
+
'Status': true
|
|
1378
|
+
},
|
|
1379
|
+
'Address': {
|
|
1380
|
+
'Address Type': true,
|
|
1381
|
+
'Default Address': true,
|
|
1382
|
+
'Geolocation': true,
|
|
1383
|
+
'Latest End Date': true,
|
|
1384
|
+
'Latest Start Date': true,
|
|
1385
|
+
'Mailing Address': true,
|
|
1386
|
+
'Mailing City': true,
|
|
1387
|
+
'Mailing Country': true,
|
|
1388
|
+
'Mailing State/Province': true,
|
|
1389
|
+
'Mailing Street': true,
|
|
1390
|
+
'Mailing Street2': true,
|
|
1391
|
+
'Mailing Street Address': true,
|
|
1392
|
+
'Mailing Zip/Postal Code': true,
|
|
1393
|
+
'Parent Account': true,
|
|
1394
|
+
'Parent Contact': true,
|
|
1395
|
+
'Seasonal End Day': true,
|
|
1396
|
+
'Seasonal End Month': true,
|
|
1397
|
+
'Seasonal End Year': true,
|
|
1398
|
+
'Seasonal Start Day': true,
|
|
1399
|
+
'Seasonal Start Month': true,
|
|
1400
|
+
'Seasonal Start Year': true
|
|
1401
|
+
},
|
|
1402
|
+
'Course': {
|
|
1403
|
+
'Course ID': true,
|
|
1404
|
+
'Credit Hours': true,
|
|
1405
|
+
'Description': true
|
|
1406
|
+
},
|
|
1407
|
+
'Course Offering': {
|
|
1408
|
+
'Capacity': true,
|
|
1409
|
+
'Course': true,
|
|
1410
|
+
'End Date': true,
|
|
1411
|
+
'Primary Faculty': true,
|
|
1412
|
+
'Section ID': true,
|
|
1413
|
+
'Start Date': true,
|
|
1414
|
+
'Term': true
|
|
1415
|
+
},
|
|
1416
|
+
'Program Enrollment': {
|
|
1417
|
+
'Admission Date': true,
|
|
1418
|
+
'Affiliation': true,
|
|
1419
|
+
'Application Submitted Date': true,
|
|
1420
|
+
'Class Standing': true,
|
|
1421
|
+
'Class Year': true,
|
|
1422
|
+
'Contact': true,
|
|
1423
|
+
'Credits Attempted': true,
|
|
1424
|
+
'Credits Earned': true,
|
|
1425
|
+
'Eligible to Enroll': true,
|
|
1426
|
+
'End Date': true,
|
|
1427
|
+
'Enrollment Status': true,
|
|
1428
|
+
'GPA': true,
|
|
1429
|
+
'Program': true,
|
|
1430
|
+
'Start Date': true
|
|
1431
|
+
},
|
|
1432
|
+
'Relationship': {
|
|
1433
|
+
'Contact': true,
|
|
1434
|
+
'Description': true,
|
|
1435
|
+
'Reciprocal Relationship': true,
|
|
1436
|
+
'Related Contact': true,
|
|
1437
|
+
'Relationship Explanation': true,
|
|
1438
|
+
'Status': true,
|
|
1439
|
+
'Type': true
|
|
1440
|
+
},
|
|
1441
|
+
'Term': {
|
|
1442
|
+
'Account': true,
|
|
1443
|
+
'End Date': true,
|
|
1444
|
+
'Start Date': true
|
|
1830
1445
|
}
|
|
1831
1446
|
};
|
|
1832
1447
|
|
|
@@ -3295,6 +2910,16 @@ module.exports =
|
|
|
3295
2910
|
}
|
|
3296
2911
|
|
|
3297
2912
|
_createClass(SchemaStep, [{
|
|
2913
|
+
key: 'componentWillUnmount',
|
|
2914
|
+
value: function componentWillUnmount() {
|
|
2915
|
+
this.setState({
|
|
2916
|
+
newField: '',
|
|
2917
|
+
newEntity: '',
|
|
2918
|
+
selectedDataEntity: '',
|
|
2919
|
+
innerSelectedEntity: ''
|
|
2920
|
+
});
|
|
2921
|
+
}
|
|
2922
|
+
}, {
|
|
3298
2923
|
key: 'pickEntity',
|
|
3299
2924
|
value: function pickEntity(v) {
|
|
3300
2925
|
this.setState({
|
|
@@ -3625,7 +3250,9 @@ module.exports =
|
|
|
3625
3250
|
'div',
|
|
3626
3251
|
{ className: 'accordion-panel-collapse',
|
|
3627
3252
|
style: {
|
|
3628
|
-
height: _this2.state.innerSelectedEntity === entity ? Object.keys(values[entity]).
|
|
3253
|
+
height: _this2.state.innerSelectedEntity === entity ? Object.keys(values[entity]).filter(function (f) {
|
|
3254
|
+
return values[entity][f];
|
|
3255
|
+
}).length * 18 + 19 : 0
|
|
3629
3256
|
}
|
|
3630
3257
|
},
|
|
3631
3258
|
_react2.default.createElement('div', { style: { height: 9 } }),
|
|
@@ -3637,8 +3264,8 @@ module.exports =
|
|
|
3637
3264
|
{ key: ii, className: mode === 'destination' && !selectedField ? "" : "wizard-schema-field",
|
|
3638
3265
|
style: {
|
|
3639
3266
|
paddingLeft: 5,
|
|
3640
|
-
background: selectedField && selectedField === field ? '#dfe0e0' : 'initial',
|
|
3641
|
-
fontWeight: mode === 'source' && mappings && Object.keys(mappings).includes(entity + '.' + field) || mode === 'destination' && mappings && Object.
|
|
3267
|
+
background: mode === 'source' && selectedField && selectedField === field ? '#dfe0e0' : 'initial',
|
|
3268
|
+
fontWeight: mode === 'source' && mappings && Object.keys(mappings).includes(entity + '.' + field) || mode === 'destination' && mappings && Object.values(mappings).includes(entity + '.' + field) ? 'bold' : 'normal',
|
|
3642
3269
|
color: mode === 'destination' && !selectedField ? 'grey' : 'black'
|
|
3643
3270
|
},
|
|
3644
3271
|
onClick: function onClick() {
|
|
@@ -4004,6 +3631,21 @@ module.exports =
|
|
|
4004
3631
|
var WizardForm = function (_Component) {
|
|
4005
3632
|
_inherits(WizardForm, _Component);
|
|
4006
3633
|
|
|
3634
|
+
_createClass(WizardForm, [{
|
|
3635
|
+
key: 'componentDidMount',
|
|
3636
|
+
value: function componentDidMount() {
|
|
3637
|
+
var _props = this.props,
|
|
3638
|
+
piGuid = _props.piGuid,
|
|
3639
|
+
actions = _props.actions,
|
|
3640
|
+
tenantId = _props.tenantId,
|
|
3641
|
+
accountId = _props.accountId;
|
|
3642
|
+
|
|
3643
|
+
if (piGuid) {
|
|
3644
|
+
actions.callGetPiConfig(tenantId, accountId, piGuid);
|
|
3645
|
+
}
|
|
3646
|
+
}
|
|
3647
|
+
}]);
|
|
3648
|
+
|
|
4007
3649
|
function WizardForm(props) {
|
|
4008
3650
|
_classCallCheck(this, WizardForm);
|
|
4009
3651
|
|
|
@@ -4057,7 +3699,7 @@ module.exports =
|
|
|
4057
3699
|
});
|
|
4058
3700
|
return {
|
|
4059
3701
|
name: key,
|
|
4060
|
-
type: example.Resources[key] ?
|
|
3702
|
+
type: example.Resources[key] ? example.Resources[key] : key,
|
|
4061
3703
|
properties: props
|
|
4062
3704
|
};
|
|
4063
3705
|
});
|
|
@@ -4092,13 +3734,13 @@ module.exports =
|
|
|
4092
3734
|
//----------------------------------
|
|
4093
3735
|
// Post
|
|
4094
3736
|
//----------------------------------
|
|
4095
|
-
var
|
|
4096
|
-
actions =
|
|
4097
|
-
onFinish =
|
|
4098
|
-
onSubmit =
|
|
4099
|
-
typeGuid =
|
|
4100
|
-
accountId =
|
|
4101
|
-
tenantId =
|
|
3737
|
+
var _props2 = this.props,
|
|
3738
|
+
actions = _props2.actions,
|
|
3739
|
+
onFinish = _props2.onFinish,
|
|
3740
|
+
onSubmit = _props2.onSubmit,
|
|
3741
|
+
typeGuid = _props2.typeGuid,
|
|
3742
|
+
accountId = _props2.accountId,
|
|
3743
|
+
tenantId = _props2.tenantId;
|
|
4102
3744
|
|
|
4103
3745
|
if (true) {
|
|
4104
3746
|
actions.submitWizardData(tenantId, accountId, schemas.source, schemas.destination, mapping, configuration, config.title || '', typeGuid, onFinish);
|
|
@@ -4131,12 +3773,12 @@ module.exports =
|
|
|
4131
3773
|
var _this3 = this;
|
|
4132
3774
|
|
|
4133
3775
|
var currentPage = this.state.currentPage;
|
|
4134
|
-
var
|
|
4135
|
-
steps =
|
|
4136
|
-
actions =
|
|
4137
|
-
wizard =
|
|
4138
|
-
formValues =
|
|
4139
|
-
inputs =
|
|
3776
|
+
var _props3 = this.props,
|
|
3777
|
+
steps = _props3.steps,
|
|
3778
|
+
actions = _props3.actions,
|
|
3779
|
+
wizard = _props3.wizard,
|
|
3780
|
+
formValues = _props3.formValues,
|
|
3781
|
+
inputs = _props3.inputs;
|
|
4140
3782
|
var Sidebar = inputs.Sidebar;
|
|
4141
3783
|
|
|
4142
3784
|
return _react2.default.createElement(
|