@salesforce/lds-adapters-cdp-semantic-authoring 1.332.0-dev20 → 1.332.0-dev22

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 (16) hide show
  1. package/dist/es/es2018/cdp-semantic-authoring.js +62 -2
  2. package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -0
  3. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsDataObjectsByModelApiNameOrId.d.ts +1 -0
  4. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsLogicalViewsByModelApiNameOrId.d.ts +1 -0
  5. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsDataObjectsByDataObjectNameOrIdAndModelApiNameOrId.d.ts +1 -0
  6. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -0
  7. package/dist/es/es2018/types/src/generated/types/SemanticDataObjectInputRepresentation.d.ts +4 -1
  8. package/dist/es/es2018/types/src/generated/types/SemanticDataObjectOutputRepresentation.d.ts +4 -1
  9. package/dist/es/es2018/types/src/generated/types/SemanticDimensionOutputRepresentation.d.ts +4 -1
  10. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewInputRepresentation.d.ts +4 -1
  11. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewOutputRepresentation.d.ts +4 -1
  12. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewPartialInputRepresentation.d.ts +4 -1
  13. package/dist/es/es2018/types/src/generated/types/SemanticMeasurementOutputRepresentation.d.ts +4 -1
  14. package/package.json +3 -3
  15. package/sfdc/index.js +63 -3
  16. package/src/raml/api.raml +68 -0
@@ -3172,6 +3172,13 @@ function validate$P(obj, path = 'SemanticDataObjectInputRepresentation') {
3172
3172
  return new TypeError('Expected "boolean" but received "' + typeof obj_shouldIncludeAllFields + '" (at "' + path_shouldIncludeAllFields + '")');
3173
3173
  }
3174
3174
  }
3175
+ if (obj.tableType !== undefined) {
3176
+ const obj_tableType = obj.tableType;
3177
+ const path_tableType = path + '.tableType';
3178
+ if (typeof obj_tableType !== 'string') {
3179
+ return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
3180
+ }
3181
+ }
3175
3182
  })();
3176
3183
  return v_error === undefined ? null : v_error;
3177
3184
  }
@@ -3765,6 +3772,13 @@ function validate$D(obj, path = 'SemanticLogicalViewInputRepresentation') {
3765
3772
  }
3766
3773
  }
3767
3774
  }
3775
+ if (obj.tableType !== undefined) {
3776
+ const obj_tableType = obj.tableType;
3777
+ const path_tableType = path + '.tableType';
3778
+ if (typeof obj_tableType !== 'string') {
3779
+ return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
3780
+ }
3781
+ }
3768
3782
  })();
3769
3783
  return v_error === undefined ? null : v_error;
3770
3784
  }
@@ -5521,6 +5535,13 @@ function validate$v(obj, path = 'SemanticDimensionOutputRepresentation') {
5521
5535
  return new TypeError('Expected "string" but received "' + typeof obj_sortOrder + '" (at "' + path_sortOrder + '")');
5522
5536
  }
5523
5537
  }
5538
+ if (obj.storageDataType !== undefined) {
5539
+ const obj_storageDataType = obj.storageDataType;
5540
+ const path_storageDataType = path + '.storageDataType';
5541
+ if (typeof obj_storageDataType !== 'string') {
5542
+ return new TypeError('Expected "string" but received "' + typeof obj_storageDataType + '" (at "' + path_storageDataType + '")');
5543
+ }
5544
+ }
5524
5545
  })();
5525
5546
  return v_error === undefined ? null : v_error;
5526
5547
  }
@@ -5697,11 +5718,18 @@ function validate$u(obj, path = 'SemanticMeasurementOutputRepresentation') {
5697
5718
  return new TypeError('Expected "string" but received "' + typeof obj_sortOrder + '" (at "' + path_sortOrder + '")');
5698
5719
  }
5699
5720
  }
5721
+ if (obj.storageDataType !== undefined) {
5722
+ const obj_storageDataType = obj.storageDataType;
5723
+ const path_storageDataType = path + '.storageDataType';
5724
+ if (typeof obj_storageDataType !== 'string') {
5725
+ return new TypeError('Expected "string" but received "' + typeof obj_storageDataType + '" (at "' + path_storageDataType + '")');
5726
+ }
5727
+ }
5700
5728
  })();
5701
5729
  return v_error === undefined ? null : v_error;
5702
5730
  }
5703
5731
 
