@salesforce/lds-adapters-cdp-document-processing 1.404.0-dev2 → 1.404.0-dev20
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 +9 -3
- package/dist/es/es2018/types/src/generated/adapters/extractDataUsingIdpConfiguration.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/adapters/generateIdpConfigurationSchema.d.ts +1 -0
- package/dist/es/es2018/types/src/generated/adapters/updateIdpConfiguration.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/patchSsotDocumentProcessingConfigurationsByIdOrApiName.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDocumentProcessingActionsExtractData.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDocumentProcessingActionsGenerateSchema.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/types/IdpConfigurationBaseRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/IdpConfigurationInputRepresentation.d.ts +1 -1
- package/dist/es/es2018/types/src/generated/types/IdpConfigurationPatchInputRepresentation.d.ts +8 -2
- package/package.json +3 -3
- package/sfdc/index.js +10 -4
- package/src/raml/api.raml +29 -3
|
@@ -1156,6 +1156,8 @@ const updateIdpConfiguration_ConfigPropertyMetadata = [
|
|
|
1156
1156
|
generateParamConfigMetadata('activationStatus', false, 2 /* Body */, 0 /* String */),
|
|
1157
1157
|
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
1158
1158
|
generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
|
|
1159
|
+
generateParamConfigMetadata('mlModel', false, 2 /* Body */, 0 /* String */),
|
|
1160
|
+
generateParamConfigMetadata('schemaConfig', false, 2 /* Body */, 0 /* String */),
|
|
1159
1161
|
];
|
|
1160
1162
|
const updateIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName$3, updateIdpConfiguration_ConfigPropertyMetadata);
|
|
1161
1163
|
const createResourceParams$3 = /*#__PURE__*/ createResourceParams$8(updateIdpConfiguration_ConfigPropertyMetadata);
|
|
@@ -1640,7 +1642,7 @@ function createResourceRequest$1(config) {
|
|
|
1640
1642
|
method: 'post',
|
|
1641
1643
|
body: config.body,
|
|
1642
1644
|
urlParams: {},
|
|
1643
|
-
queryParams:
|
|
1645
|
+
queryParams: config.queryParams,
|
|
1644
1646
|
headers,
|
|
1645
1647
|
priority: 'normal',
|
|
1646
1648
|
};
|
|
@@ -1648,6 +1650,7 @@ function createResourceRequest$1(config) {
|
|
|
1648
1650
|
|
|
1649
1651
|
const adapterName$1 = 'generateIdpConfigurationSchema';
|
|
1650
1652
|
const generateIdpConfigurationSchema_ConfigPropertyMetadata = [
|
|
1653
|
+
generateParamConfigMetadata('idpClientPartnerId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1651
1654
|
generateParamConfigMetadata('files', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
1652
1655
|
generateParamConfigMetadata('mlModel', true, 2 /* Body */, 0 /* String */),
|
|
1653
1656
|
];
|
|
@@ -1892,7 +1895,7 @@ function select(luvio, params) {
|
|
|
1892
1895
|
return select$1();
|
|
1893
1896
|
}
|
|
1894
1897
|
function keyBuilder$1(luvio, params) {
|
|
1895
|
-
return keyPrefix + '::IdpExtractedDataRepresentation:(' + '[' + params.body.files.map(element => 'files.fileId:' + element.fileId).join(',') + ']' + '::' + 'mlModel:' + params.body.mlModel + '::' + 'schemaConfig:' + params.body.schemaConfig + ')';
|
|
1898
|
+
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 + ')';
|
|
1896
1899
|
}
|
|
1897
1900
|
function getResponseCacheKeys(storeKeyMap, luvio, resourceParams, response) {
|
|
1898
1901
|
getTypeCacheKeys(storeKeyMap, luvio, response, () => keyBuilder$1(luvio, resourceParams));
|
|
@@ -1934,7 +1937,7 @@ function createResourceRequest(config) {
|
|
|
1934
1937
|
method: 'post',
|
|
1935
1938
|
body: config.body,
|
|
1936
1939
|
urlParams: {},
|
|
1937
|
-
queryParams:
|
|
1940
|
+
queryParams: config.queryParams,
|
|
1938
1941
|
headers,
|
|
1939
1942
|
priority: 'normal',
|
|
1940
1943
|
};
|
|
@@ -1942,6 +1945,9 @@ function createResourceRequest(config) {
|
|
|
1942
1945
|
|
|
1943
1946
|
const adapterName = 'extractDataUsingIdpConfiguration';
|
|
1944
1947
|
const extractDataUsingIdpConfiguration_ConfigPropertyMetadata = [
|
|
1948
|
+
generateParamConfigMetadata('extractDataWithConfidenceScore', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
1949
|
+
generateParamConfigMetadata('htmlEncode', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
1950
|
+
generateParamConfigMetadata('idpClientPartnerId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
1945
1951
|
generateParamConfigMetadata('files', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
1946
1952
|
generateParamConfigMetadata('mlModel', true, 2 /* Body */, 0 /* String */),
|
|
1947
1953
|
generateParamConfigMetadata('schemaConfig', true, 2 /* Body */, 0 /* String */),
|
|
@@ -6,6 +6,9 @@ export declare const adapterName = "extractDataUsingIdpConfiguration";
|
|
|
6
6
|
export declare const extractDataUsingIdpConfiguration_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
7
|
export declare const extractDataUsingIdpConfiguration_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface ExtractDataUsingIdpConfigurationConfig {
|
|
9
|
+
extractDataWithConfidenceScore?: boolean;
|
|
10
|
+
htmlEncode?: boolean;
|
|
11
|
+
idpClientPartnerId?: string;
|
|
9
12
|
files: Array<{
|
|
10
13
|
fileId: string;
|
|
11
14
|
}>;
|
|
@@ -7,6 +7,7 @@ export declare const adapterName = "generateIdpConfigurationSchema";
|
|
|
7
7
|
export declare const generateIdpConfigurationSchema_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
8
|
export declare const generateIdpConfigurationSchema_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
9
|
export interface GenerateIdpConfigurationSchemaConfig {
|
|
10
|
+
idpClientPartnerId?: string;
|
|
10
11
|
files: Array<types_IdpGenerateSchemaFileInputRepresentation_IdpGenerateSchemaFileInputRepresentation>;
|
|
11
12
|
mlModel: string;
|
|
12
13
|
}
|
|
@@ -10,6 +10,8 @@ export interface UpdateIdpConfigurationConfig {
|
|
|
10
10
|
activationStatus?: string;
|
|
11
11
|
description?: string;
|
|
12
12
|
label?: string;
|
|
13
|
+
mlModel?: string;
|
|
14
|
+
schemaConfig?: string;
|
|
13
15
|
}
|
|
14
16
|
export declare const createResourceParams: (config: UpdateIdpConfigurationConfig) => resources_patchSsotDocumentProcessingConfigurationsByIdOrApiName_ResourceRequestConfig;
|
|
15
17
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateIdpConfigurationConfig>): adapter$45$utils_Untrusted<UpdateIdpConfigurationConfig>;
|
|
@@ -8,6 +8,8 @@ export interface ResourceRequestConfig {
|
|
|
8
8
|
activationStatus?: string;
|
|
9
9
|
description?: string;
|
|
10
10
|
label?: string;
|
|
11
|
+
mlModel?: string;
|
|
12
|
+
schemaConfig?: string;
|
|
11
13
|
};
|
|
12
14
|
}
|
|
13
15
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
2
|
import { IdpExtractedDataRepresentation as types_IdpExtractedDataRepresentation_IdpExtractedDataRepresentation } from '../types/IdpExtractedDataRepresentation';
|
|
3
3
|
export interface ResourceRequestConfig {
|
|
4
|
+
queryParams: {
|
|
5
|
+
extractDataWithConfidenceScore?: boolean;
|
|
6
|
+
htmlEncode?: boolean;
|
|
7
|
+
idpClientPartnerId?: string;
|
|
8
|
+
};
|
|
4
9
|
body: {
|
|
5
10
|
files: Array<{
|
|
6
11
|
fileId: string;
|
|
@@ -2,6 +2,9 @@ import { IdpGenerateSchemaFileInputRepresentation as types_IdpGenerateSchemaFile
|
|
|
2
2
|
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, 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 { IdpGeneratedSchemaRepresentation as types_IdpGeneratedSchemaRepresentation_IdpGeneratedSchemaRepresentation } from '../types/IdpGeneratedSchemaRepresentation';
|
|
4
4
|
export interface ResourceRequestConfig {
|
|
5
|
+
queryParams: {
|
|
6
|
+
idpClientPartnerId?: string;
|
|
7
|
+
};
|
|
5
8
|
body: {
|
|
6
9
|
files: Array<types_IdpGenerateSchemaFileInputRepresentation_IdpGenerateSchemaFileInputRepresentation>;
|
|
7
10
|
mlModel: string;
|
|
@@ -15,7 +15,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
* (none)
|
|
16
16
|
*/
|
|
17
17
|
export interface IdpConfigurationBaseRepresentationNormalized extends CdpAssetBaseRepresentation_CdpAssetBaseRepresentation {
|
|
18
|
-
/** IDP Configuration Activation Status (Activated - Deactivated) */
|
|
18
|
+
/** IDP Configuration Activation Status (Activated - Deactivated - Draft) */
|
|
19
19
|
activationStatus: string;
|
|
20
20
|
/** IDP Configuration Data Space */
|
|
21
21
|
dataspace: unknown;
|
|
@@ -15,7 +15,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
* (none)
|
|
16
16
|
*/
|
|
17
17
|
export interface IdpConfigurationInputRepresentationNormalized {
|
|
18
|
-
/** Activated/Deactivated */
|
|
18
|
+
/** Activated/Deactivated/Draft */
|
|
19
19
|
activationStatus: string;
|
|
20
20
|
/** A map of custom key-value pairs serialized as JSON */
|
|
21
21
|
configMetadata: {
|
package/dist/es/es2018/types/src/generated/types/IdpConfigurationPatchInputRepresentation.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
2
|
export declare const TTL = 500;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "e845a44d5bb63698f56ef4781a365527";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export declare function normalize(input: IdpConfigurationPatchInputRepresentation, existing: IdpConfigurationPatchInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IdpConfigurationPatchInputRepresentationNormalized;
|
|
@@ -15,12 +15,16 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
* (none)
|
|
16
16
|
*/
|
|
17
17
|
export interface IdpConfigurationPatchInputRepresentationNormalized {
|
|
18
|
-
/** The updated activation status - Activated/Deactivated */
|
|
18
|
+
/** The updated activation status - Activated/Deactivated/Draft */
|
|
19
19
|
activationStatus?: string;
|
|
20
20
|
/** The updated description of the IDP configuration to be created */
|
|
21
21
|
description?: string;
|
|
22
22
|
/** The updated label of the IDP configuration to be created */
|
|
23
23
|
label?: string;
|
|
24
|
+
/** The ML model used to extract the unstructured data */
|
|
25
|
+
mlModel?: string;
|
|
26
|
+
/** The schema of the data to be extracted */
|
|
27
|
+
schemaConfig?: string;
|
|
24
28
|
}
|
|
25
29
|
/**
|
|
26
30
|
* The update input representation for Idp Configuration
|
|
@@ -32,4 +36,6 @@ export interface IdpConfigurationPatchInputRepresentation {
|
|
|
32
36
|
activationStatus?: string;
|
|
33
37
|
description?: string;
|
|
34
38
|
label?: string;
|
|
39
|
+
mlModel?: string;
|
|
40
|
+
schemaConfig?: string;
|
|
35
41
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cdp-document-processing",
|
|
3
|
-
"version": "1.404.0-
|
|
3
|
+
"version": "1.404.0-dev20",
|
|
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.404.0-
|
|
45
|
+
"@salesforce/lds-bindings": "^1.404.0-dev20"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@salesforce/lds-compiler-plugins": "^1.404.0-
|
|
48
|
+
"@salesforce/lds-compiler-plugins": "^1.404.0-dev20"
|
|
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:(' + '[' + 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));
|
|
@@ -690,7 +690,7 @@ function createResourceRequest$5(config) {
|
|
|
690
690
|
method: 'post',
|
|
691
691
|
body: config.body,
|
|
692
692
|
urlParams: {},
|
|
693
|
-
queryParams:
|
|
693
|
+
queryParams: config.queryParams,
|
|
694
694
|
headers,
|
|
695
695
|
priority: 'normal',
|
|
696
696
|
};
|
|
@@ -698,6 +698,9 @@ function createResourceRequest$5(config) {
|
|
|
698
698
|
|
|
699
699
|
const adapterName$5 = 'extractDataUsingIdpConfiguration';
|
|
700
700
|
const extractDataUsingIdpConfiguration_ConfigPropertyMetadata = [
|
|
701
|
+
generateParamConfigMetadata('extractDataWithConfidenceScore', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
702
|
+
generateParamConfigMetadata('htmlEncode', false, 1 /* QueryParameter */, 1 /* Boolean */),
|
|
703
|
+
generateParamConfigMetadata('idpClientPartnerId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
701
704
|
generateParamConfigMetadata('files', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
702
705
|
generateParamConfigMetadata('mlModel', true, 2 /* Body */, 0 /* String */),
|
|
703
706
|
generateParamConfigMetadata('schemaConfig', true, 2 /* Body */, 0 /* String */),
|
|
@@ -953,7 +956,7 @@ function createResourceRequest$4(config) {
|
|
|
953
956
|
method: 'post',
|
|
954
957
|
body: config.body,
|
|
955
958
|
urlParams: {},
|
|
956
|
-
queryParams:
|
|
959
|
+
queryParams: config.queryParams,
|
|
957
960
|
headers,
|
|
958
961
|
priority: 'normal',
|
|
959
962
|
};
|
|
@@ -961,6 +964,7 @@ function createResourceRequest$4(config) {
|
|
|
961
964
|
|
|
962
965
|
const adapterName$4 = 'generateIdpConfigurationSchema';
|
|
963
966
|
const generateIdpConfigurationSchema_ConfigPropertyMetadata = [
|
|
967
|
+
generateParamConfigMetadata('idpClientPartnerId', false, 1 /* QueryParameter */, 0 /* String */),
|
|
964
968
|
generateParamConfigMetadata('files', true, 2 /* Body */, 4 /* Unsupported */, true),
|
|
965
969
|
generateParamConfigMetadata('mlModel', true, 2 /* Body */, 0 /* String */),
|
|
966
970
|
];
|
|
@@ -2047,6 +2051,8 @@ const updateIdpConfiguration_ConfigPropertyMetadata = [
|
|
|
2047
2051
|
generateParamConfigMetadata('activationStatus', false, 2 /* Body */, 0 /* String */),
|
|
2048
2052
|
generateParamConfigMetadata('description', false, 2 /* Body */, 0 /* String */),
|
|
2049
2053
|
generateParamConfigMetadata('label', false, 2 /* Body */, 0 /* String */),
|
|
2054
|
+
generateParamConfigMetadata('mlModel', false, 2 /* Body */, 0 /* String */),
|
|
2055
|
+
generateParamConfigMetadata('schemaConfig', false, 2 /* Body */, 0 /* String */),
|
|
2050
2056
|
];
|
|
2051
2057
|
const updateIdpConfiguration_ConfigPropertyNames = /*#__PURE__*/ buildAdapterValidationConfig(adapterName, updateIdpConfiguration_ConfigPropertyMetadata);
|
|
2052
2058
|
const createResourceParams = /*#__PURE__*/ createResourceParams$8(updateIdpConfiguration_ConfigPropertyMetadata);
|
|
@@ -2179,4 +2185,4 @@ withDefaultLuvio((luvio) => {
|
|
|
2179
2185
|
});
|
|
2180
2186
|
|
|
2181
2187
|
export { createIdpConfiguration, deleteIdpConfiguration, extractDataUsingIdpConfiguration, extractDataUsingIdpConfiguration_imperative, generateIdpConfigurationSchema, getIdpConfiguration, getIdpConfigurationNotifyChange, getIdpConfiguration_imperative, getIdpConfigurations, getIdpConfigurations_imperative, getIdpGlobalConfig, getIdpGlobalConfig_imperative, updateIdpConfiguration };
|
|
2182
|
-
// version: 1.404.0-
|
|
2188
|
+
// version: 1.404.0-dev20-d07b5007e7
|
package/src/raml/api.raml
CHANGED
|
@@ -87,11 +87,12 @@ types:
|
|
|
87
87
|
discriminator: version
|
|
88
88
|
properties:
|
|
89
89
|
activationStatus:
|
|
90
|
-
description: IDP Configuration Activation Status (Activated - Deactivated)
|
|
90
|
+
description: IDP Configuration Activation Status (Activated - Deactivated - Draft)
|
|
91
91
|
type: string
|
|
92
92
|
enum:
|
|
93
93
|
- Activated
|
|
94
94
|
- Deactivated
|
|
95
|
+
- Draft
|
|
95
96
|
dataspace:
|
|
96
97
|
description: IDP Configuration Data Space
|
|
97
98
|
type: any
|
|
@@ -170,11 +171,12 @@ types:
|
|
|
170
171
|
type: object
|
|
171
172
|
properties:
|
|
172
173
|
activationStatus:
|
|
173
|
-
description: Activated/Deactivated
|
|
174
|
+
description: Activated/Deactivated/Draft
|
|
174
175
|
type: string
|
|
175
176
|
enum:
|
|
176
177
|
- Activated
|
|
177
178
|
- Deactivated
|
|
179
|
+
- Draft
|
|
178
180
|
description:
|
|
179
181
|
description: The description of the IDP configuration to be created
|
|
180
182
|
type: string
|
|
@@ -212,11 +214,12 @@ types:
|
|
|
212
214
|
type: object
|
|
213
215
|
properties:
|
|
214
216
|
activationStatus:
|
|
215
|
-
description: The updated activation status - Activated/Deactivated
|
|
217
|
+
description: The updated activation status - Activated/Deactivated/Draft
|
|
216
218
|
type: string
|
|
217
219
|
enum:
|
|
218
220
|
- Activated
|
|
219
221
|
- Deactivated
|
|
222
|
+
- Draft
|
|
220
223
|
required: false
|
|
221
224
|
description:
|
|
222
225
|
description: The updated description of the IDP configuration to be created
|
|
@@ -226,6 +229,14 @@ types:
|
|
|
226
229
|
description: The updated label of the IDP configuration to be created
|
|
227
230
|
type: string
|
|
228
231
|
required: false
|
|
232
|
+
mlModel:
|
|
233
|
+
description: The ML model used to extract the unstructured data
|
|
234
|
+
type: string
|
|
235
|
+
required: false
|
|
236
|
+
schemaConfig:
|
|
237
|
+
description: The schema of the data to be extracted
|
|
238
|
+
type: string
|
|
239
|
+
required: false
|
|
229
240
|
IdpConfigurationRepresentation:
|
|
230
241
|
description: Idp Configuration Representation
|
|
231
242
|
type: IdpConfigurationBaseRepresentation
|
|
@@ -387,6 +398,7 @@ types:
|
|
|
387
398
|
enum:
|
|
388
399
|
- Activated
|
|
389
400
|
- Deactivated
|
|
401
|
+
- Draft
|
|
390
402
|
limit:
|
|
391
403
|
type: integer
|
|
392
404
|
required: false
|
|
@@ -471,6 +483,10 @@ types:
|
|
|
471
483
|
application/json:
|
|
472
484
|
type: IdpGenerateSchemaInputRepresentation
|
|
473
485
|
(oas-body-name): generateIdpConfigurationSchema
|
|
486
|
+
queryParameters:
|
|
487
|
+
idpClientPartnerId:
|
|
488
|
+
type: string
|
|
489
|
+
required: false
|
|
474
490
|
/actions/extract-data:
|
|
475
491
|
post:
|
|
476
492
|
displayName: extractDataUsingIdpConfiguration
|
|
@@ -485,3 +501,13 @@ types:
|
|
|
485
501
|
application/json:
|
|
486
502
|
type: IdpExtractDataInputRepresentation
|
|
487
503
|
(oas-body-name): extractDataUsingIdpConfiguration
|
|
504
|
+
queryParameters:
|
|
505
|
+
extractDataWithConfidenceScore:
|
|
506
|
+
type: boolean
|
|
507
|
+
required: false
|
|
508
|
+
htmlEncode:
|
|
509
|
+
type: boolean
|
|
510
|
+
required: false
|
|
511
|
+
idpClientPartnerId:
|
|
512
|
+
type: string
|
|
513
|
+
required: false
|