@salesforce/lds-adapters-industries-identityverification 1.213.0 → 1.213.2
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 +43 -86
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/adapters/buildVerificationContext.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/createFormVerification.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/identityVerification.d.ts +3 -2
- package/dist/es/es2018/types/src/generated/adapters/searchRecords.d.ts +3 -2
- package/package.json +1 -1
- package/sfdc/index.js +44 -87
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* For full license text, see the LICENSE.txt file
|
|
5
5
|
*/
|
|
6
6
|
|
|
7
|
-
import { serializeStructuredKey, deepFreeze, StoreKeyMap, typeCheckScalars } from '@luvio/engine';
|
|
7
|
+
import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, typeCheckScalars } from '@luvio/engine';
|
|
8
8
|
|
|
9
9
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
10
10
|
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
@@ -41,6 +41,24 @@ function untrustedIsObject(untrusted) {
|
|
|
41
41
|
function areRequiredParametersPresent(config, configPropertyNames) {
|
|
42
42
|
return configPropertyNames.parameters.required.every(req => req in config);
|
|
43
43
|
}
|
|
44
|
+
function generateParamConfigMetadata(name, required, coerceFn) {
|
|
45
|
+
return {
|
|
46
|
+
name,
|
|
47
|
+
required,
|
|
48
|
+
coerceFn,
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
function buildAdapterValidationConfig(displayName, paramsMeta) {
|
|
52
|
+
const required = paramsMeta.filter(p => p.required).map(p => p.name);
|
|
53
|
+
const optional = paramsMeta.filter(p => !p.required).map(p => p.name);
|
|
54
|
+
return {
|
|
55
|
+
displayName,
|
|
56
|
+
parameters: {
|
|
57
|
+
required,
|
|
58
|
+
optional,
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
}
|
|
44
62
|
const keyPrefix = 'IdentityVerification';
|
|
45
63
|
|
|
46
64
|
const { isArray: ArrayIsArray } = Array;
|
|
@@ -1204,26 +1222,8 @@ const ingest$2 = function VerificationContextOutputRepresentationIngest(input, p
|
|
|
1204
1222
|
}
|
|
1205
1223
|
}
|
|
1206
1224
|
const key = keyBuilderFromType$2(luvio, input);
|
|
1207
|
-
const existingRecord = store.readEntry(key);
|
|
1208
1225
|
const ttlToUse = TTL$2;
|
|
1209
|
-
|
|
1210
|
-
fullPath: key,
|
|
1211
|
-
parent: path.parent,
|
|
1212
|
-
propertyName: path.propertyName,
|
|
1213
|
-
ttl: ttlToUse
|
|
1214
|
-
});
|
|
1215
|
-
if (existingRecord === undefined || equals$9(existingRecord, incomingRecord) === false) {
|
|
1216
|
-
luvio.storePublish(key, incomingRecord);
|
|
1217
|
-
}
|
|
1218
|
-
{
|
|
1219
|
-
const storeMetadataParams = {
|
|
1220
|
-
ttl: ttlToUse,
|
|
1221
|
-
namespace: "IdentityVerification",
|
|
1222
|
-
version: VERSION$9,
|
|
1223
|
-
representationName: RepresentationType$2,
|
|
1224
|
-
};
|
|
1225
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
1226
|
-
}
|
|
1226
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "IdentityVerification", VERSION$9, RepresentationType$2, equals$9);
|
|
1227
1227
|
return createLink(key);
|
|
1228
1228
|
};
|
|
1229
1229
|
function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1273,13 +1273,12 @@ function createResourceRequest$3(config) {
|
|
|
1273
1273
|
};
|
|
1274
1274
|
}
|
|
1275
1275
|
|
|
1276
|
-
const
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
};
|
|
1276
|
+
const adapterName$3 = 'buildVerificationContext';
|
|
1277
|
+
const buildVerificationContext_ConfigPropertyMetadata = [
|
|
1278
|
+
generateParamConfigMetadata('processDefinitionName', true),
|
|
1279
|
+
generateParamConfigMetadata('BuildContextData', true),
|
|
1280
|
+
];
|
|
1281
|
+
const buildVerificationContext_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, buildVerificationContext_ConfigPropertyMetadata);
|
|
1283
1282
|
function createResourceParams$3(config) {
|
|
1284
1283
|
const resourceParams = {
|
|
1285
1284
|
urlParams: {
|
|
@@ -1818,26 +1817,8 @@ const ingest$1 = function FormVerificationRepresentationIngest(input, path, luvi
|
|
|
1818
1817
|
}
|
|
1819
1818
|
}
|
|
1820
1819
|
const key = keyBuilderFromType$1(luvio, input);
|
|
1821
|
-
const existingRecord = store.readEntry(key);
|
|
1822
1820
|
const ttlToUse = TTL$1;
|
|
1823
|
-
|
|
1824
|
-
fullPath: key,
|
|
1825
|
-
parent: path.parent,
|
|
1826
|
-
propertyName: path.propertyName,
|
|
1827
|
-
ttl: ttlToUse
|
|
1828
|
-
});
|
|
1829
|
-
if (existingRecord === undefined || equals$4(existingRecord, incomingRecord) === false) {
|
|
1830
|
-
luvio.storePublish(key, incomingRecord);
|
|
1831
|
-
}
|
|
1832
|
-
{
|
|
1833
|
-
const storeMetadataParams = {
|
|
1834
|
-
ttl: ttlToUse,
|
|
1835
|
-
namespace: "IdentityVerification",
|
|
1836
|
-
version: VERSION$4,
|
|
1837
|
-
representationName: RepresentationType$1,
|
|
1838
|
-
};
|
|
1839
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
1840
|
-
}
|
|
1821
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "IdentityVerification", VERSION$4, RepresentationType$1, equals$4);
|
|
1841
1822
|
return createLink(key);
|
|
1842
1823
|
};
|
|
1843
1824
|
function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1887,13 +1868,11 @@ function createResourceRequest$2(config) {
|
|
|
1887
1868
|
};
|
|
1888
1869
|
}
|
|
1889
1870
|
|
|
1890
|
-
const
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1895
|
-
}
|
|
1896
|
-
};
|
|
1871
|
+
const adapterName$2 = 'createFormVerification';
|
|
1872
|
+
const createFormVerification_ConfigPropertyMetadata = [
|
|
1873
|
+
generateParamConfigMetadata('IdentityVerificationFormInputData', true),
|
|
1874
|
+
];
|
|
1875
|
+
const createFormVerification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, createFormVerification_ConfigPropertyMetadata);
|
|
1897
1876
|
function createResourceParams$2(config) {
|
|
1898
1877
|
const resourceParams = {
|
|
1899
1878
|
body: {
|
|
@@ -2714,26 +2693,8 @@ const ingest = function SearchOutputRepresentationIngest(input, path, luvio, sto
|
|
|
2714
2693
|
}
|
|
2715
2694
|
}
|
|
2716
2695
|
const key = keyBuilderFromType(luvio, input);
|
|
2717
|
-
const existingRecord = store.readEntry(key);
|
|
2718
2696
|
const ttlToUse = TTL;
|
|
2719
|
-
|
|
2720
|
-
fullPath: key,
|
|
2721
|
-
parent: path.parent,
|
|
2722
|
-
propertyName: path.propertyName,
|
|
2723
|
-
ttl: ttlToUse
|
|
2724
|
-
});
|
|
2725
|
-
if (existingRecord === undefined || equals(existingRecord, incomingRecord) === false) {
|
|
2726
|
-
luvio.storePublish(key, incomingRecord);
|
|
2727
|
-
}
|
|
2728
|
-
{
|
|
2729
|
-
const storeMetadataParams = {
|
|
2730
|
-
ttl: ttlToUse,
|
|
2731
|
-
namespace: "IdentityVerification",
|
|
2732
|
-
version: VERSION,
|
|
2733
|
-
representationName: RepresentationType,
|
|
2734
|
-
};
|
|
2735
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
2736
|
-
}
|
|
2697
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "IdentityVerification", VERSION, RepresentationType, equals);
|
|
2737
2698
|
return createLink(key);
|
|
2738
2699
|
};
|
|
2739
2700
|
function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2783,13 +2744,11 @@ function createResourceRequest$1(config) {
|
|
|
2783
2744
|
};
|
|
2784
2745
|
}
|
|
2785
2746
|
|
|
2786
|
-
const
|
|
2787
|
-
|
|
2788
|
-
|
|
2789
|
-
|
|
2790
|
-
|
|
2791
|
-
}
|
|
2792
|
-
};
|
|
2747
|
+
const adapterName$1 = 'searchRecords';
|
|
2748
|
+
const searchRecords_ConfigPropertyMetadata = [
|
|
2749
|
+
generateParamConfigMetadata('SearchRecordsContextData', true),
|
|
2750
|
+
];
|
|
2751
|
+
const searchRecords_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, searchRecords_ConfigPropertyMetadata);
|
|
2793
2752
|
function createResourceParams$1(config) {
|
|
2794
2753
|
const resourceParams = {
|
|
2795
2754
|
body: {
|
|
@@ -2886,13 +2845,11 @@ function createResourceRequest(config) {
|
|
|
2886
2845
|
};
|
|
2887
2846
|
}
|
|
2888
2847
|
|
|
2889
|
-
const
|
|
2890
|
-
|
|
2891
|
-
|
|
2892
|
-
|
|
2893
|
-
|
|
2894
|
-
}
|
|
2895
|
-
};
|
|
2848
|
+
const adapterName = 'identityVerification';
|
|
2849
|
+
const identityVerification_ConfigPropertyMetadata = [
|
|
2850
|
+
generateParamConfigMetadata('IdentityVerificationContextData', true),
|
|
2851
|
+
];
|
|
2852
|
+
const identityVerification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, identityVerification_ConfigPropertyMetadata);
|
|
2896
2853
|
function createResourceParams(config) {
|
|
2897
2854
|
const resourceParams = {
|
|
2898
2855
|
body: {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot } from '@luvio/engine';
|
|
1
|
+
import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot, AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
|
|
3
3
|
declare const ObjectKeys: {
|
|
4
4
|
(o: object): string[];
|
|
@@ -57,4 +57,6 @@ export declare const snapshotRefreshOptions: {
|
|
|
57
57
|
export declare function stableJSONStringify(node: any): string | undefined;
|
|
58
58
|
export declare function getFetchResponseStatusText(status: number): string;
|
|
59
59
|
export declare function isUnfulfilledSnapshot<T, U>(snapshot: $64$luvio_engine_Snapshot<T, U>): snapshot is $64$luvio_engine_UnfulfilledSnapshot<T, U>;
|
|
60
|
+
export declare function generateParamConfigMetadata(name: string, required: boolean, coerceFn?: (v: unknown) => unknown): $64$luvio_engine_AdapterConfigMetadata;
|
|
61
|
+
export declare function buildAdapterValidationConfig(displayName: string, paramsMeta: $64$luvio_engine_AdapterConfigMetadata[]): AdapterValidationConfig;
|
|
60
62
|
export declare const keyPrefix = "IdentityVerification";
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
2
3
|
import { BuildVerificationContextInputRepresentation as types_BuildVerificationContextInputRepresentation_BuildVerificationContextInputRepresentation } from '../types/BuildVerificationContextInputRepresentation';
|
|
3
4
|
import { ResourceRequestConfig as resources_postConnectIdentityVerificationBuildContextByProcessDefinitionName_ResourceRequestConfig } from '../resources/postConnectIdentityVerificationBuildContextByProcessDefinitionName';
|
|
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 { VerificationContextOutputRepresentation as types_VerificationContextOutputRepresentation_VerificationContextOutputRepresentation } from '../types/VerificationContextOutputRepresentation';
|
|
6
6
|
export declare const adapterName = "buildVerificationContext";
|
|
7
|
+
export declare const buildVerificationContext_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
8
|
export declare const buildVerificationContext_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
9
|
export interface BuildVerificationContextConfig {
|
|
9
10
|
processDefinitionName: string;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
2
3
|
import { FormVerificationInputRepresentation as types_FormVerificationInputRepresentation_FormVerificationInputRepresentation } from '../types/FormVerificationInputRepresentation';
|
|
3
4
|
import { ResourceRequestConfig as resources_postConnectIdentityVerificationInputVerification_ResourceRequestConfig } from '../resources/postConnectIdentityVerificationInputVerification';
|
|
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 { FormVerificationRepresentation as types_FormVerificationRepresentation_FormVerificationRepresentation } from '../types/FormVerificationRepresentation';
|
|
6
6
|
export declare const adapterName = "createFormVerification";
|
|
7
|
+
export declare const createFormVerification_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
8
|
export declare const createFormVerification_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
9
|
export interface CreateFormVerificationConfig {
|
|
9
10
|
IdentityVerificationFormInputData: types_FormVerificationInputRepresentation_FormVerificationInputRepresentation;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
2
3
|
import { VerificationContextInputRepresentation as types_VerificationContextInputRepresentation_VerificationContextInputRepresentation } from '../types/VerificationContextInputRepresentation';
|
|
3
4
|
import { ResourceRequestConfig as resources_postConnectIdentityVerificationVerification_ResourceRequestConfig } from '../resources/postConnectIdentityVerificationVerification';
|
|
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 { VerificationContextOutputRepresentation as types_VerificationContextOutputRepresentation_VerificationContextOutputRepresentation } from '../types/VerificationContextOutputRepresentation';
|
|
6
6
|
export declare const adapterName = "identityVerification";
|
|
7
|
+
export declare const identityVerification_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
8
|
export declare const identityVerification_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
9
|
export interface IdentityVerificationConfig {
|
|
9
10
|
IdentityVerificationContextData: types_VerificationContextInputRepresentation_VerificationContextInputRepresentation;
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
2
3
|
import { SearchInputRepresentation as types_SearchInputRepresentation_SearchInputRepresentation } from '../types/SearchInputRepresentation';
|
|
3
4
|
import { ResourceRequestConfig as resources_postConnectIdentityVerificationSearch_ResourceRequestConfig } from '../resources/postConnectIdentityVerificationSearch';
|
|
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 { SearchOutputRepresentation as types_SearchOutputRepresentation_SearchOutputRepresentation } from '../types/SearchOutputRepresentation';
|
|
6
6
|
export declare const adapterName = "searchRecords";
|
|
7
|
+
export declare const searchRecords_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
8
|
export declare const searchRecords_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
9
|
export interface SearchRecordsConfig {
|
|
9
10
|
SearchRecordsContextData: types_SearchInputRepresentation_SearchInputRepresentation;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-industries-identityverification",
|
|
3
|
-
"version": "1.213.
|
|
3
|
+
"version": "1.213.2",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
5
|
"description": "Family for all Identity Verification related APIs",
|
|
6
6
|
"main": "dist/es/es2018/industries-identityverification.js",
|
package/sfdc/index.js
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
/* proxy-compat-disable */
|
|
15
15
|
import { withDefaultLuvio } from 'force/ldsEngine';
|
|
16
|
-
import { serializeStructuredKey, deepFreeze, StoreKeyMap, typeCheckScalars } from 'force/luvioEngine';
|
|
16
|
+
import { serializeStructuredKey, ingestShape, deepFreeze, StoreKeyMap, typeCheckScalars } from 'force/luvioEngine';
|
|
17
17
|
|
|
18
18
|
const { hasOwnProperty: ObjectPrototypeHasOwnProperty } = Object.prototype;
|
|
19
19
|
const { keys: ObjectKeys, create: ObjectCreate } = Object;
|
|
@@ -50,6 +50,24 @@ function untrustedIsObject(untrusted) {
|
|
|
50
50
|
function areRequiredParametersPresent(config, configPropertyNames) {
|
|
51
51
|
return configPropertyNames.parameters.required.every(req => req in config);
|
|
52
52
|
}
|
|
53
|
+
function generateParamConfigMetadata(name, required, coerceFn) {
|
|
54
|
+
return {
|
|
55
|
+
name,
|
|
56
|
+
required,
|
|
57
|
+
coerceFn,
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
function buildAdapterValidationConfig(displayName, paramsMeta) {
|
|
61
|
+
const required = paramsMeta.filter(p => p.required).map(p => p.name);
|
|
62
|
+
const optional = paramsMeta.filter(p => !p.required).map(p => p.name);
|
|
63
|
+
return {
|
|
64
|
+
displayName,
|
|
65
|
+
parameters: {
|
|
66
|
+
required,
|
|
67
|
+
optional,
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
}
|
|
53
71
|
const keyPrefix = 'IdentityVerification';
|
|
54
72
|
|
|
55
73
|
const { isArray: ArrayIsArray } = Array;
|
|
@@ -1213,26 +1231,8 @@ const ingest$2 = function VerificationContextOutputRepresentationIngest(input, p
|
|
|
1213
1231
|
}
|
|
1214
1232
|
}
|
|
1215
1233
|
const key = keyBuilderFromType$2(luvio, input);
|
|
1216
|
-
const existingRecord = store.readEntry(key);
|
|
1217
1234
|
const ttlToUse = TTL$2;
|
|
1218
|
-
|
|
1219
|
-
fullPath: key,
|
|
1220
|
-
parent: path.parent,
|
|
1221
|
-
propertyName: path.propertyName,
|
|
1222
|
-
ttl: ttlToUse
|
|
1223
|
-
});
|
|
1224
|
-
if (existingRecord === undefined || equals$9(existingRecord, incomingRecord) === false) {
|
|
1225
|
-
luvio.storePublish(key, incomingRecord);
|
|
1226
|
-
}
|
|
1227
|
-
{
|
|
1228
|
-
const storeMetadataParams = {
|
|
1229
|
-
ttl: ttlToUse,
|
|
1230
|
-
namespace: "IdentityVerification",
|
|
1231
|
-
version: VERSION$9,
|
|
1232
|
-
representationName: RepresentationType$2,
|
|
1233
|
-
};
|
|
1234
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
1235
|
-
}
|
|
1235
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$2, "IdentityVerification", VERSION$9, RepresentationType$2, equals$9);
|
|
1236
1236
|
return createLink(key);
|
|
1237
1237
|
};
|
|
1238
1238
|
function getTypeCacheKeys$2(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1282,13 +1282,12 @@ function createResourceRequest$3(config) {
|
|
|
1282
1282
|
};
|
|
1283
1283
|
}
|
|
1284
1284
|
|
|
1285
|
-
const
|
|
1286
|
-
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
};
|
|
1285
|
+
const adapterName$3 = 'buildVerificationContext';
|
|
1286
|
+
const buildVerificationContext_ConfigPropertyMetadata = [
|
|
1287
|
+
generateParamConfigMetadata('processDefinitionName', true),
|
|
1288
|
+
generateParamConfigMetadata('BuildContextData', true),
|
|
1289
|
+
];
|
|
1290
|
+
const buildVerificationContext_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, buildVerificationContext_ConfigPropertyMetadata);
|
|
1292
1291
|
function createResourceParams$3(config) {
|
|
1293
1292
|
const resourceParams = {
|
|
1294
1293
|
urlParams: {
|
|
@@ -1827,26 +1826,8 @@ const ingest$1 = function FormVerificationRepresentationIngest(input, path, luvi
|
|
|
1827
1826
|
}
|
|
1828
1827
|
}
|
|
1829
1828
|
const key = keyBuilderFromType$1(luvio, input);
|
|
1830
|
-
const existingRecord = store.readEntry(key);
|
|
1831
1829
|
const ttlToUse = TTL$1;
|
|
1832
|
-
|
|
1833
|
-
fullPath: key,
|
|
1834
|
-
parent: path.parent,
|
|
1835
|
-
propertyName: path.propertyName,
|
|
1836
|
-
ttl: ttlToUse
|
|
1837
|
-
});
|
|
1838
|
-
if (existingRecord === undefined || equals$4(existingRecord, incomingRecord) === false) {
|
|
1839
|
-
luvio.storePublish(key, incomingRecord);
|
|
1840
|
-
}
|
|
1841
|
-
{
|
|
1842
|
-
const storeMetadataParams = {
|
|
1843
|
-
ttl: ttlToUse,
|
|
1844
|
-
namespace: "IdentityVerification",
|
|
1845
|
-
version: VERSION$4,
|
|
1846
|
-
representationName: RepresentationType$1,
|
|
1847
|
-
};
|
|
1848
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
1849
|
-
}
|
|
1830
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize$1, "IdentityVerification", VERSION$4, RepresentationType$1, equals$4);
|
|
1850
1831
|
return createLink(key);
|
|
1851
1832
|
};
|
|
1852
1833
|
function getTypeCacheKeys$1(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -1896,13 +1877,11 @@ function createResourceRequest$2(config) {
|
|
|
1896
1877
|
};
|
|
1897
1878
|
}
|
|
1898
1879
|
|
|
1899
|
-
const
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1903
|
-
|
|
1904
|
-
}
|
|
1905
|
-
};
|
|
1880
|
+
const adapterName$2 = 'createFormVerification';
|
|
1881
|
+
const createFormVerification_ConfigPropertyMetadata = [
|
|
1882
|
+
generateParamConfigMetadata('IdentityVerificationFormInputData', true),
|
|
1883
|
+
];
|
|
1884
|
+
const createFormVerification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$2, createFormVerification_ConfigPropertyMetadata);
|
|
1906
1885
|
function createResourceParams$2(config) {
|
|
1907
1886
|
const resourceParams = {
|
|
1908
1887
|
body: {
|
|
@@ -2384,13 +2363,11 @@ function createResourceRequest$1(config) {
|
|
|
2384
2363
|
};
|
|
2385
2364
|
}
|
|
2386
2365
|
|
|
2387
|
-
const
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2391
|
-
|
|
2392
|
-
}
|
|
2393
|
-
};
|
|
2366
|
+
const adapterName$1 = 'identityVerification';
|
|
2367
|
+
const identityVerification_ConfigPropertyMetadata = [
|
|
2368
|
+
generateParamConfigMetadata('IdentityVerificationContextData', true),
|
|
2369
|
+
];
|
|
2370
|
+
const identityVerification_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$1, identityVerification_ConfigPropertyMetadata);
|
|
2394
2371
|
function createResourceParams$1(config) {
|
|
2395
2372
|
const resourceParams = {
|
|
2396
2373
|
body: {
|
|
@@ -2826,26 +2803,8 @@ const ingest = function SearchOutputRepresentationIngest(input, path, luvio, sto
|
|
|
2826
2803
|
}
|
|
2827
2804
|
}
|
|
2828
2805
|
const key = keyBuilderFromType(luvio, input);
|
|
2829
|
-
const existingRecord = store.readEntry(key);
|
|
2830
2806
|
const ttlToUse = TTL;
|
|
2831
|
-
|
|
2832
|
-
fullPath: key,
|
|
2833
|
-
parent: path.parent,
|
|
2834
|
-
propertyName: path.propertyName,
|
|
2835
|
-
ttl: ttlToUse
|
|
2836
|
-
});
|
|
2837
|
-
if (existingRecord === undefined || equals(existingRecord, incomingRecord) === false) {
|
|
2838
|
-
luvio.storePublish(key, incomingRecord);
|
|
2839
|
-
}
|
|
2840
|
-
{
|
|
2841
|
-
const storeMetadataParams = {
|
|
2842
|
-
ttl: ttlToUse,
|
|
2843
|
-
namespace: "IdentityVerification",
|
|
2844
|
-
version: VERSION,
|
|
2845
|
-
representationName: RepresentationType,
|
|
2846
|
-
};
|
|
2847
|
-
luvio.publishStoreMetadata(key, storeMetadataParams);
|
|
2848
|
-
}
|
|
2807
|
+
ingestShape(input, path, luvio, store, timestamp, ttlToUse, key, normalize, "IdentityVerification", VERSION, RepresentationType, equals);
|
|
2849
2808
|
return createLink(key);
|
|
2850
2809
|
};
|
|
2851
2810
|
function getTypeCacheKeys(rootKeySet, luvio, input, fullPathFactory) {
|
|
@@ -2895,13 +2854,11 @@ function createResourceRequest(config) {
|
|
|
2895
2854
|
};
|
|
2896
2855
|
}
|
|
2897
2856
|
|
|
2898
|
-
const
|
|
2899
|
-
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2903
|
-
}
|
|
2904
|
-
};
|
|
2857
|
+
const adapterName = 'searchRecords';
|
|
2858
|
+
const searchRecords_ConfigPropertyMetadata = [
|
|
2859
|
+
generateParamConfigMetadata('SearchRecordsContextData', true),
|
|
2860
|
+
];
|
|
2861
|
+
const searchRecords_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, searchRecords_ConfigPropertyMetadata);
|
|
2905
2862
|
function createResourceParams(config) {
|
|
2906
2863
|
const resourceParams = {
|
|
2907
2864
|
body: {
|
|
@@ -2988,4 +2945,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2988
2945
|
});
|
|
2989
2946
|
|
|
2990
2947
|
export { buildVerificationContext, createFormVerification, identityVerification, searchRecords };
|
|
2991
|
-
// version: 1.213.
|
|
2948
|
+
// version: 1.213.2-1eb996209
|