@salesforce/lds-adapters-cdp-calculated-insights 1.295.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 (27) hide show
  1. package/LICENSE.txt +82 -0
  2. package/dist/es/es2018/cdp-calculated-insights.js +1457 -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/getCdpCalculatedInsight.d.ts +28 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getCdpCalculatedInsightCollection.d.ts +32 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getCdpInsightsQuery.d.ts +35 -0
  7. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
  8. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +8 -0
  9. package/dist/es/es2018/types/src/generated/resources/getSsotCalculatedInsights.d.ts +20 -0
  10. package/dist/es/es2018/types/src/generated/resources/getSsotCalculatedInsightsByApiName.d.ts +16 -0
  11. package/dist/es/es2018/types/src/generated/resources/getSsotInsightCalculatedInsightsByCiName.d.ts +25 -0
  12. package/dist/es/es2018/types/src/generated/types/CdpCalculatedInsightCollectionDataRepresentation.d.ts +62 -0
  13. package/dist/es/es2018/types/src/generated/types/CdpCalculatedInsightCollectionRepresentation.d.ts +29 -0
  14. package/dist/es/es2018/types/src/generated/types/CdpCalculatedInsightDataSourceRepresentation.d.ts +31 -0
  15. package/dist/es/es2018/types/src/generated/types/CdpCalculatedInsightDimensionRepresentation.d.ts +50 -0
  16. package/dist/es/es2018/types/src/generated/types/CdpCalculatedInsightErrorResponseRepresentation.d.ts +40 -0
  17. package/dist/es/es2018/types/src/generated/types/CdpCalculatedInsightMeasureRepresentation.d.ts +50 -0
  18. package/dist/es/es2018/types/src/generated/types/CdpCalculatedInsightRepresentation.d.ts +99 -0
  19. package/dist/es/es2018/types/src/generated/types/CdpQueryMetadataItemRepresentation.d.ts +34 -0
  20. package/dist/es/es2018/types/src/generated/types/CdpQueryMetadataOutputRepresentation.d.ts +28 -0
  21. package/dist/es/es2018/types/src/generated/types/CdpQueryOutputRepresentation.d.ts +54 -0
  22. package/dist/es/es2018/types/src/generated/types/type-utils.d.ts +32 -0
  23. package/package.json +66 -0
  24. package/sfdc/index.d.ts +1 -0
  25. package/sfdc/index.js +1555 -0
  26. package/src/raml/api.raml +360 -0
  27. package/src/raml/luvio.raml +49 -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 = "calculated-insights";
