Fake Mirrors
    Preparing search index...

    Class SessionModel

    Represents the session model.

    • Creates a new session model instance.

      Parameters

      • campaignId: string

        The ID of the campaign this session belongs to.

      • sessionId: string

        The unique identifier for the session.

      • proxyId: string

        The ID of the proxy assigned to this session.

      • secret: string

        The session secret for secure operations.

      • isUpgraded: boolean

        The flag indicating if the session has been upgraded.

      • messageCount: number

        The total number of messages processed through this session.

      • createdAt: Date

        The date and time when the session was created.

      • authorizedAt: Date

        The date and time when the session was last authorized.

      Returns SessionModel

    authorizedAt: Date

    The date and time when the session was last authorized.

    campaignId: string

    The ID of the campaign this session belongs to.

    createdAt: Date

    The date and time when the session was created.

    isUpgraded: boolean

    The flag indicating if the session has been upgraded.

    messageCount: number

    The total number of messages processed through this session.

    proxyId: string

    The ID of the proxy assigned to this session.

    secret: string

    The session secret for secure operations.

    sessionId: string

    The unique identifier for the session.