@salesforce/lds-adapters-analytics-unifiedanalytics 1.428.0-dev1 → 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 (26) hide show
  1. package/dist/es/es2018/analytics-unifiedanalytics.js +1776 -1113
  2. package/dist/es/es2018/types/src/generated/adapters/createDashboard.d.ts +2 -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 +2 -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 +2 -0
  12. package/dist/es/es2018/types/src/generated/resources/postTableauDashboards.d.ts +2 -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 +7 -1
  15. package/dist/es/es2018/types/src/generated/types/DataAlertPropertyFilterInputRepresentation.d.ts +31 -0
  16. package/dist/es/es2018/types/src/generated/types/DataAlertPropertyFilterOutputRepresentation.d.ts +28 -0
  17. package/dist/es/es2018/types/src/generated/types/DataAlertQueryCollectionRepresentation.d.ts +30 -0
  18. package/dist/es/es2018/types/src/generated/types/DataAlertQueryInputRepresentation.d.ts +40 -0
  19. package/dist/es/es2018/types/src/generated/types/DataAlertRepresentation.d.ts +5 -1
  20. package/dist/es/es2018/types/src/generated/types/DataAssetLineageRepresentation.d.ts +37 -0
  21. package/dist/es/es2018/types/src/generated/types/DataAssetRequestRepresentation.d.ts +5 -1
  22. package/dist/es/es2018/types/src/generated/types/PromotionContentAssetRepresentation.d.ts +46 -0
  23. package/package.json +3 -3
  24. package/sfdc/index.js +3250 -2565
  25. package/src/raml/api.raml +168 -0
  26. 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
@@ -1057,6 +1065,22 @@ types:
1057
1065
  dataAsset:
1058
1066
  description: Represents a Data asset
1059
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
1060
1084
  DataAssetRepresentation:
1061
1085
  description: Represents a Data asset
1062
1086
  discriminator: assetId # TODO Hand-rolled W-17712133: invalid inheritance
@@ -1161,6 +1185,79 @@ types:
1161
1185
  nextPageUrl:
1162
1186
  description: Next page url for pagination.
1163
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
1164
1261
  DataAlertValueInputRepresentation:
1165
1262
  description: Abstract input representation for operands
1166
1263
  type: object
@@ -1636,6 +1733,7 @@ types:
1636
1733
  - Email
1637
1734
  - Notification
1638
1735
  - Slack
1736
+
1639
1737
  DataAlertRepresentation:
1640
1738
  description: Output representation for Data Alert
1641
1739
  discriminatorValue: DataAlert
@@ -1676,6 +1774,9 @@ types:
1676
1774
  description: ID of the associated BotDefinition agent.
1677
1775
  type: string | nil
1678
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
1679
1780
  DataAlertScheduleRepresentation:
1680
1781
  description: Represents the schedule for a data alert
1681
1782
  type: object
@@ -1965,6 +2066,12 @@ types:
1965
2066
  description: Indicates whether the promotion request includes a DLO that is unsupported for guided promotions (e.g., non-CSV file type)
1966
2067
  type: boolean | nil
1967
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
1968
2075
  DataSpaceInfoRepresentation:
1969
2076
  description: DataSpace Info Representation
1970
2077
  type: object
@@ -2069,6 +2176,33 @@ types:
2069
2176
  items:
2070
2177
  type: string
2071
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
2072
2206
  TableauMarketplaceListingInstallationProgressResponse:
2073
2207
  description: Representation of tableau marketplace's listing installation progress
2074
2208
  type: object
@@ -3322,6 +3456,20 @@ types:
3322
3456
  application/json:
3323
3457
  type: DataAlertInputRepresentation
3324
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
3325
3473
  /dataAlerts/{dataAlertId}:
3326
3474
  get: #This is a mocked path only.
3327
3475
  displayName: getDataAlertCollection
@@ -3374,6 +3522,7 @@ types:
3374
3522
  dataAlertId:
3375
3523
  type: string
3376
3524
  required: true
3525
+
3377
3526
  /data-assets:
3378
3527
  /requests:
3379
3528
  get:
@@ -3512,6 +3661,10 @@ types:
3512
3661
  type: boolean
3513
3662
  required: false
3514
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
3515
3668
  responses:
3516
3669
  '200':
3517
3670
  description: Success
@@ -3522,6 +3675,21 @@ types:
3522
3675
  assetId:
3523
3676
  type: string
3524
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
3525
3693
  /follow/followers/{followerId}/follows:
3526
3694
  post:
3527
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):