5704
- const VERSION$l = "4f111b93807b811179eb310384efdc35";
5732
+ const VERSION$l = "95410e3ac002e52dd9d4efa1244e4234";
5705
5733
  function validate$t(obj, path = 'SemanticDataObjectOutputRepresentation') {
5706
5734
  const v_error = (() => {
5707
5735
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -5869,6 +5897,13 @@ function validate$t(obj, path = 'SemanticDataObjectOutputRepresentation') {
5869
5897
  return new TypeError('Expected "boolean" but received "' + typeof obj_shouldIncludeAllFields + '" (at "' + path_shouldIncludeAllFields + '")');
5870
5898
  }
5871
5899
  }
5900
+ if (obj.tableType !== undefined) {
5901
+ const obj_tableType = obj.tableType;
5902
+ const path_tableType = path + '.tableType';
5903
+ if (typeof obj_tableType !== 'string') {
5904
+ return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
5905
+ }
5906
+ }
5872
5907
  })();
5873
5908
  return v_error === undefined ? null : v_error;
5874
5909
  }
@@ -7713,7 +7748,7 @@ function getTypeCacheKeys$9(rootKeySet, luvio, input, fullPathFactory) {
7713
7748
  }
7714
7749
  }
7715
7750
 
7716
- const VERSION$b = "f186bf0514421e7f42e284136d60ea6c";
7751
+ const VERSION$b = "a07c1d2e7b0cc8a4933ca0e63af3ff50";
7717
7752
  function validate$j(obj, path = 'SemanticLogicalViewOutputRepresentation') {
7718
7753
  const v_error = (() => {
7719
7754
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -7861,6 +7896,13 @@ function validate$j(obj, path = 'SemanticLogicalViewOutputRepresentation') {
7861
7896
  return new TypeError('Expected "string" but received "' + typeof obj_semanticViewTypeEnum + '" (at "' + path_semanticViewTypeEnum + '")');
7862
7897
  }
7863
7898
  }
7899
+ if (obj.tableType !== undefined) {
7900
+ const obj_tableType = obj.tableType;
7901
+ const path_tableType = path + '.tableType';
7902
+ if (typeof obj_tableType !== 'string') {
7903
+ return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
7904
+ }
7905
+ }
7864
7906
  })();
7865
7907
  return v_error === undefined ? null : v_error;
7866
7908
  }
@@ -8026,6 +8068,11 @@ const select$q = function SemanticLogicalViewOutputRepresentationSelect() {
8026
8068
  name: 'semanticViewTypeEnum',
8027
8069
  kind: 'Scalar',
8028
8070
  required: false
8071
+ },
8072
+ {
8073
+ name: 'tableType',
8074
+ kind: 'Scalar',
8075
+ required: false
8029
8076
  }
8030
8077
  ]
8031
8078
  };
@@ -8168,6 +8215,19 @@ function equals$b(existing, incoming) {
8168
8215
  return false;
8169
8216
  }
8170
8217
  }
8218
+ const existing_tableType = existing.tableType;
8219
+ const incoming_tableType = incoming.tableType;
8220
+ // if at least one of these optionals is defined
8221
+ if (existing_tableType !== undefined || incoming_tableType !== undefined) {
8222
+ // if one of these is not defined we know the other is defined and therefore
8223
+ // not equal
8224
+ if (existing_tableType === undefined || incoming_tableType === undefined) {
8225
+ return false;
8226
+ }
8227
+ if (!(existing_tableType === incoming_tableType)) {
8228
+ return false;
8229
+ }
8230
+ }
8171
8231
  const existing_filters = existing.filters;
8172
8232
  const incoming_filters = incoming.filters;
8173
8233
  // if at least one of these optionals is defined
@@ -15,6 +15,7 @@ export interface ResourceRequestConfig {
15
15
  label?: string;
16
16
  filterLogic?: string;
17
17
  filters?: Array<types_SemanticFilterInputRepresentation_SemanticFilterInputRepresentation>;
18
+ tableType?: string;
18
19
  customSQL?: string;
19
20
  semanticDataObjects?: Array<types_SemanticDataObjectInputRepresentation_SemanticDataObjectInputRepresentation>;
20
21
  semanticRelationships?: Array<types_SemanticRelationshipInputRepresentation_SemanticRelationshipInputRepresentation>;
@@ -19,6 +19,7 @@ export interface ResourceRequestConfig {
19
19
  semanticDimensions?: Array<types_SemanticDimensionInputRepresentation_SemanticDimensionInputRepresentation>;
20
20
  semanticMeasurements?: Array<types_SemanticMeasurementInputRepresentation_SemanticMeasurementInputRepresentation>;
21
21
  shouldIncludeAllFields?: boolean;
22
+ tableType?: string;
22
23
  };
23
24
  }
24
25
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -14,6 +14,7 @@ export interface ResourceRequestConfig {
14
14
  label?: string;
15
15
  filterLogic?: string;
16
16
  filters?: Array<types_SemanticFilterInputRepresentation_SemanticFilterInputRepresentation>;
17
+ tableType?: string;
17
18
  customSQL?: string;
18
19
  semanticDataObjects?: Array<types_SemanticDataObjectInputRepresentation_SemanticDataObjectInputRepresentation>;
19
20
  semanticRelationships?: Array<types_SemanticRelationshipInputRepresentation_SemanticRelationshipInputRepresentation>;
@@ -20,6 +20,7 @@ export interface ResourceRequestConfig {
20
20
  semanticDimensions?: Array<types_SemanticDimensionInputRepresentation_SemanticDimensionInputRepresentation>;
21
21
  semanticMeasurements?: Array<types_SemanticMeasurementInputRepresentation_SemanticMeasurementInputRepresentation>;
22
22
  shouldIncludeAllFields?: boolean;
23
+ tableType?: string;
23
24
  };
24
25
  }
25
26
  export declare function select(luvio: $64$luvio_engine_Luvio, params: ResourceRequestConfig): $64$luvio_engine_Fragment;
@@ -15,6 +15,7 @@ export interface ResourceRequestConfig {
15
15
  label?: string;
16
16
  filterLogic?: string;
17
17
  filters?: Array<types_SemanticFilterInputRepresentation_SemanticFilterInputRepresentation>;
18
+ tableType?: string;
18
19
  customSQL?: string;
19
20
  semanticDataObjects?: Array<types_SemanticDataObjectInputRepresentation_SemanticDataObjectInputRepresentation>;
20
21
  semanticRelationships?: Array<types_SemanticRelationshipInputRepresentation_SemanticRelationshipInputRepresentation>;
@@ -2,7 +2,7 @@ import { SemanticFilterInputRepresentation as SemanticFilterInputRepresentation_
2
2
  import { SemanticDimensionInputRepresentation as SemanticDimensionInputRepresentation_SemanticDimensionInputRepresentation } from './SemanticDimensionInputRepresentation';
3
3
  import { SemanticMeasurementInputRepresentation as SemanticMeasurementInputRepresentation_SemanticMeasurementInputRepresentation } from './SemanticMeasurementInputRepresentation';
4
4
  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';
5
- export declare const VERSION = "1f8d4113124de8a279aa29be8ed0a6a0";
5
+ export declare const VERSION = "d5fe6c7e195f977f2db7f24fdc0db44b";
6
6
  export declare function validate(obj: any, path?: string): TypeError | null;
7
7
  export declare const RepresentationType: string;
8
8
  export declare function normalize(input: SemanticDataObjectInputRepresentation, existing: SemanticDataObjectInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticDataObjectInputRepresentationNormalized;
@@ -39,6 +39,8 @@ export interface SemanticDataObjectInputRepresentationNormalized {
39
39
  semanticMeasurements?: Array<SemanticMeasurementInputRepresentation_SemanticMeasurementInputRepresentation>;
40
40
  /** Indicates whether all fields or only specific fields of the referenced data object should be included. */
41
41
  shouldIncludeAllFields?: boolean;
42
+ /** Table Types for SDM query interpretation, Valid values are: SHARED or STANDARD */
43
+ tableType?: string;
42
44
  }
43
45
  /**
44
46
  * Input representation for creating a semantic data object
@@ -58,4 +60,5 @@ export interface SemanticDataObjectInputRepresentation {
58
60
  semanticDimensions?: Array<SemanticDimensionInputRepresentation_SemanticDimensionInputRepresentation>;
59
61
  semanticMeasurements?: Array<SemanticMeasurementInputRepresentation_SemanticMeasurementInputRepresentation>;
60
62
  shouldIncludeAllFields?: boolean;
63
+ tableType?: string;
61
64
  }
@@ -2,7 +2,7 @@ import { SemanticFilterOutputRepresentation as SemanticFilterOutputRepresentatio
2
2
  import { SemanticDimensionOutputRepresentation as SemanticDimensionOutputRepresentation_SemanticDimensionOutputRepresentation } from './SemanticDimensionOutputRepresentation';
3
3
  import { SemanticMeasurementOutputRepresentation as SemanticMeasurementOutputRepresentation_SemanticMeasurementOutputRepresentation } from './SemanticMeasurementOutputRepresentation';
4
4
  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, StoreLink as $64$luvio_engine_StoreLink, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
5
- export declare const VERSION = "4f111b93807b811179eb310384efdc35";
5
+ export declare const VERSION = "95410e3ac002e52dd9d4efa1244e4234";
6
6
  export declare function validate(obj: any, path?: string): TypeError | null;
7
7
  export declare const RepresentationType: string;
8
8
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -66,6 +66,8 @@ export interface SemanticDataObjectOutputRepresentationNormalized {
66
66
  semanticMeasurementsUrl?: string;
67
67
  /** Indicates whether all fields or only specific fields of the referenced data object should be included. */
68
68
  shouldIncludeAllFields?: boolean;
69
+ /** Table Types for SDM query interpretation. */
70
+ tableType?: string;
69
71
  }
70
72
  /**
71
73
  * Represents the output of a semantic data object.
@@ -94,4 +96,5 @@ export interface SemanticDataObjectOutputRepresentation {
94
96
  semanticMeasurements?: Array<SemanticMeasurementOutputRepresentation_SemanticMeasurementOutputRepresentation>;
95
97
  semanticMeasurementsUrl?: string;
96
98
  shouldIncludeAllFields?: boolean;
99
+ tableType?: string;
97
100
  }
@@ -1,5 +1,5 @@
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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
- export declare const VERSION = "4a75c4a157a546377d9016bd54dc3130";
2
+ export declare const VERSION = "c1b66aba815de646c2e28d183ac96753";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -63,6 +63,8 @@ export interface SemanticDimensionOutputRepresentationNormalized {
63
63
  semanticDataType?: string;
64
64
  /** Sort order of the Semantic Calculated Dimension. Valid values are Ascending, Descending, and None. */
65
65
  sortOrder?: string;
66
+ /** The storage type of data stored in the Data Cloud. */
67
+ storageDataType?: string;
66
68
  }
67
69
  /**
68
70
  * A semantic dimension.
@@ -91,4 +93,5 @@ export interface SemanticDimensionOutputRepresentation {
91
93
  lastModifiedDate?: string;
92
94
  semanticDataType?: string;
93
95
  sortOrder?: string;
96
+ storageDataType?: string;
94
97
  }
@@ -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 = "dd0b4801453112232c32bb0078b30e92";
6
+ export declare const VERSION = "fd9765ea7c75fd87e9746fa90afb390a";
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;
@@ -36,6 +36,8 @@ export interface SemanticLogicalViewInputRepresentationNormalized {
36
36
  semanticRelationships?: Array<SemanticRelationshipInputRepresentation_SemanticRelationshipInputRepresentation>;
37
37
  /** Represents the semantic union. */
38
38
  semanticUnions?: Array<SemanticUnionInputRepresentation_SemanticUnionInputRepresentation>;
39
+ /** Table Types for SDM query interpretation, Valid values are: SHARED or STANDARD */
40
+ tableType?: string;
39
41
  }
40
42
  /**
41
43
  * Input representation for creating a semantic logical view
@@ -53,4 +55,5 @@ export interface SemanticLogicalViewInputRepresentation {
53
55
  semanticDataObjects?: Array<SemanticDataObjectInputRepresentation_SemanticDataObjectInputRepresentation>;
54
56
  semanticRelationships?: Array<SemanticRelationshipInputRepresentation_SemanticRelationshipInputRepresentation>;
55
57
  semanticUnions?: Array<SemanticUnionInputRepresentation_SemanticUnionInputRepresentation>;
58
+ tableType?: string;
56
59
  }
@@ -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 = "f186bf0514421e7f42e284136d60ea6c";
6
+ export declare const VERSION = "a07c1d2e7b0cc8a4933ca0e63af3ff50";
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 {
@@ -74,6 +74,8 @@ export interface SemanticLogicalViewOutputRepresentationNormalized {
74
74
  semanticUnions?: Array<$64$luvio_engine_StoreLink>;
75
75
  /** The semantic view types enum, relevant only for logicalView created by sql */
76
76
  semanticViewTypeEnum?: string;
77
+ /** Table Types for SDM query interpretation. */
78
+ tableType?: string;
77
79
  }
78
80
  /**
79
81
  * A semantic logical view.
@@ -99,4 +101,5 @@ export interface SemanticLogicalViewOutputRepresentation {
99
101
  semanticRelationships?: Array<SemanticRelationshipOutputRepresentation_SemanticRelationshipOutputRepresentation>;
100
102
  semanticUnions?: Array<SemanticUnionOutputRepresentation_SemanticUnionOutputRepresentation>;
101
103
  semanticViewTypeEnum?: string;
104
+ tableType?: string;
102
105
  }
@@ -1,6 +1,6 @@
1
1
  import { SemanticFilterInputRepresentation as SemanticFilterInputRepresentation_SemanticFilterInputRepresentation } from './SemanticFilterInputRepresentation';
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 = "d69782099430d4f967965390c2828597";
3
+ export declare const VERSION = "bd6a7f3ee58ebf650ccf9b2f5fcad20c";
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: SemanticLogicalViewPartialInputRepresentation, existing: SemanticLogicalViewPartialInputRepresentationNormalized, path: $64$luvio_engine_IngestPath, luvio: $64$luvio_engine_Luvio, store: $64$luvio_engine_Store, timestamp: number): SemanticLogicalViewPartialInputRepresentationNormalized;
@@ -25,6 +25,8 @@ export interface SemanticLogicalViewPartialInputRepresentationNormalized {
25
25
  filters?: Array<SemanticFilterInputRepresentation_SemanticFilterInputRepresentation>;
26
26
  /** 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. */
