iya-sts
    Preparing search index...

    Variable parseRequest

    parseRequest: (
        body: any,
    ) => {
        categories: any[];
        combinedDecision: boolean;
        returnPolicyIdList: boolean;
    } = parseRequest

    Type Declaration

      • (
            body: any,
        ): {
            categories: any[];
            combinedDecision: boolean;
            returnPolicyIdList: boolean;
        }
      • Reads a JSON Profile request into the model's request shape.

        Parameters

        • body: any

          the raw request text (preferred, since only the text keeps the integer/double distinction) or an already parsed object

        Returns { categories: any[]; combinedDecision: boolean; returnPolicyIdList: boolean }

        { returnPolicyIdList, combinedDecision, categories }, each category { category, id, content, attributes }

        an IndeterminateError with the syntax-error status when the body is not JSON, has no Request member or holds a malformed category