@salesforce/lds-adapters-cdp-semantic-authoring 1.309.0-dev16 → 1.309.0-dev17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/dist/es/es2018/cdp-semantic-authoring.js +903 -539
  2. package/dist/es/es2018/types/src/generated/adapters/deleteGoalFromSubMetric.d.ts +15 -0
  3. package/dist/es/es2018/types/src/generated/adapters/getSemanticSubMetrics.d.ts +1 -0
  4. package/dist/es/es2018/types/src/generated/adapters/patchSemanticMetricGoal.d.ts +21 -0
  5. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
  6. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
  7. package/dist/es/es2018/types/src/generated/resources/deleteSsotSemanticModelsSubMetricsGoalByModelApiNameOrIdAndSubMetricNameOrId.d.ts +1 -0
  8. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsSubMetricsByModelApiNameOrId.d.ts +3 -0
  9. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsSubMetricsGoalByModelApiNameOrIdAndSubMetricNameOrId.d.ts +4 -4
  10. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticPermissions.d.ts +12 -0
  11. package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +2 -1
  12. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsLogicalViewsByModelApiNameOrId.d.ts +2 -1
  13. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +2 -1
  14. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedFieldInputRepresentation.d.ts +46 -0
  15. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewInputRepresentation.d.ts +7 -4
  16. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewOutputRepresentation.d.ts +9 -4
  17. package/dist/es/es2018/types/src/generated/types/SemanticModelInfoOutputRepresentation.d.ts +34 -0
  18. package/dist/es/es2018/types/src/generated/types/SemanticModelOutputRepresentation.d.ts +5 -1
  19. package/dist/es/es2018/types/src/generated/types/SemanticPermissionOutputRepresentation.d.ts +39 -0
  20. package/package.json +3 -3
  21. package/sfdc/index.js +881 -511
  22. package/src/raml/api.raml +128 -5
  23. package/src/raml/luvio.raml +9 -0
@@ -0,0 +1,15 @@
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_deleteSsotSemanticModelsSubMetricsGoalByModelApiNameOrIdAndSubMetricNameOrId_ResourceRequestConfig } from '../resources/deleteSsotSemanticModelsSubMetricsGoalByModelApiNameOrIdAndSubMetricNameOrId';
4
+ export declare const adapterName = "deleteGoalFromSubMetric";
5
+ export declare const deleteGoalFromSubMetric_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
6
+ export declare const deleteGoalFromSubMetric_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
7
+ export interface DeleteGoalFromSubMetricConfig {
8
+ modelApiNameOrId: string;
9
+ subMetricNameOrId: string;
10
+ }
11
+ export declare const createResourceParams: (config: DeleteGoalFromSubMetricConfig) => resources_deleteSsotSemanticModelsSubMetricsGoalByModelApiNameOrIdAndSubMetricNameOrId_ResourceRequestConfig;
12
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<DeleteGoalFromSubMetricConfig>): adapter$45$utils_Untrusted<DeleteGoalFromSubMetricConfig>;
13
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): DeleteGoalFromSubMetricConfig | null;
14
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: DeleteGoalFromSubMetricConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<void>;
15
+ export declare const deleteGoalFromSubMetricAdapterFactory: $64$luvio_engine_DeleteAdapterFactory<DeleteGoalFromSubMetricConfig>;
@@ -7,6 +7,7 @@ export declare const getSemanticSubMetrics_ConfigPropertyMetadata: $64$luvio_eng
7
7
  export declare const getSemanticSubMetrics_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
8
8
  export interface GetSemanticSubMetricsConfig {
9
9
  modelApiNameOrId: string;
10
+ hasGoal?: boolean;
10
11
  }
11
12
  export declare const createResourceParams: (config: GetSemanticSubMetricsConfig) => resources_getSsotSemanticModelsSubMetricsByModelApiNameOrId_ResourceRequestConfig;
