@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,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 = "9a4f0f6afd72539eaa9ecacc66570157";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: RelativePeriod, existing: RelativePeriodNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RelativePeriodNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: RelativePeriodNormalized, incoming: RelativePeriodNormalized): 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: RelativePeriod, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* The old insights time filter
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface RelativePeriodNormalized {
|
|
17
|
+
granularity?: string;
|
|
18
|
+
range?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The old insights time filter
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface RelativePeriod {
|
|
27
|
+
granularity?: string;
|
|
28
|
+
range?: string;
|
|
29
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { RepresentationOptions_NumberUnits as RepresentationOptions_NumberUnits_RepresentationOptions_NumberUnits } from './RepresentationOptions_NumberUnits';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "a9df66663b29cc9013ee9fb623e4c893";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: RepresentationOptions, existing: RepresentationOptionsNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RepresentationOptionsNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: RepresentationOptionsNormalized, incoming: RepresentationOptionsNormalized): 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: RepresentationOptions, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface RepresentationOptionsNormalized {
|
|
18
|
+
numberUnits: RepresentationOptions_NumberUnits_RepresentationOptions_NumberUnits;
|
|
19
|
+
sentimentType?: string;
|
|
20
|
+
type?: string;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface RepresentationOptions {
|
|
29
|
+
numberUnits: RepresentationOptions_NumberUnits_RepresentationOptions_NumberUnits;
|
|
30
|
+
sentimentType?: string;
|
|
31
|
+
type?: string;
|
|
32
|
+
}
|
|
@@ -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 = "a218549a70c7daba4b004937ecfb6810";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: RepresentationOptions_NumberUnits, existing: RepresentationOptions_NumberUnitsNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): RepresentationOptions_NumberUnitsNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: RepresentationOptions_NumberUnitsNormalized, incoming: RepresentationOptions_NumberUnitsNormalized): 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: RepresentationOptions_NumberUnits, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface RepresentationOptions_NumberUnitsNormalized {
|
|
17
|
+
pluralNoun?: string;
|
|
18
|
+
singularNoun?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface RepresentationOptions_NumberUnits {
|
|
27
|
+
pluralNoun?: string;
|
|
28
|
+
singularNoun?: string;
|
|
29
|
+
}
|
|
@@ -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 = "fbf40f0b5e8eb7a46aad045f560ddc14";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SemanticDataModel, existing: SemanticDataModelNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticDataModelNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SemanticDataModelNormalized, incoming: SemanticDataModelNormalized): 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: SemanticDataModel, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SemanticDataModelNormalized {
|
|
17
|
+
apiName?: string;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
*
|
|
21
|
+
*
|
|
22
|
+
* Keys:
|
|
23
|
+
* (none)
|
|
24
|
+
*/
|
|
25
|
+
export interface SemanticDataModel {
|
|
26
|
+
apiName?: string;
|
|
27
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "49eaef4feb2842f23c1044184e330be5";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SemanticFilter, existing: SemanticFilterNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticFilterNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SemanticFilterNormalized, incoming: SemanticFilterNormalized): 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: SemanticFilter, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Message representing Semantic Filter.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SemanticFilterNormalized {
|
|
17
|
+
aggregationMethod?: string;
|
|
18
|
+
fieldName: string;
|
|
19
|
+
fieldType?: string;
|
|
20
|
+
operator: string;
|
|
21
|
+
value?: string;
|
|
22
|
+
values?: Array<string>;
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* Message representing Semantic Filter.
|
|
26
|
+
*
|
|
27
|
+
* Keys:
|
|
28
|
+
* (none)
|
|
29
|
+
*/
|
|
30
|
+
export interface SemanticFilter {
|
|
31
|
+
aggregationMethod?: string;
|
|
32
|
+
fieldName: string;
|
|
33
|
+
fieldType?: string;
|
|
34
|
+
operator: string;
|
|
35
|
+
value?: string;
|
|
36
|
+
values?: Array<string>;
|
|
37
|
+
}
|
|
@@ -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 = "bbba5f281b443221e96fa2e9e8eae2d9";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: Status, existing: StatusNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): StatusNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: StatusNormalized, incoming: StatusNormalized): 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: Status, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface StatusNormalized {
|
|
17
|
+
/** Defines how the metric is tracking */
|
|
18
|
+
qualifier?: string;
|
|
19
|
+
/** Represents a sentiment towards metric status.
|
|
20
|
+
Status sentiment is determined based on metric sentiment (e.g. up is good) and status qualifier */
|
|
21
|
+
sentiment?: string;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface Status {
|
|
30
|
+
qualifier?: string;
|
|
31
|
+
sentiment?: string;
|
|
32
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
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 = "74e461ef7599327c627d1dc78f09b3dc";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: SummarizationOptions, existing: SummarizationOptionsNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SummarizationOptionsNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SummarizationOptionsNormalized, incoming: SummarizationOptionsNormalized): 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: SummarizationOptions, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SummarizationOptionsNormalized {
|
|
17
|
+
/** The strategy to use for the summary */
|
|
18
|
+
strategy?: string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface SummarizationOptions {
|
|
27
|
+
strategy?: string;
|
|
28
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const VERSION = "6e24eb6767cb7eb05e4ae19fffe299b1";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: Summary, existing: SummaryNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SummaryNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: SummaryNormalized, incoming: SummaryNormalized): 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: Summary, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
*
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface SummaryNormalized {
|
|
17
|
+
/** ID of the Einstein GPT generation request. */
|
|
18
|
+
generationId?: string;
|
|
19
|
+
/** Text for the summary */
|
|
20
|
+
markup: string;
|
|
21
|
+
/** Which summarization strategy was used */
|
|
22
|
+
strategy: string;
|
|
23
|
+
/** Timestamp of the summary generation in UTC */
|
|
24
|
+
timestamp: string;
|
|
25
|
+
}
|
|
26
|
+
/**
|
|
27
|
+
*
|
|
28
|
+
*
|
|
29
|
+
* Keys:
|
|
30
|
+
* (none)
|
|
31
|
+
*/
|
|
32
|
+
export interface Summary {
|
|
33
|
+
generationId?: string;
|
|
34
|
+
markup: string;
|
|
35
|
+
strategy: string;
|
|
36
|
+
timestamp: string;
|
|
37
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { Error as Error_Error } from './Error';
|
|
2
|
+
import { Summary as Summary_Summary } from './Summary';
|
|
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 = "fc433e1c68019470090193fa4fdf976f";
|
|
5
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
|
+
export declare const RepresentationType: string;
|
|
7
|
+
export declare function normalize(input: SummaryResponse, existing: SummaryResponseNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SummaryResponseNormalized;
|
|
8
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
9
|
+
export declare function equals(existing: SummaryResponseNormalized, incoming: SummaryResponseNormalized): 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: SummaryResponse, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
*
|
|
15
|
+
* Keys:
|
|
16
|
+
* (none)
|
|
17
|
+
*/
|
|
18
|
+
export interface SummaryResponseNormalized {
|
|
19
|
+
error?: Error_Error;
|
|
20
|
+
result: Summary_Summary;
|
|
21
|
+
}
|
|
22
|
+
/**
|
|
23
|
+
*
|
|
24
|
+
*
|
|
25
|
+
* Keys:
|
|
26
|
+
* (none)
|
|
27
|
+
*/
|
|
28
|
+
export interface SummaryResponse {
|
|
29
|
+
error?: Error_Error;
|
|
30
|
+
result: Summary_Summary;
|
|
31
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { FieldId as FieldId_FieldId } from './FieldId';
|
|
2
|
+
import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
3
|
+
export declare const VERSION = "c2610f8e6b72d79cbeb7be396f8d3e4b";
|
|
4
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
5
|
+
export declare const RepresentationType: string;
|
|
6
|
+
export declare function normalize(input: TimeDimension, existing: TimeDimensionNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): TimeDimensionNormalized;
|
|
7
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
8
|
+
export declare function equals(existing: TimeDimensionNormalized, incoming: TimeDimensionNormalized): 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: TimeDimension, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
11
|
+
/**
|
|
12
|
+
*
|
|
13
|
+
*
|
|
14
|
+
* Keys:
|
|
15
|
+
* (none)
|
|
16
|
+
*/
|
|
17
|
+
export interface TimeDimensionNormalized {
|
|
18
|
+
field: FieldId_FieldId;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
*
|
|
22
|
+
*
|
|
23
|
+
* Keys:
|
|
24
|
+
* (none)
|
|
25
|
+
*/
|
|
26
|
+
export interface TimeDimension {
|
|
27
|
+
field: FieldId_FieldId;
|
|
28
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
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 = "7948f62379bf327a3cc190504223aecc";
|
|
3
|
+
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
|
+
export declare const RepresentationType: string;
|
|
5
|
+
export declare function normalize(input: UnifiedFilter, existing: UnifiedFilterNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): UnifiedFilterNormalized;
|
|
6
|
+
export declare const select: () => $64$luvio_engine_FragmentSelection;
|
|
7
|
+
export declare function equals(existing: UnifiedFilterNormalized, incoming: UnifiedFilterNormalized): 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: UnifiedFilter, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
10
|
+
/**
|
|
11
|
+
* Message representing the Unified Filter.
|
|
12
|
+
*
|
|
13
|
+
* Keys:
|
|
14
|
+
* (none)
|
|
15
|
+
*/
|
|
16
|
+
export interface UnifiedFilterNormalized {
|
|
17
|
+
/** tableName.ColumnName or calcFieldName */
|
|
18
|
+
fieldName?: string;
|
|
19
|
+
operator?: string;
|
|
20
|
+
/** An array of values. All values must be of the same type. We support strings, numbers, and booleans. */
|
|
21
|
+
values?: Array<unknown>;
|
|
22
|
+
}
|
|
23
|
+
/**
|
|
24
|
+
* Message representing the Unified Filter.
|
|
25
|
+
*
|
|
26
|
+
* Keys:
|
|
27
|
+
* (none)
|
|
28
|
+
*/
|
|
29
|
+
export interface UnifiedFilter {
|
|
30
|
+
fieldName?: string;
|
|
31
|
+
operator?: string;
|
|
32
|
+
values?: Array<unknown>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
|
|
2
|
+
export declare const ObjectKeys: {
|
|
3
|
+
(o: object): string[];
|
|
4
|
+
(o: {}): string[];
|
|
5
|
+
}, ObjectCreate: {
|
|
6
|
+
(o: object | null): any;
|
|
7
|
+
(o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
|
|
8
|
+
}, ObjectAssign: {
|
|
9
|
+
<T extends {}, U>(target: T, source: U): T & U;
|
|
10
|
+
<T_1 extends {}, U_1, V>(target: T_1, source1: U_1, source2: V): T_1 & U_1 & V;
|
|
11
|
+
<T_2 extends {}, U_2, V_1, W>(target: T_2, source1: U_2, source2: V_1, source3: W): T_2 & U_2 & V_1 & W;
|
|
12
|
+
(target: object, ...sources: any[]): any;
|
|
13
|
+
};
|
|
14
|
+
export declare const ArrayIsArray: (arg: any) => arg is any[];
|
|
15
|
+
export declare const JSONStringify: {
|
|
16
|
+
(value: any, replacer?: ((this: any, key: string, value: any) => any) | undefined, space?: string | number | undefined): string;
|
|
17
|
+
(value: any, replacer?: (string | number)[] | null | undefined, space?: string | number | undefined): string;
|
|
18
|
+
};
|
|
19
|
+
type AllowedPrimitives = boolean | string | number | Date | null;
|
|
20
|
+
type Value<T> = T extends AllowedPrimitives ? T : RecursivePartial<T>;
|
|
21
|
+
export type RecursivePartial<T> = null | {
|
|
22
|
+
[P in keyof T]?: T[P] extends Array<infer U> ? Array<Value<U>> | null : Value<T[P]> | null;
|
|
23
|
+
};
|
|
24
|
+
export declare function equalsArray<U, V extends U[]>(a: V, b: V, equalsItem: (itemA: U, itemB: U) => boolean | void): boolean;
|
|
25
|
+
export declare function equalsObject<U, V extends {
|
|
26
|
+
[key: string]: U;
|
|
27
|
+
}>(a: V, b: V, equalsProp: (propA: U, propB: U) => boolean | void): boolean;
|
|
28
|
+
export declare function createLink(ref: string | $64$luvio_engine_NormalizedKeyMetadata): {
|
|
29
|
+
__ref: string;
|
|
30
|
+
};
|
|
31
|
+
export declare function assignMetadataLink(entry: any, metadataKey: string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
32
|
+
export {};
|
package/package.json
ADDED
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@salesforce/lds-adapters-sfap-analytics-insights",
|
|
3
|
+
"version": "0.1.0-dev1",
|
|
4
|
+
"description": "APIs for generating insights about metrics",
|
|
5
|
+
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
|
+
"main": "dist/es/es2018/sfap-analytics-insights.js",
|
|
7
|
+
"module": "dist/es/es2018/sfap-analytics-insights.js",
|
|
8
|
+
"types": "dist/es/es2018/types/src/generated/artifacts/main.d.ts",
|
|
9
|
+
"files": [
|
|
10
|
+
"dist",
|
|
11
|
+
"sfdc",
|
|
12
|
+
"src/raml/*"
|
|
13
|
+
],
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"types": "./dist/es/es2018/types/src/generated/artifacts/main.d.ts",
|
|
17
|
+
"import": "./dist/es/es2018/sfap-analytics-insights.js",
|
|
18
|
+
"require": "./dist/es/es2018/sfap-analytics-insights.js"
|
|
19
|
+
},
|
|
20
|
+
"./sfdc": {
|
|
21
|
+
"types": "./sfdc/index.d.ts",
|
|
22
|
+
"import": "./sfdc/index.js",
|
|
23
|
+
"default": "./sfdc/index.js"
|
|
24
|
+
}
|
|
25
|
+
},
|
|
26
|
+
"sfdc": {
|
|
27
|
+
"namespace": "lightning",
|
|
28
|
+
"module": "sfapAnalyticsInsightsApi"
|
|
29
|
+
},
|
|
30
|
+
"contributors": [
|
|
31
|
+
"tua-pulse-insights-team@salesforce.com"
|
|
32
|
+
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"build": "yarn build:services",
|
|
35
|
+
"build:raml": "luvio generate src/raml/luvio.raml src/generated -p '../lds-compiler-plugins'",
|
|
36
|
+
"build:services": "rollup --bundleConfigAsCjs --config rollup.config.js",
|
|
37
|
+
"clean": "rm -rf dist sfdc src/generated",
|
|
38
|
+
"release:core": "../../scripts/release/core.js --adapter=lds-adapters-sfap-analytics-insights",
|
|
39
|
+
"release:corejar": "yarn build && ../core-build/scripts/core.js --adapter=lds-adapters-sfap-analytics-insights",
|
|
40
|
+
"test:unit": "jest"
|
|
41
|
+
},
|
|
42
|
+
"dependencies": {
|
|
43
|
+
"@salesforce/lds-bindings": "^0.1.0-dev1"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^0.1.0-dev1"
|
|
47
|
+
},
|
|
48
|
+
"nx": {
|
|
49
|
+
"targets": {
|
|
50
|
+
"build": {
|
|
51
|
+
"outputs": [
|
|
52
|
+
"{projectRoot}/dist",
|
|
53
|
+
"{projectRoot}/sfdc"
|
|
54
|
+
]
|
|
55
|
+
},
|
|
56
|
+
"build:raml": {
|
|
57
|
+
"outputs": [
|
|
58
|
+
"{projectRoot}/src/generated"
|
|
59
|
+
]
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
},
|
|
63
|
+
"volta": {
|
|
64
|
+
"extends": "../../package.json"
|
|
65
|
+
}
|
|
66
|
+
}
|
package/sfdc/index.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/es/es2018/types/src/generated/artifacts/sfdc';
|