@salesforce/lds-adapters-analytics-unifiedanalytics 1.294.0 → 1.296.0

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/src/raml/api.raml CHANGED
@@ -198,6 +198,42 @@ types:
198
198
  dataSource:
199
199
  description: Datasource of this visualization.
200
200
  type: string
201
+ AnalyticsLibraryAssetCollectionOutputRepresentation:
202
+ description: The output representation of the list for AnalyticsLibraryAssetPreview
203
+ type: object
204
+ properties:
205
+ analyticsLibraryAssetPreviewRepresentationList:
206
+ description: Get a list of AnalyticsLibraryAssetsPreviewRepresentation.
207
+ type: array
208
+ items:
209
+ type: BaseAnalyticsLibraryAssetRepresentation
210
+ id:
211
+ description: The ID for caching response for this API
212
+ type: string
213
+ totalCount:
214
+ description: Total count of library assets after filtering based on given
215
+ input
216
+ type: integer
217
+ BaseAnalyticsLibraryAssetRepresentation:
218
+ description: Output representation of the AnalyticsLibraryAsset Preview
219
+ discriminator: id # TODO Hand-rolled W-15628417: Invalid discriminator
220
+ type: object
221
+ properties:
222
+ assetSource:
223
+ description: 'Type of asset source: 1P,3P like AppExchange etc'
224
+ type: string
225
+ assetType:
226
+ description: 'Type of asset: SDM, App etc'
227
+ type: string
228
+ description:
229
+ description: Description of template
230
+ type: string | nil
231
+ id:
232
+ description: The ID or fully qualified API name of template.
233
+ type: string
234
+ name:
235
+ description: Name of template
236
+ type: string
201
237
  BaseAnalyticsRepresentation:
202
238
  description: Base analytic representation.
203
239
  discriminator: id # TODO Hand-rolled W-15315791: Invalid discriminator
@@ -303,6 +339,51 @@ types:
303
339
  properties:
304
340
  //:
305
341
  type: any
342
+ AnalyticsLibraryCollectionQueryInputRepresentation:
343
+ description: Input representation for Analytics Library Listing API
344
+ type: object
345
+ properties:
346
+ assetTypes:
347
+ description: 'AssetType Ex: App, Dashboard'
348
+ type: array
349
+ items:
350
+ type: string | nil
351
+ categoryFilters:
352
+ description: Filters to filter analyticsLibrary templates based on assetTypes
353
+ type: object
354
+ required: false
355
+ properties:
356
+ //:
357
+ type: array
358
+ items:
359
+ type: string | nil
360
+ limit:
361
+ description: Number of templates to retrieve
362
+ type: integer | nil
363
+ required: false
364
+ offset:
365
+ description: Offset
366
+ type: integer | nil
367
+ required: false
368
+ searchToken:
369
+ description: SearchToken to filter analytics library assets on name or description
370
+ type: string | nil
371
+ required: false
372
+ AnalyticsLibraryDashboardTemplateRepresentation:
373
+ description: Output representation of dashboard template preview in analytics
374
+ library
375
+ type: BaseAnalyticsLibraryAssetRepresentation
376
+ properties:
377
+ previewImage:
378
+ description: The icons configured for dashboard template preview
379
+ type: AnalyticsLibraryImageRepresentation
380
+ AnalyticsLibraryImageRepresentation:
381
+ description: AnalyticsLibrary Image reference representation
382
+ type: object
383
+ properties:
384
+ url:
385
+ description: Url path to retrieve image
386
+ type: string
306
387
  LibraryAssetsPreviewInputWrapperRepresentation: # TODO Hand-rolled W-
307
388
  description: Wrapper for Library Assets input representation
308
389
  type: object
@@ -732,3 +813,18 @@ types:
732
813
  type: LibraryAssetsPreviewInputWrapperRepresentation # TODO Hand-rolled W-. Original type: LibraryAssetsPreviewInputRepresentation
733
814
  #required: false
734
815
  (oas-body-name): input_collection
816
+ /unified-analytics/library/assets/query:
817
+ post:
818
+ displayName: postAnalyticsLibraryAssetCollection
819
+ description: Fetch List of Assets from Analytics Library
820
+ responses:
821
+ '200':
822
+ description: Success
823
+ body:
824
+ application/json:
825
+ type: AnalyticsLibraryAssetCollectionOutputRepresentation
826
+ body:
827
+ application/json:
828
+ type: AnalyticsLibraryCollectionQueryInputRepresentation
829
+ # required: false
830
+ (oas-body-name): libraryAssetsQueryInput
@@ -30,6 +30,11 @@ types:
30
30
  (luvio.opaque): true
31
31
  (luvio.key):
32
32
  searchId: queryKey
33
+ AnalyticsLibraryAssetCollectionOutputRepresentation:
34
+ (luvio.ttl): 500
35
+ (luvio.opaque): true
36
+ (luvio.key):
37
+ id: id
33
38
 
34
39
  /unified-analytics/dashboards:
35
40
  get:
@@ -88,3 +93,7 @@ types:
88
93
  post:
89
94
  (luvio.adapter):
90
95
  name: queryAssets
96
+ /unified-analytics/library/assets/query:
97
+ post:
98
+ (luvio.adapter):
99
+ name: getUnifiedAnalyticsLibraryAssets