@salesforce/lds-adapters-cdp-semantic-authoring 1.351.0 → 1.352.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 (29) hide show
  1. package/dist/es/es2018/cdp-semantic-authoring.js +794 -207
  2. package/dist/es/es2018/types/src/generated/adapters/createSemanticModel.d.ts +2 -0
  3. package/dist/es/es2018/types/src/generated/adapters/patchSemanticModel.d.ts +2 -0
  4. package/dist/es/es2018/types/src/generated/resources/patchSsotSemanticModelsByModelApiNameOrId.d.ts +2 -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 +2 -0
  7. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsDataObjectsByModelApiNameOrId.d.ts +1 -0
  8. package/dist/es/es2018/types/src/generated/resources/postSsotSemanticModelsLogicalViewsByModelApiNameOrId.d.ts +1 -0
  9. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsByModelApiNameOrId.d.ts +2 -0
  10. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsDataObjectsByDataObjectNameOrIdAndModelApiNameOrId.d.ts +1 -0
  11. package/dist/es/es2018/types/src/generated/resources/putSsotSemanticModelsLogicalViewsByLogicalViewApiNameOrIdAndModelApiNameOrId.d.ts +1 -0
  12. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedDimensionOutputRepresentation.d.ts +10 -1
  13. package/dist/es/es2018/types/src/generated/types/SemanticCalculatedMeasurementOutputRepresentation.d.ts +10 -1
  14. package/dist/es/es2018/types/src/generated/types/SemanticDataObjectInputRepresentation.d.ts +4 -1
  15. package/dist/es/es2018/types/src/generated/types/SemanticDataObjectOutputRepresentation.d.ts +7 -1
  16. package/dist/es/es2018/types/src/generated/types/SemanticDimensionOutputRepresentation.d.ts +7 -1
  17. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewInputRepresentation.d.ts +4 -1
  18. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewOutputRepresentation.d.ts +4 -1
  19. package/dist/es/es2018/types/src/generated/types/SemanticLogicalViewPartialInputRepresentation.d.ts +4 -1
  20. package/dist/es/es2018/types/src/generated/types/SemanticMeasurementOutputRepresentation.d.ts +7 -1
  21. package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionInputRepresentation.d.ts +37 -0
  22. package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionOutputRepresentation.d.ts +43 -0
  23. package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation.d.ts +37 -0
  24. package/dist/es/es2018/types/src/generated/types/SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation.d.ts +37 -0
  25. package/dist/es/es2018/types/src/generated/types/SemanticModelInputRepresentation.d.ts +5 -1
  26. package/dist/es/es2018/types/src/generated/types/SemanticModelOutputRepresentation.d.ts +5 -1
  27. package/package.json +3 -3
  28. package/sfdc/index.js +701 -114
  29. package/src/raml/api.raml +220 -0
package/src/raml/api.raml CHANGED
@@ -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
@@ -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
@@ -542,6 +599,14 @@ types:
542
599
  description: The origin model of the semantic entity.
543
600
  type: string
544
601
  required: false
602
+ externalConnectionApiName:
603
+ description: The api name of the origin external connection.
604
+ type: string
605
+ required: false
606
+ externalStorageName:
607
+ description: The name of the corresponding external entity.
608
+ type: string
609
+ required: false
545
610
  cacheKey:
546
611
  description: The Canonical URL of the collection for caching purposes only.
547
612
  type: string
@@ -613,6 +678,10 @@ types:
613
678
  description: The syntax of the semantic expression.
614
679
  type: SemanticExpressionSyntaxTypeEnum
615
680
  required: false
681
+ level:
682
+ description: level of the calculated field expression
683
+ type: SemanticCalculatedFieldLevelEnum
684
+ required: false
616
685
  SemanticCalculatedMeasurementCollectionOutputRepresentation:
617
686
  description: A collection of Semantic Calculated Measurements.
618
687
  type: object
@@ -714,6 +783,14 @@ types:
714
783
  description: The origin model of the semantic entity.
715
784
  type: string
716
785
  required: false
786
+ externalConnectionApiName:
787
+ description: The api name of the origin external connection.
788
+ type: string
789
+ required: false
790
+ externalStorageName:
791
+ description: The name of the corresponding external entity.
792
+ type: string
793
+ required: false
717
794
  cacheKey:
718
795
  description: The Canonical URL of the collection for caching purposes only.
719
796
  type: string
@@ -809,6 +886,97 @@ types:
809
886
  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
887
  type: SemanticAggregationTypeEnum
811
888
  required: false
889
+ level:
890
+ description: level of the calculated field expression
891
+ type: SemanticCalculatedFieldLevelEnum
892
+ required: false
893
+ SemanticModelExternalConnectionInputRepresentation:
894
+ description: Represents a semantic model external connection.
895
+ type: object
896
+ additionalProperties: true
897
+ properties:
898
+ label:
899
+ description: The display name of the semantic entity to be used in the ui.
900
+ type: string
901
+ required: false
902
+ apiName:
903
+ description: The API name of the semantic entity.
904
+ type: string
905
+ type:
906
+ description: Specifies the type of the external connection.
907
+ type: SemanticExternalConnectionType
908
+ required: true
909
+ tableauPublishedDataSource:
910
+ description: Metadata of external connection to a Tableau Published Data Source.
911
+ type: SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation
912
+ required: false
913
+ SemanticModelExternalConnectionOutputRepresentation:
914
+ description: Represents a semantic model external connection.
915
+ type: object
916
+ additionalProperties: true
917
+ properties:
918
+ id:
919
+ description: The object ID of the semantic entity.
920
+ type: string
921
+ label:
922
+ description: The display name of the semantic entity to be used in the ui.
923
+ type: string
924
+ required: false
925
+ apiName:
926
+ description: The API name of the semantic entity.
927
+ type: string
928
+ baseModelApiName:
929
+ description: The origin model of the semantic entity.
930
+ type: string
931
+ required: false
932
+ type:
933
+ description: Specifies the type of the external connection.
934
+ type: SemanticExternalConnectionType
935
+ required: true
936
+ tableauPublishedDataSource:
937
+ description: Metadata of external connection to a Tableau Published Data Source.
938
+ type: SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation
939
+ required: false
940
+ SemanticModelExternalConnectionTableauPublishedDataSourceInputRepresentation:
941
+ description: Represents details of a semantic model external connection to a Tableau pulished data source.
942
+ type: object
943
+ properties:
944
+ siteId:
945
+ description: Specifies the site ID of the Tableau site.
946
+ type: string
947
+ required: true
948
+ siteName:
949
+ description: Specifies the site name of the Tableau site.
950
+ type: string
951
+ required: true
952
+ dataSourceId:
953
+ description: Specifies the data source ID.
954
+ type: string
955
+ required: true
956
+ siteUrl:
957
+ description: Specifies the URL of the Tableau site.
958
+ type: string
959
+ required: true
960
+ SemanticModelExternalConnectionTableauPublishedDataSourceOutputRepresentation:
961
+ description: Represents details of a semantic model external connection to a Tableau pulished data source.
962
+ type: object
963
+ properties:
964
+ siteId:
965
+ description: Specifies the site ID of the Tableau site.
966
+ type: string
967
+ required: true
968
+ siteName:
969
+ description: Specifies the site name of the Tableau site.
970
+ type: string
971
+ required: true
972
+ dataSourceId:
973
+ description: Specifies the data source ID.
974
+ type: string
975
+ required: true
976
+ siteUrl:
977
+ description: Specifies the URL of the Tableau site.
978
+ type: string
979
+ required: true
812
980
  SemanticDataObjectCollectionInputRepresentation:
813
981
  description: Represents a collection of Semantic Data Objects.
814
982
  type: object
@@ -888,6 +1056,10 @@ types:
888
1056
  description: Indicates whether all fields or only specific fields of the referenced data object should be included.
889
1057
  type: boolean
890
1058
  required: false
1059
+ tableType:
1060
+ description: 'Table Types for SDM query interpretation, Valid values are: SHARED or STANDARD'
1061
+ type: SemanticDataObjectTableTypeEnum
1062
+ required: false
891
1063
  SemanticDataObjectOutputRepresentation:
892
1064
  description: Represents the output of a semantic data object.
893
1065
  type: object
@@ -900,6 +1072,10 @@ types:
900
1072
  description: The origin model of the semantic entity.
901
1073
  type: string
902
1074
  required: false
1075
+ externalConnectionApiName:
1076
+ description: The api name of the origin external connection.
1077
+ type: string
1078
+ required: false
903
1079
  cacheKey:
904
1080
  description: The Canonical URL of the collection for caching purposes only.
905
1081
  type: string
@@ -975,6 +1151,10 @@ types:
975
1151
  description: Indicates whether all fields or only specific fields of the referenced data object should be included.
976
1152
  type: boolean
977
1153
  required: false
1154
+ tableType:
1155
+ description: Table Types for SDM query interpretation.
1156
+ type: SemanticDataObjectTableTypeEnum
1157
+ required: false
978
1158
  SemanticDependencyCollectionInputRepresentation:
979
1159
  description: An input representation to retrieve a list of dependencies.
980
1160
  type: object
@@ -1114,6 +1294,10 @@ types:
1114
1294
  description: The origin model of the semantic entity.
1115
1295
  type: string
1116
1296
  required: false
1297
+ externalStorageName:
1298
+ description: The name of the corresponding external entity.
1299
+ type: string
1300
+ required: false
1117
1301
  cacheKey:
1118
1302
  description: The Canonical URL of the collection for caching purposes only.
1119
1303
  type: string
@@ -1183,6 +1367,10 @@ types:
1183
1367
  description: The key qualifier name of this field in data object in data cloud, if exists.
1184
1368
  type: string
1185
1369
  required: false
1370
+ storageDataType:
1371
+ description: The storage type of data stored in the Data Cloud.
1372
+ type: SemanticDimensionStorageDataTypeEnum
1373
+ required: false
1186
1374
  SemanticFieldReferenceInputRepresentation:
1187
1375
  description: Input representation field reference
1188
1376
  type: object
@@ -1673,6 +1861,10 @@ types:
1673
1861
  items:
1674
1862
  type: SemanticFilterInputRepresentation
1675
1863
  required: false
1864
+ tableType:
1865
+ description: 'Table Types for SDM query interpretation, Valid values are: SHARED or STANDARD'
1866
+ type: SemanticLogicalViewTableTypeEnum
1867
+ required: false
1676
1868
  customSQL:
1677
1869
  description: Represents the custom sql query.
1678
1870
  type: string
@@ -1772,6 +1964,10 @@ types:
1772
1964
  description: The semantic view types enum, relevant only for logicalView created by sql
1773
1965
  type: SemanticViewTypeEnum
1774
1966
  required: false
1967
+ tableType:
1968
+ description: Table Types for SDM query interpretation.
1969
+ type: SemanticLogicalViewTableTypeEnum
1970
+ required: false
1775
1971
  SemanticLogicalViewPartialInputRepresentation:
1776
1972
  description: Limited input representation for patching a semantic logical view
1777
1973
  type: object
@@ -1798,6 +1994,10 @@ types:
1798
1994
  items:
1799
1995
  type: SemanticFilterInputRepresentation
1800
1996
  required: false
1997
+ tableType:
1998
+ description: 'Table Types for SDM query interpretation, Valid values are: SHARED or STANDARD'
1999
+ type: SemanticLogicalViewTableTypeEnum
2000
+ required: false
1801
2001
  SemanticMappedFieldCollectionOutputRepresentation:
1802
2002
  description: Semantic mapped field collection representation.
1803
2003
  type: object
@@ -1985,6 +2185,10 @@ types:
1985
2185
  description: The origin model of the semantic entity.
1986
2186
  type: string
1987
2187
  required: false
2188
+ externalStorageName:
2189
+ description: The name of the corresponding external entity.
2190
+ type: string
2191
+ required: false
1988
2192
  cacheKey:
1989
2193
  description: The Canonical URL of the collection for caching purposes only.
1990
2194
  type: string
@@ -2074,6 +2278,10 @@ types:
2074
2278
  description: The key qualifier name of this field in data object in data cloud, if exists.
2075
2279
  type: string
2076
2280
  required: false
2281
+ storageDataType:
2282
+ description: The type of data stored in DC.
2283
+ type: SemanticMeasurementStorageDataTypeEnum
2284
+ required: false
2077
2285
  SemanticMetricAdditionalDimensionInputRepresentation:
2078
2286
  description: Input representation for updating semantic metric with additional dimensions
2079
2287
  type: object
@@ -2384,6 +2592,12 @@ types:
2384
2592
  items:
2385
2593
  type: SemanticBaseModelInputRepresentation
2386
2594
  required: false
2595
+ externalConnections:
2596
+ description: The semantic external connections belonging to this model.
2597
+ type: array
2598
+ items:
2599
+ type: SemanticModelExternalConnectionInputRepresentation
2600
+ required: false
2387
2601
  semanticCalculatedDimensions:
2388
2602
  description: Semantic calculated dimensions within the model.
2389
2603
  type: array
@@ -2580,6 +2794,12 @@ types:
2580
2794
  description: The source identifier name
2581
2795
  type: string
2582
2796
  required: false
2797
+ externalConnections:
2798
+ description: The semantic external connections belonging to this model.
2799
+ type: array
2800
+ required: false
2801
+ items:
2802
+ type: SemanticModelExternalConnectionOutputRepresentation
2583
2803
  semanticCalculatedDimensions:
2584
2804
  description: The semantic calculated dimensions belonging to this model.
2585
2805
  type: array