@salesforce/lds-adapters-analytics-unifiedanalytics 1.380.0-dev2 → 1.380.0-dev22

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 (43) hide show
  1. package/dist/es/es2018/analytics-unifiedanalytics.js +1488 -1076
  2. package/dist/es/es2018/types/src/generated/adapters/createDataAlert.d.ts +3 -2
  3. package/dist/es/es2018/types/src/generated/adapters/createDataAssetRequest.d.ts +1 -0
  4. package/dist/es/es2018/types/src/generated/adapters/createRecordShares.d.ts +1 -0
  5. package/dist/es/es2018/types/src/generated/adapters/deleteAllShares.d.ts +4 -0
  6. package/dist/es/es2018/types/src/generated/adapters/getDataAssetDependencies.d.ts +1 -0
  7. package/dist/es/es2018/types/src/generated/adapters/getFlows.d.ts +1 -0
  8. package/dist/es/es2018/types/src/generated/adapters/getShares.d.ts +4 -3
  9. package/dist/es/es2018/types/src/generated/adapters/updateDataAlert.d.ts +3 -2
  10. package/dist/es/es2018/types/src/generated/adapters/updateDataAssetRequest.d.ts +1 -0
  11. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +1 -0
  12. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +3 -2
  13. package/dist/es/es2018/types/src/generated/resources/deleteTableauRecordsSharesByRecordId.d.ts +6 -0
  14. package/dist/es/es2018/types/src/generated/resources/getTableauDataAssetsDependenciesByAssetId.d.ts +3 -0
  15. package/dist/es/es2018/types/src/generated/resources/getTableauFlows.d.ts +1 -0
  16. package/dist/es/es2018/types/src/generated/resources/getTableauRecordsSharesByRecordId.d.ts +2 -1
  17. package/dist/es/es2018/types/src/generated/resources/patchTableauDataAssetsRequestsByRequestIdOrApiName.d.ts +1 -0
  18. package/dist/es/es2018/types/src/generated/resources/postTableauDataAlerts.d.ts +3 -2
  19. package/dist/es/es2018/types/src/generated/resources/postTableauDataAssetsRequests.d.ts +1 -0
  20. package/dist/es/es2018/types/src/generated/resources/postTableauRecordsSharesByRecordId.d.ts +1 -0
  21. package/dist/es/es2018/types/src/generated/resources/putTableauDataAlertsByDataAlertId.d.ts +3 -2
  22. package/dist/es/es2018/types/src/generated/types/AnalyticsVersionRepresentation.d.ts +31 -0
  23. package/dist/es/es2018/types/src/generated/types/DataAlertCollectionRepresentation.d.ts +5 -14
  24. package/dist/es/es2018/types/src/generated/types/DataAlertEveryNMinutesScheduleInputRepresentation.d.ts +30 -0
  25. package/dist/es/es2018/types/src/generated/types/DataAlertEveryNMinutesScheduleRepresentation.d.ts +29 -0
  26. package/dist/es/es2018/types/src/generated/types/DataAlertInputRepresentation.d.ts +6 -5
  27. package/dist/es/es2018/types/src/generated/types/DataAlertRepresentation.d.ts +10 -1
  28. package/dist/es/es2018/types/src/generated/types/DataAlertScheduleInputRepresentation.d.ts +5 -4
  29. package/dist/es/es2018/types/src/generated/types/DataAlertScheduleRepresentation.d.ts +3 -3
  30. package/dist/es/es2018/types/src/generated/types/DataAssetRepresentation.d.ts +11 -1
  31. package/dist/es/es2018/types/src/generated/types/DataAssetRequestInputRepresentation.d.ts +4 -1
  32. package/dist/es/es2018/types/src/generated/types/DataAssetRequestRepresentation.d.ts +10 -1
  33. package/dist/es/es2018/types/src/generated/types/DataSpaceInfoRepresentation.d.ts +34 -0
  34. package/dist/es/es2018/types/src/generated/types/SetupRecordAccessCollectionRepresentation.d.ts +32 -1
  35. package/dist/es/es2018/types/src/generated/types/SetupRecordAccessInputRepresentation.d.ts +4 -1
  36. package/dist/es/es2018/types/src/generated/types/SetupRecordShareUserOrGroupRepresentation.d.ts +4 -1
  37. package/dist/es/es2018/types/src/generated/types/VisualizationCollectionRepresentation.d.ts +2 -2
  38. package/dist/es/es2018/types/src/generated/types/VisualizationRepresentation.d.ts +5 -1
  39. package/dist/es/es2018/types/src/generated/types/VisualizationShallowRepresentation.d.ts +77 -0
  40. package/package.json +3 -3
  41. package/sfdc/index.js +1617 -1249
  42. package/src/raml/api.raml +242 -7
  43. package/src/raml/luvio.raml +25 -0
