@salesforce/lds-adapters-cdp-document-processing 0.1.0-dev1
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/LICENSE.txt +82 -0
- package/dist/es/es2018/cdp-document-processing.js +2049 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createIdpConfiguration.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/adapters/deleteIdpConfiguration.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/adapters/extractDataUsingIdpConfiguration.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/adapters/generateIdpConfigurationSchema.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/getIdpConfiguration.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getIdpConfigurations.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/adapters/getIdpGlobalConfig.d.ts +26 -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 +8 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/resources/deleteSsotDocumentProcessingConfigurationsByIdOrApiName.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotDocumentProcessingConfigurations.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotDocumentProcessingConfigurationsByIdOrApiName.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotDocumentProcessingGlobalConfig.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/patchSsotDocumentProcessingConfigurationsByIdOrApiName.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/postSsotDocumentProcessingActionsExtractData.d.ts +19 -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 +23 -0
- package/dist/es/es2018/types/src/generated/types/CdpAssetBaseRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/CdpPaginatedResponseBaseRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/CdpUserRepresentation.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/IdpConfigurationBaseRepresentation.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/IdpConfigurationDetailsRepresentation.d.ts +68 -0
- package/dist/es/es2018/types/src/generated/types/IdpConfigurationInputRepresentation.d.ts +60 -0
- package/dist/es/es2018/types/src/generated/types/IdpConfigurationPatchInputRepresentation.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/IdpConfigurationRepresentation.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/types/IdpConfigurationsCollectionRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/IdpContentTypeRepresentation.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/IdpExtractDataInputRepresentation.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/IdpExtractedDataRepresentation.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/IdpExtractedFileDataRepresenation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/IdpFileConfigRepresentation.d.ts +29 -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/dist/es/es2018/types/src/generated/types/IdpGlobalConfigRepresentation.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/IdpSupportedModelRepresentation.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +68 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +2182 -0
- package/src/raml/api.raml +487 -0
- package/src/raml/luvio.raml +116 -0
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
import { CdpAssetBaseRepresentation as CdpAssetBaseRepresentation_CdpAssetBaseRepresentation } from './CdpAssetBaseRepresentation';
|
|
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "88e086934bb7c8d0d727709cbb5c9077";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: IdpConfigurationBaseRepresentation, existing: IdpConfigurationBaseRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IdpConfigurationBaseRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
|
+
export declare function equals(existing: IdpConfigurationBaseRepresentationNormalized, incoming: IdpConfigurationBaseRepresentationNormalized): 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: IdpConfigurationBaseRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Idp Configuration Base Representation
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface IdpConfigurationBaseRepresentationNormalized extends CdpAssetBaseRepresentation_CdpAssetBaseRepresentation {
|
|
18
|
+
/** IDP Configuration Activation Status (Activated - Deactivated) */
|
|
19
|
+
activationStatus: string;
|
|
20
|
+
/** IDP Configuration Data Space */
|
|
21
|
+
dataspace: unknown;
|
|
22
|
+
/** IDP Configuration Description */
|
|
23
|
+
description: string | null;
|
|
24
|
+
/** The ML model used to extract the unstructured data */
|
|
25
|
+
mlModel: string;
|
|
26
|
+
/** What is the status of the last off-core unstructured data-extraction job run. Possible values: Success - Failed - InProgress - Aborted - NotStarted - Pending - Submitted - Ready */
|
|
27
|
+
runtimeStatus: string;
|
|
28
|
+
/** Whether the latest version of this IDP configuration has been synced to off-core. Possible values: Syncing - Synced - NotSynced - Error */
|
|
29
|
+
status: string;
|
|
30
|
+
/** The current version of the IDP configuration, this is incremented automatically with every edit */
|
|
31
|
+
version: string;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* Idp Configuration Base Representation
|
|
35
|
+
*
|
|
36
|
+
* Keys:
|
|
37
|
+
* (none)
|
|
38
|
+
*/
|
|
39
|
+
export interface IdpConfigurationBaseRepresentation extends CdpAssetBaseRepresentation_CdpAssetBaseRepresentation {
|
|
40
|
+
activationStatus: string;
|
|
41
|
+
dataspace: unknown;
|
|
42
|
+
description: string | null;
|
|
43
|
+
mlModel: string;
|
|
44
|
+
runtimeStatus: string;
|
|
45
|
+
status: string;
|
|
46
|
+
version: string;
|
|
47
|
+
}
|
|
@@ -0,0 +1,68 @@
|
|
|
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
|
+
export declare const TTL = 500;
|
|
3
|
+
export declare const VERSION = "8bf201cc7509ac5c7e3db70eba261ab8";
|
|
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
|
+
id: string;
|
|
8
|
+
}
|
|
9
|
+
export type IdpConfigurationDetailsRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
10
|
+
export type PartialIdpConfigurationDetailsRepresentationNormalizedKeyMetadata = 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): IdpConfigurationDetailsRepresentationNormalizedKeyMetadata;
|
|
13
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: IdpConfigurationDetailsRepresentation): string;
|
|
14
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: IdpConfigurationDetailsRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
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$luvio_engine_BaseFragment;
|
|
17
|
+
export declare function equals(existing: IdpConfigurationDetailsRepresentationNormalized, incoming: IdpConfigurationDetailsRepresentationNormalized): 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: IdpConfigurationDetailsRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
20
|
+
/**
|
|
21
|
+
* Idp Configuration Details Representation
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* id (string): id
|
|
25
|
+
*/
|
|
26
|
+
export interface IdpConfigurationDetailsRepresentationNormalized {
|
|
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 */
|
|
44
|
+
name: string;
|
|
45
|
+
/** fileConfig */
|
|
46
|
+
runtimeStatus: string | null;
|
|
47
|
+
/** The schema of the data to be extracted */
|
|
48
|
+
schemaConfig: string;
|
|
49
|
+
}
|
|
50
|
+
/**
|
|
51
|
+
* Idp Configuration Details Representation
|
|
52
|
+
*
|
|
53
|
+
* Keys:
|
|
54
|
+
* id (string): id
|
|
55
|
+
*/
|
|
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;
|
|
65
|
+
name: string;
|
|
66
|
+
runtimeStatus: string | null;
|
|
67
|
+
schemaConfig: string;
|
|
68
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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 = "0fea29f364be93018445c1bf179d4d70";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
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;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
|
+
export declare function equals(existing: IdpConfigurationInputRepresentationNormalized, incoming: IdpConfigurationInputRepresentationNormalized): 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: IdpConfigurationInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* The input representation for Idp Configuration
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface IdpConfigurationInputRepresentationNormalized {
|
|
18
|
+
/** Activated/Deactivated */
|
|
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
|
+
};
|
|
25
|
+
/** The description of the IDP configuration to be created */
|
|
26
|
+
description: string;
|
|
27
|
+
/** The specs for the file types supported by the IDP process to be created */
|
|
28
|
+
fileConfig: {
|
|
29
|
+
/** List of file formats that are supported by the IDP process to be created */
|
|
30
|
+
fileTypes: Array<string>;
|
|
31
|
+
};
|
|
32
|
+
/** The label of the IDP configuration to be created */
|
|
33
|
+
label: string;
|
|
34
|
+
/** The ML model used to extract the unstructured data */
|
|
35
|
+
mlModel: string;
|
|
36
|
+
/** The API name of the IDP configuration to be created */
|
|
37
|
+
name: string;
|
|
38
|
+
/** The schema of the data to be extracted */
|
|
39
|
+
schemaConfig: string;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* The input representation for Idp Configuration
|
|
43
|
+
*
|
|
44
|
+
* Keys:
|
|
45
|
+
* (none)
|
|
46
|
+
*/
|
|
47
|
+
export interface IdpConfigurationInputRepresentation {
|
|
48
|
+
activationStatus: string;
|
|
49
|
+
configMetadata: {
|
|
50
|
+
builderType: string;
|
|
51
|
+
};
|
|
52
|
+
description: string;
|
|
53
|
+
fileConfig: {
|
|
54
|
+
fileTypes: Array<string>;
|
|
55
|
+
};
|
|
56
|
+
label: string;
|
|
57
|
+
mlModel: string;
|
|
58
|
+
name: string;
|
|
59
|
+
schemaConfig: string;
|
|
60
|
+
}
|
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 = "e8177f5972851fdea7b85bf3e8790f9b";
|
|
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
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { IdpConfigurationBaseRepresentation as IdpConfigurationBaseRepresentation_IdpConfigurationBaseRepresentation } from './IdpConfigurationBaseRepresentation';
|
|
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "77a57892a6929e841d84339a3a78cdd0";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: IdpConfigurationRepresentation, existing: IdpConfigurationRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IdpConfigurationRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
|
+
export declare function equals(existing: IdpConfigurationRepresentationNormalized, incoming: IdpConfigurationRepresentationNormalized): 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: IdpConfigurationRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Idp Configuration Representation
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface IdpConfigurationRepresentationNormalized extends IdpConfigurationBaseRepresentation_IdpConfigurationBaseRepresentation {
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Idp Configuration Representation
|
|
21
|
+
*
|
|
22
|
+
* Keys:
|
|
23
|
+
* (none)
|
|
24
|
+
*/
|
|
25
|
+
export interface IdpConfigurationRepresentation extends IdpConfigurationBaseRepresentation_IdpConfigurationBaseRepresentation {
|
|
26
|
+
}
|
package/dist/es/es2018/types/src/generated/types/IdpConfigurationsCollectionRepresentation.d.ts
ADDED
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { CdpPaginatedResponseBaseRepresentation as CdpPaginatedResponseBaseRepresentation_CdpPaginatedResponseBaseRepresentation } from './CdpPaginatedResponseBaseRepresentation';
|
|
2
|
+
import { IdpConfigurationRepresentation as IdpConfigurationRepresentation_IdpConfigurationRepresentation } from './IdpConfigurationRepresentation';
|
|
3
|
+
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';
|
|
4
|
+
export declare const TTL = 500;
|
|
5
|
+
export declare const VERSION = "def7e7ee61e636c86d017097ba5ad643";
|
|
6
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
|
+
export declare const RepresentationType: string;
|
|
8
|
+
export declare function normalize(input: IdpConfigurationsCollectionRepresentation, existing: IdpConfigurationsCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IdpConfigurationsCollectionRepresentationNormalized;
|
|
9
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
10
|
+
export declare function equals(existing: IdpConfigurationsCollectionRepresentationNormalized, incoming: IdpConfigurationsCollectionRepresentationNormalized): boolean;
|
|
11
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
12
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: IdpConfigurationsCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
13
|
+
/**
|
|
14
|
+
* Idp Configuration Collection Representation
|
|
15
|
+
*
|
|
16
|
+
* Keys:
|
|
17
|
+
* (none)
|
|
18
|
+
*/
|
|
19
|
+
export interface IdpConfigurationsCollectionRepresentationNormalized extends CdpPaginatedResponseBaseRepresentation_CdpPaginatedResponseBaseRepresentation {
|
|
20
|
+
/** The IDP configuration records in the current page */
|
|
21
|
+
configurations: Array<$64$luvio_engine_StoreLink>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Idp Configuration Collection Representation
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface IdpConfigurationsCollectionRepresentation extends CdpPaginatedResponseBaseRepresentation_CdpPaginatedResponseBaseRepresentation {
|
|
30
|
+
configurations: Array<IdpConfigurationRepresentation_IdpConfigurationRepresentation>;
|
|
31
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
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 = "3898470434fb25794903f01c252663f5";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: IdpContentTypeRepresentation, existing: IdpContentTypeRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IdpContentTypeRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
|
+
export declare function equals(existing: IdpContentTypeRepresentationNormalized, incoming: IdpContentTypeRepresentationNormalized): 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: IdpContentTypeRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Idp Content Type Representation
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface IdpContentTypeRepresentationNormalized {
|
|
18
|
+
/** If this value by default */
|
|
19
|
+
isDefault: boolean;
|
|
20
|
+
/** The display name of the file type */
|
|
21
|
+
label: string;
|
|
22
|
+
/** Max size of the file in mega bytes */
|
|
23
|
+
maxFileSizeInMB: number;
|
|
24
|
+
/** The file type */
|
|
25
|
+
type: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Idp Content Type Representation
|
|
29
|
+
*
|
|
30
|
+
* Keys:
|
|
31
|
+
* (none)
|
|
32
|
+
*/
|
|
33
|
+
export interface IdpContentTypeRepresentation {
|
|
34
|
+
isDefault: boolean;
|
|
35
|
+
label: string;
|
|
36
|
+
maxFileSizeInMB: number;
|
|
37
|
+
type: string;
|
|
38
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
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 = "e68644da0e8d0f3687c60af293106dba";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: IdpExtractDataInputRepresentation, existing: IdpExtractDataInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IdpExtractDataInputRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
|
+
export declare function equals(existing: IdpExtractDataInputRepresentationNormalized, incoming: IdpExtractDataInputRepresentationNormalized): 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: IdpExtractDataInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* The extract data input representation for Idp Configuration
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface IdpExtractDataInputRepresentationNormalized {
|
|
18
|
+
/** The list of unstructured source files to extract the schema from */
|
|
19
|
+
files: Array<{
|
|
20
|
+
/** documentVersionId of the selected file */
|
|
21
|
+
fileId: string;
|
|
22
|
+
}>;
|
|
23
|
+
/** The ID of the ML model to use for schema extraction */
|
|
24
|
+
mlModel: string;
|
|
25
|
+
/** The schema of the data to be extracted */
|
|
26
|
+
schemaConfig: string;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* The extract data input representation for Idp Configuration
|
|
30
|
+
*
|
|
31
|
+
* Keys:
|
|
32
|
+
* (none)
|
|
33
|
+
*/
|
|
34
|
+
export interface IdpExtractDataInputRepresentation {
|
|
35
|
+
files: Array<{
|
|
36
|
+
fileId: string;
|
|
37
|
+
}>;
|
|
38
|
+
mlModel: string;
|
|
39
|
+
schemaConfig: string;
|
|
40
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
import { IdpExtractedFileDataRepresenation as IdpExtractedFileDataRepresenation_IdpExtractedFileDataRepresenation } from './IdpExtractedFileDataRepresenation';
|
|
3
|
+
export declare const TTL = 1200000;
|
|
4
|
+
export declare const VERSION = "b84ee34ba86306d907f22040f581479c";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: IdpExtractedDataRepresentation, existing: IdpExtractedDataRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IdpExtractedDataRepresentationNormalized;
|
|
8
|
+
export interface DynamicIngestParams {
|
|
9
|
+
data: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
}
|
|
11
|
+
export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: IdpExtractedDataRepresentation, existing: IdpExtractedDataRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => IdpExtractedDataRepresentationNormalized;
|
|
12
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
13
|
+
export interface DynamicSelectParams {
|
|
14
|
+
data?: $64$luvio_engine_LinkSelection;
|
|
15
|
+
}
|
|
16
|
+
export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
|
|
17
|
+
export declare function equals(existing: IdpExtractedDataRepresentationNormalized, incoming: IdpExtractedDataRepresentationNormalized): 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: IdpExtractedDataRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
20
|
+
export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
|
|
21
|
+
/**
|
|
22
|
+
* Idp Extracted Data Representation
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface IdpExtractedDataRepresentationNormalized {
|
|
28
|
+
/** List of extraction result for every file */
|
|
29
|
+
data: Array<$64$luvio_engine_StoreLink>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Idp Extracted Data Representation
|
|
33
|
+
*
|
|
34
|
+
* Keys:
|
|
35
|
+
* (none)
|
|
36
|
+
*/
|
|
37
|
+
export interface IdpExtractedDataRepresentation {
|
|
38
|
+
data: Array<IdpExtractedFileDataRepresenation_IdpExtractedFileDataRepresenation>;
|
|
39
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
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 = "fd5a71c6b42febaf6ada5e5a2c32c8f6";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: IdpExtractedFileDataRepresenation, existing: IdpExtractedFileDataRepresenationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IdpExtractedFileDataRepresenationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
7
|
+
export declare function equals(existing: IdpExtractedFileDataRepresenationNormalized, incoming: IdpExtractedFileDataRepresenationNormalized): 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: IdpExtractedFileDataRepresenation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Idp Extracted Data Representation for a specific file
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface IdpExtractedFileDataRepresenationNormalized {
|
|
17
|
+
/** Extracted JSON data */
|
|
18
|
+
data: string;
|
|
19
|
+
/** Error message if data extraction fails */
|
|
20
|
+
error: string | null;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* Idp Extracted Data Representation for a specific file
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface IdpExtractedFileDataRepresenation {
|
|
29
|
+
data: string;
|
|
30
|
+
error: string | null;
|
|
31
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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 = "59313cd5875e66499c5ab72ff9e6bc4d";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: IdpFileConfigRepresentation, existing: IdpFileConfigRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IdpFileConfigRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
8
|
+
export declare function equals(existing: IdpFileConfigRepresentationNormalized, incoming: IdpFileConfigRepresentationNormalized): 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: IdpFileConfigRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* The representation of the specs for the file types supported by the IDP process
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface IdpFileConfigRepresentationNormalized {
|
|
18
|
+
/** List of file formats that are supported by the IDP process to be created */
|
|
19
|
+
fileTypes: Array<string>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* The representation of the specs for the file types supported by the IDP process
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface IdpFileConfigRepresentation {
|
|
28
|
+
fileTypes: Array<string>;
|
|
29
|
+
}
|
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
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IdpContentTypeRepresentation as IdpContentTypeRepresentation_IdpContentTypeRepresentation } from './IdpContentTypeRepresentation';
|
|
2
|
+
import { IdpSupportedModelRepresentation as IdpSupportedModelRepresentation_IdpSupportedModelRepresentation } from './IdpSupportedModelRepresentation';
|
|
3
|
+
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';
|
|
4
|
+
export declare const TTL = 500;
|
|
5
|
+
export declare const VERSION = "bdf0262770f9e912af6b77a807f4d804";
|
|
6
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
|
+
export declare const RepresentationType: string;
|
|
8
|
+
export declare function normalize(input: IdpGlobalConfigRepresentation, existing: IdpGlobalConfigRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): IdpGlobalConfigRepresentationNormalized;
|
|
9
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
10
|
+
export declare function equals(existing: IdpGlobalConfigRepresentationNormalized, incoming: IdpGlobalConfigRepresentationNormalized): boolean;
|
|
11
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
12
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: IdpGlobalConfigRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
13
|
+
/**
|
|
14
|
+
* Idp Global Config Representation
|
|
15
|
+
*
|
|
16
|
+
* Keys:
|
|
17
|
+
* (none)
|
|
18
|
+
*/
|
|
19
|
+
export interface IdpGlobalConfigRepresentationNormalized {
|
|
20
|
+
/** All content types currently supported for unstructured data extraction */
|
|
21
|
+
supportedContentTypes: Array<$64$luvio_engine_StoreLink>;
|
|
22
|
+
/** Models currently supported for unstructured data extraction */
|
|
23
|
+
supportedModels: Array<$64$luvio_engine_StoreLink>;
|
|
24
|
+
/** The version of the config schema */
|
|
25
|
+
version: string;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Idp Global Config Representation
|
|
29
|
+
*
|
|
30
|
+
* Keys:
|
|
31
|
+
* (none)
|
|
32
|
+
*/
|
|
33
|
+
export interface IdpGlobalConfigRepresentation {
|
|
34
|
+
supportedContentTypes: Array<IdpContentTypeRepresentation_IdpContentTypeRepresentation>;
|
|
35
|
+
supportedModels: Array<IdpSupportedModelRepresentation_IdpSupportedModelRepresentation>;
|
|
36
|
+
version: string;
|
|
37
|
+
}
|