12
13
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, config: GetSemanticSubMetricsConfig): string;
@@ -0,0 +1,21 @@
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 { SemanticGoalValueInputRepresentation as types_SemanticGoalValueInputRepresentation_SemanticGoalValueInputRepresentation } from '../types/SemanticGoalValueInputRepresentation';
5
+ import { ResourceRequestConfig as resources_patchSsotSemanticModelsSubMetricsGoalByModelApiNameOrIdAndSubMetricNameOrId_ResourceRequestConfig } from '../resources/patchSsotSemanticModelsSubMetricsGoalByModelApiNameOrIdAndSubMetricNameOrId';
6
+ import { SemanticSubMetricOutputRepresentation as types_SemanticSubMetricOutputRepresentation_SemanticSubMetricOutputRepresentation } from '../types/SemanticSubMetricOutputRepresentation';
7
+ export declare const adapterName = "patchSemanticMetricGoal";
8
+ export declare const patchSemanticMetricGoal_ConfigPropertyMetadata: $64$luvio_engine_AdapterConfigMetadata[];
9
+ export declare const patchSemanticMetricGoal_ConfigPropertyNames: adapter$45$utils_AdapterValidationConfig;
10
+ export interface PatchSemanticMetricGoalConfig {
11
+ modelApiNameOrId: string;
12
+ subMetricNameOrId: string;
13
+ date?: types_SemanticGoalDateRangeInputRepresentation_SemanticGoalDateRangeInputRepresentation;
14
+ goalType?: string;
15
+ value?: types_SemanticGoalValueInputRepresentation_SemanticGoalValueInputRepresentation;
16
+ }
17
+ export declare const createResourceParams: (config: PatchSemanticMetricGoalConfig) => resources_patchSsotSemanticModelsSubMetricsGoalByModelApiNameOrIdAndSubMetricNameOrId_ResourceRequestConfig;
18
+ export declare function typeCheckConfig(untrustedConfig: adapter$45$utils_Untrusted<PatchSemanticMetricGoalConfig>): adapter$45$utils_Untrusted<PatchSemanticMetricGoalConfig>;
19
+ export declare function validateAdapterConfig(untrustedConfig: unknown, configPropertyNames: adapter$45$utils_AdapterValidationConfig): PatchSemanticMetricGoalConfig | null;
20
+ export declare function buildNetworkSnapshot(luvio: $64$luvio_engine_Luvio, config: PatchSemanticMetricGoalConfig, options?: $64$luvio_engine_DispatchResourceRequestContext): Promise<import("@luvio/engine").FulfilledSnapshot<types_SemanticSubMetricOutputRepresentation_SemanticSubMetricOutputRepresentation, {}> | import("@luvio/engine").StaleSnapshot<types_SemanticSubMetricOutputRepresentation_SemanticSubMetricOutputRepresentation, {}> | import("@luvio/engine").PendingSnapshot<types_SemanticSubMetricOutputRepresentation_SemanticSubMetricOutputRepresentation, any>>;
21
+ export declare const patchSemanticMetricGoalAdapterFactory: $64$luvio_engine_AdapterFactory<PatchSemanticMetricGoalConfig, types_SemanticSubMetricOutputRepresentation_SemanticSubMetricOutputRepresentation>;
@@ -9,4 +9,6 @@ export { getSemanticSubMetricsAdapterFactory } from '../adapters/getSemanticSubM
9
9
  export { createSemanticSubMetricAdapterFactory } from '../adapters/createSemanticSubMetric';
10
10
  export { deleteSemanticSubMetricAdapterFactory } from '../adapters/deleteSemanticSubMetric';
11
11
  export { getSemanticSubMetricAdapterFactory } from '../adapters/getSemanticSubMetric';
12
+ export { deleteGoalFromSubMetricAdapterFactory } from '../adapters/deleteGoalFromSubMetric';
13
+ export { patchSemanticMetricGoalAdapterFactory } from '../adapters/patchSemanticMetricGoal';
12
14
  export { getSemanticSubMetricsByIdAdapterFactory } from '../adapters/getSemanticSubMetricsById';
@@ -1,5 +1,6 @@
1
1
  declare let createSemanticModel: any;
2
2
  declare let createSemanticSubMetric: any;
3
+ declare let deleteGoalFromSubMetric: any;
3
4
  declare let deleteSemanticSubMetric: any;
4
5
  declare let getSemanticMetric: any;
5
6
  declare let getSemanticMetricNotifyChange: any;
@@ -12,6 +13,7 @@ declare let getSemanticSubMetric: any;
12
13
  declare let getSemanticSubMetricNotifyChange: any;
13
14
  declare let getSemanticSubMetrics: any;
14
15
  declare let getSemanticSubMetricsById: any;
