@salesforce/lds-adapters-analytics-unifiedanalytics 1.387.0 → 1.389.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
@@ -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
@@ -2156,6 +2216,41 @@ types:
2156
2216
  recordId:
2157
2217
  description: Id for record
2158
2218
  type: string
2219
+ orderBy:
2220
+ description: Order By value for response
2221
+ type: string
2222
+ required: true
2223
+ enum:
2224
+ - createddate
2225
+ - userdisplayname
2226
+ sortOrder:
2227
+ description: Sort Order value for response
2228
+ type: string
2229
+ required: true
2230
+ enum:
2231
+ - DESC
2232
+ - ASC
2233
+ filterByRecipientType:
2234
+ description: recipient filter value, default is none
2235
+ type: array
2236
+ required: true
2237
+ items:
2238
+ type: string
2239
+ enum:
2240
+ - User
2241
+ - Group
2242
+ filterByUserOrGroupId:
2243
+ description: Id of the User/Group
2244
+ type: string | nil
2245
+ required: true
2246
+ offset:
2247
+ description: Offset parameter value
2248
+ type: integer
2249
+ required: true
2250
+ limit:
2251
+ description: Limit parameter value
2252
+ type: integer
2253
+ required: true
2159
2254
  SetupRecordAccessInputRepresentation:
2160
2255
  description: User Or Role Access Input Representation
2161
2256
  type: object
@@ -2220,6 +2315,10 @@ types:
2220
2315
  description: Username of the User
2221
2316
  type: string
2222
2317
  required: false
2318
+ groupMemberCount:
2319
+ description: Count of users in group
2320
+ type: integer
2321
+ required: false
2223
2322
  SetupRecordAccessRepresentation:
2224
2323
  description: Record Access mapping for specific UserOrGroup
2225
2324
  discriminatorValue: RecordAccessMappingForUserOrGroup
@@ -2247,11 +2346,6 @@ types:
2247
2346
  createdDate:
2248
2347
  description: Created Date
2249
2348
  type: string
2250
- groupMemberCount:
2251
- description: Count for groupMembers
2252
- type: integer
2253
- required: false
2254
-
2255
2349
  SetupRecordShareCollectionRepresentation:
2256
2350
  description: A collection of shares for a record
2257
2351
  type: object
@@ -3299,6 +3393,21 @@ types:
3299
3393
  responses:
3300
3394
  '200':
3301
3395
  description: Success
3396
+ queryParameters:
3397
+ userOrGroupId:
3398
+ type: string | nil
3399
+ required: false
3400
+ orderBy:
3401
+ type: string
3402
+ required: false
3403
+ sortOrder:
3404
+ type: string
3405
+ required: false
3406
+ filterByRecipientType:
3407
+ type: array
3408
+ required: false
3409
+ items:
3410
+ type: string
3302
3411
  get:
3303
3412
  displayName: getSetupRecordShareCollection
3304
3413
  description: Get record shares for requested registered grantee for a record
@@ -3341,6 +3450,11 @@ types:
3341
3450
  enum:
3342
3451
  - User
3343
3452
  - Group
3453
+ recipientSearchTerm:
3454
+ description: Search term parameter value
3455
+ type: string
3456
+ required: false
3457
+
3344
3458
  patch:
3345
3459
  displayName: patchSetupRecordShareCollection
3346
3460
  description: Update an record share to be associated with a record Item
@@ -86,6 +86,10 @@ types:
86
86
  UniqueFollowerCountRepresentation:
87
87
  (luvio.ttl): 500
88
88
  (luvio.opaque): true
89
+ VisualizationShallowRepresentation:
90
+ (luvio.opaque): true
91
+ (luvio.key):
92
+ name: name
89
93
  VisualizationRepresentation:
90
94
  (luvio.opaque): true
91
95
  (luvio.key):
@@ -156,10 +160,18 @@ types:
156
160
  (luvio.opaque): true
157
161
  (luvio.key):
158
162
  recordId: recordId
163
+ filterByUserOrGroupId: filterByUserOrGroupId
164
+ orderBy: orderBy
165
+ sortOrder: sortOrder
166
+ filterByRecipientType: filterByRecipientType
159
167
  (luvio.updateAvailable):
160
168
  name: notifySharesUpdateAvailable
161
169
  parameters:
162
170
  recordId: recordId
171
+ filterByUserOrGroupId: filterByUserOrGroupId
172
+ orderBy: orderBy
173
+ sortOrder: sortOrder
174
+ filterByRecipientType: filterByRecipientType
163
175
  SetupRecordAccessRepresentation:
164
176
  (luvio.ttl): 500
165
177
  (luvio.opaque): true
@@ -262,12 +274,20 @@ types:
262
274
  name: getShares
263
275
  (luvio.key):
264
276
  recordId: urlParams.recordId
277
+ filterByUserOrGroupId: queryParams.userOrGroupId || null
278
+ orderBy: queryParams.orderBy?.toLowerCase() || 'createddate'
279
+ sortOrder: queryParams.sortOrder || 'DESC'
280
+ filterByRecipientType: queryParams.filterByRecipientType || []
265
281
 
266
282
  delete:
267
283
  (luvio.adapter):
268
284
  name: deleteAllShares
269
285
  (luvio.key):
270
286
  recordId: urlParams.recordId
287
+ filterByUserOrGroupId: queryParams.userOrGroupId || null
288
+ orderBy: queryParams.orderBy?.toLowerCase() || 'createddate'
289
+ sortOrder: queryParams.sortOrder || 'DESC'
290
+ filterByRecipientType: queryParams.filterByRecipientType || []
271
291
 
272
292
  post:
273
293
  (luvio.adapter):