interface IInput {
    data: {
        email: string;
        entrepreneur_data?: null | {
            birthdate: string;
            city: string;
            country: Russia;
            details: {
                inn: string;
                ogrn: string;
            };
            first_name: string;
            full_address: string;
            last_name: string;
            middle_name: string;
            phone: string;
        };
        individual_data?: null | {
            birthdate: string;
            first_name: string;
            full_address: string;
            last_name: string;
            middle_name: string;
            passport?: null | {
                code: string;
                issued_at: string;
                issued_by: string;
                number: number;
                series: number;
            };
            phone: string;
        };
        organization_data?: null | {
            city: string;
            country: string;
            details: {
                inn: string;
                kpp: string;
                ogrn: string;
            };
            fact_address: string;
            full_address: string;
            full_name: string;
            phone: string;
            represented_by: {
                based_on: string;
                first_name: string;
                last_name: string;
                middle_name: string;
                position: string;
            };
            short_name: string;
            type: OrganizationType;
        };
        public_key?: null | string;
        referer?: null | string;
        role: User;
        type: AccountType;
        username: string;
    };
}

Properties

Properties

data: {
    email: string;
    entrepreneur_data?: null | {
        birthdate: string;
        city: string;
        country: Russia;
        details: {
            inn: string;
            ogrn: string;
        };
        first_name: string;
        full_address: string;
        last_name: string;
        middle_name: string;
        phone: string;
    };
    individual_data?: null | {
        birthdate: string;
        first_name: string;
        full_address: string;
        last_name: string;
        middle_name: string;
        passport?: null | {
            code: string;
            issued_at: string;
            issued_by: string;
            number: number;
            series: number;
        };
        phone: string;
    };
    organization_data?: null | {
        city: string;
        country: string;
        details: {
            inn: string;
            kpp: string;
            ogrn: string;
        };
        fact_address: string;
        full_address: string;
        full_name: string;
        phone: string;
        represented_by: {
            based_on: string;
            first_name: string;
            last_name: string;
            middle_name: string;
            position: string;
        };
        short_name: string;
        type: OrganizationType;
    };
    public_key?: null | string;
    referer?: null | string;
    role: User;
    type: AccountType;
    username: string;
}

Type declaration

  • email: string

    Электронная почта

  • Optional entrepreneur_data?: null | {
        birthdate: string;
        city: string;
        country: Russia;
        details: {
            inn: string;
            ogrn: string;
        };
        first_name: string;
        full_address: string;
        last_name: string;
        middle_name: string;
        phone: string;
    }

    Данные индивидуального предпринимателя

  • Optional individual_data?: null | {
        birthdate: string;
        first_name: string;
        full_address: string;
        last_name: string;
        middle_name: string;
        passport?: null | {
            code: string;
            issued_at: string;
            issued_by: string;
            number: number;
            series: number;
        };
        phone: string;
    }

    Данные физического лица

  • Optional organization_data?: null | {
        city: string;
        country: string;
        details: {
            inn: string;
            kpp: string;
            ogrn: string;
        };
        fact_address: string;
        full_address: string;
        full_name: string;
        phone: string;
        represented_by: {
            based_on: string;
            first_name: string;
            last_name: string;
            middle_name: string;
            position: string;
        };
        short_name: string;
        type: OrganizationType;
    }

    Данные организации

  • Optional public_key?: null | string

    Публичный ключ

  • Optional referer?: null | string

    Имя аккаунта реферера

  • role: User

    Роль пользователя

  • type: AccountType

    Тип аккаунта

  • username: string

    Имя пользователя