package/src/raml/api.raml CHANGED
@@ -530,7 +530,7 @@ types:
530
530
  description: List of visualizations being returned.
531
531
  type: array
532
532
  items:
533
- type: VisualizationRepresentation
533
+ type: VisualizationShallowRepresentation
534
534
  VisualizationInputRepresentation:
535
535
  description: Unified Analytics Visualization Input Representation
536
536
  type: object
@@ -588,6 +588,63 @@ types:
588
588
  required: false
589
589
  items:
590
590
  type: any
591
+ AnalyticsVersionRepresentation:
592
+ description: Unified analytics version representation.
593
+ type: object
594
+ properties:
595
+ major:
596
+ description: Major version of the visualization.
597
+ type: integer
598
+ minor:
599
+ description: Minor version of the visualization.
600
+ type: integer
601
+ VisualizationShallowRepresentation:
602
+ description: Unified analytics visualization shallow representation with base properties only.
603
+ discriminator: name # TODO Hand-rolled W-15315791: invalid inheritance
604
+ type: object # TODO Hand-rolled W-15315791: invalid inheritance
605
+ properties:
606
+ id:
607
+ description: Visualization id.
608
+ type: string
609
+ description:
610
+ description: Description of the asset.
611
+ type: string
612
+ required: false
613
+ label:
614
+ description: Label of the asset.
615
+ type: string
616
+ name:
617
+ description: Name of the asset.
618
+ type: string
619
+ createdBy:
620
+ description: Created by of the asset.
621
+ type: AnalyticsUserRepresentation
622
+ createdDate:
623
+ description: Created date of the asset
624
+ type: string
625
+ lastModifiedBy:
626
+ description: Last modified by of the asset.
627
+ type: AnalyticsUserRepresentation
628
+ required: false
629
+ lastModifiedDate:
630
+ description: Last modified date of the asset.
631
+ type: string
632
+ required: false
633
+ dataSource:
634
+ description: Datasource of this visualization.
635
+ type: object
636
+ properties:
637
+ //:
638
+ type: any
639
+ workspace:
640
+ description: The workspace name the visualization belongs to.
641
+ type: object
642
+ properties:
643
+ //:
644
+ type: any
645
+ sourceVersion:
646
+ description: Api version of the visualization.
647
+ type: AnalyticsVersionRepresentation
591
648
  VisualizationRepresentation:
592
649
  description: Unified analytics visualization representation.
593
650
  discriminator: name # TODO Hand-rolled W-15315791: invalid inheritance
@@ -658,6 +715,9 @@ types:
658
715
  required: false
659
716
  items:
660
717
  type: any
718
+ sourceVersion:
719
+ description: Api version of the visualization.
720
+ type: AnalyticsVersionRepresentation
661
721
  VisualizationBundleRepresentation:
662
722
  description: Unified analytics visualization with additional information.
663
723
  type: object
@@ -1010,6 +1070,23 @@ types:
1010
1070
  description: Id of the workspace which the DataAsset is part of
1011
1071
  type: string
1012
1072
  required: false
1073
+ synchronizationStatus:
1074
+ description: Synchronization status of the DataAsset
1075
+ type: string
1076
+ enum:
1077
+ - SYNC
1078
+ - NEW
1079
+ required: false
1080
+ createdWorkspace:
1081
+ description: Workspace where the DataAsset was created
1082
+ type: string
1083
+ required: false
1084
+ dataSpaceInfo:
1085
+ description: List of DataSpace Info
1086
+ type: array
1087
+ items:
1088
+ type: DataSpaceInfoRepresentation
1089
+ required: false
1013
1090
  DataAssetRequestCollectionRepresentation:
1014
1091
  description: Collection of Data Asset Requests
1015
1092
  type: object
@@ -1040,7 +1117,7 @@ types:
1040
1117
  type: integer
1041
1118
  nextPageUrl:
1042
1119
  description: Next page url for pagination.
1043
- type: string
1120
+ type: string | nil
1044
1121
  DataAlertValueInputRepresentation:
1045
1122
  description: Abstract input representation for operands
1046
1123
  type: object
@@ -1277,11 +1354,14 @@ types:
1277
1354
  description: A top level data alert metadata representation.
1278
1355
  type: object
1279
1356
  properties:
1280
- analysisUtterance:
1281
- description: user entered utterance for generating analysis.
1282
- type: string
1283
1357
  content:
