@salesforce/lds-adapters-sfap-analytics-insights 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 (73) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/sfap-analytics-insights.js +3750 -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/createInsightsBatch.d.ts +20 -0
  5. package/dist/es/es2018/types/src/generated/adapters/generateInsights.d.ts +22 -0
  6. package/dist/es/es2018/types/src/generated/adapters/generateInsightsBasic.d.ts +22 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getInsightsBatch.d.ts +30 -0
  8. package/dist/es/es2018/types/src/generated/adapters/getMetricFilterValues.d.ts +27 -0
  9. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +5 -0
  10. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +8 -0
  11. package/dist/es/es2018/types/src/generated/resources/getAnalyticsInsightsV1BatchesByBatchId.d.ts +20 -0
  12. package/dist/es/es2018/types/src/generated/resources/postAnalyticsInsightsV1BasicGenerateBundle.d.ts +21 -0
  13. package/dist/es/es2018/types/src/generated/resources/postAnalyticsInsightsV1Batches.d.ts +19 -0
  14. package/dist/es/es2018/types/src/generated/resources/postAnalyticsInsightsV1FilterValues.d.ts +26 -0
  15. package/dist/es/es2018/types/src/generated/resources/postAnalyticsInsightsV1GenerateBundle.d.ts +21 -0
  16. package/dist/es/es2018/types/src/generated/types/BatchInput.d.ts +31 -0
  17. package/dist/es/es2018/types/src/generated/types/BatchOptions.d.ts +36 -0
  18. package/dist/es/es2018/types/src/generated/types/CategoricalFilterOptions.d.ts +32 -0
  19. package/dist/es/es2018/types/src/generated/types/CompareConfig.d.ts +27 -0
  20. package/dist/es/es2018/types/src/generated/types/Error.d.ts +29 -0
  21. package/dist/es/es2018/types/src/generated/types/ExtensionOptions.d.ts +29 -0
  22. package/dist/es/es2018/types/src/generated/types/FieldId.d.ts +31 -0
  23. package/dist/es/es2018/types/src/generated/types/Filter.d.ts +45 -0
  24. package/dist/es/es2018/types/src/generated/types/FlattenFilter.d.ts +32 -0
  25. package/dist/es/es2018/types/src/generated/types/GenerateInsightBatchRequest.d.ts +33 -0
  26. package/dist/es/es2018/types/src/generated/types/GenerateInsightBatchResponse.d.ts +48 -0
  27. package/dist/es/es2018/types/src/generated/types/GenerateInsightBundleRequest.d.ts +37 -0
  28. package/dist/es/es2018/types/src/generated/types/GenerateInsightBundleResponse.d.ts +51 -0
  29. package/dist/es/es2018/types/src/generated/types/GenerateInsightBundleV2Request.d.ts +47 -0
  30. package/dist/es/es2018/types/src/generated/types/GetFilterValuesRequest.d.ts +46 -0
  31. package/dist/es/es2018/types/src/generated/types/GetFilterValuesResponse.d.ts +43 -0
  32. package/dist/es/es2018/types/src/generated/types/GetFilterValuesResponse_CategoricalValues.d.ts +29 -0
  33. package/dist/es/es2018/types/src/generated/types/GetInsightBatchResponse.d.ts +61 -0
  34. package/dist/es/es2018/types/src/generated/types/GoalMetadata.d.ts +30 -0
  35. package/dist/es/es2018/types/src/generated/types/GoalMetadata_StatusCondition.d.ts +37 -0
  36. package/dist/es/es2018/types/src/generated/types/InputMetric.d.ts +43 -0
  37. package/dist/es/es2018/types/src/generated/types/Insight.d.ts +46 -0
  38. package/dist/es/es2018/types/src/generated/types/InsightBundle.d.ts +35 -0
  39. package/dist/es/es2018/types/src/generated/types/InsightBundleInput.d.ts +31 -0
  40. package/dist/es/es2018/types/src/generated/types/InsightBundleOptions.d.ts +40 -0
  41. package/dist/es/es2018/types/src/generated/types/InsightFeedbackMetadata.d.ts +31 -0
  42. package/dist/es/es2018/types/src/generated/types/InsightGroup.d.ts +36 -0
  43. package/dist/es/es2018/types/src/generated/types/InsightResponse.d.ts +33 -0
  44. package/dist/es/es2018/types/src/generated/types/InsightsOptions.d.ts +28 -0
  45. package/dist/es/es2018/types/src/generated/types/InsightsOptions_InsightSetting.d.ts +29 -0
  46. package/dist/es/es2018/types/src/generated/types/Measure.d.ts +30 -0
  47. package/dist/es/es2018/types/src/generated/types/MeasurementPeriod.d.ts +35 -0
  48. package/dist/es/es2018/types/src/generated/types/MetricDefinition.d.ts +46 -0
  49. package/dist/es/es2018/types/src/generated/types/MetricInstance.d.ts +38 -0
  50. package/dist/es/es2018/types/src/generated/types/MetricInstanceInput.d.ts +32 -0
  51. package/dist/es/es2018/types/src/generated/types/MetricMetadata.d.ts +29 -0
  52. package/dist/es/es2018/types/src/generated/types/Overview.d.ts +30 -0
  53. package/dist/es/es2018/types/src/generated/types/OverviewResponse.d.ts +31 -0
  54. package/dist/es/es2018/types/src/generated/types/RangeFilterOptions.d.ts +35 -0
  55. package/dist/es/es2018/types/src/generated/types/RelativeDate.d.ts +49 -0
  56. package/dist/es/es2018/types/src/generated/types/RelativeDateFilterOptions.d.ts +25 -0
  57. package/dist/es/es2018/types/src/generated/types/RelativePeriod.d.ts +29 -0
  58. package/dist/es/es2018/types/src/generated/types/RepresentationOptions.d.ts +32 -0
  59. package/dist/es/es2018/types/src/generated/types/RepresentationOptions_NumberUnits.d.ts +29 -0
  60. package/dist/es/es2018/types/src/generated/types/SemanticDataModel.d.ts +27 -0
  61. package/dist/es/es2018/types/src/generated/types/SemanticFilter.d.ts +37 -0
  62. package/dist/es/es2018/types/src/generated/types/Status.d.ts +32 -0
  63. package/dist/es/es2018/types/src/generated/types/SummarizationOptions.d.ts +28 -0
  64. package/dist/es/es2018/types/src/generated/types/Summary.d.ts +37 -0
  65. package/dist/es/es2018/types/src/generated/types/SummaryResponse.d.ts +31 -0
  66. package/dist/es/es2018/types/src/generated/types/TimeDimension.d.ts +28 -0
  67. package/dist/es/es2018/types/src/generated/types/UnifiedFilter.d.ts +33 -0
  68. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  69. package/package.json +66 -0
  70. package/sfdc/index.d.ts +1 -0
  71. package/sfdc/index.js +3847 -0
  72. package/src/raml/api.raml +1198 -0
  73. package/src/raml/luvio.raml +53 -0
