@salesforce/lds-adapters-cdp-semantic-authoring 1.343.0 → 1.345.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.
@@ -0,0 +1,24 @@
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 { SemanticGoalDateRangeInputRepresentation as types_SemanticGoalDateRangeInputRepresentation_SemanticGoalDateRangeInputRepresentation } from '../types/SemanticGoalDateRangeInputRepresentation';
4
+ import { SemanticGoalStatusConditionInputRepresentation as types_SemanticGoalStatusConditionInputRepresentation_SemanticGoalStatusConditionInputRepresentation } from '../types/SemanticGoalStatusConditionInputRepresentation';
5
+ import { ResourceRequestConfig as resources_postSsotSemanticModelsGoalsByModelApiNameOrId_ResourceRequestConfig } from '../resources/postSsotSemanticModelsGoalsByModelApiNameOrId';
6
+ import { SemanticGoalOutputRepresentation as types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation } from '../types/SemanticGoalOutputRepresentation';
7
+ export declare const adapterName = "createSemanticGoal";
8
+ export declare const createSemanticGoal_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
9
+ export declare const createSemanticGoal_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
10
+ export interface CreateSemanticGoalConfig {
11
+ modelApiNameOrId: string;
12
+ apiName?: string;
13
+ description?: string;
14
+ label?: string;
15
+ dateRange?: types_SemanticGoalDateRangeInputRepresentation_SemanticGoalDateRangeInputRepresentation;
16
+ forecasting?: boolean;
17
+ statusConditions?: Array<types_SemanticGoalStatusConditionInputRepresentation_SemanticGoalStatusConditionInputRepresentation>;
18
+ subMetricDefinitionApiName?: string;
19
+ }
20
+ export declare const createResourceParams: (config: CreateSemanticGoalConfig) => resources_postSsotSemanticModelsGoalsByModelApiNameOrId_ResourceRequestConfig;
21
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateSemanticGoalConfig>): adapter$45$utils_Untrusted<CreateSemanticGoalConfig>;
22
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): CreateSemanticGoalConfig | null;
23
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: CreateSemanticGoalConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation, any>>;
24
+ export declare const createSemanticGoalAdapterFactory: $64$luvio_engine_AdapterFactory<CreateSemanticGoalConfig, types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation>;
@@ -0,0 +1,31 @@
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_getSsotSemanticModelsGoalsByModelApiNameOrId_ResourceRequestConfig } from '../resources/getSsotSemanticModelsGoalsByModelApiNameOrId';
4
+ import { SemanticGoalOutputRepresentation as types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation, KeyParams as types_SemanticGoalOutputRepresentation_KeyParams } from '../types/SemanticGoalOutputRepresentation';
5
+ export declare const adapterName = "getSemanticGoal";
6
+ export declare const getSemanticGoal_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
7
+ export declare const getSemanticGoal_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
+ export interface GetSemanticGoalConfig {
9
+ modelApiNameOrId: string;
10
+ endDate?: string;
11
+ startDate?: string;
12
+ subMetricApiNameOrId?: string;
13
+ }
14
+ export declare const createResourceParams: (config: GetSemanticGoalConfig) => resources_getSsotSemanticModelsGoalsByModelApiNameOrId_ResourceRequestConfig;
15
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSemanticGoalConfig): string;
16
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: GetSemanticGoalConfig): $64$luvio_engine_NormalizedKeyMetadata;
17
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<GetSemanticGoalConfig>): adapter$45$utils_Untrusted<GetSemanticGoalConfig>;
18
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): GetSemanticGoalConfig | null;
19
+ export declare function adapterFragment(luvio: $64$luvio_engine_Luvio, config: GetSemanticGoalConfig): $64$luvio_engine_Fragment;
20
+ export declare function buildCachedSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSemanticGoalConfig): $64$luvio_engine_Snapshot<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation, any>;
21
+ export declare function onFetchResponseSuccess(luvio: $64$luvio_engine_Luvio, config: GetSemanticGoalConfig, resourceParams: resources_getSsotSemanticModelsGoalsByModelApiNameOrId_ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation>): Promise<import("@luvio/engine").FulfilledSnapshot<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation, any>>;
22
+ export declare function onFetchResponseError(luvio: $64$luvio_engine_Luvio, config: GetSemanticGoalConfig, resourceParams: resources_getSsotSemanticModelsGoalsByModelApiNameOrId_ResourceRequestConfig, response: $64$luvio_engine_ErrorResponse): Promise<import("@luvio/engine").ErrorSnapshot>;
23
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: GetSemanticGoalConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<$64$luvio_engine_Snapshot<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation, any>>;
24
+ export type BuildSnapshotContext = {
25
+ luvio: $64$luvio_engine_Luvio;
26
+ config: GetSemanticGoalConfig;
27
+ };
28
+ export declare function buildNetworkSnapshotCachePolicy(context: BuildSnapshotContext, coercedAdapterRequestContext: $64$luvio_engine_CoercedAdapterRequestContext): Promise<$64$luvio_engine_Snapshot<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation, any>>;
29
+ export declare function buildCachedSnapshotCachePolicy(context: BuildSnapshotContext, storeLookup: $64$luvio_engine_StoreLookup<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation>): $64$luvio_engine_Snapshot<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation, any>;
30
+ export declare const getSemanticGoalAdapterFactory: $64$luvio_engine_AdapterFactory<GetSemanticGoalConfig, types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation>;
31
+ export declare const notifyChangeFactory: (luvio: $64$luvio_engine_Luvio, options?: $64$luvio_engine_DispatchResourceRequestContext) => (configs: adapter$45$utils_UncoercedConfiguration<types_SemanticGoalOutputRepresentation_KeyParams, any>[]) => void;
@@ -4,6 +4,8 @@ export { createSemanticModelAdapterFactory } from '../adapters/createSemanticMod
4
4
  export { getSemanticModelAdapterFactory } from '../adapters/getSemanticModel';
