@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.
- package/LICENSE.txt +82 -0
- package/dist/es/es2018/sfap-analytics-insights.js +3750 -0
- package/dist/es/es2018/types/src/generated/adapters/adapter-utils.d.ts +62 -0
- package/dist/es/es2018/types/src/generated/adapters/createInsightsBatch.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/adapters/generateInsights.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/adapters/generateInsightsBasic.d.ts +22 -0
- package/dist/es/es2018/types/src/generated/adapters/getInsightsBatch.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/adapters/getMetricFilterValues.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +5 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +8 -0
- package/dist/es/es2018/types/src/generated/resources/getAnalyticsInsightsV1BatchesByBatchId.d.ts +20 -0
- package/dist/es/es2018/types/src/generated/resources/postAnalyticsInsightsV1BasicGenerateBundle.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/resources/postAnalyticsInsightsV1Batches.d.ts +19 -0
- package/dist/es/es2018/types/src/generated/resources/postAnalyticsInsightsV1FilterValues.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/resources/postAnalyticsInsightsV1GenerateBundle.d.ts +21 -0
- package/dist/es/es2018/types/src/generated/types/BatchInput.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/BatchOptions.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/CategoricalFilterOptions.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/CompareConfig.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/types/Error.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/ExtensionOptions.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/FieldId.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/Filter.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/FlattenFilter.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/GenerateInsightBatchRequest.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/GenerateInsightBatchResponse.d.ts +48 -0
- package/dist/es/es2018/types/src/generated/types/GenerateInsightBundleRequest.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/GenerateInsightBundleResponse.d.ts +51 -0
- package/dist/es/es2018/types/src/generated/types/GenerateInsightBundleV2Request.d.ts +47 -0
- package/dist/es/es2018/types/src/generated/types/GetFilterValuesRequest.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/GetFilterValuesResponse.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/GetFilterValuesResponse_CategoricalValues.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/GetInsightBatchResponse.d.ts +61 -0
- package/dist/es/es2018/types/src/generated/types/GoalMetadata.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/GoalMetadata_StatusCondition.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/InputMetric.d.ts +43 -0
- package/dist/es/es2018/types/src/generated/types/Insight.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/InsightBundle.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/InsightBundleInput.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/InsightBundleOptions.d.ts +40 -0
- package/dist/es/es2018/types/src/generated/types/InsightFeedbackMetadata.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/InsightGroup.d.ts +36 -0
- package/dist/es/es2018/types/src/generated/types/InsightResponse.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/InsightsOptions.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/InsightsOptions_InsightSetting.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/Measure.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/MeasurementPeriod.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/MetricDefinition.d.ts +46 -0
- package/dist/es/es2018/types/src/generated/types/MetricInstance.d.ts +38 -0
- package/dist/es/es2018/types/src/generated/types/MetricInstanceInput.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/MetricMetadata.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/Overview.d.ts +30 -0
- package/dist/es/es2018/types/src/generated/types/OverviewResponse.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/RangeFilterOptions.d.ts +35 -0
- package/dist/es/es2018/types/src/generated/types/RelativeDate.d.ts +49 -0
- package/dist/es/es2018/types/src/generated/types/RelativeDateFilterOptions.d.ts +25 -0
- package/dist/es/es2018/types/src/generated/types/RelativePeriod.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/RepresentationOptions.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/RepresentationOptions_NumberUnits.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/SemanticDataModel.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/types/SemanticFilter.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/Status.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/SummarizationOptions.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/Summary.d.ts +37 -0
- package/dist/es/es2018/types/src/generated/types/SummaryResponse.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/TimeDimension.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/UnifiedFilter.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
- package/package.json +66 -0
- package/sfdc/index.d.ts +1 -0
- package/sfdc/index.js +3847 -0
- package/src/raml/api.raml +1198 -0
- package/src/raml/luvio.raml +53 -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,20 @@
|
|
|
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 { BatchOptions as types_BatchOptions_BatchOptions } from '../types/BatchOptions';
|
|
5
|
+
import { ResourceRequestConfig as resources_postAnalyticsInsightsV1Batches_ResourceRequestConfig } from '../resources/postAnalyticsInsightsV1Batches';
|
|
6
|
+
import { GenerateInsightBatchResponse as types_GenerateInsightBatchResponse_GenerateInsightBatchResponse } from '../types/GenerateInsightBatchResponse';
|
|
7
|
+
export declare const adapterName = "createInsightsBatch";
|
|
8
|
+
export declare const createInsightsBatch_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
9
|
+
export declare const createInsightsBatch_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
10
|
+
export interface CreateInsightsBatchConfig {
|
|
11
|
+
xSfdcSourceapp?: string;
|
|
12
|
+
xSfdcSourcecontext?: string;
|
|
13
|
+
batchInput?: Array<types_BatchInput_BatchInput>;
|
|
14
|
+
options?: types_BatchOptions_BatchOptions;
|
|
15
|
+
}
|
|
16
|
+
export declare const createResourceParams: (config: CreateInsightsBatchConfig) => resources_postAnalyticsInsightsV1Batches_ResourceRequestConfig;
|
|
17
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateInsightsBatchConfig>): adapter$45$utils_Untrusted<CreateInsightsBatchConfig>;
|
|
18
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateInsightsBatchConfig | null;
|
|
19
|
+
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>>;
|
|
20
|
+
export declare const createInsightsBatchAdapterFactory: $64$luvio_engine_AdapterFactory<CreateInsightsBatchConfig, types_GenerateInsightBatchResponse_GenerateInsightBatchResponse>;
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { InsightBundleInput as types_InsightBundleInput_InsightBundleInput } from '../types/InsightBundleInput';
|
|
4
|
+
import { InsightBundleOptions as types_InsightBundleOptions_InsightBundleOptions } from '../types/InsightBundleOptions';
|
|
5
|
+
import { ResourceRequestConfig as resources_postAnalyticsInsightsV1GenerateBundle_ResourceRequestConfig } from '../resources/postAnalyticsInsightsV1GenerateBundle';
|
|
6
|
+
import { GenerateInsightBundleResponse as types_GenerateInsightBundleResponse_GenerateInsightBundleResponse } from '../types/GenerateInsightBundleResponse';
|
|
7
|
+
export declare const adapterName = "generateInsights";
|
|
8
|
+
export declare const generateInsights_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
9
|
+
export declare const generateInsights_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
10
|
+
export interface GenerateInsightsConfig {
|
|
11
|
+
xSfdcSourceapp?: string;
|
|
12
|
+
xSfdcSourcecontext?: string;
|
|
13
|
+
type?: string;
|
|
14
|
+
version?: number;
|
|
15
|
+
input?: types_InsightBundleInput_InsightBundleInput;
|
|
16
|
+
options?: types_InsightBundleOptions_InsightBundleOptions;
|
|
17
|
+
}
|
|
18
|
+
export declare const createResourceParams: (config: GenerateInsightsConfig) => resources_postAnalyticsInsightsV1GenerateBundle_ResourceRequestConfig;
|
|
19
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GenerateInsightsConfig>): adapter$45$utils_Untrusted<GenerateInsightsConfig>;
|
|
20
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GenerateInsightsConfig | null;
|
|
21
|
+
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>>;
|
|
22
|
+
export declare const generateInsightsAdapterFactory: $64$luvio_engine_AdapterFactory<GenerateInsightsConfig, types_GenerateInsightBundleResponse_GenerateInsightBundleResponse>;
|
|
@@ -0,0 +1,22 @@
|
|
|
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 { InsightBundleInput as types_InsightBundleInput_InsightBundleInput } from '../types/InsightBundleInput';
|
|
4
|
+
import { InsightBundleOptions as types_InsightBundleOptions_InsightBundleOptions } from '../types/InsightBundleOptions';
|
|
5
|
+
import { ResourceRequestConfig as resources_postAnalyticsInsightsV1BasicGenerateBundle_ResourceRequestConfig } from '../resources/postAnalyticsInsightsV1BasicGenerateBundle';
|
|
6
|
+
import { GenerateInsightBundleResponse as types_GenerateInsightBundleResponse_GenerateInsightBundleResponse } from '../types/GenerateInsightBundleResponse';
|
|
7
|
+
export declare const adapterName = "generateInsightsBasic";
|
|
8
|
+
export declare const generateInsightsBasic_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
9
|
+
export declare const generateInsightsBasic_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
10
|
+
export interface GenerateInsightsBasicConfig {
|
|
11
|
+
xSfdcSourceapp?: string;
|
|
12
|
+
xSfdcSourcecontext?: string;
|
|
13
|
+
type?: string;
|
|
14
|
+
version?: number;
|
|
15
|
+
input?: types_InsightBundleInput_InsightBundleInput;
|
|
16
|
+
options?: types_InsightBundleOptions_InsightBundleOptions;
|
|
17
|
+
}
|
|
18
|
+
export declare const createResourceParams: (config: GenerateInsightsBasicConfig) => resources_postAnalyticsInsightsV1BasicGenerateBundle_ResourceRequestConfig;
|
|
19
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GenerateInsightsBasicConfig>): adapter$45$utils_Untrusted<GenerateInsightsBasicConfig>;
|
|
20
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GenerateInsightsBasicConfig | null;
|
|
21
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GenerateInsightsBasicConfig, 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>>;
|
|
22
|
+
export declare const generateInsightsBasicAdapterFactory: $64$luvio_engine_AdapterFactory<GenerateInsightsBasicConfig, types_GenerateInsightBundleResponse_GenerateInsightBundleResponse>;
|
|
@@ -0,0 +1,30 @@
|
|
|
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_getAnalyticsInsightsV1BatchesByBatchId_ResourceRequestConfig } from '../resources/getAnalyticsInsightsV1BatchesByBatchId';
|
|
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
|
+
batchId: string;
|
|
10
|
+
xSfdcSourceapp?: string;
|
|
11
|
+
xSfdcSourcecontext?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: GetInsightsBatchConfig) => resources_getAnalyticsInsightsV1BatchesByBatchId_ResourceRequestConfig;
|
|
14
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetInsightsBatchConfig): string;
|
|
15
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetInsightsBatchConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetInsightsBatchConfig>): adapter$45$utils_Untrusted<GetInsightsBatchConfig>;
|
|
17
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetInsightsBatchConfig | null;
|
|
18
|
+
export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetInsightsBatchConfig): $64$luvio_engine_Fragment;
|
|
19
|
+
export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetInsightsBatchConfig): $64$luvio_engine_Snapshot<types_GetInsightBatchResponse_GetInsightBatchResponse, any>;
|
|
20
|
+
export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetInsightsBatchConfig, resourceParams: resources_getAnalyticsInsightsV1BatchesByBatchId_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>>;
|
|
21
|
+
export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetInsightsBatchConfig, resourceParams: resources_getAnalyticsInsightsV1BatchesByBatchId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
|
|
22
|
+
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>>;
|
|
23
|
+
export type BuildSnapshotContext = {
|
|
24
|
+
luvio: $64$luvio_engine_Luvio;
|
|
25
|
+
config: GetInsightsBatchConfig;
|
|
26
|
+
};
|
|
27
|
+
export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_GetInsightBatchResponse_GetInsightBatchResponse, any>>;
|
|
28
|
+
export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_GetInsightBatchResponse_GetInsightBatchResponse>): $64$luvio_engine_Snapshot<types_GetInsightBatchResponse_GetInsightBatchResponse, any>;
|
|
29
|
+
export declare const getInsightsBatchAdapterFactory: $64$luvio_engine_AdapterFactory<GetInsightsBatchConfig, types_GetInsightBatchResponse_GetInsightBatchResponse>;
|
|
30
|
+
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,27 @@
|
|
|
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 { FieldId as types_FieldId_FieldId } from '../types/FieldId';
|
|
5
|
+
import { Filter as types_Filter_Filter } from '../types/Filter';
|
|
6
|
+
import { FlattenFilter as types_FlattenFilter_FlattenFilter } from '../types/FlattenFilter';
|
|
7
|
+
import { ResourceRequestConfig as resources_postAnalyticsInsightsV1FilterValues_ResourceRequestConfig } from '../resources/postAnalyticsInsightsV1FilterValues';
|
|
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
|
+
xSfdcSourceapp?: string;
|
|
14
|
+
xSfdcSourcecontext?: string;
|
|
15
|
+
semanticDataModel: types_SemanticDataModel_SemanticDataModel;
|
|
16
|
+
field: types_FieldId_FieldId;
|
|
17
|
+
pageToken?: string;
|
|
18
|
+
pageSize?: number;
|
|
19
|
+
searchTerm?: string;
|
|
20
|
+
filters?: Array<types_Filter_Filter>;
|
|
21
|
+
semanticFilter?: types_FlattenFilter_FlattenFilter;
|
|
22
|
+
}
|
|
23
|
+
export declare const createResourceParams: (config: GetMetricFilterValuesConfig) => resources_postAnalyticsInsightsV1FilterValues_ResourceRequestConfig;
|
|
24
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetMetricFilterValuesConfig>): adapter$45$utils_Untrusted<GetMetricFilterValuesConfig>;
|
|
25
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetMetricFilterValuesConfig | null;
|
|
26
|
+
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>>;
|
|
27
|
+
export declare const getMetricFilterValuesAdapterFactory: $64$luvio_engine_AdapterFactory<GetMetricFilterValuesConfig, types_GetFilterValuesResponse_GetFilterValuesResponse>;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { createInsightsBatchAdapterFactory } from '../adapters/createInsightsBatch';
|
|
2
|
+
export { getMetricFilterValuesAdapterFactory } from '../adapters/getMetricFilterValues';
|
|
3
|
+
export { generateInsightsAdapterFactory } from '../adapters/generateInsights';
|
|
4
|
+
export { generateInsightsBasicAdapterFactory } from '../adapters/generateInsightsBasic';
|
|
5
|
+
export { getInsightsBatchAdapterFactory } from '../adapters/getInsightsBatch';
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
declare let createInsightsBatch: any;
|
|
2
|
+
declare let generateInsights: any;
|
|
3
|
+
declare let generateInsightsBasic: any;
|
|
4
|
+
declare let getInsightsBatch: any;
|
|
5
|
+
declare let getInsightsBatchNotifyChange: any;
|
|
6
|
+
declare let getMetricFilterValues: any;
|
|
7
|
+
declare let getInsightsBatch_imperative: any;
|
|
8
|
+
export { createInsightsBatch, generateInsights, generateInsightsBasic, getInsightsBatch, getInsightsBatchNotifyChange, getMetricFilterValues, getInsightsBatch_imperative, };
|
package/dist/es/es2018/types/src/generated/resources/getAnalyticsInsightsV1BatchesByBatchId.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
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
|
+
batchId: string;
|
|
6
|
+
};
|
|
7
|
+
headers: {
|
|
8
|
+
xSfdcSourceapp?: string;
|
|
9
|
+
xSfdcSourcecontext?: string;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
13
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
14
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
15
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_GetInsightBatchResponse_GetInsightBatchResponse): void;
|
|
16
|
+
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>;
|
|
17
|
+
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;
|
|
18
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
19
|
+
export default createResourceRequest;
|
|
20
|
+
export declare function createResourceRequestFromRepresentation(representation: types_GetInsightBatchResponse_GetInsightBatchResponse): $64$luvio_engine_ResourceRequest;
|
package/dist/es/es2018/types/src/generated/resources/postAnalyticsInsightsV1BasicGenerateBundle.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { InsightBundleInput as types_InsightBundleInput_InsightBundleInput } from '../types/InsightBundleInput';
|
|
2
|
+
import { InsightBundleOptions as types_InsightBundleOptions_InsightBundleOptions } from '../types/InsightBundleOptions';
|
|
3
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
4
|
+
import { GenerateInsightBundleResponse as types_GenerateInsightBundleResponse_GenerateInsightBundleResponse } from '../types/GenerateInsightBundleResponse';
|
|
5
|
+
export interface ResourceRequestConfig {
|
|
6
|
+
body: {
|
|
7
|
+
type?: string;
|
|
8
|
+
version?: number;
|
|
9
|
+
input?: types_InsightBundleInput_InsightBundleInput;
|
|
10
|
+
options?: types_InsightBundleOptions_InsightBundleOptions;
|
|
11
|
+
};
|
|
12
|
+
headers: {
|
|
13
|
+
xSfdcSourceapp?: string;
|
|
14
|
+
xSfdcSourcecontext?: string;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_GenerateInsightBundleResponse_GenerateInsightBundleResponse): void;
|
|
19
|
+
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>;
|
|
20
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
21
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { BatchInput as types_BatchInput_BatchInput } from '../types/BatchInput';
|
|
2
|
+
import { BatchOptions as types_BatchOptions_BatchOptions } from '../types/BatchOptions';
|
|
3
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
4
|
+
import { GenerateInsightBatchResponse as types_GenerateInsightBatchResponse_GenerateInsightBatchResponse } from '../types/GenerateInsightBatchResponse';
|
|
5
|
+
export interface ResourceRequestConfig {
|
|
6
|
+
body: {
|
|
7
|
+
batchInput?: Array<types_BatchInput_BatchInput>;
|
|
8
|
+
options?: types_BatchOptions_BatchOptions;
|
|
9
|
+
};
|
|
10
|
+
headers: {
|
|
11
|
+
xSfdcSourceapp?: string;
|
|
12
|
+
xSfdcSourcecontext?: string;
|
|
13
|
+
};
|
|
14
|
+
}
|
|
15
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
16
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_GenerateInsightBatchResponse_GenerateInsightBatchResponse): void;
|
|
17
|
+
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>;
|
|
18
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
19
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { SemanticDataModel as types_SemanticDataModel_SemanticDataModel } from '../types/SemanticDataModel';
|
|
2
|
+
import { FieldId as types_FieldId_FieldId } from '../types/FieldId';
|
|
3
|
+
import { Filter as types_Filter_Filter } from '../types/Filter';
|
|
4
|
+
import { FlattenFilter as types_FlattenFilter_FlattenFilter } from '../types/FlattenFilter';
|
|
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
|
+
field: types_FieldId_FieldId;
|
|
11
|
+
pageToken?: string;
|
|
12
|
+
pageSize?: number;
|
|
13
|
+
searchTerm?: string;
|
|
14
|
+
filters?: Array<types_Filter_Filter>;
|
|
15
|
+
semanticFilter?: types_FlattenFilter_FlattenFilter;
|
|
16
|
+
};
|
|
17
|
+
headers: {
|
|
18
|
+
xSfdcSourceapp?: string;
|
|
19
|
+
xSfdcSourcecontext?: string;
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
23
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_GetFilterValuesResponse_GetFilterValuesResponse): void;
|
|
24
|
+
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>;
|
|
25
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
26
|
+
export default createResourceRequest;
|
package/dist/es/es2018/types/src/generated/resources/postAnalyticsInsightsV1GenerateBundle.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { InsightBundleInput as types_InsightBundleInput_InsightBundleInput } from '../types/InsightBundleInput';
|
|
2
|
+
import { InsightBundleOptions as types_InsightBundleOptions_InsightBundleOptions } from '../types/InsightBundleOptions';
|
|
3
|
+
import { Luvio as $64$luvio_engine_Luvio, Fragment as $64$luvio_engine_Fragment, FetchResponse as $64$luvio_engine_FetchResponse, FulfilledSnapshot as $64$luvio_engine_FulfilledSnapshot, StaleSnapshot as $64$luvio_engine_StaleSnapshot, PendingSnapshot as $64$luvio_engine_PendingSnapshot, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
4
|
+
import { GenerateInsightBundleResponse as types_GenerateInsightBundleResponse_GenerateInsightBundleResponse } from '../types/GenerateInsightBundleResponse';
|
|
5
|
+
export interface ResourceRequestConfig {
|
|
6
|
+
body: {
|
|
7
|
+
type?: string;
|
|
8
|
+
version?: number;
|
|
9
|
+
input?: types_InsightBundleInput_InsightBundleInput;
|
|
10
|
+
options?: types_InsightBundleOptions_InsightBundleOptions;
|
|
11
|
+
};
|
|
12
|
+
headers: {
|
|
13
|
+
xSfdcSourceapp?: string;
|
|
14
|
+
xSfdcSourcecontext?: string;
|
|
15
|
+
};
|
|
16
|
+
}
|
|
17
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
18
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_GenerateInsightBundleResponse_GenerateInsightBundleResponse): void;
|
|
19
|
+
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>;
|
|
20
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
21
|
+
export default createResourceRequest;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { InsightBundleInput as InsightBundleInput_InsightBundleInput } from './InsightBundleInput';
|
|
2
|
+
import { MetricInstanceInput as MetricInstanceInput_MetricInstanceInput } from './MetricInstanceInput';
|
|
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 = "53e6b4edf252775b6c2d7d4f65c5fab1";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
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;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
+
export declare function equals(existing: BatchInputNormalized, incoming: BatchInputNormalized): 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: BatchInput, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface BatchInputNormalized {
|
|
19
|
+
bundleInput?: InsightBundleInput_InsightBundleInput;
|
|
20
|
+
metricInstanceInput?: MetricInstanceInput_MetricInstanceInput;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface BatchInput {
|
|
29
|
+
bundleInput?: InsightBundleInput_InsightBundleInput;
|
|
30
|
+
metricInstanceInput?: MetricInstanceInput_MetricInstanceInput;
|
|
31
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { InsightBundleOptions as InsightBundleOptions_InsightBundleOptions } from './InsightBundleOptions';
|
|
2
|
+
import { SummarizationOptions as SummarizationOptions_SummarizationOptions } from './SummarizationOptions';
|
|
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 = "80abbb463ae21ea9338ebc9cd03308d2";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: BatchOptions, existing: BatchOptionsNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): BatchOptionsNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
+
export declare function equals(existing: BatchOptionsNormalized, incoming: BatchOptionsNormalized): 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: BatchOptions, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface BatchOptionsNormalized {
|
|
19
|
+
/** Options to apply to each insight bundle */
|
|
20
|
+
bundle?: InsightBundleOptions_InsightBundleOptions;
|
|
21
|
+
/** Option to skip checking for batch/summary in cache */
|
|
22
|
+
skipCache?: boolean;
|
|
23
|
+
/** Options to apply to desired summary */
|
|
24
|
+
summarization?: SummarizationOptions_SummarizationOptions;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*
|
|
29
|
+
* Keys:
|
|
30
|
+
* (none)
|
|
31
|
+
*/
|
|
32
|
+
export interface BatchOptions {
|
|
33
|
+
bundle?: InsightBundleOptions_InsightBundleOptions;
|
|
34
|
+
skipCache?: boolean;
|
|
35
|
+
summarization?: SummarizationOptions_SummarizationOptions;
|
|
36
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 = "8c89da52ca65300129ebdd6635376d39";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: CategoricalFilterOptions, existing: CategoricalFilterOptionsNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CategoricalFilterOptionsNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: CategoricalFilterOptionsNormalized, incoming: CategoricalFilterOptionsNormalized): 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: CategoricalFilterOptions, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface CategoricalFilterOptionsNormalized {
|
|
17
|
+
/** To include or exclude null values. Options: ''null-values'', ''non-null-values'', ''all-values'' */
|
|
18
|
+
nullOption?: string;
|
|
19
|
+
operator?: string;
|
|
20
|
+
values?: Array<unknown>;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface CategoricalFilterOptions {
|
|
29
|
+
nullOption?: string;
|
|
30
|
+
operator?: string;
|
|
31
|
+
values?: Array<unknown>;
|
|
32
|
+
}
|
|
@@ -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,31 @@
|
|
|
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 = "e7721150e9d7c432c17de299f66edf4b";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: FieldId, existing: FieldIdNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): FieldIdNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: FieldIdNormalized, incoming: FieldIdNormalized): 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: FieldId, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface FieldIdNormalized {
|
|
17
|
+
datasource?: string;
|
|
18
|
+
fieldName?: string;
|
|
19
|
+
objectName?: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
*
|
|
23
|
+
*
|
|
24
|
+
* Keys:
|
|
25
|
+
* (none)
|
|
26
|
+
*/
|
|
27
|
+
export interface FieldId {
|
|
28
|
+
datasource?: string;
|
|
29
|
+
fieldName?: string;
|
|
30
|
+
objectName?: string;
|
|
31
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { CategoricalFilterOptions as CategoricalFilterOptions_CategoricalFilterOptions } from './CategoricalFilterOptions';
|
|
2
|
+
import { FieldId as FieldId_FieldId } from './FieldId';
|
|
3
|
+
import { RangeFilterOptions as RangeFilterOptions_RangeFilterOptions } from './RangeFilterOptions';
|
|
4
|
+
import { RelativeDateFilterOptions as RelativeDateFilterOptions_RelativeDateFilterOptions } from './RelativeDateFilterOptions';
|
|
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 = "3a96690d739bba901ead314eb111177e";
|
|
7
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
8
|
+
export declare const RepresentationType: string;
|
|
9
|
+
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;
|
|
10
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
11
|
+
export declare function equals(existing: FilterNormalized, incoming: FilterNormalized): 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: Filter, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
14
|
+
/**
|
|
15
|
+
* The old dashboard-style filter
|
|
16
|
+
*
|
|
17
|
+
* Keys:
|
|
18
|
+
* (none)
|
|
19
|
+
*/
|
|
20
|
+
export interface FilterNormalized {
|
|
21
|
+
categoricalFilterOptions?: CategoricalFilterOptions_CategoricalFilterOptions;
|
|
22
|
+
field?: FieldId_FieldId;
|
|
23
|
+
fieldId?: FieldId_FieldId;
|
|
24
|
+
rangeFilterOptions?: RangeFilterOptions_RangeFilterOptions;
|
|
25
|
+
relativeDateFilterOptions?: RelativeDateFilterOptions_RelativeDateFilterOptions;
|
|
26
|
+
/** Acceptable types are:
|
|
27
|
+
'categorical'
|
|
28
|
+
'range'
|
|
29
|
+
'relative-date' */
|
|
30
|
+
type?: string;
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* The old dashboard-style filter
|
|
34
|
+
*
|
|
35
|
+
* Keys:
|
|
36
|
+
* (none)
|
|
37
|
+
*/
|
|
38
|
+
export interface Filter {
|
|
39
|
+
categoricalFilterOptions?: CategoricalFilterOptions_CategoricalFilterOptions;
|
|
40
|
+
field?: FieldId_FieldId;
|
|
41
|
+
fieldId?: FieldId_FieldId;
|
|
42
|
+
rangeFilterOptions?: RangeFilterOptions_RangeFilterOptions;
|
|
43
|
+
relativeDateFilterOptions?: RelativeDateFilterOptions_RelativeDateFilterOptions;
|
|
44
|
+
type?: string;
|
|
45
|
+
}
|