@salesforce/lds-adapters-cdp-semantic-authoring 1.308.0 → 1.310.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/dist/es/es2018/cdp-semantic-authoring.js +1705 -837
  2. package/dist/es/es2018/types/src/generated/adapters/getSemanticSubMetricsById.d.ts +27 -0
  3. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
  4. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
  5. package/dist/es/es2018/types/src/generated/resources/deleteSsotSemanticModelsMappedFieldsByMappedFieldNameOrIdAndModelApiNameOrId.d.ts +12 -0
  6. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsMappedFieldsByMappedFieldNameOrIdAndModelApiNameOrId.d.ts +16 -0
  7. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticModelsMappedFieldsByModelApiNameOrId.d.ts +15 -0
  8. package/dist/es/es2018/types/src/generated/resources/getSsotSemanticSubMetricsBySubMetricIds.d.ts +15 -0
  9. package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsByModelApiNameOrId.d.ts +2 -0
  10. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModels.d.ts +2 -0
  11. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsCalculatedDimensionsByModelApiNameOrId.d.ts +0 -1
  12. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsCloneByModelApiNameOrId.d.ts +12 -0
  13. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsDataObjectsDimensionsByDataObjectNameOrIdAndModelApiNameOrId.d.ts +0 -1
  14. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsMappedFieldsByModelApiNameOrId.d.ts +24 -0
  15. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsByModelApiNameOrId.d.ts +2 -0
  16. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedDimensionsByCalculatedDimensionNameOrIdAndModelApiNameOrId.d.ts +0 -1
  17. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedMeasurementsConvertToDimensionByCalculatedMeasurementNameOrIdAndModelApiNameOrId.d.ts +0 -1
  18. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsDataObjectsDimensionsByDataObjectNameOrIdAndDimensionNameOrIdAndModelApiNameOrId.d.ts +0 -1
  19. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsDataObjectsMeasurementsConvertToDimensionByDataObjectNameOrIdAndMeasurementNameOrIdAndModelApiNameOrId.d.ts +0 -1
  20. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsMappedFieldsByMappedFieldNameOrIdAndModelApiNameOrId.d.ts +25 -0
  21. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionInputRepresentation.d.ts +1 -4
  22. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionOutputRepresentation.d.ts +1 -4
  23. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementInputRepresentation.d.ts +1 -1
  24. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +1 -1
  25. package/dist/es/es2018/types/src/generated/types/SemanticDimensionInputRepresentation.d.ts +1 -4
  26. package/dist/es/es2018/types/src/generated/types/SemanticDimensionOutputRepresentation.d.ts +1 -4
  27. package/dist/es/es2018/types/src/generated/types/SemanticMappedFieldCollectionOutputRepresentation.d.ts +38 -0
  28. package/dist/es/es2018/types/src/generated/types/SemanticMeasurementInputRepresentation.d.ts +1 -1
  29. package/dist/es/es2018/types/src/generated/types/SemanticMeasurementOutputRepresentation.d.ts +1 -1
  30. package/dist/es/es2018/types/src/generated/types/SemanticModelInputRepresentation.d.ts +5 -1
  31. package/dist/es/es2018/types/src/generated/types/SemanticModelObjectCoordinateOutputRepresentation.d.ts +4 -1
  32. package/dist/es/es2018/types/src/generated/types/SemanticModelOutputRepresentation.d.ts +10 -1
  33. package/dist/es/es2018/types/src/generated/types/SemanticModelPartialOutputRepresentation.d.ts +4 -1
  34. package/dist/es/es2018/types/src/generated/types/SemanticUnionOutputRepresentation.d.ts +4 -1
  35. package/dist/es/es2018/types/src/generated/types/SemanticValidationPartialInputRepresentation.d.ts +28 -0
  36. package/dist/es/es2018/types/src/generated/types/SemanticValidationPartialOutputRepresentation.d.ts +34 -0
  37. package/package.json +3 -3
  38. package/sfdc/index.js +1606 -727
  39. package/src/raml/api.raml +1021 -902
  40. package/src/raml/luvio.raml +5 -0
