@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.
Files changed (58) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/industries-einstein-aiaccelerator.js +4683 -0
  3. package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
  4. package/dist/es/es2018/types/src/generated/adapters/fetchRecommendations.d.ts +16 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getPredictions.d.ts +23 -0
  6. package/dist/es/es2018/types/src/generated/adapters/predictions.d.ts +16 -0
  7. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
  8. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +4 -0
  9. package/dist/es/es2018/types/src/generated/resources/postConnectAiacceleratorPredictions.d.ts +13 -0
  10. package/dist/es/es2018/types/src/generated/resources/postConnectAiacceleratorRecommendations.d.ts +13 -0
  11. package/dist/es/es2018/types/src/generated/resources/postConnectAiacceleratorV2Predictions.d.ts +20 -0
  12. package/dist/es/es2018/types/src/generated/types/Column.d.ts +37 -0
  13. package/dist/es/es2018/types/src/generated/types/ColumnMapWrap.d.ts +29 -0
  14. package/dist/es/es2018/types/src/generated/types/CustomAttributesMap.d.ts +29 -0
  15. package/dist/es/es2018/types/src/generated/types/Error.d.ts +31 -0
  16. package/dist/es/es2018/types/src/generated/types/FeatureExtractionParametersList.d.ts +29 -0
  17. package/dist/es/es2018/types/src/generated/types/FeatureExtractionParametersMapValue.d.ts +29 -0
  18. package/dist/es/es2018/types/src/generated/types/FieldCount.d.ts +31 -0
  19. package/dist/es/es2018/types/src/generated/types/Insight.d.ts +32 -0
  20. package/dist/es/es2018/types/src/generated/types/InsightsSettingsMap.d.ts +29 -0
  21. package/dist/es/es2018/types/src/generated/types/ModelFeature.d.ts +34 -0
  22. package/dist/es/es2018/types/src/generated/types/NullableColumnMap.d.ts +27 -0
  23. package/dist/es/es2018/types/src/generated/types/NullableCustomAttributesMap.d.ts +27 -0
  24. package/dist/es/es2018/types/src/generated/types/NullableFeatureExtractionParametersMapValue.d.ts +25 -0
  25. package/dist/es/es2018/types/src/generated/types/NullableInsightsSettingsMap.d.ts +27 -0
  26. package/dist/es/es2018/types/src/generated/types/NullableModel.d.ts +27 -0
  27. package/dist/es/es2018/types/src/generated/types/Prediction.d.ts +42 -0
  28. package/dist/es/es2018/types/src/generated/types/PredictionInputRepresentation.d.ts +105 -0
  29. package/dist/es/es2018/types/src/generated/types/PredictionInputWrapperRepresentation.d.ts +28 -0
  30. package/dist/es/es2018/types/src/generated/types/PredictionObject.d.ts +40 -0
  31. package/dist/es/es2018/types/src/generated/types/PredictionOutput.d.ts +39 -0
  32. package/dist/es/es2018/types/src/generated/types/PredictionOutputObject.d.ts +43 -0
  33. package/dist/es/es2018/types/src/generated/types/PredictionOutputRepresentation.d.ts +98 -0
  34. package/dist/es/es2018/types/src/generated/types/PredictionRequestRepresentation.d.ts +49 -0
  35. package/dist/es/es2018/types/src/generated/types/PredictionRequestWrapperRepresentation.d.ts +29 -0
  36. package/dist/es/es2018/types/src/generated/types/PredictionResponseRepresentation.d.ts +54 -0
  37. package/dist/es/es2018/types/src/generated/types/PredictionWarning.d.ts +32 -0
  38. package/dist/es/es2018/types/src/generated/types/Predictor.d.ts +32 -0
  39. package/dist/es/es2018/types/src/generated/types/PredictorField.d.ts +40 -0
  40. package/dist/es/es2018/types/src/generated/types/Prescription.d.ts +32 -0
  41. package/dist/es/es2018/types/src/generated/types/RawDataInputRepresentation.d.ts +28 -0
  42. package/dist/es/es2018/types/src/generated/types/RawDataInputWrap.d.ts +28 -0
  43. package/dist/es/es2018/types/src/generated/types/RawDataList.d.ts +29 -0
  44. package/dist/es/es2018/types/src/generated/types/RcmdStrategyResult.d.ts +45 -0
  45. package/dist/es/es2018/types/src/generated/types/Recommendation.d.ts +59 -0
  46. package/dist/es/es2018/types/src/generated/types/RecommendationActionParam.d.ts +34 -0
  47. package/dist/es/es2018/types/src/generated/types/RecommendationInputRepresentation.d.ts +53 -0
  48. package/dist/es/es2018/types/src/generated/types/RecommendationInputWrapperRepresentation.d.ts +28 -0
  49. package/dist/es/es2018/types/src/generated/types/RecommendationOutputRepresentation.d.ts +61 -0
  50. package/dist/es/es2018/types/src/generated/types/Status.d.ts +31 -0
  51. package/dist/es/es2018/types/src/generated/types/Suggestion.d.ts +32 -0
  52. package/dist/es/es2018/types/src/generated/types/WrappedList.d.ts +28 -0
  53. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  54. package/package.json +71 -0
  55. package/sfdc/index.d.ts +1 -0
  56. package/sfdc/index.js +4715 -0
  57. package/src/raml/api.raml +937 -0
  58. package/src/raml/luvio.raml +39 -0
