/** * kameleo-local-api * You can use the following API endpoints to communicate with the local running Kameleo programmatically. * * The version of the OpenAPI document: 4.4.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { RunningProfilesStatistics } from "./RunningProfilesStatistics"; import type { QuotaStatistics } from "./QuotaStatistics"; import type { ProfileMinutesQuota } from "./ProfileMinutesQuota"; import type { CloudTrafficQuota } from "./CloudTrafficQuota"; /** * * @export * @interface UserInfoResponse */ export interface UserInfoResponse { /** * Unique identifier for the user in Guid v4 format. * @type {string} * @memberof UserInfoResponse */ userId: string; /** * The display name of the user, updated on each login. * @type {string} * @memberof UserInfoResponse */ displayName: string; /** * The email address of the user. * @type {string} * @memberof UserInfoResponse */ email: string; /** * Indicates if the user's email address has been verified. * @type {boolean} * @memberof UserInfoResponse */ emailConfirmed: boolean; /** * The subscription end date for the user. If the user is part of a team, this is the team's subscription end date. * @type {Date} * @memberof UserInfoResponse */ subscriptionEnd: Date; /** * The subscription plan associated with the user. * @type {string} * @memberof UserInfoResponse */ plan: string; /** * List of features available to the user based on their current subscription or their team's subscription. * @type {Array} * @memberof UserInfoResponse */ capabilities: Array; /** * Indicates if the user's subscription is currently in a grace period and requires instant renewal. * @type {boolean} * @memberof UserInfoResponse */ gracePeriod: boolean; /** * The date and time of the user's last login via the app. * @type {Date} * @memberof UserInfoResponse */ lastAppLogin: Date; /** * Path to the user's workspace folder where profiles are stored. Modifying these files outside of Kameleo is strictly prohibited. * @type {string} * @memberof UserInfoResponse */ workspaceFolder: string; /** * Current usage and maximum limit for local profiles. * @type {QuotaStatistics} * @memberof UserInfoResponse */ localStorage: QuotaStatistics; /** * Current usage and maximum limit for cloud profiles. * @type {QuotaStatistics} * @memberof UserInfoResponse */ cloudStorage: QuotaStatistics; /** * Indicates if the user has a team subscription. This can also be true if the user does not have any team members yet. * @type {boolean} * @memberof UserInfoResponse */ hasTeamSubscription: boolean; /** * The team ID if the user is part of a team. * @type {string} * @memberof UserInfoResponse */ teamId?: string | null; /** * The user's role within the team, such as 'owner' or 'member'. * @type {string} * @memberof UserInfoResponse */ teamRole?: string | null; /** * Current usage and maximum limit of running manual and automated profiles for the logged-in user. * @type {RunningProfilesStatistics} * @memberof UserInfoResponse */ runningUserProfiles?: RunningProfilesStatistics | null; /** * Current usage and maximum limit of running manual and automated profiles across the user's team. * @type {RunningProfilesStatistics} * @memberof UserInfoResponse */ runningTeamProfiles?: RunningProfilesStatistics | null; /** * Current usage and maximum limit of running manual and automated profiles across the tenant. * @type {RunningProfilesStatistics} * @memberof UserInfoResponse */ runningTenantProfiles?: RunningProfilesStatistics | null; /** * Current usage and maximum limit of profile minutes across the tenant. * @type {ProfileMinutesQuota} * @memberof UserInfoResponse */ profileMinutes?: ProfileMinutesQuota | null; /** * Current usage and maximum limit of cloud traffic quota across the tenant. * @type {CloudTrafficQuota} * @memberof UserInfoResponse */ cloudTraffic?: CloudTrafficQuota | null; } /** * Check if a given object implements the UserInfoResponse interface. */ export declare function instanceOfUserInfoResponse(value: object): value is UserInfoResponse; export declare function UserInfoResponseFromJSON(json: any): UserInfoResponse; export declare function UserInfoResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): UserInfoResponse; export declare function UserInfoResponseToJSON(json: any): UserInfoResponse; export declare function UserInfoResponseToJSONTyped(value?: UserInfoResponse | null, ignoreDiscriminator?: boolean): any;