@salesforce/lds-adapters-service-ecm 1.327.0 → 1.329.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
@@ -75,7 +75,8 @@ types:
75
75
  type: object
76
76
  limit:
77
77
  description: The limit to be applied while fetching records
78
- type: integer
78
+ type: integer | nil
79
+ required: false
79
80
  ServiceAutomationOutputRecordRepresentation:
80
81
  description: Output Representation of Service Automation Record List
81
82
  type: object
@@ -85,7 +86,7 @@ types:
85
86
  type: object
86
87
  properties:
87
88
  //:
88
- type: object
89
+ type: any
89
90
  CatalogItemAttributeInputRepresentation:
90
91
  description: Input Representation for Attribute Item.
91
92
  type: object
@@ -367,6 +368,53 @@ types:
367
368
  enum:
368
369
  - Flow
369
370
  - FlowOrchestrator
371
+ CategoriesInputRepresentation:
372
+ description: Category and Parent api input representation
373
+ type: object
374
+ properties:
375
+ categories:
376
+ description: List of Category ID and Parent ID
377
+ type: array
378
+ #TODO: Hand-rolled
379
+ items:
380
+ type: CategoryInput
381
+ CategoryInput:
382
+ description: Category and Parent api input payload representation
383
+ type: object
384
+ properties:
385
+ categoryId:
386
+ description: Specifies Category ID
387
+ type: string
388
+ parentCategoryId:
389
+ description: Specifies Parent Category ID
390
+ type: string
391
+ CategoryAndParentErrorOutputRepresentation:
392
+ description: 'Output representation for errors during update of Categories '
393
+ type: object
394
+ properties:
395
+ errorMessageList:
396
+ description: Error list during the update of categories
397
+ type: array
398
+ items:
399
+ type: string
400
+ CategoryAndParentOutputRepresentation:
401
+ description: Category And Parent
402
+ type: object
403
+ properties:
404
+ catalogId:
405
+ description: Catalog ID
406
+ type: string
407
+ errors:
408
+ description: Error list for categories realignment
409
+ type: array
410
+ items:
411
+ type: CategoryAndParentErrorOutputRepresentation
412
+ message:
413
+ description: Output message
414
+ type: string
415
+ status:
416
+ description: Output status code
417
+ type: string
370
418
 
371
419
  /connect:
372
420
  /catalog/catalog-item:
@@ -411,6 +459,25 @@ types:
411
459
  description: CatalogId for which catalog details have to be fetched.
412
460
  type: string
413
461
  required: true
462
+ /catalog/{catalogId}/categories:
463
+ patch:
464
+ displayName: patchCategories
465
+ description: API to update categories of a specified catalog.
466
+ responses:
467
+ '200':
468
+ description: Success
469
+ body:
470
+ application/json:
471
+ type: CategoryAndParentOutputRepresentation
472
+ body:
473
+ application/json:
474
+ type: CategoriesInputRepresentation
475
+ (oas-body-name): epcCategoryParentRequestPayload
476
+ uriParameters:
477
+ catalogId:
478
+ description: CatalogId for which categories are realigned.
479
+ type: string
480
+ required: true
414
481
  /service-automation:
415
482
  post:
416
483
  displayName: postServiceAutomation
@@ -15,6 +15,11 @@ types:
15
15
  (luvio.ttl): 6000
16
16
  (luvio.key):
17
17
  catalogItemId: catalogItemId
18
+ CategoryAndParentOutputRepresentation:
19
+ (luvio.ttl): 6000
20
+ (luvio.opaque): true
21
+ (luvio.key):
22
+ id: catalogId
18
23
  /connect/service-automation:
19
24
  post:
20
25
  (luvio.method): get
@@ -33,3 +38,7 @@ types:
33
38
  patch:
34
39
  (luvio.adapter):
35
40
  name: updateCatalogItem
41
+ /connect/catalog/{catalogId}/categories:
42
+ patch:
43
+ (luvio.adapter):
44
+ name: updateEpcCategories