@salesforce/lds-adapters-sfap-analytics-insights 1.298.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.
Files changed (60) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/sfap-analytics-insights.js +2767 -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 +17 -0
  5. package/dist/es/es2018/types/src/generated/adapters/generateInsights.d.ts +18 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getInsightsBatch.d.ts +28 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getMetricFilterValues.d.ts +25 -0
  8. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +4 -0
  9. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +7 -0
  10. package/dist/es/es2018/types/src/generated/resources/getBatchesByBatch_id.d.ts +16 -0
  11. package/dist/es/es2018/types/src/generated/resources/postBatches.d.ts +14 -0
  12. package/dist/es/es2018/types/src/generated/resources/postFilterValues.d.ts +22 -0
  13. package/dist/es/es2018/types/src/generated/resources/postV1GenerateBundle.d.ts +15 -0
  14. package/dist/es/es2018/types/src/generated/types/BatchInput.d.ts +30 -0
  15. package/dist/es/es2018/types/src/generated/types/BatchOptions.d.ts +34 -0
  16. package/dist/es/es2018/types/src/generated/types/CompareConfig.d.ts +27 -0
  17. package/dist/es/es2018/types/src/generated/types/Error.d.ts +29 -0
  18. package/dist/es/es2018/types/src/generated/types/ExtensionOptions.d.ts +29 -0
  19. package/dist/es/es2018/types/src/generated/types/Filter.d.ts +36 -0
  20. package/dist/es/es2018/types/src/generated/types/GenerateInsightBatchRequest.d.ts +32 -0
  21. package/dist/es/es2018/types/src/generated/types/GenerateInsightBatchResponse.d.ts +47 -0
  22. package/dist/es/es2018/types/src/generated/types/GenerateInsightBundleRequest.d.ts +37 -0
  23. package/dist/es/es2018/types/src/generated/types/GenerateInsightBundleResponse.d.ts +45 -0
  24. package/dist/es/es2018/types/src/generated/types/GetFilterValuesRequest.d.ts +45 -0
  25. package/dist/es/es2018/types/src/generated/types/GetFilterValuesResponse.d.ts +43 -0
  26. package/dist/es/es2018/types/src/generated/types/GetFilterValuesResponse_CategoricalValues.d.ts +29 -0
  27. package/dist/es/es2018/types/src/generated/types/GetInsightBatchResponse.d.ts +47 -0
  28. package/dist/es/es2018/types/src/generated/types/InputMetric.d.ts +40 -0
  29. package/dist/es/es2018/types/src/generated/types/Insight.d.ts +49 -0
  30. package/dist/es/es2018/types/src/generated/types/InsightBundle.d.ts +35 -0
  31. package/dist/es/es2018/types/src/generated/types/InsightBundleInput.d.ts +31 -0
  32. package/dist/es/es2018/types/src/generated/types/InsightBundleOptions.d.ts +40 -0
  33. package/dist/es/es2018/types/src/generated/types/InsightFeedbackMetadata.d.ts +31 -0
  34. package/dist/es/es2018/types/src/generated/types/InsightGroup.d.ts +36 -0
  35. package/dist/es/es2018/types/src/generated/types/InsightResponse.d.ts +33 -0
  36. package/dist/es/es2018/types/src/generated/types/InsightsOptions.d.ts +28 -0
  37. package/dist/es/es2018/types/src/generated/types/InsightsOptions_InsightSetting.d.ts +29 -0
  38. package/dist/es/es2018/types/src/generated/types/Measure.d.ts +33 -0
  39. package/dist/es/es2018/types/src/generated/types/MeasurementPeriod.d.ts +41 -0
  40. package/dist/es/es2018/types/src/generated/types/MetricDefinition.d.ts +42 -0
  41. package/dist/es/es2018/types/src/generated/types/MetricInstance.d.ts +31 -0
  42. package/dist/es/es2018/types/src/generated/types/MetricMetadata.d.ts +29 -0
  43. package/dist/es/es2018/types/src/generated/types/NullableValue.d.ts +36 -0
  44. package/dist/es/es2018/types/src/generated/types/Overview.d.ts +30 -0
  45. package/dist/es/es2018/types/src/generated/types/OverviewResponse.d.ts +31 -0
  46. package/dist/es/es2018/types/src/generated/types/RepresentationOptions.d.ts +32 -0
  47. package/dist/es/es2018/types/src/generated/types/RepresentationOptions_NumberUnits.d.ts +29 -0
  48. package/dist/es/es2018/types/src/generated/types/SemanticDataModel.d.ts +27 -0
  49. package/dist/es/es2018/types/src/generated/types/SemanticField.d.ts +28 -0
  50. package/dist/es/es2018/types/src/generated/types/SummarizationOptions.d.ts +28 -0
  51. package/dist/es/es2018/types/src/generated/types/Summary.d.ts +37 -0
  52. package/dist/es/es2018/types/src/generated/types/SummaryResponse.d.ts +31 -0
  53. package/dist/es/es2018/types/src/generated/types/TableField.d.ts +31 -0
  54. package/dist/es/es2018/types/src/generated/types/TimeDimension.d.ts +31 -0
  55. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  56. package/package.json +66 -0
  57. package/sfdc/index.d.ts +1 -0
  58. package/sfdc/index.js +2852 -0
  59. package/src/raml/api.raml +723 -0
  60. package/src/raml/luvio.raml +47 -0
