@salesforce/lds-adapters-cdp-semantic-authoring 1.351.1 → 1.353.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 (37) hide show
  1. package/dist/es/es2018/cdp-semantic-authoring.js +1074 -207
  2. package/dist/es/es2018/types/src/generated/adapters/createSemanticModel.d.ts +4 -0
  3. package/dist/es/es2018/types/src/generated/adapters/patchSemanticModel.d.ts +4 -0
  4. package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsByModelApiNameOrId.d.ts +4 -0
  5. package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -0
  6. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModels.d.ts +4 -0
  7. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsCalculatedDimensionsByModelApiNameOrId.d.ts +1 -0
  8. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsCalculatedMeasurementsByModelApiNameOrId.d.ts +1 -0
  9. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsDataObjectsByModelApiNameOrId.d.ts +1 -0
  10. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsLogicalViewsByModelApiNameOrId.d.ts +1 -0
  11. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsByModelApiNameOrId.d.ts +4 -0
  12. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedDimensionsByCalculatedDimensionNameOrIdAndModelApiNameOrId.d.ts +1 -0
  13. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedDimensionsConvertToMeasurementByCalculatedDimensionNameOrIdAndModelApiNameOrId.d.ts +1 -0
  14. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedMeasurementsByCalculatedMeasurementNameOrIdAndModelApiNameOrId.d.ts +1 -0
  15. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsCalculatedMeasurementsConvertToDimensionByCalculatedMeasurementNameOrIdAndModelApiNameOrId.d.ts +1 -0
  16. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsDataObjectsByDataObjectNameOrIdAndModelApiNameOrId.d.ts +1 -0
  17. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -0
  18. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionInputRepresentation.d.ts +4 -1
  19. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionOutputRepresentation.d.ts +13 -1
  20. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementInputRepresentation.d.ts +4 -1
  21. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +13 -1
  22. package/dist/es/es2018/types/src/generated/types/SemanticDataObjectInputRepresentation.d.ts +4 -1
  23. package/dist/es/es2018/types/src/generated/types/SemanticDataObjectOutputRepresentation.d.ts +7 -1
  24. package/dist/es/es2018/types/src/generated/types/SemanticDimensionOutputRepresentation.d.ts +7 -1
  25. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewInputRepresentation.d.ts +4 -1
  26. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewOutputRepresentation.d.ts +4 -1
  27. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewPartialInputRepresentation.d.ts +4 -1
  28. package/dist/es/es2018/types/src/generated/types/SemanticMeasurementOutputRepresentation.d.ts +7 -1
  29. package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionInputRepresentation.d.ts +37 -0
  30. package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionOutputRepresentation.d.ts +43 -0
  31. package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation.d.ts +37 -0
  32. package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation.d.ts +37 -0
  33. package/dist/es/es2018/types/src/generated/types/SemanticModelInputRepresentation.d.ts +9 -1
  34. package/dist/es/es2018/types/src/generated/types/SemanticModelOutputRepresentation.d.ts +9 -1
  35. package/package.json +3 -3
  36. package/sfdc/index.js +983 -116
  37. package/src/raml/api.raml +250 -2
package/src/raml/api.raml CHANGED
@@ -2,7 +2,7 @@
2
2
  securedBy:
3
3
  - OAuth2
4
4
  title: Salesforce Connect API
5
- version: '63.0'
5
+ version: '64.0'
6
6
  mediaType: application/json
7
7
  protocols:
8
8
  - https
@@ -25,6 +25,22 @@ annotationTypes:
25
25
  type: string
26
26
  allowedTargets: TypeDeclaration
27
27
  types:
28
+ SemanticExternalConnectionType:
29
+ description: The type of an external connection.
30
+ type: string
31
+ enum:
32
+ - TableauPublishedDataSource
33
+ SemanticCalculatedFieldLevelEnum:
34
+ description: The level of a calculated field expression.
35
+ type: string
36
+ enum:
37
+ - ContextDependent
38
+ - CioAggregatableMetric
39
+ - CioNonAggregatableMetric
40
+ - Row
41
+ - AggregateFunction
42
+ - TableCalc
43
+ - Lod
28
44
  SemanticParameterTypeEnum:
29
45
  description: The semantic parameter type.
30
46
  type: string
@@ -76,11 +92,51 @@ types:
76
92
  - Quarter
77
93
  - Week
78
94
  - Year
95
+ SemanticLogicalViewTableTypeEnum:
96
+ description: Table Types for SDM query interpretation.
97
+ type: string
98
+ enum:
99
+ - Shared
100
+ - Standard
101
+ SemanticDataObjectTableTypeEnum:
102
+ description: 'Table Types for SDM query interpretation, Valid values are: SHARED or STANDARD'
103
+ type: string
104
+ enum:
105
+ - Shared
106
+ - Standard
79
107
  SemanticExpressionSyntaxTypeEnum:
80
108
  description: The syntax of the semantic expression.
81
109
  type: string
82
110
  enum:
83
111
  - Tua
112
+ SemanticMeasurementStorageDataTypeEnum:
113
+ description: The type of data stored in DC.
114
+ type: string
115
+ enum:
116
+ - Boolean
117
+ - Currency
118
+ - Date
119
+ - DateTime
120
+ - Email
121
+ - Number
122
+ - Percentage
123
+ - PhoneNumber
124
+ - Text
125
+ - Url
126
+ SemanticDimensionStorageDataTypeEnum:
127
+ description: The storage type of data stored in the Data Cloud.
128
+ type: string
129
+ enum:
130
+ - Boolean
131
+ - Currency
132
+ - Date
133
+ - DateTime
134
+ - Email
135
+ - Number
136
+ - Percentage
137
+ - PhoneNumber
138
+ - Text
139
+ - Url
84
140
  SemanticModelSourceCreationTypeEnum:
85
141
  description: The source type of which the model was created from.
86
142
  type: string
@@ -136,9 +192,9 @@ types:
136
192
  - DataType
137
193
  - DecimalPlace
138
194
  - Description
139
- - Directionality
140
195
  - DisplayCategory
141
196
  - DisplayName
197
+ - Sentiment
142
198
  - SortOrder
143
199
  - Visibility
144
200
  SemanticFilterOperatorTypeEnum:
@@ -297,6 +353,7 @@ types:
297
353
  - CustomSQL
298
354
  - Dlo
299
355
  - Dmo
356
+ - Pds
300
357
  SemanticGoalStatusConditionColorEnum:
301
358
  description: The Color of the Goal Status Condition
302
359
  type: string
@@ -526,6 +583,10 @@ types:
526
583
  items:
527
584
  type: SemanticFilterInputRepresentation
528
585
  required: false
586
+ isOverrideBase:
587
+ description: The isOverrideBase property indicates whether a dimension from the base model is being overridden in the extended model during SDM Extensibility, allowing customization of existing semantic definitions.Default is false.
588
+ type: boolean
589
+ required: false
529
590
  syntax:
530
591
  description: The syntax of the semantic expression.
531
592
  type: SemanticExpressionSyntaxTypeEnum
@@ -542,6 +603,14 @@ types:
542
603
  description: The origin model of the semantic entity.
543
604
  type: string
544
605
  required: false
606
+ externalConnectionApiName:
607
+ description: The api name of the origin external connection.
608
+ type: string
609
+ required: false
610
+ externalStorageName:
611
+ description: The name of the corresponding external entity.
612
+ type: string
613
+ required: false
545
614
  cacheKey:
546
615
  description: The Canonical URL of the collection for caching purposes only.
547
616
  type: string
@@ -609,10 +678,18 @@ types:
609
678
  required: false
610
679
  items:
611
680
  type: SemanticFilterOutputRepresentation
681
+ isOverrideBase:
682
+ description: The isOverrideBase property indicates whether a dimension from the base model is being overridden in the extended model during SDM Extensibility, allowing customization of existing semantic definitions.Default is false.
683
+ type: boolean
684
+ required: false
612
685
  syntax:
613
686
  description: The syntax of the semantic expression.
614
687
  type: SemanticExpressionSyntaxTypeEnum
615
688
  required: false
689
+ level:
690
+ description: level of the calculated field expression
691
+ type: SemanticCalculatedFieldLevelEnum
692
+ required: false
616
693
  SemanticCalculatedMeasurementCollectionOutputRepresentation:
617
694
  description: A collection of Semantic Calculated Measurements.
618
695
  type: object
@@ -694,6 +771,10 @@ types:
694
771
  items:
695
772
  type: SemanticFilterInputRepresentation
696
773
  required: false
774
+ isOverrideBase:
775
+ description: The isOverrideBase property indicates whether a measurement from the base model is being overridden in the extended model during SDM Extensibility, allowing customization of existing semantic definitions.Default is false.
776
+ type: boolean
777
+ required: false
697
778
  syntax:
698
779
  description: The syntax of the semantic expression.
699
780
  type: SemanticExpressionSyntaxTypeEnum
@@ -714,6 +795,14 @@ types:
714
795
  description: The origin model of the semantic entity.
715
796
  type: string
716
797
  required: false
798
+ externalConnectionApiName:
799
+ description: The api name of the origin external connection.
800
+ type: string
801
+ required: false
802
+ externalStorageName:
803
+ description: The name of the corresponding external entity.
804
+ type: string
805
+ required: false
717
806
  cacheKey:
718
807
  description: The Canonical URL of the collection for caching purposes only.
719
808
  type: string
@@ -801,6 +890,10 @@ types:
801
890
  required: false
802
891
  items:
803
892
  type: SemanticFilterOutputRepresentation
893
+ isOverrideBase:
894
+ description: The isOverrideBase property indicates whether a measurement from the base model is being overridden in the extended model during SDM Extensibility, allowing customization of existing semantic definitions.Default is false.
895
+ type: boolean
896
+ required: false
804
897
  syntax:
805
898
  description: The syntax of the semantic expression.
806
899
  type: SemanticExpressionSyntaxTypeEnum
@@ -809,6 +902,97 @@ types:
809
902
  description: Function that computes numerical calculations on data, allowing the query to return summarized information about the expression results. Valid values are Sum, Average, Min, Max, Median, Count Distinct, Count, Stddev, Stddevp, Var, Varp, Last, First, UserAgg and None.
810
903
  type: SemanticAggregationTypeEnum
811
904
  required: false
905
+ level:
906
+ description: level of the calculated field expression
907
+ type: SemanticCalculatedFieldLevelEnum
908
+ required: false
909
+ SemanticModelExternalConnectionInputRepresentation:
910
+ description: Represents a semantic model external connection.
911
+ type: object
912
+ additionalProperties: true
913
+ properties:
914
+ label:
915
+ description: The display name of the semantic entity to be used in the ui.
916
+ type: string
917
+ required: false
918
+ apiName:
919
+ description: The API name of the semantic entity.
920
+ type: string
921
+ type:
922
+ description: Specifies the type of the external connection.
923
+ type: SemanticExternalConnectionType
924
+ required: true
925
+ tableauPublishedDataSource:
926
+ description: Metadata of external connection to a Tableau Published Data Source.
927
+ type: SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation
928
+ required: false
929
+ SemanticModelExternalConnectionOutputRepresentation:
930
+ description: Represents a semantic model external connection.
931
+ type: object
932
+ additionalProperties: true
933
+ properties:
934
+ id:
935
+ description: The object ID of the semantic entity.
936
+ type: string
937
+ label:
938
+ description: The display name of the semantic entity to be used in the ui.
939
+ type: string
940
+ required: false
941
+ apiName:
942
+ description: The API name of the semantic entity.
943
+ type: string
944
+ baseModelApiName:
945
+ description: The origin model of the semantic entity.
946
+ type: string
947
+ required: false
948
+ type:
949
+ description: Specifies the type of the external connection.
950
+ type: SemanticExternalConnectionType
951
+ required: true
952
+ tableauPublishedDataSource:
953
+ description: Metadata of external connection to a Tableau Published Data Source.
954
+ type: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation
955
+ required: false
956
+ SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation:
957
+ description: Represents details of a semantic model external connection to a Tableau pulished data source.
958
+ type: object
959
+ properties:
960
+ siteId:
961
+ description: Specifies the site ID of the Tableau site.
962
+ type: string
963
+ required: true
964
+ siteName:
965
+ description: Specifies the site name of the Tableau site.
966
+ type: string
967
+ required: true
968
+ dataSourceId:
969
+ description: Specifies the data source ID.
970
+ type: string
971
+ required: true
972
+ siteUrl:
973
+ description: Specifies the URL of the Tableau site.
974
+ type: string
975
+ required: true
976
+ SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation:
977
+ description: Represents details of a semantic model external connection to a Tableau pulished data source.
978
+ type: object
979
+ properties:
980
+ siteId:
981
+ description: Specifies the site ID of the Tableau site.
982
+ type: string
983
+ required: true
984
+ siteName:
985
+ description: Specifies the site name of the Tableau site.
986
+ type: string
987
+ required: true
988
+ dataSourceId:
989
+ description: Specifies the data source ID.
990
+ type: string
991
+ required: true
992
+ siteUrl:
993
+ description: Specifies the URL of the Tableau site.
994
+ type: string
995
+ required: true
812
996
  SemanticDataObjectCollectionInputRepresentation:
813
997
  description: Represents a collection of Semantic Data Objects.
814
998
  type: object
@@ -888,6 +1072,10 @@ types:
888
1072
  description: Indicates whether all fields or only specific fields of the referenced data object should be included.
889
1073
  type: boolean
890
1074
  required: false
1075
+ tableType:
1076
+ description: 'Table Types for SDM query interpretation, Valid values are: SHARED or STANDARD'
1077
+ type: SemanticDataObjectTableTypeEnum
1078
+ required: false
891
1079
  SemanticDataObjectOutputRepresentation:
892
1080
  description: Represents the output of a semantic data object.
893
1081
  type: object
@@ -900,6 +1088,10 @@ types:
900
1088
  description: The origin model of the semantic entity.
901
1089
  type: string
902
1090
  required: false
1091
+ externalConnectionApiName:
1092
+ description: The api name of the origin external connection.
1093
+ type: string
1094
+ required: false
903
1095
  cacheKey:
904
1096
  description: The Canonical URL of the collection for caching purposes only.
905
1097
  type: string
@@ -975,6 +1167,10 @@ types:
975
1167
  description: Indicates whether all fields or only specific fields of the referenced data object should be included.
976
1168
  type: boolean
977
1169
  required: false
1170
+ tableType:
1171
+ description: Table Types for SDM query interpretation.
1172
+ type: SemanticDataObjectTableTypeEnum
1173
+ required: false
978
1174
  SemanticDependencyCollectionInputRepresentation:
979
1175
  description: An input representation to retrieve a list of dependencies.
980
1176
  type: object
@@ -1114,6 +1310,10 @@ types:
1114
1310
  description: The origin model of the semantic entity.
1115
1311
  type: string
1116
1312
  required: false
1313
+ externalStorageName:
1314
+ description: The name of the corresponding external entity.
1315
+ type: string
1316
+ required: false
1117
1317
  cacheKey:
1118
1318
  description: The Canonical URL of the collection for caching purposes only.
1119
1319
  type: string
@@ -1183,6 +1383,10 @@ types:
1183
1383
  description: The key qualifier name of this field in data object in data cloud, if exists.
1184
1384
  type: string
1185
1385
  required: false
1386
+ storageDataType:
1387
+ description: The storage type of data stored in the Data Cloud.
1388
+ type: SemanticDimensionStorageDataTypeEnum
1389
+ required: false
1186
1390
  SemanticFieldReferenceInputRepresentation:
1187
1391
  description: Input representation field reference
1188
1392
  type: object
@@ -1673,6 +1877,10 @@ types:
1673
1877
  items:
1674
1878
  type: SemanticFilterInputRepresentation
1675
1879
  required: false
1880
+ tableType:
1881
+ description: 'Table Types for SDM query interpretation, Valid values are: SHARED or STANDARD'
1882
+ type: SemanticLogicalViewTableTypeEnum
1883
+ required: false
1676
1884
  customSQL:
1677
1885
  description: Represents the custom sql query.
1678
1886
  type: string
@@ -1772,6 +1980,10 @@ types:
1772
1980
  description: The semantic view types enum, relevant only for logicalView created by sql
1773
1981
  type: SemanticViewTypeEnum
1774
1982
  required: false
1983
+ tableType:
1984
+ description: Table Types for SDM query interpretation.
1985
+ type: SemanticLogicalViewTableTypeEnum
1986
+ required: false
1775
1987
  SemanticLogicalViewPartialInputRepresentation:
1776
1988
  description: Limited input representation for patching a semantic logical view
1777
1989
  type: object
@@ -1798,6 +2010,10 @@ types:
1798
2010
  items:
1799
2011
  type: SemanticFilterInputRepresentation
1800
2012
  required: false
2013
+ tableType:
2014
+ description: 'Table Types for SDM query interpretation, Valid values are: SHARED or STANDARD'
2015
+ type: SemanticLogicalViewTableTypeEnum
2016
+ required: false
1801
2017
  SemanticMappedFieldCollectionOutputRepresentation:
1802
2018
  description: Semantic mapped field collection representation.
1803
2019
  type: object
@@ -1985,6 +2201,10 @@ types:
1985
2201
  description: The origin model of the semantic entity.
1986
2202
  type: string
1987
2203
  required: false
2204
+ externalStorageName:
2205
+ description: The name of the corresponding external entity.
2206
+ type: string
2207
+ required: false
1988
2208
  cacheKey:
1989
2209
  description: The Canonical URL of the collection for caching purposes only.
1990
2210
  type: string
@@ -2074,6 +2294,10 @@ types:
2074
2294
  description: The key qualifier name of this field in data object in data cloud, if exists.
2075
2295
  type: string
2076
2296
  required: false
2297
+ storageDataType:
2298
+ description: The type of data stored in DC.
2299
+ type: SemanticMeasurementStorageDataTypeEnum
2300
+ required: false
2077
2301
  SemanticMetricAdditionalDimensionInputRepresentation:
2078
2302
  description: Input representation for updating semantic metric with additional dimensions
2079
2303
  type: object
@@ -2384,6 +2608,18 @@ types:
2384
2608
  items:
2385
2609
  type: SemanticBaseModelInputRepresentation
2386
2610
  required: false
2611
+ externalConnections:
2612
+ description: The semantic external connections belonging to this model.
2613
+ type: array
2614
+ items:
2615
+ type: SemanticModelExternalConnectionInputRepresentation
2616
+ required: false
2617
+ fieldsOverrides:
2618
+ description: Semantic fields overrides within the model.
2619
+ type: array
2620
+ items:
2621
+ type: SemanticOverrideInputRepresentation
2622
+ required: false
2387
2623
  semanticCalculatedDimensions:
2388
2624
  description: Semantic calculated dimensions within the model.
2389
2625
  type: array
@@ -2580,6 +2816,18 @@ types:
2580
2816
  description: The source identifier name
2581
2817
  type: string
2582
2818
  required: false
2819
+ externalConnections:
2820
+ description: The semantic external connections belonging to this model.
2821
+ type: array
2822
+ required: false
2823
+ items:
2824
+ type: SemanticModelExternalConnectionOutputRepresentation
2825
+ fieldsOverrides:
2826
+ description: The semantic overrides belonging to this model.
2827
+ type: array
2828
+ required: false
2829
+ items:
2830
+ type: SemanticOverrideOutputRepresentation
2583
2831
  semanticCalculatedDimensions:
2584
2832
  description: The semantic calculated dimensions belonging to this model.
2585
2833
  type: array