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
data
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
username: string
Электронная почта