@salesforce/lds-adapters-analytics-unifiedanalytics 1.427.0 → 1.428.0-dev10

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 (27) hide show
  1. package/dist/es/es2018/analytics-unifiedanalytics.js +1824 -1113
  2. package/dist/es/es2018/types/src/generated/adapters/createDashboard.d.ts +5 -0
  3. package/dist/es/es2018/types/src/generated/adapters/getDataAssetDependencies.d.ts +1 -0
  4. package/dist/es/es2018/types/src/generated/adapters/getDataAssetLineageByIdOrApiName.d.ts +27 -0
  5. package/dist/es/es2018/types/src/generated/adapters/postDataAlertQuery.d.ts +33 -0
  6. package/dist/es/es2018/types/src/generated/adapters/updateDashboard.d.ts +5 -0
  7. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +2 -0
  8. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +5 -1
  9. package/dist/es/es2018/types/src/generated/resources/getTableauDataAssetsDependenciesByAssetId.d.ts +1 -0
  10. package/dist/es/es2018/types/src/generated/resources/getTableauDataAssetsLineageByAssetIdOrApiName.d.ts +15 -0
  11. package/dist/es/es2018/types/src/generated/resources/patchTableauDashboardsByDashboardIdOrApiName.d.ts +5 -0
  12. package/dist/es/es2018/types/src/generated/resources/postTableauDashboards.d.ts +5 -0
  13. package/dist/es/es2018/types/src/generated/resources/postTableauDataAlertsQuery.d.ts +21 -0
  14. package/dist/es/es2018/types/src/generated/types/DashboardInputRepresentation.d.ts +14 -1
  15. package/dist/es/es2018/types/src/generated/types/DashboardRepresentation.d.ts +8 -1
  16. package/dist/es/es2018/types/src/generated/types/DataAlertPropertyFilterInputRepresentation.d.ts +31 -0
  17. package/dist/es/es2018/types/src/generated/types/DataAlertPropertyFilterOutputRepresentation.d.ts +28 -0
  18. package/dist/es/es2018/types/src/generated/types/DataAlertQueryCollectionRepresentation.d.ts +30 -0
  19. package/dist/es/es2018/types/src/generated/types/DataAlertQueryInputRepresentation.d.ts +40 -0
  20. package/dist/es/es2018/types/src/generated/types/DataAlertRepresentation.d.ts +5 -1
  21. package/dist/es/es2018/types/src/generated/types/DataAssetLineageRepresentation.d.ts +37 -0
  22. package/dist/es/es2018/types/src/generated/types/DataAssetRequestRepresentation.d.ts +5 -1
  23. package/dist/es/es2018/types/src/generated/types/PromotionContentAssetRepresentation.d.ts +46 -0
  24. package/package.json +3 -3
  25. package/sfdc/index.js +3292 -2559
  26. package/src/raml/api.raml +182 -0
  27. package/src/raml/luvio.raml +15 -0
package/src/raml/api.raml CHANGED
@@ -931,6 +931,14 @@ types:
931
931
  description: Unique developer name.
932
932
  type: string
933
933
  required: false
934
+ lastModifiedBy:
935
+ description: Last modified by of the asset.
936
+ type: any
937
+ required: false
938
+ lastModifiedDate:
939
+ description: Last modified date of the asset.
940
+ type: string
941
+ required: false
934
942
  layouts:
935
943
  description: List of layouts in the dashboard.
936
944
  type: array
@@ -956,6 +964,13 @@ types:
956
964
  properties:
957
965
  //:
958
966
  type: any
967
+ customConfig:
968
+ description: Dashboard level custom configuration
969
+ type: object
970
+ required: false
971
+ properties:
972
+ //:
973
+ type: any
959
974
  DashboardRepresentation:
960
975
  description: Unified analytics dashboard representation.
961
976
  discriminator: id
@@ -1020,6 +1035,13 @@ types:
1020
1035
  properties:
1021
1036
  //:
1022
1037
  type: any
1038
+ customConfig:
1039
+ description: Dashboard level custom configuration
1040
+ type: object
1041
+ required: false
1042
+ properties:
1043
+ //:
1044
+ type: any
1023
1045
  DataAssetDependentCollectionRepresentation:
1024
1046
  description: Represents a List of dependent assets for a given asset
1025
1047
  type: object
@@ -1043,6 +1065,22 @@ types:
1043
1065
  dataAsset:
1044
1066
  description: Represents a Data asset
1045
1067
  type: DataAssetRepresentation
1068
+ DataAssetLineageRepresentation:
1069
+ description: Data Asset Lineage
1070
+ type: object
1071
+ properties:
1072
+ sourceDeveloperName:
1073
+ description: Source Developer Name
1074
+ type: string
1075
+ sourceRecordId:
1076
+ description: Source Record Id
1077
+ type: string
1078
+ targetDeveloperName:
1079
+ description: Target Developer Name
1080
+ type: string
1081
+ targetRecordId:
1082
+ description: Target Record Id
1083
+ type: string
1046
1084
  DataAssetRepresentation:
1047
1085
  description: Represents a Data asset
1048
1086
  discriminator: assetId # TODO Hand-rolled W-17712133: invalid inheritance
@@ -1147,6 +1185,79 @@ types:
1147
1185
  nextPageUrl:
1148
1186
  description: Next page url for pagination.
1149
1187
  type: string | nil
1188
+
1189
+ DataAlertQueryCollectionRepresentation:
1190
+ description: A collection of unified analytics data alerts that match the query.
1191
+ type: object
1192
+ properties:
1193
+ dataAlerts:
1194
+ description: List of data alerts being returned.
1195
+ type: array
1196
+ items:
1197
+ type: DataAlertRepresentation
1198
+
1199
+ DataAlertQueryInputRepresentation:
1200
+ description: Abstract input representation for complex queries with computed properties and filtering
1201
+ type: object
1202
+ properties:
1203
+ ownerId:
1204
+ description: User ID to filter alerts
1205
+ type: string
1206
+ required: true
1207
+ assetId:
1208
+ description: Filter by metric/asset ID
1209
+ type: string
1210
+ required: false
1211
+ timeRange:
1212
+ required: false
1213
+ description: Filter alerts by time range context
1214
+ type: UnifiedFilterInputRepresentation # TODO Hand-rolled @W-21386585
1215
+ includeProperties:
1216
+ required: false
1217
+ type: array
1218
+ items:
1219
+ type: string
1220
+ enum:
1221
+ - ConditionCategory
1222
+ propertyFilters:
1223
+ required: false
1224
+ type: array
1225
+ description: Structured filter for computed properties
1226
+ items:
1227
+ type: DataAlertPropertyFilterInputRepresentation # TODO Hand-rolled @W-21386585
1228
+ DataAlertPropertyFilterInputRepresentation:
1229
+ description: Filter by computed property values. Automatically computes filtered properties (no need to specify in includeProperties)
1230
+ type: object
1231
+ properties:
1232
+ property:
1233
+ description: Property description
1234
+ type: string
1235
+ enum:
1236
+ - ConditionCategory
1237
+ values:
1238
+ description: Values matching the property
1239
+ type: array
1240
+ items:
1241
+ type: string
1242
+ enum:
1243
+ - PeriodOverPeriodChange
1244
+ - UnusualChange
1245
+ - Goal
1246
+ - Threshold
1247
+ - Custom
1248
+ DataAlertPropertyFilterOutputRepresentation:
1249
+ description: Property Filter Output Representation
1250
+ type: object
1251
+ properties:
1252
+ conditionCategory:
1253
+ description: Computed Properties to Include
1254
+ type: string
1255
+ enum:
1256
+ - PeriodOverPeriodChange
1257
+ - UnusualChange
1258
+ - Goal
1259
+ - Threshold
1260
+ - Custom
1150
1261
  DataAlertValueInputRepresentation:
1151
1262
  description: Abstract input representation for operands
1152
1263
  type: object
@@ -1622,6 +1733,7 @@ types:
1622
1733
  - Email
1623
1734
  - Notification
1624
1735
  - Slack
1736
+
1625
1737
  DataAlertRepresentation:
1626
1738
  description: Output representation for Data Alert
1627
1739
  discriminatorValue: DataAlert
@@ -1662,6 +1774,9 @@ types:
1662
1774
  description: ID of the associated BotDefinition agent.
1663
1775
  type: string | nil
1664
1776
  required: false
1777
+ properties?: #Field may be absent
1778
+ description: Additional properties for the data alert used when sending the query response.
1779
+ type: DataAlertPropertyFilterOutputRepresentation
1665
1780
  DataAlertScheduleRepresentation:
1666
1781
  description: Represents the schedule for a data alert
1667
1782
  type: object
@@ -1951,6 +2066,12 @@ types:
1951
2066
  description: Indicates whether the promotion request includes a DLO that is unsupported for guided promotions (e.g., non-CSV file type)
1952
2067
  type: boolean | nil
1953
2068
  required: false
2069
+ promotionContentAssets:
2070
+ description: List of content assets from promotion additional info
2071
+ type: array
2072
+ items:
2073
+ type: PromotionContentAssetRepresentation
2074
+ required: false
1954
2075
  DataSpaceInfoRepresentation:
1955
2076
  description: DataSpace Info Representation
1956
2077
  type: object
@@ -2055,6 +2176,33 @@ types:
2055
2176
  items:
2056
2177
  type: string
2057
2178
  required: false
2179
+ PromotionContentAssetRepresentation:
2180
+ description: Represents a content asset in a promotion request
2181
+ type: object
2182
+ properties:
2183
+ assetType:
2184
+ description: The type of the asset
2185
+ type: string
2186
+ isFirstLevelReuse:
2187
+ description: Indicates whether the asset is a first-level reuse
2188
+ type: boolean
2189
+ isReused:
2190
+ description: Indicates whether the asset is reused from another promotion
2191
+ type: boolean
2192
+ sourceDevName:
2193
+ description: The source developer name of the asset
2194
+ type: string
2195
+ sourceId:
2196
+ description: The source ID of the asset
2197
+ type: string
2198
+ targetDevName:
2199
+ description: The target developer name of the asset
2200
+ type: string | nil
2201
+ required: false
2202
+ targetId:
2203
+ description: The target ID of the asset
2204
+ type: string | nil
2205
+ required: false
2058
2206
  TableauMarketplaceListingInstallationProgressResponse:
2059
2207
  description: Representation of tableau marketplace's listing installation progress
2060
2208
  type: object
@@ -3308,6 +3456,20 @@ types:
3308
3456
  application/json:
3309
3457
  type: DataAlertInputRepresentation
3310
3458
  (oas-body-name): dataAlert
3459
+ /dataAlerts/query:
3460
+ post:
3461
+ displayName: postDataAlertQuery
3462
+ description: Create a new data alert query.
3463
+ responses:
3464
+ '200':
3465
+ description: Success
3466
+ body:
3467
+ application/json:
3468
+ type: DataAlertQueryCollectionRepresentation
3469
+ body:
3470
+ application/json:
3471
+ type: DataAlertQueryInputRepresentation
3472
+ (oas-body-name): dataAlertQuery
3311
3473
  /dataAlerts/{dataAlertId}:
3312
3474
  get: #This is a mocked path only.
3313
3475
  displayName: getDataAlertCollection
@@ -3360,6 +3522,7 @@ types:
3360
3522
  dataAlertId:
3361
3523
  type: string
3362
3524
  required: true
3525
+
3363
3526
  /data-assets:
3364
3527
  /requests:
3365
3528
  get:
@@ -3498,6 +3661,10 @@ types:
3498
3661
  type: boolean
3499
3662
  required: false
3500
3663
  description: Perform asset type schema mismatch validation and include schema fingerprint in the response
3664
+ includeReusedAssets:
3665
+ type: boolean
3666
+ required: false
3667
+ description: Includes assets that were reused from the production org in the dependency list
3501
3668
  responses:
3502
3669
  '200':
3503
3670
  description: Success
@@ -3508,6 +3675,21 @@ types:
3508
3675
  assetId:
3509
3676
  type: string
3510
3677
  required: true
3678
+ /lineage:
3679
+ /{assetIdOrApiName}:
3680
+ get:
3681
+ displayName: getDataAssetLineage
3682
+ description: Get data asset lineage by asset Id or Api Name
3683
+ responses:
3684
+ '200':
3685
+ description: Success
3686
+ body:
3687
+ application/json:
3688
+ type: DataAssetLineageRepresentation
3689
+ uriParameters:
3690
+ assetIdOrApiName:
3691
+ type: string
3692
+ required: true
3511
3693
  /follow/followers/{followerId}/follows:
3512
3694
  post:
3513
3695
  displayName: postFollow
@@ -34,6 +34,9 @@ types:
34
34
  DataAssetRequestCountRepresentation:
35
35
  (luvio.ttl): 500
36
36
  (luvio.opaque): true
37
+ DataAlertQueryCollectionRepresentation:
38
+ (luvio.ttl): 500
39
+ (luvio.opaque): true
37
40
  DataAlertCollectionRepresentation:
38
41
  (luvio.ttl): 500
39
42
  (luvio.opaque): true
@@ -458,6 +461,12 @@ types:
458
461
  (luvio.adapter):
459
462
  name: createDataAlert
460
463
 
464
+ /tableau/dataAlerts/query:
465
+ post:
466
+ (luvio.adapter):
467
+ name: postDataAlertQuery
468
+ (luvio.method): get
469
+
461
470
  /tableau/dataAlerts/{dataAlertId}:
462
471
  get:
463
472
  (luvio.adapter):
@@ -503,6 +512,12 @@ types:
503
512
  get:
504
513
  (luvio.adapter):
505
514
  name: getDataAssetDependencies
515
+
516
+ /tableau/data-assets/lineage/{assetIdOrApiName}:
517
+ get:
518
+ (luvio.adapter):
519
+ name: getDataAssetLineageByIdOrApiName
520
+
506
521
  /tableau/marketplace/listings:
507
522
  post:
508
523
  (luvio.adapter):