@salesforce/lds-adapters-industries-education 1.280.0 → 1.281.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/dist/es/es2018/industries-education.js +140 -101
- package/dist/es/es2018/types/src/generated/adapters/postMatchingSelector.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/resources/postConnectEducationMentoringMatchingSelectorByBenefitAssignmentId.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/types/FilterConfig.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/MentoringMatchingSelectorInputRepresentation.d.ts +4 -3
- package/package.json +4 -4
- package/sfdc/index.js +190 -151
- package/src/raml/api.raml +19 -1
|
@@ -113,7 +113,7 @@ function createLink(ref) {
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
const VERSION$J = "25644bb9c14397ee2eee2a59a6de4b8c";
|
|
116
|
-
function validate$
|
|
116
|
+
function validate$1a(obj, path = 'Applicant') {
|
|
117
117
|
const v_error = (() => {
|
|
118
118
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
119
119
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -209,7 +209,7 @@ function equals$H(existing, incoming) {
|
|
|
209
209
|
return true;
|
|
210
210
|
}
|
|
211
211
|
|
|
212
|
-
function validate$
|
|
212
|
+
function validate$19(obj, path = 'Submitter') {
|
|
213
213
|
const v_error = (() => {
|
|
214
214
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
215
215
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -232,7 +232,7 @@ function validate$18(obj, path = 'Submitter') {
|
|
|
232
232
|
return v_error === undefined ? null : v_error;
|
|
233
233
|
}
|
|
234
234
|
|
|
235
|
-
function validate$
|
|
235
|
+
function validate$18(obj, path = 'Application') {
|
|
236
236
|
const v_error = (() => {
|
|
237
237
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
238
238
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -247,7 +247,7 @@ function validate$17(obj, path = 'Application') {
|
|
|
247
247
|
if (obj.applicant !== undefined) {
|
|
248
248
|
const obj_applicant = obj.applicant;
|
|
249
249
|
const path_applicant = path + '.applicant';
|
|
250
|
-
const referencepath_applicantValidationError = validate$
|
|
250
|
+
const referencepath_applicantValidationError = validate$1a(obj_applicant, path_applicant);
|
|
251
251
|
if (referencepath_applicantValidationError !== null) {
|
|
252
252
|
let message = 'Object doesn\'t match Applicant (at "' + path_applicant + '")\n';
|
|
253
253
|
message += referencepath_applicantValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -306,7 +306,7 @@ function validate$17(obj, path = 'Application') {
|
|
|
306
306
|
if (obj.submitter !== undefined) {
|
|
307
307
|
const obj_submitter = obj.submitter;
|
|
308
308
|
const path_submitter = path + '.submitter';
|
|
309
|
-
const referencepath_submitterValidationError = validate$
|
|
309
|
+
const referencepath_submitterValidationError = validate$19(obj_submitter, path_submitter);
|
|
310
310
|
if (referencepath_submitterValidationError !== null) {
|
|
311
311
|
let message = 'Object doesn\'t match Submitter (at "' + path_submitter + '")\n';
|
|
312
312
|
message += referencepath_submitterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -331,7 +331,7 @@ function validate$17(obj, path = 'Application') {
|
|
|
331
331
|
return v_error === undefined ? null : v_error;
|
|
332
332
|
}
|
|
333
333
|
|
|
334
|
-
function validate$
|
|
334
|
+
function validate$17(obj, path = 'GetApplicationsResult') {
|
|
335
335
|
const v_error = (() => {
|
|
336
336
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
337
337
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -345,7 +345,7 @@ function validate$16(obj, path = 'GetApplicationsResult') {
|
|
|
345
345
|
for (let i = 0; i < obj_applications.length; i++) {
|
|
346
346
|
const obj_applications_item = obj_applications[i];
|
|
347
347
|
const path_applications_item = path_applications + '[' + i + ']';
|
|
348
|
-
const referencepath_applications_itemValidationError = validate$
|
|
348
|
+
const referencepath_applications_itemValidationError = validate$18(obj_applications_item, path_applications_item);
|
|
349
349
|
if (referencepath_applications_itemValidationError !== null) {
|
|
350
350
|
let message = 'Object doesn\'t match Application (at "' + path_applications_item + '")\n';
|
|
351
351
|
message += referencepath_applications_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -359,7 +359,7 @@ function validate$16(obj, path = 'GetApplicationsResult') {
|
|
|
359
359
|
|
|
360
360
|
const TTL$6 = 100;
|
|
361
361
|
const VERSION$I = "1947ca622740f63d1812cfa7d4dd5989";
|
|
362
|
-
function validate$
|
|
362
|
+
function validate$16(obj, path = 'ApplicationsOutputRepresentation') {
|
|
363
363
|
const v_error = (() => {
|
|
364
364
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
365
365
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -367,7 +367,7 @@ function validate$15(obj, path = 'ApplicationsOutputRepresentation') {
|
|
|
367
367
|
if (obj.result !== undefined) {
|
|
368
368
|
const obj_result = obj.result;
|
|
369
369
|
const path_result = path + '.result';
|
|
370
|
-
const referencepath_resultValidationError = validate$
|
|
370
|
+
const referencepath_resultValidationError = validate$17(obj_result, path_result);
|
|
371
371
|
if (referencepath_resultValidationError !== null) {
|
|
372
372
|
let message = 'Object doesn\'t match GetApplicationsResult (at "' + path_result + '")\n';
|
|
373
373
|
message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -397,7 +397,7 @@ function equals$G(existing, incoming) {
|
|
|
397
397
|
}
|
|
398
398
|
const ingest$k = function ApplicationsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
399
399
|
if (process.env.NODE_ENV !== 'production') {
|
|
400
|
-
const validateError = validate$
|
|
400
|
+
const validateError = validate$16(input);
|
|
401
401
|
if (validateError !== null) {
|
|
402
402
|
throw validateError;
|
|
403
403
|
}
|
|
@@ -552,7 +552,7 @@ const getApplicationsAdapterFactory = (luvio) => function education__getApplicat
|
|
|
552
552
|
buildCachedSnapshotCachePolicy$e, buildNetworkSnapshotCachePolicy$e);
|
|
553
553
|
};
|
|
554
554
|
|
|
555
|
-
function validate$
|
|
555
|
+
function validate$15(obj, path = 'ApplicationRenderMethod') {
|
|
556
556
|
const v_error = (() => {
|
|
557
557
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
558
558
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -589,7 +589,7 @@ function validate$14(obj, path = 'ApplicationRenderMethod') {
|
|
|
589
589
|
return v_error === undefined ? null : v_error;
|
|
590
590
|
}
|
|
591
591
|
|
|
592
|
-
function validate$
|
|
592
|
+
function validate$14(obj, path = 'IndividualApplicationTask') {
|
|
593
593
|
const v_error = (() => {
|
|
594
594
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
595
595
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -603,7 +603,7 @@ function validate$13(obj, path = 'IndividualApplicationTask') {
|
|
|
603
603
|
for (let i = 0; i < obj_applicationRenderMethods.length; i++) {
|
|
604
604
|
const obj_applicationRenderMethods_item = obj_applicationRenderMethods[i];
|
|
605
605
|
const path_applicationRenderMethods_item = path_applicationRenderMethods + '[' + i + ']';
|
|
606
|
-
const referencepath_applicationRenderMethods_itemValidationError = validate$
|
|
606
|
+
const referencepath_applicationRenderMethods_itemValidationError = validate$15(obj_applicationRenderMethods_item, path_applicationRenderMethods_item);
|
|
607
607
|
if (referencepath_applicationRenderMethods_itemValidationError !== null) {
|
|
608
608
|
let message = 'Object doesn\'t match ApplicationRenderMethod (at "' + path_applicationRenderMethods_item + '")\n';
|
|
609
609
|
message += referencepath_applicationRenderMethods_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -685,7 +685,7 @@ function validate$13(obj, path = 'IndividualApplicationTask') {
|
|
|
685
685
|
return v_error === undefined ? null : v_error;
|
|
686
686
|
}
|
|
687
687
|
|
|
688
|
-
function validate$
|
|
688
|
+
function validate$13(obj, path = 'GetApplicationDetailsResult') {
|
|
689
689
|
const v_error = (() => {
|
|
690
690
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
691
691
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -700,7 +700,7 @@ function validate$12(obj, path = 'GetApplicationDetailsResult') {
|
|
|
700
700
|
if (obj.applicant !== undefined) {
|
|
701
701
|
const obj_applicant = obj.applicant;
|
|
702
702
|
const path_applicant = path + '.applicant';
|
|
703
|
-
const referencepath_applicantValidationError = validate$
|
|
703
|
+
const referencepath_applicantValidationError = validate$1a(obj_applicant, path_applicant);
|
|
704
704
|
if (referencepath_applicantValidationError !== null) {
|
|
705
705
|
let message = 'Object doesn\'t match Applicant (at "' + path_applicant + '")\n';
|
|
706
706
|
message += referencepath_applicantValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -744,7 +744,7 @@ function validate$12(obj, path = 'GetApplicationDetailsResult') {
|
|
|
744
744
|
for (let i = 0; i < obj_individualApplicationTasks.length; i++) {
|
|
745
745
|
const obj_individualApplicationTasks_item = obj_individualApplicationTasks[i];
|
|
746
746
|
const path_individualApplicationTasks_item = path_individualApplicationTasks + '[' + i + ']';
|
|
747
|
-
const referencepath_individualApplicationTasks_itemValidationError = validate$
|
|
747
|
+
const referencepath_individualApplicationTasks_itemValidationError = validate$14(obj_individualApplicationTasks_item, path_individualApplicationTasks_item);
|
|
748
748
|
if (referencepath_individualApplicationTasks_itemValidationError !== null) {
|
|
749
749
|
let message = 'Object doesn\'t match IndividualApplicationTask (at "' + path_individualApplicationTasks_item + '")\n';
|
|
750
750
|
message += referencepath_individualApplicationTasks_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -776,7 +776,7 @@ function validate$12(obj, path = 'GetApplicationDetailsResult') {
|
|
|
776
776
|
if (obj.submitter !== undefined) {
|
|
777
777
|
const obj_submitter = obj.submitter;
|
|
778
778
|
const path_submitter = path + '.submitter';
|
|
779
|
-
const referencepath_submitterValidationError = validate$
|
|
779
|
+
const referencepath_submitterValidationError = validate$19(obj_submitter, path_submitter);
|
|
780
780
|
if (referencepath_submitterValidationError !== null) {
|
|
781
781
|
let message = 'Object doesn\'t match Submitter (at "' + path_submitter + '")\n';
|
|
782
782
|
message += referencepath_submitterValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -803,7 +803,7 @@ function validate$12(obj, path = 'GetApplicationDetailsResult') {
|
|
|
803
803
|
|
|
804
804
|
const TTL$5 = 100;
|
|
805
805
|
const VERSION$H = "20a50ee9f09ba0dc956412cc14d5b6d5";
|
|
806
|
-
function validate$
|
|
806
|
+
function validate$12(obj, path = 'ApplicationDetailsOutputRepresentation') {
|
|
807
807
|
const v_error = (() => {
|
|
808
808
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
809
809
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -811,7 +811,7 @@ function validate$11(obj, path = 'ApplicationDetailsOutputRepresentation') {
|
|
|
811
811
|
if (obj.result !== undefined) {
|
|
812
812
|
const obj_result = obj.result;
|
|
813
813
|
const path_result = path + '.result';
|
|
814
|
-
const referencepath_resultValidationError = validate$
|
|
814
|
+
const referencepath_resultValidationError = validate$13(obj_result, path_result);
|
|
815
815
|
if (referencepath_resultValidationError !== null) {
|
|
816
816
|
let message = 'Object doesn\'t match GetApplicationDetailsResult (at "' + path_result + '")\n';
|
|
817
817
|
message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -841,7 +841,7 @@ function equals$F(existing, incoming) {
|
|
|
841
841
|
}
|
|
842
842
|
const ingest$j = function ApplicationDetailsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
843
843
|
if (process.env.NODE_ENV !== 'production') {
|
|
844
|
-
const validateError = validate$
|
|
844
|
+
const validateError = validate$12(input);
|
|
845
845
|
if (validateError !== null) {
|
|
846
846
|
throw validateError;
|
|
847
847
|
}
|
|
@@ -999,7 +999,7 @@ const getApplicationDetailsAdapterFactory = (luvio) => function education__getAp
|
|
|
999
999
|
buildCachedSnapshotCachePolicy$d, buildNetworkSnapshotCachePolicy$d);
|
|
1000
1000
|
};
|
|
1001
1001
|
|
|
1002
|
-
function validate$
|
|
1002
|
+
function validate$11(obj, path = 'AvailableTimeSlotsInputRepresentation') {
|
|
1003
1003
|
const v_error = (() => {
|
|
1004
1004
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1005
1005
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1064,7 +1064,7 @@ function validate$10(obj, path = 'AvailableTimeSlotsInputRepresentation') {
|
|
|
1064
1064
|
}
|
|
1065
1065
|
|
|
1066
1066
|
const VERSION$G = "cfd94fbef61f52ffe43428e23e7a68c8";
|
|
1067
|
-
function validate
|
|
1067
|
+
function validate$10(obj, path = 'TimeSlot') {
|
|
1068
1068
|
const v_error = (() => {
|
|
1069
1069
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1070
1070
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1186,7 +1186,7 @@ function equals$E(existing, incoming) {
|
|
|
1186
1186
|
}
|
|
1187
1187
|
|
|
1188
1188
|
const VERSION$F = "9c2ef94b89ee532c50c8423528617441";
|
|
1189
|
-
function validate
|
|
1189
|
+
function validate$$(obj, path = 'AvailableTimeSlotsOuputRepresentation') {
|
|
1190
1190
|
const v_error = (() => {
|
|
1191
1191
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1192
1192
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1199,7 +1199,7 @@ function validate$_(obj, path = 'AvailableTimeSlotsOuputRepresentation') {
|
|
|
1199
1199
|
for (let i = 0; i < obj_timeSlots.length; i++) {
|
|
1200
1200
|
const obj_timeSlots_item = obj_timeSlots[i];
|
|
1201
1201
|
const path_timeSlots_item = path_timeSlots + '[' + i + ']';
|
|
1202
|
-
const referencepath_timeSlots_itemValidationError = validate
|
|
1202
|
+
const referencepath_timeSlots_itemValidationError = validate$10(obj_timeSlots_item, path_timeSlots_item);
|
|
1203
1203
|
if (referencepath_timeSlots_itemValidationError !== null) {
|
|
1204
1204
|
let message = 'Object doesn\'t match TimeSlot (at "' + path_timeSlots_item + '")\n';
|
|
1205
1205
|
message += referencepath_timeSlots_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1244,7 +1244,7 @@ function equals$D(existing, incoming) {
|
|
|
1244
1244
|
}
|
|
1245
1245
|
const ingest$i = function AvailableTimeSlotsOuputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1246
1246
|
if (process.env.NODE_ENV !== 'production') {
|
|
1247
|
-
const validateError = validate
|
|
1247
|
+
const validateError = validate$$(input);
|
|
1248
1248
|
if (validateError !== null) {
|
|
1249
1249
|
throw validateError;
|
|
1250
1250
|
}
|
|
@@ -1323,7 +1323,7 @@ function keyBuilder$u(luvio, config) {
|
|
|
1323
1323
|
function typeCheckConfig$k(untrustedConfig) {
|
|
1324
1324
|
const config = {};
|
|
1325
1325
|
const untrustedConfig_availableTimeSlotsInput = untrustedConfig.availableTimeSlotsInput;
|
|
1326
|
-
const referenceAvailableTimeSlotsInputRepresentationValidationError = validate$
|
|
1326
|
+
const referenceAvailableTimeSlotsInputRepresentationValidationError = validate$11(untrustedConfig_availableTimeSlotsInput);
|
|
1327
1327
|
if (referenceAvailableTimeSlotsInputRepresentationValidationError === null) {
|
|
1328
1328
|
config.availableTimeSlotsInput = untrustedConfig_availableTimeSlotsInput;
|
|
1329
1329
|
}
|
|
@@ -1401,7 +1401,7 @@ const getAvailableTimeSlotsAdapterFactory = (luvio) => function education__getAv
|
|
|
1401
1401
|
};
|
|
1402
1402
|
|
|
1403
1403
|
const VERSION$E = "c470aba735607497dd11c1fcd34489d1";
|
|
1404
|
-
function validate$
|
|
1404
|
+
function validate$_(obj, path = 'AvailableTopic') {
|
|
1405
1405
|
const v_error = (() => {
|
|
1406
1406
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1407
1407
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1537,7 +1537,7 @@ function equals$C(existing, incoming) {
|
|
|
1537
1537
|
}
|
|
1538
1538
|
|
|
1539
1539
|
const VERSION$D = "3cb0110faf688dc57056aa83be527181";
|
|
1540
|
-
function validate$
|
|
1540
|
+
function validate$Z(obj, path = 'AvailableTopicsOutputRepresentation') {
|
|
1541
1541
|
const v_error = (() => {
|
|
1542
1542
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1543
1543
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1550,7 +1550,7 @@ function validate$Y(obj, path = 'AvailableTopicsOutputRepresentation') {
|
|
|
1550
1550
|
for (let i = 0; i < obj_topics.length; i++) {
|
|
1551
1551
|
const obj_topics_item = obj_topics[i];
|
|
1552
1552
|
const path_topics_item = path_topics + '[' + i + ']';
|
|
1553
|
-
const referencepath_topics_itemValidationError = validate$
|
|
1553
|
+
const referencepath_topics_itemValidationError = validate$_(obj_topics_item, path_topics_item);
|
|
1554
1554
|
if (referencepath_topics_itemValidationError !== null) {
|
|
1555
1555
|
let message = 'Object doesn\'t match AvailableTopic (at "' + path_topics_item + '")\n';
|
|
1556
1556
|
message += referencepath_topics_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1595,7 +1595,7 @@ function equals$B(existing, incoming) {
|
|
|
1595
1595
|
}
|
|
1596
1596
|
const ingest$h = function AvailableTopicsOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1597
1597
|
if (process.env.NODE_ENV !== 'production') {
|
|
1598
|
-
const validateError = validate$
|
|
1598
|
+
const validateError = validate$Z(input);
|
|
1599
1599
|
if (validateError !== null) {
|
|
1600
1600
|
throw validateError;
|
|
1601
1601
|
}
|
|
@@ -1806,7 +1806,7 @@ var DiscriminatorValues;
|
|
|
1806
1806
|
DiscriminatorValues["LearningProgram"] = "LearningProgram";
|
|
1807
1807
|
})(DiscriminatorValues || (DiscriminatorValues = {}));
|
|
1808
1808
|
const VERSION$A = "4cbea421d9f8469662b2fe303c2f4ba2";
|
|
1809
|
-
function validate$
|
|
1809
|
+
function validate$Y(obj, path = 'LearningOutput') {
|
|
1810
1810
|
const v_error = (() => {
|
|
1811
1811
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1812
1812
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2126,7 +2126,7 @@ function equals$A(existing, incoming) {
|
|
|
2126
2126
|
}
|
|
2127
2127
|
|
|
2128
2128
|
const VERSION$z = "97ece1d620b7a7775b8ec069c727fb0c";
|
|
2129
|
-
function validate$
|
|
2129
|
+
function validate$X(obj, path = 'LearningOutcomeItemOutput') {
|
|
2130
2130
|
const v_error = (() => {
|
|
2131
2131
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2132
2132
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2219,7 +2219,7 @@ function equals$z(existing, incoming) {
|
|
|
2219
2219
|
}
|
|
2220
2220
|
|
|
2221
2221
|
const VERSION$y = "1bdbecc684e08a141881821c200a3684";
|
|
2222
|
-
function validate$
|
|
2222
|
+
function validate$W(obj, path = 'LearningStatus') {
|
|
2223
2223
|
const v_error = (() => {
|
|
2224
2224
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2225
2225
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2380,7 +2380,7 @@ function equals$y(existing, incoming) {
|
|
|
2380
2380
|
}
|
|
2381
2381
|
|
|
2382
2382
|
const VERSION$x = "626a699b7d94feb238f5a5a6641daa16";
|
|
2383
|
-
function validate$
|
|
2383
|
+
function validate$V(obj, path = 'LearningFulfiller') {
|
|
2384
2384
|
const v_error = (() => {
|
|
2385
2385
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2386
2386
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2388,7 +2388,7 @@ function validate$U(obj, path = 'LearningFulfiller') {
|
|
|
2388
2388
|
if (obj.learning !== undefined) {
|
|
2389
2389
|
const obj_learning = obj.learning;
|
|
2390
2390
|
const path_learning = path + '.learning';
|
|
2391
|
-
const referencepath_learningValidationError = validate$
|
|
2391
|
+
const referencepath_learningValidationError = validate$Y(obj_learning, path_learning);
|
|
2392
2392
|
if (referencepath_learningValidationError !== null) {
|
|
2393
2393
|
let message = 'Object doesn\'t match LearningOutput (at "' + path_learning + '")\n';
|
|
2394
2394
|
message += referencepath_learningValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2398,7 +2398,7 @@ function validate$U(obj, path = 'LearningFulfiller') {
|
|
|
2398
2398
|
if (obj.learningOutcomeItem !== undefined) {
|
|
2399
2399
|
const obj_learningOutcomeItem = obj.learningOutcomeItem;
|
|
2400
2400
|
const path_learningOutcomeItem = path + '.learningOutcomeItem';
|
|
2401
|
-
const referencepath_learningOutcomeItemValidationError = validate$
|
|
2401
|
+
const referencepath_learningOutcomeItemValidationError = validate$X(obj_learningOutcomeItem, path_learningOutcomeItem);
|
|
2402
2402
|
if (referencepath_learningOutcomeItemValidationError !== null) {
|
|
2403
2403
|
let message = 'Object doesn\'t match LearningOutcomeItemOutput (at "' + path_learningOutcomeItem + '")\n';
|
|
2404
2404
|
message += referencepath_learningOutcomeItemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2408,7 +2408,7 @@ function validate$U(obj, path = 'LearningFulfiller') {
|
|
|
2408
2408
|
if (obj.learningStatus !== undefined) {
|
|
2409
2409
|
const obj_learningStatus = obj.learningStatus;
|
|
2410
2410
|
const path_learningStatus = path + '.learningStatus';
|
|
2411
|
-
const referencepath_learningStatusValidationError = validate$
|
|
2411
|
+
const referencepath_learningStatusValidationError = validate$W(obj_learningStatus, path_learningStatus);
|
|
2412
2412
|
if (referencepath_learningStatusValidationError !== null) {
|
|
2413
2413
|
let message = 'Object doesn\'t match LearningStatus (at "' + path_learningStatus + '")\n';
|
|
2414
2414
|
message += referencepath_learningStatusValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2494,7 +2494,7 @@ function equals$x(existing, incoming) {
|
|
|
2494
2494
|
}
|
|
2495
2495
|
|
|
2496
2496
|
const VERSION$w = "89e52eccc72f463a8ee92dc22f282ae0";
|
|
2497
|
-
function validate$
|
|
2497
|
+
function validate$U(obj, path = 'LearningProgramPlanRequirementOutput') {
|
|
2498
2498
|
const v_error = (() => {
|
|
2499
2499
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2500
2500
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2532,7 +2532,7 @@ function validate$T(obj, path = 'LearningProgramPlanRequirementOutput') {
|
|
|
2532
2532
|
for (let i = 0; i < obj_fulfilledBy.length; i++) {
|
|
2533
2533
|
const obj_fulfilledBy_item = obj_fulfilledBy[i];
|
|
2534
2534
|
const path_fulfilledBy_item = path_fulfilledBy + '[' + i + ']';
|
|
2535
|
-
const referencepath_fulfilledBy_itemValidationError = validate$
|
|
2535
|
+
const referencepath_fulfilledBy_itemValidationError = validate$V(obj_fulfilledBy_item, path_fulfilledBy_item);
|
|
2536
2536
|
if (referencepath_fulfilledBy_itemValidationError !== null) {
|
|
2537
2537
|
let message = 'Object doesn\'t match LearningFulfiller (at "' + path_fulfilledBy_item + '")\n';
|
|
2538
2538
|
message += referencepath_fulfilledBy_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2755,7 +2755,7 @@ function equals$w(existing, incoming) {
|
|
|
2755
2755
|
}
|
|
2756
2756
|
|
|
2757
2757
|
const VERSION$v = "50def6c5b4042721fd079540ab411bd3";
|
|
2758
|
-
function validate$
|
|
2758
|
+
function validate$T(obj, path = 'LearnerProgramRequirement') {
|
|
2759
2759
|
const v_error = (() => {
|
|
2760
2760
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2761
2761
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -2782,7 +2782,7 @@ function validate$S(obj, path = 'LearnerProgramRequirement') {
|
|
|
2782
2782
|
if (obj.learningProgramPlanRequirement !== undefined) {
|
|
2783
2783
|
const obj_learningProgramPlanRequirement = obj.learningProgramPlanRequirement;
|
|
2784
2784
|
const path_learningProgramPlanRequirement = path + '.learningProgramPlanRequirement';
|
|
2785
|
-
const referencepath_learningProgramPlanRequirementValidationError = validate$
|
|
2785
|
+
const referencepath_learningProgramPlanRequirementValidationError = validate$U(obj_learningProgramPlanRequirement, path_learningProgramPlanRequirement);
|
|
2786
2786
|
if (referencepath_learningProgramPlanRequirementValidationError !== null) {
|
|
2787
2787
|
let message = 'Object doesn\'t match LearningProgramPlanRequirementOutput (at "' + path_learningProgramPlanRequirement + '")\n';
|
|
2788
2788
|
message += referencepath_learningProgramPlanRequirementValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -2949,7 +2949,7 @@ function equals$v(existing, incoming) {
|
|
|
2949
2949
|
}
|
|
2950
2950
|
|
|
2951
2951
|
const VERSION$u = "9b999e9822e37e43506982e4548078a0";
|
|
2952
|
-
function validate$
|
|
2952
|
+
function validate$S(obj, path = 'LearnerProgram') {
|
|
2953
2953
|
const v_error = (() => {
|
|
2954
2954
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
2955
2955
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3019,7 +3019,7 @@ function validate$R(obj, path = 'LearnerProgram') {
|
|
|
3019
3019
|
for (let i = 0; i < obj_requirements.length; i++) {
|
|
3020
3020
|
const obj_requirements_item = obj_requirements[i];
|
|
3021
3021
|
const path_requirements_item = path_requirements + '[' + i + ']';
|
|
3022
|
-
const referencepath_requirements_itemValidationError = validate$
|
|
3022
|
+
const referencepath_requirements_itemValidationError = validate$T(obj_requirements_item, path_requirements_item);
|
|
3023
3023
|
if (referencepath_requirements_itemValidationError !== null) {
|
|
3024
3024
|
let message = 'Object doesn\'t match LearnerProgramRequirement (at "' + path_requirements_item + '")\n';
|
|
3025
3025
|
message += referencepath_requirements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3237,7 +3237,7 @@ function equals$u(existing, incoming) {
|
|
|
3237
3237
|
}
|
|
3238
3238
|
|
|
3239
3239
|
const VERSION$t = "a14b9073a0ed9a08a5bb2c6ae6d8eac0";
|
|
3240
|
-
function validate$
|
|
3240
|
+
function validate$R(obj, path = 'LearnerProgressOutputRepresentation') {
|
|
3241
3241
|
const v_error = (() => {
|
|
3242
3242
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3243
3243
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3251,7 +3251,7 @@ function validate$Q(obj, path = 'LearnerProgressOutputRepresentation') {
|
|
|
3251
3251
|
for (let i = 0; i < obj_learnerPrograms.length; i++) {
|
|
3252
3252
|
const obj_learnerPrograms_item = obj_learnerPrograms[i];
|
|
3253
3253
|
const path_learnerPrograms_item = path_learnerPrograms + '[' + i + ']';
|
|
3254
|
-
const referencepath_learnerPrograms_itemValidationError = validate$
|
|
3254
|
+
const referencepath_learnerPrograms_itemValidationError = validate$S(obj_learnerPrograms_item, path_learnerPrograms_item);
|
|
3255
3255
|
if (referencepath_learnerPrograms_itemValidationError !== null) {
|
|
3256
3256
|
let message = 'Object doesn\'t match LearnerProgram (at "' + path_learnerPrograms_item + '")\n';
|
|
3257
3257
|
message += referencepath_learnerPrograms_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3306,7 +3306,7 @@ function equals$t(existing, incoming) {
|
|
|
3306
3306
|
}
|
|
3307
3307
|
const ingest$g = function LearnerProgressOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3308
3308
|
if (process.env.NODE_ENV !== 'production') {
|
|
3309
|
-
const validateError = validate$
|
|
3309
|
+
const validateError = validate$R(input);
|
|
3310
3310
|
if (validateError !== null) {
|
|
3311
3311
|
throw validateError;
|
|
3312
3312
|
}
|
|
@@ -3458,7 +3458,7 @@ const getLearnerProgressAdapterFactory = (luvio) => function education__getLearn
|
|
|
3458
3458
|
buildCachedSnapshotCachePolicy$a, buildNetworkSnapshotCachePolicy$a);
|
|
3459
3459
|
};
|
|
3460
3460
|
|
|
3461
|
-
function validate$
|
|
3461
|
+
function validate$Q(obj, path = 'CreateLearningInputRepresentation') {
|
|
3462
3462
|
const v_error = (() => {
|
|
3463
3463
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3464
3464
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3544,7 +3544,7 @@ function validate$P(obj, path = 'CreateLearningInputRepresentation') {
|
|
|
3544
3544
|
|
|
3545
3545
|
const TTL$4 = 100;
|
|
3546
3546
|
const VERSION$s = "007261ab77a4c0e4b59ae9c1245e9305";
|
|
3547
|
-
function validate$
|
|
3547
|
+
function validate$P(obj, path = 'CreateLearningOutputRepresentation') {
|
|
3548
3548
|
const v_error = (() => {
|
|
3549
3549
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3550
3550
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3642,7 +3642,7 @@ function equals$s(existing, incoming) {
|
|
|
3642
3642
|
}
|
|
3643
3643
|
const ingest$f = function CreateLearningOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3644
3644
|
if (process.env.NODE_ENV !== 'production') {
|
|
3645
|
-
const validateError = validate$
|
|
3645
|
+
const validateError = validate$P(input);
|
|
3646
3646
|
if (validateError !== null) {
|
|
3647
3647
|
throw validateError;
|
|
3648
3648
|
}
|
|
@@ -3708,7 +3708,7 @@ const createResourceParams$h = /*#__PURE__*/ createResourceParams$n(postCreateLe
|
|
|
3708
3708
|
function typeCheckConfig$h(untrustedConfig) {
|
|
3709
3709
|
const config = {};
|
|
3710
3710
|
const untrustedConfig_createLearningRecord = untrustedConfig.createLearningRecord;
|
|
3711
|
-
const referenceCreateLearningInputRepresentationValidationError = validate$
|
|
3711
|
+
const referenceCreateLearningInputRepresentationValidationError = validate$Q(untrustedConfig_createLearningRecord);
|
|
3712
3712
|
if (referenceCreateLearningInputRepresentationValidationError === null) {
|
|
3713
3713
|
config.createLearningRecord = untrustedConfig_createLearningRecord;
|
|
3714
3714
|
}
|
|
@@ -3756,7 +3756,7 @@ const postCreateLearningAdapterFactory = (luvio) => {
|
|
|
3756
3756
|
};
|
|
3757
3757
|
};
|
|
3758
3758
|
|
|
3759
|
-
function validate$
|
|
3759
|
+
function validate$O(obj, path = 'UpdateLearningInputRepresentation') {
|
|
3760
3760
|
const v_error = (() => {
|
|
3761
3761
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3762
3762
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3851,7 +3851,7 @@ const createResourceParams$g = /*#__PURE__*/ createResourceParams$n(updateLearni
|
|
|
3851
3851
|
function typeCheckConfig$g(untrustedConfig) {
|
|
3852
3852
|
const config = {};
|
|
3853
3853
|
const untrustedConfig_updateLearningRecord = untrustedConfig.updateLearningRecord;
|
|
3854
|
-
const referenceUpdateLearningInputRepresentationValidationError = validate$
|
|
3854
|
+
const referenceUpdateLearningInputRepresentationValidationError = validate$O(untrustedConfig_updateLearningRecord);
|
|
3855
3855
|
if (referenceUpdateLearningInputRepresentationValidationError === null) {
|
|
3856
3856
|
config.updateLearningRecord = untrustedConfig_updateLearningRecord;
|
|
3857
3857
|
}
|
|
@@ -3899,7 +3899,7 @@ const updateLearningAdapterFactory = (luvio) => {
|
|
|
3899
3899
|
};
|
|
3900
3900
|
};
|
|
3901
3901
|
|
|
3902
|
-
function validate$
|
|
3902
|
+
function validate$N(obj, path = 'Requirement') {
|
|
3903
3903
|
const v_error = (() => {
|
|
3904
3904
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3905
3905
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3918,7 +3918,7 @@ function validate$M(obj, path = 'Requirement') {
|
|
|
3918
3918
|
return v_error === undefined ? null : v_error;
|
|
3919
3919
|
}
|
|
3920
3920
|
|
|
3921
|
-
function validate$
|
|
3921
|
+
function validate$M(obj, path = 'LearningProgramPlanInputRepresentation') {
|
|
3922
3922
|
const v_error = (() => {
|
|
3923
3923
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3924
3924
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3936,7 +3936,7 @@ function validate$L(obj, path = 'LearningProgramPlanInputRepresentation') {
|
|
|
3936
3936
|
for (let i = 0; i < obj_requirement.length; i++) {
|
|
3937
3937
|
const obj_requirement_item = obj_requirement[i];
|
|
3938
3938
|
const path_requirement_item = path_requirement + '[' + i + ']';
|
|
3939
|
-
const referencepath_requirement_itemValidationError = validate$
|
|
3939
|
+
const referencepath_requirement_itemValidationError = validate$N(obj_requirement_item, path_requirement_item);
|
|
3940
3940
|
if (referencepath_requirement_itemValidationError !== null) {
|
|
3941
3941
|
let message = 'Object doesn\'t match Requirement (at "' + path_requirement_item + '")\n';
|
|
3942
3942
|
message += referencepath_requirement_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -3949,7 +3949,7 @@ function validate$L(obj, path = 'LearningProgramPlanInputRepresentation') {
|
|
|
3949
3949
|
|
|
3950
3950
|
const TTL$3 = 100;
|
|
3951
3951
|
const VERSION$r = "0218a0ed0a2278eb0405096372ffa5de";
|
|
3952
|
-
function validate$
|
|
3952
|
+
function validate$L(obj, path = 'LearningProgramPlanOutputRepresentation') {
|
|
3953
3953
|
const v_error = (() => {
|
|
3954
3954
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
3955
3955
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -3991,7 +3991,7 @@ function equals$r(existing, incoming) {
|
|
|
3991
3991
|
}
|
|
3992
3992
|
const ingest$e = function LearningProgramPlanOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
3993
3993
|
if (process.env.NODE_ENV !== 'production') {
|
|
3994
|
-
const validateError = validate$
|
|
3994
|
+
const validateError = validate$L(input);
|
|
3995
3995
|
if (validateError !== null) {
|
|
3996
3996
|
throw validateError;
|
|
3997
3997
|
}
|
|
@@ -4057,7 +4057,7 @@ const createResourceParams$f = /*#__PURE__*/ createResourceParams$n(postPublishL
|
|
|
4057
4057
|
function typeCheckConfig$f(untrustedConfig) {
|
|
4058
4058
|
const config = {};
|
|
4059
4059
|
const untrustedConfig_publishLearningProgramPlan = untrustedConfig.publishLearningProgramPlan;
|
|
4060
|
-
const referenceLearningProgramPlanInputRepresentationValidationError = validate$
|
|
4060
|
+
const referenceLearningProgramPlanInputRepresentationValidationError = validate$M(untrustedConfig_publishLearningProgramPlan);
|
|
4061
4061
|
if (referenceLearningProgramPlanInputRepresentationValidationError === null) {
|
|
4062
4062
|
config.publishLearningProgramPlan = untrustedConfig_publishLearningProgramPlan;
|
|
4063
4063
|
}
|
|
@@ -4106,7 +4106,7 @@ const postPublishLearningProgramPlanAdapterFactory = (luvio) => {
|
|
|
4106
4106
|
};
|
|
4107
4107
|
|
|
4108
4108
|
const VERSION$q = "201f86357276cc8ed2ee9d7f51616b64";
|
|
4109
|
-
function validate$
|
|
4109
|
+
function validate$K(obj, path = 'PreviewLearningProgramPlanOutputRepresentation') {
|
|
4110
4110
|
const v_error = (() => {
|
|
4111
4111
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4112
4112
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4139,7 +4139,7 @@ function validate$J(obj, path = 'PreviewLearningProgramPlanOutputRepresentation'
|
|
|
4139
4139
|
for (let i = 0; i < obj_programPlanRequirements.length; i++) {
|
|
4140
4140
|
const obj_programPlanRequirements_item = obj_programPlanRequirements[i];
|
|
4141
4141
|
const path_programPlanRequirements_item = path_programPlanRequirements + '[' + i + ']';
|
|
4142
|
-
const referencepath_programPlanRequirements_itemValidationError = validate$
|
|
4142
|
+
const referencepath_programPlanRequirements_itemValidationError = validate$U(obj_programPlanRequirements_item, path_programPlanRequirements_item);
|
|
4143
4143
|
if (referencepath_programPlanRequirements_itemValidationError !== null) {
|
|
4144
4144
|
let message = 'Object doesn\'t match LearningProgramPlanRequirementOutput (at "' + path_programPlanRequirements_item + '")\n';
|
|
4145
4145
|
message += referencepath_programPlanRequirements_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4239,7 +4239,7 @@ function equals$q(existing, incoming) {
|
|
|
4239
4239
|
}
|
|
4240
4240
|
const ingest$d = function PreviewLearningProgramPlanOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
4241
4241
|
if (process.env.NODE_ENV !== 'production') {
|
|
4242
|
-
const validateError = validate$
|
|
4242
|
+
const validateError = validate$K(input);
|
|
4243
4243
|
if (validateError !== null) {
|
|
4244
4244
|
throw validateError;
|
|
4245
4245
|
}
|
|
@@ -4391,7 +4391,7 @@ const getPreviewLearningProgramPlanAdapterFactory = (luvio) => function educatio
|
|
|
4391
4391
|
buildCachedSnapshotCachePolicy$9, buildNetworkSnapshotCachePolicy$9);
|
|
4392
4392
|
};
|
|
4393
4393
|
|
|
4394
|
-
function validate$
|
|
4394
|
+
function validate$J(obj, path = 'CarePlanTaskInputRepresentation') {
|
|
4395
4395
|
const v_error = (() => {
|
|
4396
4396
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4397
4397
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4456,7 +4456,7 @@ function validate$I(obj, path = 'CarePlanTaskInputRepresentation') {
|
|
|
4456
4456
|
return v_error === undefined ? null : v_error;
|
|
4457
4457
|
}
|
|
4458
4458
|
|
|
4459
|
-
function validate$
|
|
4459
|
+
function validate$I(obj, path = 'BenefitDisbursementForBenefitSessionInputRepresentation') {
|
|
4460
4460
|
const v_error = (() => {
|
|
4461
4461
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4462
4462
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4510,7 +4510,7 @@ function validate$H(obj, path = 'BenefitDisbursementForBenefitSessionInputRepres
|
|
|
4510
4510
|
return v_error === undefined ? null : v_error;
|
|
4511
4511
|
}
|
|
4512
4512
|
|
|
4513
|
-
function validate$
|
|
4513
|
+
function validate$H(obj, path = 'BenefitDisbursementListInputRepresentation') {
|
|
4514
4514
|
const v_error = (() => {
|
|
4515
4515
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4516
4516
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4523,7 +4523,7 @@ function validate$G(obj, path = 'BenefitDisbursementListInputRepresentation') {
|
|
|
4523
4523
|
for (let i = 0; i < obj_records.length; i++) {
|
|
4524
4524
|
const obj_records_item = obj_records[i];
|
|
4525
4525
|
const path_records_item = path_records + '[' + i + ']';
|
|
4526
|
-
const referencepath_records_itemValidationError = validate$
|
|
4526
|
+
const referencepath_records_itemValidationError = validate$I(obj_records_item, path_records_item);
|
|
4527
4527
|
if (referencepath_records_itemValidationError !== null) {
|
|
4528
4528
|
let message = 'Object doesn\'t match BenefitDisbursementForBenefitSessionInputRepresentation (at "' + path_records_item + '")\n';
|
|
4529
4529
|
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4534,7 +4534,7 @@ function validate$G(obj, path = 'BenefitDisbursementListInputRepresentation') {
|
|
|
4534
4534
|
return v_error === undefined ? null : v_error;
|
|
4535
4535
|
}
|
|
4536
4536
|
|
|
4537
|
-
function validate$
|
|
4537
|
+
function validate$G(obj, path = 'CustomFieldInputRepresentation') {
|
|
4538
4538
|
const v_error = (() => {
|
|
4539
4539
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4540
4540
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4560,7 +4560,7 @@ function validate$F(obj, path = 'CustomFieldInputRepresentation') {
|
|
|
4560
4560
|
return v_error === undefined ? null : v_error;
|
|
4561
4561
|
}
|
|
4562
4562
|
|
|
4563
|
-
function validate$
|
|
4563
|
+
function validate$F(obj, path = 'CustomFieldListInputRepresentation') {
|
|
4564
4564
|
const v_error = (() => {
|
|
4565
4565
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4566
4566
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4573,7 +4573,7 @@ function validate$E(obj, path = 'CustomFieldListInputRepresentation') {
|
|
|
4573
4573
|
for (let i = 0; i < obj_records.length; i++) {
|
|
4574
4574
|
const obj_records_item = obj_records[i];
|
|
4575
4575
|
const path_records_item = path_records + '[' + i + ']';
|
|
4576
|
-
const referencepath_records_itemValidationError = validate$
|
|
4576
|
+
const referencepath_records_itemValidationError = validate$G(obj_records_item, path_records_item);
|
|
4577
4577
|
if (referencepath_records_itemValidationError !== null) {
|
|
4578
4578
|
let message = 'Object doesn\'t match CustomFieldInputRepresentation (at "' + path_records_item + '")\n';
|
|
4579
4579
|
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4584,7 +4584,7 @@ function validate$E(obj, path = 'CustomFieldListInputRepresentation') {
|
|
|
4584
4584
|
return v_error === undefined ? null : v_error;
|
|
4585
4585
|
}
|
|
4586
4586
|
|
|
4587
|
-
function validate$
|
|
4587
|
+
function validate$E(obj, path = 'BenefitAssignmentInputRepresentation') {
|
|
4588
4588
|
const v_error = (() => {
|
|
4589
4589
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4590
4590
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4592,7 +4592,7 @@ function validate$D(obj, path = 'BenefitAssignmentInputRepresentation') {
|
|
|
4592
4592
|
if (obj.benefitAssignmentTasks !== undefined) {
|
|
4593
4593
|
const obj_benefitAssignmentTasks = obj.benefitAssignmentTasks;
|
|
4594
4594
|
const path_benefitAssignmentTasks = path + '.benefitAssignmentTasks';
|
|
4595
|
-
const referencepath_benefitAssignmentTasksValidationError = validate$
|
|
4595
|
+
const referencepath_benefitAssignmentTasksValidationError = validate$J(obj_benefitAssignmentTasks, path_benefitAssignmentTasks);
|
|
4596
4596
|
if (referencepath_benefitAssignmentTasksValidationError !== null) {
|
|
4597
4597
|
let message = 'Object doesn\'t match CarePlanTaskInputRepresentation (at "' + path_benefitAssignmentTasks + '")\n';
|
|
4598
4598
|
message += referencepath_benefitAssignmentTasksValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4602,7 +4602,7 @@ function validate$D(obj, path = 'BenefitAssignmentInputRepresentation') {
|
|
|
4602
4602
|
if (obj.benefitDisbursements !== undefined) {
|
|
4603
4603
|
const obj_benefitDisbursements = obj.benefitDisbursements;
|
|
4604
4604
|
const path_benefitDisbursements = path + '.benefitDisbursements';
|
|
4605
|
-
const referencepath_benefitDisbursementsValidationError = validate$
|
|
4605
|
+
const referencepath_benefitDisbursementsValidationError = validate$H(obj_benefitDisbursements, path_benefitDisbursements);
|
|
4606
4606
|
if (referencepath_benefitDisbursementsValidationError !== null) {
|
|
4607
4607
|
let message = 'Object doesn\'t match BenefitDisbursementListInputRepresentation (at "' + path_benefitDisbursements + '")\n';
|
|
4608
4608
|
message += referencepath_benefitDisbursementsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4624,7 +4624,7 @@ function validate$D(obj, path = 'BenefitAssignmentInputRepresentation') {
|
|
|
4624
4624
|
if (obj.customFields !== undefined) {
|
|
4625
4625
|
const obj_customFields = obj.customFields;
|
|
4626
4626
|
const path_customFields = path + '.customFields';
|
|
4627
|
-
const referencepath_customFieldsValidationError = validate$
|
|
4627
|
+
const referencepath_customFieldsValidationError = validate$F(obj_customFields, path_customFields);
|
|
4628
4628
|
if (referencepath_customFieldsValidationError !== null) {
|
|
4629
4629
|
let message = 'Object doesn\'t match CustomFieldListInputRepresentation (at "' + path_customFields + '")\n';
|
|
4630
4630
|
message += referencepath_customFieldsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4695,7 +4695,7 @@ function validate$D(obj, path = 'BenefitAssignmentInputRepresentation') {
|
|
|
4695
4695
|
return v_error === undefined ? null : v_error;
|
|
4696
4696
|
}
|
|
4697
4697
|
|
|
4698
|
-
function validate$
|
|
4698
|
+
function validate$D(obj, path = 'BenefitAssignmentListInputRepresentation') {
|
|
4699
4699
|
const v_error = (() => {
|
|
4700
4700
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4701
4701
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4708,7 +4708,7 @@ function validate$C(obj, path = 'BenefitAssignmentListInputRepresentation') {
|
|
|
4708
4708
|
for (let i = 0; i < obj_records.length; i++) {
|
|
4709
4709
|
const obj_records_item = obj_records[i];
|
|
4710
4710
|
const path_records_item = path_records + '[' + i + ']';
|
|
4711
|
-
const referencepath_records_itemValidationError = validate$
|
|
4711
|
+
const referencepath_records_itemValidationError = validate$E(obj_records_item, path_records_item);
|
|
4712
4712
|
if (referencepath_records_itemValidationError !== null) {
|
|
4713
4713
|
let message = 'Object doesn\'t match BenefitAssignmentInputRepresentation (at "' + path_records_item + '")\n';
|
|
4714
4714
|
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4719,7 +4719,7 @@ function validate$C(obj, path = 'BenefitAssignmentListInputRepresentation') {
|
|
|
4719
4719
|
return v_error === undefined ? null : v_error;
|
|
4720
4720
|
}
|
|
4721
4721
|
|
|
4722
|
-
function validate$
|
|
4722
|
+
function validate$C(obj, path = 'GoalAssignmentInputRepresentation') {
|
|
4723
4723
|
const v_error = (() => {
|
|
4724
4724
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4725
4725
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4727,7 +4727,7 @@ function validate$B(obj, path = 'GoalAssignmentInputRepresentation') {
|
|
|
4727
4727
|
if (obj.associatedBenefitAssignments !== undefined) {
|
|
4728
4728
|
const obj_associatedBenefitAssignments = obj.associatedBenefitAssignments;
|
|
4729
4729
|
const path_associatedBenefitAssignments = path + '.associatedBenefitAssignments';
|
|
4730
|
-
const referencepath_associatedBenefitAssignmentsValidationError = validate$
|
|
4730
|
+
const referencepath_associatedBenefitAssignmentsValidationError = validate$D(obj_associatedBenefitAssignments, path_associatedBenefitAssignments);
|
|
4731
4731
|
if (referencepath_associatedBenefitAssignmentsValidationError !== null) {
|
|
4732
4732
|
let message = 'Object doesn\'t match BenefitAssignmentListInputRepresentation (at "' + path_associatedBenefitAssignments + '")\n';
|
|
4733
4733
|
message += referencepath_associatedBenefitAssignmentsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4737,7 +4737,7 @@ function validate$B(obj, path = 'GoalAssignmentInputRepresentation') {
|
|
|
4737
4737
|
if (obj.associatedSubGoalAssignments !== undefined) {
|
|
4738
4738
|
const obj_associatedSubGoalAssignments = obj.associatedSubGoalAssignments;
|
|
4739
4739
|
const path_associatedSubGoalAssignments = path + '.associatedSubGoalAssignments';
|
|
4740
|
-
const referencepath_associatedSubGoalAssignmentsValidationError = validate$
|
|
4740
|
+
const referencepath_associatedSubGoalAssignmentsValidationError = validate$B(obj_associatedSubGoalAssignments, path_associatedSubGoalAssignments);
|
|
4741
4741
|
if (referencepath_associatedSubGoalAssignmentsValidationError !== null) {
|
|
4742
4742
|
let message = 'Object doesn\'t match GoalAssignmentListInputRepresentation (at "' + path_associatedSubGoalAssignments + '")\n';
|
|
4743
4743
|
message += referencepath_associatedSubGoalAssignmentsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4757,7 +4757,7 @@ function validate$B(obj, path = 'GoalAssignmentInputRepresentation') {
|
|
|
4757
4757
|
if (obj.customFields !== undefined) {
|
|
4758
4758
|
const obj_customFields = obj.customFields;
|
|
4759
4759
|
const path_customFields = path + '.customFields';
|
|
4760
|
-
const referencepath_customFieldsValidationError = validate$
|
|
4760
|
+
const referencepath_customFieldsValidationError = validate$F(obj_customFields, path_customFields);
|
|
4761
4761
|
if (referencepath_customFieldsValidationError !== null) {
|
|
4762
4762
|
let message = 'Object doesn\'t match CustomFieldListInputRepresentation (at "' + path_customFields + '")\n';
|
|
4763
4763
|
message += referencepath_customFieldsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4781,7 +4781,7 @@ function validate$B(obj, path = 'GoalAssignmentInputRepresentation') {
|
|
|
4781
4781
|
if (obj.goalAssignmentTasks !== undefined) {
|
|
4782
4782
|
const obj_goalAssignmentTasks = obj.goalAssignmentTasks;
|
|
4783
4783
|
const path_goalAssignmentTasks = path + '.goalAssignmentTasks';
|
|
4784
|
-
const referencepath_goalAssignmentTasksValidationError = validate$
|
|
4784
|
+
const referencepath_goalAssignmentTasksValidationError = validate$J(obj_goalAssignmentTasks, path_goalAssignmentTasks);
|
|
4785
4785
|
if (referencepath_goalAssignmentTasksValidationError !== null) {
|
|
4786
4786
|
let message = 'Object doesn\'t match CarePlanTaskInputRepresentation (at "' + path_goalAssignmentTasks + '")\n';
|
|
4787
4787
|
message += referencepath_goalAssignmentTasksValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4832,7 +4832,7 @@ function validate$B(obj, path = 'GoalAssignmentInputRepresentation') {
|
|
|
4832
4832
|
return v_error === undefined ? null : v_error;
|
|
4833
4833
|
}
|
|
4834
4834
|
|
|
4835
|
-
function validate$
|
|
4835
|
+
function validate$B(obj, path = 'GoalAssignmentListInputRepresentation') {
|
|
4836
4836
|
const v_error = (() => {
|
|
4837
4837
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4838
4838
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4845,7 +4845,7 @@ function validate$A(obj, path = 'GoalAssignmentListInputRepresentation') {
|
|
|
4845
4845
|
for (let i = 0; i < obj_records.length; i++) {
|
|
4846
4846
|
const obj_records_item = obj_records[i];
|
|
4847
4847
|
const path_records_item = path_records + '[' + i + ']';
|
|
4848
|
-
const referencepath_records_itemValidationError = validate$
|
|
4848
|
+
const referencepath_records_itemValidationError = validate$C(obj_records_item, path_records_item);
|
|
4849
4849
|
if (referencepath_records_itemValidationError !== null) {
|
|
4850
4850
|
let message = 'Object doesn\'t match GoalAssignmentInputRepresentation (at "' + path_records_item + '")\n';
|
|
4851
4851
|
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4856,7 +4856,7 @@ function validate$A(obj, path = 'GoalAssignmentListInputRepresentation') {
|
|
|
4856
4856
|
return v_error === undefined ? null : v_error;
|
|
4857
4857
|
}
|
|
4858
4858
|
|
|
4859
|
-
function validate$
|
|
4859
|
+
function validate$A(obj, path = 'CarePlanInputRepresentation') {
|
|
4860
4860
|
const v_error = (() => {
|
|
4861
4861
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4862
4862
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4864,7 +4864,7 @@ function validate$z(obj, path = 'CarePlanInputRepresentation') {
|
|
|
4864
4864
|
if (obj.benefitAssignments !== undefined) {
|
|
4865
4865
|
const obj_benefitAssignments = obj.benefitAssignments;
|
|
4866
4866
|
const path_benefitAssignments = path + '.benefitAssignments';
|
|
4867
|
-
const referencepath_benefitAssignmentsValidationError = validate$
|
|
4867
|
+
const referencepath_benefitAssignmentsValidationError = validate$D(obj_benefitAssignments, path_benefitAssignments);
|
|
4868
4868
|
if (referencepath_benefitAssignmentsValidationError !== null) {
|
|
4869
4869
|
let message = 'Object doesn\'t match BenefitAssignmentListInputRepresentation (at "' + path_benefitAssignments + '")\n';
|
|
4870
4870
|
message += referencepath_benefitAssignmentsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4874,7 +4874,7 @@ function validate$z(obj, path = 'CarePlanInputRepresentation') {
|
|
|
4874
4874
|
if (obj.carePlanTasks !== undefined) {
|
|
4875
4875
|
const obj_carePlanTasks = obj.carePlanTasks;
|
|
4876
4876
|
const path_carePlanTasks = path + '.carePlanTasks';
|
|
4877
|
-
const referencepath_carePlanTasksValidationError = validate$
|
|
4877
|
+
const referencepath_carePlanTasksValidationError = validate$J(obj_carePlanTasks, path_carePlanTasks);
|
|
4878
4878
|
if (referencepath_carePlanTasksValidationError !== null) {
|
|
4879
4879
|
let message = 'Object doesn\'t match CarePlanTaskInputRepresentation (at "' + path_carePlanTasks + '")\n';
|
|
4880
4880
|
message += referencepath_carePlanTasksValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4896,7 +4896,7 @@ function validate$z(obj, path = 'CarePlanInputRepresentation') {
|
|
|
4896
4896
|
if (obj.customFields !== undefined) {
|
|
4897
4897
|
const obj_customFields = obj.customFields;
|
|
4898
4898
|
const path_customFields = path + '.customFields';
|
|
4899
|
-
const referencepath_customFieldsValidationError = validate$
|
|
4899
|
+
const referencepath_customFieldsValidationError = validate$F(obj_customFields, path_customFields);
|
|
4900
4900
|
if (referencepath_customFieldsValidationError !== null) {
|
|
4901
4901
|
let message = 'Object doesn\'t match CustomFieldListInputRepresentation (at "' + path_customFields + '")\n';
|
|
4902
4902
|
message += referencepath_customFieldsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4920,7 +4920,7 @@ function validate$z(obj, path = 'CarePlanInputRepresentation') {
|
|
|
4920
4920
|
if (obj.goalAssignments !== undefined) {
|
|
4921
4921
|
const obj_goalAssignments = obj.goalAssignments;
|
|
4922
4922
|
const path_goalAssignments = path + '.goalAssignments';
|
|
4923
|
-
const referencepath_goalAssignmentsValidationError = validate$
|
|
4923
|
+
const referencepath_goalAssignmentsValidationError = validate$B(obj_goalAssignments, path_goalAssignments);
|
|
4924
4924
|
if (referencepath_goalAssignmentsValidationError !== null) {
|
|
4925
4925
|
let message = 'Object doesn\'t match GoalAssignmentListInputRepresentation (at "' + path_goalAssignments + '")\n';
|
|
4926
4926
|
message += referencepath_goalAssignmentsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4967,7 +4967,7 @@ function validate$z(obj, path = 'CarePlanInputRepresentation') {
|
|
|
4967
4967
|
return v_error === undefined ? null : v_error;
|
|
4968
4968
|
}
|
|
4969
4969
|
|
|
4970
|
-
function validate$
|
|
4970
|
+
function validate$z(obj, path = 'CarePlanListInputRepresentation') {
|
|
4971
4971
|
const v_error = (() => {
|
|
4972
4972
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4973
4973
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -4980,7 +4980,7 @@ function validate$y(obj, path = 'CarePlanListInputRepresentation') {
|
|
|
4980
4980
|
for (let i = 0; i < obj_records.length; i++) {
|
|
4981
4981
|
const obj_records_item = obj_records[i];
|
|
4982
4982
|
const path_records_item = path_records + '[' + i + ']';
|
|
4983
|
-
const referencepath_records_itemValidationError = validate$
|
|
4983
|
+
const referencepath_records_itemValidationError = validate$A(obj_records_item, path_records_item);
|
|
4984
4984
|
if (referencepath_records_itemValidationError !== null) {
|
|
4985
4985
|
let message = 'Object doesn\'t match CarePlanInputRepresentation (at "' + path_records_item + '")\n';
|
|
4986
4986
|
message += referencepath_records_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -4991,14 +4991,14 @@ function validate$y(obj, path = 'CarePlanListInputRepresentation') {
|
|
|
4991
4991
|
return v_error === undefined ? null : v_error;
|
|
4992
4992
|
}
|
|
4993
4993
|
|
|
4994
|
-
function validate$
|
|
4994
|
+
function validate$y(obj, path = 'CarePlanBulkInputRepresentation') {
|
|
4995
4995
|
const v_error = (() => {
|
|
4996
4996
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
4997
4997
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
4998
4998
|
}
|
|
4999
4999
|
const obj_carePlans = obj.carePlans;
|
|
5000
5000
|
const path_carePlans = path + '.carePlans';
|
|
5001
|
-
const referencepath_carePlansValidationError = validate$
|
|
5001
|
+
const referencepath_carePlansValidationError = validate$z(obj_carePlans, path_carePlans);
|
|
5002
5002
|
if (referencepath_carePlansValidationError !== null) {
|
|
5003
5003
|
let message = 'Object doesn\'t match CarePlanListInputRepresentation (at "' + path_carePlans + '")\n';
|
|
5004
5004
|
message += referencepath_carePlansValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5010,7 +5010,7 @@ function validate$x(obj, path = 'CarePlanBulkInputRepresentation') {
|
|
|
5010
5010
|
|
|
5011
5011
|
const TTL$2 = 100;
|
|
5012
5012
|
const VERSION$p = "83a45266096a71720e9049cb0f0477d6";
|
|
5013
|
-
function validate$
|
|
5013
|
+
function validate$x(obj, path = 'CarePlanBulkOutputRepresentation') {
|
|
5014
5014
|
const v_error = (() => {
|
|
5015
5015
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5016
5016
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5066,7 +5066,7 @@ function equals$p(existing, incoming) {
|
|
|
5066
5066
|
}
|
|
5067
5067
|
const ingest$c = function CarePlanBulkOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5068
5068
|
if (process.env.NODE_ENV !== 'production') {
|
|
5069
|
-
const validateError = validate$
|
|
5069
|
+
const validateError = validate$x(input);
|
|
5070
5070
|
if (validateError !== null) {
|
|
5071
5071
|
throw validateError;
|
|
5072
5072
|
}
|
|
@@ -5132,7 +5132,7 @@ const createResourceParams$d = /*#__PURE__*/ createResourceParams$n(createCarePl
|
|
|
5132
5132
|
function typeCheckConfig$d(untrustedConfig) {
|
|
5133
5133
|
const config = {};
|
|
5134
5134
|
const untrustedConfig_carePlanBulkRecord = untrustedConfig.carePlanBulkRecord;
|
|
5135
|
-
const referenceCarePlanBulkInputRepresentationValidationError = validate$
|
|
5135
|
+
const referenceCarePlanBulkInputRepresentationValidationError = validate$y(untrustedConfig_carePlanBulkRecord);
|
|
5136
5136
|
if (referenceCarePlanBulkInputRepresentationValidationError === null) {
|
|
5137
5137
|
config.carePlanBulkRecord = untrustedConfig_carePlanBulkRecord;
|
|
5138
5138
|
}
|
|
@@ -5180,7 +5180,7 @@ const createCarePlansAdapterFactory = (luvio) => {
|
|
|
5180
5180
|
};
|
|
5181
5181
|
};
|
|
5182
5182
|
|
|
5183
|
-
function validate$
|
|
5183
|
+
function validate$w(obj, path = 'MentoringBenefitAssignment') {
|
|
5184
5184
|
const v_error = (() => {
|
|
5185
5185
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5186
5186
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -5342,14 +5342,14 @@ function validate$v(obj, path = 'MentoringBenefitAssignment') {
|
|
|
5342
5342
|
}
|
|
5343
5343
|
|
|
5344
5344
|
const VERSION$o = "4056cc46e5eff095d36ae486ac5908bc";
|
|
5345
|
-
function validate$
|
|
5345
|
+
function validate$v(obj, path = 'MentoringBenefitAssignmentOutputRepresentation') {
|
|
5346
5346
|
const v_error = (() => {
|
|
5347
5347
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5348
5348
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5349
5349
|
}
|
|
5350
5350
|
const obj_mentoringBenefitAssignment = obj.mentoringBenefitAssignment;
|
|
5351
5351
|
const path_mentoringBenefitAssignment = path + '.mentoringBenefitAssignment';
|
|
5352
|
-
const referencepath_mentoringBenefitAssignmentValidationError = validate$
|
|
5352
|
+
const referencepath_mentoringBenefitAssignmentValidationError = validate$w(obj_mentoringBenefitAssignment, path_mentoringBenefitAssignment);
|
|
5353
5353
|
if (referencepath_mentoringBenefitAssignmentValidationError !== null) {
|
|
5354
5354
|
let message = 'Object doesn\'t match MentoringBenefitAssignment (at "' + path_mentoringBenefitAssignment + '")\n';
|
|
5355
5355
|
message += referencepath_mentoringBenefitAssignmentValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -5387,7 +5387,7 @@ function equals$o(existing, incoming) {
|
|
|
5387
5387
|
}
|
|
5388
5388
|
const ingest$b = function MentoringBenefitAssignmentOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
5389
5389
|
if (process.env.NODE_ENV !== 'production') {
|
|
5390
|
-
const validateError = validate$
|
|
5390
|
+
const validateError = validate$v(input);
|
|
5391
5391
|
if (validateError !== null) {
|
|
5392
5392
|
throw validateError;
|
|
5393
5393
|
}
|
|
@@ -5498,6 +5498,42 @@ const postBenefitAssignmentAdapterFactory = (luvio) => {
|
|
|
5498
5498
|
};
|
|
5499
5499
|
};
|
|
5500
5500
|
|
|
5501
|
+
function validate$u(obj, path = 'FilterConfig') {
|
|
5502
|
+
const v_error = (() => {
|
|
5503
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
5504
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
5505
|
+
}
|
|
5506
|
+
const obj_apiName = obj.apiName;
|
|
5507
|
+
const path_apiName = path + '.apiName';
|
|
5508
|
+
if (typeof obj_apiName !== 'string') {
|
|
5509
|
+
return new TypeError('Expected "string" but received "' + typeof obj_apiName + '" (at "' + path_apiName + '")');
|
|
5510
|
+
}
|
|
5511
|
+
const obj_fieldType = obj.fieldType;
|
|
5512
|
+
const path_fieldType = path + '.fieldType';
|
|
5513
|
+
if (typeof obj_fieldType !== 'string') {
|
|
5514
|
+
return new TypeError('Expected "string" but received "' + typeof obj_fieldType + '" (at "' + path_fieldType + '")');
|
|
5515
|
+
}
|
|
5516
|
+
const obj_filterValue = obj.filterValue;
|
|
5517
|
+
const path_filterValue = path + '.filterValue';
|
|
5518
|
+
if (!ArrayIsArray(obj_filterValue)) {
|
|
5519
|
+
return new TypeError('Expected "array" but received "' + typeof obj_filterValue + '" (at "' + path_filterValue + '")');
|
|
5520
|
+
}
|
|
5521
|
+
for (let i = 0; i < obj_filterValue.length; i++) {
|
|
5522
|
+
const obj_filterValue_item = obj_filterValue[i];
|
|
5523
|
+
const path_filterValue_item = path_filterValue + '[' + i + ']';
|
|
5524
|
+
if (typeof obj_filterValue_item !== 'string') {
|
|
5525
|
+
return new TypeError('Expected "string" but received "' + typeof obj_filterValue_item + '" (at "' + path_filterValue_item + '")');
|
|
5526
|
+
}
|
|
5527
|
+
}
|
|
5528
|
+
const obj_operator = obj.operator;
|
|
5529
|
+
const path_operator = path + '.operator';
|
|
5530
|
+
if (typeof obj_operator !== 'string') {
|
|
5531
|
+
return new TypeError('Expected "string" but received "' + typeof obj_operator + '" (at "' + path_operator + '")');
|
|
5532
|
+
}
|
|
5533
|
+
})();
|
|
5534
|
+
return v_error === undefined ? null : v_error;
|
|
5535
|
+
}
|
|
5536
|
+
|
|
5501
5537
|
const VERSION$n = "21bdda1d3836a2c358ee187ea8dee2b2";
|
|
5502
5538
|
function validate$t(obj, path = 'MentoringProfileOption') {
|
|
5503
5539
|
const v_error = (() => {
|
|
@@ -5617,7 +5653,7 @@ function select$x(luvio, params) {
|
|
|
5617
5653
|
return select$y();
|
|
5618
5654
|
}
|
|
5619
5655
|
function keyBuilder$j(luvio, params) {
|
|
5620
|
-
return keyPrefix + '::MentoringMatchingSelectorOutputRepresentation:(' + 'benefitAssignmentId:' + params.urlParams.benefitAssignmentId + ',' + '
|
|
5656
|
+
return keyPrefix + '::MentoringMatchingSelectorOutputRepresentation:(' + 'benefitAssignmentId:' + params.urlParams.benefitAssignmentId + ',' + '[' + params.body.filtersConfig.map(element => 'filtersConfig.apiName:' + element.apiName + '::' + 'filtersConfig.fieldType:' + element.fieldType + '::' + 'filtersConfig.operator:' + element.operator + '::' + 'filtersConfig.filterValue:' + element.filterValue).join(',') + ']' + ')';
|
|
5621
5657
|
}
|
|
5622
5658
|
function getResponseCacheKeys$b(storeKeyMap, luvio, resourceParams, response) {
|
|
5623
5659
|
getTypeCacheKeys$a(storeKeyMap, luvio, response, () => keyBuilder$j(luvio, resourceParams));
|
|
@@ -5678,7 +5714,10 @@ function typeCheckConfig$b(untrustedConfig) {
|
|
|
5678
5714
|
const untrustedConfig_filtersConfig_array = [];
|
|
5679
5715
|
for (let i = 0, arrayLength = untrustedConfig_filtersConfig.length; i < arrayLength; i++) {
|
|
5680
5716
|
const untrustedConfig_filtersConfig_item = untrustedConfig_filtersConfig[i];
|
|
5681
|
-
|
|
5717
|
+
const referenceFilterConfigValidationError = validate$u(untrustedConfig_filtersConfig_item);
|
|
5718
|
+
if (referenceFilterConfigValidationError === null) {
|
|
5719
|
+
untrustedConfig_filtersConfig_array.push(untrustedConfig_filtersConfig_item);
|
|
5720
|
+
}
|
|
5682
5721
|
}
|
|
5683
5722
|
config.filtersConfig = untrustedConfig_filtersConfig_array;
|
|
5684
5723
|
}
|
|
@@ -5765,7 +5804,7 @@ function validate$r(obj, path = 'IndividualApplicationTaskOutputRepresentation')
|
|
|
5765
5804
|
if (obj.result !== undefined) {
|
|
5766
5805
|
const obj_result = obj.result;
|
|
5767
5806
|
const path_result = path + '.result';
|
|
5768
|
-
const referencepath_resultValidationError = validate$
|
|
5807
|
+
const referencepath_resultValidationError = validate$14(obj_result, path_result);
|
|
5769
5808
|
if (referencepath_resultValidationError !== null) {
|
|
5770
5809
|
let message = 'Object doesn\'t match IndividualApplicationTask (at "' + path_result + '")\n';
|
|
5771
5810
|
message += referencepath_resultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -6581,7 +6620,7 @@ function validate$l(obj, path = 'GetNewApplicationPreliminaryDataResult') {
|
|
|
6581
6620
|
for (let i = 0; i < obj_applicants.length; i++) {
|
|
6582
6621
|
const obj_applicants_item = obj_applicants[i];
|
|
6583
6622
|
const path_applicants_item = path_applicants + '[' + i + ']';
|
|
6584
|
-
const referencepath_applicants_itemValidationError = validate$
|
|
6623
|
+
const referencepath_applicants_itemValidationError = validate$1a(obj_applicants_item, path_applicants_item);
|
|
6585
6624
|
if (referencepath_applicants_itemValidationError !== null) {
|
|
6586
6625
|
let message = 'Object doesn\'t match Applicant (at "' + path_applicants_item + '")\n';
|
|
6587
6626
|
message += referencepath_applicants_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|