@salesforce/lds-adapters-cdp-document-processing 1.416.1 → 1.417.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/cdp-document-processing.js +2 -1
- package/dist/es/es2018/types/src/generated/adapters/extractDataUsingIdpConfiguration.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDocumentProcessingActionsExtractData.d.ts +1 -0
- package/package.json +3 -3
- package/sfdc/index.js +3 -2
- package/src/raml/api.raml +3 -0
|
@@ -1894,7 +1894,7 @@ function select(luvio, params) {
|
|
|
1894
1894
|
return select$1();
|
|
1895
1895
|
}
|
|
1896
1896
|
function keyBuilder$1(luvio, params) {
|
|
1897
|
-
return keyPrefix + '::IdpExtractedDataRepresentation:(' + 'extractDataWithConfidenceScore:' + params.queryParams.extractDataWithConfidenceScore + ',' + 'htmlEncode:' + params.queryParams.htmlEncode + ',' + '[' + params.body.files.map(element => 'files.fileId:' + element.fileId).join(',') + ']' + '::' + 'mlModel:' + params.body.mlModel + '::' + 'schemaConfig:' + params.body.schemaConfig + ')';
|
|
1897
|
+
return keyPrefix + '::IdpExtractedDataRepresentation:(' + 'extractDataWithConfidenceScore:' + params.queryParams.extractDataWithConfidenceScore + ',' + 'htmlEncode:' + params.queryParams.htmlEncode + ',' + 'idpClientPartnerId:' + params.queryParams.idpClientPartnerId + ',' + '[' + params.body.files.map(element => 'files.fileId:' + element.fileId).join(',') + ']' + '::' + 'mlModel:' + params.body.mlModel + '::' + 'schemaConfig:' + params.body.schemaConfig + ')';
|
|
1898
1898
|
}
|
|
1899
1899
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
1900
1900
|
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
@@ -1946,6 +1946,7 @@ const adapterName = 'extractDataUsingIdpConfiguration';
|
|
|
1946
1946
|
const extractDataUsingIdpConfiguration_ConfigPropertyMetadata = [
|
|
1947
1947
|
generateParamConfigMetadata('extractDataWithConfidenceScore', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
1948
1948
|
generateParamConfigMetadata('htmlEncode', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
1949
|
+
generateParamConfigMetadata('idpClientPartnerId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1949
1950
|
generateParamConfigMetadata('files', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
1950
1951
|
generateParamConfigMetadata('mlModel', true, 2 /* Body */, 0 /* String */),
|
|
1951
1952
|
generateParamConfigMetadata('schemaConfig', true, 2 /* Body */, 0 /* String */),
|
|
@@ -8,6 +8,7 @@ export declare const extractDataUsingIdpConfiguration_ConfigPropertyNames: adapt
|
|
|
8
8
|
export interface ExtractDataUsingIdpConfigurationConfig {
|
|
9
9
|
extractDataWithConfidenceScore?: boolean;
|
|
10
10
|
htmlEncode?: boolean;
|
|
11
|
+
idpClientPartnerId?: string;
|
|
11
12
|
files: Array<{
|
|
12
13
|
fileId: string;
|
|
13
14
|
}>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cdp-document-processing",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.417.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/cdp-document-processing.js",
|
|
@@ -42,10 +42,10 @@
|
|
|
42
42
|
"test:unit:debug": "node --inspect-brk ../../node_modules/.bin/jest --runInBand"
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
|
-
"@salesforce/lds-bindings": "^1.
|
|
45
|
+
"@salesforce/lds-bindings": "^1.417.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
48
|
+
"@salesforce/lds-compiler-plugins": "^1.417.0"
|
|
49
49
|
},
|
|
50
50
|
"nx": {
|
|
51
51
|
"targets": {
|
package/sfdc/index.js
CHANGED
|
@@ -648,7 +648,7 @@ function select$8(luvio, params) {
|
|
|
648
648
|
return select$9();
|
|
649
649
|
}
|
|
650
650
|
function keyBuilder$8(luvio, params) {
|
|
651
|
-
return keyPrefix + '::IdpExtractedDataRepresentation:(' + 'extractDataWithConfidenceScore:' + params.queryParams.extractDataWithConfidenceScore + ',' + 'htmlEncode:' + params.queryParams.htmlEncode + ',' + '[' + params.body.files.map(element => 'files.fileId:' + element.fileId).join(',') + ']' + '::' + 'mlModel:' + params.body.mlModel + '::' + 'schemaConfig:' + params.body.schemaConfig + ')';
|
|
651
|
+
return keyPrefix + '::IdpExtractedDataRepresentation:(' + 'extractDataWithConfidenceScore:' + params.queryParams.extractDataWithConfidenceScore + ',' + 'htmlEncode:' + params.queryParams.htmlEncode + ',' + 'idpClientPartnerId:' + params.queryParams.idpClientPartnerId + ',' + '[' + params.body.files.map(element => 'files.fileId:' + element.fileId).join(',') + ']' + '::' + 'mlModel:' + params.body.mlModel + '::' + 'schemaConfig:' + params.body.schemaConfig + ')';
|
|
652
652
|
}
|
|
653
653
|
function getResponseCacheKeys$5(storeKeyMap, luvio, resourceParams, response) {
|
|
654
654
|
getTypeCacheKeys$3(storeKeyMap, luvio, response, () => keyBuilder$8(luvio, resourceParams));
|
|
@@ -700,6 +700,7 @@ const adapterName$5 = 'extractDataUsingIdpConfiguration';
|
|
|
700
700
|
const extractDataUsingIdpConfiguration_ConfigPropertyMetadata = [
|
|
701
701
|
generateParamConfigMetadata('extractDataWithConfidenceScore', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
702
702
|
generateParamConfigMetadata('htmlEncode', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
703
|
+
generateParamConfigMetadata('idpClientPartnerId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
703
704
|
generateParamConfigMetadata('files', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
704
705
|
generateParamConfigMetadata('mlModel', true, 2 /* Body */, 0 /* String */),
|
|
705
706
|
generateParamConfigMetadata('schemaConfig', true, 2 /* Body */, 0 /* String */),
|
|
@@ -2183,4 +2184,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2183
2184
|
});
|
|
2184
2185
|
|
|
2185
2186
|
export { createIdpConfiguration, deleteIdpConfiguration, extractDataUsingIdpConfiguration, extractDataUsingIdpConfiguration_imperative, generateIdpConfigurationSchema, getIdpConfiguration, getIdpConfigurationNotifyChange, getIdpConfiguration_imperative, getIdpConfigurations, getIdpConfigurations_imperative, getIdpGlobalConfig, getIdpGlobalConfig_imperative, updateIdpConfiguration };
|
|
2186
|
-
// version: 1.
|
|
2187
|
+
// version: 1.417.0-83ca87d09c
|