27
27
  label?: string;
28
+ /** Table Types for SDM query interpretation, Valid values are: SHARED or STANDARD */
29
+ tableType?: string;
28
30
  }
29
31
  /**
30
32
  * Limited input representation for patching a semantic logical view
@@ -38,4 +40,5 @@ export interface SemanticLogicalViewPartialInputRepresentation {
38
40
  filterLogic?: string;
39
41
  filters?: Array<SemanticFilterInputRepresentation_SemanticFilterInputRepresentation>;
40
42
  label?: string;
43
+ tableType?: string;
41
44
  }
@@ -1,5 +1,5 @@
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, FragmentSelection as $64$luvio_engine_FragmentSelection, ResourceIngest as $64$luvio_engine_ResourceIngest, DurableStoreKeyMetadataMap as $64$luvio_engine_DurableStoreKeyMetadataMap } from '@luvio/engine';
2
- export declare const VERSION = "fdd49bacf4f31f1e63bfcdad936f4085";
2
+ export declare const VERSION = "4902e92f6b87c454c21da737211cb74c";
3
3
  export declare function validate(obj: any, path?: string): TypeError | null;
4
4
  export declare const RepresentationType: string;
5
5
  export interface KeyParams extends $64$luvio_engine_KeyMetadata {
@@ -73,6 +73,8 @@ export interface SemanticMeasurementOutputRepresentationNormalized {
73
73
  shouldTreatNullsAsZeros?: boolean;
74
74
  /** Sort order of the Semantic Calculated Dimension. Valid values are Ascending, Descending, and None. */
75
75
  sortOrder?: string;
76
+ /** The type of data stored in DC. */
77
+ storageDataType?: string;
76
78
  }
