@salesforce/lds-adapters-industries-identityverification 1.113.0 → 1.114.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-identityverification.js +233 -161
- package/dist/types/src/generated/adapters/createFormVerification.d.ts +3 -3
- package/dist/types/src/generated/resources/postConnectIdentityVerificationInputVerification.d.ts +3 -3
- package/dist/types/src/generated/types/FormVerificationDisplayRecordDetailsOutput.d.ts +5 -5
- package/dist/types/src/generated/types/FormVerificationFieldInputRepresentation.d.ts +5 -5
- package/dist/types/src/generated/types/FormVerificationFieldListInputRepresentation.d.ts +6 -5
- package/dist/types/src/generated/types/FormVerificationInputRepresentation.d.ts +7 -7
- package/dist/types/src/generated/types/FormVerificationRepresentation.d.ts +18 -8
- package/dist/types/src/generated/types/FormVerificationWrapperInputRepresentation.d.ts +1 -1
- package/dist/umd/es2018/industries-identityverification.js +233 -161
- package/dist/umd/es5/industries-identityverification.js +238 -164
- package/package.json +3 -3
- package/sfdc/index.js +234 -162
- package/src/raml/api.raml +33 -84
- package/src/raml/luvio.raml +1 -1
- package/dist/types/src/generated/types/FormVerificationFieldListOutputRepresentation.d.ts +0 -30
- package/dist/types/src/generated/types/FormVerificationFieldOutputRepresentation.d.ts +0 -35
- package/dist/types/src/generated/types/FormVerificationOutputRepresentation.d.ts +0 -59
- package/dist/types/src/generated/types/FormVerificationReferenceRecordDetailsOutput.d.ts +0 -32
|
@@ -82,7 +82,7 @@ function createLink(ref) {
|
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
function validate$
|
|
85
|
+
function validate$F(obj, path = 'VerifiedDetailsInputRepresentation') {
|
|
86
86
|
const v_error = (() => {
|
|
87
87
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
88
88
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -111,7 +111,7 @@ function validate$D(obj, path = 'VerifiedDetailsInputRepresentation') {
|
|
|
111
111
|
return v_error === undefined ? null : v_error;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
function validate$
|
|
114
|
+
function validate$E(obj, path = 'VerifiedDetailsListInputRepresentation') {
|
|
115
115
|
const v_error = (() => {
|
|
116
116
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
117
117
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -124,7 +124,7 @@ function validate$C(obj, path = 'VerifiedDetailsListInputRepresentation') {
|
|
|
124
124
|
for (let i = 0; i < obj_verifiedDetailsList.length; i++) {
|
|
125
125
|
const obj_verifiedDetailsList_item = obj_verifiedDetailsList[i];
|
|
126
126
|
const path_verifiedDetailsList_item = path_verifiedDetailsList + '[' + i + ']';
|
|
127
|
-
const referencepath_verifiedDetailsList_itemValidationError = validate$
|
|
127
|
+
const referencepath_verifiedDetailsList_itemValidationError = validate$F(obj_verifiedDetailsList_item, path_verifiedDetailsList_item);
|
|
128
128
|
if (referencepath_verifiedDetailsList_itemValidationError !== null) {
|
|
129
129
|
let message = 'Object doesn\'t match VerifiedDetailsInputRepresentation (at "' + path_verifiedDetailsList_item + '")\n';
|
|
130
130
|
message += referencepath_verifiedDetailsList_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -135,14 +135,14 @@ function validate$C(obj, path = 'VerifiedDetailsListInputRepresentation') {
|
|
|
135
135
|
return v_error === undefined ? null : v_error;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
function validate$
|
|
138
|
+
function validate$D(obj, path = 'SelectedVerifiedResultInputRepresentation') {
|
|
139
139
|
const v_error = (() => {
|
|
140
140
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
141
141
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
142
142
|
}
|
|
143
143
|
const obj_verifiedDetails = obj.verifiedDetails;
|
|
144
144
|
const path_verifiedDetails = path + '.verifiedDetails';
|
|
145
|
-
const referencepath_verifiedDetailsValidationError = validate$
|
|
145
|
+
const referencepath_verifiedDetailsValidationError = validate$E(obj_verifiedDetails, path_verifiedDetails);
|
|
146
146
|
if (referencepath_verifiedDetailsValidationError !== null) {
|
|
147
147
|
let message = 'Object doesn\'t match VerifiedDetailsListInputRepresentation (at "' + path_verifiedDetails + '")\n';
|
|
148
148
|
message += referencepath_verifiedDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -152,7 +152,7 @@ function validate$B(obj, path = 'SelectedVerifiedResultInputRepresentation') {
|
|
|
152
152
|
return v_error === undefined ? null : v_error;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
function validate$
|
|
155
|
+
function validate$C(obj, path = 'BuildVerificationContextInputRepresentation') {
|
|
156
156
|
const v_error = (() => {
|
|
157
157
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
158
158
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -174,7 +174,7 @@ function validate$A(obj, path = 'BuildVerificationContextInputRepresentation') {
|
|
|
174
174
|
}
|
|
175
175
|
const obj_selectedVerifiedResult = obj.selectedVerifiedResult;
|
|
176
176
|
const path_selectedVerifiedResult = path + '.selectedVerifiedResult';
|
|
177
|
-
const referencepath_selectedVerifiedResultValidationError = validate$
|
|
177
|
+
const referencepath_selectedVerifiedResultValidationError = validate$D(obj_selectedVerifiedResult, path_selectedVerifiedResult);
|
|
178
178
|
if (referencepath_selectedVerifiedResultValidationError !== null) {
|
|
179
179
|
let message = 'Object doesn\'t match SelectedVerifiedResultInputRepresentation (at "' + path_selectedVerifiedResult + '")\n';
|
|
180
180
|
message += referencepath_selectedVerifiedResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -185,7 +185,7 @@ function validate$A(obj, path = 'BuildVerificationContextInputRepresentation') {
|
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
const VERSION$j = "c595fd97010460844d185ee75e1583dd";
|
|
188
|
-
function validate$
|
|
188
|
+
function validate$B(obj, path = 'VerificationProcessFieldOutputRepresentation') {
|
|
189
189
|
const v_error = (() => {
|
|
190
190
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
191
191
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -319,7 +319,7 @@ function equals$j(existing, incoming) {
|
|
|
319
319
|
}
|
|
320
320
|
|
|
321
321
|
const VERSION$i = "0310ab1b6460c0c1d3e08e7d3b6232e6";
|
|
322
|
-
function validate$
|
|
322
|
+
function validate$A(obj, path = 'VerificationProcessFieldListOutputRepresentation') {
|
|
323
323
|
const v_error = (() => {
|
|
324
324
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
325
325
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -332,7 +332,7 @@ function validate$y(obj, path = 'VerificationProcessFieldListOutputRepresentatio
|
|
|
332
332
|
for (let i = 0; i < obj_verificationProcessFields.length; i++) {
|
|
333
333
|
const obj_verificationProcessFields_item = obj_verificationProcessFields[i];
|
|
334
334
|
const path_verificationProcessFields_item = path_verificationProcessFields + '[' + i + ']';
|
|
335
|
-
const referencepath_verificationProcessFields_itemValidationError = validate$
|
|
335
|
+
const referencepath_verificationProcessFields_itemValidationError = validate$B(obj_verificationProcessFields_item, path_verificationProcessFields_item);
|
|
336
336
|
if (referencepath_verificationProcessFields_itemValidationError !== null) {
|
|
337
337
|
let message = 'Object doesn\'t match VerificationProcessFieldOutputRepresentation (at "' + path_verificationProcessFields_item + '")\n';
|
|
338
338
|
message += referencepath_verificationProcessFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -373,7 +373,7 @@ function equals$i(existing, incoming) {
|
|
|
373
373
|
}
|
|
374
374
|
|
|
375
375
|
const VERSION$h = "9219dba4840bf4da4a41add2d5913d0e";
|
|
376
|
-
function validate$
|
|
376
|
+
function validate$z(obj, path = 'ProcessDetailOutputRepresentation') {
|
|
377
377
|
const v_error = (() => {
|
|
378
378
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
379
379
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -450,7 +450,7 @@ function validate$x(obj, path = 'ProcessDetailOutputRepresentation') {
|
|
|
450
450
|
}
|
|
451
451
|
const obj_verificationProcessFieldList = obj.verificationProcessFieldList;
|
|
452
452
|
const path_verificationProcessFieldList = path + '.verificationProcessFieldList';
|
|
453
|
-
const referencepath_verificationProcessFieldListValidationError = validate$
|
|
453
|
+
const referencepath_verificationProcessFieldListValidationError = validate$A(obj_verificationProcessFieldList, path_verificationProcessFieldList);
|
|
454
454
|
if (referencepath_verificationProcessFieldListValidationError !== null) {
|
|
455
455
|
let message = 'Object doesn\'t match VerificationProcessFieldListOutputRepresentation (at "' + path_verificationProcessFieldList + '")\n';
|
|
456
456
|
message += referencepath_verificationProcessFieldListValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -610,7 +610,7 @@ function equals$h(existing, incoming) {
|
|
|
610
610
|
}
|
|
611
611
|
|
|
612
612
|
const VERSION$g = "f7df3d7baee20ea55d31cd2684bcd53c";
|
|
613
|
-
function validate$
|
|
613
|
+
function validate$y(obj, path = 'ProcessDefinitionOutputRepresentation') {
|
|
614
614
|
const v_error = (() => {
|
|
615
615
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
616
616
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -628,7 +628,7 @@ function validate$w(obj, path = 'ProcessDefinitionOutputRepresentation') {
|
|
|
628
628
|
for (let i = 0; i < obj_processDetail.length; i++) {
|
|
629
629
|
const obj_processDetail_item = obj_processDetail[i];
|
|
630
630
|
const path_processDetail_item = path_processDetail + '[' + i + ']';
|
|
631
|
-
const referencepath_processDetail_itemValidationError = validate$
|
|
631
|
+
const referencepath_processDetail_itemValidationError = validate$z(obj_processDetail_item, path_processDetail_item);
|
|
632
632
|
if (referencepath_processDetail_itemValidationError !== null) {
|
|
633
633
|
let message = 'Object doesn\'t match ProcessDetailOutputRepresentation (at "' + path_processDetail_item + '")\n';
|
|
634
634
|
message += referencepath_processDetail_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -678,7 +678,7 @@ function equals$g(existing, incoming) {
|
|
|
678
678
|
}
|
|
679
679
|
|
|
680
680
|
const VERSION$f = "8b8bce7690509ff818bf0ca770bf2b1a";
|
|
681
|
-
function validate$
|
|
681
|
+
function validate$x(obj, path = 'FieldValueOutputRepresentation') {
|
|
682
682
|
const v_error = (() => {
|
|
683
683
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
684
684
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -728,7 +728,7 @@ function equals$f(existing, incoming) {
|
|
|
728
728
|
}
|
|
729
729
|
|
|
730
730
|
const VERSION$e = "93eaa497fcedcc99a5063892dd5a4efa";
|
|
731
|
-
function validate$
|
|
731
|
+
function validate$w(obj, path = 'SelectedSearchResultOutputRepresentation') {
|
|
732
732
|
const v_error = (() => {
|
|
733
733
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
734
734
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -751,7 +751,7 @@ function validate$u(obj, path = 'SelectedSearchResultOutputRepresentation') {
|
|
|
751
751
|
for (let i = 0; i < obj_selectedRecordObject.length; i++) {
|
|
752
752
|
const obj_selectedRecordObject_item = obj_selectedRecordObject[i];
|
|
753
753
|
const path_selectedRecordObject_item = path_selectedRecordObject + '[' + i + ']';
|
|
754
|
-
const referencepath_selectedRecordObject_itemValidationError = validate$
|
|
754
|
+
const referencepath_selectedRecordObject_itemValidationError = validate$x(obj_selectedRecordObject_item, path_selectedRecordObject_item);
|
|
755
755
|
if (referencepath_selectedRecordObject_itemValidationError !== null) {
|
|
756
756
|
let message = 'Object doesn\'t match FieldValueOutputRepresentation (at "' + path_selectedRecordObject_item + '")\n';
|
|
757
757
|
message += referencepath_selectedRecordObject_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -810,7 +810,7 @@ function equals$e(existing, incoming) {
|
|
|
810
810
|
}
|
|
811
811
|
|
|
812
812
|
const VERSION$d = "807aef2a41531744385e6daf017c105d";
|
|
813
|
-
function validate$
|
|
813
|
+
function validate$v(obj, path = 'VerifiedDetailsOutputRepresentation') {
|
|
814
814
|
const v_error = (() => {
|
|
815
815
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
816
816
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -888,7 +888,7 @@ function equals$d(existing, incoming) {
|
|
|
888
888
|
}
|
|
889
889
|
|
|
890
890
|
const VERSION$c = "4bbadbef0266aa9adde4b601bd5177dc";
|
|
891
|
-
function validate$
|
|
891
|
+
function validate$u(obj, path = 'SelectedVerifiedResultOutputRepresentation') {
|
|
892
892
|
const v_error = (() => {
|
|
893
893
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
894
894
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -901,7 +901,7 @@ function validate$s(obj, path = 'SelectedVerifiedResultOutputRepresentation') {
|
|
|
901
901
|
for (let i = 0; i < obj_verifiedDetails.length; i++) {
|
|
902
902
|
const obj_verifiedDetails_item = obj_verifiedDetails[i];
|
|
903
903
|
const path_verifiedDetails_item = path_verifiedDetails + '[' + i + ']';
|
|
904
|
-
const referencepath_verifiedDetails_itemValidationError = validate$
|
|
904
|
+
const referencepath_verifiedDetails_itemValidationError = validate$v(obj_verifiedDetails_item, path_verifiedDetails_item);
|
|
905
905
|
if (referencepath_verifiedDetails_itemValidationError !== null) {
|
|
906
906
|
let message = 'Object doesn\'t match VerifiedDetailsOutputRepresentation (at "' + path_verifiedDetails_item + '")\n';
|
|
907
907
|
message += referencepath_verifiedDetails_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -942,7 +942,7 @@ function equals$c(existing, incoming) {
|
|
|
942
942
|
}
|
|
943
943
|
|
|
944
944
|
const VERSION$b = "d7c13d76eec0847fef3be5346f7c046d";
|
|
945
|
-
function validate$
|
|
945
|
+
function validate$t(obj, path = 'VerifierOutputRepresentation') {
|
|
946
946
|
const v_error = (() => {
|
|
947
947
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
948
948
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -992,7 +992,7 @@ function equals$b(existing, incoming) {
|
|
|
992
992
|
}
|
|
993
993
|
|
|
994
994
|
const VERSION$a = "c623247a0177dab9de9c9dbb1ced9bcc";
|
|
995
|
-
function validate$
|
|
995
|
+
function validate$s(obj, path = 'VerifiedResultOutputRepresentation') {
|
|
996
996
|
const v_error = (() => {
|
|
997
997
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
998
998
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1005,7 +1005,7 @@ function validate$q(obj, path = 'VerifiedResultOutputRepresentation') {
|
|
|
1005
1005
|
for (let i = 0; i < obj_optionalVerifiers.length; i++) {
|
|
1006
1006
|
const obj_optionalVerifiers_item = obj_optionalVerifiers[i];
|
|
1007
1007
|
const path_optionalVerifiers_item = path_optionalVerifiers + '[' + i + ']';
|
|
1008
|
-
const referencepath_optionalVerifiers_itemValidationError = validate$
|
|
1008
|
+
const referencepath_optionalVerifiers_itemValidationError = validate$t(obj_optionalVerifiers_item, path_optionalVerifiers_item);
|
|
1009
1009
|
if (referencepath_optionalVerifiers_itemValidationError !== null) {
|
|
1010
1010
|
let message = 'Object doesn\'t match VerifierOutputRepresentation (at "' + path_optionalVerifiers_item + '")\n';
|
|
1011
1011
|
message += referencepath_optionalVerifiers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1020,7 +1020,7 @@ function validate$q(obj, path = 'VerifiedResultOutputRepresentation') {
|
|
|
1020
1020
|
for (let i = 0; i < obj_requiredVerifiers.length; i++) {
|
|
1021
1021
|
const obj_requiredVerifiers_item = obj_requiredVerifiers[i];
|
|
1022
1022
|
const path_requiredVerifiers_item = path_requiredVerifiers + '[' + i + ']';
|
|
1023
|
-
const referencepath_requiredVerifiers_itemValidationError = validate$
|
|
1023
|
+
const referencepath_requiredVerifiers_itemValidationError = validate$t(obj_requiredVerifiers_item, path_requiredVerifiers_item);
|
|
1024
1024
|
if (referencepath_requiredVerifiers_itemValidationError !== null) {
|
|
1025
1025
|
let message = 'Object doesn\'t match VerifierOutputRepresentation (at "' + path_requiredVerifiers_item + '")\n';
|
|
1026
1026
|
message += referencepath_requiredVerifiers_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1078,7 +1078,7 @@ function equals$a(existing, incoming) {
|
|
|
1078
1078
|
|
|
1079
1079
|
const TTL$2 = 300;
|
|
1080
1080
|
const VERSION$9 = "4f545b10a56df76ef87654b567d69cd6";
|
|
1081
|
-
function validate$
|
|
1081
|
+
function validate$r(obj, path = 'VerificationContextOutputRepresentation') {
|
|
1082
1082
|
const v_error = (() => {
|
|
1083
1083
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1084
1084
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1095,7 +1095,7 @@ function validate$p(obj, path = 'VerificationContextOutputRepresentation') {
|
|
|
1095
1095
|
}
|
|
1096
1096
|
const obj_processDefinition = obj.processDefinition;
|
|
1097
1097
|
const path_processDefinition = path + '.processDefinition';
|
|
1098
|
-
const referencepath_processDefinitionValidationError = validate$
|
|
1098
|
+
const referencepath_processDefinitionValidationError = validate$y(obj_processDefinition, path_processDefinition);
|
|
1099
1099
|
if (referencepath_processDefinitionValidationError !== null) {
|
|
1100
1100
|
let message = 'Object doesn\'t match ProcessDefinitionOutputRepresentation (at "' + path_processDefinition + '")\n';
|
|
1101
1101
|
message += referencepath_processDefinitionValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1103,7 +1103,7 @@ function validate$p(obj, path = 'VerificationContextOutputRepresentation') {
|
|
|
1103
1103
|
}
|
|
1104
1104
|
const obj_selectedSearchResult = obj.selectedSearchResult;
|
|
1105
1105
|
const path_selectedSearchResult = path + '.selectedSearchResult';
|
|
1106
|
-
const referencepath_selectedSearchResultValidationError = validate$
|
|
1106
|
+
const referencepath_selectedSearchResultValidationError = validate$w(obj_selectedSearchResult, path_selectedSearchResult);
|
|
1107
1107
|
if (referencepath_selectedSearchResultValidationError !== null) {
|
|
1108
1108
|
let message = 'Object doesn\'t match SelectedSearchResultOutputRepresentation (at "' + path_selectedSearchResult + '")\n';
|
|
1109
1109
|
message += referencepath_selectedSearchResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1111,7 +1111,7 @@ function validate$p(obj, path = 'VerificationContextOutputRepresentation') {
|
|
|
1111
1111
|
}
|
|
1112
1112
|
const obj_selectedVerifiedResult = obj.selectedVerifiedResult;
|
|
1113
1113
|
const path_selectedVerifiedResult = path + '.selectedVerifiedResult';
|
|
1114
|
-
const referencepath_selectedVerifiedResultValidationError = validate$
|
|
1114
|
+
const referencepath_selectedVerifiedResultValidationError = validate$u(obj_selectedVerifiedResult, path_selectedVerifiedResult);
|
|
1115
1115
|
if (referencepath_selectedVerifiedResultValidationError !== null) {
|
|
1116
1116
|
let message = 'Object doesn\'t match SelectedVerifiedResultOutputRepresentation (at "' + path_selectedVerifiedResult + '")\n';
|
|
1117
1117
|
message += referencepath_selectedVerifiedResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1119,7 +1119,7 @@ function validate$p(obj, path = 'VerificationContextOutputRepresentation') {
|
|
|
1119
1119
|
}
|
|
1120
1120
|
const obj_verifiedResult = obj.verifiedResult;
|
|
1121
1121
|
const path_verifiedResult = path + '.verifiedResult';
|
|
1122
|
-
const referencepath_verifiedResultValidationError = validate$
|
|
1122
|
+
const referencepath_verifiedResultValidationError = validate$s(obj_verifiedResult, path_verifiedResult);
|
|
1123
1123
|
if (referencepath_verifiedResultValidationError !== null) {
|
|
1124
1124
|
let message = 'Object doesn\'t match VerifiedResultOutputRepresentation (at "' + path_verifiedResult + '")\n';
|
|
1125
1125
|
message += referencepath_verifiedResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1217,7 +1217,7 @@ function equals$9(existing, incoming) {
|
|
|
1217
1217
|
}
|
|
1218
1218
|
const ingest$2 = function VerificationContextOutputRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1219
1219
|
if (process.env.NODE_ENV !== 'production') {
|
|
1220
|
-
const validateError = validate$
|
|
1220
|
+
const validateError = validate$r(input);
|
|
1221
1221
|
if (validateError !== null) {
|
|
1222
1222
|
throw validateError;
|
|
1223
1223
|
}
|
|
@@ -1318,7 +1318,7 @@ function typeCheckConfig$3(untrustedConfig) {
|
|
|
1318
1318
|
config.processDefinitionName = untrustedConfig_processDefinitionName;
|
|
1319
1319
|
}
|
|
1320
1320
|
const untrustedConfig_BuildContextData = untrustedConfig.BuildContextData;
|
|
1321
|
-
const referenceBuildVerificationContextInputRepresentationValidationError = validate$
|
|
1321
|
+
const referenceBuildVerificationContextInputRepresentationValidationError = validate$C(untrustedConfig_BuildContextData);
|
|
1322
1322
|
if (referenceBuildVerificationContextInputRepresentationValidationError === null) {
|
|
1323
1323
|
config.BuildContextData = untrustedConfig_BuildContextData;
|
|
1324
1324
|
}
|
|
@@ -1362,8 +1362,135 @@ const buildVerificationContextAdapterFactory = (luvio) => {
|
|
|
1362
1362
|
};
|
|
1363
1363
|
};
|
|
1364
1364
|
|
|
1365
|
-
|
|
1366
|
-
|
|
1365
|
+
function validate$q(obj, path = 'FormVerificationFieldInputRepresentation') {
|
|
1366
|
+
const v_error = (() => {
|
|
1367
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1368
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1369
|
+
}
|
|
1370
|
+
const obj_developerName = obj.developerName;
|
|
1371
|
+
const path_developerName = path + '.developerName';
|
|
1372
|
+
if (typeof obj_developerName !== 'string') {
|
|
1373
|
+
return new TypeError('Expected "string" but received "' + typeof obj_developerName + '" (at "' + path_developerName + '")');
|
|
1374
|
+
}
|
|
1375
|
+
if (obj.isVerified !== undefined) {
|
|
1376
|
+
const obj_isVerified = obj.isVerified;
|
|
1377
|
+
const path_isVerified = path + '.isVerified';
|
|
1378
|
+
if (typeof obj_isVerified !== 'boolean') {
|
|
1379
|
+
return new TypeError('Expected "boolean" but received "' + typeof obj_isVerified + '" (at "' + path_isVerified + '")');
|
|
1380
|
+
}
|
|
1381
|
+
}
|
|
1382
|
+
const obj_value = obj.value;
|
|
1383
|
+
const path_value = path + '.value';
|
|
1384
|
+
if (typeof obj_value !== 'string') {
|
|
1385
|
+
return new TypeError('Expected "string" but received "' + typeof obj_value + '" (at "' + path_value + '")');
|
|
1386
|
+
}
|
|
1387
|
+
})();
|
|
1388
|
+
return v_error === undefined ? null : v_error;
|
|
1389
|
+
}
|
|
1390
|
+
|
|
1391
|
+
function validate$p(obj, path = 'FormVerificationFieldListInputRepresentation') {
|
|
1392
|
+
const v_error = (() => {
|
|
1393
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1394
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1395
|
+
}
|
|
1396
|
+
const obj_formVerificationFields = obj.formVerificationFields;
|
|
1397
|
+
const path_formVerificationFields = path + '.formVerificationFields';
|
|
1398
|
+
if (!ArrayIsArray(obj_formVerificationFields)) {
|
|
1399
|
+
return new TypeError('Expected "array" but received "' + typeof obj_formVerificationFields + '" (at "' + path_formVerificationFields + '")');
|
|
1400
|
+
}
|
|
1401
|
+
for (let i = 0; i < obj_formVerificationFields.length; i++) {
|
|
1402
|
+
const obj_formVerificationFields_item = obj_formVerificationFields[i];
|
|
1403
|
+
const path_formVerificationFields_item = path_formVerificationFields + '[' + i + ']';
|
|
1404
|
+
const referencepath_formVerificationFields_itemValidationError = validate$q(obj_formVerificationFields_item, path_formVerificationFields_item);
|
|
1405
|
+
if (referencepath_formVerificationFields_itemValidationError !== null) {
|
|
1406
|
+
let message = 'Object doesn\'t match FormVerificationFieldInputRepresentation (at "' + path_formVerificationFields_item + '")\n';
|
|
1407
|
+
message += referencepath_formVerificationFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1408
|
+
return new TypeError(message);
|
|
1409
|
+
}
|
|
1410
|
+
}
|
|
1411
|
+
})();
|
|
1412
|
+
return v_error === undefined ? null : v_error;
|
|
1413
|
+
}
|
|
1414
|
+
|
|
1415
|
+
function validate$o(obj, path = 'FormVerificationInputRepresentation') {
|
|
1416
|
+
const v_error = (() => {
|
|
1417
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1418
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1419
|
+
}
|
|
1420
|
+
const obj_developerName = obj.developerName;
|
|
1421
|
+
const path_developerName = path + '.developerName';
|
|
1422
|
+
if (typeof obj_developerName !== 'string') {
|
|
1423
|
+
return new TypeError('Expected "string" but received "' + typeof obj_developerName + '" (at "' + path_developerName + '")');
|
|
1424
|
+
}
|
|
1425
|
+
const obj_formVerificationFieldList = obj.formVerificationFieldList;
|
|
1426
|
+
const path_formVerificationFieldList = path + '.formVerificationFieldList';
|
|
1427
|
+
const referencepath_formVerificationFieldListValidationError = validate$p(obj_formVerificationFieldList, path_formVerificationFieldList);
|
|
1428
|
+
if (referencepath_formVerificationFieldListValidationError !== null) {
|
|
1429
|
+
let message = 'Object doesn\'t match FormVerificationFieldListInputRepresentation (at "' + path_formVerificationFieldList + '")\n';
|
|
1430
|
+
message += referencepath_formVerificationFieldListValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1431
|
+
return new TypeError(message);
|
|
1432
|
+
}
|
|
1433
|
+
const obj_selectedRecordId = obj.selectedRecordId;
|
|
1434
|
+
const path_selectedRecordId = path + '.selectedRecordId';
|
|
1435
|
+
if (typeof obj_selectedRecordId !== 'string') {
|
|
1436
|
+
return new TypeError('Expected "string" but received "' + typeof obj_selectedRecordId + '" (at "' + path_selectedRecordId + '")');
|
|
1437
|
+
}
|
|
1438
|
+
})();
|
|
1439
|
+
return v_error === undefined ? null : v_error;
|
|
1440
|
+
}
|
|
1441
|
+
|
|
1442
|
+
const VERSION$8 = "ef681763a1171206ad0888b23ec93987";
|
|
1443
|
+
function validate$n(obj, path = 'FormVerificationDisplayRecordDetailsOutput') {
|
|
1444
|
+
const v_error = (() => {
|
|
1445
|
+
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1446
|
+
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1447
|
+
}
|
|
1448
|
+
const obj_displayRecordId = obj.displayRecordId;
|
|
1449
|
+
const path_displayRecordId = path + '.displayRecordId';
|
|
1450
|
+
if (typeof obj_displayRecordId !== 'string') {
|
|
1451
|
+
return new TypeError('Expected "string" but received "' + typeof obj_displayRecordId + '" (at "' + path_displayRecordId + '")');
|
|
1452
|
+
}
|
|
1453
|
+
const obj_displayRecordName = obj.displayRecordName;
|
|
1454
|
+
const path_displayRecordName = path + '.displayRecordName';
|
|
1455
|
+
if (typeof obj_displayRecordName !== 'string') {
|
|
1456
|
+
return new TypeError('Expected "string" but received "' + typeof obj_displayRecordName + '" (at "' + path_displayRecordName + '")');
|
|
1457
|
+
}
|
|
1458
|
+
})();
|
|
1459
|
+
return v_error === undefined ? null : v_error;
|
|
1460
|
+
}
|
|
1461
|
+
const select$b = function FormVerificationDisplayRecordDetailsOutputSelect() {
|
|
1462
|
+
return {
|
|
1463
|
+
kind: 'Fragment',
|
|
1464
|
+
version: VERSION$8,
|
|
1465
|
+
private: [],
|
|
1466
|
+
selections: [
|
|
1467
|
+
{
|
|
1468
|
+
name: 'displayRecordId',
|
|
1469
|
+
kind: 'Scalar'
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
name: 'displayRecordName',
|
|
1473
|
+
kind: 'Scalar'
|
|
1474
|
+
}
|
|
1475
|
+
]
|
|
1476
|
+
};
|
|
1477
|
+
};
|
|
1478
|
+
function equals$8(existing, incoming) {
|
|
1479
|
+
const existing_displayRecordId = existing.displayRecordId;
|
|
1480
|
+
const incoming_displayRecordId = incoming.displayRecordId;
|
|
1481
|
+
if (!(existing_displayRecordId === incoming_displayRecordId)) {
|
|
1482
|
+
return false;
|
|
1483
|
+
}
|
|
1484
|
+
const existing_displayRecordName = existing.displayRecordName;
|
|
1485
|
+
const incoming_displayRecordName = incoming.displayRecordName;
|
|
1486
|
+
if (!(existing_displayRecordName === incoming_displayRecordName)) {
|
|
1487
|
+
return false;
|
|
1488
|
+
}
|
|
1489
|
+
return true;
|
|
1490
|
+
}
|
|
1491
|
+
|
|
1492
|
+
const VERSION$7 = "f01ce6bc5355ddc996ea31df0112bc7a";
|
|
1493
|
+
function validate$m(obj, path = 'FormVerificationFieldRepresentation') {
|
|
1367
1494
|
const v_error = (() => {
|
|
1368
1495
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1369
1496
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1386,10 +1513,10 @@ function validate$o(obj, path = 'FormVerificationFieldOutputRepresentation') {
|
|
|
1386
1513
|
})();
|
|
1387
1514
|
return v_error === undefined ? null : v_error;
|
|
1388
1515
|
}
|
|
1389
|
-
const select$
|
|
1516
|
+
const select$a = function FormVerificationFieldRepresentationSelect() {
|
|
1390
1517
|
return {
|
|
1391
1518
|
kind: 'Fragment',
|
|
1392
|
-
version: VERSION$
|
|
1519
|
+
version: VERSION$7,
|
|
1393
1520
|
private: [],
|
|
1394
1521
|
selections: [
|
|
1395
1522
|
{
|
|
@@ -1407,7 +1534,7 @@ const select$b = function FormVerificationFieldOutputRepresentationSelect() {
|
|
|
1407
1534
|
]
|
|
1408
1535
|
};
|
|
1409
1536
|
};
|
|
1410
|
-
function equals$
|
|
1537
|
+
function equals$7(existing, incoming) {
|
|
1411
1538
|
const existing_isVerified = existing.isVerified;
|
|
1412
1539
|
const incoming_isVerified = incoming.isVerified;
|
|
1413
1540
|
if (!(existing_isVerified === incoming_isVerified)) {
|
|
@@ -1426,8 +1553,8 @@ function equals$8(existing, incoming) {
|
|
|
1426
1553
|
return true;
|
|
1427
1554
|
}
|
|
1428
1555
|
|
|
1429
|
-
const VERSION$
|
|
1430
|
-
function validate$
|
|
1556
|
+
const VERSION$6 = "4e3f9eb970bab962e1a9efd87a60ae23";
|
|
1557
|
+
function validate$l(obj, path = 'FormVerificationFieldListRepresentation') {
|
|
1431
1558
|
const v_error = (() => {
|
|
1432
1559
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1433
1560
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1440,9 +1567,9 @@ function validate$n(obj, path = 'FormVerificationFieldListOutputRepresentation')
|
|
|
1440
1567
|
for (let i = 0; i < obj_formVerificationFields.length; i++) {
|
|
1441
1568
|
const obj_formVerificationFields_item = obj_formVerificationFields[i];
|
|
1442
1569
|
const path_formVerificationFields_item = path_formVerificationFields + '[' + i + ']';
|
|
1443
|
-
const referencepath_formVerificationFields_itemValidationError = validate$
|
|
1570
|
+
const referencepath_formVerificationFields_itemValidationError = validate$m(obj_formVerificationFields_item, path_formVerificationFields_item);
|
|
1444
1571
|
if (referencepath_formVerificationFields_itemValidationError !== null) {
|
|
1445
|
-
let message = 'Object doesn\'t match
|
|
1572
|
+
let message = 'Object doesn\'t match FormVerificationFieldRepresentation (at "' + path_formVerificationFields_item + '")\n';
|
|
1446
1573
|
message += referencepath_formVerificationFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1447
1574
|
return new TypeError(message);
|
|
1448
1575
|
}
|
|
@@ -1450,27 +1577,27 @@ function validate$n(obj, path = 'FormVerificationFieldListOutputRepresentation')
|
|
|
1450
1577
|
})();
|
|
1451
1578
|
return v_error === undefined ? null : v_error;
|
|
1452
1579
|
}
|
|
1453
|
-
const select$
|
|
1454
|
-
const { selections:
|
|
1580
|
+
const select$9 = function FormVerificationFieldListRepresentationSelect() {
|
|
1581
|
+
const { selections: FormVerificationFieldRepresentation__selections, opaque: FormVerificationFieldRepresentation__opaque, } = select$a();
|
|
1455
1582
|
return {
|
|
1456
1583
|
kind: 'Fragment',
|
|
1457
|
-
version: VERSION$
|
|
1584
|
+
version: VERSION$6,
|
|
1458
1585
|
private: [],
|
|
1459
1586
|
selections: [
|
|
1460
1587
|
{
|
|
1461
1588
|
name: 'formVerificationFields',
|
|
1462
1589
|
kind: 'Object',
|
|
1463
1590
|
plural: true,
|
|
1464
|
-
selections:
|
|
1591
|
+
selections: FormVerificationFieldRepresentation__selections
|
|
1465
1592
|
}
|
|
1466
1593
|
]
|
|
1467
1594
|
};
|
|
1468
1595
|
};
|
|
1469
|
-
function equals$
|
|
1596
|
+
function equals$6(existing, incoming) {
|
|
1470
1597
|
const existing_formVerificationFields = existing.formVerificationFields;
|
|
1471
1598
|
const incoming_formVerificationFields = incoming.formVerificationFields;
|
|
1472
1599
|
const equals_formVerificationFields_items = equalsArray(existing_formVerificationFields, incoming_formVerificationFields, (existing_formVerificationFields_item, incoming_formVerificationFields_item) => {
|
|
1473
|
-
if (!(equals$
|
|
1600
|
+
if (!(equals$7(existing_formVerificationFields_item, incoming_formVerificationFields_item))) {
|
|
1474
1601
|
return false;
|
|
1475
1602
|
}
|
|
1476
1603
|
});
|
|
@@ -1480,83 +1607,6 @@ function equals$7(existing, incoming) {
|
|
|
1480
1607
|
return true;
|
|
1481
1608
|
}
|
|
1482
1609
|
|
|
1483
|
-
function validate$m(obj, path = 'FormVerificationInputRepresentation') {
|
|
1484
|
-
const v_error = (() => {
|
|
1485
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1486
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1487
|
-
}
|
|
1488
|
-
const obj_developerName = obj.developerName;
|
|
1489
|
-
const path_developerName = path + '.developerName';
|
|
1490
|
-
if (typeof obj_developerName !== 'string') {
|
|
1491
|
-
return new TypeError('Expected "string" but received "' + typeof obj_developerName + '" (at "' + path_developerName + '")');
|
|
1492
|
-
}
|
|
1493
|
-
const obj_formVerificationFieldList = obj.formVerificationFieldList;
|
|
1494
|
-
const path_formVerificationFieldList = path + '.formVerificationFieldList';
|
|
1495
|
-
const referencepath_formVerificationFieldListValidationError = validate$n(obj_formVerificationFieldList, path_formVerificationFieldList);
|
|
1496
|
-
if (referencepath_formVerificationFieldListValidationError !== null) {
|
|
1497
|
-
let message = 'Object doesn\'t match FormVerificationFieldListOutputRepresentation (at "' + path_formVerificationFieldList + '")\n';
|
|
1498
|
-
message += referencepath_formVerificationFieldListValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1499
|
-
return new TypeError(message);
|
|
1500
|
-
}
|
|
1501
|
-
const obj_selectedRecordId = obj.selectedRecordId;
|
|
1502
|
-
const path_selectedRecordId = path + '.selectedRecordId';
|
|
1503
|
-
if (typeof obj_selectedRecordId !== 'string') {
|
|
1504
|
-
return new TypeError('Expected "string" but received "' + typeof obj_selectedRecordId + '" (at "' + path_selectedRecordId + '")');
|
|
1505
|
-
}
|
|
1506
|
-
})();
|
|
1507
|
-
return v_error === undefined ? null : v_error;
|
|
1508
|
-
}
|
|
1509
|
-
|
|
1510
|
-
const VERSION$6 = "a06f6cd40f6c16c76d2d7e94104e58bd";
|
|
1511
|
-
function validate$l(obj, path = 'FormVerificationReferenceRecordDetailsOutput') {
|
|
1512
|
-
const v_error = (() => {
|
|
1513
|
-
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1514
|
-
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
1515
|
-
}
|
|
1516
|
-
const obj_referenceRecordId = obj.referenceRecordId;
|
|
1517
|
-
const path_referenceRecordId = path + '.referenceRecordId';
|
|
1518
|
-
if (typeof obj_referenceRecordId !== 'string') {
|
|
1519
|
-
return new TypeError('Expected "string" but received "' + typeof obj_referenceRecordId + '" (at "' + path_referenceRecordId + '")');
|
|
1520
|
-
}
|
|
1521
|
-
const obj_referenceRecordName = obj.referenceRecordName;
|
|
1522
|
-
const path_referenceRecordName = path + '.referenceRecordName';
|
|
1523
|
-
if (typeof obj_referenceRecordName !== 'string') {
|
|
1524
|
-
return new TypeError('Expected "string" but received "' + typeof obj_referenceRecordName + '" (at "' + path_referenceRecordName + '")');
|
|
1525
|
-
}
|
|
1526
|
-
})();
|
|
1527
|
-
return v_error === undefined ? null : v_error;
|
|
1528
|
-
}
|
|
1529
|
-
const select$9 = function FormVerificationReferenceRecordDetailsOutputSelect() {
|
|
1530
|
-
return {
|
|
1531
|
-
kind: 'Fragment',
|
|
1532
|
-
version: VERSION$6,
|
|
1533
|
-
private: [],
|
|
1534
|
-
selections: [
|
|
1535
|
-
{
|
|
1536
|
-
name: 'referenceRecordId',
|
|
1537
|
-
kind: 'Scalar'
|
|
1538
|
-
},
|
|
1539
|
-
{
|
|
1540
|
-
name: 'referenceRecordName',
|
|
1541
|
-
kind: 'Scalar'
|
|
1542
|
-
}
|
|
1543
|
-
]
|
|
1544
|
-
};
|
|
1545
|
-
};
|
|
1546
|
-
function equals$6(existing, incoming) {
|
|
1547
|
-
const existing_referenceRecordId = existing.referenceRecordId;
|
|
1548
|
-
const incoming_referenceRecordId = incoming.referenceRecordId;
|
|
1549
|
-
if (!(existing_referenceRecordId === incoming_referenceRecordId)) {
|
|
1550
|
-
return false;
|
|
1551
|
-
}
|
|
1552
|
-
const existing_referenceRecordName = existing.referenceRecordName;
|
|
1553
|
-
const incoming_referenceRecordName = incoming.referenceRecordName;
|
|
1554
|
-
if (!(existing_referenceRecordName === incoming_referenceRecordName)) {
|
|
1555
|
-
return false;
|
|
1556
|
-
}
|
|
1557
|
-
return true;
|
|
1558
|
-
}
|
|
1559
|
-
|
|
1560
1610
|
const VERSION$5 = "b09b53fb4bc0d114197d5d7fffe6c4af";
|
|
1561
1611
|
function validate$k(obj, path = 'ErrorResponseRepresentation') {
|
|
1562
1612
|
const v_error = (() => {
|
|
@@ -1608,8 +1658,8 @@ function equals$5(existing, incoming) {
|
|
|
1608
1658
|
}
|
|
1609
1659
|
|
|
1610
1660
|
const TTL$1 = 300;
|
|
1611
|
-
const VERSION$4 = "
|
|
1612
|
-
function validate$j(obj, path = '
|
|
1661
|
+
const VERSION$4 = "6fa8c955f5be700f6584a67242631270";
|
|
1662
|
+
function validate$j(obj, path = 'FormVerificationRepresentation') {
|
|
1613
1663
|
const v_error = (() => {
|
|
1614
1664
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1615
1665
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1619,11 +1669,21 @@ function validate$j(obj, path = 'FormVerificationOutputRepresentation') {
|
|
|
1619
1669
|
if (typeof obj_developerName !== 'string') {
|
|
1620
1670
|
return new TypeError('Expected "string" but received "' + typeof obj_developerName + '" (at "' + path_developerName + '")');
|
|
1621
1671
|
}
|
|
1672
|
+
if (obj.displayRecordDetails !== undefined) {
|
|
1673
|
+
const obj_displayRecordDetails = obj.displayRecordDetails;
|
|
1674
|
+
const path_displayRecordDetails = path + '.displayRecordDetails';
|
|
1675
|
+
const referencepath_displayRecordDetailsValidationError = validate$n(obj_displayRecordDetails, path_displayRecordDetails);
|
|
1676
|
+
if (referencepath_displayRecordDetailsValidationError !== null) {
|
|
1677
|
+
let message = 'Object doesn\'t match FormVerificationDisplayRecordDetailsOutput (at "' + path_displayRecordDetails + '")\n';
|
|
1678
|
+
message += referencepath_displayRecordDetailsValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1679
|
+
return new TypeError(message);
|
|
1680
|
+
}
|
|
1681
|
+
}
|
|
1622
1682
|
const obj_formVerificationFieldList = obj.formVerificationFieldList;
|
|
1623
1683
|
const path_formVerificationFieldList = path + '.formVerificationFieldList';
|
|
1624
|
-
const referencepath_formVerificationFieldListValidationError = validate$
|
|
1684
|
+
const referencepath_formVerificationFieldListValidationError = validate$l(obj_formVerificationFieldList, path_formVerificationFieldList);
|
|
1625
1685
|
if (referencepath_formVerificationFieldListValidationError !== null) {
|
|
1626
|
-
let message = 'Object doesn\'t match
|
|
1686
|
+
let message = 'Object doesn\'t match FormVerificationFieldListRepresentation (at "' + path_formVerificationFieldList + '")\n';
|
|
1627
1687
|
message += referencepath_formVerificationFieldListValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
1628
1688
|
return new TypeError(message);
|
|
1629
1689
|
}
|
|
@@ -1632,18 +1692,12 @@ function validate$j(obj, path = 'FormVerificationOutputRepresentation') {
|
|
|
1632
1692
|
if (typeof obj_isVerified !== 'boolean') {
|
|
1633
1693
|
return new TypeError('Expected "boolean" but received "' + typeof obj_isVerified + '" (at "' + path_isVerified + '")');
|
|
1634
1694
|
}
|
|
1635
|
-
|
|
1636
|
-
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
|
|
1640
|
-
|
|
1641
|
-
return new TypeError(message);
|
|
1642
|
-
}
|
|
1643
|
-
const obj_retryCount = obj.retryCount;
|
|
1644
|
-
const path_retryCount = path + '.retryCount';
|
|
1645
|
-
if (typeof obj_retryCount !== 'number' || (typeof obj_retryCount === 'number' && Math.floor(obj_retryCount) !== obj_retryCount)) {
|
|
1646
|
-
return new TypeError('Expected "integer" but received "' + typeof obj_retryCount + '" (at "' + path_retryCount + '")');
|
|
1695
|
+
if (obj.retryCount !== undefined) {
|
|
1696
|
+
const obj_retryCount = obj.retryCount;
|
|
1697
|
+
const path_retryCount = path + '.retryCount';
|
|
1698
|
+
if (typeof obj_retryCount !== 'number' || (typeof obj_retryCount === 'number' && Math.floor(obj_retryCount) !== obj_retryCount)) {
|
|
1699
|
+
return new TypeError('Expected "integer" but received "' + typeof obj_retryCount + '" (at "' + path_retryCount + '")');
|
|
1700
|
+
}
|
|
1647
1701
|
}
|
|
1648
1702
|
const obj_selectedRecordId = obj.selectedRecordId;
|
|
1649
1703
|
const path_selectedRecordId = path + '.selectedRecordId';
|
|
@@ -1661,7 +1715,7 @@ function validate$j(obj, path = 'FormVerificationOutputRepresentation') {
|
|
|
1661
1715
|
})();
|
|
1662
1716
|
return v_error === undefined ? null : v_error;
|
|
1663
1717
|
}
|
|
1664
|
-
const RepresentationType$1 = '
|
|
1718
|
+
const RepresentationType$1 = 'FormVerificationRepresentation';
|
|
1665
1719
|
function keyBuilder$1(luvio, config) {
|
|
1666
1720
|
return keyPrefix + '::' + RepresentationType$1 + ':' + config.developerName;
|
|
1667
1721
|
}
|
|
@@ -1674,9 +1728,9 @@ function keyBuilderFromType$1(luvio, object) {
|
|
|
1674
1728
|
function normalize$1(input, existing, path, luvio, store, timestamp) {
|
|
1675
1729
|
return input;
|
|
1676
1730
|
}
|
|
1677
|
-
const select$7 = function
|
|
1678
|
-
const { selections:
|
|
1679
|
-
const { selections:
|
|
1731
|
+
const select$7 = function FormVerificationRepresentationSelect() {
|
|
1732
|
+
const { selections: FormVerificationDisplayRecordDetailsOutput__selections, opaque: FormVerificationDisplayRecordDetailsOutput__opaque, } = select$b();
|
|
1733
|
+
const { selections: FormVerificationFieldListRepresentation__selections, opaque: FormVerificationFieldListRepresentation__opaque, } = select$9();
|
|
1680
1734
|
const { selections: ErrorResponseRepresentation__selections, opaque: ErrorResponseRepresentation__opaque, } = select$8();
|
|
1681
1735
|
return {
|
|
1682
1736
|
kind: 'Fragment',
|
|
@@ -1687,23 +1741,25 @@ const select$7 = function FormVerificationOutputRepresentationSelect() {
|
|
|
1687
1741
|
name: 'developerName',
|
|
1688
1742
|
kind: 'Scalar'
|
|
1689
1743
|
},
|
|
1744
|
+
{
|
|
1745
|
+
name: 'displayRecordDetails',
|
|
1746
|
+
kind: 'Object',
|
|
1747
|
+
selections: FormVerificationDisplayRecordDetailsOutput__selections,
|
|
1748
|
+
required: false
|
|
1749
|
+
},
|
|
1690
1750
|
{
|
|
1691
1751
|
name: 'formVerificationFieldList',
|
|
1692
1752
|
kind: 'Object',
|
|
1693
|
-
selections:
|
|
1753
|
+
selections: FormVerificationFieldListRepresentation__selections
|
|
1694
1754
|
},
|
|
1695
1755
|
{
|
|
1696
1756
|
name: 'isVerified',
|
|
1697
1757
|
kind: 'Scalar'
|
|
1698
1758
|
},
|
|
1699
|
-
{
|
|
1700
|
-
name: 'referenceRecordDetails',
|
|
1701
|
-
kind: 'Object',
|
|
1702
|
-
selections: FormVerificationReferenceRecordDetailsOutput__selections
|
|
1703
|
-
},
|
|
1704
1759
|
{
|
|
1705
1760
|
name: 'retryCount',
|
|
1706
|
-
kind: 'Scalar'
|
|
1761
|
+
kind: 'Scalar',
|
|
1762
|
+
required: false
|
|
1707
1763
|
},
|
|
1708
1764
|
{
|
|
1709
1765
|
name: 'selectedRecordId',
|
|
@@ -1725,8 +1781,16 @@ function equals$4(existing, incoming) {
|
|
|
1725
1781
|
}
|
|
1726
1782
|
const existing_retryCount = existing.retryCount;
|
|
1727
1783
|
const incoming_retryCount = incoming.retryCount;
|
|
1728
|
-
if
|
|
1729
|
-
|
|
1784
|
+
// if at least one of these optionals is defined
|
|
1785
|
+
if (existing_retryCount !== undefined || incoming_retryCount !== undefined) {
|
|
1786
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1787
|
+
// not equal
|
|
1788
|
+
if (existing_retryCount === undefined || incoming_retryCount === undefined) {
|
|
1789
|
+
return false;
|
|
1790
|
+
}
|
|
1791
|
+
if (!(existing_retryCount === incoming_retryCount)) {
|
|
1792
|
+
return false;
|
|
1793
|
+
}
|
|
1730
1794
|
}
|
|
1731
1795
|
const existing_developerName = existing.developerName;
|
|
1732
1796
|
const incoming_developerName = incoming.developerName;
|
|
@@ -1738,14 +1802,22 @@ function equals$4(existing, incoming) {
|
|
|
1738
1802
|
if (!(existing_selectedRecordId === incoming_selectedRecordId)) {
|
|
1739
1803
|
return false;
|
|
1740
1804
|
}
|
|
1805
|
+
const existing_displayRecordDetails = existing.displayRecordDetails;
|
|
1806
|
+
const incoming_displayRecordDetails = incoming.displayRecordDetails;
|
|
1807
|
+
// if at least one of these optionals is defined
|
|
1808
|
+
if (existing_displayRecordDetails !== undefined || incoming_displayRecordDetails !== undefined) {
|
|
1809
|
+
// if one of these is not defined we know the other is defined and therefore
|
|
1810
|
+
// not equal
|
|
1811
|
+
if (existing_displayRecordDetails === undefined || incoming_displayRecordDetails === undefined) {
|
|
1812
|
+
return false;
|
|
1813
|
+
}
|
|
1814
|
+
if (!(equals$8(existing_displayRecordDetails, incoming_displayRecordDetails))) {
|
|
1815
|
+
return false;
|
|
1816
|
+
}
|
|
1817
|
+
}
|
|
1741
1818
|
const existing_formVerificationFieldList = existing.formVerificationFieldList;
|
|
1742
1819
|
const incoming_formVerificationFieldList = incoming.formVerificationFieldList;
|
|
1743
|
-
if (!(equals$
|
|
1744
|
-
return false;
|
|
1745
|
-
}
|
|
1746
|
-
const existing_referenceRecordDetails = existing.referenceRecordDetails;
|
|
1747
|
-
const incoming_referenceRecordDetails = incoming.referenceRecordDetails;
|
|
1748
|
-
if (!(equals$6(existing_referenceRecordDetails, incoming_referenceRecordDetails))) {
|
|
1820
|
+
if (!(equals$6(existing_formVerificationFieldList, incoming_formVerificationFieldList))) {
|
|
1749
1821
|
return false;
|
|
1750
1822
|
}
|
|
1751
1823
|
const existing_status = existing.status;
|
|
@@ -1755,7 +1827,7 @@ function equals$4(existing, incoming) {
|
|
|
1755
1827
|
}
|
|
1756
1828
|
return true;
|
|
1757
1829
|
}
|
|
1758
|
-
const ingest$1 = function
|
|
1830
|
+
const ingest$1 = function FormVerificationRepresentationIngest(input, path, luvio, store, timestamp) {
|
|
1759
1831
|
if (process.env.NODE_ENV !== 'production') {
|
|
1760
1832
|
const validateError = validate$j(input);
|
|
1761
1833
|
if (validateError !== null) {
|
|
@@ -1851,7 +1923,7 @@ function createResourceParams$2(config) {
|
|
|
1851
1923
|
function typeCheckConfig$2(untrustedConfig) {
|
|
1852
1924
|
const config = {};
|
|
1853
1925
|
const untrustedConfig_IdentityVerificationFormInputData = untrustedConfig.IdentityVerificationFormInputData;
|
|
1854
|
-
const referenceFormVerificationInputRepresentationValidationError = validate$
|
|
1926
|
+
const referenceFormVerificationInputRepresentationValidationError = validate$o(untrustedConfig_IdentityVerificationFormInputData);
|
|
1855
1927
|
if (referenceFormVerificationInputRepresentationValidationError === null) {
|
|
1856
1928
|
config.IdentityVerificationFormInputData = untrustedConfig_IdentityVerificationFormInputData;
|
|
1857
1929
|
}
|
|
@@ -2305,7 +2377,7 @@ function validate$5(obj, path = 'VerificationContextInputRepresentation') {
|
|
|
2305
2377
|
}
|
|
2306
2378
|
const obj_selectedVerifiedResult = obj.selectedVerifiedResult;
|
|
2307
2379
|
const path_selectedVerifiedResult = path + '.selectedVerifiedResult';
|
|
2308
|
-
const referencepath_selectedVerifiedResultValidationError = validate$
|
|
2380
|
+
const referencepath_selectedVerifiedResultValidationError = validate$D(obj_selectedVerifiedResult, path_selectedVerifiedResult);
|
|
2309
2381
|
if (referencepath_selectedVerifiedResultValidationError !== null) {
|
|
2310
2382
|
let message = 'Object doesn\'t match SelectedVerifiedResultInputRepresentation (at "' + path_selectedVerifiedResult + '")\n';
|
|
2311
2383
|
message += referencepath_selectedVerifiedResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|