16
+ declare let patchSemanticMetricGoal: any;
15
17
  declare let patchSemanticModel: any;
16
18
  declare let getSemanticMetric_imperative: any;
17
19
  declare let getSemanticMetrics_imperative: any;
@@ -21,4 +23,4 @@ declare let getSemanticModels_imperative: any;
21
23
  declare let getSemanticSubMetric_imperative: any;
22
24
  declare let getSemanticSubMetrics_imperative: any;
23
25
  declare let getSemanticSubMetricsById_imperative: any;
24
- export { createSemanticModel, createSemanticSubMetric, deleteSemanticSubMetric, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetrics, getSemanticMetricsToSubMetrics, getSemanticModel, getSemanticModelNotifyChange, getSemanticModels, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetrics, getSemanticSubMetricsById, patchSemanticModel, getSemanticMetric_imperative, getSemanticMetrics_imperative, getSemanticMetricsToSubMetrics_imperative, getSemanticModel_imperative, getSemanticModels_imperative, getSemanticSubMetric_imperative, getSemanticSubMetrics_imperative, getSemanticSubMetricsById_imperative, };
26
+ export { createSemanticModel, createSemanticSubMetric, deleteGoalFromSubMetric, deleteSemanticSubMetric, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetrics, getSemanticMetricsToSubMetrics, getSemanticModel, getSemanticModelNotifyChange, getSemanticModels, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetrics, getSemanticSubMetricsById, patchSemanticMetricGoal, patchSemanticModel, getSemanticMetric_imperative, getSemanticMetrics_imperative, getSemanticMetricsToSubMetrics_imperative, getSemanticModel_imperative, getSemanticModels_imperative, getSemanticSubMetric_imperative, getSemanticSubMetrics_imperative, getSemanticSubMetricsById_imperative, };
@@ -8,5 +8,6 @@ export interface ResourceRequestConfig {
8
8
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
9
9
  export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
10
10
  export declare function getResponseCacheKeys(cacheKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig): void;
11
+ export declare function evictSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig): void;
11
12
  export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
12
13
  export default createResourceRequest;
@@ -4,6 +4,9 @@ export interface ResourceRequestConfig {
4
4
  urlParams: {
5
5
  modelApiNameOrId: string;
6
6
  };
7
+ queryParams: {
8
+ hasGoal?: boolean;
9
+ };
7
10
  }
8
11
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
9
12
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
@@ -1,5 +1,5 @@
1
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 { SemanticSubMetricCollectionOutputRepresentation as types_SemanticSubMetricCollectionOutputRepresentation_SemanticSubMetricCollectionOutputRepresentation } from '../types/SemanticSubMetricCollectionOutputRepresentation';
2
+ import { SemanticSubMetricOutputRepresentation as types_SemanticSubMetricOutputRepresentation_SemanticSubMetricOutputRepresentation } from '../types/SemanticSubMetricOutputRepresentation';
3
3
  export interface ResourceRequestConfig {
4
4
  urlParams: {
5
5
  modelApiNameOrId: string;
@@ -9,8 +9,8 @@ export interface ResourceRequestConfig {
9
9
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
10
10
  export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
11
11
  export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
12
- export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SemanticSubMetricCollectionOutputRepresentation_SemanticSubMetricCollectionOutputRepresentation): void;
13
- export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SemanticSubMetricCollectionOutputRepresentation_SemanticSubMetricCollectionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SemanticSubMetricCollectionOutputRepresentation_SemanticSubMetricCollectionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SemanticSubMetricCollectionOutputRepresentation_SemanticSubMetricCollectionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SemanticSubMetricCollectionOutputRepresentation_SemanticSubMetricCollectionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SemanticSubMetricCollectionOutputRepresentation_SemanticSubMetricCollectionOutputRepresentation, any>;
14
- export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SemanticSubMetricCollectionOutputRepresentation_SemanticSubMetricCollectionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
12
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SemanticSubMetricOutputRepresentation_SemanticSubMetricOutputRepresentation): void;
13
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SemanticSubMetricOutputRepresentation_SemanticSubMetricOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SemanticSubMetricOutputRepresentation_SemanticSubMetricOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SemanticSubMetricOutputRepresentation_SemanticSubMetricOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SemanticSubMetricOutputRepresentation_SemanticSubMetricOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SemanticSubMetricOutputRepresentation_SemanticSubMetricOutputRepresentation, any>;
14
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SemanticSubMetricOutputRepresentation_SemanticSubMetricOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
15
15
  export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
16
16
  export default createResourceRequest;
@@ -0,0 +1,12 @@
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 { SemanticPermissionOutputRepresentation as types_SemanticPermissionOutputRepresentation_SemanticPermissionOutputRepresentation } from '../types/SemanticPermissionOutputRepresentation';
3
+ export interface ResourceRequestConfig {
4
+ }
5
+ export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
6
+ export declare function keyBuilder(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): string;
7
+ export declare function keyBuilder_StructuredKey(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_NormalizedKeyMetadata;
8
+ export declare function getResponseCacheKeys(storeKeyMap: any, luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: types_SemanticPermissionOutputRepresentation_SemanticPermissionOutputRepresentation): void;
9
+ export declare function ingestSuccess(luvio: $64$luvio_engine_Luvio, resourceParams: ResourceRequestConfig, response: $64$luvio_engine_FetchResponse<types_SemanticPermissionOutputRepresentation_SemanticPermissionOutputRepresentation>, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SemanticPermissionOutputRepresentation_SemanticPermissionOutputRepresentation>): $64$luvio_engine_FulfilledSnapshot<types_SemanticPermissionOutputRepresentation_SemanticPermissionOutputRepresentation, {}> | $64$luvio_engine_StaleSnapshot<types_SemanticPermissionOutputRepresentation_SemanticPermissionOutputRepresentation, {}> | $64$luvio_engine_PendingSnapshot<types_SemanticPermissionOutputRepresentation_SemanticPermissionOutputRepresentation, any>;
10
+ export declare function ingestError(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig, error: $64$luvio_engine_ErrorResponse, snapshotRefresh?: $64$luvio_engine_SnapshotRefresh<types_SemanticPermissionOutputRepresentation_SemanticPermissionOutputRepresentation>): $64$luvio_engine_ErrorSnapshot;
11
+ export declare function createResourceRequest(config: ResourceRequestConfig): $64$luvio_engine_ResourceRequest;
12
+ export default createResourceRequest;
@@ -15,7 +15,8 @@ export interface ResourceRequestConfig {
15
15
  label?: string;
16
16
  filterLogic?: string;
17
17
  filters?: Array<types_SemanticFilterInputRepresentation_SemanticFilterInputRepresentation>;
18
- customSql?: string;
18
+ CustomSql?: string;
19
+ referenceIntegritySemanticDataObjects?: Array<types_SemanticDataObjectInputRepresentation_SemanticDataObjectInputRepresentation>;
19
20
  semanticDataObjects?: Array<types_SemanticDataObjectInputRepresentation_SemanticDataObjectInputRepresentation>;
20
21
  semanticRelationships?: Array<types_SemanticRelationshipInputRepresentation_SemanticRelationshipInputRepresentation>;
21
22
  semanticUnions?: Array<types_SemanticUnionInputRepresentation_SemanticUnionInputRepresentation>;
@@ -14,7 +14,8 @@ export interface ResourceRequestConfig {
14
14
  label?: string;
15
15
  filterLogic?: string;
16
16
  filters?: Array<types_SemanticFilterInputRepresentation_SemanticFilterInputRepresentation>;
17
- customSql?: string;
17
+ CustomSql?: string;
18
+ referenceIntegritySemanticDataObjects?: Array<types_SemanticDataObjectInputRepresentation_SemanticDataObjectInputRepresentation>;
18
19
  semanticDataObjects?: Array<types_SemanticDataObjectInputRepresentation_SemanticDataObjectInputRepresentation>;
19
20
  semanticRelationships?: Array<types_SemanticRelationshipInputRepresentation_SemanticRelationshipInputRepresentation>;
20
21
  semanticUnions?: Array<types_SemanticUnionInputRepresentation_SemanticUnionInputRepresentation>;
@@ -15,7 +15,8 @@ export interface ResourceRequestConfig {
15
15
  label?: string;
16
16
  filterLogic?: string;
17
17
  filters?: Array<types_SemanticFilterInputRepresentation_SemanticFilterInputRepresentation>;
18
- customSql?: string;
18
+ CustomSql?: string;
19
+ referenceIntegritySemanticDataObjects?: Array<types_SemanticDataObjectInputRepresentation_SemanticDataObjectInputRepresentation>;
19
20
  semanticDataObjects?: Array<types_SemanticDataObjectInputRepresentation_SemanticDataObjectInputRepresentation>;
20
21
  semanticRelationships?: Array<types_SemanticRelationshipInputRepresentation_SemanticRelationshipInputRepresentation>;
21
22
  semanticUnions?: Array<types_SemanticUnionInputRepresentation_SemanticUnionInputRepresentation>;
@@ -0,0 +1,46 @@
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 = "d211929f016074debe4222ace9271deb";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SemanticCalculatedFieldInputRepresentation, existing: SemanticCalculatedFieldInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticCalculatedFieldInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SemanticCalculatedFieldInputRepresentationNormalized, incoming: SemanticCalculatedFieldInputRepresentationNormalized): 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: SemanticCalculatedFieldInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Input representation for creating semantic calculated field
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SemanticCalculatedFieldInputRepresentationNormalized {
17
+ /** The semantic calculated field data role */
18
+ fieldDataRole?: string;
19
+ /** The semantic calculated field data type */
20
+ fieldDataType?: string;
21
+ /** The semantic calculated field decimal place */
22
+ fieldDecimalPlace?: number;
23
+ /** The semantic calculated field default aggregation type */
24
+ fieldDefaultAggregationType?: string;
25
+ /** The semantic calculated field description */
26
+ fieldDescription?: string;
27
+ /** The semantic calculated field formula */
28
+ fieldFormula?: string;
29
+ /** The semantic calculated field label */
30
+ fieldLabel?: string;
31
+ }
32
+ /**
33
+ * Input representation for creating semantic calculated field
34
+ *
35
+ * Keys:
36
+ * (none)
37
+ */
38
+ export interface SemanticCalculatedFieldInputRepresentation {
39
+ fieldDataRole?: string;
40
+ fieldDataType?: string;
41
+ fieldDecimalPlace?: number;
42
+ fieldDefaultAggregationType?: string;
43
+ fieldDescription?: string;
44
+ fieldFormula?: string;
45
+ fieldLabel?: string;
46
+ }
@@ -3,7 +3,7 @@ import { SemanticDataObjectInputRepresentation as SemanticDataObjectInputReprese
3
3
  import { SemanticRelationshipInputRepresentation as SemanticRelationshipInputRepresentation_SemanticRelationshipInputRepresentation } from './SemanticRelationshipInputRepresentation';
4
4
  import { SemanticUnionInputRepresentation as SemanticUnionInputRepresentation_SemanticUnionInputRepresentation } from './SemanticUnionInputRepresentation';
5
5
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
6
- export declare const VERSION = "f913bc73e37e2a7107113fd7ad230fa5";
6
+ export declare const VERSION = "03162e48680c7290814a81a5ee0170d6";
7
7
  export declare function validate(obj: any, path?: string): TypeError | null;
8
8
  export declare const RepresentationType: string;
9
9
  export declare function normalize(input: SemanticLogicalViewInputRepresentation, existing: SemanticLogicalViewInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticLogicalViewInputRepresentationNormalized;
@@ -18,10 +18,10 @@ export declare function getTypeCacheKeys(rootKeySet: $64$luvio_engine_DurableSto
18
18
  * (none)
19
19
  */
20
20
  export interface SemanticLogicalViewInputRepresentationNormalized {
21
+ /** Represents the custom sql query. */
22
+ CustomSql?: string;
21
23
  /** The API name of the semantic entity. */
22
24
  apiName?: string;
23
- /** Represents the custom sql query. */
24
- customSql?: string;
25
25
  /** An optional description of the semantic entity. */
26
26
  description?: string;
27
27
  /** The logic for generating a filter based on the list of filters. */
@@ -30,6 +30,8 @@ export interface SemanticLogicalViewInputRepresentationNormalized {
30
30
  filters?: Array<SemanticFilterInputRepresentation_SemanticFilterInputRepresentation>;
31
31
  /** 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. */
32
32
  label?: string;
33
+ /** The semantic data object references within the logical view. */
34
+ referenceIntegritySemanticDataObjects?: Array<SemanticDataObjectInputRepresentation_SemanticDataObjectInputRepresentation>;
33
35
  /** The semantic data objects within the logical view. */
34
36
  semanticDataObjects?: Array<SemanticDataObjectInputRepresentation_SemanticDataObjectInputRepresentation>;
35
37
  /** Represents the possible joins within the logical view. */
@@ -44,12 +46,13 @@ export interface SemanticLogicalViewInputRepresentationNormalized {
44
46
  * (none)
45
47
  */
46
48
  export interface SemanticLogicalViewInputRepresentation {
49
+ CustomSql?: string;
47
50
  apiName?: string;
48
- customSql?: string;
49
51
  description?: string;
50
52
  filterLogic?: string;
51
53
  filters?: Array<SemanticFilterInputRepresentation_SemanticFilterInputRepresentation>;
52
54
  label?: string;
55
+ referenceIntegritySemanticDataObjects?: Array<SemanticDataObjectInputRepresentation_SemanticDataObjectInputRepresentation>;
53
56
  semanticDataObjects?: Array<SemanticDataObjectInputRepresentation_SemanticDataObjectInputRepresentation>;
54
57
  semanticRelationships?: Array<SemanticRelationshipInputRepresentation_SemanticRelationshipInputRepresentation>;
55
58
  semanticUnions?: Array<SemanticUnionInputRepresentation_SemanticUnionInputRepresentation>;
@@ -3,7 +3,7 @@ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $
3
3
  import { SemanticDataObjectOutputRepresentation as SemanticDataObjectOutputRepresentation_SemanticDataObjectOutputRepresentation } from './SemanticDataObjectOutputRepresentation';
4
4
  import { SemanticRelationshipOutputRepresentation as SemanticRelationshipOutputRepresentation_SemanticRelationshipOutputRepresentation } from './SemanticRelationshipOutputRepresentation';
5
5
  import { SemanticUnionOutputRepresentation as SemanticUnionOutputRepresentation_SemanticUnionOutputRepresentation } from './SemanticUnionOutputRepresentation';
6
- export declare const VERSION = "281e0163ea1fc7d956974394f5310216";
6
+ export declare const VERSION = "9632101159ed742cb74ca0427f6c9da2";
7
7
  export declare function validate(obj: any, path?: string): TypeError | null;
8
8
  export declare const RepresentationType: string;
9
9
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -17,6 +17,7 @@ export declare function keyBuilderFromType(luvio: $64$luvio_engine_Luvio, object
17
17
  export declare function keyBuilderFromType_StructuredKey(luvio: $64$luvio_engine_Luvio, object: SemanticLogicalViewOutputRepresentation): $64$luvio_engine_NormalizedKeyMetadata;
18
18
  export declare function normalize(input: SemanticLogicalViewOutputRepresentation, existing: SemanticLogicalViewOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticLogicalViewOutputRepresentationNormalized;
19
19
  export interface DynamicIngestParams {
20
+ referenceIntegritySemanticDataObjects: $64$luvio_engine_ResourceIngest;
20
21
  semanticDataObjects: $64$luvio_engine_ResourceIngest;
21
22
  semanticRelationships: $64$luvio_engine_ResourceIngest;
22
23
  semanticUnions: $64$luvio_engine_ResourceIngest;
@@ -24,6 +25,7 @@ export interface DynamicIngestParams {
24
25
  export declare function dynamicNormalize(ingestParams: DynamicIngestParams): (input: SemanticLogicalViewOutputRepresentation, existing: SemanticLogicalViewOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number) => SemanticLogicalViewOutputRepresentationNormalized;
25
26
  export declare const select: () => $64$luvio_engine_FragmentSelection;
26
27
  export interface DynamicSelectParams {
28
+ referenceIntegritySemanticDataObjects?: $64$luvio_engine_LinkSelection;
27
29
  semanticDataObjects?: $64$luvio_engine_LinkSelection;
28
30
  semanticRelationships?: $64$luvio_engine_LinkSelection;
29
31
  semanticUnions?: $64$luvio_engine_LinkSelection;
@@ -40,6 +42,8 @@ export declare function dynamicIngest(ingestParams: DynamicIngestParams): $64$lu
40
42
  * name (string): id
41
43
  */
42
44
  export interface SemanticLogicalViewOutputRepresentationNormalized {
45
+ /** The custom sql query, relevant only for logicalView created by sql */
46
+ CustomSql?: string;
43
47
  /** The API name of the semantic entity. */
44
48
  apiName: string;
45
49
  /** The origin model of the semantic entity. */
@@ -50,8 +54,6 @@ export interface SemanticLogicalViewOutputRepresentationNormalized {
50
54
  createdBy: string;
51
55
  /** The date in which the semantic entity was created. */
52
56
  createdDate: string;
53
- /** The custom sql query, relevant only for logicalView created by sql */
54
- customSql?: string;
55
57
  /** The Description of the semantic entity. */
56
58
  description?: string;
57
59
  /** The logic expression for generating a filter based on the list of filters. */
@@ -66,6 +68,8 @@ export interface SemanticLogicalViewOutputRepresentationNormalized {
66
68
  lastModifiedBy?: string;
67
69
  /** The date in which the semantic entity was last modified. */
68
70
  lastModifiedDate?: string;
71
+ /** The list of the referenced semantic data objects used for reference integrity. */
72
+ referenceIntegritySemanticDataObjects?: Array<$64$luvio_engine_StoreLink>;
69
73
  /** The list of the referenced semantic data objects. */
70
74
  semanticDataObjects?: Array<$64$luvio_engine_StoreLink>;
71
75
  /** The list of the referenced semantic relationships. */
@@ -82,12 +86,12 @@ export interface SemanticLogicalViewOutputRepresentationNormalized {
82
86
  * name (string): id
83
87
  */
84
88
  export interface SemanticLogicalViewOutputRepresentation {
89
+ CustomSql?: string;
85
90
  apiName: string;
86
91
  baseModelApiName?: string;
87
92
  cacheKey?: string;
88
93
  createdBy: string;
89
94
  createdDate: string;
90
- customSql?: string;
91
95
  description?: string;
92
96
  filterLogic?: string;
93
97
  filters?: Array<SemanticFilterOutputRepresentation_SemanticFilterOutputRepresentation>;
@@ -95,6 +99,7 @@ export interface SemanticLogicalViewOutputRepresentation {
95
99
  label?: string;
96
100
  lastModifiedBy?: string;
97
101
  lastModifiedDate?: string;
102
+ referenceIntegritySemanticDataObjects?: Array<SemanticDataObjectOutputRepresentation_SemanticDataObjectOutputRepresentation>;
98
103
  semanticDataObjects?: Array<SemanticDataObjectOutputRepresentation_SemanticDataObjectOutputRepresentation>;
99
104
  semanticRelationships?: Array<SemanticRelationshipOutputRepresentation_SemanticRelationshipOutputRepresentation>;
100
105
  semanticUnions?: Array<SemanticUnionOutputRepresentation_SemanticUnionOutputRepresentation>;
@@ -0,0 +1,34 @@
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 = "a5dca07e6f41c01f86fa997330d3b1b1";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SemanticModelInfoOutputRepresentation, existing: SemanticModelInfoOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticModelInfoOutputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SemanticModelInfoOutputRepresentationNormalized, incoming: SemanticModelInfoOutputRepresentationNormalized): 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: SemanticModelInfoOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Output representation of model info.
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SemanticModelInfoOutputRepresentationNormalized {
17
+ /** The number of definition in model. */
18
+ definitionsCount: number;
19
+ /** The max definition in model. */
20
+ maxDefinitionCount: number;
21
+ /** The extensibility depth in model */
22
+ modelHierarchyDepth: number;
23
+ }
24
+ /**
25
+ * Output representation of model info.
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface SemanticModelInfoOutputRepresentation {
31
+ definitionsCount: number;
32
+ maxDefinitionCount: number;
33
+ modelHierarchyDepth: number;
34
+ }
@@ -1,4 +1,5 @@
1
1
  import { SemanticBaseModelOutputRepresentation as SemanticBaseModelOutputRepresentation_SemanticBaseModelOutputRepresentation } from './SemanticBaseModelOutputRepresentation';
2
+ import { SemanticModelInfoOutputRepresentation as SemanticModelInfoOutputRepresentation_SemanticModelInfoOutputRepresentation } from './SemanticModelInfoOutputRepresentation';
2
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, ResourceIngest as $64$luvio_engine_ResourceIngest, FragmentSelection as $64$luvio_engine_FragmentSelection, LinkSelection as $64$luvio_engine_LinkSelection, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
3
4
  import { SemanticCalculatedDimensionOutputRepresentation as SemanticCalculatedDimensionOutputRepresentation_SemanticCalculatedDimensionOutputRepresentation } from './SemanticCalculatedDimensionOutputRepresentation';
4
5
  import { SemanticCalculatedMeasurementOutputRepresentation as SemanticCalculatedMeasurementOutputRepresentation_SemanticCalculatedMeasurementOutputRepresentation } from './SemanticCalculatedMeasurementOutputRepresentation';
@@ -8,7 +9,7 @@ import { SemanticLogicalViewOutputRepresentation as SemanticLogicalViewOutputRep
8
9
  import { SemanticMetricOutputRepresentation as SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation } from './SemanticMetricOutputRepresentation';
9
10
  import { SemanticParameterOutputRepresentation as SemanticParameterOutputRepresentation_SemanticParameterOutputRepresentation } from './SemanticParameterOutputRepresentation';
10
11
  import { SemanticRelationshipOutputRepresentation as SemanticRelationshipOutputRepresentation_SemanticRelationshipOutputRepresentation } from './SemanticRelationshipOutputRepresentation';
11
- export declare const VERSION = "5cda82e85d7322d459ba16b10b81ee96";
12
+ export declare const VERSION = "f98076dda77572e1909b66b7e6172c95";
12
13
  export declare function validate(obj: any, path?: string): TypeError | null;
13
14
  export declare const RepresentationType: string;
14
15
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -107,6 +108,8 @@ export interface SemanticModelOutputRepresentationNormalized {
107
108
  semanticLogicalViews?: Array<$64$luvio_engine_StoreLink>;
108
109
  /** The semantic metrics belonging to this model. */
109
110
  semanticMetrics?: Array<$64$luvio_engine_StoreLink>;
111
+ /** Model info. */
112
+ semanticModelInfo?: SemanticModelInfoOutputRepresentation_SemanticModelInfoOutputRepresentation;
110
113
  /** The list of parameters belonging to the semantic model. */
111
114
  semanticParameters?: Array<$64$luvio_engine_StoreLink>;
112
115
  /** The URL that references the Semantic Parameters. */
@@ -153,6 +156,7 @@ export interface SemanticModelOutputRepresentation {
153
156
  semanticGroupingsUrl?: string | null;
154
157
  semanticLogicalViews?: Array<SemanticLogicalViewOutputRepresentation_SemanticLogicalViewOutputRepresentation>;
155
158
  semanticMetrics?: Array<SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation>;
159
+ semanticModelInfo?: SemanticModelInfoOutputRepresentation_SemanticModelInfoOutputRepresentation;
156
160
  semanticParameters?: Array<SemanticParameterOutputRepresentation_SemanticParameterOutputRepresentation>;
157
161
  semanticParametersUrl?: string;
158
162
  semanticRelationships?: Array<SemanticRelationshipOutputRepresentation_SemanticRelationshipOutputRepresentation>;
@@ -0,0 +1,39 @@
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 = "341ecd84036c7543d73963d2c152f258";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SemanticPermissionOutputRepresentation, existing: SemanticPermissionOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticPermissionOutputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SemanticPermissionOutputRepresentationNormalized, incoming: SemanticPermissionOutputRepresentationNormalized): 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: SemanticPermissionOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * The output representation of semantic permissions
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SemanticPermissionOutputRepresentationNormalized {
17
+ /** Object perms. */
18
+ semanticObjectPermissions?: {
19
+ [key: string]: Array<string>;
20
+ };
21
+ /** Org perms. */
22
+ semanticOrgPermissions?: {
23
+ [key: string]: boolean;
24
+ };
25
+ }
26
+ /**
27
+ * The output representation of semantic permissions
28
+ *
29
+ * Keys:
30
+ * (none)
31
+ */
32
+ export interface SemanticPermissionOutputRepresentation {
33
+ semanticObjectPermissions?: {
34
+ [key: string]: Array<string>;
35
+ };
36
+ semanticOrgPermissions?: {
37
+ [key: string]: boolean;
38
+ };
39
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cdp-semantic-authoring",
3
- "version": "1.309.0-dev16",
3
+ "version": "1.309.0-dev17",
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.309.0-dev16"
43
+ "@salesforce/lds-bindings": "^1.309.0-dev17"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.309.0-dev16"
46
+ "@salesforce/lds-compiler-plugins": "^1.309.0-dev17"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {