Hierarchy

  • OmniStudioConverter

Constructors

Properties

logger: ILogger = ...

Methods

  • Converts a given record to a specified type using OmniStudio runtime mappings.

    Parameters

    • sobjectType: string

      The SObject type of the record.

    • record: object

      The record to be converted.

    Returns {
        attributes: {
            type: string;
        };
    }

    • attributes: {
          type: string;
      }
      • type: string

    Throws

    • Throws an error if no OmniStudio runtime mappings are found for the given SObject type.