1284
1358
  type: DataAlertContentInputRepresentation # TODO Hand-rolled @W-17927490
1359
+ dataAlertType:
1360
+ description: Type of data alert
1361
+ type: string
1362
+ enum:
1363
+ - AgentHealthMonitoring
1364
+ - AgentPowered
1285
1365
  deliveryConfigurations:
1286
1366
  type: DataAlertDeliveryConfigurationInputRepresentation # TODO Hand-rolled @W-17927490
1287
1367
  schedule:
@@ -1313,7 +1393,9 @@ types:
1313
1393
  description: delivery type
1314
1394
  type: string
1315
1395
  enum:
1396
+ - Email
1316
1397
  - Notification
1398
+ - Slack
1317
1399
  DataAlertScheduleInputRepresentation:
1318
1400
  description: Input representation for data alert schedule
1319
1401
  discriminator: type
@@ -1324,6 +1406,7 @@ types:
1324
1406
  type: array
1325
1407
  items:
1326
1408
  type: integer
1409
+ required: false
1327
1410
  type:
1328
1411
  description: schedule type
1329
1412
  type: string
@@ -1331,6 +1414,15 @@ types:
1331
1414
  - Cron
1332
1415
  - Daily
1333
1416
  - Weekly
1417
+ - EveryNMinutes
1418
+ DataAlertEveryNMinutesScheduleInputRepresentation:
1419
+ description: Input representation for an every N minutes alert schedule
1420
+ type: DataAlertScheduleInputRepresentation
1421
+ discriminatorValue: EveryNMinutes
1422
+ properties:
1423
+ minuteLevelFrequency:
1424
+ description: Frequency in minutes at which to run the data alert
1425
+ type: integer
1334
1426
  DataAlertThresholdsInputRepresentation:
1335
1427
  description: Data alert thresholds input representation.
1336
1428
  type: object
@@ -1397,6 +1489,13 @@ types:
1397
1489
  description: Represents the daily schedule for a data alert
1398
1490
  type: DataAlertScheduleRepresentation
1399
1491
  properties: {}
1492
+ DataAlertEveryNMinutesScheduleRepresentation:
1493
+ description: Represents the every N minutes schedule for a data alert
1494
+ type: DataAlertScheduleRepresentation
1495
+ properties:
1496
+ minuteLevelFrequency:
1497
+ description: Frequency in minutes at which to run the data alert
1498
+ type: integer
1400
1499
  DataAlertDeliveryConfigurationRepresentation:
1401
1500
  description: Represents the delivery configuration for a data alert
1402
1501
  type: object
@@ -1487,7 +1586,9 @@ types:
1487
1586
  description: delivery type
1488
1587
  type: string
1489
1588
  enum:
1589
+ - Email
1490
1590
  - Notification
1591
+ - Slack
1491
1592
  DataAlertRepresentation:
1492
1593
  description: Output representation for Data Alert
1493
1594
  discriminatorValue: DataAlert
@@ -1503,9 +1604,21 @@ types:
1503
1604
  description: Notification content configuration. Contains the config needed
1504
1605
  to generate the notification content.
1505
1606
  type: DataAlertContentRepresentation
1607
+ dataAlertType:
1608
+ description: Type of data alert.
1609
+ type: string
1610
+ enum:
1611
+ - AgentHealthMonitoring
1612
+ - AgentPowered
1506
1613
  deliveryConfigurations:
1507
1614
  description: Data alert delivery configurations.
1508
1615
  type: DataAlertDeliveryConfigurationRepresentation
1616
+ createdDate:
1617
+ description: Creation date of the data alert
1618
+ type: string
1619
+ lastModifiedDate:
1620
+ description: Last modified date of the data alert
1621
+ type: string
1509
1622
  schedule:
1510
1623
  description: Data alert schedule.
1511
1624
  type: DataAlertScheduleRepresentation
@@ -1522,6 +1635,7 @@ types:
1522
1635
  type: array
1523
1636
  items:
1524
1637
  type: integer
1638
+ required: false
1525
1639
  type:
1526
1640
  description: Type of schedule
1527
1641
  type: string
@@ -1529,6 +1643,7 @@ types:
1529
1643
  - Cron
1530
1644
  - Daily
1531
1645
  - Weekly
1646
+ - EveryNMinutes
1532
1647
  DataAlertThresholdsRepresentation:
1533
1648
  description: Represents the thresholds for a data alert
1534
1649
  type: object
@@ -1633,6 +1748,17 @@ types:
1633
1748
  description: Workspace id or name of personal org related to the request
