Hierarchy

  • FlexCardDefinitionAccess

Constructors

Properties

salesforceService: SalesforceService

Methods

  • Retrieves flex card definitions based on the provided criteria.

    This method fetches both OmniCard and VlocityCard records matching the criteria, converts them to FlexCardDefinition objects, and returns them as a Map keyed by card name.

    When multiple definitions exist for the same card name, the method prioritizes:

    1. Active cards over inactive ones
    2. Cards with lower version numbers when comparing cards of the same active status

    Parameters

    Returns Promise<Map<string, FlexCardDefinition>>

    A Promise resolving to a Map of card names to their corresponding FlexCardDefinition