iya-sts
    Preparing search index...
    buildRequest: (change: RiskChange, action: string) => any = ...

    Type Declaration

      • (change: RiskChange, action: string): any
      • Builds the decision request for one reaction: the person as the subject, the reaction as the action-id, the change as environment attributes.

        Parameters

        • change: RiskChange

          the change of risk, as the risk engine states it

        • action: string

          the reaction asked about, a RESPONSE value

        Returns any

        the request, in the model's request shape