@salesforce/lds-adapters-industries-einstein-aiaccelerator 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/industries-einstein-aiaccelerator.js +4683 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/fetchRecommendations.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/adapters/getPredictions.d.ts +23 -0
- package/dist/es/es2018/types/src/generated/adapters/predictions.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +4 -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/resources/postConnectAiacceleratorV2Predictions.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/types/Column.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/ColumnMapWrap.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/CustomAttributesMap.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/Error.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/FeatureExtractionParametersList.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/FeatureExtractionParametersMapValue.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/FieldCount.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/Insight.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/InsightsSettingsMap.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ModelFeature.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/NullableColumnMap.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/types/NullableCustomAttributesMap.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/types/NullableFeatureExtractionParametersMapValue.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/types/NullableInsightsSettingsMap.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/types/NullableModel.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/types/Prediction.d.ts +42 -0
- package/dist/es/es2018/types/src/generated/types/PredictionInputRepresentation.d.ts +105 -0
- package/dist/es/es2018/types/src/generated/types/PredictionInputWrapperRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/PredictionObject.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/PredictionOutput.d.ts +39 -0
- package/dist/es/es2018/types/src/generated/types/PredictionOutputObject.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/PredictionOutputRepresentation.d.ts +98 -0
- package/dist/es/es2018/types/src/generated/types/PredictionRequestRepresentation.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/PredictionRequestWrapperRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/PredictionResponseRepresentation.d.ts +54 -0
- package/dist/es/es2018/types/src/generated/types/PredictionWarning.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/Predictor.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/PredictorField.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/Prescription.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/RawDataInputRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/RawDataInputWrap.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/RawDataList.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/RcmdStrategyResult.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/Recommendation.d.ts +59 -0
- package/dist/es/es2018/types/src/generated/types/RecommendationActionParam.d.ts +34 -0
- package/dist/es/es2018/types/src/generated/types/RecommendationInputRepresentation.d.ts +53 -0
- package/dist/es/es2018/types/src/generated/types/RecommendationInputWrapperRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/RecommendationOutputRepresentation.d.ts +61 -0
- package/dist/es/es2018/types/src/generated/types/Status.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/Suggestion.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/WrappedList.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +71 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +4715 -0
- package/src/raml/api.raml +937 -0
- package/src/raml/luvio.raml +39 -0
|
@@ -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 = "171fd09137fae388871c6a7e5b56c330";
|
|
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 | null>;
|
|
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 | null>;
|
|
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 = "32cb0b6c29cd35d0f2119fc270326c67";
|
|
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 | null;
|
|
19
|
+
/** . */
|
|
20
|
+
label?: string | null;
|
|
21
|
+
/** . */
|
|
22
|
+
name?: string | null;
|
|
23
|
+
/** . */
|
|
24
|
+
prescribedValue?: string | null;
|
|
25
|
+
/** . */
|
|
26
|
+
value?: string | null;
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* Field representation for predictor.
|
|
30
|
+
*
|
|
31
|
+
* Keys:
|
|
32
|
+
* (none)
|
|
33
|
+
*/
|
|
34
|
+
export interface PredictorField {
|
|
35
|
+
customText?: string | null;
|
|
36
|
+
label?: string | null;
|
|
37
|
+
name?: string | null;
|
|
38
|
+
prescribedValue?: string | null;
|
|
39
|
+
value?: string | null;
|
|
40
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } 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 const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: Prescription, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* .
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface PrescriptionNormalized {
|
|
18
|
+
/** . */
|
|
19
|
+
columns: Array<Column_Column | null>;
|
|
20
|
+
/** . */
|
|
21
|
+
value: number;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* .
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface Prescription {
|
|
30
|
+
columns: Array<Column_Column | null>;
|
|
31
|
+
value: number;
|
|
32
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 = "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 const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: RawDataInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* RawDataInputRepresentation wrapper object for use as child wrapper of RawDataRep.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface RawDataInputRepresentationNormalized {
|
|
17
|
+
/** RawDataInput */
|
|
18
|
+
rawDataInput: Array<string | null>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* RawDataInputRepresentation wrapper object for use as child wrapper of RawDataRep.
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface RawDataInputRepresentation {
|
|
27
|
+
rawDataInput: Array<string | null>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } 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 const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: RawDataInputWrap, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* RawDataInputWrap wrapper object for use as child wrapper of RawDataList.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface RawDataInputWrapNormalized {
|
|
18
|
+
rawDataInputWrap: RawDataInputRepresentation_RawDataInputRepresentation | null;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* RawDataInputWrap wrapper object for use as child wrapper of RawDataList.
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface RawDataInputWrap {
|
|
27
|
+
rawDataInputWrap: RawDataInputRepresentation_RawDataInputRepresentation | null;
|
|
28
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } 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 const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: RawDataList, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* RawDataList wrapper object for use in PredictionInputRepresentation.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface RawDataListNormalized {
|
|
18
|
+
/** RawData */
|
|
19
|
+
rawData: Array<RawDataInputWrap_RawDataInputWrap | null>;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* RawDataList wrapper object for use in PredictionInputRepresentation.
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface RawDataList {
|
|
28
|
+
rawData: Array<RawDataInputWrap_RawDataInputWrap | null>;
|
|
29
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } 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 const ingest: $64$luvio_engine_ResourceIngest;
|
|
11
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: RcmdStrategyResult, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
* .
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface RcmdStrategyResultNormalized {
|
|
19
|
+
/** Runtime errors that occurred during recommendation request execution. */
|
|
20
|
+
errors?: Array<Error_Error | null>;
|
|
21
|
+
/** Indicates whether the recommendation request was successful or not. */
|
|
22
|
+
isSuccess?: boolean | null;
|
|
23
|
+
/** The ID of the user or object for which the recommendation request was executed. */
|
|
24
|
+
onBehalfOfId: string | null;
|
|
25
|
+
/** The prediction score that’s an input for the recommendation request. */
|
|
26
|
+
predictionScore?: number;
|
|
27
|
+
/** The list of recommendations returned by a recommendation request. */
|
|
28
|
+
recommendations?: Array<Recommendation_Recommendation | null>;
|
|
29
|
+
/** The ID of the record for which the recommendation request was executed. */
|
|
30
|
+
recordId?: string | null;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* .
|
|
34
|
+
*
|
|
35
|
+
* Keys:
|
|
36
|
+
* (none)
|
|
37
|
+
*/
|
|
38
|
+
export interface RcmdStrategyResult {
|
|
39
|
+
errors?: Array<Error_Error | null>;
|
|
40
|
+
isSuccess?: boolean | null;
|
|
41
|
+
onBehalfOfId: string | null;
|
|
42
|
+
predictionScore?: number;
|
|
43
|
+
recommendations?: Array<Recommendation_Recommendation | null>;
|
|
44
|
+
recordId?: string | null;
|
|
45
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } 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 const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: Recommendation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* .
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface RecommendationNormalized {
|
|
18
|
+
/** Text indicating user acceptance of the recommendation. */
|
|
19
|
+
acceptanceLabel?: string | null;
|
|
20
|
+
/** The ID of the action to perform, for example, launching a flow. */
|
|
21
|
+
actionReferenceId?: string | null;
|
|
22
|
+
/** . */
|
|
23
|
+
actionReferenceLabel?: string | null;
|
|
24
|
+
/** The name of the action to perform, for example, launching a flow. */
|
|
25
|
+
actionReferenceName?: string | null;
|
|
26
|
+
/** The list of parameters to pass to the flow action based on the user’s acceptance or rejection of the recommendation. */
|
|
27
|
+
actionStrategyParameters?: Array<RecommendationActionParam_RecommendationActionParam | null>;
|
|
28
|
+
/** The type of action. */
|
|
29
|
+
actionType?: string | null;
|
|
30
|
+
/** The description of the recommendation. */
|
|
31
|
+
description?: string | null;
|
|
32
|
+
/** The ID of the recommendation. */
|
|
33
|
+
id?: string | null;
|
|
34
|
+
/** The URL of the recommendation image to display. */
|
|
35
|
+
imageUrl?: string | null;
|
|
36
|
+
/** The name of the recommendation. */
|
|
37
|
+
name?: string | null;
|
|
38
|
+
/** Text indicating user rejection of the recommendation */
|
|
39
|
+
rejectionLabel?: string | null;
|
|
40
|
+
}
|
|
41
|
+
/**
|
|
42
|
+
* .
|
|
43
|
+
*
|
|
44
|
+
* Keys:
|
|
45
|
+
* (none)
|
|
46
|
+
*/
|
|
47
|
+
export interface Recommendation {
|
|
48
|
+
acceptanceLabel?: string | null;
|
|
49
|
+
actionReferenceId?: string | null;
|
|
50
|
+
actionReferenceLabel?: string | null;
|
|
51
|
+
actionReferenceName?: string | null;
|
|
52
|
+
actionStrategyParameters?: Array<RecommendationActionParam_RecommendationActionParam | null>;
|
|
53
|
+
actionType?: string | null;
|
|
54
|
+
description?: string | null;
|
|
55
|
+
id?: string | null;
|
|
56
|
+
imageUrl?: string | null;
|
|
57
|
+
name?: string | null;
|
|
58
|
+
rejectionLabel?: string | null;
|
|
59
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
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 = "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 const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: RecommendationActionParam, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* .
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface RecommendationActionParamNormalized {
|
|
17
|
+
/** The name of the parameter. */
|
|
18
|
+
name?: string | null;
|
|
19
|
+
/** The type of the parameter. */
|
|
20
|
+
type?: string | null;
|
|
21
|
+
/** The value of the parameter. */
|
|
22
|
+
value?: unknown;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* .
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface RecommendationActionParam {
|
|
31
|
+
name?: string | null;
|
|
32
|
+
type?: string | null;
|
|
33
|
+
value?: unknown;
|
|
34
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
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 = "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 const ingest: $64$luvio_engine_ResourceIngest;
|
|
9
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: RecommendationInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Request for which recommendations are fetched.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface RecommendationInputRepresentationNormalized {
|
|
17
|
+
/** Indicates whether the recommendations that are fetched are persisted or not. */
|
|
18
|
+
canPersistRecommendations?: boolean | null;
|
|
19
|
+
/** Indicates whether the execution mode is async or not. */
|
|
20
|
+
isAsync?: boolean | null;
|
|
21
|
+
/** The maximum number of recommendations to be requested. */
|
|
22
|
+
maxRecommendationsCount?: number | null;
|
|
23
|
+
/** The name of the column from the PrimaryResponse object that persists the recommendation record ID when canPersistRecommendations is set to true. */
|
|
24
|
+
rcmdRecordIdPersistenceColumn?: string | null;
|
|
25
|
+
/** The list of parameters to pass to the flow action for the specified strategy to generate recommendations. */
|
|
26
|
+
rcmdStrategyParameters?: Array<unknown>;
|
|
27
|
+
/** The field mapping that’s used to store the recommendations. */
|
|
28
|
+
recommendationFieldMapping: {
|
|
29
|
+
[key: string]: string | null;
|
|
30
|
+
};
|
|
31
|
+
/** The name of the strategy. */
|
|
32
|
+
strategyName?: string | null;
|
|
33
|
+
/** The API name of the usecase definition. */
|
|
34
|
+
usecaseDefinitionName?: string | null;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* Request for which recommendations are fetched.
|
|
38
|
+
*
|
|
39
|
+
* Keys:
|
|
40
|
+
* (none)
|
|
41
|
+
*/
|
|
42
|
+
export interface RecommendationInputRepresentation {
|
|
43
|
+
canPersistRecommendations?: boolean | null;
|
|
44
|
+
isAsync?: boolean | null;
|
|
45
|
+
maxRecommendationsCount?: number | null;
|
|
46
|
+
rcmdRecordIdPersistenceColumn?: string | null;
|
|
47
|
+
rcmdStrategyParameters?: Array<unknown>;
|
|
48
|
+
recommendationFieldMapping: {
|
|
49
|
+
[key: string]: string | null;
|
|
50
|
+
};
|
|
51
|
+
strategyName?: string | null;
|
|
52
|
+
usecaseDefinitionName?: string | null;
|
|
53
|
+
}
|
package/dist/es/es2018/types/src/generated/types/RecommendationInputWrapperRepresentation.d.ts
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } 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 const ingest: $64$luvio_engine_ResourceIngest;
|
|
10
|
+
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: RecommendationInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* Wrapper for RecommendationInputRepresentation.
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface RecommendationInputWrapperRepresentationNormalized {
|
|
18
|
+
recommendationInput: RecommendationInputRepresentation_RecommendationInputRepresentation;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* Wrapper for RecommendationInputRepresentation.
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface RecommendationInputWrapperRepresentation {
|
|
27
|
+
recommendationInput: RecommendationInputRepresentation_RecommendationInputRepresentation;
|
|
28
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { RcmdStrategyResult as RcmdStrategyResult_RcmdStrategyResult } from './RcmdStrategyResult';
|
|
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 = "aaf9d28bb6dd45e46359c8fa29159989";
|
|
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 RecommendationOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
12
|
+
export type PartialRecommendationOutputRepresentationNormalizedKeyMetadata = 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): RecommendationOutputRepresentationNormalizedKeyMetadata;
|
|
15
|
+
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: RecommendationOutputRepresentation): string;
|
|
16
|
+
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: RecommendationOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
17
|
+
export declare function normalize(input: RecommendationOutputRepresentation, existing: RecommendationOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RecommendationOutputRepresentationNormalized;
|
|
18
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
19
|
+
export declare function equals(existing: RecommendationOutputRepresentationNormalized, incoming: RecommendationOutputRepresentationNormalized): 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: RecommendationOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
22
|
+
/**
|
|
23
|
+
* Recommendations for a given request
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* status (string): status.message
|
|
27
|
+
*/
|
|
28
|
+
export interface RecommendationOutputRepresentationNormalized {
|
|
29
|
+
/** The warning that’s displayed when the execution mode isn’t suitable. */
|
|
30
|
+
executionModeWarning?: string | null;
|
|
31
|
+
/** The error message that’s displayed when the persistence of recommendations fails. */
|
|
32
|
+
recommendationPersistenceErrorMessage?: string | null;
|
|
33
|
+
/** The list of IDs of the recommendation records that are part of the recommendation result. */
|
|
34
|
+
recommendationRecordIds?: Array<string | null>;
|
|
35
|
+
/** The recommendation result that’s fetched. */
|
|
36
|
+
recommendationStrategyResult?: Array<RcmdStrategyResult_RcmdStrategyResult | null>;
|
|
37
|
+
/** The ID of the recommendation request. */
|
|
38
|
+
requestId?: string | null;
|
|
39
|
+
/** The status of the recommendation request. */
|
|
40
|
+
status: Status_Status;
|
|
41
|
+
/** The name of the strategy. */
|
|
42
|
+
strategyName?: string | null;
|
|
43
|
+
/** The usecaseName value on the AIUsecaseDefinition object. */
|
|
44
|
+
usecaseName?: string | null;
|
|
45
|
+
}
|
|
46
|
+
/**
|
|
47
|
+
* Recommendations for a given request
|
|
48
|
+
*
|
|
49
|
+
* Keys:
|
|
50
|
+
* status (string): status.message
|
|
51
|
+
*/
|
|
52
|
+
export interface RecommendationOutputRepresentation {
|
|
53
|
+
executionModeWarning?: string | null;
|
|
54
|
+
recommendationPersistenceErrorMessage?: string | null;
|
|
55
|
+
recommendationRecordIds?: Array<string | null>;
|
|
56
|
+
recommendationStrategyResult?: Array<RcmdStrategyResult_RcmdStrategyResult | null>;
|
|
57
|
+
requestId?: string | null;
|
|
58
|
+
status: Status_Status;
|
|
59
|
+
strategyName?: string | null;
|
|
60
|
+
usecaseName?: string | null;
|
|
61
|
+
}
|
|
@@ -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 = "2e33979aec8c1ae9dfb98af75979d67a";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: Status, existing: StatusNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): StatusNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: StatusNormalized, incoming: StatusNormalized): 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: Status, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* The output representation of the Status of the request.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface StatusNormalized {
|
|
17
|
+
/** get Code. */
|
|
18
|
+
code: number;
|
|
19
|
+
/** Get Error Message */
|
|
20
|
+
message: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
* The output representation of the Status of the request.
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface Status {
|
|
29
|
+
code: number;
|
|
30
|
+
message: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "e0d567bc41257778ec99af6900bc0cf8";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: Suggestion, existing: SuggestionNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SuggestionNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: SuggestionNormalized, incoming: SuggestionNormalized): 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: Suggestion, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
* .
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface SuggestionNormalized {
|
|
18
|
+
/** . */
|
|
19
|
+
columns?: Array<Column_Column | null>;
|
|
20
|
+
/** . */
|
|
21
|
+
value?: number;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* .
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface Suggestion {
|
|
30
|
+
columns?: Array<Column_Column | null>;
|
|
31
|
+
value?: number;
|
|
32
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 = "aeb6e8aa422903707c33ac280c85a872";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: WrappedList, existing: WrappedListNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): WrappedListNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: WrappedListNormalized, incoming: WrappedListNormalized): 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: WrappedList, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* WrappedList wrapper object for use in PredictionInputRepresentation.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface WrappedListNormalized {
|
|
17
|
+
/** wrappedList */
|
|
18
|
+
wrappedList: Array<string | null>;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* WrappedList wrapper object for use in PredictionInputRepresentation.
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface WrappedList {
|
|
27
|
+
wrappedList: Array<string | null>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectKeys: {
|
|
3
|
+
(o: object): string[];
|
|
4
|
+
(o: {}): string[];
|
|
5
|
+
}, ObjectCreate: {
|
|
6
|
+
(o: object | null): any;
|
|
7
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
8
|
+
}, ObjectAssign: {
|
|
9
|
+
<T extends {}, U>(target: T, source: U): T & U;
|
|
10
|
+
<T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
|
|
11
|
+
<T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
|
|
12
|
+
(target: object, ...sources: any[]): any;
|
|
13
|
+
};
|
|
14
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
15
|
+
export declare const JSONStringify: {
|
|
16
|
+
(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
|
|
17
|
+
(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
|
|
18
|
+
};
|
|
19
|
+
type AllowedPrimitives = boolean | string | number | Date | null;
|
|
20
|
+
type Value<T> = T extends AllowedPrimitives ? T : RecursivePartial<T>;
|
|
21
|
+
export type RecursivePartial<T> = null | {
|
|
22
|
+
[P in keyof T]?: T[P] extends Array<infer U> ? Array<Value<U>> | null : Value<T[P]> | null;
|
|
23
|
+
};
|
|
24
|
+
export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (itemA: U, itemB: U) => boolean | void): boolean;
|
|
25
|
+
export declare function equalsObject<U, V extends {
|
|
26
|
+
[key: string]: U;
|
|
27
|
+
}>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
|
|
28
|
+
export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
|
|
29
|
+
__ref: string;
|
|
30
|
+
};
|
|
31
|
+
export declare function assignMetadataLink(entry: any, metadataKey: string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
32
|
+
export {};
|