@salesforce/lds-adapters-analytics-unifiedanalytics 1.354.0-dev7 → 1.354.0-dev9
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/dist/es/es2018/analytics-unifiedanalytics.js +1607 -742
- package/dist/es/es2018/types/src/generated/adapters/deleteDataAlert.d.ts +14 -0
- package/dist/es/es2018/types/src/generated/adapters/getDataAlert.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/adapters/getDataAlertCollection.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/adapters/postDataAlertRun.d.ts +15 -0
- package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +4 -0
- package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +8 -1
- package/dist/es/es2018/types/src/generated/resources/deleteTableauDataAlertsByDataAlertId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/resources/getTableauDataAlerts.d.ts +17 -0
- package/dist/es/es2018/types/src/generated/resources/getTableauDataAlertsByDataAlertId.d.ts +16 -0
- package/dist/es/es2018/types/src/generated/resources/postTableauDataAlertsRunByDataAlertId.d.ts +12 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertCollectionRepresentation.d.ts +45 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertConditionRepresentation.d.ts +33 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertContentRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertCronScheduleRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertDailyScheduleRepresentation.d.ts +26 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertDeliveryConfigurationRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertMetricContentRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertMetricValueRepresentation.d.ts +51 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertNotificationRecipientsRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertRawValueRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertReceiversRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertRepresentation.d.ts +21 -4
- package/dist/es/es2018/types/src/generated/types/DataAlertRunOutputRepresentation.d.ts +44 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertScheduleRepresentation.d.ts +31 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertThresholdsRepresentation.d.ts +32 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertValueRepresentation.d.ts +28 -0
- package/dist/es/es2018/types/src/generated/types/DataAlertWeeklyScheduleRepresentation.d.ts +29 -0
- package/dist/es/es2018/types/src/generated/types/UnifiedFilterRepresentation.d.ts +34 -0
- package/package.json +3 -3
- package/sfdc/index.js +3317 -2382
- package/src/raml/api.raml +304 -7
- package/src/raml/luvio.raml +23 -1
package/src/raml/api.raml
CHANGED
|
@@ -1025,6 +1025,21 @@ types:
|
|
|
1025
1025
|
count:
|
|
1026
1026
|
description: Count of data asset requests
|
|
1027
1027
|
type: integer
|
|
1028
|
+
DataAlertCollectionRepresentation:
|
|
1029
|
+
description: A collection of unified analytics data alerts.
|
|
1030
|
+
type: object
|
|
1031
|
+
properties:
|
|
1032
|
+
dataAlerts:
|
|
1033
|
+
description: List of data alerts being returned.
|
|
1034
|
+
type: array
|
|
1035
|
+
items:
|
|
1036
|
+
type: DataAlertRepresentation
|
|
1037
|
+
totalSize:
|
|
1038
|
+
description: Total size of data alert array returned.
|
|
1039
|
+
type: integer
|
|
1040
|
+
nextPageUrl:
|
|
1041
|
+
description: Next page url for pagination.
|
|
1042
|
+
type: string
|
|
1028
1043
|
DataAlertValueInputRepresentation:
|
|
1029
1044
|
description: Abstract input representation for operands
|
|
1030
1045
|
type: object
|
|
@@ -1265,13 +1280,6 @@ types:
|
|
|
1265
1280
|
type: array
|
|
1266
1281
|
items:
|
|
1267
1282
|
type: DataAlertReceiversInputRepresentation
|
|
1268
|
-
DataAlertRepresentation:
|
|
1269
|
-
description: Output of Data Alert
|
|
1270
|
-
type: object
|
|
1271
|
-
properties:
|
|
1272
|
-
id:
|
|
1273
|
-
description: Database record id of the data alert.
|
|
1274
|
-
type: string
|
|
1275
1283
|
DataAlertInputRepresentation:
|
|
1276
1284
|
description: A top level data alert metadata representation.
|
|
1277
1285
|
type: object
|
|
@@ -1342,6 +1350,232 @@ types:
|
|
|
1342
1350
|
customLogicalOperation:
|
|
1343
1351
|
description: logical operations between conditions
|
|
1344
1352
|
type: string
|
|
1353
|
+
DataAlertRunOutputRepresentation:
|
|
1354
|
+
description: Output of running a Data Alert
|
|
1355
|
+
type: object
|
|
1356
|
+
properties:
|
|
1357
|
+
executedAt:
|
|
1358
|
+
description: Timestamp when the data alert was executed.
|
|
1359
|
+
type: string
|
|
1360
|
+
id:
|
|
1361
|
+
description: Database record id of the data alert.
|
|
1362
|
+
type: string
|
|
1363
|
+
triggered:
|
|
1364
|
+
description: Whether the data alert was triggered by this run.
|
|
1365
|
+
type: boolean
|
|
1366
|
+
DataAlertConditionRepresentation:
|
|
1367
|
+
description: Represents a condition for a data alert
|
|
1368
|
+
type: object
|
|
1369
|
+
properties:
|
|
1370
|
+
leftOperand:
|
|
1371
|
+
description: Left operand of the condition
|
|
1372
|
+
type: DataAlertValueRepresentation
|
|
1373
|
+
operator:
|
|
1374
|
+
description: Operator for the condition
|
|
1375
|
+
type: string
|
|
1376
|
+
enum:
|
|
1377
|
+
- Equals
|
|
1378
|
+
- GreaterOrEqual
|
|
1379
|
+
- GreaterThan
|
|
1380
|
+
- LessOrEqual
|
|
1381
|
+
- LessThan
|
|
1382
|
+
- NotEqual
|
|
1383
|
+
rightOperand:
|
|
1384
|
+
description: Right operand of the condition
|
|
1385
|
+
type: DataAlertValueRepresentation
|
|
1386
|
+
DataAlertContentRepresentation:
|
|
1387
|
+
description: Represents the content for a data alert
|
|
1388
|
+
type: object
|
|
1389
|
+
discriminator: type
|
|
1390
|
+
properties:
|
|
1391
|
+
type:
|
|
1392
|
+
description: Type of content
|
|
1393
|
+
type: string
|
|
1394
|
+
enum:
|
|
1395
|
+
- Metric
|
|
1396
|
+
DataAlertCronScheduleRepresentation:
|
|
1397
|
+
description: Represents the cron schedule for a data alert
|
|
1398
|
+
type: DataAlertScheduleRepresentation
|
|
1399
|
+
properties:
|
|
1400
|
+
cronExpression:
|
|
1401
|
+
description: Cron expression for the schedule
|
|
1402
|
+
type: string
|
|
1403
|
+
DataAlertDailyScheduleRepresentation:
|
|
1404
|
+
description: Represents the daily schedule for a data alert
|
|
1405
|
+
type: DataAlertScheduleRepresentation
|
|
1406
|
+
properties: {}
|
|
1407
|
+
DataAlertDeliveryConfigurationRepresentation:
|
|
1408
|
+
description: Represents the delivery configuration for a data alert
|
|
1409
|
+
type: object
|
|
1410
|
+
properties:
|
|
1411
|
+
receivers:
|
|
1412
|
+
description: Receivers for the data alert
|
|
1413
|
+
type: array
|
|
1414
|
+
items:
|
|
1415
|
+
type: DataAlertReceiversRepresentation
|
|
1416
|
+
DataAlertMetricContentRepresentation:
|
|
1417
|
+
description: Represents the metric content for a data alert
|
|
1418
|
+
type: DataAlertContentRepresentation
|
|
1419
|
+
properties:
|
|
1420
|
+
instruction:
|
|
1421
|
+
description: Instructions to generate notification content
|
|
1422
|
+
type: string
|
|
1423
|
+
modelApiNameOrId:
|
|
1424
|
+
description: Id or API name of the semantic data model
|
|
1425
|
+
type: array
|
|
1426
|
+
items:
|
|
1427
|
+
type: string
|
|
1428
|
+
DataAlertMetricValueRepresentation:
|
|
1429
|
+
description: Represents a metric value for a data alert condition
|
|
1430
|
+
type: DataAlertValueRepresentation
|
|
1431
|
+
properties:
|
|
1432
|
+
factKey:
|
|
1433
|
+
description: fact key
|
|
1434
|
+
type: string
|
|
1435
|
+
filterContext:
|
|
1436
|
+
description: filter context
|
|
1437
|
+
type: array
|
|
1438
|
+
items:
|
|
1439
|
+
type: UnifiedFilterRepresentation
|
|
1440
|
+
insightType:
|
|
1441
|
+
description: type of insight
|
|
1442
|
+
type: string
|
|
1443
|
+
enum:
|
|
1444
|
+
- GoalProgress
|
|
1445
|
+
- Popc
|
|
1446
|
+
- RecordLevelOutliers
|
|
1447
|
+
- RiskyMonopoly
|
|
1448
|
+
- Unspecified
|
|
1449
|
+
- UnusualChange
|
|
1450
|
+
metricId:
|
|
1451
|
+
description: metric or sub-metric Id
|
|
1452
|
+
type: string
|
|
1453
|
+
modelApiNameOrId:
|
|
1454
|
+
description: Id or API name of the semantic data model
|
|
1455
|
+
type: string
|
|
1456
|
+
params:
|
|
1457
|
+
description: additional metric params
|
|
1458
|
+
type: object
|
|
1459
|
+
properties:
|
|
1460
|
+
//:
|
|
1461
|
+
type: string
|
|
1462
|
+
timeContext:
|
|
1463
|
+
description: time filter
|
|
1464
|
+
type: UnifiedFilterRepresentation
|
|
1465
|
+
DataAlertNotificationRecipientsRepresentation:
|
|
1466
|
+
description: Represents notification recipients for a data alert
|
|
1467
|
+
type: DataAlertReceiversRepresentation
|
|
1468
|
+
properties:
|
|
1469
|
+
recipients:
|
|
1470
|
+
description: list of notification recipients
|
|
1471
|
+
type: array
|
|
1472
|
+
items:
|
|
1473
|
+
type: string
|
|
1474
|
+
DataAlertRawValueRepresentation:
|
|
1475
|
+
description: Represents a raw value for a data alert condition
|
|
1476
|
+
type: DataAlertValueRepresentation
|
|
1477
|
+
properties:
|
|
1478
|
+
dataType:
|
|
1479
|
+
description: Data type of the raw value
|
|
1480
|
+
type: string
|
|
1481
|
+
enum:
|
|
1482
|
+
- Number
|
|
1483
|
+
- Percent
|
|
1484
|
+
- Text
|
|
1485
|
+
value:
|
|
1486
|
+
description: Raw value
|
|
1487
|
+
type: string
|
|
1488
|
+
DataAlertReceiversRepresentation:
|
|
1489
|
+
description: Represents receivers for a data alert
|
|
1490
|
+
type: object
|
|
1491
|
+
discriminator: type
|
|
1492
|
+
properties:
|
|
1493
|
+
type:
|
|
1494
|
+
description: delivery type
|
|
1495
|
+
type: string
|
|
1496
|
+
enum:
|
|
1497
|
+
- Notification
|
|
1498
|
+
DataAlertRepresentation:
|
|
1499
|
+
description: Output representation for Data Alert
|
|
1500
|
+
discriminatorValue: DataAlert
|
|
1501
|
+
type: object #Hand-rolled W-18183450: invalid inheritance
|
|
1502
|
+
properties:
|
|
1503
|
+
id:
|
|
1504
|
+
description: ID of the Data Alert
|
|
1505
|
+
type: string
|
|
1506
|
+
alertName:
|
|
1507
|
+
description: User entered alert name.
|
|
1508
|
+
type: string
|
|
1509
|
+
content:
|
|
1510
|
+
description: Notification content configuration. Contains the config needed
|
|
1511
|
+
to generate the notification content.
|
|
1512
|
+
type: DataAlertContentRepresentation
|
|
1513
|
+
deliveryConfigurations:
|
|
1514
|
+
description: Data alert delivery configurations.
|
|
1515
|
+
type: DataAlertDeliveryConfigurationRepresentation
|
|
1516
|
+
schedule:
|
|
1517
|
+
description: Data alert schedule.
|
|
1518
|
+
type: DataAlertScheduleRepresentation
|
|
1519
|
+
thresholds:
|
|
1520
|
+
description: Thresholds to be evaluated.
|
|
1521
|
+
type: DataAlertThresholdsRepresentation
|
|
1522
|
+
DataAlertScheduleRepresentation:
|
|
1523
|
+
description: Represents the schedule for a data alert
|
|
1524
|
+
type: object
|
|
1525
|
+
discriminator: type
|
|
1526
|
+
properties:
|
|
1527
|
+
hoursOfDay:
|
|
1528
|
+
description: Schedule time
|
|
1529
|
+
type: array
|
|
1530
|
+
items:
|
|
1531
|
+
type: integer
|
|
1532
|
+
type:
|
|
1533
|
+
description: Type of schedule
|
|
1534
|
+
type: string
|
|
1535
|
+
enum:
|
|
1536
|
+
- Cron
|
|
1537
|
+
- Daily
|
|
1538
|
+
- Weekly
|
|
1539
|
+
DataAlertThresholdsRepresentation:
|
|
1540
|
+
description: Represents the thresholds for a data alert
|
|
1541
|
+
type: object
|
|
1542
|
+
properties:
|
|
1543
|
+
conditions:
|
|
1544
|
+
description: Conditions for the data alert
|
|
1545
|
+
type: array
|
|
1546
|
+
items:
|
|
1547
|
+
type: DataAlertConditionRepresentation
|
|
1548
|
+
customLogicalOperation:
|
|
1549
|
+
description: Logical operations between conditions
|
|
1550
|
+
type: string
|
|
1551
|
+
DataAlertValueRepresentation:
|
|
1552
|
+
description: Represents a value for a data alert condition
|
|
1553
|
+
discriminator: type
|
|
1554
|
+
type: object
|
|
1555
|
+
properties:
|
|
1556
|
+
type:
|
|
1557
|
+
description: Type of data value
|
|
1558
|
+
type: string
|
|
1559
|
+
enum:
|
|
1560
|
+
- Insights
|
|
1561
|
+
- RawValue
|
|
1562
|
+
DataAlertWeeklyScheduleRepresentation:
|
|
1563
|
+
description: Represents the weekly schedule for a data alert
|
|
1564
|
+
type: DataAlertScheduleRepresentation
|
|
1565
|
+
properties:
|
|
1566
|
+
daysOfWeek:
|
|
1567
|
+
description: Days of the week for the schedule
|
|
1568
|
+
type: array
|
|
1569
|
+
items:
|
|
1570
|
+
type: string
|
|
1571
|
+
enum:
|
|
1572
|
+
- Friday
|
|
1573
|
+
- Monday
|
|
1574
|
+
- Saturday
|
|
1575
|
+
- Sunday
|
|
1576
|
+
- Thursday
|
|
1577
|
+
- Tuesday
|
|
1578
|
+
- Wednesday
|
|
1345
1579
|
DataAssetRequestInputRepresentation:
|
|
1346
1580
|
description: DataAssetRequest input representation in unified analytics.
|
|
1347
1581
|
type: object
|
|
@@ -2241,6 +2475,21 @@ types:
|
|
|
2241
2475
|
type: array
|
|
2242
2476
|
items:
|
|
2243
2477
|
type: any
|
|
2478
|
+
UnifiedFilterRepresentation:
|
|
2479
|
+
description: Unified filter representation.
|
|
2480
|
+
type: object
|
|
2481
|
+
properties:
|
|
2482
|
+
fieldName:
|
|
2483
|
+
description: fieldName
|
|
2484
|
+
type: string
|
|
2485
|
+
operator:
|
|
2486
|
+
description: operator
|
|
2487
|
+
type: string
|
|
2488
|
+
values:
|
|
2489
|
+
description: values
|
|
2490
|
+
type: array
|
|
2491
|
+
items:
|
|
2492
|
+
type: object
|
|
2244
2493
|
UpdateSetupRecordAccessInputRepresentation:
|
|
2245
2494
|
description: Update record share input representation
|
|
2246
2495
|
type: object
|
|
@@ -2597,6 +2846,25 @@ types:
|
|
|
2597
2846
|
type: string
|
|
2598
2847
|
required: true
|
|
2599
2848
|
/dataAlerts:
|
|
2849
|
+
get:
|
|
2850
|
+
displayName: getDataAlertCollection
|
|
2851
|
+
description: Get all available Data Alerts.
|
|
2852
|
+
responses:
|
|
2853
|
+
'200':
|
|
2854
|
+
description: Success
|
|
2855
|
+
body:
|
|
2856
|
+
application/json:
|
|
2857
|
+
type: DataAlertCollectionRepresentation
|
|
2858
|
+
queryParameters:
|
|
2859
|
+
ownerId:
|
|
2860
|
+
type: string
|
|
2861
|
+
required: true
|
|
2862
|
+
limit:
|
|
2863
|
+
type: integer
|
|
2864
|
+
required: false
|
|
2865
|
+
offset:
|
|
2866
|
+
type: integer
|
|
2867
|
+
required: false
|
|
2600
2868
|
post:
|
|
2601
2869
|
displayName: postDataAlertCollection
|
|
2602
2870
|
description: Create a new data alert.
|
|
@@ -2616,6 +2884,21 @@ types:
|
|
|
2616
2884
|
type: DataAlertInputRepresentation
|
|
2617
2885
|
(oas-body-name): dataAlert
|
|
2618
2886
|
/dataAlerts/{dataAlertId}:
|
|
2887
|
+
get:
|
|
2888
|
+
displayName: getDataAlertCollection
|
|
2889
|
+
description: Get all available Data Alerts.
|
|
2890
|
+
responses:
|
|
2891
|
+
'200':
|
|
2892
|
+
description: Success
|
|
2893
|
+
body:
|
|
2894
|
+
application/json:
|
|
2895
|
+
type: DataAlertRepresentation
|
|
2896
|
+
delete:
|
|
2897
|
+
displayName: deleteDataAlert
|
|
2898
|
+
description: Delete a data alert
|
|
2899
|
+
responses:
|
|
2900
|
+
'200':
|
|
2901
|
+
description: Success
|
|
2619
2902
|
put:
|
|
2620
2903
|
displayName: updateDataAlert
|
|
2621
2904
|
description: update a data alert
|
|
@@ -2638,6 +2921,20 @@ types:
|
|
|
2638
2921
|
dataAlertId:
|
|
2639
2922
|
type: string
|
|
2640
2923
|
required: true
|
|
2924
|
+
/dataAlerts/{dataAlertId}/run:
|
|
2925
|
+
post:
|
|
2926
|
+
displayName: postDataAlertRun
|
|
2927
|
+
description: Run a data alert immediately.
|
|
2928
|
+
responses:
|
|
2929
|
+
'200':
|
|
2930
|
+
description: Success
|
|
2931
|
+
body:
|
|
2932
|
+
application/json:
|
|
2933
|
+
type: DataAlertRunOutputRepresentation
|
|
2934
|
+
uriParameters:
|
|
2935
|
+
dataAlertId:
|
|
2936
|
+
type: string
|
|
2937
|
+
required: true
|
|
2641
2938
|
/data-assets:
|
|
2642
2939
|
/requests:
|
|
2643
2940
|
get:
|
package/src/raml/luvio.raml
CHANGED
|
@@ -34,11 +34,17 @@ types:
|
|
|
34
34
|
DataAssetRequestCountRepresentation:
|
|
35
35
|
(luvio.ttl): 500
|
|
36
36
|
(luvio.opaque): true
|
|
37
|
+
DataAlertCollectionRepresentation:
|
|
38
|
+
(luvio.ttl): 500
|
|
37
39
|
DataAlertRepresentation:
|
|
38
40
|
(luvio.ttl): 500
|
|
39
41
|
(luvio.opaque): true
|
|
40
42
|
(luvio.key):
|
|
41
43
|
dataAlertId: id
|
|
44
|
+
DataAlertRunOutputRepresentation:
|
|
45
|
+
(luvio.ttl): 100
|
|
46
|
+
(luvio.key):
|
|
47
|
+
dataAlertId: id
|
|
42
48
|
DataAssetRequestRepresentation:
|
|
43
49
|
(luvio.ttl): 500
|
|
44
50
|
(luvio.opaque): true
|
|
@@ -405,15 +411,31 @@ types:
|
|
|
405
411
|
name: createTemplate
|
|
406
412
|
|
|
407
413
|
/tableau/dataAlerts:
|
|
414
|
+
get:
|
|
415
|
+
(luvio.adapter):
|
|
416
|
+
name: getDataAlertCollection
|
|
408
417
|
post:
|
|
409
418
|
(luvio.adapter):
|
|
410
419
|
name: createDataAlert
|
|
411
420
|
|
|
412
421
|
/tableau/dataAlerts/{dataAlertId}:
|
|
422
|
+
get:
|
|
423
|
+
(luvio.adapter):
|
|
424
|
+
name: getDataAlert
|
|
425
|
+
(luvio.key):
|
|
426
|
+
dataAlertId: urlParams.dataAlertId
|
|
427
|
+
delete:
|
|
428
|
+
(luvio.adapter):
|
|
429
|
+
name: deleteDataAlert
|
|
430
|
+
(luvio.key):
|
|
431
|
+
dataAlertId: urlParams.dataAlertId
|
|
413
432
|
put:
|
|
414
433
|
(luvio.adapter):
|
|
415
434
|
name: updateDataAlert
|
|
416
|
-
|
|
435
|
+
/tableau/dataAlerts/{dataAlertId}/run:
|
|
436
|
+
post:
|
|
437
|
+
(luvio.adapter):
|
|
438
|
+
name: postDataAlertRun
|
|
417
439
|
/tableau/data-assets/requests:
|
|
418
440
|
get:
|
|
419
441
|
(luvio.adapter):
|