@salesforce/lds-adapters-industries-einstein-aiaccelerator 1.308.0-dev1 → 1.308.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,16 @@
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 { PredictionRequestRepresentation as types_PredictionRequestRepresentation_PredictionRequestRepresentation } from '../types/PredictionRequestRepresentation';
4
+ import { ResourceRequestConfig as resources_postConnectAiacceleratorV2Predictions_ResourceRequestConfig } from '../resources/postConnectAiacceleratorV2Predictions';
5
+ import { PredictionResponseRepresentation as types_PredictionResponseRepresentation_PredictionResponseRepresentation } from '../types/PredictionResponseRepresentation';
6
+ export declare const adapterName = "getPredictions";
7
+ export declare const getPredictions_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
8
+ export declare const getPredictions_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
9
+ export interface GetPredictionsConfig {
10
+ predictionRequest: types_PredictionRequestRepresentation_PredictionRequestRepresentation;
11
+ }
12
+ export declare const createResourceParams: (config: GetPredictionsConfig) => resources_postConnectAiacceleratorV2Predictions_ResourceRequestConfig;
13
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetPredictionsConfig>): adapter$45$utils_Untrusted<GetPredictionsConfig>;
14
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetPredictionsConfig | null;
15
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetPredictionsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_PredictionResponseRepresentation_PredictionResponseRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_PredictionResponseRepresentation_PredictionResponseRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_PredictionResponseRepresentation_PredictionResponseRepresentation, any>>;
16
+ export declare const getPredictionsAdapterFactory: $64$luvio_engine_AdapterFactory<GetPredictionsConfig, types_PredictionResponseRepresentation_PredictionResponseRepresentation>;
@@ -1,2 +1,3 @@
1
1
  export { predictionsAdapterFactory } from '../adapters/predictions';
2
2
  export { fetchRecommendationsAdapterFactory } from '../adapters/fetchRecommendations';
3
+ export { getPredictionsAdapterFactory } from '../adapters/getPredictions';
@@ -1,3 +1,4 @@
1
1
  declare let fetchRecommendations: any;
2
+ declare let getPredictions: any;
2
3
  declare let predictions: any;
