@salesforce/lds-adapters-analytics-unifiedanalytics 1.354.0-dev1 → 1.354.0-dev11

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 (42) hide show
  1. package/dist/es/es2018/analytics-unifiedanalytics.js +3559 -2423
  2. package/dist/es/es2018/types/src/generated/adapters/createTemplate.d.ts +22 -0
  3. package/dist/es/es2018/types/src/generated/adapters/deleteDataAlert.d.ts +14 -0
  4. package/dist/es/es2018/types/src/generated/adapters/getDataAlert.d.ts +28 -0
  5. package/dist/es/es2018/types/src/generated/adapters/getDataAlertCollection.d.ts +29 -0
  6. package/dist/es/es2018/types/src/generated/adapters/postDataAlertRun.d.ts +15 -0
  7. package/dist/es/es2018/types/src/generated/adapters/updateFollowedAsset.d.ts +5 -6
  8. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +5 -0
  9. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +9 -1
  10. package/dist/es/es2018/types/src/generated/resources/deleteTableauDataAlertsByDataAlertId.d.ts +12 -0
  11. package/dist/es/es2018/types/src/generated/resources/getTableauDataAlerts.d.ts +17 -0
  12. package/dist/es/es2018/types/src/generated/resources/getTableauDataAlertsByDataAlertId.d.ts +16 -0
  13. package/dist/es/es2018/types/src/generated/resources/patchTableauFollowFollowersFollowsByFollowerId.d.ts +5 -6
  14. package/dist/es/es2018/types/src/generated/resources/postTableauDataAlertsRunByDataAlertId.d.ts +12 -0
  15. package/dist/es/es2018/types/src/generated/resources/postTableauMarketplaceTemplates.d.ts +19 -0
  16. package/dist/es/es2018/types/src/generated/types/AnalyticsAssetsQueryResultsItemRepresentation.d.ts +4 -1
  17. package/dist/es/es2018/types/src/generated/types/DataAlertCollectionRepresentation.d.ts +36 -0
  18. package/dist/es/es2018/types/src/generated/types/DataAlertConditionRepresentation.d.ts +33 -0
  19. package/dist/es/es2018/types/src/generated/types/DataAlertContentRepresentation.d.ts +28 -0
  20. package/dist/es/es2018/types/src/generated/types/DataAlertCronScheduleRepresentation.d.ts +29 -0
  21. package/dist/es/es2018/types/src/generated/types/DataAlertDailyScheduleRepresentation.d.ts +26 -0
  22. package/dist/es/es2018/types/src/generated/types/DataAlertDeliveryConfigurationRepresentation.d.ts +29 -0
  23. package/dist/es/es2018/types/src/generated/types/DataAlertMetricContentRepresentation.d.ts +32 -0
  24. package/dist/es/es2018/types/src/generated/types/DataAlertMetricValueRepresentation.d.ts +51 -0
  25. package/dist/es/es2018/types/src/generated/types/DataAlertNotificationRecipientsRepresentation.d.ts +29 -0
  26. package/dist/es/es2018/types/src/generated/types/DataAlertRawValueRepresentation.d.ts +32 -0
  27. package/dist/es/es2018/types/src/generated/types/DataAlertReceiversRepresentation.d.ts +28 -0
  28. package/dist/es/es2018/types/src/generated/types/DataAlertRepresentation.d.ts +27 -4
  29. package/dist/es/es2018/types/src/generated/types/DataAlertRunOutputRepresentation.d.ts +44 -0
  30. package/dist/es/es2018/types/src/generated/types/DataAlertScheduleRepresentation.d.ts +31 -0
  31. package/dist/es/es2018/types/src/generated/types/DataAlertThresholdsRepresentation.d.ts +32 -0
  32. package/dist/es/es2018/types/src/generated/types/DataAlertValueRepresentation.d.ts +28 -0
  33. package/dist/es/es2018/types/src/generated/types/DataAlertWeeklyScheduleRepresentation.d.ts +29 -0
  34. package/dist/es/es2018/types/src/generated/types/FollowerAssetCollectionRepresentation.d.ts +42 -0
  35. package/dist/es/es2018/types/src/generated/types/MarketplaceTemplateInputRepresentation.d.ts +47 -0
  36. package/dist/es/es2018/types/src/generated/types/MarketplaceTemplateOutputRepresentation.d.ts +38 -0
  37. package/dist/es/es2018/types/src/generated/types/UnifiedFilterRepresentation.d.ts +34 -0
  38. package/dist/es/es2018/types/src/generated/types/UpdateFollowedAssetInputRepresentation.d.ts +6 -9
  39. package/package.json +3 -3
  40. package/sfdc/index.js +5300 -4091
  41. package/src/raml/api.raml +378 -21
  42. package/src/raml/luvio.raml +39 -1
package/src/raml/api.raml CHANGED
@@ -177,6 +177,9 @@ types:
177
177
  workspace?:
178
178
  description: The workspace of the asset.
179
179
  type: AnalyticsAssetsQueryResultsWorkspaceRepresentation | nil
180
+ assetParentIdentifier?:
181
+ description: Id of an asset's parent
182
+ type: string | nil
180
183
  AnalyticsAssetsQueryInputRepresentation:
181
184
  description: Unified Analytics Assets Query Input Representation
182
185
  type: object
@@ -347,24 +350,15 @@ types:
347
350
  assetId:
348
351
  description: Asset ID
349
352
  type: string
350
- assetType:
351
- description: Followed asset type
352
- type: string
353
- enum:
354
- - SemanticMetricDefinition
355
- - SemanticSubMetric
356
- required: false
357
- followerType:
358
- description: Follower type
359
- type: string
360
- enum:
361
- - Group
362
- - User
363
353
  required: false
364
354
  followedTimeRange:
365
355
  description: Time Range filter representation
366
356
  type: FollowedTimeRangeRepresentation | nil
367
357
  required: false
358
+ updateAllAssets:
359
+ description: Whether or not to update all followed assets
360
+ type: boolean
361
+ required: false
368
362
  FollowedAssetCollectionRepresentation:
369
363
  description: Collection of Followed Assets
370
364
  type: object
@@ -445,6 +439,18 @@ types:
445
439
  type: array
446
440
  items:
447
441
  type: string | number
442
+ FollowerAssetCollectionRepresentation:
443
+ description: Collection of Follower Assets
444
+ type: object
445
+ properties:
446
+ followerId:
447
+ description: ID of the follower
448
+ type: string
449
+ followerAssets:
450
+ description: List of follower assets being returned
451
+ type: array
452
+ items:
453
+ type: FollowerAssetRepresentation
448
454
  FollowerAssetRepresentation:
449
455
  description: Represent follower and asset mapping
450
456
  type: object
@@ -1019,6 +1025,21 @@ types:
1019
1025
  count:
1020
1026
  description: Count of data asset requests
1021
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 | nil
1022
1043
  DataAlertValueInputRepresentation:
1023
1044
  description: Abstract input representation for operands
1024
1045
  type: object
@@ -1259,13 +1280,6 @@ types:
1259
1280
  type: array
1260
1281
  items:
1261
1282
  type: DataAlertReceiversInputRepresentation
1262
- DataAlertRepresentation:
1263
- description: Output of Data Alert
1264
- type: object
1265
- properties:
1266
- id:
1267
- description: Database record id of the data alert.
1268
- type: string
1269
1283
  DataAlertInputRepresentation:
1270
1284
  description: A top level data alert metadata representation.
1271
1285
  type: object
@@ -1336,6 +1350,238 @@ types:
1336
1350
  customLogicalOperation:
1337
1351
  description: logical operations between conditions
1338
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
+ createdDate:
1517
+ description: Creation date of the data alert
1518
+ type: string
1519
+ lastModifiedDate:
1520
+ description: Last modified date of the data alert
1521
+ type: string
1522
+ schedule:
1523
+ description: Data alert schedule.
1524
+ type: DataAlertScheduleRepresentation
1525
+ thresholds:
1526
+ description: Thresholds to be evaluated.
1527
+ type: DataAlertThresholdsRepresentation
1528
+ DataAlertScheduleRepresentation:
1529
+ description: Represents the schedule for a data alert
1530
+ type: object
1531
+ discriminator: type
1532
+ properties:
1533
+ hoursOfDay:
1534
+ description: Schedule time
1535
+ type: array
1536
+ items:
1537
+ type: integer
1538
+ type:
1539
+ description: Type of schedule
1540
+ type: string
1541
+ enum:
1542
+ - Cron
1543
+ - Daily
1544
+ - Weekly
1545
+ DataAlertThresholdsRepresentation:
1546
+ description: Represents the thresholds for a data alert
1547
+ type: object
1548
+ properties:
1549
+ conditions:
1550
+ description: Conditions for the data alert
1551
+ type: array
1552
+ items:
1553
+ type: DataAlertConditionRepresentation
1554
+ customLogicalOperation:
1555
+ description: Logical operations between conditions
1556
+ type: string
1557
+ DataAlertValueRepresentation:
1558
+ description: Represents a value for a data alert condition
1559
+ discriminator: type
1560
+ type: object
1561
+ properties:
1562
+ type:
1563
+ description: Type of data value
1564
+ type: string
1565
+ enum:
1566
+ - Insights
1567
+ - RawValue
1568
+ DataAlertWeeklyScheduleRepresentation:
1569
+ description: Represents the weekly schedule for a data alert
1570
+ type: DataAlertScheduleRepresentation
1571
+ properties:
1572
+ daysOfWeek:
1573
+ description: Days of the week for the schedule
1574
+ type: array
1575
+ items:
1576
+ type: string
1577
+ enum:
1578
+ - Friday
1579
+ - Monday
1580
+ - Saturday
1581
+ - Sunday
1582
+ - Thursday
1583
+ - Tuesday
1584
+ - Wednesday
1339
1585
  DataAssetRequestInputRepresentation:
1340
1586
  description: DataAssetRequest input representation in unified analytics.
1341
1587
  type: object
@@ -1808,6 +2054,40 @@ types:
1808
2054
  iconName:
1809
2055
  description: Icon Name of the File
1810
2056
  type: string
2057
+ MarketplaceTemplateInputRepresentation:
2058
+ description: Input representation for Marketplace Template Info.
2059
+ type: object
2060
+ properties:
2061
+ assetIdOrApiName:
2062
+ description: The source asset Id.
2063
+ type: string
2064
+ assetType:
2065
+ description: The source asset type.
2066
+ type: string
2067
+ description:
2068
+ description: The Template description.
2069
+ type: string
2070
+ label:
2071
+ description: The label of the template.
2072
+ type: string
2073
+ name:
2074
+ description: The Template name.
2075
+ type: string
2076
+ tags:
2077
+ description: The tags associated with the template.
2078
+ type: object
2079
+ properties:
2080
+ //:
2081
+ type: array
2082
+ items:
2083
+ type: string
2084
+ MarketplaceTemplateOutputRepresentation:
2085
+ description: Id of template created
2086
+ type: object
2087
+ properties:
2088
+ id:
2089
+ description: The ID of template
2090
+ type: string
1811
2091
  OrgCollectionRepresentation:
1812
2092
  description: A collection of unified analytics orgs.
1813
2093
  type: object
@@ -2201,6 +2481,21 @@ types:
2201
2481
  type: array
2202
2482
  items:
2203
2483
  type: any
2484
+ UnifiedFilterRepresentation:
2485
+ description: Unified filter representation.
2486
+ type: object
2487
+ properties:
2488
+ fieldName:
2489
+ description: fieldName
2490
+ type: string
2491
+ operator:
2492
+ description: operator
2493
+ type: string
2494
+ values:
2495
+ description: values
2496
+ type: array
2497
+ items:
2498
+ type: object
2204
2499
  UpdateSetupRecordAccessInputRepresentation:
2205
2500
  description: Update record share input representation
2206
2501
  type: object
@@ -2557,6 +2852,25 @@ types:
2557
2852
  type: string
2558
2853
  required: true
2559
2854
  /dataAlerts:
2855
+ get:
2856
+ displayName: getDataAlertCollection
2857
+ description: Get all available Data Alerts.
2858
+ responses:
2859
+ '200':
2860
+ description: Success
2861
+ body:
2862
+ application/json:
2863
+ type: DataAlertCollectionRepresentation
2864
+ queryParameters:
2865
+ ownerId:
2866
+ type: string
2867
+ required: true
2868
+ limit:
2869
+ type: integer
2870
+ required: false
2871
+ offset:
2872
+ type: integer
2873
+ required: false
2560
2874
  post:
2561
2875
  displayName: postDataAlertCollection
2562
2876
  description: Create a new data alert.
@@ -2576,6 +2890,21 @@ types:
2576
2890
  type: DataAlertInputRepresentation
2577
2891
  (oas-body-name): dataAlert
2578
2892
  /dataAlerts/{dataAlertId}:
2893
+ get:
2894
+ displayName: getDataAlertCollection
2895
+ description: Get all available Data Alerts.
2896
+ responses:
2897
+ '200':
2898
+ description: Success
2899
+ body:
2900
+ application/json:
2901
+ type: DataAlertRepresentation
2902
+ delete:
2903
+ displayName: deleteDataAlert
2904
+ description: Delete a data alert
2905
+ responses:
2906
+ '200':
2907
+ description: Success
2579
2908
  put:
2580
2909
  displayName: updateDataAlert
2581
2910
  description: update a data alert
@@ -2598,6 +2927,20 @@ types:
2598
2927
  dataAlertId:
2599
2928
  type: string
2600
2929
  required: true
2930
+ /dataAlerts/{dataAlertId}/run:
2931
+ post:
2932
+ displayName: postDataAlertRun
2933
+ description: Run a data alert immediately.
2934
+ responses:
2935
+ '200':
2936
+ description: Success
2937
+ body:
2938
+ application/json:
2939
+ type: DataAlertRunOutputRepresentation
2940
+ uriParameters:
2941
+ dataAlertId:
2942
+ type: string
2943
+ required: true
2601
2944
  /data-assets:
2602
2945
  /requests:
2603
2946
  get:
@@ -2753,7 +3096,7 @@ types:
2753
3096
  description: Success
2754
3097
  body:
2755
3098
  application/json:
2756
- type: FollowerAssetRepresentation
3099
+ type: FollowerAssetCollectionRepresentation
2757
3100
  body:
2758
3101
  application/json:
2759
3102
  type: UpdateFollowedAssetInputRepresentation
@@ -3335,3 +3678,17 @@ types:
3335
3678
  installationId:
3336
3679
  type: string
3337
3680
  required: true
3681
+ /tableau/marketplace/templates:
3682
+ post:
3683
+ displayName: postMarketplaceTemplateBuilder
3684
+ description: Create a new template.
3685
+ responses:
3686
+ '200':
3687
+ description: Success
3688
+ body:
3689
+ application/json:
3690
+ type: MarketplaceTemplateOutputRepresentation
3691
+ body:
3692
+ application/json:
3693
+ type: MarketplaceTemplateInputRepresentation
3694
+ (oas-body-name): templateInput
@@ -34,11 +34,18 @@ types:
34
34
  DataAssetRequestCountRepresentation:
35
35
  (luvio.ttl): 500
36
36
  (luvio.opaque): true
37
+ DataAlertCollectionRepresentation:
38
+ (luvio.ttl): 500
39
+ (luvio.opaque): true
37
40
  DataAlertRepresentation:
38
41
  (luvio.ttl): 500
39
42
  (luvio.opaque): true
40
43
  (luvio.key):
41
44
  dataAlertId: id
45
+ DataAlertRunOutputRepresentation:
46
+ (luvio.ttl): 100
47
+ (luvio.key):
48
+ dataAlertId: id
42
49
  DataAssetRequestRepresentation:
43
50
  (luvio.ttl): 500
44
51
  (luvio.opaque): true
@@ -66,6 +73,11 @@ types:
66
73
  (luvio.opaque): true
67
74
  (luvio.key):
68
75
  followedAssetId: id
76
+ FollowerAssetCollectionRepresentation:
77
+ (luvio.ttl): 500
78
+ (luvio.opaque): true
79
+ (luvio.key):
80
+ followerId: followerId
69
81
  FollowerAssetRepresentation:
70
82
  (luvio.ttl): 500
71
83
  (luvio.opaque): true
@@ -124,6 +136,11 @@ types:
124
136
  (luvio.opaque): true
125
137
  (luvio.key):
126
138
  id: id
139
+ MarketplaceTemplateOutputRepresentation:
140
+ (luvio.ttl): 1000
141
+ (luvio.opaque): true
142
+ (luvio.key):
143
+ id: id
127
144
  TableauExternalMonitoringEventItemRepresentation:
128
145
  (luvio.ttl): 1000
129
146
  (luvio.opaque): true
@@ -389,16 +406,37 @@ types:
389
406
  (luvio.adapter):
390
407
  name: getMarketplaceListingInstallationProgress
391
408
 
409
+ /tableau/marketplace/templates:
410
+ post:
411
+ (luvio.adapter):
412
+ name: createTemplate
413
+
392
414
  /tableau/dataAlerts:
415
+ get:
416
+ (luvio.adapter):
417
+ name: getDataAlertCollection
393
418
  post:
394
419
  (luvio.adapter):
395
420
  name: createDataAlert
396
421
 
397
422
  /tableau/dataAlerts/{dataAlertId}:
423
+ get:
424
+ (luvio.adapter):
425
+ name: getDataAlert
426
+ (luvio.key):
427
+ dataAlertId: urlParams.dataAlertId
428
+ delete:
429
+ (luvio.adapter):
430
+ name: deleteDataAlert
431
+ (luvio.key):
432
+ dataAlertId: urlParams.dataAlertId
398
433
  put:
399
434
  (luvio.adapter):
400
435
  name: updateDataAlert
401
-
436
+ /tableau/dataAlerts/{dataAlertId}/run:
437
+ post:
438
+ (luvio.adapter):
439
+ name: postDataAlertRun
402
440
  /tableau/data-assets/requests:
403
441
  get:
404
442
  (luvio.adapter):