@salesforce/lds-adapters-experience-model 1.251.0 → 1.253.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
@@ -356,6 +356,118 @@ types:
356
356
  description: The title of the Type that was given in its schema.json.
357
357
  type: string
358
358
  required: false # TODO waiting on W-8253396
359
+ ExperienceModelTypesCollectionRepresentation:
360
+ description: Represents a list/collection of Types.
361
+ type: object
362
+ properties:
363
+ types:
364
+ description: The list of Types ordered alphabetically by title.
365
+ type: array
366
+ items:
367
+ type: ExperienceModelTypesRepresentation
368
+ ExperienceModelTypesRepresentation:
369
+ description: Represents the details about Types.
370
+ type: object
371
+ properties:
372
+ description:
373
+ description: The description of the Type that was given in its schema.json.
374
+ type: string
375
+ required: false # TODO waiting on W-8253396
376
+ bundleType:
377
+ description: The bundle type of the Type that was given in type descriptor in query params.
378
+ type: string
379
+ designConfig:
380
+ description: The design configuration for the specified target.
381
+ type: object
382
+ required: false # TODO waiting on W-8253396
383
+ developerName:
384
+ description: The developer name (aka apiName) of the Type.
385
+ type: string
386
+ id:
387
+ description: The 18-char String ID of the Type. This is returned for the DB-Based (Custom) Types only.
388
+ type: string
389
+ required: false # TODO waiting on W-8253396
390
+ namespacePrefix:
391
+ description: The namespace prefix that is associated with the Type. Refer to a Type using the namespacePrefix__developerName notation (aka fullyQualifiedName).
392
+ type: string
393
+ renditionConfig:
394
+ description: The rendition configuration for the specified target.
395
+ type: object
396
+ required: false # TODO waiting on W-8253396
397
+ schema:
398
+ description: The JSON Schema definition (schema.json) of the Type
399
+ type: object
400
+ required: false # TODO waiting on W-8253396
401
+ title:
402
+ description: The title of the Type that was given in its schema.json.
403
+ type: string
404
+ required: false # TODO waiting on W-8253396s
405
+ typeDescriptor:
406
+ description: The type descriptor of the Type that was given in query params.
407
+ type: string
408
+ required: false # TODO waiting on W-8253396s
409
+ ExperienceModelSchemaConfigInputRepresentation:
410
+ type: object
411
+ description: Input Representation for Experience Model type schema configuration
412
+ properties:
413
+ subSchemaDefinitions:
414
+ description: Boolean property if sub-schema should be included
415
+ type: boolean
416
+ required: false # TODO waiting on W-8253396
417
+ ExperienceModelRenditionConfigInputRepresentation:
418
+ type: object
419
+ description: Input Representation for Experience Model type rendition configuration
420
+ properties:
421
+ target:
422
+ description: A rendition configuration target. To fetch all the types that have the rendition configuration for a particular target.
423
+ type: string
424
+ required: false # TODO waiting on W-8253396
425
+ ExperienceModelDesignConfigInputRepresentation:
426
+ type: object
427
+ description: Input Representation for Experience Model type design configuration
428
+ properties:
429
+ target:
430
+ description: A design configuration target. To fetch all the types that have the design configuration for a particular target.
431
+ type: string
432
+ required: false # TODO waiting on W-8253396
433
+ ExperienceModelTypesConfigInputRepresentation:
434
+ type: object
435
+ description: Input Representation for Experience Model types configuration
436
+ properties:
437
+ descriptor:
438
+ description: The descriptor of type.
439
+ type: string
440
+ designConfig:
441
+ description: The design config.
442
+ type: ExperienceModelDesignConfigInputRepresentation
443
+ required: false # TODO waiting on W-8253396
444
+ renditionConfig:
445
+ description: The rendition config.
446
+ type: ExperienceModelRenditionConfigInputRepresentation
447
+ required: false # TODO waiting on W-8253396
448
+ schemaConfig:
449
+ description: The schema config.
450
+ type: ExperienceModelSchemaConfigInputRepresentation
451
+ required: false # TODO waiting on W-8253396
452
+ sourceDescriptor:
453
+ description: The source descriptor.
454
+ type: string
455
+ required: false # TODO waiting on W-8253396
456
+ ExperienceModelTypesInputRepresentation:
457
+ type: object
458
+ description: Input Representation for Experience Model types
459
+ properties:
460
+ language:
461
+ description: "The language/locale code. e.g., es or en_US. To retrieve
462
+ the title and description in a particular language. If not provided, the
463
+ logged-in user’s language is used. The fallback language is ENGLISH in case
464
+ translations don't exist."
465
+ type: string
466
+ typeConfigs:
467
+ description: The list of Experience Model Types Configuration
468
+ type: array
469
+ items:
470
+ type: ExperienceModelTypesConfigInputRepresentation
359
471
  MCDeliveryV2VariantCollectionRepresentation:
360
472
  description: The collection representing the list of managed content variant information
361
473
  type: object
@@ -3665,6 +3777,20 @@ types:
3665
3777
  description: The Fully Qualified Name of a property type to be retrieved.
3666
3778
  type: string
3667
3779
  required: true
3780
+ /types:
3781
+ post:
3782
+ description: Fetch the detailed information about a Property Type.
3783
+ responses:
3784
+ '200':
3785
+ description: Success
3786
+ body:
3787
+ application/json:
3788
+ type: ExperienceModelTypesCollectionRepresentation
3789
+ body:
3790
+ application/json:
3791
+ type: ExperienceModelTypesInputRepresentation
3792
+ (oas-body-name): experienceModelTypes
3793
+
3668
3794
  /managed-content:
3669
3795
  /content-spaces/{contentSpaceId}:
3670
3796
  /content-versions:
@@ -34,6 +34,34 @@ types:
34
34
  ExperienceModelPropertyTypeSummaryRepresentation:
35
35
  (luvio.ttl): 3600000
36
36
  (luvio.opaque): true
37
+ ExperienceModelTypesCollectionRepresentation:
38
+ (luvio.ttl): 3600000
39
+ (luvio.opaque): true
40
+ ExperienceModelTypesRepresentation:
41
+ (luvio.ttl): 3600000
42
+ (luvio.opaque): true
43
+
44
+ /connect/experience-model/types:
45
+ post:
46
+ (luvio.method): get
47
+ (luvio.adapter):
48
+ name: getTypes
49
+ tests:
50
+ validConfigs:
51
+ - |
52
+ {
53
+ "language":"en_US",
54
+ "typeConfigs": [
55
+ {
56
+ "descriptor": "aiFunctionOutput/exp_builder__backgroundImage",
57
+ "schemaConfig": {
58
+ "subSchemaDefinitions": true
59
+ },
60
+ "designConfig": {},
61
+ "renditionConfig": {}
62
+ }
63
+ ]
64
+ }
37
65
 
38
66
  /connect/experience-model/block-types:
39
67
  get: