@salesforce/lds-adapters-industries-identityverification 1.102.0 → 1.103.1
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 +69 -50
- package/dist/types/src/generated/adapters/createFormVerification.d.ts +2 -4
- package/dist/types/src/generated/resources/postConnectIdentityVerificationInputVerification.d.ts +2 -4
- package/dist/types/src/generated/types/FormVerificationWrapperInputRepresentation.d.ts +30 -0
- package/dist/umd/es2018/industries-identityverification.js +69 -50
- package/dist/umd/es5/industries-identityverification.js +70 -50
- package/package.json +3 -3
- package/sfdc/index.js +70 -51
- package/src/raml/api.raml +8 -1
|
@@ -82,7 +82,7 @@ function createLink(ref) {
|
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
function validate$
|
|
85
|
+
function validate$D(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$C(obj, path = 'VerifiedDetailsInputRepresentation') {
|
|
|
111
111
|
return v_error === undefined ? null : v_error;
|
|
112
112
|
}
|
|
113
113
|
|
|
114
|
-
function validate$
|
|
114
|
+
function validate$C(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$B(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$D(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$B(obj, path = 'VerifiedDetailsListInputRepresentation') {
|
|
|
135
135
|
return v_error === undefined ? null : v_error;
|
|
136
136
|
}
|
|
137
137
|
|
|
138
|
-
function validate$
|
|
138
|
+
function validate$B(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$C(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$A(obj, path = 'SelectedVerifiedResultInputRepresentation') {
|
|
|
152
152
|
return v_error === undefined ? null : v_error;
|
|
153
153
|
}
|
|
154
154
|
|
|
155
|
-
function validate$
|
|
155
|
+
function validate$A(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$z(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$B(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$z(obj, path = 'BuildVerificationContextInputRepresentation') {
|
|
|
185
185
|
}
|
|
186
186
|
|
|
187
187
|
const VERSION$j = "c595fd97010460844d185ee75e1583dd";
|
|
188
|
-
function validate$
|
|
188
|
+
function validate$z(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$y(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$x(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$z(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$x(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$w(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$y(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$w(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$v(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$x(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$v(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$u(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$t(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$v(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$t(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$s(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$r(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$t(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$r(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$q(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$p(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$r(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$p(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$r(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$p(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$o(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$w(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$o(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$u(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$o(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$s(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$o(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$q(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$p(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$A(untrustedConfig_BuildContextData);
|
|
1322
1322
|
if (referenceBuildVerificationContextInputRepresentationValidationError === null) {
|
|
1323
1323
|
config.BuildContextData = untrustedConfig_BuildContextData;
|
|
1324
1324
|
}
|
|
@@ -1363,7 +1363,7 @@ const buildVerificationContextAdapterFactory = (luvio) => {
|
|
|
1363
1363
|
};
|
|
1364
1364
|
|
|
1365
1365
|
const VERSION$8 = "040b4a43e3e18749e02370ec085d1b47";
|
|
1366
|
-
function validate$
|
|
1366
|
+
function validate$o(obj, path = 'FormVerificationFieldOutputRepresentation') {
|
|
1367
1367
|
const v_error = (() => {
|
|
1368
1368
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1369
1369
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1427,7 +1427,7 @@ function equals$8(existing, incoming) {
|
|
|
1427
1427
|
}
|
|
1428
1428
|
|
|
1429
1429
|
const VERSION$7 = "20e25a7a7da428d9eb10fcb19a1a8875";
|
|
1430
|
-
function validate$
|
|
1430
|
+
function validate$n(obj, path = 'FormVerificationFieldListOutputRepresentation') {
|
|
1431
1431
|
const v_error = (() => {
|
|
1432
1432
|
if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
|
|
1433
1433
|
return new TypeError('Expected "object" but received "' + typeof obj + '" (at "' + path + '")');
|
|
@@ -1440,7 +1440,7 @@ function validate$m(obj, path = 'FormVerificationFieldListOutputRepresentation')
|
|
|
1440
1440
|
for (let i = 0; i < obj_formVerificationFields.length; i++) {
|
|
1441
1441
|
const obj_formVerificationFields_item = obj_formVerificationFields[i];
|
|
1442
1442
|
const path_formVerificationFields_item = path_formVerificationFields + '[' + i + ']';
|
|
1443
|
-
const referencepath_formVerificationFields_itemValidationError = validate$
|
|
1443
|
+
const referencepath_formVerificationFields_itemValidationError = validate$o(obj_formVerificationFields_item, path_formVerificationFields_item);
|
|
1444
1444
|
if (referencepath_formVerificationFields_itemValidationError !== null) {
|
|
1445
1445
|
let message = 'Object doesn\'t match FormVerificationFieldOutputRepresentation (at "' + path_formVerificationFields_item + '")\n';
|
|
1446
1446
|
message += referencepath_formVerificationFields_itemValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1480,6 +1480,33 @@ function equals$7(existing, incoming) {
|
|
|
1480
1480
|
return true;
|
|
1481
1481
|
}
|
|
1482
1482
|
|
|
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
|
+
|
|
1483
1510
|
const VERSION$6 = "a06f6cd40f6c16c76d2d7e94104e58bd";
|
|
1484
1511
|
function validate$l(obj, path = 'FormVerificationReferenceRecordDetailsOutput') {
|
|
1485
1512
|
const v_error = (() => {
|
|
@@ -1594,7 +1621,7 @@ function validate$j(obj, path = 'FormVerificationOutputRepresentation') {
|
|
|
1594
1621
|
}
|
|
1595
1622
|
const obj_formVerificationFieldList = obj.formVerificationFieldList;
|
|
1596
1623
|
const path_formVerificationFieldList = path + '.formVerificationFieldList';
|
|
1597
|
-
const referencepath_formVerificationFieldListValidationError = validate$
|
|
1624
|
+
const referencepath_formVerificationFieldListValidationError = validate$n(obj_formVerificationFieldList, path_formVerificationFieldList);
|
|
1598
1625
|
if (referencepath_formVerificationFieldListValidationError !== null) {
|
|
1599
1626
|
let message = 'Object doesn\'t match FormVerificationFieldListOutputRepresentation (at "' + path_formVerificationFieldList + '")\n';
|
|
1600
1627
|
message += referencepath_formVerificationFieldListValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1809,32 +1836,24 @@ function createResourceRequest$2(config) {
|
|
|
1809
1836
|
const createFormVerification_ConfigPropertyNames = {
|
|
1810
1837
|
displayName: 'createFormVerification',
|
|
1811
1838
|
parameters: {
|
|
1812
|
-
required: ['
|
|
1839
|
+
required: ['IdentityVerificationFormInputData'],
|
|
1813
1840
|
optional: []
|
|
1814
1841
|
}
|
|
1815
1842
|
};
|
|
1816
1843
|
function createResourceParams$2(config) {
|
|
1817
1844
|
const resourceParams = {
|
|
1818
1845
|
body: {
|
|
1819
|
-
|
|
1846
|
+
IdentityVerificationFormInputData: config.IdentityVerificationFormInputData
|
|
1820
1847
|
}
|
|
1821
1848
|
};
|
|
1822
1849
|
return resourceParams;
|
|
1823
1850
|
}
|
|
1824
1851
|
function typeCheckConfig$2(untrustedConfig) {
|
|
1825
1852
|
const config = {};
|
|
1826
|
-
const
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
const untrustedConfig_formVerificationFieldList = untrustedConfig.formVerificationFieldList;
|
|
1831
|
-
const referenceFormVerificationFieldListOutputRepresentationValidationError = validate$m(untrustedConfig_formVerificationFieldList);
|
|
1832
|
-
if (referenceFormVerificationFieldListOutputRepresentationValidationError === null) {
|
|
1833
|
-
config.formVerificationFieldList = untrustedConfig_formVerificationFieldList;
|
|
1834
|
-
}
|
|
1835
|
-
const untrustedConfig_selectedRecordId = untrustedConfig.selectedRecordId;
|
|
1836
|
-
if (typeof untrustedConfig_selectedRecordId === 'string') {
|
|
1837
|
-
config.selectedRecordId = untrustedConfig_selectedRecordId;
|
|
1853
|
+
const untrustedConfig_IdentityVerificationFormInputData = untrustedConfig.IdentityVerificationFormInputData;
|
|
1854
|
+
const referenceFormVerificationInputRepresentationValidationError = validate$m(untrustedConfig_IdentityVerificationFormInputData);
|
|
1855
|
+
if (referenceFormVerificationInputRepresentationValidationError === null) {
|
|
1856
|
+
config.IdentityVerificationFormInputData = untrustedConfig_IdentityVerificationFormInputData;
|
|
1838
1857
|
}
|
|
1839
1858
|
return config;
|
|
1840
1859
|
}
|
|
@@ -2286,7 +2305,7 @@ function validate$5(obj, path = 'VerificationContextInputRepresentation') {
|
|
|
2286
2305
|
}
|
|
2287
2306
|
const obj_selectedVerifiedResult = obj.selectedVerifiedResult;
|
|
2288
2307
|
const path_selectedVerifiedResult = path + '.selectedVerifiedResult';
|
|
2289
|
-
const referencepath_selectedVerifiedResultValidationError = validate$
|
|
2308
|
+
const referencepath_selectedVerifiedResultValidationError = validate$B(obj_selectedVerifiedResult, path_selectedVerifiedResult);
|
|
2290
2309
|
if (referencepath_selectedVerifiedResultValidationError !== null) {
|
|
2291
2310
|
let message = 'Object doesn\'t match SelectedVerifiedResultInputRepresentation (at "' + path_selectedVerifiedResult + '")\n';
|
|
2292
2311
|
message += referencepath_selectedVerifiedResultValidationError.message.split('\n').map((line) => '\t' + line).join('\n');
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
import { AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, Untrusted as adapter$45$utils_Untrusted } from './adapter-utils';
|
|
2
|
-
import {
|
|
2
|
+
import { FormVerificationInputRepresentation as types_FormVerificationInputRepresentation_FormVerificationInputRepresentation } from '../types/FormVerificationInputRepresentation';
|
|
3
3
|
import { ResourceRequestConfig as resources_postConnectIdentityVerificationInputVerification_ResourceRequestConfig } from '../resources/postConnectIdentityVerificationInputVerification';
|
|
4
4
|
import { Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
5
5
|
import { FormVerificationOutputRepresentation as types_FormVerificationOutputRepresentation_FormVerificationOutputRepresentation } from '../types/FormVerificationOutputRepresentation';
|
|
6
6
|
export declare const adapterName = "createFormVerification";
|
|
7
7
|
export declare const createFormVerification_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface CreateFormVerificationConfig {
|
|
9
|
-
|
|
10
|
-
formVerificationFieldList: types_FormVerificationFieldListOutputRepresentation_FormVerificationFieldListOutputRepresentation;
|
|
11
|
-
selectedRecordId: string;
|
|
9
|
+
IdentityVerificationFormInputData: types_FormVerificationInputRepresentation_FormVerificationInputRepresentation;
|
|
12
10
|
}
|
|
13
11
|
export declare function createResourceParams(config: CreateFormVerificationConfig): resources_postConnectIdentityVerificationInputVerification_ResourceRequestConfig;
|
|
14
12
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateFormVerificationConfig>): adapter$45$utils_Untrusted<CreateFormVerificationConfig>;
|
package/dist/types/src/generated/resources/postConnectIdentityVerificationInputVerification.d.ts
CHANGED
|
@@ -1,11 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { FormVerificationInputRepresentation as types_FormVerificationInputRepresentation_FormVerificationInputRepresentation } from '../types/FormVerificationInputRepresentation';
|
|
2
2
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
3
3
|
import { FormVerificationOutputRepresentation as types_FormVerificationOutputRepresentation_FormVerificationOutputRepresentation } from '../types/FormVerificationOutputRepresentation';
|
|
4
4
|
export interface ResourceRequestConfig {
|
|
5
5
|
body: {
|
|
6
|
-
|
|
7
|
-
formVerificationFieldList: types_FormVerificationFieldListOutputRepresentation_FormVerificationFieldListOutputRepresentation;
|
|
8
|
-
selectedRecordId: string;
|
|
6
|
+
IdentityVerificationFormInputData: types_FormVerificationInputRepresentation_FormVerificationInputRepresentation;
|
|
9
7
|
};
|
|
10
8
|
}
|
|
11
9
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { FormVerificationInputRepresentation as FormVerificationInputRepresentation_FormVerificationInputRepresentation } from './FormVerificationInputRepresentation';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "1ef25bded0b369857012fa2f9967f4ca";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: FormVerificationWrapperInputRepresentation, existing: FormVerificationWrapperInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FormVerificationWrapperInputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: FormVerificationWrapperInputRepresentationNormalized, incoming: FormVerificationWrapperInputRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: FormVerificationWrapperInputRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: FormVerificationWrapperInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* wrapper of FormVerificationInputRepresentation
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface FormVerificationWrapperInputRepresentationNormalized {
|
|
19
|
+
/** Input representation for FormVerificationInputRepresentation */
|
|
20
|
+
IdentityVerificationFormInputData: FormVerificationInputRepresentation_FormVerificationInputRepresentation;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* wrapper of FormVerificationInputRepresentation
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface FormVerificationWrapperInputRepresentation {
|
|
29
|
+
IdentityVerificationFormInputData: FormVerificationInputRepresentation_FormVerificationInputRepresentation;
|
|
30
|
+
}
|