/**
 * App client API
 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
 *
 * The version of the OpenAPI document: v1
 * 
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */
import { StakingQueueState } from './stakingQueueState';
import { StakingSubscriptionStatus } from './stakingSubscriptionStatus';
import { StakingSubscriptionTermination } from './stakingSubscriptionTermination';
import { StakingPlan } from './stakingPlan';


export interface StakingSubscription { 
    id: number;
    plan: StakingPlan;
    accountId: number;
    amount: string;
    pendingAmount: string;
    status: StakingSubscriptionStatus;
    totalGeneratedReward: string;
    totalGeneratedRewardNotional: string;
    pendingReward: string;
    queueState: StakingQueueState;
    rewardAutoStaking?: boolean;
    recurringPurchaseIds?: Array<string>;
    deactivatedAt?: string;
    terminationDate?: string;
    createdAt: string;
    updatedAt: string;
    termination?: StakingSubscriptionTermination;
}

