@salesforce/lds-adapters-analytics-unifiedanalytics 1.308.0-dev1 → 1.308.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 (22) hide show
  1. package/dist/es/es2018/analytics-unifiedanalytics.js +1903 -1386
  2. package/dist/es/es2018/types/src/generated/adapters/createLoglines.d.ts +15 -0
  3. package/dist/es/es2018/types/src/generated/adapters/generateSFDriveCredentials.d.ts +15 -0
  4. package/dist/es/es2018/types/src/generated/adapters/publish.d.ts +15 -0
  5. package/dist/es/es2018/types/src/generated/artifacts/main.d.ts +3 -0
  6. package/dist/es/es2018/types/src/generated/artifacts/sfdc.d.ts +4 -1
  7. package/dist/es/es2018/types/src/generated/resources/postSsotSfDriveActionsGenerateCredential.d.ts +11 -0
  8. package/dist/es/es2018/types/src/generated/resources/postUnifiedAnalyticsAdminMonitoringEvents.d.ts +12 -0
  9. package/dist/es/es2018/types/src/generated/resources/postUnifiedAnalyticsLoglines.d.ts +12 -0
  10. package/dist/es/es2018/types/src/generated/types/CdpAssetBaseInputRepresentation.d.ts +34 -0
  11. package/dist/es/es2018/types/src/generated/types/SFDriveCredentialInputRepresentation.d.ts +29 -0
  12. package/dist/es/es2018/types/src/generated/types/SFDriveCredentialRepresentation.d.ts +48 -0
  13. package/dist/es/es2018/types/src/generated/types/UnifiedAnalyticsLogLinesRepresentation.d.ts +44 -0
  14. package/dist/es/es2018/types/src/generated/types/UnifiedAnalyticsLoglineInputRepresentation.d.ts +35 -0
  15. package/dist/es/es2018/types/src/generated/types/UnifiedAnalyticsLoglinesInputRepresentation.d.ts +28 -0
  16. package/dist/es/es2018/types/src/generated/types/UnifiedAnalyticsMonitoringEventInputRepresentation.d.ts +28 -0
  17. package/dist/es/es2018/types/src/generated/types/UnifiedAnalyticsMonitoringEventItemInputRepresentation.d.ts +40 -0
  18. package/dist/es/es2018/types/src/generated/types/UnifiedAnalyticsMonitoringEventItemRepresentation.d.ts +44 -0
  19. package/package.json +3 -3
  20. package/sfdc/index.js +1774 -1248
  21. package/src/raml/api.raml +165 -0
  22. package/src/raml/luvio.raml +30 -0
package/src/raml/api.raml CHANGED
@@ -1257,6 +1257,90 @@ types:
1257
1257
  userId:
1258
1258
  description: User ID.
1259
1259
  type: string