1634
1749
  type: string
1635
1750
  required: false
1751
+ packageExportStatus:
1752
+ description: Export status of the promotion metadata package
1753
+ type: string
1754
+ required: false
1755
+ enum:
1756
+ - Accepted
1757
+ - Completed
1758
+ - Failed
1759
+ - Packaging
1760
+ - Ready
1761
+ - Rejected
1636
1762
  DataAssetRequestRepresentation:
1637
1763
  description: Represents a data asset request
1638
1764
  type: object
@@ -1745,6 +1871,35 @@ types:
1745
1871
  workspaceAssetId:
1746
1872
  description: workspaceAssetId in the workspace
1747
1873
  type: string
1874
+ packageExportStatus:
1875
+ description: Export status of the metadata package request
1876
+ type: string | nil
1877
+ enum:
1878
+ - Accepted
1879
+ - Completed
1880
+ - Failed
1881
+ - Packaging
1882
+ - Ready
1883
+ - Rejected
1884
+ packageExportedBy:
1885
+ description: User that last exported the metadata package request
1886
+ type: AnalyticsUserRepresentation | nil
1887
+ packageExportedDate:
1888
+ description: Date and time the metadata package was exported
1889
+ type: string | nil
1890
+ DataSpaceInfoRepresentation:
1891
+ description: DataSpace Info Representation
1892
+ type: object
1893
+ properties:
1894
+ dataSpacePrefix:
1895
+ description: DataSpace prefix.
1896
+ type: string
1897
+ dataSpaceLabel:
1898
+ description: DataSpace label.
1899
+ type: string
1900
+ dataSpaceDeveloperName:
1901
+ description: DataSpace developer name.
1902
+ type: string
1748
1903
  TableauMarketplaceListingInstallationProgressResponse:
1749
1904
  description: Representation of tableau marketplace's listing installation progress
1750
1905
  type: object
@@ -2139,6 +2294,41 @@ types:
2139
2294
  recordId:
2140
2295
  description: Id for record
2141
2296
  type: string
2297
+ orderBy:
2298
+ description: Order By value for response
2299
+ type: string
2300
+ required: true
2301
+ enum:
2302
+ - createddate
2303
+ - userdisplayname
2304
+ sortOrder:
2305
+ description: Sort Order value for response
2306
+ type: string
2307
+ required: true
2308
+ enum:
2309
+ - DESC
2310
+ - ASC
2311
+ filterByRecipientType:
2312
+ description: recipient filter value, default is none
2313
+ type: array
2314
+ required: true
2315
+ items:
2316
+ type: string
2317
+ enum:
2318
+ - User
2319
+ - Group
2320
+ filterByUserOrGroupId:
2321
+ description: Id of the User/Group
2322
+ type: string | nil
2323
+ required: true
2324
+ offset:
2325
+ description: Offset parameter value
2326
+ type: integer
2327
+ required: true
2328
+ limit:
2329
+ description: Limit parameter value
2330
+ type: integer
2331
+ required: true
2142
2332
  SetupRecordAccessInputRepresentation:
2143
2333
  description: User Or Role Access Input Representation
2144
2334
  type: object
@@ -2148,6 +2338,10 @@ types:
2148
2338
  type: array
2149
2339
  items:
2150
2340
  type: any
2341
+ sendNotificationToRecipients:
2342
+ description: check for sending notification to recipients
2343
+ type: boolean
2344
+ required: false
2151
2345
  SetupRecordAccessItemInputRepresentation:
2152
2346
  description: Record Access Item Input Representation
2153
2347
  type: object
@@ -2199,6 +2393,10 @@ types:
2199
2393
  description: Username of the User
2200
2394
  type: string
2201
2395
  required: false
2396
+ groupMemberCount:
2397
+ description: Count of users in group
2398
+ type: integer
2399
+ required: false
2202
2400
  SetupRecordAccessRepresentation:
2203
2401
  description: Record Access mapping for specific UserOrGroup
2204
2402
  discriminatorValue: RecordAccessMappingForUserOrGroup
@@ -3104,6 +3302,11 @@ types:
3104
3302
  get:
3105
3303
  displayName: getDataAssetDependencies
3106
3304
  description: Gets the dependencies of an Data asset
3305
+ queryParameters:
3306
+ includeSynchronizationInfo:
3307
+ type: boolean
3308
+ required: false
3309
+ description: Include synchronization information in the response
3107
3310
  responses:
3108
3311
  '200':
3109
3312
  description: Success
@@ -3268,6 +3471,21 @@ types:
3268
3471
  responses:
3269
3472
  '200':
3270
3473
  description: Success
