@salesforce/lds-adapters-industries-einstein-aiaccelerator 0.131.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/industries-einstein-aiaccelerator.js +3905 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +66 -0
- package/dist/es/es2018/types/src/generated/adapters/fetchRecommendations.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/adapters/predictions.d.ts +15 -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 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectAiacceleratorPredictions.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/resources/postConnectAiacceleratorRecommendations.d.ts +13 -0
- package/dist/es/es2018/types/src/generated/types/Column.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/ColumnMapWrap.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/Error.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/FeatureExtractionParametersList.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/FeatureExtractionParametersMapValue.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/Insight.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/InsightsSettingsMap.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/ModelFeature.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/NullableColumnMap.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/NullableFeatureExtractionParametersMapValue.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/types/NullableInsightsSettingsMap.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/NullableModel.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/Prediction.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/PredictionInputRepresentation.d.ts +106 -0
- package/dist/es/es2018/types/src/generated/types/PredictionInputWrapperRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/PredictionObject.d.ts +41 -0
- package/dist/es/es2018/types/src/generated/types/PredictionOutputRepresentation.d.ts +99 -0
- package/dist/es/es2018/types/src/generated/types/Prescription.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/RawDataInputRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/RawDataInputWrap.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/RawDataList.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/RcmdStrategyResult.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/Recommendation.d.ts +60 -0
- package/dist/es/es2018/types/src/generated/types/RecommendationActionParam.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/RecommendationInputRepresentation.d.ts +54 -0
- package/dist/es/es2018/types/src/generated/types/RecommendationInputWrapperRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/RecommendationOutputRepresentation.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/types/Status.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/Suggestion.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/WrappedList.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +39 -0
- package/package.json +63 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +3935 -0
- package/src/raml/api.raml +705 -0
- package/src/raml/luvio.raml +31 -0
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import { WrappedList as WrappedList_WrappedList } from './WrappedList';
|
|
2
|
+
import { ColumnMapWrap as ColumnMapWrap_ColumnMapWrap } from './ColumnMapWrap';
|
|
3
|
+
import { FeatureExtractionParametersList as FeatureExtractionParametersList_FeatureExtractionParametersList } from './FeatureExtractionParametersList';
|
|
4
|
+
import { InsightsSettingsMap as InsightsSettingsMap_InsightsSettingsMap } from './InsightsSettingsMap';
|
|
5
|
+
import { RawDataList as RawDataList_RawDataList } from './RawDataList';
|
|
6
|
+
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
7
|
+
export declare const VERSION = "7dc0440b7f646d324177327561938af9";
|
|
8
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
9
|
+
export declare const RepresentationType: string;
|
|
10
|
+
export declare function normalize(input: PredictionInputRepresentation, existing: PredictionInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PredictionInputRepresentationNormalized;
|
|
11
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
12
|
+
export declare function equals(existing: PredictionInputRepresentationNormalized, incoming: PredictionInputRepresentationNormalized): boolean;
|
|
13
|
+
export declare function deepFreeze(input: PredictionInputRepresentation): void;
|
|
14
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
15
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PredictionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
16
|
+
/**
|
|
17
|
+
* Request for which predictions are fetched.
|
|
18
|
+
*
|
|
19
|
+
* Keys:
|
|
20
|
+
* (none)
|
|
21
|
+
*/
|
|
22
|
+
export interface PredictionInputRepresentationNormalized {
|
|
23
|
+
/** . */
|
|
24
|
+
async?: boolean | null;
|
|
25
|
+
/** . */
|
|
26
|
+
columnNames?: WrappedList_WrappedList | null;
|
|
27
|
+
/** . */
|
|
28
|
+
enableFeaturePersistence?: boolean | null;
|
|
29
|
+
/** . */
|
|
30
|
+
enableInsightPersistence?: boolean | null;
|
|
31
|
+
/** . */
|
|
32
|
+
enableScorePersistence?: boolean | null;
|
|
33
|
+
/** . */
|
|
34
|
+
enableSuggestionPersistence?: boolean | null;
|
|
35
|
+
/** . */
|
|
36
|
+
enrichModelClassification?: boolean | null;
|
|
37
|
+
/** . */
|
|
38
|
+
enrichModelFeatures?: boolean | null;
|
|
39
|
+
/** . */
|
|
40
|
+
enrichPredictionDefinition?: boolean | null;
|
|
41
|
+
/** . */
|
|
42
|
+
featureColumnMap?: ColumnMapWrap_ColumnMapWrap | null;
|
|
43
|
+
/** . */
|
|
44
|
+
featureExtractionParameters?: FeatureExtractionParametersList_FeatureExtractionParametersList | null;
|
|
45
|
+
/** . */
|
|
46
|
+
featureExtractorDevName?: string;
|
|
47
|
+
/** . */
|
|
48
|
+
featureExtractorId?: string | null;
|
|
49
|
+
/** . */
|
|
50
|
+
historyReferencePoint?: string | null;
|
|
51
|
+
/** . */
|
|
52
|
+
inputType: string;
|
|
53
|
+
/** . */
|
|
54
|
+
insightColumnMap?: ColumnMapWrap_ColumnMapWrap | null;
|
|
55
|
+
/** . */
|
|
56
|
+
insightsSettings?: InsightsSettingsMap_InsightsSettingsMap | null;
|
|
57
|
+
/** . */
|
|
58
|
+
predictionDefinition: string;
|
|
59
|
+
/** . */
|
|
60
|
+
rawData?: RawDataList_RawDataList | null;
|
|
61
|
+
/** . */
|
|
62
|
+
records?: WrappedList_WrappedList | null;
|
|
63
|
+
/** . */
|
|
64
|
+
scorePersistenceColumn?: string | null;
|
|
65
|
+
/** . */
|
|
66
|
+
secondaryRecordIdPersistenceField?: string | null;
|
|
67
|
+
/** . */
|
|
68
|
+
suggestionColumnMap?: ColumnMapWrap_ColumnMapWrap | null;
|
|
69
|
+
/** . */
|
|
70
|
+
usecaseDefinition?: string;
|
|
71
|
+
/** . */
|
|
72
|
+
usecaseDevName?: string;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* Request for which predictions are fetched.
|
|
76
|
+
*
|
|
77
|
+
* Keys:
|
|
78
|
+
* (none)
|
|
79
|
+
*/
|
|
80
|
+
export interface PredictionInputRepresentation {
|
|
81
|
+
async?: boolean | null;
|
|
82
|
+
columnNames?: WrappedList_WrappedList | null;
|
|
83
|
+
enableFeaturePersistence?: boolean | null;
|
|
84
|
+
enableInsightPersistence?: boolean | null;
|
|
85
|
+
enableScorePersistence?: boolean | null;
|
|
86
|
+
enableSuggestionPersistence?: boolean | null;
|
|
87
|
+
enrichModelClassification?: boolean | null;
|
|
88
|
+
enrichModelFeatures?: boolean | null;
|
|
89
|
+
enrichPredictionDefinition?: boolean | null;
|
|
90
|
+
featureColumnMap?: ColumnMapWrap_ColumnMapWrap | null;
|
|
91
|
+
featureExtractionParameters?: FeatureExtractionParametersList_FeatureExtractionParametersList | null;
|
|
92
|
+
featureExtractorDevName?: string;
|
|
93
|
+
featureExtractorId?: string | null;
|
|
94
|
+
historyReferencePoint?: string | null;
|
|
95
|
+
inputType: string;
|
|
96
|
+
insightColumnMap?: ColumnMapWrap_ColumnMapWrap | null;
|
|
97
|
+
insightsSettings?: InsightsSettingsMap_InsightsSettingsMap | null;
|
|
98
|
+
predictionDefinition: string;
|
|
99
|
+
rawData?: RawDataList_RawDataList | null;
|
|
100
|
+
records?: WrappedList_WrappedList | null;
|
|
101
|
+
scorePersistenceColumn?: string | null;
|
|
102
|
+
secondaryRecordIdPersistenceField?: string | null;
|
|
103
|
+
suggestionColumnMap?: ColumnMapWrap_ColumnMapWrap | null;
|
|
104
|
+
usecaseDefinition?: string;
|
|
105
|
+
usecaseDevName?: string;
|
|
106
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { PredictionInputRepresentation as PredictionInputRepresentation_PredictionInputRepresentation } from './PredictionInputRepresentation';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "84b9e42f16dc1e925839f2a1c2be69a4";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: PredictionInputWrapperRepresentation, existing: PredictionInputWrapperRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PredictionInputWrapperRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: PredictionInputWrapperRepresentationNormalized, incoming: PredictionInputWrapperRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: PredictionInputWrapperRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PredictionInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Wrapper for PredictInputRepresentation.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface PredictionInputWrapperRepresentationNormalized {
|
|
19
|
+
predictionInput: PredictionInputRepresentation_PredictionInputRepresentation;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Wrapper for PredictInputRepresentation.
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface PredictionInputWrapperRepresentation {
|
|
28
|
+
predictionInput: PredictionInputRepresentation_PredictionInputRepresentation;
|
|
29
|
+
}
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { NullableModel as NullableModel_NullableModel } from './NullableModel';
|
|
2
|
+
import { Prediction as Prediction_Prediction } from './Prediction';
|
|
3
|
+
import { Suggestion as Suggestion_Suggestion } from './Suggestion';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
5
|
+
export declare const VERSION = "c4c66c1661c4e93ee7f87b1000d2cb31";
|
|
6
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
|
+
export declare const RepresentationType: string;
|
|
8
|
+
export declare function normalize(input: PredictionObject, existing: PredictionObjectNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PredictionObjectNormalized;
|
|
9
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
10
|
+
export declare function equals(existing: PredictionObjectNormalized, incoming: PredictionObjectNormalized): boolean;
|
|
11
|
+
export declare function deepFreeze(input: PredictionObject): void;
|
|
12
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
13
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PredictionObject, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
14
|
+
/**
|
|
15
|
+
* .
|
|
16
|
+
*
|
|
17
|
+
* Keys:
|
|
18
|
+
* (none)
|
|
19
|
+
*/
|
|
20
|
+
export interface PredictionObjectNormalized {
|
|
21
|
+
/** . */
|
|
22
|
+
model?: NullableModel_NullableModel | null;
|
|
23
|
+
/** . */
|
|
24
|
+
prediction?: Prediction_Prediction | null;
|
|
25
|
+
/** . */
|
|
26
|
+
status: string | null;
|
|
27
|
+
/** . */
|
|
28
|
+
suggestions?: Array<Suggestion_Suggestion | null>;
|
|
29
|
+
}
|
|
30
|
+
/**
|
|
31
|
+
* .
|
|
32
|
+
*
|
|
33
|
+
* Keys:
|
|
34
|
+
* (none)
|
|
35
|
+
*/
|
|
36
|
+
export interface PredictionObject {
|
|
37
|
+
model?: NullableModel_NullableModel | null;
|
|
38
|
+
prediction?: Prediction_Prediction | null;
|
|
39
|
+
status: string | null;
|
|
40
|
+
suggestions?: Array<Suggestion_Suggestion | null>;
|
|
41
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
import { ModelFeature as ModelFeature_ModelFeature } from './ModelFeature';
|
|
2
|
+
import { PredictionObject as PredictionObject_PredictionObject } from './PredictionObject';
|
|
3
|
+
import { Status as Status_Status } from './Status';
|
|
4
|
+
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';
|
|
5
|
+
export declare const TTL = 1000;
|
|
6
|
+
export declare const VERSION = "f32ecc98b5cd30fb5680de162a64308a";
|
|
7
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
8
|
+
export declare const RepresentationType: string;
|
|
9
|
+
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
10
|
+
status: string;
|
|
11
|
+
}
|
|
12
|
+
export type PredictionOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
13
|
+
export type PartialPredictionOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
|
|
15
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): PredictionOutputRepresentationNormalizedKeyMetadata;
|
|
16
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: PredictionOutputRepresentation): string;
|
|
17
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: PredictionOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
18
|
+
export declare function normalize(input: PredictionOutputRepresentation, existing: PredictionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PredictionOutputRepresentationNormalized;
|
|
19
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
20
|
+
export declare function equals(existing: PredictionOutputRepresentationNormalized, incoming: PredictionOutputRepresentationNormalized): boolean;
|
|
21
|
+
export declare function deepFreeze(input: PredictionOutputRepresentation): void;
|
|
22
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
23
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: PredictionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
24
|
+
/**
|
|
25
|
+
* Predictions for a given request
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* status (string): status.message
|
|
29
|
+
*/
|
|
30
|
+
export interface PredictionOutputRepresentationNormalized {
|
|
31
|
+
/** Classification Threshold Value */
|
|
32
|
+
classificationThreshold?: number;
|
|
33
|
+
/** Classification model type */
|
|
34
|
+
classificationType?: string | null;
|
|
35
|
+
/** Indicates the change in execution mode from user specified to default mode configuration */
|
|
36
|
+
executionModeWarning?: string | null;
|
|
37
|
+
/** Indicates Feature Extractor Implementation class used for a request */
|
|
38
|
+
featureExtractor?: string | null;
|
|
39
|
+
/** Indicates Feature Extractor Type used for a request */
|
|
40
|
+
featureExtractorType?: string | null;
|
|
41
|
+
/** . */
|
|
42
|
+
inputType?: string | null;
|
|
43
|
+
/** . */
|
|
44
|
+
insightsSettings?: {
|
|
45
|
+
[key: string]: number;
|
|
46
|
+
};
|
|
47
|
+
/** Columns + values that are out of bounds. These values were not used when training the model */
|
|
48
|
+
modelFeatures?: Array<ModelFeature_ModelFeature | null>;
|
|
49
|
+
/** Indicates whether predDef maximizes or minimizes the field value. */
|
|
50
|
+
outcomeGoal?: string | null;
|
|
51
|
+
/** . */
|
|
52
|
+
predictionDefinition?: string | null;
|
|
53
|
+
/** Label corresponding to the prediction definiton ID used for prediction */
|
|
54
|
+
predictionDefinitionLabel?: string | null;
|
|
55
|
+
/** Indicates the condition that all the entities failed to persist via persistence manager */
|
|
56
|
+
predictionPersistenceErrorMessage?: string | null;
|
|
57
|
+
/** . */
|
|
58
|
+
predictionPlatform?: string | null;
|
|
59
|
+
/** . */
|
|
60
|
+
predictionPurpose?: string | null;
|
|
61
|
+
/** . */
|
|
62
|
+
predictions?: Array<PredictionObject_PredictionObject | null>;
|
|
63
|
+
/** Indicates the list of recordIds where the response is persisted in primary response object */
|
|
64
|
+
primaryResponseObjRecordIds?: Array<string | null>;
|
|
65
|
+
/** . */
|
|
66
|
+
requestId?: string | null;
|
|
67
|
+
/** Indicates the list of recordIds where the response is persisted in secondary response object */
|
|
68
|
+
secondaryResponseObjRecordIds?: Array<string | null>;
|
|
69
|
+
status: Status_Status;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* Predictions for a given request
|
|
73
|
+
*
|
|
74
|
+
* Keys:
|
|
75
|
+
* status (string): status.message
|
|
76
|
+
*/
|
|
77
|
+
export interface PredictionOutputRepresentation {
|
|
78
|
+
classificationThreshold?: number;
|
|
79
|
+
classificationType?: string | null;
|
|
80
|
+
executionModeWarning?: string | null;
|
|
81
|
+
featureExtractor?: string | null;
|
|
82
|
+
featureExtractorType?: string | null;
|
|
83
|
+
inputType?: string | null;
|
|
84
|
+
insightsSettings?: {
|
|
85
|
+
[key: string]: number;
|
|
86
|
+
};
|
|
87
|
+
modelFeatures?: Array<ModelFeature_ModelFeature | null>;
|
|
88
|
+
outcomeGoal?: string | null;
|
|
89
|
+
predictionDefinition?: string | null;
|
|
90
|
+
predictionDefinitionLabel?: string | null;
|
|
91
|
+
predictionPersistenceErrorMessage?: string | null;
|
|
92
|
+
predictionPlatform?: string | null;
|
|
93
|
+
predictionPurpose?: string | null;
|
|
94
|
+
predictions?: Array<PredictionObject_PredictionObject | null>;
|
|
95
|
+
primaryResponseObjRecordIds?: Array<string | null>;
|
|
96
|
+
requestId?: string | null;
|
|
97
|
+
secondaryResponseObjRecordIds?: Array<string | null>;
|
|
98
|
+
status: Status_Status;
|
|
99
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Column as Column_Column } from './Column';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "11e2c025f6994cbefe7f637e3efea2ba";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: Prescription, existing: PrescriptionNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PrescriptionNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: PrescriptionNormalized, incoming: PrescriptionNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: Prescription): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: Prescription, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* .
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface PrescriptionNormalized {
|
|
19
|
+
/** . */
|
|
20
|
+
columns: Array<Column_Column | null>;
|
|
21
|
+
/** . */
|
|
22
|
+
value: number;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* .
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface Prescription {
|
|
31
|
+
columns: Array<Column_Column | null>;
|
|
32
|
+
value: number;
|
|
33
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "9dd94d18b2cd2c022c689a17a1eda9df";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: RawDataInputRepresentation, existing: RawDataInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RawDataInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: RawDataInputRepresentationNormalized, incoming: RawDataInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: RawDataInputRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: RawDataInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* RawDataInputRepresentation wrapper object for use as child wrapper of RawDataRep.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface RawDataInputRepresentationNormalized {
|
|
18
|
+
/** RawDataInput */
|
|
19
|
+
rawDataInput: Array<string | null>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* RawDataInputRepresentation wrapper object for use as child wrapper of RawDataRep.
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface RawDataInputRepresentation {
|
|
28
|
+
rawDataInput: Array<string | null>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { RawDataInputRepresentation as RawDataInputRepresentation_RawDataInputRepresentation } from './RawDataInputRepresentation';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "c61b77b03b2f2f45063387c2b0e15d46";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: RawDataInputWrap, existing: RawDataInputWrapNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RawDataInputWrapNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: RawDataInputWrapNormalized, incoming: RawDataInputWrapNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: RawDataInputWrap): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: RawDataInputWrap, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* RawDataInputWrap wrapper object for use as child wrapper of RawDataList.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface RawDataInputWrapNormalized {
|
|
19
|
+
rawDataInputWrap: RawDataInputRepresentation_RawDataInputRepresentation | null;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* RawDataInputWrap wrapper object for use as child wrapper of RawDataList.
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface RawDataInputWrap {
|
|
28
|
+
rawDataInputWrap: RawDataInputRepresentation_RawDataInputRepresentation | null;
|
|
29
|
+
}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { RawDataInputWrap as RawDataInputWrap_RawDataInputWrap } from './RawDataInputWrap';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "e8df6ec266accfb73b61bb43d4a6f2f6";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: RawDataList, existing: RawDataListNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RawDataListNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: RawDataListNormalized, incoming: RawDataListNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: RawDataList): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: RawDataList, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* RawDataList wrapper object for use in PredictionInputRepresentation.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface RawDataListNormalized {
|
|
19
|
+
/** RawData */
|
|
20
|
+
rawData: Array<RawDataInputWrap_RawDataInputWrap | null>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* RawDataList wrapper object for use in PredictionInputRepresentation.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface RawDataList {
|
|
29
|
+
rawData: Array<RawDataInputWrap_RawDataInputWrap | null>;
|
|
30
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { Error as Error_Error } from './Error';
|
|
2
|
+
import { Recommendation as Recommendation_Recommendation } from './Recommendation';
|
|
3
|
+
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
4
|
+
export declare const VERSION = "52a05c2337482f352c590e881d254616";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: RcmdStrategyResult, existing: RcmdStrategyResultNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RcmdStrategyResultNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
+
export declare function equals(existing: RcmdStrategyResultNormalized, incoming: RcmdStrategyResultNormalized): boolean;
|
|
10
|
+
export declare function deepFreeze(input: RcmdStrategyResult): void;
|
|
11
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
12
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: RcmdStrategyResult, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
13
|
+
/**
|
|
14
|
+
* .
|
|
15
|
+
*
|
|
16
|
+
* Keys:
|
|
17
|
+
* (none)
|
|
18
|
+
*/
|
|
19
|
+
export interface RcmdStrategyResultNormalized {
|
|
20
|
+
/** Runtime errors that occurred during recommendation request execution. */
|
|
21
|
+
errors?: Array<Error_Error | null>;
|
|
22
|
+
/** Indicates whether the recommendation request was successful or not. */
|
|
23
|
+
isSuccess?: boolean | null;
|
|
24
|
+
/** The ID of the user or object for which the recommendation request was executed. */
|
|
25
|
+
onBehalfOfId: string | null;
|
|
26
|
+
/** The prediction score that’s an input for the recommendation request. */
|
|
27
|
+
predictionScore?: number;
|
|
28
|
+
/** The list of recommendations returned by a recommendation request. */
|
|
29
|
+
recommendations?: Array<Recommendation_Recommendation | null>;
|
|
30
|
+
/** The ID of the record for which the recommendation request was executed. */
|
|
31
|
+
recordId?: string | null;
|
|
32
|
+
}
|
|
33
|
+
/**
|
|
34
|
+
* .
|
|
35
|
+
*
|
|
36
|
+
* Keys:
|
|
37
|
+
* (none)
|
|
38
|
+
*/
|
|
39
|
+
export interface RcmdStrategyResult {
|
|
40
|
+
errors?: Array<Error_Error | null>;
|
|
41
|
+
isSuccess?: boolean | null;
|
|
42
|
+
onBehalfOfId: string | null;
|
|
43
|
+
predictionScore?: number;
|
|
44
|
+
recommendations?: Array<Recommendation_Recommendation | null>;
|
|
45
|
+
recordId?: string | null;
|
|
46
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
import { RecommendationActionParam as RecommendationActionParam_RecommendationActionParam } from './RecommendationActionParam';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "aa59e8e5d4027878a5bd4b2f37ae6c70";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: Recommendation, existing: RecommendationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecommendationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: RecommendationNormalized, incoming: RecommendationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: Recommendation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: Recommendation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* .
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface RecommendationNormalized {
|
|
19
|
+
/** Text indicating user acceptance of the recommendation. */
|
|
20
|
+
acceptanceLabel?: string | null;
|
|
21
|
+
/** The ID of the action to perform, for example, launching a flow. */
|
|
22
|
+
actionReferenceId?: string | null;
|
|
23
|
+
/** . */
|
|
24
|
+
actionReferenceLabel?: string | null;
|
|
25
|
+
/** The name of the action to perform, for example, launching a flow. */
|
|
26
|
+
actionReferenceName?: string | null;
|
|
27
|
+
/** The list of parameters to pass to the flow action based on the user’s acceptance or rejection of the recommendation. */
|
|
28
|
+
actionStrategyParameters?: Array<RecommendationActionParam_RecommendationActionParam | null>;
|
|
29
|
+
/** The type of action. */
|
|
30
|
+
actionType?: string | null;
|
|
31
|
+
/** The description of the recommendation. */
|
|
32
|
+
description?: string | null;
|
|
33
|
+
/** The ID of the recommendation. */
|
|
34
|
+
id?: string | null;
|
|
35
|
+
/** The URL of the recommendation image to display. */
|
|
36
|
+
imageUrl?: string | null;
|
|
37
|
+
/** The name of the recommendation. */
|
|
38
|
+
name?: string | null;
|
|
39
|
+
/** Text indicating user rejection of the recommendation */
|
|
40
|
+
rejectionLabel?: string | null;
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* .
|
|
44
|
+
*
|
|
45
|
+
* Keys:
|
|
46
|
+
* (none)
|
|
47
|
+
*/
|
|
48
|
+
export interface Recommendation {
|
|
49
|
+
acceptanceLabel?: string | null;
|
|
50
|
+
actionReferenceId?: string | null;
|
|
51
|
+
actionReferenceLabel?: string | null;
|
|
52
|
+
actionReferenceName?: string | null;
|
|
53
|
+
actionStrategyParameters?: Array<RecommendationActionParam_RecommendationActionParam | null>;
|
|
54
|
+
actionType?: string | null;
|
|
55
|
+
description?: string | null;
|
|
56
|
+
id?: string | null;
|
|
57
|
+
imageUrl?: string | null;
|
|
58
|
+
name?: string | null;
|
|
59
|
+
rejectionLabel?: string | null;
|
|
60
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "bd5845deb7a4a83706c937afa04d50d2";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: RecommendationActionParam, existing: RecommendationActionParamNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecommendationActionParamNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: RecommendationActionParamNormalized, incoming: RecommendationActionParamNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: RecommendationActionParam): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: RecommendationActionParam, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* .
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface RecommendationActionParamNormalized {
|
|
18
|
+
/** The name of the parameter. */
|
|
19
|
+
name?: string | null;
|
|
20
|
+
/** The type of the parameter. */
|
|
21
|
+
type?: string | null;
|
|
22
|
+
/** The value of the parameter. */
|
|
23
|
+
value?: unknown;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* .
|
|
27
|
+
*
|
|
28
|
+
* Keys:
|
|
29
|
+
* (none)
|
|
30
|
+
*/
|
|
31
|
+
export interface RecommendationActionParam {
|
|
32
|
+
name?: string | null;
|
|
33
|
+
type?: string | null;
|
|
34
|
+
value?: unknown;
|
|
35
|
+
}
|
|
@@ -0,0 +1,54 @@
|
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "74045d76b7103972d0ea8f6c3ed1429b";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: RecommendationInputRepresentation, existing: RecommendationInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecommendationInputRepresentationNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: RecommendationInputRepresentationNormalized, incoming: RecommendationInputRepresentationNormalized): boolean;
|
|
8
|
+
export declare function deepFreeze(input: RecommendationInputRepresentation): void;
|
|
9
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: RecommendationInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
11
|
+
/**
|
|
12
|
+
* Request for which recommendations are fetched.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface RecommendationInputRepresentationNormalized {
|
|
18
|
+
/** Indicates whether the recommendations that are fetched are persisted or not. */
|
|
19
|
+
canPersistRecommendations?: boolean | null;
|
|
20
|
+
/** Indicates whether the execution mode is async or not. */
|
|
21
|
+
isAsync?: boolean | null;
|
|
22
|
+
/** The maximum number of recommendations to be requested. */
|
|
23
|
+
maxRecommendationsCount?: number | null;
|
|
24
|
+
/** The name of the column from the PrimaryResponse object that persists the recommendation record ID when canPersistRecommendations is set to true. */
|
|
25
|
+
rcmdRecordIdPersistenceColumn?: string | null;
|
|
26
|
+
/** The list of parameters to pass to the flow action for the specified strategy to generate recommendations. */
|
|
27
|
+
rcmdStrategyParameters?: Array<unknown>;
|
|
28
|
+
/** The field mapping that’s used to store the recommendations. */
|
|
29
|
+
recommendationFieldMapping: {
|
|
30
|
+
[key: string]: string | null;
|
|
31
|
+
};
|
|
32
|
+
/** The name of the strategy. */
|
|
33
|
+
strategyName?: string | null;
|
|
34
|
+
/** The API name of the usecase definition. */
|
|
35
|
+
usecaseDefinitionName?: string | null;
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* Request for which recommendations are fetched.
|
|
39
|
+
*
|
|
40
|
+
* Keys:
|
|
41
|
+
* (none)
|
|
42
|
+
*/
|
|
43
|
+
export interface RecommendationInputRepresentation {
|
|
44
|
+
canPersistRecommendations?: boolean | null;
|
|
45
|
+
isAsync?: boolean | null;
|
|
46
|
+
maxRecommendationsCount?: number | null;
|
|
47
|
+
rcmdRecordIdPersistenceColumn?: string | null;
|
|
48
|
+
rcmdStrategyParameters?: Array<unknown>;
|
|
49
|
+
recommendationFieldMapping: {
|
|
50
|
+
[key: string]: string | null;
|
|
51
|
+
};
|
|
52
|
+
strategyName?: string | null;
|
|
53
|
+
usecaseDefinitionName?: string | null;
|
|
54
|
+
}
|
package/dist/es/es2018/types/src/generated/types/RecommendationInputWrapperRepresentation.d.ts
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { RecommendationInputRepresentation as RecommendationInputRepresentation_RecommendationInputRepresentation } from './RecommendationInputRepresentation';
|
|
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, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "c288985d483a2524ec098092bae196a9";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: RecommendationInputWrapperRepresentation, existing: RecommendationInputWrapperRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecommendationInputWrapperRepresentationNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: RecommendationInputWrapperRepresentationNormalized, incoming: RecommendationInputWrapperRepresentationNormalized): boolean;
|
|
9
|
+
export declare function deepFreeze(input: RecommendationInputWrapperRepresentation): void;
|
|
10
|
+
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(luvio: $64$luvio_engine_Luvio, input: RecommendationInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): $64$luvio_engine_DurableStoreKeyMetadataMap;
|
|
12
|
+
/**
|
|
13
|
+
* Wrapper for RecommendationInputRepresentation.
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface RecommendationInputWrapperRepresentationNormalized {
|
|
19
|
+
recommendationInput: RecommendationInputRepresentation_RecommendationInputRepresentation;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Wrapper for RecommendationInputRepresentation.
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface RecommendationInputWrapperRepresentation {
|
|
28
|
+
recommendationInput: RecommendationInputRepresentation_RecommendationInputRepresentation;
|
|
29
|
+
}
|