# IInput | @coopenomics/sdk
Documentation for @coopenomics/sdk

# Interface IInput

interface IInput {
data : {
email: string;
entrepreneur_data?: null | {
bank_account: {
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
bik: string;
corr: string;
kpp: string;
};
};
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 | {
bank_account: {
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
bik: string;
corr: string;
kpp: string;
};
};
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;
type: AccountType ;
username: string;
};
}

- Defined in components/sdk/src/mutations/accounts/registerAccount.ts:12

#####
Index

### Properties

data

## Properties

### data

data: {
email: string;
entrepreneur_data?: null | {
bank_account: {
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
bik: string;
corr: string;
kpp: string;
};
};
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 | {
bank_account: {
account_number: string;
bank_name: string;
card_number?: null | string;
currency: string;
details: {
bik: string;
corr: string;
kpp: string;
};
};
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;
type: AccountType ;
username: string;
}

#### Type declaration

- ##### email: string

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

- ##### `Optional` entrepreneur_data?: null | {
  bank_account: {
  account_number: string;
  bank_name: string;
  card_number?: null | string;
  currency: string;
  details: {
  bik: string;
  corr: string;
  kpp: string;
  };
  };
  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 | {
  bank_account: {
  account_number: string;
  bank_name: string;
  card_number?: null | string;
  currency: string;
  details: {
  bik: string;
  corr: string;
  kpp: string;
  };
  };
  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

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

- ##### type: AccountType

  Тип аккаунта

- ##### username: string

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

- Defined in components/sdk/src/mutations/accounts/registerAccount.ts:18