@@ -0,0 +1,32 @@
1
+ import { SemanticFilter as SemanticFilter_SemanticFilter } from './SemanticFilter';
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 = "427915d05be4f2a43ada1116921182cf";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: FlattenFilter, existing: FlattenFilterNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FlattenFilterNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: FlattenFilterNormalized, incoming: FlattenFilterNormalized): 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: FlattenFilter, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * *
13
+ Represents a flattened filter
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface FlattenFilterNormalized {
19
+ filterLogic?: string;
20
+ filters?: Array<SemanticFilter_SemanticFilter>;
21
+ }
22
+ /**
23
+ * *
24
+ Represents a flattened filter
25
+ *
26
+ * Keys:
27
+ * (none)
28
+ */
29
+ export interface FlattenFilter {
30
+ filterLogic?: string;
31
+ filters?: Array<SemanticFilter_SemanticFilter>;
32
+ }
@@ -0,0 +1,33 @@
1
+ import { BatchInput as BatchInput_BatchInput } from './BatchInput';
2
+ import { BatchOptions as BatchOptions_BatchOptions } from './BatchOptions';
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 = "4f5daded28dc219bd2671abc511b84c6";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
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;
8
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
9
+ export declare function equals(existing: GenerateInsightBatchRequestNormalized, incoming: GenerateInsightBatchRequestNormalized): 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: GenerateInsightBatchRequest, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ *
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface GenerateInsightBatchRequestNormalized {
19
+ /** Either fully formed bundles or metric instance IDs */
20
+ batchInput?: Array<BatchInput_BatchInput>;
21
+ /** Options to apply to the entire batch */
22
+ options?: BatchOptions_BatchOptions;
23
+ }
24
+ /**
25
+ *
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface GenerateInsightBatchRequest {
31
+ batchInput?: Array<BatchInput_BatchInput>;
32
+ options?: BatchOptions_BatchOptions;
33
+ }
@@ -0,0 +1,48 @@
1
+ import { SummaryResponse as SummaryResponse_SummaryResponse } from './SummaryResponse';
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';
3
+ export declare const VERSION = "18d65084646c870abf335d268675999e";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
7
+ batchid: string;
8
+ }
9
+ export type GenerateInsightBatchResponseNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
10
+ export type PartialGenerateInsightBatchResponseNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): GenerateInsightBatchResponseNormalizedKeyMetadata;
13
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: GenerateInsightBatchResponse): string;
14
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: GenerateInsightBatchResponse): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function normalize(input: GenerateInsightBatchResponse, existing: GenerateInsightBatchResponseNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GenerateInsightBatchResponseNormalized;
16
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
17
+ export declare function equals(existing: GenerateInsightBatchResponseNormalized, incoming: GenerateInsightBatchResponseNormalized): boolean;
18
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
19
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: GenerateInsightBatchResponse, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
+ /**
21
+ *
22
+ *
23
+ * Keys:
24
+ * batchid (string): batchId
25
+ */
26
+ export interface GenerateInsightBatchResponseNormalized {
27
+ /** ID of the batch being generated */
28
+ batchId: string;
29
+ /** Lets client know if summary is being generated */
30
+ generatingSummary?: boolean;
31
+ /** If a cached summary exists, return the summary immediately */
32
+ summary?: SummaryResponse_SummaryResponse;
33
+ /** If a cached summary exists, return a timestamp of the cached summary
34
+ generation in UTC */
35
+ timestamp?: string;
36
+ }
37
+ /**
38
+ *
39
+ *
40
+ * Keys:
41
+ * batchid (string): batchId
42
+ */
43
+ export interface GenerateInsightBatchResponse {
44
+ batchId: string;
45
+ generatingSummary?: boolean;
46
+ summary?: SummaryResponse_SummaryResponse;
47
+ timestamp?: string;
48
+ }
@@ -0,0 +1,37 @@
1
+ import { InsightBundleInput as InsightBundleInput_InsightBundleInput } from './InsightBundleInput';
2
+ import { InsightBundleOptions as InsightBundleOptions_InsightBundleOptions } from './InsightBundleOptions';
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 = "99a00671db799070af65830b2a8606ff";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
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;
8
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
9
+ export declare function equals(existing: GenerateInsightBundleRequestNormalized, incoming: GenerateInsightBundleRequestNormalized): 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: GenerateInsightBundleRequest, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ *
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface GenerateInsightBundleRequestNormalized {
19
+ input?: InsightBundleInput_InsightBundleInput;
20
+ options?: InsightBundleOptions_InsightBundleOptions;
21
+ /** The bundle type to request */
22
+ type?: string;
23
+ /** The version of the bundle type to request */
24
+ version?: number;
25
+ }
26
+ /**
27
+ *
28
+ *
29
+ * Keys:
30
+ * (none)
31
+ */
32
+ export interface GenerateInsightBundleRequest {
33
+ input?: InsightBundleInput_InsightBundleInput;
34
+ options?: InsightBundleOptions_InsightBundleOptions;
35
+ type?: string;
36
+ version?: number;
37
+ }
@@ -0,0 +1,51 @@
1
+ import { Error as Error_Error } from './Error';
2
+ import { UnifiedFilter as UnifiedFilter_UnifiedFilter } from './UnifiedFilter';
3
+ import { InsightBundle as InsightBundle_InsightBundle } from './InsightBundle';
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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
5
+ export declare const VERSION = "5da3ddbbd8ef8f7b1f24b4d609f91108";
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
+ metricid: string;
10
+ }
11
+ export type GenerateInsightBundleResponseNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
12
+ export type PartialGenerateInsightBundleResponseNormalizedKeyMetadata = 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): GenerateInsightBundleResponseNormalizedKeyMetadata;
15
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: GenerateInsightBundleResponse): string;
16
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: GenerateInsightBundleResponse): $64$luvio_engine_NormalizedKeyMetadata;
17
+ export declare function normalize(input: GenerateInsightBundleResponse, existing: GenerateInsightBundleResponseNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GenerateInsightBundleResponseNormalized;
18
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
19
+ export declare function equals(existing: GenerateInsightBundleResponseNormalized, incoming: GenerateInsightBundleResponseNormalized): 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: GenerateInsightBundleResponse, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
22
+ /**
23
+ *
24
+ *
25
+ * Keys:
26
+ * metricid (string): submetric
27
+ */
28
+ export interface GenerateInsightBundleResponseNormalized {
29
+ error?: Error_Error;
30
+ measurementPeriod?: UnifiedFilter_UnifiedFilter;
31
+ /** Note that it is possible that we encountered some errors but were still
32
+ able to compute part of the result. In that case, the result key will be
33
+ present, and there will be errors at the appropriate level inside */
34
+ result?: InsightBundle_InsightBundle;
35
+ sdm: string;
36
+ /** IDs of the bundle response, for caching and identifiation */
37
+ submetric: string;
38
+ }
39
+ /**
40
+ *
41
+ *
42
+ * Keys:
43
+ * metricid (string): submetric
44
+ */
45
+ export interface GenerateInsightBundleResponse {
46
+ error?: Error_Error;
47
+ measurementPeriod?: UnifiedFilter_UnifiedFilter;
48
+ result?: InsightBundle_InsightBundle;
49
+ sdm: string;
50
+ submetric: string;
51
+ }
@@ -0,0 +1,47 @@
1
+ import { MetricInstance as MetricInstance_MetricInstance } from './MetricInstance';
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 = "86e90aec54fe6e9f84888deeef409e0d";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: GenerateInsightBundleV2Request, existing: GenerateInsightBundleV2RequestNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GenerateInsightBundleV2RequestNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: GenerateInsightBundleV2RequestNormalized, incoming: GenerateInsightBundleV2RequestNormalized): 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: GenerateInsightBundleV2Request, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ *
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface GenerateInsightBundleV2RequestNormalized {
18
+ /** An identifier used in logging (ie. A client could use the submetric id here) */
19
+ bundleId?: string;
20
+ /** For period over period insights, whether the comparison period is the prior period, or the same period the previous year. If not specified, defaults to TIME_COMPARISON_PREVIOUS_PERIOD */
21
+ comparison?: string;
22
+ metricId?: string;
23
+ metricInstance: MetricInstance_MetricInstance;
24
+ /** Options affecting the generation of the bundle */
25
+ options?: unknown;
26
+ sdmId?: string;
27
+ /** The bundle type to request */
28
+ type?: string;
29
+ /** The version of the bundle type to request */
30
+ version?: number;
31
+ }
32
+ /**
33
+ *
34
+ *
35
+ * Keys:
36
+ * (none)
37
+ */
38
+ export interface GenerateInsightBundleV2Request {
39
+ bundleId?: string;
40
+ comparison?: string;
41
+ metricId?: string;
42
+ metricInstance: MetricInstance_MetricInstance;
43
+ options?: unknown;
44
+ sdmId?: string;
45
+ type?: string;
46
+ version?: number;
47
+ }
@@ -0,0 +1,46 @@
1
+ import { FieldId as FieldId_FieldId } from './FieldId';
2
+ import { Filter as Filter_Filter } from './Filter';
3
+ import { SemanticDataModel as SemanticDataModel_SemanticDataModel } from './SemanticDataModel';
4
+ import { FlattenFilter as FlattenFilter_FlattenFilter } from './FlattenFilter';
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';
6
+ export declare const VERSION = "1605f2d1e974bf13adab8061499dafe5";
7
+ export declare function validate(obj: any, path?: string): TypeError | null;
8
+ export declare const RepresentationType: string;
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;
10
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
11
+ export declare function equals(existing: GetFilterValuesRequestNormalized, incoming: GetFilterValuesRequestNormalized): boolean;
12
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
13
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: GetFilterValuesRequest, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
14
+ /**
15
+ *
16
+ *
17
+ * Keys:
18
+ * (none)
19
+ */
20
+ export interface GetFilterValuesRequestNormalized {
21
+ field: FieldId_FieldId;
22
+ filters?: Array<Filter_Filter>;
23
+ /** Page size specifies the maximum number of values to return on a query. It has a maximum of 1000. */
24
+ pageSize?: number;
25
+ pageToken?: string;
26
+ /** Specifies to look for field values that contain the search_term */
27
+ searchTerm?: string;
28
+ semanticDataModel: SemanticDataModel_SemanticDataModel;
29
+ /** The 'filters' and 'semantic_filter' will be ANDed together */
30
+ semanticFilter?: FlattenFilter_FlattenFilter;
31
+ }
32
+ /**
33
+ *
34
+ *
35
+ * Keys:
36
+ * (none)
37
+ */
38
+ export interface GetFilterValuesRequest {
39
+ field: FieldId_FieldId;
40
+ filters?: Array<Filter_Filter>;
41
+ pageSize?: number;
42
+ pageToken?: string;
43
+ searchTerm?: string;
44
+ semanticDataModel: SemanticDataModel_SemanticDataModel;
45
+ semanticFilter?: FlattenFilter_FlattenFilter;
46
+ }
@@ -0,0 +1,43 @@
1
+ import { GetFilterValuesResponse_CategoricalValues as GetFilterValuesResponse_CategoricalValues_GetFilterValuesResponse_CategoricalValues } from './GetFilterValuesResponse_CategoricalValues';
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';
3
+ export declare const VERSION = "2025bbf393050a10fae76d5b4d5d0f58";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
7
+ filterpageid: string;
8
+ }
9
+ export type GetFilterValuesResponseNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
10
+ export type PartialGetFilterValuesResponseNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
12
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): GetFilterValuesResponseNormalizedKeyMetadata;
13
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: GetFilterValuesResponse): string;
14
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: GetFilterValuesResponse): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function normalize(input: GetFilterValuesResponse, existing: GetFilterValuesResponseNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GetFilterValuesResponseNormalized;
16
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
17
+ export declare function equals(existing: GetFilterValuesResponseNormalized, incoming: GetFilterValuesResponseNormalized): boolean;
18
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
19
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: GetFilterValuesResponse, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
+ /**
21
+ *
22
+ *
23
+ * Keys:
24
+ * filterpageid (string): id
25
+ */
26
+ export interface GetFilterValuesResponseNormalized {
27
+ categoricalValues: GetFilterValuesResponse_CategoricalValues_GetFilterValuesResponse_CategoricalValues;
28
+ id: string;
29
+ nextPageToken?: string;
30
+ totalAvailable?: number;
31
+ }
32
+ /**
33
+ *
34
+ *
35
+ * Keys:
36
+ * filterpageid (string): id
37
+ */
38
+ export interface GetFilterValuesResponse {
39
+ categoricalValues: GetFilterValuesResponse_CategoricalValues_GetFilterValuesResponse_CategoricalValues;
40
+ id: string;
41
+ nextPageToken?: string;
42
+ totalAvailable?: number;
43
+ }
@@ -0,0 +1,29 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "f898ff84f82ad0ca1eca0045e17ce492";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: GetFilterValuesResponse_CategoricalValues, existing: GetFilterValuesResponse_CategoricalValuesNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GetFilterValuesResponse_CategoricalValuesNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: GetFilterValuesResponse_CategoricalValuesNormalized, incoming: GetFilterValuesResponse_CategoricalValuesNormalized): 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: GetFilterValuesResponse_CategoricalValues, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ *
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface GetFilterValuesResponse_CategoricalValuesNormalized {
17
+ /** Single page of field values. grpc built-in generic value that covers all data types.
18
+ Support both text field(e.g. State, City) and discrete numeric field(E.g. Postal Code) */
19
+ values?: Array<string | number | boolean | null>;
20
+ }
21
+ /**
22
+ *
23
+ *
24
+ * Keys:
25
+ * (none)
26
+ */
27
+ export interface GetFilterValuesResponse_CategoricalValues {
28
+ values?: Array<string | number | boolean | null>;
29
+ }
@@ -0,0 +1,61 @@
1
+ import { SummaryResponse as SummaryResponse_SummaryResponse } from './SummaryResponse';
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';
3
+ import { GenerateInsightBundleResponse as GenerateInsightBundleResponse_GenerateInsightBundleResponse } from './GenerateInsightBundleResponse';
4
+ export declare const TTL = 5000;
5
+ export declare const VERSION = "b3ecf416df1c88948a22534e1143e6d5";
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
+ batchid: string;
10
+ }
11
+ export type GetInsightBatchResponseNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
12
+ export type PartialGetInsightBatchResponseNormalizedKeyMetadata = 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): GetInsightBatchResponseNormalizedKeyMetadata;
15
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: GetInsightBatchResponse): string;
16
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: GetInsightBatchResponse): $64$luvio_engine_NormalizedKeyMetadata;
17
+ export declare function normalize(input: GetInsightBatchResponse, existing: GetInsightBatchResponseNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GetInsightBatchResponseNormalized;
18
+ export interface DynamicIngestParams {
19
+ bundles: $64$luvio_engine_ResourceIngest;
20
+ }
21
+ export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: GetInsightBatchResponse, existing: GetInsightBatchResponseNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => GetInsightBatchResponseNormalized;
22
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
23
+ export interface DynamicSelectParams {
24
+ bundles?: $64$luvio_engine_LinkSelection;
25
+ }
26
+ export declare const dynamicSelect: (params: DynamicSelectParams) => $64$luvio_engine_FragmentSelection;
27
+ export declare function equals(existing: GetInsightBatchResponseNormalized, incoming: GetInsightBatchResponseNormalized): boolean;
28
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
29
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: GetInsightBatchResponse, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
30
+ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$luvio_engine_ResourceIngest;
31
+ /**
32
+ *
33
+ *
34
+ * Keys:
35
+ * batchid (string): batchId
36
+ */
37
+ export interface GetInsightBatchResponseNormalized {
38
+ /** ID of the batch that was requested */
39
+ batchId: string;
40
+ /** Bundle responses for all requested bundles in the batch */
41
+ bundles?: Array<$64$luvio_engine_StoreLink>;
42
+ /** Flag denoting if any insights encountered errors during generation */
43
+ hasErrors?: boolean;
44
+ /** Current status of the batch */
45
+ status?: string;
46
+ /** Summary generated by GAI */
47
+ summary?: SummaryResponse_SummaryResponse;
48
+ }
49
+ /**
50
+ *
51
+ *
52
+ * Keys:
53
+ * batchid (string): batchId
54
+ */
55
+ export interface GetInsightBatchResponse {
56
+ batchId: string;
57
+ bundles?: Array<GenerateInsightBundleResponse_GenerateInsightBundleResponse>;
58
+ hasErrors?: boolean;
59
+ status?: string;
60
+ summary?: SummaryResponse_SummaryResponse;
61
+ }
@@ -0,0 +1,30 @@
1
+ import { GoalMetadata_StatusCondition as GoalMetadata_StatusCondition_GoalMetadata_StatusCondition } from './GoalMetadata_StatusCondition';
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 = "e50e1ade99afa0af26c6426ef1104abf";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: GoalMetadata, existing: GoalMetadataNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GoalMetadataNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: GoalMetadataNormalized, incoming: GoalMetadataNormalized): 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: GoalMetadata, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ *
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface GoalMetadataNormalized {
18
+ forecasting?: boolean;
19
+ statusConditions?: Array<GoalMetadata_StatusCondition_GoalMetadata_StatusCondition>;
20
+ }
21
+ /**
22
+ *
23
+ *
24
+ * Keys:
25
+ * (none)
26
+ */
27
+ export interface GoalMetadata {
28
+ forecasting?: boolean;
29
+ statusConditions?: Array<GoalMetadata_StatusCondition_GoalMetadata_StatusCondition>;
30
+ }
@@ -0,0 +1,37 @@
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 = "04b77164c551085930f8c762fbc0baf7";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: GoalMetadata_StatusCondition, existing: GoalMetadata_StatusConditionNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): GoalMetadata_StatusConditionNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: GoalMetadata_StatusConditionNormalized, incoming: GoalMetadata_StatusConditionNormalized): 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: GoalMetadata_StatusCondition, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ *
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface GoalMetadata_StatusConditionNormalized {
17
+ color?: string;
18
+ currencyIsoCode?: string;
19
+ operator?: string;
20
+ primary?: boolean;
21
+ statusName?: string;
22
+ value?: string;
23
+ }
24
+ /**
25
+ *
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface GoalMetadata_StatusCondition {
31
+ color?: string;
32
+ currencyIsoCode?: string;
33
+ operator?: string;
34
+ primary?: boolean;
35
+ statusName?: string;
36
+ value?: string;
37
+ }
@@ -0,0 +1,43 @@
1
+ import { ExtensionOptions as ExtensionOptions_ExtensionOptions } from './ExtensionOptions';
2
+ import { GoalMetadata as GoalMetadata_GoalMetadata } from './GoalMetadata';
3
+ import { InsightsOptions as InsightsOptions_InsightsOptions } from './InsightsOptions';
4
+ import { MetricInstance as MetricInstance_MetricInstance } from './MetricInstance';
5
+ import { MetricDefinition as MetricDefinition_MetricDefinition } from './MetricDefinition';
6
+ import { RepresentationOptions as RepresentationOptions_RepresentationOptions } from './RepresentationOptions';
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';
8
+ export declare const VERSION = "fabb0211ec0f98955089dfac31fe7c0c";
9
+ export declare function validate(obj: any, path?: string): TypeError | null;
10
+ export declare const RepresentationType: string;
11
+ export declare function normalize(input: InputMetric, existing: InputMetricNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): InputMetricNormalized;
12
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
13
+ export declare function equals(existing: InputMetricNormalized, incoming: InputMetricNormalized): boolean;
14
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
15
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: InputMetric, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
16
+ /**
17
+ *
18
+ *
19
+ * Keys:
20
+ * (none)
21
+ */
22
+ export interface InputMetricNormalized {
23
+ extensionOptions: ExtensionOptions_ExtensionOptions;
24
+ goals?: GoalMetadata_GoalMetadata;
25
+ insightsOptions: InsightsOptions_InsightsOptions;
26
+ instance: MetricInstance_MetricInstance;
27
+ metric: MetricDefinition_MetricDefinition;
28
+ representationOptions: RepresentationOptions_RepresentationOptions;
29
+ }
30
+ /**
31
+ *
32
+ *
33
+ * Keys:
34
+ * (none)
35
+ */
36
+ export interface InputMetric {
37
+ extensionOptions: ExtensionOptions_ExtensionOptions;
38
+ goals?: GoalMetadata_GoalMetadata;
39
+ insightsOptions: InsightsOptions_InsightsOptions;
40
+ instance: MetricInstance_MetricInstance;
41
+ metric: MetricDefinition_MetricDefinition;
42
+ representationOptions: RepresentationOptions_RepresentationOptions;
43
+ }
@@ -0,0 +1,46 @@
1
+ import { InsightFeedbackMetadata as InsightFeedbackMetadata_InsightFeedbackMetadata } from './InsightFeedbackMetadata';
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 = "be7014b0043386672b06a22807d7e549";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
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;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: InsightNormalized, incoming: InsightNormalized): 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: Insight, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ *
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface InsightNormalized {
18
+ characterization?: string;
19
+ facts?: unknown;
20
+ id?: string;
21
+ insightFeedbackMetadata: InsightFeedbackMetadata_InsightFeedbackMetadata;
22
+ markup?: string;
23
+ question?: string;
24
+ score?: number;
25
+ type?: string;
26
+ version?: number;
27
+ viz?: unknown;
28
+ }
29
+ /**
30
+ *
31
+ *
32
+ * Keys:
33
+ * (none)
34
+ */
35
+ export interface Insight {
36
+ characterization?: string;
37
+ facts?: unknown;
38
+ id?: string;
39
+ insightFeedbackMetadata: InsightFeedbackMetadata_InsightFeedbackMetadata;
40
+ markup?: string;
41
+ question?: string;
42
+ score?: number;
43
+ type?: string;
44
+ version?: number;
45
+ viz?: unknown;
46
+ }
@@ -0,0 +1,35 @@
1
+ import { InsightGroup as InsightGroup_InsightGroup } from './InsightGroup';
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 = "ccf83d258110a04c1949592c91b69b3b";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: InsightBundle, existing: InsightBundleNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): InsightBundleNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: InsightBundleNormalized, incoming: InsightBundleNormalized): 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: InsightBundle, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ *
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface InsightBundleNormalized {
18
+ /** The overall characterization of the bundle */
19
+ characterization?: string;
20
+ /** Whether or not any errors were encountered when generating the bundle */
21
+ hasErrors?: boolean;
22
+ /** The insight groups returned are determined by the bundle type */
23
+ insightGroups?: Array<InsightGroup_InsightGroup>;
24
+ }
25
+ /**
26
+ *
27
+ *
28
+ * Keys:
29
+ * (none)
30
+ */
31
+ export interface InsightBundle {
32
+ characterization?: string;
33
+ hasErrors?: boolean;
34
+ insightGroups?: Array<InsightGroup_InsightGroup>;
35
+ }