@salesforce/lds-adapters-industries-einstein-aiaccelerator 1.308.0 → 1.309.0-dev11

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.
@@ -1,13 +1,20 @@
1
1
  import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
2
  import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
- import { PredictionRequestRepresentation as types_PredictionRequestRepresentation_PredictionRequestRepresentation } from '../types/PredictionRequestRepresentation';
3
+ import { WrappedList as types_WrappedList_WrappedList } from '../types/WrappedList';
4
4
  import { ResourceRequestConfig as resources_postConnectAiacceleratorV2Predictions_ResourceRequestConfig } from '../resources/postConnectAiacceleratorV2Predictions';
5
5
  import { PredictionResponseRepresentation as types_PredictionResponseRepresentation_PredictionResponseRepresentation } from '../types/PredictionResponseRepresentation';
6
6
  export declare const adapterName = "getPredictions";
7
7
  export declare const getPredictions_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
8
8
  export declare const getPredictions_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
9
9
  export interface GetPredictionsConfig {
10
- predictionRequest: types_PredictionRequestRepresentation_PredictionRequestRepresentation;
10
+ maxInsights?: number | null;
11
+ predictionModel: string;
12
+ predictionPlatform?: string | null;
13
+ records?: types_WrappedList_WrappedList | null;
14
+ scoreFilterCriteria?: string | null;
15
+ scoringThreshold?: number;
16
+ sortingOrder?: string | null;
17
+ usecaseName: string;
11
18
  }
12
19
  export declare const createResourceParams: (config: GetPredictionsConfig) => resources_postConnectAiacceleratorV2Predictions_ResourceRequestConfig;
13
20
  export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetPredictionsConfig>): adapter$45$utils_Untrusted<GetPredictionsConfig>;
@@ -1,9 +1,16 @@
1
- import { PredictionRequestRepresentation as types_PredictionRequestRepresentation_PredictionRequestRepresentation } from '../types/PredictionRequestRepresentation';
1
+ import { WrappedList as types_WrappedList_WrappedList } from '../types/WrappedList';
2
2
  import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
3
3
  import { PredictionResponseRepresentation as types_PredictionResponseRepresentation_PredictionResponseRepresentation } from '../types/PredictionResponseRepresentation';
4
4
  export interface ResourceRequestConfig {
5
5
  body: {
6
- predictionRequest: types_PredictionRequestRepresentation_PredictionRequestRepresentation;
6
+ maxInsights?: number | null;
7
+ predictionModel: string;
8
+ predictionPlatform?: string | null;
9
+ records?: types_WrappedList_WrappedList | null;
10
+ scoreFilterCriteria?: string | null;
11
+ scoringThreshold?: number;
12
+ sortingOrder?: string | null;
13
+ usecaseName: string;
7
14
  };
8
15
  }
9
16
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -0,0 +1,29 @@
1
+ import { NullableCustomAttributesMap as NullableCustomAttributesMap_NullableCustomAttributesMap } from './NullableCustomAttributesMap';
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 = "bfcb89e96ae97268ce284c0ed73a0ef1";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: CustomAttributesMap, existing: CustomAttributesMapNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CustomAttributesMapNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: CustomAttributesMapNormalized, incoming: CustomAttributesMapNormalized): 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: CustomAttributesMap, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * CustomAttributesMap wrapper object for use in PredictionInputRepresentation.
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface CustomAttributesMapNormalized {
18
+ /** customAttributes */
19
+ customAttributes?: NullableCustomAttributesMap_NullableCustomAttributesMap | null;
20
+ }
21
+ /**
22
+ * CustomAttributesMap wrapper object for use in PredictionInputRepresentation.
23
+ *
24
+ * Keys:
25
+ * (none)
26
+ */
27
+ export interface CustomAttributesMap {
28
+ customAttributes?: NullableCustomAttributesMap_NullableCustomAttributesMap | null;
29
+ }
@@ -1,5 +1,5 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "5e234ed626df7e532e8f3c1a02bd3061";
2
+ export declare const VERSION = "21639c6b776afbe1959723c916272617";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export declare function normalize(input: FieldCount, existing: FieldCountNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FieldCountNormalized;
@@ -15,9 +15,9 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  */
16
16
  export interface FieldCountNormalized {
17
17
  /** . */
18
- count?: number;
18
+ count?: number | null;
19
19
  /** . */
20
- fieldValue?: string;
20
+ fieldValue?: string | null;
21
21
  }
22
22
  /**
23
23
  * .
@@ -26,6 +26,6 @@ export interface FieldCountNormalized {
26
26
  * (none)
27
27
  */
28
28
  export interface FieldCount {
29
- count?: number;
30
- fieldValue?: string;
29
+ count?: number | null;
30
+ fieldValue?: string | null;
31
31
  }
@@ -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 = "516d8713643bedd96108b2e77fd64906";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: NullableCustomAttributesMap, existing: NullableCustomAttributesMapNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): NullableCustomAttributesMapNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: NullableCustomAttributesMapNormalized, incoming: NullableCustomAttributesMapNormalized): 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: NullableCustomAttributesMap, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Wrapper for Nullable Map Object.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface NullableCustomAttributesMapNormalized {
17
+ [key: string]: string | null;
18
+ }
19
+ /**
20
+ * Wrapper for Nullable Map Object.
21
+ *
22
+ * Keys:
23
+ * (none)
24
+ */
25
+ export interface NullableCustomAttributesMap {
26
+ [key: string]: string | null;
27
+ }
@@ -1,6 +1,7 @@
1
+ import { CustomAttributesMap as CustomAttributesMap_CustomAttributesMap } from './CustomAttributesMap';
1
2
  import { Predictor as Predictor_Predictor } from './Predictor';