@@ -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_getSsotCalculatedInsightsByApiName_ResourceRequestConfig } from '../resources/getSsotCalculatedInsightsByApiName';
4
+ import { CdpCalculatedInsightRepresentation as types_CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation, KeyParams as types_CdpCalculatedInsightRepresentation_KeyParams } from '../types/CdpCalculatedInsightRepresentation';
5
+ export declare const adapterName = "getCdpCalculatedInsight";
6
+ export declare const getCdpCalculatedInsight_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
+ export declare const getCdpCalculatedInsight_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface GetCdpCalculatedInsightConfig {
9
+ apiName: string;
10
+ }
11
+ export declare const createResourceParams: (config: GetCdpCalculatedInsightConfig) => resources_getSsotCalculatedInsightsByApiName_ResourceRequestConfig;
12
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetCdpCalculatedInsightConfig): string;
13
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetCdpCalculatedInsightConfig): $64$luvio_engine_NormalizedKeyMetadata;
14
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetCdpCalculatedInsightConfig>): adapter$45$utils_Untrusted<GetCdpCalculatedInsightConfig>;
15
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetCdpCalculatedInsightConfig | null;
16
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetCdpCalculatedInsightConfig): $64$luvio_engine_Fragment;
17
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCdpCalculatedInsightConfig): $64$luvio_engine_Snapshot<types_CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation, any>;
18
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetCdpCalculatedInsightConfig, resourceParams: resources_getSsotCalculatedInsightsByApiName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation, any>>;
19
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetCdpCalculatedInsightConfig, resourceParams: resources_getSsotCalculatedInsightsByApiName_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
20
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCdpCalculatedInsightConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation, any>>;
21
+ export type BuildSnapshotContext = {
22
+ luvio: $64$luvio_engine_Luvio;
23
+ config: GetCdpCalculatedInsightConfig;
24
+ };
25
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation, any>>;
26
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation>): $64$luvio_engine_Snapshot<types_CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation, any>;
27
+ export declare const getCdpCalculatedInsightAdapterFactory: $64$luvio_engine_AdapterFactory<GetCdpCalculatedInsightConfig, types_CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation>;
28
+ export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_CdpCalculatedInsightRepresentation_KeyParams, any>[]) => void;
@@ -0,0 +1,32 @@
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 } from './adapter-utils';
3
+ import { ResourceRequestConfig as resources_getSsotCalculatedInsights_ResourceRequestConfig } from '../resources/getSsotCalculatedInsights';
4
+ import { CdpCalculatedInsightCollectionRepresentation as types_CdpCalculatedInsightCollectionRepresentation_CdpCalculatedInsightCollectionRepresentation } from '../types/CdpCalculatedInsightCollectionRepresentation';
5
+ export declare const adapterName = "getCdpCalculatedInsightCollection";
6
+ export declare const getCdpCalculatedInsightCollection_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
+ export declare const getCdpCalculatedInsightCollection_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface GetCdpCalculatedInsightCollectionConfig {
9
+ batchSize?: number;
10
+ dataspace?: string;
11
+ definitionType?: string;
12
+ offset?: number;
13
+ orderby?: string;
14
+ pageToken?: string;
15
+ }
16
+ export declare const createResourceParams: (config: GetCdpCalculatedInsightCollectionConfig) => resources_getSsotCalculatedInsights_ResourceRequestConfig;
17
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetCdpCalculatedInsightCollectionConfig): string;
18
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetCdpCalculatedInsightCollectionConfig): $64$luvio_engine_NormalizedKeyMetadata;
19
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetCdpCalculatedInsightCollectionConfig>): adapter$45$utils_Untrusted<GetCdpCalculatedInsightCollectionConfig>;
20
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetCdpCalculatedInsightCollectionConfig | null;
21
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetCdpCalculatedInsightCollectionConfig): $64$luvio_engine_Fragment;
22
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCdpCalculatedInsightCollectionConfig): $64$luvio_engine_Snapshot<types_CdpCalculatedInsightCollectionRepresentation_CdpCalculatedInsightCollectionRepresentation, any>;
23
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetCdpCalculatedInsightCollectionConfig, resourceParams: resources_getSsotCalculatedInsights_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CdpCalculatedInsightCollectionRepresentation_CdpCalculatedInsightCollectionRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_CdpCalculatedInsightCollectionRepresentation_CdpCalculatedInsightCollectionRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CdpCalculatedInsightCollectionRepresentation_CdpCalculatedInsightCollectionRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CdpCalculatedInsightCollectionRepresentation_CdpCalculatedInsightCollectionRepresentation, any>>;
24
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetCdpCalculatedInsightCollectionConfig, resourceParams: resources_getSsotCalculatedInsights_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
25
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCdpCalculatedInsightCollectionConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_CdpCalculatedInsightCollectionRepresentation_CdpCalculatedInsightCollectionRepresentation, any>>;
26
+ export type BuildSnapshotContext = {
27
+ luvio: $64$luvio_engine_Luvio;
28
+ config: GetCdpCalculatedInsightCollectionConfig;
29
+ };
30
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_CdpCalculatedInsightCollectionRepresentation_CdpCalculatedInsightCollectionRepresentation, any>>;
31
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_CdpCalculatedInsightCollectionRepresentation_CdpCalculatedInsightCollectionRepresentation>): $64$luvio_engine_Snapshot<types_CdpCalculatedInsightCollectionRepresentation_CdpCalculatedInsightCollectionRepresentation, any>;
32
+ export declare const getCdpCalculatedInsightCollectionAdapterFactory: $64$luvio_engine_AdapterFactory<GetCdpCalculatedInsightCollectionConfig, types_CdpCalculatedInsightCollectionRepresentation_CdpCalculatedInsightCollectionRepresentation>;
@@ -0,0 +1,35 @@
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 } from './adapter-utils';
3
+ import { ResourceRequestConfig as resources_getSsotInsightCalculatedInsightsByCiName_ResourceRequestConfig } from '../resources/getSsotInsightCalculatedInsightsByCiName';
4
+ import { CdpQueryOutputRepresentation as types_CdpQueryOutputRepresentation_CdpQueryOutputRepresentation } from '../types/CdpQueryOutputRepresentation';
5
+ export declare const adapterName = "getCdpInsightsQuery";
6
+ export declare const getCdpInsightsQuery_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
+ export declare const getCdpInsightsQuery_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface GetCdpInsightsQueryConfig {
9
+ ciName: string;
10
+ batchSize?: number;
11
+ dataspace?: string;
12
+ dimensions?: string;
13
+ filters?: string;
14
+ measures?: string;
15
+ offset?: number;
16
+ orderby?: string;
17
+ timeGranularity?: string;
18
+ }
19
+ export declare const createResourceParams: (config: GetCdpInsightsQueryConfig) => resources_getSsotInsightCalculatedInsightsByCiName_ResourceRequestConfig;
20
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetCdpInsightsQueryConfig): string;
21
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetCdpInsightsQueryConfig): $64$luvio_engine_NormalizedKeyMetadata;
22
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetCdpInsightsQueryConfig>): adapter$45$utils_Untrusted<GetCdpInsightsQueryConfig>;
23
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetCdpInsightsQueryConfig | null;
24
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetCdpInsightsQueryConfig): $64$luvio_engine_Fragment;
25
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCdpInsightsQueryConfig): $64$luvio_engine_Snapshot<types_CdpQueryOutputRepresentation_CdpQueryOutputRepresentation, any>;
26
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetCdpInsightsQueryConfig, resourceParams: resources_getSsotInsightCalculatedInsightsByCiName_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CdpQueryOutputRepresentation_CdpQueryOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_CdpQueryOutputRepresentation_CdpQueryOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_CdpQueryOutputRepresentation_CdpQueryOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_CdpQueryOutputRepresentation_CdpQueryOutputRepresentation, any>>;
27
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetCdpInsightsQueryConfig, resourceParams: resources_getSsotInsightCalculatedInsightsByCiName_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
28
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetCdpInsightsQueryConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_CdpQueryOutputRepresentation_CdpQueryOutputRepresentation, any>>;
29
+ export type BuildSnapshotContext = {
30
+ luvio: $64$luvio_engine_Luvio;
31
+ config: GetCdpInsightsQueryConfig;
32
+ };
33
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_CdpQueryOutputRepresentation_CdpQueryOutputRepresentation, any>>;
34
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_CdpQueryOutputRepresentation_CdpQueryOutputRepresentation>): $64$luvio_engine_Snapshot<types_CdpQueryOutputRepresentation_CdpQueryOutputRepresentation, any>;
35
+ export declare const getCdpInsightsQueryAdapterFactory: $64$luvio_engine_AdapterFactory<GetCdpInsightsQueryConfig, types_CdpQueryOutputRepresentation_CdpQueryOutputRepresentation>;
@@ -0,0 +1,3 @@
1
+ export { getCdpCalculatedInsightCollectionAdapterFactory } from '../adapters/getCdpCalculatedInsightCollection';
2
+ export { getCdpCalculatedInsightAdapterFactory } from '../adapters/getCdpCalculatedInsight';
3
+ export { getCdpInsightsQueryAdapterFactory } from '../adapters/getCdpInsightsQuery';
@@ -0,0 +1,8 @@
1
+ declare let getCdpCalculatedInsight: any;
2
+ declare let getCdpCalculatedInsightCollection: any;
3
+ declare let getCdpCalculatedInsightNotifyChange: any;
4
+ declare let getCdpInsightsQuery: any;
5
+ declare let getCdpCalculatedInsight_imperative: any;
6
+ declare let getCdpCalculatedInsightCollection_imperative: any;
7
+ declare let getCdpInsightsQuery_imperative: any;
8
+ export { getCdpCalculatedInsight, getCdpCalculatedInsightCollection, getCdpCalculatedInsightNotifyChange, getCdpInsightsQuery, getCdpCalculatedInsight_imperative, getCdpCalculatedInsightCollection_imperative, getCdpInsightsQuery_imperative, };
@@ -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 { CdpCalculatedInsightCollectionRepresentation as types_CdpCalculatedInsightCollectionRepresentation_CdpCalculatedInsightCollectionRepresentation } from '../types/CdpCalculatedInsightCollectionRepresentation';
3
+ export interface ResourceRequestConfig {
4
+ queryParams: {
5
+ batchSize?: number;
6
+ dataspace?: string;
7
+ definitionType?: string;
8
+ offset?: number;
9
+ orderby?: string;
10
+ pageToken?: string;
11
+ };
12
+ }
13
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
14
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
15
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
16
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CdpCalculatedInsightCollectionRepresentation_CdpCalculatedInsightCollectionRepresentation): void;
17
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CdpCalculatedInsightCollectionRepresentation_CdpCalculatedInsightCollectionRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CdpCalculatedInsightCollectionRepresentation_CdpCalculatedInsightCollectionRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CdpCalculatedInsightCollectionRepresentation_CdpCalculatedInsightCollectionRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CdpCalculatedInsightCollectionRepresentation_CdpCalculatedInsightCollectionRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CdpCalculatedInsightCollectionRepresentation_CdpCalculatedInsightCollectionRepresentation, any>;
18
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CdpCalculatedInsightCollectionRepresentation_CdpCalculatedInsightCollectionRepresentation>): $64$luvio_engine_ErrorSnapshot;
19
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
20
+ export default createResourceRequest;
@@ -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 { CdpCalculatedInsightRepresentation as types_CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation } from '../types/CdpCalculatedInsightRepresentation';
3
+ export interface ResourceRequestConfig {
4
+ urlParams: {
5
+ apiName: 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_CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation): void;
12
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation, any>;
13
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation>): $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_CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation): $64$luvio_engine_ResourceRequest;
@@ -0,0 +1,25 @@
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 { CdpQueryOutputRepresentation as types_CdpQueryOutputRepresentation_CdpQueryOutputRepresentation } from '../types/CdpQueryOutputRepresentation';
3
+ export interface ResourceRequestConfig {
4
+ urlParams: {
5
+ ciName: string;
6
+ };
7
+ queryParams: {
8
+ batchSize?: number;
9
+ dataspace?: string;
10
+ dimensions?: string;
11
+ filters?: string;
12
+ measures?: string;
13
+ offset?: number;
14
+ orderby?: string;
15
+ timeGranularity?: string;
16
+ };
17
+ }
18
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
19
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
20
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
21
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_CdpQueryOutputRepresentation_CdpQueryOutputRepresentation): void;
22
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_CdpQueryOutputRepresentation_CdpQueryOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CdpQueryOutputRepresentation_CdpQueryOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_CdpQueryOutputRepresentation_CdpQueryOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_CdpQueryOutputRepresentation_CdpQueryOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_CdpQueryOutputRepresentation_CdpQueryOutputRepresentation, any>;
23
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_CdpQueryOutputRepresentation_CdpQueryOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
24
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
25
+ export default createResourceRequest;
@@ -0,0 +1,62 @@
1
+ import { CdpCalculatedInsightRepresentation as CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation } from './CdpCalculatedInsightRepresentation';
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, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
+ export declare const VERSION = "cc5713a71a83dc7d3eb999fe624b8854";
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
+ id: string;
8
+ }
9
+ export type CdpCalculatedInsightCollectionDataRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
10
+ export type PartialCdpCalculatedInsightCollectionDataRepresentationNormalizedKeyMetadata = 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): CdpCalculatedInsightCollectionDataRepresentationNormalizedKeyMetadata;
13
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: CdpCalculatedInsightCollectionDataRepresentation): string;
14
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: CdpCalculatedInsightCollectionDataRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
15
+ export declare function normalize(input: CdpCalculatedInsightCollectionDataRepresentation, existing: CdpCalculatedInsightCollectionDataRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpCalculatedInsightCollectionDataRepresentationNormalized;
16
+ export declare const select: () => $64$luvio_engine_BaseFragment;
17
+ export declare function equals(existing: CdpCalculatedInsightCollectionDataRepresentationNormalized, incoming: CdpCalculatedInsightCollectionDataRepresentationNormalized): 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: CdpCalculatedInsightCollectionDataRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
20
+ /**
21
+ * Container data representation.
22
+ *
23
+ * Keys:
24
+ * id (string): currentPageToken
25
+ */
26
+ export interface CdpCalculatedInsightCollectionDataRepresentationNormalized {
27
+ /** The number of results returned in this page. */
28
+ count: number;
29
+ /** Support for server side pagination - Current page token (base64 of the query parameters). Use this in token request parameter. */
30
+ currentPageToken: string;
31
+ /** Support for server side pagination - Current page absolute url with query parameters. */
32
+ currentPageUrl: string;
33
+ /** List of calculatedInsights. */
34
+ items: Array<$64$luvio_engine_StoreLink>;
35
+ /** Support for server side pagination - Next page token (base64 of the query parameters). Use this in token request parameter. */
36
+ nextPageToken: string | null;
37
+ /** Support for server side pagination - Next page absolute url with query parameters. */
38
+ nextPageUrl: string | null;
39
+ /** Support for server side pagination - Previous page token (base64 of the query parameters). Use this in token request parameter. */
40
+ previousPageToken: string | null;
41
+ /** Support for server side pagination - Previous page absolute url with query parameters. */
42
+ previousPageUrl: string | null;
43
+ /** Total row count of calculatedInsights. */
44
+ total: number;
45
+ }
46
+ /**
47
+ * Container data representation.
48
+ *
49
+ * Keys:
50
+ * id (string): currentPageToken
51
+ */
52
+ export interface CdpCalculatedInsightCollectionDataRepresentation {
53
+ count: number;
54
+ currentPageToken: string;
55
+ currentPageUrl: string;
56
+ items: Array<CdpCalculatedInsightRepresentation_CdpCalculatedInsightRepresentation>;
57
+ nextPageToken: string | null;
58
+ nextPageUrl: string | null;
59
+ previousPageToken: string | null;
60
+ previousPageUrl: string | null;
61
+ total: number;
62
+ }
@@ -0,0 +1,29 @@
1
+ import { CdpCalculatedInsightCollectionDataRepresentation as CdpCalculatedInsightCollectionDataRepresentation_CdpCalculatedInsightCollectionDataRepresentation } from './CdpCalculatedInsightCollectionDataRepresentation';
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
+ export declare const VERSION = "7df690c1f12184b48859d00c5e68f477";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: CdpCalculatedInsightCollectionRepresentation, existing: CdpCalculatedInsightCollectionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpCalculatedInsightCollectionRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_BaseFragment;
8
+ export declare function equals(existing: CdpCalculatedInsightCollectionRepresentationNormalized, incoming: CdpCalculatedInsightCollectionRepresentationNormalized): 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: CdpCalculatedInsightCollectionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * Container of a calculated insights page.
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface CdpCalculatedInsightCollectionRepresentationNormalized {
18
+ /** Collection Data Representation. Following standard API format. */
19
+ collection: $64$luvio_engine_StoreLink;
20
+ }
21
+ /**
22
+ * Container of a calculated insights page.
23
+ *
24
+ * Keys:
25
+ * (none)
26
+ */
27
+ export interface CdpCalculatedInsightCollectionRepresentation {
28
+ collection: CdpCalculatedInsightCollectionDataRepresentation_CdpCalculatedInsightCollectionDataRepresentation;
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, BaseFragment as $64$luvio_engine_BaseFragment, 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 = "7b63232209790a6c20060f7e2551affc";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: CdpCalculatedInsightDataSourceRepresentation, existing: CdpCalculatedInsightDataSourceRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpCalculatedInsightDataSourceRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_BaseFragment;
7
+ export declare function equals(existing: CdpCalculatedInsightDataSourceRepresentationNormalized, incoming: CdpCalculatedInsightDataSourceRepresentationNormalized): 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: CdpCalculatedInsightDataSourceRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * A calculated insight data source.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface CdpCalculatedInsightDataSourceRepresentationNormalized {
17
+ /** Source Api Name */
18
+ sourceApiName: string;
19
+ /** Type */
20
+ type: string;
21
+ }
22
+ /**
23
+ * A calculated insight data source.
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface CdpCalculatedInsightDataSourceRepresentation {
29
+ sourceApiName: string;
30
+ type: string;
31
+ }
@@ -0,0 +1,50 @@
1
+ import { CdpCalculatedInsightDataSourceRepresentation as CdpCalculatedInsightDataSourceRepresentation_CdpCalculatedInsightDataSourceRepresentation } from './CdpCalculatedInsightDataSourceRepresentation';
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
+ export declare const VERSION = "cf4e2cffc29181939fa831660af96085";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: CdpCalculatedInsightDimensionRepresentation, existing: CdpCalculatedInsightDimensionRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpCalculatedInsightDimensionRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_BaseFragment;
8
+ export declare function equals(existing: CdpCalculatedInsightDimensionRepresentationNormalized, incoming: CdpCalculatedInsightDimensionRepresentationNormalized): 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: CdpCalculatedInsightDimensionRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * A calculated insight dimension.
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface CdpCalculatedInsightDimensionRepresentationNormalized {
18
+ /** Api Name */
19
+ apiName: string;
20
+ /** Creation Type */
21
+ creationType: string;
22
+ /** Data Source */
23
+ dataSource: $64$luvio_engine_StoreLink;
24
+ /** Data Type */
25
+ dataType: string;
26
+ /** Date Granularity */
27
+ dateGranularity: string | null;
28
+ /** Display Name */
29
+ displayName: string;
30
+ /** Field Role */
31
+ fieldRole: string;
32
+ /** Formula */
33
+ formula: string;
34
+ }
35
+ /**
36
+ * A calculated insight dimension.
37
+ *
38
+ * Keys:
39
+ * (none)
40
+ */
41
+ export interface CdpCalculatedInsightDimensionRepresentation {
42
+ apiName: string;
43
+ creationType: string;
44
+ dataSource: CdpCalculatedInsightDataSourceRepresentation_CdpCalculatedInsightDataSourceRepresentation;
45
+ dataType: string;
46
+ dateGranularity: string | null;
47
+ displayName: string;
48
+ fieldRole: string;
49
+ formula: string;
50
+ }
@@ -0,0 +1,40 @@
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, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
+ export declare const VERSION = "250d5c78c6f0d3ba4b36ae7bfa7c2f7f";
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
+ message: string;
7
+ }
8
+ export type CdpCalculatedInsightErrorResponseRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
9
+ export type PartialCdpCalculatedInsightErrorResponseRepresentationNormalizedKeyMetadata = 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): CdpCalculatedInsightErrorResponseRepresentationNormalizedKeyMetadata;
12
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: CdpCalculatedInsightErrorResponseRepresentation): string;
13
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: CdpCalculatedInsightErrorResponseRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
14
+ export declare function normalize(input: CdpCalculatedInsightErrorResponseRepresentation, existing: CdpCalculatedInsightErrorResponseRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpCalculatedInsightErrorResponseRepresentationNormalized;
15
+ export declare const select: () => $64$luvio_engine_BaseFragment;
16
+ export declare function equals(existing: CdpCalculatedInsightErrorResponseRepresentationNormalized, incoming: CdpCalculatedInsightErrorResponseRepresentationNormalized): 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: CdpCalculatedInsightErrorResponseRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
19
+ /**
20
+ * Calculated Insight error response representation
21
+ *
22
+ * Keys:
23
+ * message (string): message
24
+ */
25
+ export interface CdpCalculatedInsightErrorResponseRepresentationNormalized {
26
+ /** Error code */
27
+ errorCode: string;
28
+ /** Error message */
29
+ message: string;
30
+ }
31
+ /**
32
+ * Calculated Insight error response representation
33
+ *
34
+ * Keys:
35
+ * message (string): message
36
+ */
37
+ export interface CdpCalculatedInsightErrorResponseRepresentation {
38
+ errorCode: string;
39
+ message: string;
40
+ }
@@ -0,0 +1,50 @@
1
+ import { CdpCalculatedInsightDataSourceRepresentation as CdpCalculatedInsightDataSourceRepresentation_CdpCalculatedInsightDataSourceRepresentation } from './CdpCalculatedInsightDataSourceRepresentation';
2
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
+ export declare const VERSION = "0daefe39a94894abf96c2ff99085beaf";
4
+ export declare function validate(obj: any, path?: string): TypeError | null;
5
+ export declare const RepresentationType: string;
6
+ export declare function normalize(input: CdpCalculatedInsightMeasureRepresentation, existing: CdpCalculatedInsightMeasureRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): CdpCalculatedInsightMeasureRepresentationNormalized;
7
+ export declare const select: () => $64$luvio_engine_BaseFragment;
8
+ export declare function equals(existing: CdpCalculatedInsightMeasureRepresentationNormalized, incoming: CdpCalculatedInsightMeasureRepresentationNormalized): 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: CdpCalculatedInsightMeasureRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
11
+ /**
12
+ * A calculated insight measure.
13
+ *
14
+ * Keys:
15
+ * (none)
16
+ */
17
+ export interface CdpCalculatedInsightMeasureRepresentationNormalized {
18
+ /** Api Name */
19
+ apiName: string;
20
+ /** Creation Type */
21
+ creationType: string;
22
+ /** Data Source */
23
+ dataSource: $64$luvio_engine_StoreLink;
24
+ /** Data Type */
25
+ dataType: string;
26
+ /** Display Name */
27
+ displayName: string;
28
+ /** Field Aggregation Type */
29
+ fieldAggregationType: string;
30
+ /** Field Role */
31
+ fieldRole: string;
32
+ /** Formula */
33
+ formula: string;
34
+ }
35
+ /**
36
+ * A calculated insight measure.
37
+ *
38
+ * Keys:
39
+ * (none)
40
+ */
41
+ export interface CdpCalculatedInsightMeasureRepresentation {
42
+ apiName: string;
43
+ creationType: string;
44
+ dataSource: CdpCalculatedInsightDataSourceRepresentation_CdpCalculatedInsightDataSourceRepresentation;
45
+ dataType: string;
46
+ displayName: string;
47
+ fieldAggregationType: string;
48
+ fieldRole: string;
49
+ formula: string;
50
+ }