@@ -0,0 +1,62 @@
1
+ import { Adapter as $64$luvio_engine_Adapter, Snapshot as $64$luvio_engine_Snapshot, UnfulfilledSnapshot as $64$luvio_engine_UnfulfilledSnapshot, AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata } from '@luvio/engine';
2
+ export declare const ObjectPrototypeHasOwnProperty: (v: PropertyKey) => boolean;
3
+ declare const ObjectKeys: {
4
+ (o: object): string[];
5
+ (o: {}): string[];
6
+ }, ObjectCreate: {
7
+ (o: object | null): any;
8
+ (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
9
+ };
10
+ export { ObjectCreate, ObjectKeys };
11
+ export declare const ArrayIsArray: (arg: any) => arg is any[];
12
+ export declare const ArrayPrototypePush: (...items: any[]) => number;
13
+ export interface AdapterValidationConfig {
14
+ displayName: string;
15
+ parameters: {
16
+ required: string[];
17
+ optional: string[];
18
+ unsupported?: string[];
19
+ };
20
+ }
21
+ /**
22
+ * Validates an adapter config is well-formed.
23
+ * @param config The config to validate.
24
+ * @param adapter The adapter validation configuration.
25
+ * @param oneOf The keys the config must contain at least one of.
26
+ * @throws A TypeError if config doesn't satisfy the adapter's config validation.
27
+ */
28
+ export declare function validateConfig<T>(config: Untrusted<T>, adapter: AdapterValidationConfig, oneOf?: string[]): void;
29
+ export declare function untrustedIsObject<Base>(untrusted: unknown): untrusted is Untrusted<Base>;
30
+ export type UncoercedConfiguration<Base, Options extends {
31
+ [key in keyof Base]?: any;
32
+ }> = {
33
+ [Key in keyof Base]?: Base[Key] | Options[Key];
34
+ };
35
+ export type Untrusted<Base> = Partial<Base>;
36
+ export declare function areRequiredParametersPresent<T>(config: any, configPropertyNames: AdapterValidationConfig): config is T;
37
+ export declare function refreshable<C, D, R>(adapter: $64$luvio_engine_Adapter<C, D>, resolve: (config: unknown) => Promise<$64$luvio_engine_Snapshot<R>>): $64$luvio_engine_Adapter<C, D>;
38
+ export declare const SNAPSHOT_STATE_FULFILLED = "Fulfilled";
39
+ export declare const SNAPSHOT_STATE_UNFULFILLED = "Unfulfilled";
40
+ export declare const snapshotRefreshOptions: {
41
+ overrides: {
42
+ headers: {
43
+ 'Cache-Control': string;
44
+ };
45
+ };
46
+ };
47
+ /**
48
+ * A deterministic JSON stringify implementation. Heavily adapted from https://github.com/epoberezkin/fast-json-stable-stringify.
49
+ * This is needed because insertion order for JSON.stringify(object) affects output:
50
+ * JSON.stringify({a: 1, b: 2})
51
+ * "{"a":1,"b":2}"
52
+ * JSON.stringify({b: 2, a: 1})
53
+ * "{"b":2,"a":1}"
54
+ * @param data Data to be JSON-stringified.
55
+ * @returns JSON.stringified value with consistent ordering of keys.
56
+ */
57
+ export declare function stableJSONStringify(node: any): string | undefined;
58
+ export declare function getFetchResponseStatusText(status: number): string;
59
+ export declare function isUnfulfilledSnapshot<T, U>(snapshot: $64$luvio_engine_Snapshot<T, U>): snapshot is $64$luvio_engine_UnfulfilledSnapshot<T, U>;
60
+ export declare function generateParamConfigMetadata(name: string, required: boolean, resourceType: $64$luvio_engine_AdapterConfigMetadata['resourceType'], typeCheckShape: $64$luvio_engine_AdapterConfigMetadata['typeCheckShape'], isArrayShape?: boolean, coerceFn?: (v: unknown) => unknown): $64$luvio_engine_AdapterConfigMetadata;
61
+ export declare function buildAdapterValidationConfig(displayName: string, paramsMeta: $64$luvio_engine_AdapterConfigMetadata[]): AdapterValidationConfig;
62
+ export declare const keyPrefix = "analytics-insights";
@@ -0,0 +1,17 @@
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
+ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
+ import { BatchInput as types_BatchInput_BatchInput } from '../types/BatchInput';
4
+ import { ResourceRequestConfig as resources_postBatches_ResourceRequestConfig } from '../resources/postBatches';
5
+ import { GenerateInsightBatchResponse as types_GenerateInsightBatchResponse_GenerateInsightBatchResponse } from '../types/GenerateInsightBatchResponse';
6
+ export declare const adapterName = "createInsightsBatch";
7
+ export declare const createInsightsBatch_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
8
+ export declare const createInsightsBatch_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
9
+ export interface CreateInsightsBatchConfig {
10
+ batchInput?: Array<types_BatchInput_BatchInput>;
11
+ options?: unknown;
12
+ }
13
+ export declare const createResourceParams: (config: CreateInsightsBatchConfig) => resources_postBatches_ResourceRequestConfig;
14
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateInsightsBatchConfig>): adapter$45$utils_Untrusted<CreateInsightsBatchConfig>;
15
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateInsightsBatchConfig | null;
16
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateInsightsBatchConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_GenerateInsightBatchResponse_GenerateInsightBatchResponse, {}> | import("@luvio/engine").StaleSnapshot<types_GenerateInsightBatchResponse_GenerateInsightBatchResponse, {}> | import("@luvio/engine").PendingSnapshot<types_GenerateInsightBatchResponse_GenerateInsightBatchResponse, any>>;
17
+ export declare const createInsightsBatchAdapterFactory: $64$luvio_engine_AdapterFactory<CreateInsightsBatchConfig, types_GenerateInsightBatchResponse_GenerateInsightBatchResponse>;
@@ -0,0 +1,18 @@
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
+ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
+ import { ResourceRequestConfig as resources_postV1GenerateBundle_ResourceRequestConfig } from '../resources/postV1GenerateBundle';
4
+ import { GenerateInsightBundleResponse as types_GenerateInsightBundleResponse_GenerateInsightBundleResponse } from '../types/GenerateInsightBundleResponse';
5
+ export declare const adapterName = "generateInsights";
6
+ export declare const generateInsights_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
+ export declare const generateInsights_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface GenerateInsightsConfig {
9
+ type?: string;
10
+ version?: number;
11
+ input?: unknown;
12
+ options?: unknown;
13
+ }
14
+ export declare const createResourceParams: (config: GenerateInsightsConfig) => resources_postV1GenerateBundle_ResourceRequestConfig;
15
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GenerateInsightsConfig>): adapter$45$utils_Untrusted<GenerateInsightsConfig>;
16
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GenerateInsightsConfig | null;
17
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GenerateInsightsConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_GenerateInsightBundleResponse_GenerateInsightBundleResponse, {}> | import("@luvio/engine").StaleSnapshot<types_GenerateInsightBundleResponse_GenerateInsightBundleResponse, {}> | import("@luvio/engine").PendingSnapshot<types_GenerateInsightBundleResponse_GenerateInsightBundleResponse, any>>;
18
+ export declare const generateInsightsAdapterFactory: $64$luvio_engine_AdapterFactory<GenerateInsightsConfig, types_GenerateInsightBundleResponse_GenerateInsightBundleResponse>;
@@ -0,0 +1,28 @@
1
+ import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Fragment as $64$luvio_engine_Fragment, Snapshot as $64$luvio_engine_Snapshot, FetchResponse as $64$luvio_engine_FetchResponse, ErrorResponse as $64$luvio_engine_ErrorResponse, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, CoercedAdapterRequestContext as $64$luvio_engine_CoercedAdapterRequestContext, StoreLookup as $64$luvio_engine_StoreLookup, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
2
+ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig, UncoercedConfiguration as adapter$45$utils_UncoercedConfiguration } from './adapter-utils';
3
+ import { ResourceRequestConfig as resources_getBatchesByBatch_id_ResourceRequestConfig } from '../resources/getBatchesByBatch_id';
4
+ import { GetInsightBatchResponse as types_GetInsightBatchResponse_GetInsightBatchResponse, KeyParams as types_GetInsightBatchResponse_KeyParams } from '../types/GetInsightBatchResponse';
5
+ export declare const adapterName = "getInsightsBatch";
6
+ export declare const getInsightsBatch_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
+ export declare const getInsightsBatch_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface GetInsightsBatchConfig {
9
+ batch_id: string;
10
+ }
11
+ export declare const createResourceParams: (config: GetInsightsBatchConfig) => resources_getBatchesByBatch_id_ResourceRequestConfig;
12
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetInsightsBatchConfig): string;
13
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetInsightsBatchConfig): $64$luvio_engine_NormalizedKeyMetadata;
14
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetInsightsBatchConfig>): adapter$45$utils_Untrusted<GetInsightsBatchConfig>;
15
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetInsightsBatchConfig | null;
16
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetInsightsBatchConfig): $64$luvio_engine_Fragment;
17
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetInsightsBatchConfig): $64$luvio_engine_Snapshot<types_GetInsightBatchResponse_GetInsightBatchResponse, any>;
18
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetInsightsBatchConfig, resourceParams: resources_getBatchesByBatch_id_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_GetInsightBatchResponse_GetInsightBatchResponse>): Promise<import("@luvio/engine").FulfilledSnapshot<types_GetInsightBatchResponse_GetInsightBatchResponse, {}> | import("@luvio/engine").StaleSnapshot<types_GetInsightBatchResponse_GetInsightBatchResponse, {}> | import("@luvio/engine").PendingSnapshot<types_GetInsightBatchResponse_GetInsightBatchResponse, any>>;
19
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetInsightsBatchConfig, resourceParams: resources_getBatchesByBatch_id_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
20
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetInsightsBatchConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_GetInsightBatchResponse_GetInsightBatchResponse, any>>;
21
+ export type BuildSnapshotContext = {
22
+ luvio: $64$luvio_engine_Luvio;
23
+ config: GetInsightsBatchConfig;
24
+ };
25
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_GetInsightBatchResponse_GetInsightBatchResponse, any>>;
26
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_GetInsightBatchResponse_GetInsightBatchResponse>): $64$luvio_engine_Snapshot<types_GetInsightBatchResponse_GetInsightBatchResponse, any>;
27
+ export declare const getInsightsBatchAdapterFactory: $64$luvio_engine_AdapterFactory<GetInsightsBatchConfig, types_GetInsightBatchResponse_GetInsightBatchResponse>;
28
+ export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_GetInsightBatchResponse_KeyParams, any>[]) => void;
@@ -0,0 +1,25 @@
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
+ import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
3
+ import { SemanticDataModel as types_SemanticDataModel_SemanticDataModel } from '../types/SemanticDataModel';
4
+ import { TableField as types_TableField_TableField } from '../types/TableField';
5
+ import { SemanticField as types_SemanticField_SemanticField } from '../types/SemanticField';
6
+ import { Filter as types_Filter_Filter } from '../types/Filter';
7
+ import { ResourceRequestConfig as resources_postFilterValues_ResourceRequestConfig } from '../resources/postFilterValues';
8
+ import { GetFilterValuesResponse as types_GetFilterValuesResponse_GetFilterValuesResponse } from '../types/GetFilterValuesResponse';
9
+ export declare const adapterName = "getMetricFilterValues";
10
+ export declare const getMetricFilterValues_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
11
+ export declare const getMetricFilterValues_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
12
+ export interface GetMetricFilterValuesConfig {
13
+ semanticDataModel: types_SemanticDataModel_SemanticDataModel;
14
+ tableField?: types_TableField_TableField;
15
+ semanticField?: types_SemanticField_SemanticField;
16
+ pageToken?: string;
17
+ pageSize?: number;
18
+ searchTerm?: string;
19
+ filters?: Array<types_Filter_Filter>;
20
+ }
21
+ export declare const createResourceParams: (config: GetMetricFilterValuesConfig) => resources_postFilterValues_ResourceRequestConfig;
22
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetMetricFilterValuesConfig>): adapter$45$utils_Untrusted<GetMetricFilterValuesConfig>;
23
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetMetricFilterValuesConfig | null;
24
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetMetricFilterValuesConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_GetFilterValuesResponse_GetFilterValuesResponse, {}> | import("@luvio/engine").StaleSnapshot<types_GetFilterValuesResponse_GetFilterValuesResponse, {}> | import("@luvio/engine").PendingSnapshot<types_GetFilterValuesResponse_GetFilterValuesResponse, any>>;
25
+ export declare const getMetricFilterValuesAdapterFactory: $64$luvio_engine_AdapterFactory<GetMetricFilterValuesConfig, types_GetFilterValuesResponse_GetFilterValuesResponse>;
@@ -0,0 +1,4 @@
1
+ export { createInsightsBatchAdapterFactory } from '../adapters/createInsightsBatch';
2
+ export { getMetricFilterValuesAdapterFactory } from '../adapters/getMetricFilterValues';
3
+ export { getInsightsBatchAdapterFactory } from '../adapters/getInsightsBatch';
4
+ export { generateInsightsAdapterFactory } from '../adapters/generateInsights';
@@ -0,0 +1,7 @@
1
+ declare let createInsightsBatch: any;
2
+ declare let generateInsights: any;
3
+ declare let getInsightsBatch: any;
4
+ declare let getInsightsBatchNotifyChange: any;
5
+ declare let getMetricFilterValues: any;
6
+ declare let getInsightsBatch_imperative: any;
7
+ export { createInsightsBatch, generateInsights, getInsightsBatch, getInsightsBatchNotifyChange, getMetricFilterValues, getInsightsBatch_imperative, };
@@ -0,0 +1,16 @@
1
+ import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, FetchResponse as $64$luvio_engine_FetchResponse, SnapshotRefresh as $64$luvio_engine_SnapshotRefresh, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ErrorResponse as $64$luvio_engine_ErrorResponse, ErrorSnapshot as $64$luvio_engine_ErrorSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
2
+ import { GetInsightBatchResponse as types_GetInsightBatchResponse_GetInsightBatchResponse } from '../types/GetInsightBatchResponse';
3
+ export interface ResourceRequestConfig {
4
+ urlParams: {
5
+ batch_id: string;
6
+ };
7
+ }
8
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
9
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
10
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
11
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_GetInsightBatchResponse_GetInsightBatchResponse): void;
12
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_GetInsightBatchResponse_GetInsightBatchResponse>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_GetInsightBatchResponse_GetInsightBatchResponse>): $64$luvio_engine_FulfilledSnapshot<types_GetInsightBatchResponse_GetInsightBatchResponse, {}> | $64$luvio_engine_StaleSnapshot<types_GetInsightBatchResponse_GetInsightBatchResponse, {}> | $64$luvio_engine_PendingSnapshot<types_GetInsightBatchResponse_GetInsightBatchResponse, any>;
13
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_GetInsightBatchResponse_GetInsightBatchResponse>): $64$luvio_engine_ErrorSnapshot;
14
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
15
+ export default createResourceRequest;
16
+ export declare function createResourceRequestFromRepresentation(representation: types_GetInsightBatchResponse_GetInsightBatchResponse): $64$luvio_engine_ResourceRequest;
@@ -0,0 +1,14 @@
1
+ import { BatchInput as types_BatchInput_BatchInput } from '../types/BatchInput';
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
+ import { GenerateInsightBatchResponse as types_GenerateInsightBatchResponse_GenerateInsightBatchResponse } from '../types/GenerateInsightBatchResponse';
4
+ export interface ResourceRequestConfig {
5
+ body: {
6
+ batchInput?: Array<types_BatchInput_BatchInput>;
7
+ options?: unknown;
8
+ };
9
+ }
10
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
11
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_GenerateInsightBatchResponse_GenerateInsightBatchResponse): void;
12
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_GenerateInsightBatchResponse_GenerateInsightBatchResponse>): $64$luvio_engine_FulfilledSnapshot<types_GenerateInsightBatchResponse_GenerateInsightBatchResponse, {}> | $64$luvio_engine_StaleSnapshot<types_GenerateInsightBatchResponse_GenerateInsightBatchResponse, {}> | $64$luvio_engine_PendingSnapshot<types_GenerateInsightBatchResponse_GenerateInsightBatchResponse, any>;
13
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
14
+ export default createResourceRequest;
@@ -0,0 +1,22 @@
1
+ import { SemanticDataModel as types_SemanticDataModel_SemanticDataModel } from '../types/SemanticDataModel';
2
+ import { TableField as types_TableField_TableField } from '../types/TableField';
3
+ import { SemanticField as types_SemanticField_SemanticField } from '../types/SemanticField';
4
+ import { Filter as types_Filter_Filter } from '../types/Filter';
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';
6
+ import { GetFilterValuesResponse as types_GetFilterValuesResponse_GetFilterValuesResponse } from '../types/GetFilterValuesResponse';
7
+ export interface ResourceRequestConfig {
8
+ body: {
9
+ semanticDataModel: types_SemanticDataModel_SemanticDataModel;
10
+ tableField?: types_TableField_TableField;
11
+ semanticField?: types_SemanticField_SemanticField;
12
+ pageToken?: string;
13
+ pageSize?: number;
14
+ searchTerm?: string;
15
+ filters?: Array<types_Filter_Filter>;
16
+ };
17
+ }
18
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
19
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_GetFilterValuesResponse_GetFilterValuesResponse): void;
20
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_GetFilterValuesResponse_GetFilterValuesResponse>): $64$luvio_engine_FulfilledSnapshot<types_GetFilterValuesResponse_GetFilterValuesResponse, {}> | $64$luvio_engine_StaleSnapshot<types_GetFilterValuesResponse_GetFilterValuesResponse, {}> | $64$luvio_engine_PendingSnapshot<types_GetFilterValuesResponse_GetFilterValuesResponse, any>;
21
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
22
+ export default createResourceRequest;
@@ -0,0 +1,15 @@
1
+ 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
+ import { GenerateInsightBundleResponse as types_GenerateInsightBundleResponse_GenerateInsightBundleResponse } from '../types/GenerateInsightBundleResponse';
3
+ export interface ResourceRequestConfig {
4
+ body: {
5
+ type?: string;
6
+ version?: number;
7
+ input?: unknown;
8
+ options?: unknown;
9
+ };
10
+ }
11
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
12
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_GenerateInsightBundleResponse_GenerateInsightBundleResponse): void;
13
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_GenerateInsightBundleResponse_GenerateInsightBundleResponse>): $64$luvio_engine_FulfilledSnapshot<types_GenerateInsightBundleResponse_GenerateInsightBundleResponse, {}> | $64$luvio_engine_StaleSnapshot<types_GenerateInsightBundleResponse_GenerateInsightBundleResponse, {}> | $64$luvio_engine_PendingSnapshot<types_GenerateInsightBundleResponse_GenerateInsightBundleResponse, any>;
14
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
15
+ export default createResourceRequest;
@@ -0,0 +1,30 @@
1
+ import { InsightBundleInput as InsightBundleInput_InsightBundleInput } from './InsightBundleInput';
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 = "b1ce82da6d40530acb4d94c7bb66cb38";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: BatchInput, existing: BatchInputNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): BatchInputNormalized;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: BatchInputNormalized, incoming: BatchInputNormalized): 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: BatchInput, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ *
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface BatchInputNormalized {
18
+ bundleInput?: InsightBundleInput_InsightBundleInput;
19
+ metricInstanceId?: string;
20
+ }
21
+ /**
22
+ *
23
+ *
24
+ * Keys:
25
+ * (none)
26
+ */
27
+ export interface BatchInput {
28
+ bundleInput?: InsightBundleInput_InsightBundleInput;
29
+ metricInstanceId?: string;
30
+ }
@@ -0,0 +1,34 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "755ea64abb0a6538fe77da5a497059cc";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ 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;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: BatchOptionsNormalized, incoming: BatchOptionsNormalized): 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: BatchOptions, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ *
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface BatchOptionsNormalized {
17
+ /** Options to apply to each insight bundle */
18
+ bundle?: unknown;
19
+ /** Option to skip checking for batch/summary in cache */
20
+ skipCache?: boolean;
21
+ /** Options to apply to desired summary */
22
+ summarization?: unknown;
23
+ }
24
+ /**
25
+ *
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface BatchOptions {
31
+ bundle?: unknown;
32
+ skipCache?: boolean;
33
+ summarization?: unknown;
34
+ }
@@ -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 = "b41659e503a0f4b6a2af014404a397f2";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: CompareConfig, existing: CompareConfigNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CompareConfigNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: CompareConfigNormalized, incoming: CompareConfigNormalized): 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: CompareConfig, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ *
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface CompareConfigNormalized {
17
+ comparison?: string;
18
+ }
19
+ /**
20
+ *
21
+ *
22
+ * Keys:
23
+ * (none)
24
+ */
25
+ export interface CompareConfig {
26
+ comparison?: string;
27
+ }
@@ -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 = "07a8c889542dbad6f958515513d4e3fb";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: Error, existing: ErrorNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ErrorNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: ErrorNormalized, incoming: ErrorNormalized): 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: Error, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ *
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface ErrorNormalized {
17
+ code?: string;
18
+ message?: string;
19
+ }
20
+ /**
21
+ *
22
+ *
23
+ * Keys:
24
+ * (none)
25
+ */
26
+ export interface Error {
27
+ code?: string;
28
+ message?: string;
29
+ }
@@ -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 = "f521dfa68d5589b1190c3ce36e8f512b";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: ExtensionOptions, existing: ExtensionOptionsNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): ExtensionOptionsNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: ExtensionOptionsNormalized, incoming: ExtensionOptionsNormalized): 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: ExtensionOptions, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ *
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface ExtensionOptionsNormalized {
17
+ analysisDimensions?: Array<string>;
18
+ minimumGranularity?: string;
19
+ }
20
+ /**
21
+ *
22
+ *
23
+ * Keys:
24
+ * (none)
25
+ */
26
+ export interface ExtensionOptions {
27
+ analysisDimensions?: Array<string>;
28
+ minimumGranularity?: string;
29
+ }
@@ -0,0 +1,36 @@
1
+ import { SemanticField as SemanticField_SemanticField } from './SemanticField';
2
+ import { TableField as TableField_TableField } from './TableField';
3
+ import { NullableValue as NullableValue_NullableValue } from './NullableValue';
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 = "6d59ff986f26f866186f57945575bc9f";
6
+ export declare function validate(obj: any, path?: string): TypeError | null;
7
+ export declare const RepresentationType: string;
8
+ export declare function normalize(input: Filter, existing: FilterNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FilterNormalized;
9
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
10
+ export declare function equals(existing: FilterNormalized, incoming: FilterNormalized): boolean;
11
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
12
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: Filter, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
13
+ /**
14
+ *
15
+ *
16
+ * Keys:
17
+ * (none)
18
+ */
19
+ export interface FilterNormalized {
20
+ operator?: string;
21
+ semanticField: SemanticField_SemanticField;
22
+ tableField: TableField_TableField;
23
+ values?: Array<NullableValue_NullableValue>;
24
+ }
25
+ /**
26
+ *
27
+ *
28
+ * Keys:
29
+ * (none)
30
+ */
31
+ export interface Filter {
32
+ operator?: string;
33
+ semanticField: SemanticField_SemanticField;
34
+ tableField: TableField_TableField;
35
+ values?: Array<NullableValue_NullableValue>;
36
+ }
@@ -0,0 +1,32 @@
1
+ import { BatchInput as BatchInput_BatchInput } from './BatchInput';
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 = "0f97ee53ab57617664a765034c024c95";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ 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;
7
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
8
+ export declare function equals(existing: GenerateInsightBatchRequestNormalized, incoming: GenerateInsightBatchRequestNormalized): 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: GenerateInsightBatchRequest, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ *
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface GenerateInsightBatchRequestNormalized {
18
+ /** Either fully formed bundles or metric instance IDs */
19
+ batchInput?: Array<BatchInput_BatchInput>;
20
+ /** Options to apply to the entire batch */
21
+ options?: unknown;
22
+ }
23
+ /**
24
+ *
25
+ *
26
+ * Keys:
27
+ * (none)
28
+ */
29
+ export interface GenerateInsightBatchRequest {
30
+ batchInput?: Array<BatchInput_BatchInput>;
31
+ options?: unknown;
32
+ }
@@ -0,0 +1,47 @@
1
+ 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 = "a8b8e8e21e2dc1b5b067efa90209dce3";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
6
+ batchid: string;
7
+ }
8
+ export type GenerateInsightBatchResponseNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
9
+ export type PartialGenerateInsightBatchResponseNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
10
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
11
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): GenerateInsightBatchResponseNormalizedKeyMetadata;
12
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: GenerateInsightBatchResponse): string;
13
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: GenerateInsightBatchResponse): $64$luvio_engine_NormalizedKeyMetadata;
14
+ 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;
15
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
16
+ export declare function equals(existing: GenerateInsightBatchResponseNormalized, incoming: GenerateInsightBatchResponseNormalized): boolean;
17
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
18
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: GenerateInsightBatchResponse, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
19
+ /**
20
+ *
21
+ *
22
+ * Keys:
23
+ * batchid (string): batchId
24
+ */
25
+ export interface GenerateInsightBatchResponseNormalized {
26
+ /** ID of the batch being generated */
27
+ batchId: string;
28
+ /** Lets client know if summary is being generated */
29
+ generatingSummary?: boolean;
30
+ /** If a cached summary exists, return the summary immediately */
31
+ summary?: unknown;
32
+ /** If a cached summary exists, return a timestamp of the cached summary
33
+ generation in UTC */
34
+ timestamp?: string;
35
+ }
36
+ /**
37
+ *
38
+ *
39
+ * Keys:
40
+ * batchid (string): batchId
41
+ */
42
+ export interface GenerateInsightBatchResponse {
43
+ batchId: string;
44
+ generatingSummary?: boolean;
45
+ summary?: unknown;
46
+ timestamp?: string;
47
+ }
@@ -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 = "ecf067749f27365ede342ce13e83b236";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ 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;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: GenerateInsightBundleRequestNormalized, incoming: GenerateInsightBundleRequestNormalized): 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: GenerateInsightBundleRequest, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ *
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface GenerateInsightBundleRequestNormalized {
17
+ /** The input to the bundle type */
18
+ input?: unknown;
19
+ /** Options affecting the generation of the bundle */
20
+ options?: unknown;
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?: unknown;
34
+ options?: unknown;
35
+ type?: string;
36
+ version?: number;
37
+ }
@@ -0,0 +1,45 @@
1
+ import { Error as Error_Error } from './Error';
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 = "e64bc88a0a4f11fcf5a12538b4b51a87";
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
+ bundleresponseid: string;
8
+ }
9
+ export type GenerateInsightBundleResponseNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
10
+ export type PartialGenerateInsightBundleResponseNormalizedKeyMetadata = 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): GenerateInsightBundleResponseNormalizedKeyMetadata;
13
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: GenerateInsightBundleResponse): string;
14
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: GenerateInsightBundleResponse): $64$luvio_engine_NormalizedKeyMetadata;
15
+ 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;
16
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
17
+ export declare function equals(existing: GenerateInsightBundleResponseNormalized, incoming: GenerateInsightBundleResponseNormalized): 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: GenerateInsightBundleResponse, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
+ /**
21
+ *
22
+ *
23
+ * Keys:
24
+ * bundleresponseid (string): id
25
+ */
26
+ export interface GenerateInsightBundleResponseNormalized {
27
+ error?: Error_Error;
28
+ /** id of the bundle response, for cacheing */
29
+ id: string;
30
+ /** Note that it is possible that we encountered some errors but were still
31
+ able to compute part of the result. In that case, the result key will be
32
+ present, and there will be errors at the appropriate level inside */
33
+ result?: unknown;
34
+ }
35
+ /**
36
+ *
37
+ *
38
+ * Keys:
39
+ * bundleresponseid (string): id
40
+ */
41
+ export interface GenerateInsightBundleResponse {
42
+ error?: Error_Error;
43
+ id: string;
44
+ result?: unknown;
45
+ }