2
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';
3
- export declare const VERSION = "13145e68faa7887a15708b8827d225ca";
4
+ export declare const VERSION = "317da8f7552b8bc2267533ee42274aba";
4
5
  export declare function validate(obj: any, path?: string): TypeError | null;
5
6
  export declare const RepresentationType: string;
6
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;
@@ -15,10 +16,14 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
16
  * (none)
16
17
  */
17
18
  export interface PredictionOutputNormalized {
19
+ /** . */
20
+ customAttributes?: CustomAttributesMap_CustomAttributesMap | null;
21
+ /** . */
22
+ customPredictionLabel?: string | null;
18
23
  /** . */
19
24
  predictionScore?: number;
20
25
  /** . */
21
- topPredictors?: Array<Predictor_Predictor>;
26
+ topPredictors?: Array<Predictor_Predictor | null>;
22
27
  }
23
28
  /**
24
29
  * Predicted object representation for prediction.
@@ -27,6 +32,8 @@ export interface PredictionOutputNormalized {
27
32
  * (none)
28
33
  */
29
34
  export interface PredictionOutput {
35
+ customAttributes?: CustomAttributesMap_CustomAttributesMap | null;
36
+ customPredictionLabel?: string | null;
30
37
  predictionScore?: number;
31
- topPredictors?: Array<Predictor_Predictor>;
38
+ topPredictors?: Array<Predictor_Predictor | null>;
32
39
  }
@@ -2,7 +2,7 @@ import { Error as Error_Error } from './Error';
2
2
  import { PredictionOutput as PredictionOutput_PredictionOutput } from './PredictionOutput';
3
3
  import { PredictionWarning as PredictionWarning_PredictionWarning } from './PredictionWarning';
4
4
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
5
- export declare const VERSION = "885f877f0d2101eb21a6d37667948990";
5
+ export declare const VERSION = "ff81fd01facaceebd448cdb77ff5be4a";
6
6
  export declare function validate(obj: any, path?: string): TypeError | null;
7
7
  export declare const RepresentationType: string;
8
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;
@@ -18,14 +18,15 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
18
18
  */
19
19
  export interface PredictionOutputObjectNormalized {
20
20
  /** . */
21
- errors?: Array<Error_Error>;
21
+ errors?: Array<Error_Error | null>;
22
22
  /** . */
23
- isSuccess: string;
23
+ isSuccess: boolean | null;
24
24
  /** . */
25
- predictionOutput?: Array<PredictionOutput_PredictionOutput>;
26
- predictionWarning?: PredictionWarning_PredictionWarning;
25
+ predictionOutput?: Array<PredictionOutput_PredictionOutput | null>;
27
26
  /** . */
28
- recordId: string;
27
+ predictionWarning?: PredictionWarning_PredictionWarning | null;
28
+ /** . */
29
+ recordId: string | null;
29
30
  }
30
31
  /**
31
32
  * Prediction for a given record
@@ -34,9 +35,9 @@ export interface PredictionOutputObjectNormalized {
34
35
  * (none)
35
36
  */
36
37
  export interface PredictionOutputObject {
37
- errors?: Array<Error_Error>;
38
- isSuccess: string;
39
- predictionOutput?: Array<PredictionOutput_PredictionOutput>;
40
- predictionWarning?: PredictionWarning_PredictionWarning;
41
- recordId: string;
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;
42
43
  }
@@ -1,6 +1,6 @@
1
1
  import { WrappedList as WrappedList_WrappedList } from './WrappedList';
