Documentation
    Preparing search index...

    Interface HandleRequest<T>

    interface HandleRequest<T> {
        body: any;
        processRequest?: (
            opts: {
                agenceName: string;
                body: any;
                PCC: string;
                request: T;
                SabreBFMLimit: number;
                salesPointId: string;
                token: string;
            },
        ) => Promise<string>;
        processToken?: (
            opts: { PCC: string; request: T; salesPointId: string; token: string },
        ) => Promise<string>;
        request: T;
        requestURL: string;
    }

    Type Parameters

    • T
    Index

    Properties

    body: any
    processRequest?: (
        opts: {
            agenceName: string;
            body: any;
            PCC: string;
            request: T;
            SabreBFMLimit: number;
            salesPointId: string;
            token: string;
        },
    ) => Promise<string>
    processToken?: (
        opts: { PCC: string; request: T; salesPointId: string; token: string },
    ) => Promise<string>
    request: T
    requestURL: string