3
- export { fetchRecommendations, predictions };
4
+ export { fetchRecommendations, getPredictions, predictions };
@@ -0,0 +1,13 @@
1
+ import { PredictionRequestRepresentation as types_PredictionRequestRepresentation_PredictionRequestRepresentation } from '../types/PredictionRequestRepresentation';
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 { PredictionResponseRepresentation as types_PredictionResponseRepresentation_PredictionResponseRepresentation } from '../types/PredictionResponseRepresentation';
4
+ export interface ResourceRequestConfig {
5
+ body: {
6
+ predictionRequest: types_PredictionRequestRepresentation_PredictionRequestRepresentation;
7
+ };
8
+ }
9
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
10
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_PredictionResponseRepresentation_PredictionResponseRepresentation): void;
11
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_PredictionResponseRepresentation_PredictionResponseRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_PredictionResponseRepresentation_PredictionResponseRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_PredictionResponseRepresentation_PredictionResponseRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_PredictionResponseRepresentation_PredictionResponseRepresentation, any>;
12
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
13
+ export default createResourceRequest;
@@ -0,0 +1,31 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, 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 = "5e234ed626df7e532e8f3c1a02bd3061";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: FieldCount, existing: FieldCountNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FieldCountNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: FieldCountNormalized, incoming: FieldCountNormalized): 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: FieldCount, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * .
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface FieldCountNormalized {
17
+ /** . */
18
+ count?: number;
19
+ /** . */
20
+ fieldValue?: string;
21
+ }
22
+ /**
23
+ * .
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface FieldCount {
29
+ count?: number;
30
+ fieldValue?: string;
31
+ }
@@ -0,0 +1,32 @@
1
+ import { Predictor as Predictor_Predictor } from './Predictor';
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, 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 = "13145e68faa7887a15708b8827d225ca";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: PredictionOutput, existing: PredictionOutputNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PredictionOutputNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: PredictionOutputNormalized, incoming: PredictionOutputNormalized): 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: PredictionOutput, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Predicted object representation for prediction.
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface PredictionOutputNormalized {
18
+ /** . */
19
+ predictionScore?: number;
20
+ /** . */
21
+ topPredictors?: Array<Predictor_Predictor>;
22
+ }
23
+ /**
24
+ * Predicted object representation for prediction.
25
+ *
26
+ * Keys:
27
+ * (none)
28
+ */
29
+ export interface PredictionOutput {
30
+ predictionScore?: number;
31
+ topPredictors?: Array<Predictor_Predictor>;
32
+ }
@@ -0,0 +1,42 @@
1
+ import { Error as Error_Error } from './Error';
2
+ import { PredictionOutput as PredictionOutput_PredictionOutput } from './PredictionOutput';
3
+ import { PredictionWarning as PredictionWarning_PredictionWarning } from './PredictionWarning';
4
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
5
+ export declare const VERSION = "885f877f0d2101eb21a6d37667948990";
6
+ export declare function validate(obj: any, path?: string): TypeError | null;
7
+ export declare const RepresentationType: string;
8
+ export declare function normalize(input: PredictionOutputObject, existing: PredictionOutputObjectNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PredictionOutputObjectNormalized;
9
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
10
+ export declare function equals(existing: PredictionOutputObjectNormalized, incoming: PredictionOutputObjectNormalized): 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: PredictionOutputObject, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
13
+ /**
14
+ * Prediction for a given record
15
+ *
16
+ * Keys:
17
+ * (none)
18
+ */
19
+ export interface PredictionOutputObjectNormalized {
20
+ /** . */
21
+ errors?: Array<Error_Error>;
22
+ /** . */
23
+ isSuccess: string;
24
+ /** . */
25
+ predictionOutput?: Array<PredictionOutput_PredictionOutput>;
26
+ predictionWarning?: PredictionWarning_PredictionWarning;
27
+ /** . */
28
+ recordId: string;
29
+ }
30
+ /**
31
+ * Prediction for a given record
32
+ *
33
+ * Keys:
34
+ * (none)
35
+ */
36
+ export interface PredictionOutputObject {
37
+ errors?: Array<Error_Error>;
38
+ isSuccess: string;
39
+ predictionOutput?: Array<PredictionOutput_PredictionOutput>;
40
+ predictionWarning?: PredictionWarning_PredictionWarning;
41
+ recordId: string;
42
+ }
@@ -0,0 +1,49 @@
1
+ import { WrappedList as WrappedList_WrappedList } from './WrappedList';
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, 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 = "dda843a3525767a62e625cd09f7f4724";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: PredictionRequestRepresentation, existing: PredictionRequestRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PredictionRequestRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: PredictionRequestRepresentationNormalized, incoming: PredictionRequestRepresentationNormalized): 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: PredictionRequestRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Request for which predictions are fetched.
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface PredictionRequestRepresentationNormalized {
18
+ /** . */
19
+ maxInsights?: number;
20
+ /** . */
21
+ predictionModel?: string;
22
+ /** . */
23
+ predictionPlatform?: string;
24
+ records: WrappedList_WrappedList | null;
25
+ /** . */
26
+ scoreFilterCriteria?: string;
27
+ /** . */
28
+ scoringThreshold?: number;
29
+ /** . */
30
+ sortingOrder?: string;
31
+ /** . */
32
+ usecaseName: string;
33
+ }
34
+ /**
35
+ * Request for which predictions are fetched.
36
+ *
37
+ * Keys:
38
+ * (none)
39
+ */
40
+ export interface PredictionRequestRepresentation {
41
+ maxInsights?: number;
42
+ predictionModel?: string;
43
+ predictionPlatform?: string;
44
+ records: WrappedList_WrappedList | null;
45
+ scoreFilterCriteria?: string;
46
+ scoringThreshold?: number;
47
+ sortingOrder?: string;
48
+ usecaseName: string;
49
+ }
@@ -0,0 +1,29 @@
1
+ import { PredictionRequestRepresentation as PredictionRequestRepresentation_PredictionRequestRepresentation } from './PredictionRequestRepresentation';
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, 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 = "783d9d2da8565676d41b436a77777f51";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: PredictionRequestWrapperRepresentation, existing: PredictionRequestWrapperRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PredictionRequestWrapperRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: PredictionRequestWrapperRepresentationNormalized, incoming: PredictionRequestWrapperRepresentationNormalized): 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: PredictionRequestWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Wrapper for PredictionRequestRepresentation.
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface PredictionRequestWrapperRepresentationNormalized {
18
+ /** oas body name. */
19
+ predictionRequest: PredictionRequestRepresentation_PredictionRequestRepresentation;
20
+ }
21
+ /**
22
+ * Wrapper for PredictionRequestRepresentation.
23
+ *
24
+ * Keys:
25
+ * (none)
26
+ */
27
+ export interface PredictionRequestWrapperRepresentation {
28
+ predictionRequest: PredictionRequestRepresentation_PredictionRequestRepresentation;
29
+ }
@@ -0,0 +1,57 @@
1
+ import { PredictionOutputObject as PredictionOutputObject_PredictionOutputObject } from './PredictionOutputObject';
2
+ import { Status as Status_Status } from './Status';
3
+ 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';
4
+ export declare const TTL = 1000;
5
+ export declare const VERSION = "b13c8b0381776630589477a43e4eaa6c";
6
+ export declare function validate(obj: any, path?: string): TypeError | null;
7
+ export declare const RepresentationType: string;
8
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
9
+ status: string;
10
+ }
11
+ export type PredictionResponseRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
12
+ export type PartialPredictionResponseRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
13
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
14
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): PredictionResponseRepresentationNormalizedKeyMetadata;
15
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: PredictionResponseRepresentation): string;
16
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: PredictionResponseRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
17
+ export declare function normalize(input: PredictionResponseRepresentation, existing: PredictionResponseRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PredictionResponseRepresentationNormalized;
18
+ export declare const select: () => $64$luvio_engine_BaseFragment;
19
+ export declare function equals(existing: PredictionResponseRepresentationNormalized, incoming: PredictionResponseRepresentationNormalized): boolean;
20
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
21
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: PredictionResponseRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
22
+ /**
23
+ * Predictions for a given request
24
+ *
25
+ * Keys:
26
+ * status (string): status.message
27
+ */
28
+ export interface PredictionResponseRepresentationNormalized {
29
+ /** . */
30
+ customPredictionLabel?: string;
31
+ /** . */
32
+ predictionModel?: string;
33
+ /** . */
34
+ predictionOutputObjects?: Array<PredictionOutputObject_PredictionOutputObject>;
35
+ /** . */
36
+ predictionPlatform?: string;
37
+ /** . */
38
+ predictionType?: string;
39
+ status: Status_Status;
40
+ /** . */
41
+ usecaseName: string;
42
+ }
43
+ /**
44
+ * Predictions for a given request
45
+ *
46
+ * Keys:
47
+ * status (string): status.message
48
+ */
49
+ export interface PredictionResponseRepresentation {
50
+ customPredictionLabel?: string;
51
+ predictionModel?: string;
52
+ predictionOutputObjects?: Array<PredictionOutputObject_PredictionOutputObject>;
53
+ predictionPlatform?: string;
54
+ predictionType?: string;
55
+ status: Status_Status;
56
+ usecaseName: string;
57
+ }
@@ -0,0 +1,32 @@
1
+ import { FieldCount as FieldCount_FieldCount } from './FieldCount';
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, 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 = "b9f3fae69bd67ce6ff2f1eaa7a70e007";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: PredictionWarning, existing: PredictionWarningNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PredictionWarningNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: PredictionWarningNormalized, incoming: PredictionWarningNormalized): 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: PredictionWarning, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Warning for a prediction of a particular record
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface PredictionWarningNormalized {
18
+ /** . */
19
+ missingFieldNames?: Array<string>;
20
+ /** . */
21
+ outOfBoundFields?: Array<FieldCount_FieldCount>;
22
+ }
23
+ /**
24
+ * Warning for a prediction of a particular record
25
+ *
26
+ * Keys:
27
+ * (none)
28
+ */
29
+ export interface PredictionWarning {
30
+ missingFieldNames?: Array<string>;
31
+ outOfBoundFields?: Array<FieldCount_FieldCount>;
32
+ }
@@ -0,0 +1,32 @@
1
+ import { PredictorField as PredictorField_PredictorField } from './PredictorField';
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, 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 = "2656ae02fe5cb7f7c6fcecc89f4f8a31";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: Predictor, existing: PredictorNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PredictorNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: PredictorNormalized, incoming: PredictorNormalized): 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: Predictor, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Predicted object representation for prediction
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface PredictorNormalized {
18
+ /** . */
19
+ contributionValue?: number;
20
+ /** . */
21
+ predictorFields?: Array<PredictorField_PredictorField>;
22
+ }
23
+ /**
24
+ * Predicted object representation for prediction
25
+ *
26
+ * Keys:
27
+ * (none)
28
+ */
29
+ export interface Predictor {
30
+ contributionValue?: number;
31
+ predictorFields?: Array<PredictorField_PredictorField>;
32
+ }
@@ -0,0 +1,40 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, 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 = "81417d96816b9884fe834dbba726a68e";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: PredictorField, existing: PredictorFieldNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PredictorFieldNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: PredictorFieldNormalized, incoming: PredictorFieldNormalized): 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: PredictorField, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Field representation for predictor.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface PredictorFieldNormalized {
17
+ /** . */
18
+ customText?: string;
19
+ /** . */
20
+ label?: string;
21
+ /** . */
22
+ name?: string;
23
+ /** . */
24
+ prescribedValue?: string;
25
+ /** . */
26
+ value?: string;
27
+ }
28
+ /**
29
+ * Field representation for predictor.
30
+ *
31
+ * Keys:
32
+ * (none)
33
+ */
34
+ export interface PredictorField {
35
+ customText?: string;
36
+ label?: string;
37
+ name?: string;
38
+ prescribedValue?: string;
39
+ value?: string;
40
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-einstein-aiaccelerator",
3
- "version": "1.308.0-dev1",
3
+ "version": "1.308.0",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "AI Accelerator Connect API to make predictions",
6
6
  "main": "dist/es/es2018/industries-einstein-aiaccelerator.js",
@@ -38,11 +38,11 @@
38
38
  "test": "nx build:karma && karma start --single-run"
39
39
  },
40
40
  "dependencies": {
41
- "@salesforce/lds-bindings": "^1.308.0-dev1"
41
+ "@salesforce/lds-bindings": "^1.308.0"
42
42
  },
43
43
  "devDependencies": {
44
- "@salesforce/lds-compiler-plugins": "^1.308.0-dev1",
45
- "@salesforce/lds-karma": "^1.308.0-dev1"
44
+ "@salesforce/lds-compiler-plugins": "^1.308.0",
45
+ "@salesforce/lds-karma": "^1.308.0"
46
46
  },
47
47
  "nx": {
48
48
  "targets": {