Добавить в плагин ворд пресс анкету
interface IRepresentative {
name: string;
document_basis: string;
start_date: string;
end_date?: string;
}
interface IRepresentativeWithPosition extends IRepresentative {
position: string;
}
interface IBeneficiary {
name: string;
contract_number_and_date: string;
}
interface ITaxResidentStatusCountry {
country: string;
tax_number: string;
}
interface ITaxResidentStatus {
resident_kg: boolean;
resident_other: boolean;
countries_and_tax_numbers?: ITaxResidentStatusCountry[];
}
interface IRegistrationAuthority {
ogrn: string;
date: string;
issuing_authority: string;
}
interface IRegistrationBeforeTwoThousandTwo {
number: string;
date: string;
issuing_authority: string;
}
export interface ILicenseDetail {
number: string;
date: string;
issuing_authority: string;
}
interface ILicensedActivity {
activity_type: string;
details: ILicenseDetail[];
}
interface IUsTaxpayerInfo {
us_tax_resident: boolean;
has_us_registration_address: boolean;
has_us_beneficiaries: boolean;
has_us_phone_number: boolean;
has_us_authorized_person: boolean;
has_long_term_us_payment_instructions: boolean;
}
export interface IClientInfo {
business_purpose: "BROKER_SERVICE" | "DEPOSITORY_SERVICE";
business_relationship_type: string;
source_of_funds: string;
reputation: "POSITIVE" | "NEGATIVE";
financial_status: "STABLE" | "UNSTABLE";
}
export interface IRatingDetail {
agency_name: string;
value: string;
}
export interface IFormLegal {
client_code: string;
full_name_ru: string;
short_name_ru?: string;
full_name_foreign?: string;
short_name_foreign?: string;
legal_form: string;
representative_without_power_of_attorney?: IRepresentativeWithPosition;
representative_with_power_of_attorney?: IRepresentative;
beneficiary?: IBeneficiary;
ultimate_beneficial_owner_name?: string;
registration_country: string;
tax_resident_status: ITaxResidentStatus;
inn_kpp: string;
kio?: string;
tin?: string;
state_registration: IRegistrationAuthority;
registration_before_two_thousand_two?: IRegistrationBeforeTwoThousandTwo;
okpo?: string;
bic?: string;
legal_address: string;
postal_address?: string;
main_activity_location?: string;
phone_fax: string;
email: string;
website?: string;
licensed_activities?: ILicensedActivity;
foreign_licenses?: ILicensedActivity;
management_structure: string;
assets_details?: string;
bank_details?: string;
accounts_in_terrorism_sponsor_countries: boolean;
relations_with_non_resident_banks: boolean;
issuer_required_to_disclose_info: boolean;
us_taxpayer_info: IUsTaxpayerInfo;
client_info: IClientInfo;
liquidation_in_process: boolean;
bankruptcy_in_process: boolean;
has_court_bankruptcy_decisions: boolean;
has_unfulfilled_monetary_obligations: boolean;
agency_ratings?: IRatingDetail[];
}