@salesforce/lds-adapters-service-ecm 1.328.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
@@ -368,6 +368,53 @@ types:
368
368
  enum:
369
369
  - Flow
370
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
371
418
 
372
419
  /connect:
373
420
  /catalog/catalog-item:
@@ -412,6 +459,25 @@ types:
412
459
  description: CatalogId for which catalog details have to be fetched.
413
460
  type: string
414
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
415
481
  /service-automation:
416
482
  post:
417
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