@@ -0,0 +1,27 @@
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 = "a1bf7208ed8f8eaa8c3c3d8d7a49558d";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: NullableInsightsSettingsMap, existing: NullableInsightsSettingsMapNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): NullableInsightsSettingsMapNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: NullableInsightsSettingsMapNormalized, incoming: NullableInsightsSettingsMapNormalized): 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: NullableInsightsSettingsMap, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Wrapper for Nullable Map Object.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface NullableInsightsSettingsMapNormalized {
17
+ [key: string]: number | null;
18
+ }
19
+ /**
20
+ * Wrapper for Nullable Map Object.
21
+ *
22
+ * Keys:
23
+ * (none)
24
+ */
25
+ export interface NullableInsightsSettingsMap {
26
+ [key: string]: number | null;
27
+ }
@@ -0,0 +1,27 @@
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 = "deb76ebadf836326b696ab39d3cbed7b";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: NullableModel, existing: NullableModelNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): NullableModelNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: NullableModelNormalized, incoming: NullableModelNormalized): 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: NullableModel, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * .
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface NullableModelNormalized {
17
+ [key: string]: string | null;
18
+ }
19
+ /**
20
+ * .
21
+ *
22
+ * Keys:
23
+ * (none)
24
+ */
25
+ export interface NullableModel {
26
+ [key: string]: string | null;
27
+ }
@@ -0,0 +1,42 @@
1
+ import { Insight as Insight_Insight } from './Insight';
2
+ import { Column as Column_Column } from './Column';
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 = "f2062ae8e5785cf390bf5879410b38c1";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export declare function normalize(input: Prediction, existing: PredictionNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): PredictionNormalized;
8
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
9
+ export declare function equals(existing: PredictionNormalized, incoming: PredictionNormalized): 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: Prediction, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ * .
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface PredictionNormalized {
19
+ /** . */
20
+ historyRefPointScore?: number;
21
+ /** . */
22
+ insights?: Array<Insight_Insight | null>;
23
+ /** . */
24
+ missingColumns?: Array<string | null>;
25
+ /** . */
26
+ outOfBoundsColumns?: Array<Column_Column | null>;
27
+ /** . */
28
+ score?: number;
29
+ }
30
+ /**
31
+ * .
32
+ *
33
+ * Keys:
34
+ * (none)
35
+ */
36
+ export interface Prediction {
37
+ historyRefPointScore?: number;
38
+ insights?: Array<Insight_Insight | null>;
39
+ missingColumns?: Array<string | null>;
40
+ outOfBoundsColumns?: Array<Column_Column | null>;
41
+ score?: number;
42
+ }
@@ -0,0 +1,105 @@
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } 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 const ingest: $64$luvio_engine_ResourceIngest;
14
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: PredictionInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
15
+ /**
16
+ * Request for which predictions are fetched.
17
+ *
18
+ * Keys:
19
+ * (none)
20
+ */
21
+ export interface PredictionInputRepresentationNormalized {
22
+ /** . */
23
+ async?: boolean | null;
24
+ /** . */
25
+ columnNames?: WrappedList_WrappedList | null;
26
+ /** . */
27
+ enableFeaturePersistence?: boolean | null;
28
+ /** . */
29
+ enableInsightPersistence?: boolean | null;
30
+ /** . */
31
+ enableScorePersistence?: boolean | null;
32
+ /** . */
33
+ enableSuggestionPersistence?: boolean | null;
34
+ /** . */
35
+ enrichModelClassification?: boolean | null;
36
+ /** . */
37
+ enrichModelFeatures?: boolean | null;
38
+ /** . */
39
+ enrichPredictionDefinition?: boolean | null;
40
+ /** . */
41
+ featureColumnMap?: ColumnMapWrap_ColumnMapWrap | null;
42
+ /** . */
43
+ featureExtractionParameters?: FeatureExtractionParametersList_FeatureExtractionParametersList | null;
44
+ /** . */
45
+ featureExtractorDevName?: string;
46
+ /** . */
47
+ featureExtractorId?: string | null;
48
+ /** . */
49
+ historyReferencePoint?: string | null;
50
+ /** . */
51
+ inputType: string;
52
+ /** . */
53
+ insightColumnMap?: ColumnMapWrap_ColumnMapWrap | null;
54
+ /** . */
55
+ insightsSettings?: InsightsSettingsMap_InsightsSettingsMap | null;
56
+ /** . */
57
+ predictionDefinition: string;
58
+ /** . */
59
+ rawData?: RawDataList_RawDataList | null;
60
+ /** . */
61
+ records?: WrappedList_WrappedList | null;
62
+ /** . */
63
+ scorePersistenceColumn?: string | null;
64
+ /** . */
65
+ secondaryRecordIdPersistenceField?: string | null;
66
+ /** . */
67
+ suggestionColumnMap?: ColumnMapWrap_ColumnMapWrap | null;
68
+ /** . */
69
+ usecaseDefinition?: string;
70
+ /** . */
71
+ usecaseDevName?: string;
72
+ }
73
+ /**
74
+ * Request for which predictions are fetched.
75
+ *
76
+ * Keys:
77
+ * (none)
78
+ */
79
+ export interface PredictionInputRepresentation {
80
+ async?: boolean | null;
81
+ columnNames?: WrappedList_WrappedList | null;
82
+ enableFeaturePersistence?: boolean | null;
83
+ enableInsightPersistence?: boolean | null;
84
+ enableScorePersistence?: boolean | null;
85
+ enableSuggestionPersistence?: boolean | null;
86
+ enrichModelClassification?: boolean | null;
87
+ enrichModelFeatures?: boolean | null;
88
+ enrichPredictionDefinition?: boolean | null;
89
+ featureColumnMap?: ColumnMapWrap_ColumnMapWrap | null;
90
+ featureExtractionParameters?: FeatureExtractionParametersList_FeatureExtractionParametersList | null;
91
+ featureExtractorDevName?: string;
92
+ featureExtractorId?: string | null;
93
+ historyReferencePoint?: string | null;
94
+ inputType: string;
95
+ insightColumnMap?: ColumnMapWrap_ColumnMapWrap | null;
96
+ insightsSettings?: InsightsSettingsMap_InsightsSettingsMap | null;
97
+ predictionDefinition: string;
98
+ rawData?: RawDataList_RawDataList | null;
99
+ records?: WrappedList_WrappedList | null;
100
+ scorePersistenceColumn?: string | null;
101
+ secondaryRecordIdPersistenceField?: string | null;
102
+ suggestionColumnMap?: ColumnMapWrap_ColumnMapWrap | null;
103
+ usecaseDefinition?: string;
104
+ usecaseDevName?: string;
105
+ }
@@ -0,0 +1,28 @@
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } 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 const ingest: $64$luvio_engine_ResourceIngest;
10
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: PredictionInputWrapperRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Wrapper for PredictInputRepresentation.
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface PredictionInputWrapperRepresentationNormalized {
18
+ predictionInput: PredictionInputRepresentation_PredictionInputRepresentation;
19
+ }
20
+ /**
21
+ * Wrapper for PredictInputRepresentation.
22
+ *
23
+ * Keys:
24
+ * (none)
25
+ */
26
+ export interface PredictionInputWrapperRepresentation {
27
+ predictionInput: PredictionInputRepresentation_PredictionInputRepresentation;
28
+ }
@@ -0,0 +1,40 @@
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, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } 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 const ingest: $64$luvio_engine_ResourceIngest;
12
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: PredictionObject, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
13
+ /**
14
+ * .
15
+ *
16
+ * Keys:
17
+ * (none)
18
+ */
19
+ export interface PredictionObjectNormalized {
20
+ /** . */
21
+ model?: NullableModel_NullableModel | null;
22
+ /** . */
23
+ prediction?: Prediction_Prediction | null;
24
+ /** . */
25
+ status: string | null;
26
+ /** . */
27
+ suggestions?: Array<Suggestion_Suggestion | null>;
28
+ }
29
+ /**
30
+ * .
31
+ *
32
+ * Keys:
33
+ * (none)
34
+ */
35
+ export interface PredictionObject {
36
+ model?: NullableModel_NullableModel | null;
37
+ prediction?: Prediction_Prediction | null;
38
+ status: string | null;
39
+ suggestions?: Array<Suggestion_Suggestion | null>;
40
+ }
@@ -0,0 +1,39 @@
1
+ import { CustomAttributesMap as CustomAttributesMap_CustomAttributesMap } from './CustomAttributesMap';
2
+ import { Predictor as Predictor_Predictor } from './Predictor';
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 = "317da8f7552b8bc2267533ee42274aba";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ 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;
8
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
9
+ export declare function equals(existing: PredictionOutputNormalized, incoming: PredictionOutputNormalized): 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: PredictionOutput, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ * Predicted object representation for prediction.
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface PredictionOutputNormalized {
19
+ /** . */
20
+ customAttributes?: CustomAttributesMap_CustomAttributesMap | null;
21
+ /** . */
22
+ customPredictionLabel?: string | null;
23
+ /** . */
24
+ predictionScore?: number;
25
+ /** . */
26
+ topPredictors?: Array<Predictor_Predictor | null>;
27
+ }
28
+ /**
29
+ * Predicted object representation for prediction.
30
+ *
31
+ * Keys:
32
+ * (none)
33
+ */
34
+ export interface PredictionOutput {
35
+ customAttributes?: CustomAttributesMap_CustomAttributesMap | null;
36
+ customPredictionLabel?: string | null;
37
+ predictionScore?: number;
38
+ topPredictors?: Array<Predictor_Predictor | null>;
39
+ }
@@ -0,0 +1,43 @@
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 = "ff81fd01facaceebd448cdb77ff5be4a";
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 | null>;
22
+ /** . */
23
+ isSuccess: boolean | null;
24
+ /** . */
25
+ predictionOutput?: Array<PredictionOutput_PredictionOutput | null>;
26
+ /** . */
27
+ predictionWarning?: PredictionWarning_PredictionWarning | null;
28
+ /** . */
29
+ recordId: string | null;
30
+ }
31
+ /**
32
+ * Prediction for a given record
33
+ *
34
+ * Keys:
35
+ * (none)
36
+ */
37
+ export interface PredictionOutputObject {
38
+ errors?: Array<Error_Error | null>;
39
+ isSuccess: boolean | null;
40
+ predictionOutput?: Array<PredictionOutput_PredictionOutput | null>;
41
+ predictionWarning?: PredictionWarning_PredictionWarning | null;
42
+ recordId: string | null;
43
+ }
@@ -0,0 +1,98 @@
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 const ingest: $64$luvio_engine_ResourceIngest;
22
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: PredictionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
23
+ /**
24
+ * Predictions for a given request
25
+ *
26
+ * Keys:
27
+ * status (string): status.message
28
+ */
29
+ export interface PredictionOutputRepresentationNormalized {
30
+ /** Classification Threshold Value */
31
+ classificationThreshold?: number;
32
+ /** Classification model type */
33
+ classificationType?: string | null;
34
+ /** Indicates the change in execution mode from user specified to default mode configuration */
35
+ executionModeWarning?: string | null;
36
+ /** Indicates Feature Extractor Implementation class used for a request */
37
+ featureExtractor?: string | null;
38
+ /** Indicates Feature Extractor Type used for a request */
39
+ featureExtractorType?: string | null;
40
+ /** . */
41
+ inputType?: string | null;
42
+ /** . */
43
+ insightsSettings?: {
44
+ [key: string]: number;
45
+ };
46
+ /** Columns + values that are out of bounds. These values were not used when training the model */
47
+ modelFeatures?: Array<ModelFeature_ModelFeature | null>;
48
+ /** Indicates whether predDef maximizes or minimizes the field value. */
49
+ outcomeGoal?: string | null;
50
+ /** . */
51
+ predictionDefinition?: string | null;
52
+ /** Label corresponding to the prediction definiton ID used for prediction */
53
+ predictionDefinitionLabel?: string | null;
54
+ /** Indicates the condition that all the entities failed to persist via persistence manager */
55
+ predictionPersistenceErrorMessage?: string | null;
56
+ /** . */
57
+ predictionPlatform?: string | null;
58
+ /** . */
59
+ predictionPurpose?: string | null;
60
+ /** . */
61
+ predictions?: Array<PredictionObject_PredictionObject | null>;
62
+ /** Indicates the list of recordIds where the response is persisted in primary response object */
63
+ primaryResponseObjRecordIds?: Array<string | null>;
64
+ /** . */
65
+ requestId?: string | null;
66
+ /** Indicates the list of recordIds where the response is persisted in secondary response object */
67
+ secondaryResponseObjRecordIds?: Array<string | null>;
68
+ status: Status_Status;
69
+ }
70
+ /**
71
+ * Predictions for a given request
72
+ *
73
+ * Keys:
74
+ * status (string): status.message
75
+ */
76
+ export interface PredictionOutputRepresentation {
77
+ classificationThreshold?: number;
78
+ classificationType?: string | null;
79
+ executionModeWarning?: string | null;
80
+ featureExtractor?: string | null;
81
+ featureExtractorType?: string | null;
82
+ inputType?: string | null;
83
+ insightsSettings?: {
84
+ [key: string]: number;
85
+ };
86
+ modelFeatures?: Array<ModelFeature_ModelFeature | null>;
87
+ outcomeGoal?: string | null;
88
+ predictionDefinition?: string | null;
89
+ predictionDefinitionLabel?: string | null;
90
+ predictionPersistenceErrorMessage?: string | null;
91
+ predictionPlatform?: string | null;
92
+ predictionPurpose?: string | null;
93
+ predictions?: Array<PredictionObject_PredictionObject | null>;
94
+ primaryResponseObjRecordIds?: Array<string | null>;
95
+ requestId?: string | null;
96
+ secondaryResponseObjRecordIds?: Array<string | null>;
97
+ status: Status_Status;
98
+ }
@@ -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 = "33575692daf556915015f9878e55bb4c";
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 | null;
20
+ /** . */
21
+ predictionModel: string;
22
+ /** . */
23
+ predictionPlatform?: string | null;
24
+ records?: WrappedList_WrappedList | null;
25
+ /** . */
26
+ scoreFilterCriteria?: string | null;
27
+ /** . */
28
+ scoringThreshold?: number;
29
+ /** . */
30
+ sortingOrder?: string | null;
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 | null;
42
+ predictionModel: string;
43
+ predictionPlatform?: string | null;
44
+ records?: WrappedList_WrappedList | null;
45
+ scoreFilterCriteria?: string | null;
46
+ scoringThreshold?: number;
47
+ sortingOrder?: string | null;
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,54 @@
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 = "b41e19933ddff4d62138587673e7d951";
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
+ predictionModel: string;
31
+ /** . */
32
+ predictionOutputObjects?: Array<PredictionOutputObject_PredictionOutputObject | null>;
33
+ /** . */
34
+ predictionPlatform?: string | null;
35
+ /** . */
36
+ predictionType?: string | null;
37
+ status: Status_Status;
38
+ /** . */
39
+ usecaseName: string | null;
40
+ }
41
+ /**
42
+ * Predictions for a given request
43
+ *
44
+ * Keys:
45
+ * status (string): status.message
46
+ */
47
+ export interface PredictionResponseRepresentation {
48
+ predictionModel: string;
49
+ predictionOutputObjects?: Array<PredictionOutputObject_PredictionOutputObject | null>;
50
+ predictionPlatform?: string | null;
51
+ predictionType?: string | null;
52
+ status: Status_Status;
53
+ usecaseName: string | null;
54
+ }
@@ -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 = "9e470cfe0936d88833782963ffdbf458";
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 | null>;
20
+ /** . */
21
+ outOfBoundFields?: Array<FieldCount_FieldCount | null>;
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 | null>;
31
+ outOfBoundFields?: Array<FieldCount_FieldCount | null>;
32
+ }