5
5
  export { patchSemanticModelAdapterFactory } from '../adapters/patchSemanticModel';
6
6
  export { getLeafDependenciesByTypesAdapterFactory } from '../adapters/getLeafDependenciesByTypes';
7
+ export { getSemanticGoalAdapterFactory } from '../adapters/getSemanticGoal';
8
+ export { createSemanticGoalAdapterFactory } from '../adapters/createSemanticGoal';
7
9
  export { getSemanticMetricsToSubMetricsAdapterFactory } from '../adapters/getSemanticMetricsToSubMetrics';
8
10
  export { getSemanticMetricsAdapterFactory } from '../adapters/getSemanticMetrics';
9
11
  export { getSemanticMetricAdapterFactory } from '../adapters/getSemanticMetric';
@@ -1,8 +1,11 @@
1
+ declare let createSemanticGoal: any;
1
2
  declare let createSemanticModel: any;
2
3
  declare let createSemanticSubMetric: any;
3
4
  declare let deleteGoalFromSubMetric: any;
4
5
  declare let deleteSemanticSubMetric: any;
5
6
  declare let getLeafDependenciesByTypes: any;
7
+ declare let getSemanticGoal: any;
8
+ declare let getSemanticGoalNotifyChange: any;
6
9
  declare let getSemanticMetric: any;
7
10
  declare let getSemanticMetricNotifyChange: any;
8
11
  declare let getSemanticMetrics: any;
@@ -18,6 +21,7 @@ declare let getSemanticSubMetricsById: any;
18
21
  declare let patchSemanticMetricGoal: any;
19
22
  declare let patchSemanticModel: any;
20
23
  declare let getLeafDependenciesByTypes_imperative: any;
24
+ declare let getSemanticGoal_imperative: any;
21
25
  declare let getSemanticMetric_imperative: any;
22
26
  declare let getSemanticMetrics_imperative: any;
23
27
  declare let getSemanticMetricsByIds_imperative: any;
@@ -27,4 +31,4 @@ declare let getSemanticModels_imperative: any;
27
31
  declare let getSemanticSubMetric_imperative: any;
28
32
  declare let getSemanticSubMetrics_imperative: any;
29
33
  declare let getSemanticSubMetricsById_imperative: any;