3474
+ queryParameters:
3475
+ userOrGroupId:
3476
+ type: string | nil
3477
+ required: false
3478
+ orderBy:
3479
+ type: string
3480
+ required: false
3481
+ sortOrder:
3482
+ type: string
3483
+ required: false
3484
+ filterByRecipientType:
3485
+ type: array
3486
+ required: false
3487
+ items:
3488
+ type: string
3271
3489
  get:
3272
3490
  displayName: getSetupRecordShareCollection
3273
3491
  description: Get record shares for requested registered grantee for a record
@@ -3292,8 +3510,8 @@ types:
3292
3510
  type: string
3293
3511
  required: false
3294
3512
  enum:
3295
- - CreatedDate
3296
- - UserDisplayName
3513
+ - createddate
3514
+ - userdisplayname
3297
3515
  sortOrder:
3298
3516
  description: Sort Order value, default is descending
3299
3517
  type: string
@@ -3301,6 +3519,20 @@ types:
3301
3519
  enum:
3302
3520
  - DESC
3303
3521
  - ASC
3522
+ filterByRecipientType:
3523
+ description: recipient filter value, default is none
3524
+ type: array
3525
+ required: false
3526
+ items:
3527
+ type: string
3528
+ enum:
3529
+ - User
3530
+ - Group
3531
+ recipientSearchTerm:
3532
+ description: Search term parameter value
3533
+ type: string
3534
+ required: false
3535
+
3304
3536
  patch:
3305
3537
  displayName: patchSetupRecordShareCollection
3306
3538
  description: Update an record share to be associated with a record Item
@@ -3631,6 +3863,9 @@ types:
3631
3863
  offset:
3632
3864
  type: integer
3633
3865
  required: false
3866
+ searchTerm:
3867
+ type: string
3868
+ required: false
3634
3869
  /flows/{flowApiName}:
3635
3870
  get:
3636
3871
  displayName: getFlowByName
@@ -36,6 +36,7 @@ types:
36
36
  (luvio.opaque): true
37
37
  DataAlertCollectionRepresentation:
38
38
  (luvio.ttl): 500
39
+ (luvio.opaque): true
39
40
  DataAlertRepresentation:
40
41
  (luvio.ttl): 500
41
42
  (luvio.opaque): true
@@ -85,6 +86,10 @@ types:
85
86
  UniqueFollowerCountRepresentation:
86
87
  (luvio.ttl): 500
87
88
  (luvio.opaque): true
89
+ VisualizationShallowRepresentation:
90
+ (luvio.opaque): true
91
+ (luvio.key):
92
+ name: name
88
93
  VisualizationRepresentation:
89
94
  (luvio.opaque): true
90
95
  (luvio.key):
@@ -155,6 +160,18 @@ types:
155
160
  (luvio.opaque): true
156
161
  (luvio.key):
157
162
  recordId: recordId
163
+ filterByUserOrGroupId: filterByUserOrGroupId
164
+ orderBy: orderBy
165
+ sortOrder: sortOrder
166
+ filterByRecipientType: filterByRecipientType
167
+ (luvio.updateAvailable):
168
+ name: notifySharesUpdateAvailable
169
+ parameters:
170
+ recordId: recordId
171
+ filterByUserOrGroupId: filterByUserOrGroupId
172
+ orderBy: orderBy
173
+ sortOrder: sortOrder
174
+ filterByRecipientType: filterByRecipientType
158
175
  SetupRecordAccessRepresentation:
159
176
  (luvio.ttl): 500
160
177
  (luvio.opaque): true
@@ -257,12 +274,20 @@ types:
257
274
  name: getShares
258
275
  (luvio.key):
259
276
  recordId: urlParams.recordId
277
+ filterByUserOrGroupId: queryParams.userOrGroupId || null
278
+ orderBy: queryParams.orderBy?.toLowerCase() || 'createddate'
279
+ sortOrder: queryParams.sortOrder || 'DESC'
280
+ filterByRecipientType: queryParams.filterByRecipientType || []
260
281
 
261
282
  delete:
262
283
  (luvio.adapter):
263
284
  name: deleteAllShares
264
285
  (luvio.key):
265
286
  recordId: urlParams.recordId
287
+ filterByUserOrGroupId: queryParams.userOrGroupId || null
288
+ orderBy: queryParams.orderBy?.toLowerCase() || 'createddate'
289
+ sortOrder: queryParams.sortOrder || 'DESC'
290
+ filterByRecipientType: queryParams.filterByRecipientType || []
266
291
 
267
292
  post:
268
293
  (luvio.adapter):