1260
+ UnifiedAnalyticsMonitoringEventInputRepresentation:
1261
+ description: Unified Analytics Monitoring Events Input Representation
1262
+ type: object
1263
+ properties:
1264
+ events:
1265
+ description: Monitoring Events parameter value
1266
+ type: array
1267
+ items:
1268
+ type: any
1269
+ UnifiedAnalyticsMonitoringEventItemInputRepresentation:
1270
+ description: Unified Analytics Monitoring Event Input representation
1271
+ type: object
1272
+ properties:
1273
+ additionalContext:
1274
+ description: Additional Context for Monitoring Event For Related eventType
1275
+ and eventCategory
1276
+ type: string
1277
+ entityId:
1278
+ description: EntityId Value
1279
+ type: string
1280
+ eventCategory:
1281
+ description: EventCategory Value
1282
+ type: string
1283
+ enum:
1284
+ - Collaboration
1285
+ - Dashboard
1286
+ - Semantic
1287
+ - Visualization
1288
+ - Workspace
1289
+ eventType:
1290
+ description: EventType Value
1291
+ type: string
1292
+ userId:
1293
+ description: OwnerId for publisher
1294
+ type: string
1295
+ UnifiedAnalyticsMonitoringEventItemRepresentation:
1296
+ description: Result for publishing monitoring events in Unified Analytics.
1297
+ type: object
1298
+ properties:
1299
+ id:
1300
+ description: Unique identifier for the monitoring event
1301
+ type: string
1302
+ failureCount:
1303
+ description: Failure Count from Publishing Endpoint Response
1304
+ type: integer
1305
+ successCount:
1306
+ description: Success Count from Publishing Endpoint Response
1307
+ type: integer
1308
+
1309
+ UnifiedAnalyticsLogLinesRepresentation:
1310
+ description: Result for publishing log lines in Unified Analytics.
1311
+ type: object
1312
+ properties:
1313
+ id:
1314
+ description: Unique identifier for log lines logged
1315
+ type: string
1316
+ failureCount:
1317
+ description: Failure count of log lines logged
1318
+ type: integer
1319
+ successCount:
1320
+ description: Success count of log lines logged
1321
+ type: integer
1322
+ UnifiedAnalyticsLoglineInputRepresentation:
1323
+ description: A logline code and the logline parameters
1324
+ type: object
1325
+ properties:
1326
+ fields:
1327
+ description: The logline parameters
1328
+ type: object
1329
+ properties:
1330
+ //:
1331
+ type: object
1332
+ logLineCode:
1333
+ description: The logline code
1334
+ type: string
1335
+ UnifiedAnalyticsLoglinesInputRepresentation:
1336
+ description: A collection of loglines sent from TUA UI to be recorded in splunk
1337
+ type: object
1338
+ properties:
1339
+ loglines:
1340
+ description: The list of loglines from TUA UI
1341
+ type: array
1342
+ items:
1343
+ type: any
1260
1344
  WorkspaceCollectionRepresentation:
1261
1345
  description: A collection of unified analytics workspaces.
1262
1346
  type: object
@@ -1387,7 +1471,59 @@ types:
1387
1471
  url:
1388
1472
  description: URL to this workspace asset.
1389
1473
  type: string
1474
+ CdpAssetBaseInputRepresentation:
1475
+ description: Represents a base asset
1476
+ type: object
1477
+ discriminator: id
1478
+ properties:
1479
+ id:
1480
+ description: Id
1481
+ type: string
1482
+ name:
1483
+ description: Name
1484
+ type: string
1485
+ namespace:
1486
+ description: Namespace
1487
+ type: string
1488
+ SFDriveCredentialInputRepresentation:
1489
+ description: Input representation for sf drive credentials
1490
+ type: CdpAssetBaseInputRepresentation
1491
+ properties:
1492
+ path:
1493
+ description: The path in sfdrive for which credentials are needed.
1494
+ type: string
1495
+ SFDriveCredentialRepresentation:
1496
+ description: Response representation for SFDrive Credentials Request
1497
+ type: object
1498
+ properties:
1499
+ accessCredential:
1500
+ description: Access Credentials for location in SF Drive
1501
+ type: object
1502
+ properties:
1503
+ //:
1504
+ type: string
1505
+ fullyQualifiedLocationInDrive:
1506
+ description: Fully Qualified Location in SF Drive
1507
+ type: string
1508
+ tenantKeyId:
1509
+ description: Tenant Key Id
1510
+ type: string
1390
1511
  /unified-analytics:
1512
+ /admin/monitoring/events:
1513
+ post:
1514
+ displayName: postUnifiedAnalyticsMonitoringEvent
1515
+ description: Publish list of Unified Analytics Monitoring Events
1516
+ responses:
1517
+ '200':
1518
+ description: Success
1519
+ body:
1520
+ application/json:
1521
+ type: UnifiedAnalyticsMonitoringEventItemRepresentation
1522
+ body:
1523
+ application/json:
1524
+ type: UnifiedAnalyticsMonitoringEventInputRepresentation
1525
+ # required: false # TODO Hand-rolled W-16187742 not supported
1526
+ (oas-body-name): unifiedAnalyticsMonitoringEvents
1391
1527
  /annotations:
