@salesforce/lds-adapters-sfap-analytics-insights 1.313.0 → 1.315.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/es2018/sfap-analytics-insights.js +1276 -139
- package/dist/es/es2018/types/src/generated/adapters/createInsightsBatch.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/adapters/generateInsights.d.ts +4 -2
- package/dist/es/es2018/types/src/generated/adapters/getMetricFilterValues.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/resources/postAnalyticsInsightsV1Batches.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/resources/postAnalyticsInsightsV1FilterValues.d.ts +2 -1
- package/dist/es/es2018/types/src/generated/resources/postAnalyticsInsightsV1GenerateBundle.d.ts +4 -2
- package/dist/es/es2018/types/src/generated/types/BatchOptions.d.ts +7 -5
- package/dist/es/es2018/types/src/generated/types/GenerateInsightBatchRequest.d.ts +4 -3
- package/dist/es/es2018/types/src/generated/types/GenerateInsightBatchResponse.d.ts +4 -3
- package/dist/es/es2018/types/src/generated/types/GenerateInsightBundleRequest.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/types/GenerateInsightBundleResponse.d.ts +4 -3
- package/dist/es/es2018/types/src/generated/types/GetFilterValuesRequest.d.ts +4 -3
- package/dist/es/es2018/types/src/generated/types/GetInsightBatchResponse.d.ts +4 -3
- package/dist/es/es2018/types/src/generated/types/Insight.d.ts +5 -8
- package/dist/es/es2018/types/src/generated/types/MeasurementPeriod.d.ts +7 -9
- package/dist/es/es2018/types/src/generated/types/MetricDefinition.d.ts +4 -4
- package/dist/es/es2018/types/src/generated/types/Overview.d.ts +3 -6
- package/dist/es/es2018/types/src/generated/types/Summary.d.ts +9 -9
- package/package.json +3 -3
- package/sfdc/index.js +1416 -279
- package/src/raml/api.raml +16 -51
|
@@ -1,6 +1,7 @@
|
|
|
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
3
|
import { BatchInput as types_BatchInput_BatchInput } from '../types/BatchInput';
|
|
4
|
+
import { BatchOptions as types_BatchOptions_BatchOptions } from '../types/BatchOptions';
|
|
4
5
|
import { ResourceRequestConfig as resources_postAnalyticsInsightsV1Batches_ResourceRequestConfig } from '../resources/postAnalyticsInsightsV1Batches';
|
|
5
6
|
import { GenerateInsightBatchResponse as types_GenerateInsightBatchResponse_GenerateInsightBatchResponse } from '../types/GenerateInsightBatchResponse';
|
|
6
7
|
export declare const adapterName = "createInsightsBatch";
|
|
@@ -8,7 +9,7 @@ export declare const createInsightsBatch_ConfigPropertyMetadata: $64$luvio_engin
|
|
|
8
9
|
export declare const createInsightsBatch_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
9
10
|
export interface CreateInsightsBatchConfig {
|
|
10
11
|
batchInput?: Array<types_BatchInput_BatchInput>;
|
|
11
|
-
options?:
|
|
12
|
+
options?: types_BatchOptions_BatchOptions;
|
|
12
13
|
}
|
|
13
14
|
export declare const createResourceParams: (config: CreateInsightsBatchConfig) => resources_postAnalyticsInsightsV1Batches_ResourceRequestConfig;
|
|
14
15
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateInsightsBatchConfig>): adapter$45$utils_Untrusted<CreateInsightsBatchConfig>;
|
|
@@ -1,5 +1,7 @@
|
|
|
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 { InsightBundleInput as types_InsightBundleInput_InsightBundleInput } from '../types/InsightBundleInput';
|
|
4
|
+
import { InsightBundleOptions as types_InsightBundleOptions_InsightBundleOptions } from '../types/InsightBundleOptions';
|
|
3
5
|
import { ResourceRequestConfig as resources_postAnalyticsInsightsV1GenerateBundle_ResourceRequestConfig } from '../resources/postAnalyticsInsightsV1GenerateBundle';
|
|
4
6
|
import { GenerateInsightBundleResponse as types_GenerateInsightBundleResponse_GenerateInsightBundleResponse } from '../types/GenerateInsightBundleResponse';
|
|
5
7
|
export declare const adapterName = "generateInsights";
|
|
@@ -8,8 +10,8 @@ export declare const generateInsights_ConfigPropertyNames: adapter$45$utils_Adap
|
|
|
8
10
|
export interface GenerateInsightsConfig {
|
|
9
11
|
type?: string;
|
|
10
12
|
version?: number;
|
|
11
|
-
input?:
|
|
12
|
-
options?:
|
|
13
|
+
input?: types_InsightBundleInput_InsightBundleInput;
|
|
14
|
+
options?: types_InsightBundleOptions_InsightBundleOptions;
|
|
13
15
|
}
|
|
14
16
|
export declare const createResourceParams: (config: GenerateInsightsConfig) => resources_postAnalyticsInsightsV1GenerateBundle_ResourceRequestConfig;
|
|
15
17
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GenerateInsightsConfig>): adapter$45$utils_Untrusted<GenerateInsightsConfig>;
|
|
@@ -3,6 +3,7 @@ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as ada
|
|
|
3
3
|
import { SemanticDataModel as types_SemanticDataModel_SemanticDataModel } from '../types/SemanticDataModel';
|
|
4
4
|
import { FieldId as types_FieldId_FieldId } from '../types/FieldId';
|
|
5
5
|
import { Filter as types_Filter_Filter } from '../types/Filter';
|
|
6
|
+
import { FlattenFilter as types_FlattenFilter_FlattenFilter } from '../types/FlattenFilter';
|
|
6
7
|
import { ResourceRequestConfig as resources_postAnalyticsInsightsV1FilterValues_ResourceRequestConfig } from '../resources/postAnalyticsInsightsV1FilterValues';
|
|
7
8
|
import { GetFilterValuesResponse as types_GetFilterValuesResponse_GetFilterValuesResponse } from '../types/GetFilterValuesResponse';
|
|
8
9
|
export declare const adapterName = "getMetricFilterValues";
|
|
@@ -15,7 +16,7 @@ export interface GetMetricFilterValuesConfig {
|
|
|
15
16
|
pageSize?: number;
|
|
16
17
|
searchTerm?: string;
|
|
17
18
|
filters?: Array<types_Filter_Filter>;
|
|
18
|
-
semanticFilter?:
|
|
19
|
+
semanticFilter?: types_FlattenFilter_FlattenFilter;
|
|
19
20
|
}
|
|
20
21
|
export declare const createResourceParams: (config: GetMetricFilterValuesConfig) => resources_postAnalyticsInsightsV1FilterValues_ResourceRequestConfig;
|
|
21
22
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetMetricFilterValuesConfig>): adapter$45$utils_Untrusted<GetMetricFilterValuesConfig>;
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import { BatchInput as types_BatchInput_BatchInput } from '../types/BatchInput';
|
|
2
|
+
import { BatchOptions as types_BatchOptions_BatchOptions } from '../types/BatchOptions';
|
|
2
3
|
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
4
|
import { GenerateInsightBatchResponse as types_GenerateInsightBatchResponse_GenerateInsightBatchResponse } from '../types/GenerateInsightBatchResponse';
|
|
4
5
|
export interface ResourceRequestConfig {
|
|
5
6
|
body: {
|
|
6
7
|
batchInput?: Array<types_BatchInput_BatchInput>;
|
|
7
|
-
options?:
|
|
8
|
+
options?: types_BatchOptions_BatchOptions;
|
|
8
9
|
};
|
|
9
10
|
}
|
|
10
11
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
package/dist/es/es2018/types/src/generated/resources/postAnalyticsInsightsV1FilterValues.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { SemanticDataModel as types_SemanticDataModel_SemanticDataModel } from '../types/SemanticDataModel';
|
|
2
2
|
import { FieldId as types_FieldId_FieldId } from '../types/FieldId';
|
|
3
3
|
import { Filter as types_Filter_Filter } from '../types/Filter';
|
|
4
|
+
import { FlattenFilter as types_FlattenFilter_FlattenFilter } from '../types/FlattenFilter';
|
|
4
5
|
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';
|
|
5
6
|
import { GetFilterValuesResponse as types_GetFilterValuesResponse_GetFilterValuesResponse } from '../types/GetFilterValuesResponse';
|
|
6
7
|
export interface ResourceRequestConfig {
|
|
@@ -11,7 +12,7 @@ export interface ResourceRequestConfig {
|
|
|
11
12
|
pageSize?: number;
|
|
12
13
|
searchTerm?: string;
|
|
13
14
|
filters?: Array<types_Filter_Filter>;
|
|
14
|
-
semanticFilter?:
|
|
15
|
+
semanticFilter?: types_FlattenFilter_FlattenFilter;
|
|
15
16
|
};
|
|
16
17
|
}
|
|
17
18
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
package/dist/es/es2018/types/src/generated/resources/postAnalyticsInsightsV1GenerateBundle.d.ts
CHANGED
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import { InsightBundleInput as types_InsightBundleInput_InsightBundleInput } from '../types/InsightBundleInput';
|
|
2
|
+
import { InsightBundleOptions as types_InsightBundleOptions_InsightBundleOptions } from '../types/InsightBundleOptions';
|
|
1
3
|
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';
|
|
2
4
|
import { GenerateInsightBundleResponse as types_GenerateInsightBundleResponse_GenerateInsightBundleResponse } from '../types/GenerateInsightBundleResponse';
|
|
3
5
|
export interface ResourceRequestConfig {
|
|
4
6
|
body: {
|
|
5
7
|
type?: string;
|
|
6
8
|
version?: number;
|
|
7
|
-
input?:
|
|
8
|
-
options?:
|
|
9
|
+
input?: types_InsightBundleInput_InsightBundleInput;
|
|
10
|
+
options?: types_InsightBundleOptions_InsightBundleOptions;
|
|
9
11
|
};
|
|
10
12
|
}
|
|
11
13
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { InsightBundleOptions as InsightBundleOptions_InsightBundleOptions } from './InsightBundleOptions';
|
|
2
|
+
import { SummarizationOptions as SummarizationOptions_SummarizationOptions } from './SummarizationOptions';
|
|
1
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';
|
|
2
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "80abbb463ae21ea9338ebc9cd03308d2";
|
|
3
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
6
|
export declare const RepresentationType: string;
|
|
5
7
|
export declare function normalize(input: BatchOptions, existing: BatchOptionsNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): BatchOptionsNormalized;
|
|
@@ -15,11 +17,11 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
17
|
*/
|
|
16
18
|
export interface BatchOptionsNormalized {
|
|
17
19
|
/** Options to apply to each insight bundle */
|
|
18
|
-
bundle?:
|
|
20
|
+
bundle?: InsightBundleOptions_InsightBundleOptions;
|
|
19
21
|
/** Option to skip checking for batch/summary in cache */
|
|
20
22
|
skipCache?: boolean;
|
|
21
23
|
/** Options to apply to desired summary */
|
|
22
|
-
summarization?:
|
|
24
|
+
summarization?: SummarizationOptions_SummarizationOptions;
|
|
23
25
|
}
|
|
24
26
|
/**
|
|
25
27
|
*
|
|
@@ -28,7 +30,7 @@ export interface BatchOptionsNormalized {
|
|
|
28
30
|
* (none)
|
|
29
31
|
*/
|
|
30
32
|
export interface BatchOptions {
|
|
31
|
-
bundle?:
|
|
33
|
+
bundle?: InsightBundleOptions_InsightBundleOptions;
|
|
32
34
|
skipCache?: boolean;
|
|
33
|
-
summarization?:
|
|
35
|
+
summarization?: SummarizationOptions_SummarizationOptions;
|
|
34
36
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { BatchInput as BatchInput_BatchInput } from './BatchInput';
|
|
2
|
+
import { BatchOptions as BatchOptions_BatchOptions } from './BatchOptions';
|
|
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 = "
|
|
4
|
+
export declare const VERSION = "4f5daded28dc219bd2671abc511b84c6";
|
|
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: GenerateInsightBatchRequest, existing: GenerateInsightBatchRequestNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GenerateInsightBatchRequestNormalized;
|
|
@@ -18,7 +19,7 @@ export interface GenerateInsightBatchRequestNormalized {
|
|
|
18
19
|
/** Either fully formed bundles or metric instance IDs */
|
|
19
20
|
batchInput?: Array<BatchInput_BatchInput>;
|
|
20
21
|
/** Options to apply to the entire batch */
|
|
21
|
-
options?:
|
|
22
|
+
options?: BatchOptions_BatchOptions;
|
|
22
23
|
}
|
|
23
24
|
/**
|
|
24
25
|
*
|
|
@@ -28,5 +29,5 @@ export interface GenerateInsightBatchRequestNormalized {
|
|
|
28
29
|
*/
|
|
29
30
|
export interface GenerateInsightBatchRequest {
|
|
30
31
|
batchInput?: Array<BatchInput_BatchInput>;
|
|
31
|
-
options?:
|
|
32
|
+
options?: BatchOptions_BatchOptions;
|
|
32
33
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
+
import { SummaryResponse as SummaryResponse_SummaryResponse } from './SummaryResponse';
|
|
1
2
|
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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
|
-
export declare const VERSION = "
|
|
3
|
+
export declare const VERSION = "18d65084646c870abf335d268675999e";
|
|
3
4
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
5
|
export declare const RepresentationType: string;
|
|
5
6
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -28,7 +29,7 @@ export interface GenerateInsightBatchResponseNormalized {
|
|
|
28
29
|
/** Lets client know if summary is being generated */
|
|
29
30
|
generatingSummary?: boolean;
|
|
30
31
|
/** If a cached summary exists, return the summary immediately */
|
|
31
|
-
summary?:
|
|
32
|
+
summary?: SummaryResponse_SummaryResponse;
|
|
32
33
|
/** If a cached summary exists, return a timestamp of the cached summary
|
|
33
34
|
generation in UTC */
|
|
34
35
|
timestamp?: string;
|
|
@@ -42,6 +43,6 @@ export interface GenerateInsightBatchResponseNormalized {
|
|
|
42
43
|
export interface GenerateInsightBatchResponse {
|
|
43
44
|
batchId: string;
|
|
44
45
|
generatingSummary?: boolean;
|
|
45
|
-
summary?:
|
|
46
|
+
summary?: SummaryResponse_SummaryResponse;
|
|
46
47
|
timestamp?: string;
|
|
47
48
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { InsightBundleInput as InsightBundleInput_InsightBundleInput } from './InsightBundleInput';
|
|
2
|
+
import { InsightBundleOptions as InsightBundleOptions_InsightBundleOptions } from './InsightBundleOptions';
|
|
1
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';
|
|
2
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "99a00671db799070af65830b2a8606ff";
|
|
3
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
6
|
export declare const RepresentationType: string;
|
|
5
7
|
export declare function normalize(input: GenerateInsightBundleRequest, existing: GenerateInsightBundleRequestNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GenerateInsightBundleRequestNormalized;
|
|
@@ -14,10 +16,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
16
|
* (none)
|
|
15
17
|
*/
|
|
16
18
|
export interface GenerateInsightBundleRequestNormalized {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
/** Options affecting the generation of the bundle */
|
|
20
|
-
options?: unknown;
|
|
19
|
+
input?: InsightBundleInput_InsightBundleInput;
|
|
20
|
+
options?: InsightBundleOptions_InsightBundleOptions;
|
|
21
21
|
/** The bundle type to request */
|
|
22
22
|
type?: string;
|
|
23
23
|
/** The version of the bundle type to request */
|
|
@@ -30,8 +30,8 @@ export interface GenerateInsightBundleRequestNormalized {
|
|
|
30
30
|
* (none)
|
|
31
31
|
*/
|
|
32
32
|
export interface GenerateInsightBundleRequest {
|
|
33
|
-
input?:
|
|
34
|
-
options?:
|
|
33
|
+
input?: InsightBundleInput_InsightBundleInput;
|
|
34
|
+
options?: InsightBundleOptions_InsightBundleOptions;
|
|
35
35
|
type?: string;
|
|
36
36
|
version?: number;
|
|
37
37
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Error as Error_Error } from './Error';
|
|
2
|
+
import { InsightBundle as InsightBundle_InsightBundle } from './InsightBundle';
|
|
2
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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
3
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "2f50f3271c566971f91d15a361482b6c";
|
|
4
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
6
|
export declare const RepresentationType: string;
|
|
6
7
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -28,7 +29,7 @@ export interface GenerateInsightBundleResponseNormalized {
|
|
|
28
29
|
/** Note that it is possible that we encountered some errors but were still
|
|
29
30
|
able to compute part of the result. In that case, the result key will be
|
|
30
31
|
present, and there will be errors at the appropriate level inside */
|
|
31
|
-
result?:
|
|
32
|
+
result?: InsightBundle_InsightBundle;
|
|
32
33
|
sdm: string;
|
|
33
34
|
/** IDs of the bundle response, for caching and identifiation */
|
|
34
35
|
submetric: string;
|
|
@@ -41,7 +42,7 @@ export interface GenerateInsightBundleResponseNormalized {
|
|
|
41
42
|
*/
|
|
42
43
|
export interface GenerateInsightBundleResponse {
|
|
43
44
|
error?: Error_Error;
|
|
44
|
-
result?:
|
|
45
|
+
result?: InsightBundle_InsightBundle;
|
|
45
46
|
sdm: string;
|
|
46
47
|
submetric: string;
|
|
47
48
|
}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { FieldId as FieldId_FieldId } from './FieldId';
|
|
2
2
|
import { Filter as Filter_Filter } from './Filter';
|
|
3
3
|
import { SemanticDataModel as SemanticDataModel_SemanticDataModel } from './SemanticDataModel';
|
|
4
|
+
import { FlattenFilter as FlattenFilter_FlattenFilter } from './FlattenFilter';
|
|
4
5
|
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 = "
|
|
6
|
+
export declare const VERSION = "1605f2d1e974bf13adab8061499dafe5";
|
|
6
7
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
7
8
|
export declare const RepresentationType: string;
|
|
8
9
|
export declare function normalize(input: GetFilterValuesRequest, existing: GetFilterValuesRequestNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GetFilterValuesRequestNormalized;
|
|
@@ -26,7 +27,7 @@ export interface GetFilterValuesRequestNormalized {
|
|
|
26
27
|
searchTerm?: string;
|
|
27
28
|
semanticDataModel: SemanticDataModel_SemanticDataModel;
|
|
28
29
|
/** The 'filters' and 'semantic_filter' will be ANDed together */
|
|
29
|
-
semanticFilter?:
|
|
30
|
+
semanticFilter?: FlattenFilter_FlattenFilter;
|
|
30
31
|
}
|
|
31
32
|
/**
|
|
32
33
|
*
|
|
@@ -41,5 +42,5 @@ export interface GetFilterValuesRequest {
|
|
|
41
42
|
pageToken?: string;
|
|
42
43
|
searchTerm?: string;
|
|
43
44
|
semanticDataModel: SemanticDataModel_SemanticDataModel;
|
|
44
|
-
semanticFilter?:
|
|
45
|
+
semanticFilter?: FlattenFilter_FlattenFilter;
|
|
45
46
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
+
import { SummaryResponse as SummaryResponse_SummaryResponse } from './SummaryResponse';
|
|
1
2
|
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, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
2
3
|
import { GenerateInsightBundleResponse as GenerateInsightBundleResponse_GenerateInsightBundleResponse } from './GenerateInsightBundleResponse';
|
|
3
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "b3ecf416df1c88948a22534e1143e6d5";
|
|
4
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
6
|
export declare const RepresentationType: string;
|
|
6
7
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
@@ -42,7 +43,7 @@ export interface GetInsightBatchResponseNormalized {
|
|
|
42
43
|
/** Current status of the batch */
|
|
43
44
|
status?: string;
|
|
44
45
|
/** Summary generated by GAI */
|
|
45
|
-
summary?:
|
|
46
|
+
summary?: SummaryResponse_SummaryResponse;
|
|
46
47
|
}
|
|
47
48
|
/**
|
|
48
49
|
*
|
|
@@ -55,5 +56,5 @@ export interface GetInsightBatchResponse {
|
|
|
55
56
|
bundles?: Array<GenerateInsightBundleResponse_GenerateInsightBundleResponse>;
|
|
56
57
|
hasErrors?: boolean;
|
|
57
58
|
status?: string;
|
|
58
|
-
summary?:
|
|
59
|
+
summary?: SummaryResponse_SummaryResponse;
|
|
59
60
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { InsightFeedbackMetadata as InsightFeedbackMetadata_InsightFeedbackMetadata } from './InsightFeedbackMetadata';
|
|
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 = "
|
|
3
|
+
export declare const VERSION = "be7014b0043386672b06a22807d7e549";
|
|
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: Insight, existing: InsightNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): InsightNormalized;
|
|
@@ -16,17 +16,15 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
16
16
|
*/
|
|
17
17
|
export interface InsightNormalized {
|
|
18
18
|
characterization?: string;
|
|
19
|
-
facts?:
|
|
19
|
+
facts?: unknown;
|
|
20
20
|
id?: string;
|
|
21
21
|
insightFeedbackMetadata: InsightFeedbackMetadata_InsightFeedbackMetadata;
|
|
22
22
|
markup?: string;
|
|
23
23
|
question?: string;
|
|
24
24
|
score?: number;
|
|
25
25
|
type?: string;
|
|
26
|
-
/** vegaLiteViz will be removed in the future */
|
|
27
|
-
vegaLiteViz?: {};
|
|
28
26
|
version?: number;
|
|
29
|
-
viz?:
|
|
27
|
+
viz?: unknown;
|
|
30
28
|
}
|
|
31
29
|
/**
|
|
32
30
|
*
|
|
@@ -36,14 +34,13 @@ export interface InsightNormalized {
|
|
|
36
34
|
*/
|
|
37
35
|
export interface Insight {
|
|
38
36
|
characterization?: string;
|
|
39
|
-
facts?:
|
|
37
|
+
facts?: unknown;
|
|
40
38
|
id?: string;
|
|
41
39
|
insightFeedbackMetadata: InsightFeedbackMetadata_InsightFeedbackMetadata;
|
|
42
40
|
markup?: string;
|
|
43
41
|
question?: string;
|
|
44
42
|
score?: number;
|
|
45
43
|
type?: string;
|
|
46
|
-
vegaLiteViz?: {};
|
|
47
44
|
version?: number;
|
|
48
|
-
viz?:
|
|
45
|
+
viz?: unknown;
|
|
49
46
|
}
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import { Filter as Filter_Filter } from './Filter';
|
|
2
|
+
import { RelativePeriod as RelativePeriod_RelativePeriod } from './RelativePeriod';
|
|
1
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';
|
|
2
|
-
export declare const VERSION = "
|
|
4
|
+
export declare const VERSION = "1e869467244de8345ef0ae47db7efe5a";
|
|
3
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
6
|
export declare const RepresentationType: string;
|
|
5
7
|
export declare function normalize(input: MeasurementPeriod, existing: MeasurementPeriodNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): MeasurementPeriodNormalized;
|
|
@@ -14,12 +16,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
16
|
* (none)
|
|
15
17
|
*/
|
|
16
18
|
export interface MeasurementPeriodNormalized {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
2. the field is date or date-time field on the SDM */
|
|
20
|
-
filter?: unknown;
|
|
21
|
-
/** Define the measurement period with a granularity and a range */
|
|
22
|
-
relativePeriod?: unknown;
|
|
19
|
+
filter?: Filter_Filter;
|
|
20
|
+
relativePeriod?: RelativePeriod_RelativePeriod;
|
|
23
21
|
}
|
|
24
22
|
/**
|
|
25
23
|
*
|
|
@@ -28,6 +26,6 @@ export interface MeasurementPeriodNormalized {
|
|
|
28
26
|
* (none)
|
|
29
27
|
*/
|
|
30
28
|
export interface MeasurementPeriod {
|
|
31
|
-
filter?:
|
|
32
|
-
relativePeriod?:
|
|
29
|
+
filter?: Filter_Filter;
|
|
30
|
+
relativePeriod?: RelativePeriod_RelativePeriod;
|
|
33
31
|
}
|
|
@@ -2,9 +2,10 @@ import { CompareConfig as CompareConfig_CompareConfig } from './CompareConfig';
|
|
|
2
2
|
import { Filter as Filter_Filter } from './Filter';
|
|
3
3
|
import { Measure as Measure_Measure } from './Measure';
|
|
4
4
|
import { SemanticDataModel as SemanticDataModel_SemanticDataModel } from './SemanticDataModel';
|
|
5
|
+
import { FlattenFilter as FlattenFilter_FlattenFilter } from './FlattenFilter';
|
|
5
6
|
import { TimeDimension as TimeDimension_TimeDimension } from './TimeDimension';
|
|
6
7
|
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 = "
|
|
8
|
+
export declare const VERSION = "b5c4f9fda2bc54a1f5e31e4f1cc7d357";
|
|
8
9
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
9
10
|
export declare const RepresentationType: string;
|
|
10
11
|
export declare function normalize(input: MetricDefinition, existing: MetricDefinitionNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): MetricDefinitionNormalized;
|
|
@@ -24,8 +25,7 @@ export interface MetricDefinitionNormalized {
|
|
|
24
25
|
measure: Measure_Measure;
|
|
25
26
|
runningTotal?: boolean;
|
|
26
27
|
semanticDataModel: SemanticDataModel_SemanticDataModel;
|
|
27
|
-
|
|
28
|
-
semanticFilter?: unknown;
|
|
28
|
+
semanticFilter?: FlattenFilter_FlattenFilter;
|
|
29
29
|
timeDimension: TimeDimension_TimeDimension;
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
@@ -40,6 +40,6 @@ export interface MetricDefinition {
|
|
|
40
40
|
measure: Measure_Measure;
|
|
41
41
|
runningTotal?: boolean;
|
|
42
42
|
semanticDataModel: SemanticDataModel_SemanticDataModel;
|
|
43
|
-
semanticFilter?:
|
|
43
|
+
semanticFilter?: FlattenFilter_FlattenFilter;
|
|
44
44
|
timeDimension: TimeDimension_TimeDimension;
|
|
45
45
|
}
|
|
@@ -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 = "
|
|
2
|
+
export declare const VERSION = "490320cd71bdb83b6c4dcfe5b2b48b25";
|
|
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: Overview, existing: OverviewNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): OverviewNormalized;
|
|
@@ -14,9 +14,7 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
14
14
|
* (none)
|
|
15
15
|
*/
|
|
16
16
|
export interface OverviewNormalized {
|
|
17
|
-
|
|
18
|
-
vegaLiteViz?: {};
|
|
19
|
-
viz?: {};
|
|
17
|
+
viz?: unknown;
|
|
20
18
|
}
|
|
21
19
|
/**
|
|
22
20
|
*
|
|
@@ -25,6 +23,5 @@ export interface OverviewNormalized {
|
|
|
25
23
|
* (none)
|
|
26
24
|
*/
|
|
27
25
|
export interface Overview {
|
|
28
|
-
|
|
29
|
-
viz?: {};
|
|
26
|
+
viz?: unknown;
|
|
30
27
|
}
|
|
@@ -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 = "
|
|
2
|
+
export declare const VERSION = "c4ce5385f4ed571b518d799c4e627709";
|
|
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: Summary, existing: SummaryNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SummaryNormalized;
|
|
@@ -15,13 +15,13 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
*/
|
|
16
16
|
export interface SummaryNormalized {
|
|
17
17
|
/** ID of the Einstein GPT generation request. */
|
|
18
|
-
generationId
|
|
18
|
+
generationId: string;
|
|
19
19
|
/** Text for the summary */
|
|
20
|
-
markup
|
|
20
|
+
markup: string;
|
|
21
21
|
/** Which summarization strategy was used */
|
|
22
|
-
strategy
|
|
22
|
+
strategy: string;
|
|
23
23
|
/** Timestamp of the summary generation in UTC */
|
|
24
|
-
timestamp
|
|
24
|
+
timestamp: string;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
27
|
*
|
|
@@ -30,8 +30,8 @@ export interface SummaryNormalized {
|
|
|
30
30
|
* (none)
|
|
31
31
|
*/
|
|
32
32
|
export interface Summary {
|
|
33
|
-
generationId
|
|
34
|
-
markup
|
|
35
|
-
strategy
|
|
36
|
-
timestamp
|
|
33
|
+
generationId: string;
|
|
34
|
+
markup: string;
|
|
35
|
+
strategy: string;
|
|
36
|
+
timestamp: string;
|
|
37
37
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-sfap-analytics-insights",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.315.0",
|
|
4
4
|
"description": "APIs for generating insights about metrics",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "dist/es/es2018/sfap-analytics-insights.js",
|
|
@@ -40,10 +40,10 @@
|
|
|
40
40
|
"test:unit": "jest"
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@salesforce/lds-bindings": "^1.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.315.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.315.0"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|