2
2
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
- export declare const VERSION = "dda843a3525767a62e625cd09f7f4724";
3
+ export declare const VERSION = "33575692daf556915015f9878e55bb4c";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
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;
@@ -16,18 +16,18 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
16
  */
17
17
  export interface PredictionRequestRepresentationNormalized {
18
18
  /** . */
19
- maxInsights?: number;
19
+ maxInsights?: number | null;
20
20
  /** . */
21
- predictionModel?: string;
21
+ predictionModel: string;
22
22
  /** . */
23
- predictionPlatform?: string;
24
- records: WrappedList_WrappedList | null;
23
+ predictionPlatform?: string | null;
24
+ records?: WrappedList_WrappedList | null;
25
25
  /** . */
26
- scoreFilterCriteria?: string;
26
+ scoreFilterCriteria?: string | null;
27
27
  /** . */
28
28
  scoringThreshold?: number;
29
29
  /** . */
30
- sortingOrder?: string;
30
+ sortingOrder?: string | null;
31
31
  /** . */
32
32
  usecaseName: string;
33
33
  }
@@ -38,12 +38,12 @@ export interface PredictionRequestRepresentationNormalized {
38
38
  * (none)
39
39
  */
40
40
  export interface PredictionRequestRepresentation {
41
- maxInsights?: number;
42
- predictionModel?: string;
43
- predictionPlatform?: string;
44
- records: WrappedList_WrappedList | null;
45
- scoreFilterCriteria?: string;
41
+ maxInsights?: number | null;
42
+ predictionModel: string;
43
+ predictionPlatform?: string | null;
44
+ records?: WrappedList_WrappedList | null;
45
+ scoreFilterCriteria?: string | null;
46
46
  scoringThreshold?: number;
47
- sortingOrder?: string;
47
+ sortingOrder?: string | null;
48
48
  usecaseName: string;
49
49
  }
@@ -2,7 +2,7 @@ import { PredictionOutputObject as PredictionOutputObject_PredictionOutputObject
2
2
  import { Status as Status_Status } from './Status';
3
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
4
  export declare const TTL = 1000;
5
- export declare const VERSION = "b13c8b0381776630589477a43e4eaa6c";
5
+ export declare const VERSION = "b41e19933ddff4d62138587673e7d951";
6
6
  export declare function validate(obj: any, path?: string): TypeError | null;
7
7
  export declare const RepresentationType: string;
8
8
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -27,18 +27,16 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
27
27
  */
28
28
  export interface PredictionResponseRepresentationNormalized {
29
29
  /** . */
30
- customPredictionLabel?: string;
30
+ predictionModel: string;
31
31
  /** . */
32
- predictionModel?: string;
32
+ predictionOutputObjects?: Array<PredictionOutputObject_PredictionOutputObject | null>;
33
33
  /** . */
34
- predictionOutputObjects?: Array<PredictionOutputObject_PredictionOutputObject>;
34
+ predictionPlatform?: string | null;
35
35
  /** . */
36
- predictionPlatform?: string;
37
- /** . */
38
- predictionType?: string;
36
+ predictionType?: string | null;
39
37
  status: Status_Status;
40
38
  /** . */
41
- usecaseName: string;
39
+ usecaseName: string | null;
42
40
  }
43
41
  /**
44
42
  * Predictions for a given request
@@ -47,11 +45,10 @@ export interface PredictionResponseRepresentationNormalized {
47
45
  * status (string): status.message
48
46
  */
49
47
  export interface PredictionResponseRepresentation {
50
- customPredictionLabel?: string;
51
- predictionModel?: string;
52
- predictionOutputObjects?: Array<PredictionOutputObject_PredictionOutputObject>;
53
- predictionPlatform?: string;
54
- predictionType?: string;
48
+ predictionModel: string;
49
+ predictionOutputObjects?: Array<PredictionOutputObject_PredictionOutputObject | null>;
50
+ predictionPlatform?: string | null;
51
+ predictionType?: string | null;
55
52
  status: Status_Status;
56
- usecaseName: string;
53
+ usecaseName: string | null;
57
54
  }
@@ -1,6 +1,6 @@
1
1
  import { FieldCount as FieldCount_FieldCount } from './FieldCount';
2
2
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
- export declare const VERSION = "b9f3fae69bd67ce6ff2f1eaa7a70e007";
3
+ export declare const VERSION = "9e470cfe0936d88833782963ffdbf458";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
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;
@@ -16,9 +16,9 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
16
  */
17
17
  export interface PredictionWarningNormalized {
18
18
  /** . */
19
- missingFieldNames?: Array<string>;
19
+ missingFieldNames?: Array<string | null>;
20
20
  /** . */
21
- outOfBoundFields?: Array<FieldCount_FieldCount>;
21
+ outOfBoundFields?: Array<FieldCount_FieldCount | null>;
22
22
  }
23
23
  /**
24
24
  * Warning for a prediction of a particular record
@@ -27,6 +27,6 @@ export interface PredictionWarningNormalized {
27
27
  * (none)
28
28
  */
29
29
  export interface PredictionWarning {
30
- missingFieldNames?: Array<string>;
31
- outOfBoundFields?: Array<FieldCount_FieldCount>;
30
+ missingFieldNames?: Array<string | null>;
31
+ outOfBoundFields?: Array<FieldCount_FieldCount | null>;
32
32
  }
@@ -1,6 +1,6 @@
1
1
  import { PredictorField as PredictorField_PredictorField } from './PredictorField';
2
2
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
- export declare const VERSION = "2656ae02fe5cb7f7c6fcecc89f4f8a31";
3
+ export declare const VERSION = "171fd09137fae388871c6a7e5b56c330";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
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;
@@ -18,7 +18,7 @@ export interface PredictorNormalized {
18
18
  /** . */
19
19
  contributionValue?: number;
20
20
  /** . */
21
- predictorFields?: Array<PredictorField_PredictorField>;
21
+ predictorFields?: Array<PredictorField_PredictorField | null>;
22
22
  }
23
23
  /**
24
24
  * Predicted object representation for prediction
@@ -28,5 +28,5 @@ export interface PredictorNormalized {
28
28
  */
29
29
  export interface Predictor {
30
30
  contributionValue?: number;
31
- predictorFields?: Array<PredictorField_PredictorField>;
31
+ predictorFields?: Array<PredictorField_PredictorField | null>;
32
32
  }
@@ -1,5 +1,5 @@
1
1
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
- export declare const VERSION = "81417d96816b9884fe834dbba726a68e";
2
+ export declare const VERSION = "32cb0b6c29cd35d0f2119fc270326c67";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
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;
@@ -15,15 +15,15 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
15
15
  */
16
16
  export interface PredictorFieldNormalized {
17
17
  /** . */
18
- customText?: string;
18
+ customText?: string | null;
19
19
  /** . */
20
- label?: string;
20
+ label?: string | null;
21
21
  /** . */
22
- name?: string;
22
+ name?: string | null;
23
23
  /** . */
24
- prescribedValue?: string;
24
+ prescribedValue?: string | null;
25
25
  /** . */
26
- value?: string;
26
+ value?: string | null;
27
27
  }
28
28
  /**
29
29
  * Field representation for predictor.
@@ -32,9 +32,9 @@ export interface PredictorFieldNormalized {
32
32
  * (none)
33
33
  */
34
34
  export interface PredictorField {
35
- customText?: string;
36
- label?: string;
37
- name?: string;
38
- prescribedValue?: string;
39
- value?: string;
35
+ customText?: string | null;
36
+ label?: string | null;
37
+ name?: string | null;
38
+ prescribedValue?: string | null;
39
+ value?: string | null;
40
40
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-industries-einstein-aiaccelerator",
3
- "version": "1.308.0",
3
+ "version": "1.309.0-dev11",
4
4
  "license": "SEE LICENSE IN LICENSE.txt",
5
5
  "description": "AI Accelerator Connect API to make predictions",
6
6
  "main": "dist/es/es2018/industries-einstein-aiaccelerator.js",
@@ -35,14 +35,15 @@
35
35
  "release:core": "../../scripts/release/core.js --adapter=lds-adapters-industries-einstein-aiaccelerator",
36
36
  "release:corejar": "yarn build && packages/core-build/scripts/core.js --adapter=lds-adapters-industries-einstein-aiaccelerator",
37
37
  "start": "nx build:karma && karma start",
38
- "test": "nx build:karma && karma start --single-run"
38
+ "test": "nx build:karma && karma start --single-run",
39
+ "test:unit": "jest"
39
40
  },
40
41
  "dependencies": {
41
- "@salesforce/lds-bindings": "^1.308.0"
42
+ "@salesforce/lds-bindings": "^1.309.0-dev11"
42
43
  },
43
44
  "devDependencies": {
44
- "@salesforce/lds-compiler-plugins": "^1.308.0",
45
- "@salesforce/lds-karma": "^1.308.0"
45
+ "@salesforce/lds-compiler-plugins": "^1.309.0-dev11",
46
+ "@salesforce/lds-karma": "^1.309.0-dev11"
46
47
  },
47
48
  "nx": {
48
49
  "targets": {