1392
1528
  get:
1393
1529
  displayName: getAnnotationCollection
@@ -1612,6 +1748,21 @@ types:
1612
1748
  followerId:
1613
1749
  type: string
1614
1750
  required: true
1751
+ /loglines:
1752
+ post:
1753
+ displayName: postUnifiedAnalyticsLoglines
1754
+ description: Post a collection of ui loglines
1755
+ responses:
1756
+ '200':
1757
+ description: Success
1758
+ body:
1759
+ application/json:
1760
+ type: UnifiedAnalyticsLogLinesRepresentation
1761
+ body:
1762
+ application/json:
1763
+ type: UnifiedAnalyticsLoglinesInputRepresentation
1764
+ # required: false # TODO Hand-rolled W-15315791 not supported
1765
+ (oas-body-name): loglines
1615
1766
  /slack/channels:
1616
1767
  get:
1617
1768
  displayName: getAssetSlackChannelCollection
@@ -1928,3 +2079,17 @@ types:
1928
2079
  type: AnalyticsLibraryCollectionQueryInputRepresentation
1929
2080
  # required: false
1930
2081
  (oas-body-name): libraryAssetsQueryInput
2082
+ /ssot/sf-drive/actions/generate-credential:
2083
+ post:
2084
+ displayName: postSfDriveCredentials
2085
+ description: 'Input: https://docs.google.com/document/d/19ifMR8eZA_9iDBolz-fHm0m0e1t3TuTsaiBkHTOxS_Q'
2086
+ responses:
2087
+ '200':
2088
+ description: Success
2089
+ body:
2090
+ application/json:
2091
+ type: SFDriveCredentialRepresentation
2092
+ body:
2093
+ application/json:
2094
+ type: SFDriveCredentialInputRepresentation
2095
+ (oas-body-name): generateSFDriveCredentialsInput
@@ -86,6 +86,26 @@ types:
86
86
  userId: userId
87
87
  FlowRepresentation:
88
88
  (luvio.opaque): true
89
+ UnifiedAnalyticsLogLinesRepresentation:
90
+ (luvio.ttl): 1000
91
+ (luvio.opaque): true
92
+ (luvio.key):
93
+ id: id
94
+ UnifiedAnalyticsMonitoringEventItemRepresentation:
95
+ (luvio.ttl): 1000
96
+ (luvio.opaque): true
97
+ (luvio.key):
98
+ id: id
99
+ SFDriveCredentialRepresentation:
100
+ (luvio.ttl): 1000
101
+ (luvio.opaque): true
102
+ (luvio.key):
103
+ fullyQualifiedLocationInDrive: fullyQualifiedLocationInDrive
104
+
105
+ /unified-analytics/admin/monitoring/events:
106
+ post:
107
+ (luvio.adapter):
108
+ name: publish
89
109
 
90
110
  /unified-analytics/annotations:
91
111
  get:
@@ -116,6 +136,11 @@ types:
116
136
  (luvio.adapter):
117
137
  name: createDashboard
118
138
 
139
+ /unified-analytics/loglines:
140
+ post:
141
+ (luvio.adapter):
142
+ name: createLoglines
143
+
119
144
  /unified-analytics/follow/followers/{followerId}/follows:
120
145
  post:
121
146
  (luvio.adapter):
@@ -252,3 +277,8 @@ types:
252
277
  patch:
253
278
  (luvio.adapter):
254
279
  name: updateSubscriptionDigestConfig
280
+
281
+ /ssot/sf-drive/actions/generate-credential:
282
+ post:
283
+ (luvio.adapter):
284
+ name: generateSFDriveCredentials