@salesforce/lds-adapters-cdp-semantic-authoring 1.346.0 → 1.347.1
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/dist/es/es2018/cdp-semantic-authoring.js +720 -827
- package/dist/es/es2018/types/src/generated/adapters/createSemanticGoal.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/adapters/deleteSemanticGoal.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/adapters/getSemanticGoal.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/adapters/updateSemanticGoal.d.ts +27 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
- package/dist/es/es2018/types/src/generated/resources/deleteSsotSemanticModelsGoalsByModelApiNameOrId.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsGoalsByModelApiNameOrId.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsGoalsByModelApiNameOrId.d.ts +3 -3
- package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsGoalsByModelApiNameOrId.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/SemanticGoalDateRangeOutputRepresentation.d.ts +5 -5
- package/dist/es/es2018/types/src/generated/types/SemanticGoalInputRepresentation.d.ts +7 -7
- package/dist/es/es2018/types/src/generated/types/SemanticGoalOutputRepresentation.d.ts +12 -6
- package/package.json +3 -3
- package/sfdc/index.js +777 -876
- package/src/raml/api.raml +53 -8
- package/src/raml/luvio.raml +17 -2
|
@@ -12,10 +12,10 @@ export interface CreateSemanticGoalConfig {
|
|
|
12
12
|
apiName?: string;
|
|
13
13
|
description?: string;
|
|
14
14
|
label?: string;
|
|
15
|
-
dateRange
|
|
15
|
+
dateRange: types_SemanticGoalDateRangeInputRepresentation_SemanticGoalDateRangeInputRepresentation;
|
|
16
16
|
forecasting?: boolean;
|
|
17
|
-
statusConditions
|
|
18
|
-
subMetricDefinitionApiName
|
|
17
|
+
statusConditions: Array<types_SemanticGoalStatusConditionInputRepresentation_SemanticGoalStatusConditionInputRepresentation>;
|
|
18
|
+
subMetricDefinitionApiName: string;
|
|
19
19
|
}
|
|
20
20
|
export declare const createResourceParams: (config: CreateSemanticGoalConfig) => resources_postSsotSemanticModelsGoalsByModelApiNameOrId_ResourceRequestConfig;
|
|
21
21
|
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<CreateSemanticGoalConfig>): adapter$45$utils_Untrusted<CreateSemanticGoalConfig>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, DeleteAdapterFactory as $64$luvio_engine_DeleteAdapterFactory } 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_deleteSsotSemanticModelsGoalsByModelApiNameOrId_ResourceRequestConfig } from '../resources/deleteSsotSemanticModelsGoalsByModelApiNameOrId';
|
|
4
|
+
export declare const adapterName = "deleteSemanticGoal";
|
|
5
|
+
export declare const deleteSemanticGoal_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
6
|
+
export declare const deleteSemanticGoal_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
7
|
+
export interface DeleteSemanticGoalConfig {
|
|
8
|
+
modelApiNameOrId: string;
|
|
9
|
+
endDate: string;
|
|
10
|
+
startDate: string;
|
|
11
|
+
subMetricApiNameOrId: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const createResourceParams: (config: DeleteSemanticGoalConfig) => resources_deleteSsotSemanticModelsGoalsByModelApiNameOrId_ResourceRequestConfig;
|
|
14
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<DeleteSemanticGoalConfig>): adapter$45$utils_Untrusted<DeleteSemanticGoalConfig>;
|
|
15
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): DeleteSemanticGoalConfig | null;
|
|
16
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: DeleteSemanticGoalConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<void>;
|
|
17
|
+
export declare const deleteSemanticGoalAdapterFactory: $64$luvio_engine_DeleteAdapterFactory<DeleteSemanticGoalConfig>;
|
|
@@ -7,9 +7,9 @@ export declare const getSemanticGoal_ConfigPropertyMetadata: $64$luvio_engine_Ad
|
|
|
7
7
|
export declare const getSemanticGoal_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
8
8
|
export interface GetSemanticGoalConfig {
|
|
9
9
|
modelApiNameOrId: string;
|
|
10
|
-
endDate
|
|
11
|
-
startDate
|
|
12
|
-
subMetricApiNameOrId
|
|
10
|
+
endDate: string;
|
|
11
|
+
startDate: string;
|
|
12
|
+
subMetricApiNameOrId: string;
|
|
13
13
|
}
|
|
14
14
|
export declare const createResourceParams: (config: GetSemanticGoalConfig) => resources_getSsotSemanticModelsGoalsByModelApiNameOrId_ResourceRequestConfig;
|
|
15
15
|
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSemanticGoalConfig): string;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { AdapterConfigMetadata as $64$luvio_engine_AdapterConfigMetadata, Luvio as $64$luvio_engine_Luvio, DispatchResourceRequestContext as $64$luvio_engine_DispatchResourceRequestContext, AdapterFactory as $64$luvio_engine_AdapterFactory } from '@luvio/engine';
|
|
2
|
+
import { Untrusted as adapter$45$utils_Untrusted, AdapterValidationConfig as adapter$45$utils_AdapterValidationConfig } from './adapter-utils';
|
|
3
|
+
import { SemanticGoalDateRangeInputRepresentation as types_SemanticGoalDateRangeInputRepresentation_SemanticGoalDateRangeInputRepresentation } from '../types/SemanticGoalDateRangeInputRepresentation';
|
|
4
|
+
import { SemanticGoalStatusConditionInputRepresentation as types_SemanticGoalStatusConditionInputRepresentation_SemanticGoalStatusConditionInputRepresentation } from '../types/SemanticGoalStatusConditionInputRepresentation';
|
|
5
|
+
import { ResourceRequestConfig as resources_putSsotSemanticModelsGoalsByModelApiNameOrId_ResourceRequestConfig } from '../resources/putSsotSemanticModelsGoalsByModelApiNameOrId';
|
|
6
|
+
import { SemanticGoalOutputRepresentation as types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation } from '../types/SemanticGoalOutputRepresentation';
|
|
7
|
+
export declare const adapterName = "updateSemanticGoal";
|
|
8
|
+
export declare const updateSemanticGoal_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
|
|
9
|
+
export declare const updateSemanticGoal_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
|
|
10
|
+
export interface UpdateSemanticGoalConfig {
|
|
11
|
+
modelApiNameOrId: string;
|
|
12
|
+
endDate: string;
|
|
13
|
+
startDate: string;
|
|
14
|
+
subMetricApiNameOrId: string;
|
|
15
|
+
apiName?: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
label?: string;
|
|
18
|
+
dateRange: types_SemanticGoalDateRangeInputRepresentation_SemanticGoalDateRangeInputRepresentation;
|
|
19
|
+
forecasting?: boolean;
|
|
20
|
+
statusConditions: Array<types_SemanticGoalStatusConditionInputRepresentation_SemanticGoalStatusConditionInputRepresentation>;
|
|
21
|
+
subMetricDefinitionApiName: string;
|
|
22
|
+
}
|
|
23
|
+
export declare const createResourceParams: (config: UpdateSemanticGoalConfig) => resources_putSsotSemanticModelsGoalsByModelApiNameOrId_ResourceRequestConfig;
|
|
24
|
+
export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<UpdateSemanticGoalConfig>): adapter$45$utils_Untrusted<UpdateSemanticGoalConfig>;
|
|
25
|
+
export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): UpdateSemanticGoalConfig | null;
|
|
26
|
+
export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: UpdateSemanticGoalConfig, 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>>;
|
|
27
|
+
export declare const updateSemanticGoalAdapterFactory: $64$luvio_engine_AdapterFactory<UpdateSemanticGoalConfig, types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation>;
|
|
@@ -4,8 +4,10 @@ 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 { deleteSemanticGoalAdapterFactory } from '../adapters/deleteSemanticGoal';
|
|
7
8
|
export { getSemanticGoalAdapterFactory } from '../adapters/getSemanticGoal';
|
|
8
9
|
export { createSemanticGoalAdapterFactory } from '../adapters/createSemanticGoal';
|
|
10
|
+
export { updateSemanticGoalAdapterFactory } from '../adapters/updateSemanticGoal';
|
|
9
11
|
export { getSemanticMetricsToSubMetricsAdapterFactory } from '../adapters/getSemanticMetricsToSubMetrics';
|
|
10
12
|
export { getSemanticMetricsAdapterFactory } from '../adapters/getSemanticMetrics';
|
|
11
13
|
export { getSemanticMetricAdapterFactory } from '../adapters/getSemanticMetric';
|
|
@@ -2,6 +2,7 @@ declare let createSemanticGoal: any;
|
|
|
2
2
|
declare let createSemanticModel: any;
|
|
3
3
|
declare let createSemanticSubMetric: any;
|
|
4
4
|
declare let deleteGoalFromSubMetric: any;
|
|
5
|
+
declare let deleteSemanticGoal: any;
|
|
5
6
|
declare let deleteSemanticSubMetric: any;
|
|
6
7
|
declare let getLeafDependenciesByTypes: any;
|
|
7
8
|
declare let getSemanticGoal: any;
|
|
@@ -20,6 +21,7 @@ declare let getSemanticSubMetrics: any;
|
|
|
20
21
|
declare let getSemanticSubMetricsById: any;
|
|
21
22
|
declare let patchSemanticMetricGoal: any;
|
|
22
23
|
declare let patchSemanticModel: any;
|
|
24
|
+
declare let updateSemanticGoal: any;
|
|
23
25
|
declare let getLeafDependenciesByTypes_imperative: any;
|
|
24
26
|
declare let getSemanticGoal_imperative: any;
|
|
25
27
|
declare let getSemanticMetric_imperative: any;
|
|
@@ -31,4 +33,4 @@ declare let getSemanticModels_imperative: any;
|
|
|
31
33
|
declare let getSemanticSubMetric_imperative: any;
|
|
32
34
|
declare let getSemanticSubMetrics_imperative: any;
|
|
33
35
|
declare let getSemanticSubMetricsById_imperative: any;
|
|
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, };
|
|
36
|
+
export { createSemanticGoal, createSemanticModel, createSemanticSubMetric, deleteGoalFromSubMetric, deleteSemanticGoal, deleteSemanticSubMetric, getLeafDependenciesByTypes, getSemanticGoal, getSemanticGoalNotifyChange, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetrics, getSemanticMetricsByIds, getSemanticMetricsToSubMetrics, getSemanticModel, getSemanticModelNotifyChange, getSemanticModels, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetrics, getSemanticSubMetricsById, patchSemanticMetricGoal, patchSemanticModel, updateSemanticGoal, 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,17 @@
|
|
|
1
|
+
import { Luvio as $64$luvio_engine_Luvio, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, ResourceRequest as $64$luvio_engine_ResourceRequest } from '@luvio/engine';
|
|
2
|
+
export interface ResourceRequestConfig {
|
|
3
|
+
urlParams: {
|
|
4
|
+
modelApiNameOrId: string;
|
|
5
|
+
};
|
|
6
|
+
queryParams: {
|
|
7
|
+
endDate: string;
|
|
8
|
+
startDate: string;
|
|
9
|
+
subMetricApiNameOrId: string;
|
|
10
|
+
};
|
|
11
|
+
}
|
|
12
|
+
export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
|
|
13
|
+
export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
|
|
14
|
+
export declare function getResponseCacheKeys(cacheKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig): void;
|
|
15
|
+
export declare function evictSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig): void;
|
|
16
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
17
|
+
export default createResourceRequest;
|
|
@@ -5,9 +5,9 @@ export interface ResourceRequestConfig {
|
|
|
5
5
|
modelApiNameOrId: string;
|
|
6
6
|
};
|
|
7
7
|
queryParams: {
|
|
8
|
-
endDate
|
|
9
|
-
startDate
|
|
10
|
-
subMetricApiNameOrId
|
|
8
|
+
endDate: string;
|
|
9
|
+
startDate: string;
|
|
10
|
+
subMetricApiNameOrId: string;
|
|
11
11
|
};
|
|
12
12
|
}
|
|
13
13
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -10,10 +10,10 @@ export interface ResourceRequestConfig {
|
|
|
10
10
|
apiName?: string;
|
|
11
11
|
description?: string;
|
|
12
12
|
label?: string;
|
|
13
|
-
dateRange
|
|
13
|
+
dateRange: types_SemanticGoalDateRangeInputRepresentation_SemanticGoalDateRangeInputRepresentation;
|
|
14
14
|
forecasting?: boolean;
|
|
15
|
-
statusConditions
|
|
16
|
-
subMetricDefinitionApiName
|
|
15
|
+
statusConditions: Array<types_SemanticGoalStatusConditionInputRepresentation_SemanticGoalStatusConditionInputRepresentation>;
|
|
16
|
+
subMetricDefinitionApiName: string;
|
|
17
17
|
};
|
|
18
18
|
}
|
|
19
19
|
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
queryParams: {
|
|
10
|
+
endDate: string;
|
|
11
|
+
startDate: string;
|
|
12
|
+
subMetricApiNameOrId: string;
|
|
13
|
+
};
|
|
14
|
+
body: {
|
|
15
|
+
apiName?: string;
|
|
16
|
+
description?: string;
|
|
17
|
+
label?: string;
|
|
18
|
+
dateRange: types_SemanticGoalDateRangeInputRepresentation_SemanticGoalDateRangeInputRepresentation;
|
|
19
|
+
forecasting?: boolean;
|
|
20
|
+
statusConditions: Array<types_SemanticGoalStatusConditionInputRepresentation_SemanticGoalStatusConditionInputRepresentation>;
|
|
21
|
+
subMetricDefinitionApiName: string;
|
|
22
|
+
};
|
|
23
|
+
}
|
|
24
|
+
export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
|
|
25
|
+
export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SemanticGoalOutputRepresentation_SemanticGoalOutputRepresentation): void;
|
|
26
|
+
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>;
|
|
27
|
+
export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
|
|
28
|
+
export default createResourceRequest;
|
package/dist/es/es2018/types/src/generated/types/SemanticGoalDateRangeOutputRepresentation.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
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 = "
|
|
2
|
+
export declare const VERSION = "e972373078b92bbeb0465045bc1bdc93";
|
|
3
3
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
4
4
|
export declare const RepresentationType: string;
|
|
5
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;
|
|
@@ -15,9 +15,9 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
15
15
|
*/
|
|
16
16
|
export interface SemanticGoalDateRangeOutputRepresentationNormalized {
|
|
17
17
|
/** The end date of the goal date range. */
|
|
18
|
-
endDate
|
|
18
|
+
endDate: string;
|
|
19
19
|
/** The start date of the goal date range. */
|
|
20
|
-
startDate
|
|
20
|
+
startDate: string;
|
|
21
21
|
}
|
|
22
22
|
/**
|
|
23
23
|
* A semantic goal date range.
|
|
@@ -26,6 +26,6 @@ export interface SemanticGoalDateRangeOutputRepresentationNormalized {
|
|
|
26
26
|
* (none)
|
|
27
27
|
*/
|
|
28
28
|
export interface SemanticGoalDateRangeOutputRepresentation {
|
|
29
|
-
endDate
|
|
30
|
-
startDate
|
|
29
|
+
endDate: string;
|
|
30
|
+
startDate: string;
|
|
31
31
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { SemanticGoalDateRangeInputRepresentation as SemanticGoalDateRangeInputRepresentation_SemanticGoalDateRangeInputRepresentation } from './SemanticGoalDateRangeInputRepresentation';
|
|
2
2
|
import { SemanticGoalStatusConditionInputRepresentation as SemanticGoalStatusConditionInputRepresentation_SemanticGoalStatusConditionInputRepresentation } from './SemanticGoalStatusConditionInputRepresentation';
|
|
3
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 = "
|
|
4
|
+
export declare const VERSION = "9d255fd5c8c3f1e92abafb9e48fbbf04";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
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;
|
|
@@ -19,7 +19,7 @@ export interface SemanticGoalInputRepresentationNormalized {
|
|
|
19
19
|
/** The API name of the semantic entity. */
|
|
20
20
|
apiName?: string;
|
|
21
21
|
/** The date range of the semantic goal. */
|
|
22
|
-
dateRange
|
|
22
|
+
dateRange: SemanticGoalDateRangeInputRepresentation_SemanticGoalDateRangeInputRepresentation;
|
|
23
23
|
/** An optional description of the semantic entity. */
|
|
24
24
|
description?: string;
|
|
25
25
|
/** The forecasting flag of the semantic goal. */
|
|
@@ -27,9 +27,9 @@ export interface SemanticGoalInputRepresentationNormalized {
|
|
|
27
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
28
|
label?: string;
|
|
29
29
|
/** The Status Condition list of the semantic goal. */
|
|
30
|
-
statusConditions
|
|
30
|
+
statusConditions: Array<SemanticGoalStatusConditionInputRepresentation_SemanticGoalStatusConditionInputRepresentation>;
|
|
31
31
|
/** The API name of the semantic sub metric definition. */
|
|
32
|
-
subMetricDefinitionApiName
|
|
32
|
+
subMetricDefinitionApiName: string;
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Input representation for specifying a semantic goal
|
|
@@ -39,10 +39,10 @@ export interface SemanticGoalInputRepresentationNormalized {
|
|
|
39
39
|
*/
|
|
40
40
|
export interface SemanticGoalInputRepresentation {
|
|
41
41
|
apiName?: string;
|
|
42
|
-
dateRange
|
|
42
|
+
dateRange: SemanticGoalDateRangeInputRepresentation_SemanticGoalDateRangeInputRepresentation;
|
|
43
43
|
description?: string;
|
|
44
44
|
forecasting?: boolean;
|
|
45
45
|
label?: string;
|
|
46
|
-
statusConditions
|
|
47
|
-
subMetricDefinitionApiName
|
|
46
|
+
statusConditions: Array<SemanticGoalStatusConditionInputRepresentation_SemanticGoalStatusConditionInputRepresentation>;
|
|
47
|
+
subMetricDefinitionApiName: string;
|
|
48
48
|
}
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
import { SemanticGoalDateRangeOutputRepresentation as SemanticGoalDateRangeOutputRepresentation_SemanticGoalDateRangeOutputRepresentation } from './SemanticGoalDateRangeOutputRepresentation';
|
|
2
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,
|
|
4
|
-
export declare const VERSION = "
|
|
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, BaseFragment as $64$luvio_engine_BaseFragment, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
|
|
4
|
+
export declare const VERSION = "a6367e92be7c02cf72fcdd9bad3cf81d";
|
|
5
5
|
export declare function validate(obj: any, path?: string): TypeError | null;
|
|
6
6
|
export declare const RepresentationType: string;
|
|
7
7
|
export interface KeyParams extends $64$luvio_engine_KeyMetadata {
|
|
8
|
-
|
|
8
|
+
subMetricNameOrId: string;
|
|
9
|
+
startDate: string;
|
|
10
|
+
endDate: string;
|
|
9
11
|
}
|
|
10
12
|
export type SemanticGoalOutputRepresentationNormalizedKeyMetadata = KeyParams & $64$luvio_engine_NormalizedKeyMetadata;
|
|
11
13
|
export type PartialSemanticGoalOutputRepresentationNormalizedKeyMetadata = Partial<KeyParams> & $64$luvio_engine_NormalizedKeyMetadata;
|
|
@@ -14,7 +16,7 @@ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio,
|
|
|
14
16
|
export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object: SemanticGoalOutputRepresentation): string;
|
|
15
17
|
export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SemanticGoalOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
|
|
16
18
|
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$
|
|
19
|
+
export declare const select: () => $64$luvio_engine_BaseFragment;
|
|
18
20
|
export declare function equals(existing: SemanticGoalOutputRepresentationNormalized, incoming: SemanticGoalOutputRepresentationNormalized): boolean;
|
|
19
21
|
export declare const ingest: $64$luvio_engine_ResourceIngest;
|
|
20
22
|
export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableStoreKeyMetadataMap, luvio: $64$luvio_engine_Luvio, input: SemanticGoalOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
|
|
@@ -22,7 +24,9 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
|
|
|
22
24
|
* A semantic Goal.
|
|
23
25
|
*
|
|
24
26
|
* Keys:
|
|
25
|
-
*
|
|
27
|
+
* subMetricNameOrId (string): subMetricDefinitionApiName
|
|
28
|
+
* startDate (string): dateRange.startDate
|
|
29
|
+
* endDate (string): dateRange.endDate
|
|
26
30
|
*/
|
|
27
31
|
export interface SemanticGoalOutputRepresentationNormalized {
|
|
28
32
|
/** The API name of the semantic entity. */
|
|
@@ -58,7 +62,9 @@ export interface SemanticGoalOutputRepresentationNormalized {
|
|
|
58
62
|
* A semantic Goal.
|
|
59
63
|
*
|
|
60
64
|
* Keys:
|
|
61
|
-
*
|
|
65
|
+
* subMetricNameOrId (string): subMetricDefinitionApiName
|
|
66
|
+
* startDate (string): dateRange.startDate
|
|
67
|
+
* endDate (string): dateRange.endDate
|
|
62
68
|
*/
|
|
63
69
|
export interface SemanticGoalOutputRepresentation {
|
|
64
70
|
apiName: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@salesforce/lds-adapters-cdp-semantic-authoring",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.347.1",
|
|
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.
|
|
43
|
+
"@salesforce/lds-bindings": "^1.347.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@salesforce/lds-compiler-plugins": "^1.
|
|
46
|
+
"@salesforce/lds-compiler-plugins": "^1.347.1"
|
|
47
47
|
},
|
|
48
48
|
"nx": {
|
|
49
49
|
"targets": {
|