JSONAPIXtreamProfile: {
    type: "user-profile";
    id: string;
    attributes: {
        username: string;
        password: string;
        status: string;
        activeConnections: number;
        maxConnections: number;
        isTrial: boolean;
        createdAt: Date;
        expiresAt: Date;
    };
}

JSON:API Xtream profile information

This type represents the complete user profile information in JSON:API format

Type declaration

  • type: "user-profile"

    The resource type (user-profile)

  • id: string

    The unique identifier for the profile (username)

  • attributes: {
        username: string;
        password: string;
        status: string;
        activeConnections: number;
        maxConnections: number;
        isTrial: boolean;
        createdAt: Date;
        expiresAt: Date;
    }

    The user profile attributes

    • username: string

      The username of the account

    • password: string

      The password of the account

    • status: string

      Account status (e.g., "Active")

    • activeConnections: number

      Number of active connections currently used

    • maxConnections: number

      Maximum allowed concurrent connections

    • isTrial: boolean

      Flag indicating if the account is a trial

    • createdAt: Date

      The date when the account was created

    • expiresAt: Date

      The expiration date of the account