77
79
  /**
78
80
  * A semantic measurement.
@@ -106,4 +108,5 @@ export interface SemanticMeasurementOutputRepresentation {
106
108
  sentiment?: string;
107
109
  shouldTreatNullsAsZeros?: boolean;
108
110
  sortOrder?: string;
111
+ storageDataType?: string;
109
112
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@salesforce/lds-adapters-cdp-semantic-authoring",
3
- "version": "1.332.0-dev20",
3
+ "version": "1.332.0-dev22",
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.332.0-dev20"
43
+ "@salesforce/lds-bindings": "^1.332.0-dev22"
44
44
  },
45
45
  "devDependencies": {
46
- "@salesforce/lds-compiler-plugins": "^1.332.0-dev20"
46
+ "@salesforce/lds-compiler-plugins": "^1.332.0-dev22"
47
47
  },
48
48
  "nx": {
49
49
  "targets": {
package/sfdc/index.js CHANGED
@@ -1104,6 +1104,13 @@ function validate$V(obj, path = 'SemanticDataObjectInputRepresentation') {
1104
1104
  return new TypeError('Expected "boolean" but received "' + typeof obj_shouldIncludeAllFields + '" (at "' + path_shouldIncludeAllFields + '")');
1105
1105
  }
1106
1106
  }
1107
+ if (obj.tableType !== undefined) {
1108
+ const obj_tableType = obj.tableType;
1109
+ const path_tableType = path + '.tableType';
1110
+ if (typeof obj_tableType !== 'string') {
1111
+ return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
1112
+ }
1113
+ }
1107
1114
  })();
1108
1115
  return v_error === undefined ? null : v_error;
1109
1116
  }
@@ -1697,6 +1704,13 @@ function validate$J(obj, path = 'SemanticLogicalViewInputRepresentation') {
1697
1704
  }
1698
1705
  }
1699
1706
  }
1707
+ if (obj.tableType !== undefined) {
1708
+ const obj_tableType = obj.tableType;
1709
+ const path_tableType = path + '.tableType';
1710
+ if (typeof obj_tableType !== 'string') {
1711
+ return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
1712
+ }
1713
+ }
1700
1714
  })();
1701
1715
  return v_error === undefined ? null : v_error;
1702
1716
  }
@@ -3611,6 +3625,13 @@ function validate$z(obj, path = 'SemanticDimensionOutputRepresentation') {
3611
3625
  return new TypeError('Expected "string" but received "' + typeof obj_sortOrder + '" (at "' + path_sortOrder + '")');
3612
3626
  }
3613
3627
  }
3628
+ if (obj.storageDataType !== undefined) {
3629
+ const obj_storageDataType = obj.storageDataType;
3630
+ const path_storageDataType = path + '.storageDataType';
3631
+ if (typeof obj_storageDataType !== 'string') {
3632
+ return new TypeError('Expected "string" but received "' + typeof obj_storageDataType + '" (at "' + path_storageDataType + '")');
3633
+ }
3634
+ }
3614
3635
  })();
3615
3636
  return v_error === undefined ? null : v_error;
3616
3637
  }
@@ -3787,11 +3808,18 @@ function validate$y(obj, path = 'SemanticMeasurementOutputRepresentation') {
3787
3808
  return new TypeError('Expected "string" but received "' + typeof obj_sortOrder + '" (at "' + path_sortOrder + '")');
3788
3809
  }
3789
3810
  }
3811
+ if (obj.storageDataType !== undefined) {
3812
+ const obj_storageDataType = obj.storageDataType;
3813
+ const path_storageDataType = path + '.storageDataType';
3814
+ if (typeof obj_storageDataType !== 'string') {
3815
+ return new TypeError('Expected "string" but received "' + typeof obj_storageDataType + '" (at "' + path_storageDataType + '")');
3816
+ }
3817
+ }
3790
3818
  })();
3791
3819
  return v_error === undefined ? null : v_error;
3792
3820
  }
3793
3821
 
3794
- const VERSION$t = "4f111b93807b811179eb310384efdc35";
3822
+ const VERSION$t = "95410e3ac002e52dd9d4efa1244e4234";
3795
3823
  function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
3796
3824
  const v_error = (() => {
3797
3825
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -3959,6 +3987,13 @@ function validate$x(obj, path = 'SemanticDataObjectOutputRepresentation') {
3959
3987
  return new TypeError('Expected "boolean" but received "' + typeof obj_shouldIncludeAllFields + '" (at "' + path_shouldIncludeAllFields + '")');
3960
3988
  }
3961
3989
  }
3990
+ if (obj.tableType !== undefined) {
3991
+ const obj_tableType = obj.tableType;
3992
+ const path_tableType = path + '.tableType';
3993
+ if (typeof obj_tableType !== 'string') {
3994
+ return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
3995
+ }
3996
+ }
3962
3997
  })();
3963
3998
  return v_error === undefined ? null : v_error;
3964
3999
  }
@@ -5952,7 +5987,7 @@ function getTypeCacheKeys$b(rootKeySet, luvio, input, fullPathFactory) {
5952
5987
  }
5953
5988
  }
5954
5989
 
5955
- const VERSION$h = "f186bf0514421e7f42e284136d60ea6c";
5990
+ const VERSION$h = "a07c1d2e7b0cc8a4933ca0e63af3ff50";
5956
5991
  function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
5957
5992
  const v_error = (() => {
5958
5993
  if (typeof obj !== 'object' || ArrayIsArray(obj) || obj === null) {
@@ -6100,6 +6135,13 @@ function validate$l(obj, path = 'SemanticLogicalViewOutputRepresentation') {
6100
6135
  return new TypeError('Expected "string" but received "' + typeof obj_semanticViewTypeEnum + '" (at "' + path_semanticViewTypeEnum + '")');
6101
6136
  }
6102
6137
  }
6138
+ if (obj.tableType !== undefined) {
6139
+ const obj_tableType = obj.tableType;
6140
+ const path_tableType = path + '.tableType';
6141
+ if (typeof obj_tableType !== 'string') {
6142
+ return new TypeError('Expected "string" but received "' + typeof obj_tableType + '" (at "' + path_tableType + '")');
6143
+ }
6144
+ }
6103
6145
  })();
6104
6146
  return v_error === undefined ? null : v_error;
6105
6147
  }
@@ -6265,6 +6307,11 @@ const select$x = function SemanticLogicalViewOutputRepresentationSelect() {
6265
6307
  name: 'semanticViewTypeEnum',
6266
6308
  kind: 'Scalar',
6267
6309
  required: false
6310
+ },
6311
+ {
6312
+ name: 'tableType',
6313
+ kind: 'Scalar',
6314
+ required: false
6268
6315
  }
6269
6316
  ]
6270
6317
  };
@@ -6407,6 +6454,19 @@ function equals$h(existing, incoming) {
6407
6454
  return false;
6408
6455
  }
6409
6456
  }
6457
+ const existing_tableType = existing.tableType;
6458
+ const incoming_tableType = incoming.tableType;
6459
+ // if at least one of these optionals is defined
6460
+ if (existing_tableType !== undefined || incoming_tableType !== undefined) {
6461
+ // if one of these is not defined we know the other is defined and therefore
6462
+ // not equal
6463
+ if (existing_tableType === undefined || incoming_tableType === undefined) {
6464
+ return false;
6465
+ }
6466
+ if (!(existing_tableType === incoming_tableType)) {
6467
+ return false;
6468
+ }
6469
+ }
6410
6470
  const existing_filters = existing.filters;
6411
6471
  const incoming_filters = incoming.filters;
6412
6472
  // if at least one of these optionals is defined
@@ -13946,4 +14006,4 @@ withDefaultLuvio((luvio) => {
13946
14006
  });
13947
14007
 
13948
14008
  export { createSemanticGoal, createSemanticModel, createSemanticSubMetric, deleteGoalFromSubMetric, deleteSemanticGoal, deleteSemanticSubMetric, getLeafDependenciesByTypes, getLeafDependenciesByTypes_imperative, getSemanticGoal, getSemanticGoalNotifyChange, getSemanticGoal_imperative, getSemanticMetric, getSemanticMetricNotifyChange, getSemanticMetric_imperative, getSemanticMetrics, getSemanticMetricsByIds, getSemanticMetricsByIds_imperative, getSemanticMetricsToSubMetrics, getSemanticMetricsToSubMetrics_imperative, getSemanticMetrics_imperative, getSemanticModel, getSemanticModelNotifyChange, getSemanticModel_imperative, getSemanticModels, getSemanticModels_imperative, getSemanticSubMetric, getSemanticSubMetricNotifyChange, getSemanticSubMetric_imperative, getSemanticSubMetrics, getSemanticSubMetricsById, getSemanticSubMetricsById_imperative, getSemanticSubMetrics_imperative, patchSemanticMetricGoal, patchSemanticModel, updateSemanticGoal };
13949
- // version: 1.332.0-dev20-8600de247a
14009
+ // version: 1.332.0-dev22-dd082a87cf
package/src/raml/api.raml CHANGED
@@ -76,11 +76,51 @@ types:
76
76
  - Quarter
77
77
  - Week
78
78
  - Year
79
+ SemanticLogicalViewTableTypeEnum:
80
+ description: Table Types for SDM query interpretation.
81
+ type: string
82
+ enum:
83
+ - Shared
84
+ - Standard
85
+ SemanticDataObjectTableTypeEnum:
86
+ description: 'Table Types for SDM query interpretation, Valid values are: SHARED or STANDARD'
87
+ type: string
88
+ enum:
89
+ - Shared
90
+ - Standard
79
91
  SemanticExpressionSyntaxTypeEnum:
80
92
  description: The syntax of the semantic expression.
81
93
  type: string
82
94
  enum:
83
95
  - Tua
96
+ SemanticMeasurementStorageDataTypeEnum:
97
+ description: The type of data stored in DC.
98
+ type: string
99
+ enum:
100
+ - Boolean
101
+ - Currency
102
+ - Date
103
+ - DateTime
104
+ - Email
105
+ - Number
106
+ - Percentage
107
+ - PhoneNumber
108
+ - Text
109
+ - Url
110
+ SemanticDimensionStorageDataTypeEnum:
111
+ description: The storage type of data stored in the Data Cloud.
112
+ type: string
113
+ enum:
114
+ - Boolean
115
+ - Currency
116
+ - Date
117
+ - DateTime
118
+ - Email
119
+ - Number
120
+ - Percentage
121
+ - PhoneNumber
122
+ - Text
123
+ - Url
84
124
  SemanticModelSourceCreationTypeEnum:
85
125
  description: The source type of which the model was created from.
86
126
  type: string
@@ -952,6 +992,10 @@ types:
952
992
  description: Indicates whether all fields or only specific fields of the referenced data object should be included.
953
993
  type: boolean
954
994
  required: false
995
+ tableType:
996
+ description: 'Table Types for SDM query interpretation, Valid values are: SHARED or STANDARD'
997
+ type: SemanticDataObjectTableTypeEnum
998
+ required: false
955
999
  SemanticDataObjectOutputRepresentation:
956
1000
  description: Represents the output of a semantic data object.
957
1001
  type: object
@@ -1039,6 +1083,10 @@ types:
1039
1083
  description: Indicates whether all fields or only specific fields of the referenced data object should be included.
1040
1084
  type: boolean
1041
1085
  required: false
1086
+ tableType:
1087
+ description: Table Types for SDM query interpretation.
1088
+ type: SemanticDataObjectTableTypeEnum
1089
+ required: false
1042
1090
  SemanticDependencyCollectionInputRepresentation:
1043
1091
  description: An input representation to retrieve a list of dependencies.
1044
1092
  type: object
@@ -1247,6 +1295,10 @@ types:
1247
1295
  description: The key qualifier name of this field in data object in data cloud, if exists.
1248
1296
  type: string
1249
1297
  required: false
1298
+ storageDataType:
1299
+ description: The storage type of data stored in the Data Cloud.
1300
+ type: SemanticDimensionStorageDataTypeEnum
1301
+ required: false
1250
1302
  SemanticFieldReferenceInputRepresentation:
1251
1303
  description: Input representation field reference
1252
1304
  type: object
@@ -1737,6 +1789,10 @@ types:
1737
1789
  items:
1738
1790
  type: SemanticFilterInputRepresentation
1739
1791
  required: false
1792
+ tableType:
1793
+ description: 'Table Types for SDM query interpretation, Valid values are: SHARED or STANDARD'
1794
+ type: SemanticLogicalViewTableTypeEnum
1795
+ required: false
1740
1796
  customSQL:
1741
1797
  description: Represents the custom sql query.
1742
1798
  type: string
@@ -1836,6 +1892,10 @@ types:
1836
1892
  description: The semantic view types enum, relevant only for logicalView created by sql
1837
1893
  type: SemanticViewTypeEnum
1838
1894
  required: false
1895
+ tableType:
1896
+ description: Table Types for SDM query interpretation.
1897
+ type: SemanticLogicalViewTableTypeEnum
1898
+ required: false
1839
1899
  SemanticLogicalViewPartialInputRepresentation:
1840
1900
  description: Limited input representation for patching a semantic logical view
1841
1901
  type: object
@@ -1862,6 +1922,10 @@ types:
1862
1922
  items:
1863
1923
  type: SemanticFilterInputRepresentation
1864
1924
  required: false
1925
+ tableType:
1926
+ description: 'Table Types for SDM query interpretation, Valid values are: SHARED or STANDARD'
1927
+ type: SemanticLogicalViewTableTypeEnum
1928
+ required: false
1865
1929
  SemanticMappedFieldCollectionOutputRepresentation:
1866
1930
  description: Semantic mapped field collection representation.
1867
1931
  type: object
@@ -2138,6 +2202,10 @@ types:
2138
2202
  description: The key qualifier name of this field in data object in data cloud, if exists.
2139
2203
  type: string
2140
2204
  required: false
2205
+ storageDataType:
2206
+ description: The type of data stored in DC.
2207
+ type: SemanticMeasurementStorageDataTypeEnum
2208
+ required: false
2141
2209
  SemanticMetricAdditionalDimensionInputRepresentation:
2142
2210
  description: Input representation for updating semantic metric with additional dimensions
2143
2211
  type: object