@@ -3,11 +3,12 @@ import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $
3
3
  import { SemanticCalculatedDimensionOutputRepresentation as SemanticCalculatedDimensionOutputRepresentation_SemanticCalculatedDimensionOutputRepresentation } from './SemanticCalculatedDimensionOutputRepresentation';
4
4
  import { SemanticCalculatedMeasurementOutputRepresentation as SemanticCalculatedMeasurementOutputRepresentation_SemanticCalculatedMeasurementOutputRepresentation } from './SemanticCalculatedMeasurementOutputRepresentation';
5
5
  import { SemanticDataObjectOutputRepresentation as SemanticDataObjectOutputRepresentation_SemanticDataObjectOutputRepresentation } from './SemanticDataObjectOutputRepresentation';
6
+ import { SemanticGroupingOutputRepresentation as SemanticGroupingOutputRepresentation_SemanticGroupingOutputRepresentation } from './SemanticGroupingOutputRepresentation';
6
7
  import { SemanticLogicalViewOutputRepresentation as SemanticLogicalViewOutputRepresentation_SemanticLogicalViewOutputRepresentation } from './SemanticLogicalViewOutputRepresentation';
7
8
  import { SemanticMetricOutputRepresentation as SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation } from './SemanticMetricOutputRepresentation';
8
9
  import { SemanticParameterOutputRepresentation as SemanticParameterOutputRepresentation_SemanticParameterOutputRepresentation } from './SemanticParameterOutputRepresentation';
9
10
  import { SemanticRelationshipOutputRepresentation as SemanticRelationshipOutputRepresentation_SemanticRelationshipOutputRepresentation } from './SemanticRelationshipOutputRepresentation';
10
- export declare const VERSION = "2b83a1cf84bf1ccbe3783be82ff4d013";
11
+ export declare const VERSION = "3fb33fd1e310fdf42bf0170a5f20e206";
11
12
  export declare function validate(obj: any, path?: string): TypeError | null;
12
13
  export declare const RepresentationType: string;
13
14
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -24,6 +25,7 @@ export interface DynamicIngestParams {
24
25
  semanticCalculatedDimensions: $64$luvio_engine_ResourceIngest;
25
26
  semanticCalculatedMeasurements: $64$luvio_engine_ResourceIngest;
26
27
  semanticDataObjects: $64$luvio_engine_ResourceIngest;
28
+ semanticGroupings: $64$luvio_engine_ResourceIngest;
27
29
  semanticLogicalViews: $64$luvio_engine_ResourceIngest;
28
30
  semanticMetrics: $64$luvio_engine_ResourceIngest;
29
31
  semanticParameters: $64$luvio_engine_ResourceIngest;
@@ -35,6 +37,7 @@ export interface DynamicSelectParams {
35
37
  semanticCalculatedDimensions?: $64$luvio_engine_LinkSelection;
36
38
  semanticCalculatedMeasurements?: $64$luvio_engine_LinkSelection;
37
39
  semanticDataObjects?: $64$luvio_engine_LinkSelection;
40
+ semanticGroupings?: $64$luvio_engine_LinkSelection;
38
41
  semanticLogicalViews?: $64$luvio_engine_LinkSelection;
39
42
  semanticMetrics?: $64$luvio_engine_LinkSelection;
40
43
  semanticParameters?: $64$luvio_engine_LinkSelection;
@@ -92,6 +95,10 @@ export interface SemanticModelOutputRepresentationNormalized {
92
95
  semanticDataObjects?: Array<$64$luvio_engine_StoreLink>;
93
96
  /** The URL that references the Semantic Data Objects. */
94
97
  semanticDataObjectsUrl?: string;
98
+ /** The semantic groupings belonging to this model. */
99
+ semanticGroupings?: Array<$64$luvio_engine_StoreLink>;
100
+ /** The URL that references the Semantic Groupings. */
101
+ semanticGroupingsUrl?: string | null;
95
102
  /** The semantic logical views belonging to this model. */
96
103
  semanticLogicalViews?: Array<$64$luvio_engine_StoreLink>;
97
104
  /** The semantic metrics belonging to this model. */
@@ -136,6 +143,8 @@ export interface SemanticModelOutputRepresentation {
136
143
  semanticCalculatedMeasurementsUrl?: string;
137
144
  semanticDataObjects?: Array<SemanticDataObjectOutputRepresentation_SemanticDataObjectOutputRepresentation>;
138
145
  semanticDataObjectsUrl?: string;
146
+ semanticGroupings?: Array<SemanticGroupingOutputRepresentation_SemanticGroupingOutputRepresentation>;
147
+ semanticGroupingsUrl?: string | null;
139
148
  semanticLogicalViews?: Array<SemanticLogicalViewOutputRepresentation_SemanticLogicalViewOutputRepresentation>;
140
149
  semanticMetrics?: Array<SemanticMetricOutputRepresentation_SemanticMetricOutputRepresentation>;
141
150
  semanticParameters?: Array<SemanticParameterOutputRepresentation_SemanticParameterOutputRepresentation>;
@@ -1,6 +1,6 @@
1
1
  import { SemanticBaseModelOutputRepresentation as SemanticBaseModelOutputRepresentation_SemanticBaseModelOutputRepresentation } from './SemanticBaseModelOutputRepresentation';
2
2
  import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
3
- export declare const VERSION = "420bd0401e6440b145b7f094d87f9d77";
3
+ export declare const VERSION = "e01a91fd79dacbb09de6099af9690841";
4
4
  export declare function validate(obj: any, path?: string): TypeError | null;
5
5
  export declare const RepresentationType: string;
6
6
  export declare function normalize(input: SemanticModelPartialOutputRepresentation, existing: SemanticModelPartialOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticModelPartialOutputRepresentationNormalized;
@@ -49,6 +49,8 @@ export interface SemanticModelPartialOutputRepresentationNormalized {
49
49
  semanticCalculatedMeasurementsUrl?: string;
50
50
  /** The URL that references the Semantic Data Objects. */
51
51
  semanticDataObjectsUrl?: string;
52
+ /** The URL that references the Semantic Groupings. */
53
+ semanticGroupingsUrl?: string | null;
52
54
  /** The URL that references the Semantic Parameters. */
53
55
  semanticParametersUrl?: string;
54
56
  /** The URL that references the Semantic Relationships. */
@@ -82,6 +84,7 @@ export interface SemanticModelPartialOutputRepresentation {
82
84
  semanticCalculatedDimensionsUrl?: string;
83
85
  semanticCalculatedMeasurementsUrl?: string;
84
86
  semanticDataObjectsUrl?: string;
87
+ semanticGroupingsUrl?: string | null;
85
88
  semanticParametersUrl?: string;
86
89
  semanticRelationshipsUrl?: string;
87
90
  sourceCreation?: string;
@@ -1,7 +1,7 @@
1
1
  import { KeyMetadata as $64$luvio_engine_KeyMetadata, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata, Luvio as $64$luvio_engine_Luvio, IngestPath as $64$luvio_engine_IngestPath, Store as $64$luvio_engine_Store, 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';
2
2
  import { SemanticDataObjectOutputRepresentation as SemanticDataObjectOutputRepresentation_SemanticDataObjectOutputRepresentation } from './SemanticDataObjectOutputRepresentation';
3
3
  import { SemanticMappedFieldOutputRepresentation as SemanticMappedFieldOutputRepresentation_SemanticMappedFieldOutputRepresentation } from './SemanticMappedFieldOutputRepresentation';
4
- export declare const VERSION = "1b52cb482b6e6bf9858049a6bd3ed8f9";
4
+ export declare const VERSION = "405ff251703b1f5480363199ebeaf8a9";
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 {
@@ -54,6 +54,8 @@ export interface SemanticUnionOutputRepresentationNormalized {
54
54
  lastModifiedBy?: string;
55
55
  /** The date in which the semantic entity was last modified. */
56
56
  lastModifiedDate?: string;
57
+ /** The api name of the referenced logical view. */
58
+ logicalViewId?: string | null;
57
59
  /** The list of the referenced semantic data objects. */
58
60
  semanticDataObjects?: Array<$64$luvio_engine_StoreLink>;
59
61
  /** The list of the referenced semantic Mapped fields. */
@@ -75,6 +77,7 @@ export interface SemanticUnionOutputRepresentation {
75
77
  label?: string;
76
78
  lastModifiedBy?: string;
77
79
  lastModifiedDate?: string;
80
+ logicalViewId?: string | null;
78
81
  semanticDataObjects?: Array<SemanticDataObjectOutputRepresentation_SemanticDataObjectOutputRepresentation>;
79
82
  semanticMappedFields?: Array<SemanticMappedFieldOutputRepresentation_SemanticMappedFieldOutputRepresentation>;
80
83
  }
@@ -0,0 +1,28 @@
1
+ import { IngestPath as $64$luvio_engine_IngestPath, Luvio as $64$luvio_engine_Luvio, Store as $64$luvio_engine_Store, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap, NormalizedKeyMetadata as $64$luvio_engine_NormalizedKeyMetadata } from '@luvio/engine';
2
+ export declare const VERSION = "28e2d8ed623d7b599d9298ac42a34e88";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SemanticValidationPartialInputRepresentation, existing: SemanticValidationPartialInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticValidationPartialInputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SemanticValidationPartialInputRepresentationNormalized, incoming: SemanticValidationPartialInputRepresentationNormalized): 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: SemanticValidationPartialInputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Represents input for validating an API name
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SemanticValidationPartialInputRepresentationNormalized {
17
+ /** The API name to be validated */
18
+ apiName?: string;
19
+ }
20
+ /**
21
+ * Represents input for validating an API name
22
+ *
23
+ * Keys:
24
+ * (none)
25
+ */
26
+ export interface SemanticValidationPartialInputRepresentation {
27
+ apiName?: string;
28
+ }
@@ -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 = "c733975f8555aa85be4559a287954c92";
3
+ export declare function validate(obj: any, path?: string): TypeError | null;
4
+ export declare const RepresentationType: string;
5
+ export declare function normalize(input: SemanticValidationPartialOutputRepresentation, existing: SemanticValidationPartialOutputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticValidationPartialOutputRepresentationNormalized;
6
+ export declare const select: () => $64$luvio_engine_FragmentSelection;
7
+ export declare function equals(existing: SemanticValidationPartialOutputRepresentationNormalized, incoming: SemanticValidationPartialOutputRepresentationNormalized): 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: SemanticValidationPartialOutputRepresentation, fullPathFactory: () => string | $64$luvio_engine_NormalizedKeyMetadata): void;
10
+ /**
11
+ * Represents the result of API name validation
12
+ *
13
+ * Keys:
14
+ * (none)
15
+ */
16
+ export interface SemanticValidationPartialOutputRepresentationNormalized {
17
+ /** Message providing details about the validation result */
18
+ message: string;
19
+ /** Suggestion for a valid API name if the provided name is not valid */
20
+ suggestion?: string | null;
21
+ /** Indicates whether the API name is valid */
22
+ valid: boolean;
23
+ }
24
+ /**
25
+ * Represents the result of API name validation
26
+ *
27
+ * Keys:
28
+ * (none)
29
+ */
30
+ export interface SemanticValidationPartialOutputRepresentation {
31
+ message: string;
32
+ suggestion?: string | null;
33
+ valid: boolean;
34
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cdp-semantic-authoring",
3
- "version": "1.308.0",
3
+ "version": "1.310.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.308.0"
43
+ "@salesforce/lds-bindings": "^1.310.0"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.308.0"
46
+ "@salesforce/lds-compiler-plugins": "^1.310.0"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {