@salesforce/lds-adapters-analytics-unifiedanalytics 1.429.0 → 1.431.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.
package/src/raml/api.raml CHANGED
@@ -1147,6 +1147,79 @@ types:
1147
1147
  nextPageUrl:
1148
1148
  description: Next page url for pagination.
1149
1149
  type: string | nil
1150
+
1151
+ DataAlertQueryCollectionRepresentation:
1152
+ description: A collection of unified analytics data alerts that match the query.
1153
+ type: object
1154
+ properties:
1155
+ dataAlerts:
1156
+ description: List of data alerts being returned.
1157
+ type: array
1158
+ items:
1159
+ type: DataAlertRepresentation
1160
+
1161
+ DataAlertQueryInputRepresentation:
1162
+ description: Abstract input representation for complex queries with computed properties and filtering
1163
+ type: object
1164
+ properties:
1165
+ ownerId:
1166
+ description: User ID to filter alerts
1167
+ type: string
1168
+ required: true
1169
+ assetId:
1170
+ description: Filter by metric/asset ID
1171
+ type: string
1172
+ required: false
1173
+ timeRange:
1174
+ required: false
1175
+ description: Filter alerts by time range context
1176
+ type: UnifiedFilterInputRepresentation # TODO Hand-rolled @W-21386585
1177
+ includeProperties:
1178
+ required: false
1179
+ type: array
1180
+ items:
1181
+ type: string
1182
+ enum:
1183
+ - ConditionCategory
1184
+ propertyFilters:
1185
+ required: false
1186
+ type: array
1187
+ description: Structured filter for computed properties
1188
+ items:
1189
+ type: DataAlertPropertyFilterInputRepresentation # TODO Hand-rolled @W-21386585
1190
+ DataAlertPropertyFilterInputRepresentation:
1191
+ description: Filter by computed property values. Automatically computes filtered properties (no need to specify in includeProperties)
1192
+ type: object
1193
+ properties:
1194
+ property:
1195
+ description: Property description
1196
+ type: string
1197
+ enum:
1198
+ - ConditionCategory
1199
+ values:
1200
+ description: Values matching the property
1201
+ type: array
1202
+ items:
1203
+ type: string
1204
+ enum:
1205
+ - PeriodOverPeriodChange
1206
+ - UnusualChange
1207
+ - Goal
1208
+ - Threshold
1209
+ - Custom
1210
+ DataAlertPropertyFilterOutputRepresentation:
1211
+ description: Property Filter Output Representation
1212
+ type: object
1213
+ properties:
1214
+ conditionCategory:
1215
+ description: Computed Properties to Include
1216
+ type: string
1217
+ enum:
1218
+ - PeriodOverPeriodChange
1219
+ - UnusualChange
1220
+ - Goal
1221
+ - Threshold
1222
+ - Custom
1150
1223
  DataAlertValueInputRepresentation:
1151
1224
  description: Abstract input representation for operands
1152
1225
  type: object
@@ -1622,6 +1695,7 @@ types:
1622
1695
  - Email
1623
1696
  - Notification
1624
1697
  - Slack
1698
+
1625
1699
  DataAlertRepresentation:
1626
1700
  description: Output representation for Data Alert
1627
1701
  discriminatorValue: DataAlert
@@ -1662,6 +1736,9 @@ types:
1662
1736
  description: ID of the associated BotDefinition agent.
1663
1737
  type: string | nil
1664
1738
  required: false
1739
+ properties?: #Field may be absent
1740
+ description: Additional properties for the data alert used when sending the query response.
1741
+ type: DataAlertPropertyFilterOutputRepresentation
1665
1742
  DataAlertScheduleRepresentation:
1666
1743
  description: Represents the schedule for a data alert
1667
1744
  type: object
@@ -3308,6 +3385,20 @@ types:
3308
3385
  application/json:
3309
3386
  type: DataAlertInputRepresentation
3310
3387
  (oas-body-name): dataAlert
3388
+ /dataAlerts/query:
3389
+ post:
3390
+ displayName: postDataAlertQuery
3391
+ description: Create a new data alert query.
3392
+ responses:
3393
+ '200':
3394
+ description: Success
3395
+ body:
3396
+ application/json:
3397
+ type: DataAlertQueryCollectionRepresentation
3398
+ body:
3399
+ application/json:
3400
+ type: DataAlertQueryInputRepresentation
3401
+ (oas-body-name): dataAlertQuery
3311
3402
  /dataAlerts/{dataAlertId}:
3312
3403
  get: #This is a mocked path only.
3313
3404
  displayName: getDataAlertCollection
@@ -3360,6 +3451,7 @@ types:
3360
3451
  dataAlertId:
3361
3452
  type: string
3362
3453
  required: true
3454
+
3363
3455
  /data-assets:
3364
3456
  /requests:
3365
3457
  get:
@@ -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):