30
- export { createSemanticModel, createSemanticSubMetric, deleteGoalFromSubMetric, deleteSemanticSubMetric, getLeafDependenciesByTypes, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetrics, getSemanticMetricsByIds, getSemanticMetricsToSubMetrics, getSemanticModel, getSemanticModelNotifyChange, getSemanticModels, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetrics, getSemanticSubMetricsById, patchSemanticMetricGoal, patchSemanticModel, getLeafDependenciesByTypes_imperative, getSemanticMetric_imperative, getSemanticMetrics_imperative, getSemanticMetricsByIds_imperative, getSemanticMetricsToSubMetrics_imperative, getSemanticModel_imperative, getSemanticModels_imperative, getSemanticSubMetric_imperative, getSemanticSubMetrics_imperative, getSemanticSubMetricsById_imperative, };
34
+ export { createSemanticGoal, createSemanticModel, createSemanticSubMetric, deleteGoalFromSubMetric, deleteSemanticSubMetric, getLeafDependenciesByTypes, getSemanticGoal, getSemanticGoalNotifyChange, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetrics, getSemanticMetricsByIds, getSemanticMetricsToSubMetrics, getSemanticModel, getSemanticModelNotifyChange, getSemanticModels, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetrics, getSemanticSubMetricsById, patchSemanticMetricGoal, patchSemanticModel, getLeafDependenciesByTypes_imperative, getSemanticGoal_imperative, getSemanticMetric_imperative, getSemanticMetrics_imperative, getSemanticMetricsByIds_imperative, getSemanticMetricsToSubMetrics_imperative, getSemanticModel_imperative, getSemanticModels_imperative, getSemanticSubMetric_imperative, getSemanticSubMetrics_imperative, getSemanticSubMetricsById_imperative, };
@@ -0,0 +1,21 @@
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 { SemanticGoalOutputRepresentation as types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation } from '../types/SemanticGoalOutputRepresentation';
3
+ export interface ResourceRequestConfig {
4
+ urlParams: {
5
+ modelApiNameOrId: string;
6
+ };
7
+ queryParams: {
8
+ endDate?: string;
9
+ startDate?: string;
10
+ subMetricApiNameOrId?: 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_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation): void;
17
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation, any>;
18
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
19
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
20
+ export default createResourceRequest;
21
+ export declare function createResourceRequestFromRepresentation(representation: types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation): $64$luvio_engine_ResourceRequest;
@@ -0,0 +1,23 @@
1
+ import { SemanticGoalDateRangeInputRepresentation as types_SemanticGoalDateRangeInputRepresentation_SemanticGoalDateRangeInputRepresentation } from '../types/SemanticGoalDateRangeInputRepresentation';
2
+ import { SemanticGoalStatusConditionInputRepresentation as types_SemanticGoalStatusConditionInputRepresentation_SemanticGoalStatusConditionInputRepresentation } from '../types/SemanticGoalStatusConditionInputRepresentation';
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 { SemanticGoalOutputRepresentation as types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation } from '../types/SemanticGoalOutputRepresentation';
5
+ export interface ResourceRequestConfig {
6
+ urlParams: {
7
+ modelApiNameOrId: string;
8
+ };
9
+ body: {
10
+ apiName?: string;
11
+ description?: string;
12
+ label?: string;
13
+ dateRange?: types_SemanticGoalDateRangeInputRepresentation_SemanticGoalDateRangeInputRepresentation;
14
+ forecasting?: boolean;
15
+ statusConditions?: Array<types_SemanticGoalStatusConditionInputRepresentation_SemanticGoalStatusConditionInputRepresentation>;
16
+ subMetricDefinitionApiName?: string;
17
+ };
18
+ }
19
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
20
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation): void;
21
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation, any>;
22
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
23
+ export default createResourceRequest;
@@ -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 = "34d311b29ed5c19b72af0b03762c6eb6";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SemanticGoalDateRangeInputRepresentation, existing: SemanticGoalDateRangeInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticGoalDateRangeInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SemanticGoalDateRangeInputRepresentationNormalized, incoming: SemanticGoalDateRangeInputRepresentationNormalized): 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: SemanticGoalDateRangeInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Input representation for specifying a semantic goal date range
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SemanticGoalDateRangeInputRepresentationNormalized {
17
+ /** The end date of the goal date range. */
18
+ endDate?: string;
19
+ /** The start date of the goal date range. */
20
+ startDate?: string;
21
+ }
22
+ /**
23
+ * Input representation for specifying a semantic goal date range
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface SemanticGoalDateRangeInputRepresentation {
29
+ endDate?: string;
30
+ startDate?: string;
31
+ }
@@ -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 = "d8d5260b9a2483297bc9bf979347739e";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SemanticGoalDateRangeOutputRepresentation, existing: SemanticGoalDateRangeOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticGoalDateRangeOutputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SemanticGoalDateRangeOutputRepresentationNormalized, incoming: SemanticGoalDateRangeOutputRepresentationNormalized): 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: SemanticGoalDateRangeOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * A semantic goal date range.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SemanticGoalDateRangeOutputRepresentationNormalized {
17
+ /** The end date of the goal date range. */
18
+ endDate?: string;
19
+ /** The start date of the goal date range. */
20
+ startDate?: string;
21
+ }
22
+ /**
23
+ * A semantic goal date range.
24
+ *
25
+ * Keys:
26
+ * (none)
27
+ */
28
+ export interface SemanticGoalDateRangeOutputRepresentation {
29
+ endDate?: string;
30
+ startDate?: string;
31
+ }
@@ -0,0 +1,48 @@
1
+ import { SemanticGoalDateRangeInputRepresentation as SemanticGoalDateRangeInputRepresentation_SemanticGoalDateRangeInputRepresentation } from './SemanticGoalDateRangeInputRepresentation';
2
+ import { SemanticGoalStatusConditionInputRepresentation as SemanticGoalStatusConditionInputRepresentation_SemanticGoalStatusConditionInputRepresentation } from './SemanticGoalStatusConditionInputRepresentation';
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 = "1a3b6623aba5c907d6c9d68b144af8c8";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export declare function normalize(input: SemanticGoalInputRepresentation, existing: SemanticGoalInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticGoalInputRepresentationNormalized;
8
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
9
+ export declare function equals(existing: SemanticGoalInputRepresentationNormalized, incoming: SemanticGoalInputRepresentationNormalized): 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: SemanticGoalInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
12
+ /**
13
+ * Input representation for specifying a semantic goal
14
+ *
15
+ * Keys:
16
+ * (none)
17
+ */
18
+ export interface SemanticGoalInputRepresentationNormalized {
19
+ /** The API name of the semantic entity. */
20
+ apiName?: string;
21
+ /** The date range of the semantic goal. */
22
+ dateRange?: SemanticGoalDateRangeInputRepresentation_SemanticGoalDateRangeInputRepresentation;
23
+ /** An optional description of the semantic entity. */
24
+ description?: string;
25
+ /** The forecasting flag of the semantic goal. */
26
+ forecasting?: boolean;
27
+ /** The display name of the semantic entity. Optional, if not specified will use the same as the api name but instead of “_” will use spaces. */
28
+ label?: string;
29
+ /** The Status Condition list of the semantic goal. */
30
+ statusConditions?: Array<SemanticGoalStatusConditionInputRepresentation_SemanticGoalStatusConditionInputRepresentation>;
31
+ /** The API name of the semantic sub metric definition. */
32
+ subMetricDefinitionApiName?: string;
33
+ }
34
+ /**
35
+ * Input representation for specifying a semantic goal
36
+ *
37
+ * Keys:
38
+ * (none)
39
+ */
40
+ export interface SemanticGoalInputRepresentation {
41
+ apiName?: string;
42
+ dateRange?: SemanticGoalDateRangeInputRepresentation_SemanticGoalDateRangeInputRepresentation;
43
+ description?: string;
44
+ forecasting?: boolean;
45
+ label?: string;
46
+ statusConditions?: Array<SemanticGoalStatusConditionInputRepresentation_SemanticGoalStatusConditionInputRepresentation>;
47
+ subMetricDefinitionApiName?: string;
48
+ }
@@ -0,0 +1,78 @@
1
+ import { SemanticGoalDateRangeOutputRepresentation as SemanticGoalDateRangeOutputRepresentation_SemanticGoalDateRangeOutputRepresentation } from './SemanticGoalDateRangeOutputRepresentation';
2
+ import { SemanticGoalStatusConditionOutputRepresentation as SemanticGoalStatusConditionOutputRepresentation_SemanticGoalStatusConditionOutputRepresentation } from './SemanticGoalStatusConditionOutputRepresentation';
3
+ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
4
+ export declare const VERSION = "d08e45b476a6ff601849693a6dff2619";
5
+ export declare function validate(obj: any, path?: string): TypeError | null;
6
+ export declare const RepresentationType: string;
7
+ export interface KeyParams extends $64$luvio_engine_KeyMetadata {
8
+ name: string;
9
+ }
10
+ export type SemanticGoalOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
11
+ export type PartialSemanticGoalOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
12
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: KeyParams): string;
13
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, config: KeyParams): SemanticGoalOutputRepresentationNormalizedKeyMetadata;
14
+ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SemanticGoalOutputRepresentation): string;
15
+ export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SemanticGoalOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
16
+ export declare function normalize(input: SemanticGoalOutputRepresentation, existing: SemanticGoalOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticGoalOutputRepresentationNormalized;
17
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
18
+ export declare function equals(existing: SemanticGoalOutputRepresentationNormalized, incoming: SemanticGoalOutputRepresentationNormalized): boolean;
19
+ export declare const ingest: $64$luvio_engine_ResourceIngest;
20
+ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SemanticGoalOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
21
+ /**
22
+ * A semantic Goal.
23
+ *
24
+ * Keys:
25
+ * name (string): id
26
+ */
27
+ export interface SemanticGoalOutputRepresentationNormalized {
28
+ /** The API name of the semantic entity. */
29
+ apiName: string;
30
+ /** The origin model of the semantic entity. */
31
+ baseModelApiName?: string;
32
+ /** The Canonical URL of the collection for caching purposes only. */
33
+ cacheKey?: string;
34
+ /** The user who created the semantic entity. */
35
+ createdBy: string;
36
+ /** The date in which the semantic entity was created. */
37
+ createdDate: string;
38
+ /** The date range of the semantic goal. */
39
+ dateRange: SemanticGoalDateRangeOutputRepresentation_SemanticGoalDateRangeOutputRepresentation;
40
+ /** The Description of the semantic entity. */
41
+ description?: string;
42
+ /** The forecasting state of the semantic goal. */
43
+ forecasting: boolean;
44
+ /** The object ID of the semantic entity. */
45
+ id: string;
46
+ /** The display name of the semantic entity to be used in the ui. */
47
+ label?: string;
48
+ /** The user who last modified the semantic entity. */
49
+ lastModifiedBy?: string;
50
+ /** The date in which the semantic entity was last modified. */
51
+ lastModifiedDate?: string;
52
+ /** The status condition list of the semantic goal. */
53
+ statusConditions: Array<SemanticGoalStatusConditionOutputRepresentation_SemanticGoalStatusConditionOutputRepresentation>;
54
+ /** The API name of the semantic sub metric definition. */
55
+ subMetricDefinitionApiName: string;
56
+ }
57
+ /**
58
+ * A semantic Goal.
59
+ *
60
+ * Keys:
61
+ * name (string): id
62
+ */
63
+ export interface SemanticGoalOutputRepresentation {
64
+ apiName: string;
65
+ baseModelApiName?: string;
66
+ cacheKey?: string;
67
+ createdBy: string;
68
+ createdDate: string;
69
+ dateRange: SemanticGoalDateRangeOutputRepresentation_SemanticGoalDateRangeOutputRepresentation;
70
+ description?: string;
71
+ forecasting: boolean;
72
+ id: string;
73
+ label?: string;
74
+ lastModifiedBy?: string;
75
+ lastModifiedDate?: string;
76
+ statusConditions: Array<SemanticGoalStatusConditionOutputRepresentation_SemanticGoalStatusConditionOutputRepresentation>;
77
+ subMetricDefinitionApiName: string;
78
+ }
@@ -1,5 +1,6 @@
1
+ import { SemanticGoalStatusConditionOutputRepresentation as SemanticGoalStatusConditionOutputRepresentation_SemanticGoalStatusConditionOutputRepresentation } from './SemanticGoalStatusConditionOutputRepresentation';
1
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';
2
- export declare const VERSION = "e36b27d6368b66b9eeeaaa1b7af39484";
3
+ export declare const VERSION = "f3f6abdce08e8dc319fe535f25fb8c1a";
3
4
  export declare function validate(obj: any, path?: string): TypeError | null;
4
5
  export declare const RepresentationType: string;
5
6
  export declare function normalize(input: SemanticMetricGoalOutputRepresentation, existing: SemanticMetricGoalOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticMetricGoalOutputRepresentationNormalized;
@@ -16,6 +17,8 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
16
17
  export interface SemanticMetricGoalOutputRepresentationNormalized {
17
18
  /** The forecasting state of the semantic metric goal. */
18
19
  forecasting: boolean;
20
+ /** The status condition list of the semantic metric goal. */
21
+ statusConditions: Array<SemanticGoalStatusConditionOutputRepresentation_SemanticGoalStatusConditionOutputRepresentation>;
19
22
  }
20
23
  /**
21
24
  * A semantic Metric Goal.
@@ -25,4 +28,5 @@ export interface SemanticMetricGoalOutputRepresentationNormalized {
25
28
  */
26
29
  export interface SemanticMetricGoalOutputRepresentation {
27
30
  forecasting: boolean;
31
+ statusConditions: Array<SemanticGoalStatusConditionOutputRepresentation_SemanticGoalStatusConditionOutputRepresentation>;
28
32
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cdp-semantic-authoring",
3
- "version": "1.343.0",
3
+ "version": "1.345.0",
4
4
  "description": "Semantic Authoring",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "dist/es/es2018/cdp-semantic-authoring.js",
@@ -40,10 +40,10 @@
40
40
  "test:unit": "jest"
41
41
  },
42
42
  "dependencies": {
43
- "@salesforce/lds-bindings": "^1.343.0"
43
+ "@salesforce/lds-bindings": "^1.345.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.343.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.345.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {