@salesforce/lds-adapters-analytics-unifiedanalytics 1.451.0-dev1 → 1.451.0-dev2

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 (20) hide show
  1. package/dist/es/es2018/analytics-unifiedanalytics.js +1042 -778
  2. package/dist/es/es2018/types/src/generated/adapters/getDataAlertCollection.d.ts +1 -0
  3. package/dist/es/es2018/types/src/generated/adapters/postDataAlertTransientRun.d.ts +41 -0
  4. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
  5. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -1
  6. package/dist/es/es2018/types/src/generated/resources/getTableauDataAlerts.d.ts +1 -0
  7. package/dist/es/es2018/types/src/generated/resources/postTableauDataAlertsRun.d.ts +29 -0
  8. package/dist/es/es2018/types/src/generated/types/DataAlertDeliveryConfigurationInputRepresentation.d.ts +3 -1
  9. package/dist/es/es2018/types/src/generated/types/DataAlertNoOpReceiversInputRepresentation.d.ts +26 -0
  10. package/dist/es/es2018/types/src/generated/types/DataAlertNoOpReceiversRepresentation.d.ts +26 -0
  11. package/dist/es/es2018/types/src/generated/types/DataAlertReceiversInputRepresentation.d.ts +2 -0
  12. package/dist/es/es2018/types/src/generated/types/DataAlertSlackRecipientInputRepresentation.d.ts +31 -0
  13. package/dist/es/es2018/types/src/generated/types/DataAlertSlackRecipientRepresentation.d.ts +31 -0
  14. package/dist/es/es2018/types/src/generated/types/DataAlertSlackRecipientsInputRepresentation.d.ts +31 -0
  15. package/dist/es/es2018/types/src/generated/types/DataAlertSlackRecipientsRepresentation.d.ts +30 -0
  16. package/dist/es/es2018/types/src/generated/types/DataAlertTransientRunOutputRepresentation.d.ts +35 -0
  17. package/package.json +3 -3
  18. package/sfdc/index.js +2996 -2721
  19. package/src/raml/api.raml +92 -0
  20. package/src/raml/luvio.raml +8 -0
package/src/raml/api.raml CHANGED
@@ -1329,9 +1329,11 @@ types:
1329
1329
  type: string
1330
1330
  enum:
1331
1331
  - GoalProgress
1332
+ - PaceToGoal
1332
1333
  - Popc
1333
1334
  - RecordLevelOutliers
1334
1335
  - RiskyMonopoly
1336
+ - Threshold
1335
1337
  - Unspecified
1336
1338
  - UnusualChange
1337
1339
  params:
@@ -1600,6 +1602,32 @@ types:
1600
1602
  type: string
1601
1603
  enum:
1602
1604
  - SalesforceUser
1605
+ DataAlertNoOpReceiversInputRepresentation:
1606
+ description: No-op receivers for data alerts that do not deliver anywhere.
1607
+ type: DataAlertReceiversInputRepresentation
1608
+ discriminatorValue: NoOp
1609
+ DataAlertSlackRecipientsInputRepresentation:
1610
+ description: List of Slack recipients for Data alerts.
1611
+ type: DataAlertReceiversInputRepresentation
1612
+ discriminatorValue: Slack
1613
+ properties:
1614
+ recipients:
1615
+ description: Slack recipients
1616
+ type: array
1617
+ items:
1618
+ type: DataAlertSlackRecipientInputRepresentation
1619
+ DataAlertSlackRecipientInputRepresentation:
1620
+ description: A single Slack recipient
1621
+ type: object
1622
+ properties:
1623
+ recipient:
1624
+ description: Recipient identifier
1625
+ type: string
1626
+ recipientType:
1627
+ description: Type of recipient
1628
+ type: string
1629
+ enum:
1630
+ - SalesforceUser
1603
1631
  DataAlertReceiversInputRepresentation:
1604
1632
  description: Input representation for data alert recipients
1605
1633
  type: object
@@ -1611,6 +1639,7 @@ types:
1611
1639
  enum:
1612
1640
  - Email
1613
1641
  - MsTeams
1642
+ - NoOp
1614
1643
  - Notification
1615
1644
  - Slack
1616
1645
  DataAlertScheduleInputRepresentation:
@@ -1657,6 +1686,20 @@ types:
1657
1686
  triggered:
1658
1687
  description: Whether the data alert was triggered by this run.
1659
1688
  type: boolean
1689
+ DataAlertTransientRunOutputRepresentation:
1690
+ description: Output of running a transient (non-persisted) Data Alert.
1691
+ type: object
1692
+ properties:
1693
+ executedAt:
1694
+ description: Timestamp when the data alert was executed.
1695
+ type: string
1696
+ id:
1697
+ description: Always null for a transient run because no alert record is persisted.
1698
+ type: string | nil
1699
+ required: false
1700
+ triggered:
1701
+ description: Whether the data alert was triggered by this run.
1702
+ type: boolean
1660
1703
  DataAlertConditionRepresentation:
1661
1704
  description: Represents a condition for a data alert
1662
1705
  type: object
@@ -1757,9 +1800,11 @@ types:
1757
1800
  type: string
1758
1801
  enum:
1759
1802
  - GoalProgress
1803
+ - PaceToGoal
1760
1804
  - Popc
1761
1805
  - RecordLevelOutliers
1762
1806
  - RiskyMonopoly
1807
+ - Threshold
1763
1808
  - Unspecified
1764
1809
  - UnusualChange
1765
1810
  metricId:
@@ -1811,6 +1856,7 @@ types:
1811
1856
  enum:
1812
1857
  - Email
1813
1858
  - MsTeams
1859
+ - NoOp
1814
1860
  - Notification
1815
1861
  - Slack
1816
1862
  DataAlertMsTeamsRecipientsRepresentation:
@@ -1834,6 +1880,30 @@ types:
1834
1880
  type: string
1835
1881
  enum:
1836
1882
  - SalesforceUser
1883
+ DataAlertNoOpReceiversRepresentation:
1884
+ description: Represents no-op receivers for a data alert that does not deliver anywhere
1885
+ type: DataAlertReceiversRepresentation
1886
+ DataAlertSlackRecipientsRepresentation:
1887
+ description: Represents Slack recipients for a data alert
1888
+ type: DataAlertReceiversRepresentation
1889
+ properties:
1890
+ recipients:
1891
+ description: list of Slack recipients
1892
+ type: array
1893
+ items:
1894
+ type: DataAlertSlackRecipientRepresentation
1895
+ DataAlertSlackRecipientRepresentation:
1896
+ description: Represents a single Slack recipient
1897
+ type: object
1898
+ properties:
1899
+ recipient:
1900
+ description: Recipient identifier
1901
+ type: string
1902
+ recipientType:
1903
+ description: Type of recipient
1904
+ type: string
1905
+ enum:
1906
+ - SalesforceUser
1837
1907
 
1838
1908
  DataAlertRepresentation:
1839
1909
  description: Output representation for Data Alert
@@ -3572,6 +3642,14 @@ types:
3572
3642
  offset:
3573
3643
  type: integer
3574
3644
  required: false
3645
+ contentType:
3646
+ description: Optional filter. Only return data alerts of this content
3647
+ type.
3648
+ type: string
3649
+ required: false
3650
+ enum:
3651
+ - Brief
3652
+ - Metric
3575
3653
  post:
3576
3654
  displayName: postDataAlertCollection
3577
3655
  description: Create a new data alert.
@@ -3604,6 +3682,20 @@ types:
3604
3682
  application/json:
3605
3683
  type: DataAlertQueryInputRepresentation
3606
3684
  (oas-body-name): dataAlertQuery
3685
+ /dataAlerts/run:
3686
+ post:
3687
+ displayName: postDataAlertTransientRun
3688
+ description: Run a full data alert representation immediately without persisting it.
3689
+ responses:
3690
+ '200':
3691
+ description: Success
3692
+ body:
3693
+ application/json:
3694
+ type: DataAlertTransientRunOutputRepresentation
3695
+ body:
3696
+ application/json:
3697
+ type: DataAlertInputRepresentation
3698
+ (oas-body-name): dataAlert
3607
3699
  /dataAlerts/{dataAlertId}:
3608
3700
  get: #This is a mocked path only.
3609
3701
  displayName: getDataAlertCollection
@@ -49,6 +49,9 @@ types:
49
49
  (luvio.ttl): 100
50
50
  (luvio.key):
51
51
  dataAlertId: id
52
+ DataAlertTransientRunOutputRepresentation:
53
+ (luvio.ttl): 100
54
+ (luvio.opaque): true
52
55
  DataAssetRequestRepresentation:
53
56
  (luvio.ttl): 500
54
57
  (luvio.opaque): true
@@ -485,6 +488,11 @@ types:
485
488
  post:
486
489
  (luvio.adapter):
487
490
  name: postDataAlertRun
491
+ /tableau/dataAlerts/run:
492
+ post:
493
+ (luvio.adapter):
494
+ name: postDataAlertTransientRun
495
+ (luvio.method): get
488
496
  /tableau/data-assets/requests:
489
497
  get:
490
498
  (luvio.adapter):