@salesforce/lds-adapters-cdp-document-processing 1.354.0-dev2 → 1.354.0-dev21
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 +645 -267
- package/dist/es/es2018/types/src/generated/adapters/createIdpConfiguration.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/adapters/generateIdpConfigurationSchema.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/updateIdpConfiguration.d.ts +18 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/patchSsotDocumentProcessingConfigurationsByIdOrApiName.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDocumentProcessingActionsGenerateSchema.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDocumentProcessingConfigurations.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/types/IdpConfigurationDetailsRepresentation.d.ts +36 -9
- package/dist/es/es2018/types/src/generated/types/IdpConfigurationInputRepresentation.d.ts +9 -1
- package/dist/es/es2018/types/src/generated/types/IdpConfigurationPatchInputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/IdpGenerateSchemaFileInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/IdpGenerateSchemaInputRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/IdpGeneratedSchemaRepresentation.d.ts +41 -0
- package/package.json +3 -3
- package/sfdc/index.js +697 -313
- package/src/raml/api.raml +109 -2
- package/src/raml/luvio.raml +29 -3
|
@@ -14,6 +14,9 @@ export interface CreateIdpConfigurationConfig {
|
|
|
14
14
|
label: string;
|
|
15
15
|
mlModel: string;
|
|
16
16
|
name: string;
|
|
17
|
+
configMetadata: {
|
|
18
|
+
builderType: string;
|
|
19
|
+
};
|
|
17
20
|
schemaConfig: string;
|
|
18
21
|
}
|
|
19
22
|
export declare const createResourceParams: (config: CreateIdpConfigurationConfig) => resources_postSsotDocumentProcessingConfigurations_ResourceRequestConfig;
|
|
@@ -0,0 +1,17 @@
|
|
|
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';
|
|
3
|
+
import { IdpGenerateSchemaFileInputRepresentation as types_IdpGenerateSchemaFileInputRepresentation_IdpGenerateSchemaFileInputRepresentation } from '../types/IdpGenerateSchemaFileInputRepresentation';
|
|
4
|
+
import { ResourceRequestConfig as resources_postSsotDocumentProcessingActionsGenerateSchema_ResourceRequestConfig } from '../resources/postSsotDocumentProcessingActionsGenerateSchema';
|
|
5
|
+
import { IdpGeneratedSchemaRepresentation as types_IdpGeneratedSchemaRepresentation_IdpGeneratedSchemaRepresentation } from '../types/IdpGeneratedSchemaRepresentation';
|
|
6
|
+
export declare const adapterName = "generateIdpConfigurationSchema";
|
|
7
|
+
export declare const generateIdpConfigurationSchema_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
8
|
+
export declare const generateIdpConfigurationSchema_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
|
+
export interface GenerateIdpConfigurationSchemaConfig {
|
|
10
|
+
files: Array<types_IdpGenerateSchemaFileInputRepresentation_IdpGenerateSchemaFileInputRepresentation>;
|
|
11
|
+
mlModel: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: GenerateIdpConfigurationSchemaConfig) => resources_postSsotDocumentProcessingActionsGenerateSchema_ResourceRequestConfig;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GenerateIdpConfigurationSchemaConfig>): adapter$45$utils_Untrusted<GenerateIdpConfigurationSchemaConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GenerateIdpConfigurationSchemaConfig | null;
|
|
16
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GenerateIdpConfigurationSchemaConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_IdpGeneratedSchemaRepresentation_IdpGeneratedSchemaRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_IdpGeneratedSchemaRepresentation_IdpGeneratedSchemaRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_IdpGeneratedSchemaRepresentation_IdpGeneratedSchemaRepresentation, any>>;
|
|
17
|
+
export declare const generateIdpConfigurationSchemaAdapterFactory: $64$luvio_engine_AdapterFactory<GenerateIdpConfigurationSchemaConfig, types_IdpGeneratedSchemaRepresentation_IdpGeneratedSchemaRepresentation>;
|
|
@@ -0,0 +1,18 @@
|
|
|
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';
|
|
3
|
+
import { ResourceRequestConfig as resources_patchSsotDocumentProcessingConfigurationsByIdOrApiName_ResourceRequestConfig } from '../resources/patchSsotDocumentProcessingConfigurationsByIdOrApiName';
|
|
4
|
+
import { IdpConfigurationDetailsRepresentation as types_IdpConfigurationDetailsRepresentation_IdpConfigurationDetailsRepresentation } from '../types/IdpConfigurationDetailsRepresentation';
|
|
5
|
+
export declare const adapterName = "updateIdpConfiguration";
|
|
6
|
+
export declare const updateIdpConfiguration_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
7
|
+
export declare const updateIdpConfiguration_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
|
+
export interface UpdateIdpConfigurationConfig {
|
|
9
|
+
idOrApiName: string;
|
|
10
|
+
activationStatus: string;
|
|
11
|
+
description: string;
|
|
12
|
+
label: string;
|
|
13
|
+
}
|
|
14
|
+
export declare const createResourceParams: (config: UpdateIdpConfigurationConfig) => resources_patchSsotDocumentProcessingConfigurationsByIdOrApiName_ResourceRequestConfig;
|
|
15
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateIdpConfigurationConfig>): adapter$45$utils_Untrusted<UpdateIdpConfigurationConfig>;
|
|
16
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): UpdateIdpConfigurationConfig | null;
|
|
17
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: UpdateIdpConfigurationConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_IdpConfigurationDetailsRepresentation_IdpConfigurationDetailsRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_IdpConfigurationDetailsRepresentation_IdpConfigurationDetailsRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_IdpConfigurationDetailsRepresentation_IdpConfigurationDetailsRepresentation, any>>;
|
|
18
|
+
export declare const updateIdpConfigurationAdapterFactory: $64$luvio_engine_AdapterFactory<UpdateIdpConfigurationConfig, types_IdpConfigurationDetailsRepresentation_IdpConfigurationDetailsRepresentation>;
|
|
@@ -2,5 +2,7 @@ export { getIdpConfigurationsAdapterFactory } from '../adapters/getIdpConfigurat
|
|
|
2
2
|
export { createIdpConfigurationAdapterFactory } from '../adapters/createIdpConfiguration';
|
|
3
3
|
export { deleteIdpConfigurationAdapterFactory } from '../adapters/deleteIdpConfiguration';
|
|
4
4
|
export { getIdpConfigurationAdapterFactory } from '../adapters/getIdpConfiguration';
|
|
5
|
+
export { updateIdpConfigurationAdapterFactory } from '../adapters/updateIdpConfiguration';
|
|
5
6
|
export { getIdpGlobalConfigAdapterFactory } from '../adapters/getIdpGlobalConfig';
|
|
7
|
+
export { generateIdpConfigurationSchemaAdapterFactory } from '../adapters/generateIdpConfigurationSchema';
|
|
6
8
|
export { extractDataUsingIdpConfigurationAdapterFactory } from '../adapters/extractDataUsingIdpConfiguration';
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
declare let createIdpConfiguration: any;
|
|
2
2
|
declare let deleteIdpConfiguration: any;
|
|
3
3
|
declare let extractDataUsingIdpConfiguration: any;
|
|
4
|
+
declare let generateIdpConfigurationSchema: any;
|
|
4
5
|
declare let getIdpConfiguration: any;
|
|
5
6
|
declare let getIdpConfigurationNotifyChange: any;
|
|
6
7
|
declare let getIdpConfigurations: any;
|
|
7
8
|
declare let getIdpGlobalConfig: any;
|
|
9
|
+
declare let updateIdpConfiguration: any;
|
|
8
10
|
declare let extractDataUsingIdpConfiguration_imperative: any;
|
|
9
11
|
declare let getIdpConfiguration_imperative: any;
|
|
10
12
|
declare let getIdpConfigurations_imperative: any;
|
|
11
13
|
declare let getIdpGlobalConfig_imperative: any;
|
|
12
|
-
export { createIdpConfiguration, deleteIdpConfiguration, extractDataUsingIdpConfiguration, getIdpConfiguration, getIdpConfigurationNotifyChange, getIdpConfigurations, getIdpGlobalConfig, extractDataUsingIdpConfiguration_imperative, getIdpConfiguration_imperative, getIdpConfigurations_imperative, getIdpGlobalConfig_imperative, };
|
|
14
|
+
export { createIdpConfiguration, deleteIdpConfiguration, extractDataUsingIdpConfiguration, generateIdpConfigurationSchema, getIdpConfiguration, getIdpConfigurationNotifyChange, getIdpConfigurations, getIdpGlobalConfig, updateIdpConfiguration, extractDataUsingIdpConfiguration_imperative, getIdpConfiguration_imperative, getIdpConfigurations_imperative, getIdpGlobalConfig_imperative, };
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
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';
|
|
2
|
+
import { IdpConfigurationDetailsRepresentation as types_IdpConfigurationDetailsRepresentation_IdpConfigurationDetailsRepresentation } from '../types/IdpConfigurationDetailsRepresentation';
|
|
3
|
+
export interface ResourceRequestConfig {
|
|
4
|
+
urlParams: {
|
|
5
|
+
idOrApiName: string;
|
|
6
|
+
};
|
|
7
|
+
body: {
|
|
8
|
+
activationStatus: string;
|
|
9
|
+
description: string;
|
|
10
|
+
label: string;
|
|
11
|
+
};
|
|
12
|
+
}
|
|
13
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
14
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_IdpConfigurationDetailsRepresentation_IdpConfigurationDetailsRepresentation): void;
|
|
15
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_IdpConfigurationDetailsRepresentation_IdpConfigurationDetailsRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_IdpConfigurationDetailsRepresentation_IdpConfigurationDetailsRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_IdpConfigurationDetailsRepresentation_IdpConfigurationDetailsRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_IdpConfigurationDetailsRepresentation_IdpConfigurationDetailsRepresentation, any>;
|
|
16
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
17
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IdpGenerateSchemaFileInputRepresentation as types_IdpGenerateSchemaFileInputRepresentation_IdpGenerateSchemaFileInputRepresentation } from '../types/IdpGenerateSchemaFileInputRepresentation';
|
|
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
|
+
import { IdpGeneratedSchemaRepresentation as types_IdpGeneratedSchemaRepresentation_IdpGeneratedSchemaRepresentation } from '../types/IdpGeneratedSchemaRepresentation';
|
|
4
|
+
export interface ResourceRequestConfig {
|
|
5
|
+
body: {
|
|
6
|
+
files: Array<types_IdpGenerateSchemaFileInputRepresentation_IdpGenerateSchemaFileInputRepresentation>;
|
|
7
|
+
mlModel: string;
|
|
8
|
+
};
|
|
9
|
+
}
|
|
10
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
11
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_IdpGeneratedSchemaRepresentation_IdpGeneratedSchemaRepresentation): void;
|
|
12
|
+
export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_IdpGeneratedSchemaRepresentation_IdpGeneratedSchemaRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_IdpGeneratedSchemaRepresentation_IdpGeneratedSchemaRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_IdpGeneratedSchemaRepresentation_IdpGeneratedSchemaRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_IdpGeneratedSchemaRepresentation_IdpGeneratedSchemaRepresentation, any>;
|
|
13
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
14
|
+
export default createResourceRequest;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store,
|
|
1
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
2
|
export declare const TTL = 500;
|
|
3
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "8bf201cc7509ac5c7e3db70eba261ab8";
|
|
4
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
5
|
export declare const RepresentationType: string;
|
|
6
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
7
|
-
|
|
7
|
+
id: string;
|
|
8
8
|
}
|
|
9
9
|
export type IdpConfigurationDetailsRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
10
|
export type PartialIdpConfigurationDetailsRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
@@ -13,7 +13,7 @@ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio,
|
|
|
13
13
|
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: IdpConfigurationDetailsRepresentation): string;
|
|
14
14
|
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: IdpConfigurationDetailsRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
15
|
export declare function normalize(input: IdpConfigurationDetailsRepresentation, existing: IdpConfigurationDetailsRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IdpConfigurationDetailsRepresentationNormalized;
|
|
16
|
-
export declare const select: () => $64$
|
|
16
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
17
17
|
export declare function equals(existing: IdpConfigurationDetailsRepresentationNormalized, incoming: IdpConfigurationDetailsRepresentationNormalized): boolean;
|
|
18
18
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
19
19
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: IdpConfigurationDetailsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
@@ -21,21 +21,48 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
21
21
|
* Idp Configuration Details Representation
|
|
22
22
|
*
|
|
23
23
|
* Keys:
|
|
24
|
-
*
|
|
24
|
+
* id (string): id
|
|
25
25
|
*/
|
|
26
26
|
export interface IdpConfigurationDetailsRepresentationNormalized {
|
|
27
|
-
/**
|
|
27
|
+
/** Created by */
|
|
28
|
+
createdBy: unknown;
|
|
29
|
+
/** Created date */
|
|
30
|
+
createdDate: string;
|
|
31
|
+
/** description of config */
|
|
32
|
+
description: unknown;
|
|
33
|
+
/** The 18 character ID of the asset */
|
|
34
|
+
id: string;
|
|
35
|
+
/** Label of the asset */
|
|
36
|
+
label: string;
|
|
37
|
+
/** Last modified by */
|
|
38
|
+
lastModifiedBy: unknown;
|
|
39
|
+
/** Last modified date */
|
|
40
|
+
lastModifiedDate: string;
|
|
41
|
+
/** fileConfig */
|
|
42
|
+
mlModel: string | null;
|
|
43
|
+
/** Name of the asset */
|
|
28
44
|
name: string;
|
|
45
|
+
/** fileConfig */
|
|
46
|
+
runtimeStatus: string | null;
|
|
29
47
|
/** The schema of the data to be extracted */
|
|
30
|
-
schemaConfig: string
|
|
48
|
+
schemaConfig: string;
|
|
31
49
|
}
|
|
32
50
|
/**
|
|
33
51
|
* Idp Configuration Details Representation
|
|
34
52
|
*
|
|
35
53
|
* Keys:
|
|
36
|
-
*
|
|
54
|
+
* id (string): id
|
|
37
55
|
*/
|
|
38
56
|
export interface IdpConfigurationDetailsRepresentation {
|
|
57
|
+
createdBy: unknown;
|
|
58
|
+
createdDate: string;
|
|
59
|
+
description: unknown;
|
|
60
|
+
id: string;
|
|
61
|
+
label: string;
|
|
62
|
+
lastModifiedBy: unknown;
|
|
63
|
+
lastModifiedDate: string;
|
|
64
|
+
mlModel: string | null;
|
|
39
65
|
name: string;
|
|
40
|
-
|
|
66
|
+
runtimeStatus: string | null;
|
|
67
|
+
schemaConfig: string;
|
|
41
68
|
}
|
|
@@ -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 = "0fea29f364be93018445c1bf179d4d70";
|
|
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: IdpConfigurationInputRepresentation, existing: IdpConfigurationInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IdpConfigurationInputRepresentationNormalized;
|
|
@@ -17,6 +17,11 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
17
17
|
export interface IdpConfigurationInputRepresentationNormalized {
|
|
18
18
|
/** Activated/Deactivated */
|
|
19
19
|
activationStatus: string;
|
|
20
|
+
/** A map of custom key-value pairs serialized as JSON */
|
|
21
|
+
configMetadata: {
|
|
22
|
+
/** Source of idp config creation */
|
|
23
|
+
builderType: string;
|
|
24
|
+
};
|
|
20
25
|
/** The description of the IDP configuration to be created */
|
|
21
26
|
description: string;
|
|
22
27
|
/** The specs for the file types supported by the IDP process to be created */
|
|
@@ -41,6 +46,9 @@ export interface IdpConfigurationInputRepresentationNormalized {
|
|
|
41
46
|
*/
|
|
42
47
|
export interface IdpConfigurationInputRepresentation {
|
|
43
48
|
activationStatus: string;
|
|
49
|
+
configMetadata: {
|
|
50
|
+
builderType: string;
|
|
51
|
+
};
|
|
44
52
|
description: string;
|
|
45
53
|
fileConfig: {
|
|
46
54
|
fileTypes: Array<string>;
|
package/dist/es/es2018/types/src/generated/types/IdpConfigurationPatchInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,35 @@
|
|
|
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
|
+
export declare const TTL = 500;
|
|
3
|
+
export declare const VERSION = "64b51772778c3ed2f5270ac2248cf8a0";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
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;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
|
+
export declare function equals(existing: IdpConfigurationPatchInputRepresentationNormalized, incoming: IdpConfigurationPatchInputRepresentationNormalized): boolean;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: IdpConfigurationPatchInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* The update input representation for Idp Configuration
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface IdpConfigurationPatchInputRepresentationNormalized {
|
|
18
|
+
/** The updated activation status - Activated/Deactivated */
|
|
19
|
+
activationStatus: string;
|
|
20
|
+
/** The updated description of the IDP configuration to be created */
|
|
21
|
+
description: string;
|
|
22
|
+
/** The updated label of the IDP configuration to be created */
|
|
23
|
+
label: string;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* The update input representation for Idp Configuration
|
|
27
|
+
*
|
|
28
|
+
* Keys:
|
|
29
|
+
* (none)
|
|
30
|
+
*/
|
|
31
|
+
export interface IdpConfigurationPatchInputRepresentation {
|
|
32
|
+
activationStatus: string;
|
|
33
|
+
description: string;
|
|
34
|
+
label: string;
|
|
35
|
+
}
|
package/dist/es/es2018/types/src/generated/types/IdpGenerateSchemaFileInputRepresentation.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
export declare const VERSION = "1aaa322915b7d32cad8ccdad0932bfb2";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: IdpGenerateSchemaFileInputRepresentation, existing: IdpGenerateSchemaFileInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IdpGenerateSchemaFileInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
7
|
+
export declare function equals(existing: IdpGenerateSchemaFileInputRepresentationNormalized, incoming: IdpGenerateSchemaFileInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: IdpGenerateSchemaFileInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* The generate schema file input representation for Idp Configuration
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface IdpGenerateSchemaFileInputRepresentationNormalized {
|
|
17
|
+
/** Either a Salesforce file Id or a URI to SF Drive */
|
|
18
|
+
fileId: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The generate schema file input representation for Idp Configuration
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface IdpGenerateSchemaFileInputRepresentation {
|
|
27
|
+
fileId: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { IdpGenerateSchemaFileInputRepresentation as IdpGenerateSchemaFileInputRepresentation_IdpGenerateSchemaFileInputRepresentation } from './IdpGenerateSchemaFileInputRepresentation';
|
|
2
|
+
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, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const TTL = 500;
|
|
4
|
+
export declare const VERSION = "acd075542fdf5a26675439d438837484";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: IdpGenerateSchemaInputRepresentation, existing: IdpGenerateSchemaInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IdpGenerateSchemaInputRepresentationNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
9
|
+
export declare function equals(existing: IdpGenerateSchemaInputRepresentationNormalized, incoming: IdpGenerateSchemaInputRepresentationNormalized): boolean;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: IdpGenerateSchemaInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* The generate schema input representation for Idp Configuration
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface IdpGenerateSchemaInputRepresentationNormalized {
|
|
19
|
+
/** The list of unstructured source files to extract the schema from */
|
|
20
|
+
files: Array<$64$luvio_engine_StoreLink>;
|
|
21
|
+
/** The ID of the ML model to use for schema extraction */
|
|
22
|
+
mlModel: string;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* The generate schema input representation for Idp Configuration
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface IdpGenerateSchemaInputRepresentation {
|
|
31
|
+
files: Array<IdpGenerateSchemaFileInputRepresentation_IdpGenerateSchemaFileInputRepresentation>;
|
|
32
|
+
mlModel: string;
|
|
33
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const TTL = 1200000;
|
|
3
|
+
export declare const VERSION = "4d8b7735653266ae435f6f1fcca047ad";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
7
|
+
schema: string;
|
|
8
|
+
}
|
|
9
|
+
export type IdpGeneratedSchemaRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialIdpGeneratedSchemaRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
12
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): IdpGeneratedSchemaRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: IdpGeneratedSchemaRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: IdpGeneratedSchemaRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function normalize(input: IdpGeneratedSchemaRepresentation, existing: IdpGeneratedSchemaRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IdpGeneratedSchemaRepresentationNormalized;
|
|
16
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
17
|
+
export declare function equals(existing: IdpGeneratedSchemaRepresentationNormalized, incoming: IdpGeneratedSchemaRepresentationNormalized): boolean;
|
|
18
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
19
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: IdpGeneratedSchemaRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
20
|
+
/**
|
|
21
|
+
* Idp Generated Schema Representation
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* schema (string): schema
|
|
25
|
+
*/
|
|
26
|
+
export interface IdpGeneratedSchemaRepresentationNormalized {
|
|
27
|
+
/** Error message if schema generation fails */
|
|
28
|
+
error: string | null;
|
|
29
|
+
/** The generated schema in JSON format */
|
|
30
|
+
schema: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* Idp Generated Schema Representation
|
|
34
|
+
*
|
|
35
|
+
* Keys:
|
|
36
|
+
* schema (string): schema
|
|
37
|
+
*/
|
|
38
|
+
export interface IdpGeneratedSchemaRepresentation {
|
|
39
|
+
error: string | null;
|
|
40
|
+
schema: string;
|
|
41
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cdp-document-processing",
|
|
3
|
-
"version": "1.354.0-
|
|
3
|
+
"version": "1.354.0-dev21",
|
|
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": "
|
|
45
|
+
"@salesforce/lds-bindings": "^1.354.0-dev21"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
|
-
"@salesforce/lds-compiler-plugins": "^1.354.0-
|
|
48
|
+
"@salesforce/lds-compiler-plugins": "^1.354.0-dev21"
|
|
49
49
|
},
|
|
50
50
|
"nx": {
|
|
51
51
|
"targets": {
|