Created
March 17, 2022 10:01
-
-
Save easa/1b597c2b7cce1b7c378c7e389a9fd09c to your computer and use it in GitHub Desktop.
The types of resources from https://www.nordnet.se/externalapi/docs/api | typescript | nordnet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export interface Absence { | |
/** Start date of absence (date) */ | |
absenceFrom: string; | |
/** Absence percentage (int32) */ | |
absencePercentage: number; | |
/** End date absence (date) */ | |
absenceTo: string; | |
/** Type of absence */ | |
absenceType: "SICK" | "MILITARY" | "PARENTAL_LEAVE" | "STUDIES" | "OTHER"; | |
/** The absence id (int32) */ | |
id: number; | |
} | |
export interface AbsenceProduct { | |
/** Type of absence product */ | |
absenceProductType: "SPARANDE" | "PREMIEBEFRIELSE" | "SJUK" | "DODSFALLSKAPITAL" | "EFTERLEVANDEPENSION" | "LONEAVSTAENDE"; | |
/** Flag to keep on current level */ | |
keepOnCurrentLevel: boolean; | |
} | |
export interface AbsenceRequest { | |
/** Absence percentage (int32) */ | |
absencePercentage: number; | |
/** Absence products , array */ | |
absenceProducts: AbsenceProduct[] | |
/** Absence start date (date) */ | |
absenceStartDate: string; | |
/** Absence type */ | |
absenceType: "SICK" | "MILITARY" | "PARENTAL_LEAVE" | "STUDIES" | "OTHER"; | |
/** Employment id (int32) */ | |
employmentId: number; | |
} | |
export interface AbsenceResult { | |
/** Absense percentage (int32) */ | |
absencePercentage: number; | |
/** Absence products , array */ | |
absenceProducts: AbsenceProduct[] | |
/** Absence start date (date) */ | |
absenceStartDate: string; | |
/** Type of absence */ | |
absenceType: "SICK" | "MILITARY" | "PARENTAL_LEAVE" | "STUDIES" | "OTHER"; | |
/** Employee name */ | |
employeeName: string; | |
/** Person official id of employee (int32) */ | |
employeePersonOfficialId: number; | |
/** Error message */ | |
errorMessage: string; | |
/** Finished datetime (date-time) */ | |
finishedDateTime: string; | |
/** Id (int64) */ | |
id: number; | |
/** Inca error code */ | |
incaErrorCode: "DEFAULT" | "RECALC_WITH_NO_CASE" | "PREMIUM_TOO_LOW" | "BENEFIT_PB_TOO_HIGH" | "START_BEFORE_EMPLOYMENT" | "CONTAINS_RISK_NOT_FULLYFIT" | "PREMIUM_DO_NOT_COVER_RISK" | "OPTIMISTIC_LOCK_IN_DB" | "ADJUSTMENT_PREMIUM_NOT_FOUND" | "EMPLOYMENT_TERMS_NOT_FOUND" | "LATEST_TRANSACTION_DATETIME_ERROR" | "PENDING_RISK_ASSESSMENT_EXISTS" | "EMPLOYMENT_ALREADY_EXISTS" | "CHANGE_TOO_EARLY" | "CHANGE_TOO_LATE" | "ABSENCE_TOO_EARLY" | "ABSENCE_TOO_LATE" | "END_ABSENCE_TOO_EARLY" | "END_ABSENCE_TOO_LATE" | "END_ABSENCE_TOO_LONG" | "END_ABSENCE_WITH_RISK_ASSESSMENT" | "END_ABSENCE_RISK_REMAINS" | "END_ABSENCE_NOT_ALLOWED_WHEN_RISK_AND_NOT_FULLY_ABSENT" | "ABSENCE_PB_DOES_NOT_FOLLOW_INSURANCE" | "ABSENCE_SICK_NOT_ALLOWED" | "ABSENCE_TYPE_NOT_UNIQUE" | "ABSENCE_PRODUCTS_NOT_FOUND" | "ABSENCE_MISSING" | "ABSENCE_IND_CHOICE_CONTAINS_AMOUNTS" | "ABSENCE_START_DATE_IN_ENDED_ABSENCE_PERIOD" | "ABSENCE_VALID_ENDED_ABSENCE_EXISTS" | "EMPLOYEE_TOO_YOUNG" | "EMPLOYEE_TOO_OLD" | "EMPLOYMENT_INDIVIDUAL_CHOICE_UPDATE_ERROR" | "EMPLOYEE_NOT_APPROVED_AGE_FOR_RISK_BENEFIT" | "NEW_EMPLOYMENT_WHEN_PPG_CHANGED_ERROR" | "END_EMPLOYMENT_WHEN_PPG_CHANGED_ERROR" | "EMPLOYMENT_UPDATE_ON_NON_ACTIVE_ERROR" | "EMPLOYMENT_UPDATE_ON_CASE_ERROR" | "EMPLOYMENT_UPDATE_VALUE_MISSING"; | |
/** Pension plan group id (int32) */ | |
pensionPlanGroupId: number; | |
/** Pension plan group name */ | |
pensionPlanGroupName: string; | |
/** Employment update status */ | |
status: "NEW" | "PROCESSING" | "DONE" | "CANCELLED" | "FAILED"; | |
} | |
export interface AccessMethodResponse { | |
/** Access method of the accounts for the customer: PREREGISTERED_WITHDRAWAL: The method to check access for withdrawal, PREREGISTERED_DEPOSIT: The method to check access for deposit, PREREGISTER_ACCOUNT: The method to check access for preregistering an account, SWISH_DEPOSIT: The method to check for Swish deposit access, INTERNAL_DEPOSIT: The method to check for internal transfer deposit access, INTERNAL_WITHDRAWAL: The method to check for internal transfer withdrawal access, AVTALEGIRO_DEPOSIT: The method to check for norwegian avtalegiro deposit access, RTMT_DEPOSIT: The method to check for finnish realt-time-money-transfers. */ | |
access_method: "PREREGISTERED_WITHDRAWAL" | "PREREGISTERED_DEPOSIT" | "PREREGISTER_ACCOUNT" | "SWISH_DEPOSIT" | "INTERNAL_DEPOSIT" | "INTERNAL_WITHDRAWAL" | "AVTALEGIRO_DEPOSIT" | "RTMT_DEPOSIT"; | |
/** List of accounts allowed to ac, array;cess the method (can be empty) */ | |
allowed_accounts?: AllowedAccounts[] | |
} | |
export interface AccessmethodPassStatusBody { | |
/** Status for password method for login. */ | |
accessmethod_pass_status: "ENABLED" | "DISABLED"; | |
} | |
export interface AccessmethodSetPassStatusBody { | |
/** What to set password login method status to. */ | |
set_pass: "ENABLE" | "DISABLE"; | |
} | |
export interface Account { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid?: number; | |
/** The Nordnet account number (int64) */ | |
accno: number; | |
/** Account alias can be set on Nordnet by the end user */ | |
alias: string; | |
/** Account type identifier (int32) */ | |
atyid?: number; | |
/** Description to why the account is blocked. The language specified in the request is used in this reply so it can be displayed to the end user */ | |
blocked_reason?: string; | |
/** True if this is the default account */ | |
default: boolean; | |
/** True if the account is blocked. No queries can be made to this account */ | |
is_blocked?: boolean; | |
/** Translated account type. */ | |
type: string; | |
} | |
export interface AccountAdvisingAnswersBody { | |
/** Account number (int32) */ | |
accno: number; | |
/** Advise for the current response, CREATE/DONT_CREATE */ | |
advise: string; | |
/** Type of advise */ | |
context: string; | |
/** Timestamp for the response (date) */ | |
created_at: string; | |
/** Responses , array */ | |
responses: ResponseModel[] | |
} | |
export interface AccountAdvisingIdBody { | |
/** ID for account-advising responses */ | |
account_advising_id?: string; | |
/** The result of the questionnaire responses, if they want to open an account or not */ | |
advise?: string; | |
} | |
export interface AccountAgreementsBlockedTransferResponse { | |
/** The id for the account (same as passed in) (int32) */ | |
accid: number; | |
/** True if blocked, false if not blocked */ | |
blocked: boolean; | |
} | |
export interface AccountAgreementsResponse { | |
/** The id for the agreement (int32) */ | |
account_agreement_id: number; | |
/** Start date expressed as Unix timestamp (int64) */ | |
end_date?: number; | |
/** Name of person having POA for this account */ | |
power_of_attorney_name?: string; | |
/** Start date expressed as Unix timestamp (int64) */ | |
start_date: number; | |
} | |
export interface AccountAlias { | |
/** The type of the account. */ | |
account_type: string; | |
/** The desired name of the account. */ | |
alias: string; | |
} | |
export interface AccountAllocationRequest { | |
/** A list of account, array;s to add to the user */ | |
accnos: number[]// [] | |
/** A comment that will be shown in the logs */ | |
comment: string; | |
} | |
export interface AccountAllocationResponse { | |
/** Account that was attempted to be added to the user (int32) */ | |
accno: number; | |
/** True if successful else false */ | |
successful: boolean; | |
} | |
export interface AccountConnections { | |
/** preregistered account connections of logged in user gr, array;ouped by role and customer number */ | |
customer_prereg_connections: CustomerPreregConnectionModel[] | |
} | |
export interface AccountCreation { | |
/** Account number (int32) */ | |
accno?: number; | |
/** Account template (int32) */ | |
account_template: number; | |
/** The status of the account creation.\nPossible values = ['FAILED', 'DONE'} */ | |
status: string; | |
} | |
export interface AccountCreationPensionRequest { | |
/** Response id from IDD questions, required for Swedish Kapitalförsäkring and Privat-pension */ | |
account_advising_id?: string; | |
/** Beneficiary, required for Swedish Kapitalförsäkring and Privat-pension */ | |
beneficiary?: string; | |
/** Account template wished to open */ | |
template: string; | |
} | |
export interface AccountCreationPensionRequestStatus { | |
/** If Inca is done with the request */ | |
inca_done: boolean; | |
/** The status of the queueud request */ | |
queue_status: string; | |
} | |
export interface AccountCreationRequest { | |
/** The desired name of the account. */ | |
account_alias?: string; | |
/** Account template to be used for account creation.\nPossible values = ['isk_se', 'dep_se', 'dep_no', 'dep_dk', 'dep_fi'} */ | |
account_template: string; | |
} | |
export interface AccountCreationRequestResponse { | |
/** Account creation request id. Used to fetch the status for the requested creation. */ | |
account_creation_request_id: string; | |
} | |
export interface AccountCreationRequestStatusResponse { | |
/** The nordnet account number (int32) */ | |
accno?: number; | |
/** The status of the creation.\nPossible values = ['queued', 'running', 'rejected', 'failed', 'done'} */ | |
status: string; | |
} | |
export interface AccountCreationTemplateEligibility { | |
/** True if user is allowed to use given account template, else false. */ | |
allowed: boolean; | |
/** Present if 'allowed' is false, a code explaining why it isn’t allowed. */ | |
code?: string; | |
} | |
export interface AccountDetailsExchangeTradedResponse { | |
/** Dividend currency, if other than instrument currency */ | |
dividend_currency?: string; | |
/** Dividend / payout date (int32) */ | |
dividend_date?: number; | |
/** Dividend per share (in instrument currency) (double) */ | |
dividend_per_share?: number; | |
/** Dividend yield (double) */ | |
dividend_yield?: number; | |
/** Excluding date (int32) */ | |
excluding_date?: number; | |
/** Dividend frequency per year (int32) */ | |
frequency: number; | |
/** Historical returns information, showing the yield over time */ | |
historical_returns_info?: HistoricalReturnsInfo; | |
/** Instrument currency */ | |
instrument_currency?: string; | |
/** instrument id (int64) */ | |
instrument_id: number; | |
/** Next dividend amount (if dividend_currrency is available this value is in dividend_currency, else instrument_currency) (double) */ | |
next_dividend_amount?: number; | |
/** Next dividend amount (in SEK, to be used for comparison, sorting, etc.) (double) */ | |
next_dividend_amount_normalized?: number; | |
/** Next report date (int32) */ | |
next_report_date?: number; | |
/** PB (int32) */ | |
pb?: number; | |
/** PE (int32) */ | |
pe?: number; | |
/** PEG (int32) */ | |
peg?: number; | |
/** PS (int32) */ | |
ps?: number; | |
} | |
export interface AccountDetailsFundResponse { | |
/** Alpha 1 year (double) */ | |
alpha_y1: number; | |
/** Alpha 3 years (double) */ | |
alpha_y3: number; | |
/** Alpha 5 years (double) */ | |
alpha_y5: number; | |
/** Annual growth. */ | |
annual_growth_info?: AnnualGrowthInfo; | |
/** Beta 1 year (double) */ | |
beta_y1: number; | |
/** Beta 3 years (double) */ | |
beta_y3: number; | |
/** Beta 5 years (double) */ | |
beta_y5: number; | |
/** Historical returns information, showing the yield over time */ | |
historical_returns_info?: HistoricalReturnsInfo; | |
/** instrument id (int64) */ | |
instrument_id: number; | |
/** Market value (int32) */ | |
market_value?: number; | |
/** Number of owners (int32) */ | |
number_of_owners?: number; | |
/** Pawn percentage (int32) */ | |
pawn_percentage?: number; | |
/** Risk group translated */ | |
risk_group?: string; | |
/** Risk (the raw number) (int32) */ | |
risk_raw?: number; | |
/** R square 1 year (double) */ | |
rsquare_y1: number; | |
/** R square 3 years (double) */ | |
rsquare_y3: number; | |
/** R square 5 years (double) */ | |
rsquare_y5: number; | |
/** SFDR article (the raw number) (int32) */ | |
sfdr_article?: number; | |
/** SFDR article translated */ | |
sfdr_translated?: string; | |
/** Sharpe ratio 1 year (double) */ | |
sharpe_y1: number; | |
/** Sharpe ratio 3 years (double) */ | |
sharpe_y3: number; | |
/** Sharpe ratio 5 years (double) */ | |
sharpe_y5: number; | |
/** Standard deviation 1 year (double) */ | |
std_dev_y1: number; | |
/** Standard deviation ratio 3 years (double) */ | |
std_dev_y3: number; | |
/** Standard deviation ratio 5 years (double) */ | |
std_dev_y5: number; | |
/** Yearly fee (double) */ | |
yearly_fee?: number; | |
} | |
export interface AccountInfo { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid?: number; | |
/** The Nordnet account number (int64) */ | |
accno: number; | |
/** Account credit */ | |
account_credit: Amount; | |
/** The account currency */ | |
account_currency: string; | |
/** All ledgers combined */ | |
account_sum: Amount; | |
/** Bonus cash if available */ | |
bonus_cash?: Amount; | |
/** Collateral claim for options */ | |
collateral: Amount; | |
/** Accrued interest for credit account if available */ | |
credit_account_interest?: Amount; | |
/** Sum for credit account if available */ | |
credit_account_sum?: Amount; | |
/** Locked amount for forwards */ | |
forward_sum: Amount; | |
/** Total market value */ | |
full_marketvalue: Amount; | |
/** Not realized profit/loss for future */ | |
future_sum: Amount; | |
/** Interest on the account */ | |
interest: Amount; | |
/** Intraday credit if available */ | |
intraday_credit?: Amount; | |
/** Max loan limit (regardless of pawnvalue) */ | |
loan_limit: Amount; | |
/** account_sum + full_marketvalue + interest + forward_sum + future_sum + unrealized_future_profit_loss */ | |
own_capital: Amount; | |
/** Own capital calculated in the morning. Static during the day */ | |
own_capital_morning: Amount; | |
/** Pawn value of all positions combined */ | |
pawn_value: Amount; | |
/** Registration date of the account in YYYY-MM-DD format (date) */ | |
registration_date?: string; | |
/** Short position margin if available */ | |
short_positions_margin?: Amount; | |
/** Available for trading */ | |
trading_power: Amount; | |
/** Unrealized profit and loss for futures */ | |
unrealized_future_profit_loss: Amount; | |
} | |
export interface AccountInformation { | |
/** Account agreements , array */ | |
account_agreements?: string[] | |
/** The type of account that will be created.\nPossible values = ['DEPAKONTO', 'INVESTERINGSSPARKONTO'} */ | |
account_type: string; | |
} | |
export interface AccountModel { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid?: number; | |
/** The account number (int64) */ | |
accno?: number; | |
/** Status of the account creation */ | |
status: string; | |
} | |
export interface AccountPermission { | |
/** If the user is allowed to open the corresponding account_template */ | |
allowed: boolean; | |
/** Present if , array;'allowed' is false, codes explaning why it isn’t allowed */ | |
causes?: Causes[] | |
} | |
export interface AccountResponse { | |
/** Account that is accessible by the user (int32) */ | |
accno: number; | |
/** Internal nordnet account type code */ | |
account_code: string; | |
/** Full name of the account owner */ | |
customer_full_name: string; | |
} | |
export interface AccountReturnsHistorical { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid?: number; | |
/** The account number, omitted if this is an aggregate (int64) */ | |
account_number?: number; | |
/** Indicates if this is the aggregated performance or not, defaults to false */ | |
aggregated: boolean; | |
/** Result the last month */ | |
result_1_month?: Amount; | |
/** Result the last week */ | |
result_1_week?: Amount; | |
/** Result the last year */ | |
result_1_year?: Amount; | |
/** Result the last three months */ | |
result_3_month?: Amount; | |
/** Result the last three years */ | |
result_3_year?: Amount; | |
/** Result the last six months */ | |
result_6_month?: Amount; | |
/** Result this year */ | |
result_this_year?: Amount; | |
/** Return in % the last month (double) */ | |
returns_1_month?: number; | |
/** Return in % the last week (double) */ | |
returns_1_week?: number; | |
/** Return in % the last year (double) */ | |
returns_1_year?: number; | |
/** Return in % the last three months (double) */ | |
returns_3_month?: number; | |
/** Return in % the last three years (double) */ | |
returns_3_year?: number; | |
/** Return in % the last six months (double) */ | |
returns_6_month?: number; | |
/** Return in % this year (double) */ | |
returns_this_year?: number; | |
/** Sharpe ratio the last month (double) */ | |
sharpe_ratio_1_month?: number; | |
/** Sharpe ratio the last year (double) */ | |
sharpe_ratio_1_year?: number; | |
/** Sharpe ratio the last three years (double) */ | |
sharpe_ratio_3_year?: number; | |
/** Portfolio volatility the last month (double) */ | |
volatility_1_month?: number; | |
/** Portfolio volatility the last year (double) */ | |
volatility_1_year?: number; | |
/** Portfolio volatility the last three years (double) */ | |
volatility_3_year?: number; | |
} | |
export interface AccountReturnsPerformance { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid?: number; | |
/** The account number, omitted if this is an aggregate (int64) */ | |
account_number?: number; | |
/** Indicates if this is the aggregated performance or not, defaults to false */ | |
aggregated: boolean; | |
/** The performance data per tick , array */ | |
performance_ticks: PerformanceTick[] | |
} | |
export interface AccountReturnsToday { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid?: number; | |
/** The account number, omitted if this is an aggregate (int64) */ | |
account_number?: number; | |
/** Indicates if this is the aggregated performance or not, defaults to false */ | |
aggregated: boolean; | |
/** Net result today */ | |
result_today: Amount; | |
/** Returns today in percent (float) */ | |
returns_today: number; | |
} | |
export interface AccountStatus { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid?: number; | |
/** The account number (int64) */ | |
accno?: number; | |
/** The account status. = ['NOT_INITIALIZED', 'PENDING', 'DONE', 'FAILED', 'REJECTED'} */ | |
status: string; | |
} | |
export interface AccountTemplate { | |
/** Account templates (int32) */ | |
account_template: number; | |
/** Short descriptive text of the account template */ | |
account_template_description: string; | |
} | |
export interface AccountTransactionsToday { | |
/** Transactions amount today */ | |
transactions: Amount; | |
} | |
export interface AccountValue { | |
/** Account credit */ | |
account_credit: Amount; | |
/** All ledgers combined */ | |
account_sum: Amount; | |
/** Sum for credit account if available */ | |
credit_account_sum?: Amount; | |
/** Total market value */ | |
full_marketvalue: Amount; | |
/** Intraday credit if available */ | |
intraday_credit?: Amount; | |
/** Max loan limit (regardless of pawnvalue) */ | |
loan_limit: Amount; | |
/** account_sum + full_marketvalue + interest + forward_sum + future_sum + unrealized_future_profit_loss */ | |
own_capital: Amount; | |
/** Pawn value of all positions combined */ | |
pawn_value: Amount; | |
} | |
export interface ActivationCondition { | |
/** Only used when type is STOP_ACTPRICE_PERC. This is the fix point that the trigger_value and target_value percent is calculated from (double) */ | |
trailing_value?: number; | |
/** The comparison that should be used on trigger_value <or | */ | |
trigger_condition?: string; | |
/** If type is STOP_ACTPRICE_PERC the value is the given in percent. If type is STOP_ACTPRICE the value is a fixed price (double) */ | |
trigger_value?: number; | |
/** Stop loss activation condition. NONE - This order has no activation condition. It is sent directly to the market (if the market is open) MANUAL - The order is inactive in the Nordnet system and is activated by the user STOP_ACTPRICE_PERC - Trailing stop loss. The order is activated when the price changes by percent STOP_ACTPRICE - The order is activated when the market price of the instrument reaches a trigger price */ | |
type: string; | |
} | |
export interface AddPartnerColleagueRole { | |
/** The added role */ | |
role: string; | |
/** The username of the colleague */ | |
username: string; | |
} | |
export interface Advice { | |
/** The allocation of asse, array;ts advised to the customer */ | |
allocation: Allocationpart[] | |
/** Any disclaimer to the advice */ | |
disclaimers?: string; | |
/** Descriptive text for the advice */ | |
text: string; | |
/** Title text for the advice */ | |
title: string; | |
/** What type of advice is returned = ['DISSUADE', 'FUND_ADVICE', 'PORTFOLIO_ADVICE'} */ | |
type: string; | |
} | |
export interface AdviceValidationModel { | |
/** false is returned for EVERY request */ | |
needs_advice: boolean; | |
} | |
export interface AggregatedPosition { | |
/** The accnos that are included in, array; aggregation */ | |
accnos_with_position: number[]// [] | |
/** The current value of the positions denoted in the instrument currency, positive and negative positions cancel out each other */ | |
total_market_value: Amount; | |
/** The current value of the positions denoted in the account currency, positive and negative positions cancel out each other */ | |
total_market_value_acc: Amount; | |
/** The total quantity of the instrument held by the accounts (double) */ | |
total_qty: number; | |
/** The total return percentage (totalReturnValue / totalAcquisitionPrice) calculated based on instrument currency */ | |
total_return_percentage: Amount; | |
/** The total return percentage (totalReturnValueAcc / totalAcquisitionPriceAcc) calculated based on account currency (double) */ | |
total_return_percentage_acc: number; | |
/** The total return value of the positions denoted in the instrument currency, for short positions a loss is counted as a gain and vice verca for long positions */ | |
total_return_value: Amount; | |
/** The total return value of the positions denoted in the account currency, for short positions a loss is counted as a gain and vice verca for long positions */ | |
total_return_value_acc: Amount; | |
/** Weighted instrument acquisition price denoted in the instrument currency */ | |
weighted_gav: Amount; | |
/** Weighted instrument acquisition price denoted in the account currency */ | |
weighted_gav_acc: Amount; | |
} | |
export interface AlarmResponse { | |
/** These platforms will get noti, array;fications. Valid types are {\"EMAIL\", \"MOBILE\", \"SMS\", \"WEB\"} */ | |
active_notification_types: string[] | |
/** The alarmId */ | |
alarm_id?: string; | |
/** Close price (double) */ | |
close_price?: number; | |
/** Currency code */ | |
currency?: string; | |
/** Direction */ | |
direction?: string; | |
/** Country code */ | |
exchange_country?: string; | |
/** Identifier (int32) */ | |
identifier?: number; | |
/** The intrument group type */ | |
instrument_group_type?: string; | |
/** The Nordnet instrument id (int32) */ | |
instrument_id?: number; | |
/** The intrument type */ | |
instrument_type?: string; | |
/** Last price (double) */ | |
last_price?: number; | |
/** The timestamp of the last price (int64) */ | |
last_price_timestamp?: number; | |
/** The market ID (int32) */ | |
market_id?: number; | |
/** Name of the instrument */ | |
name?: string; | |
/** Is price updated in realtime */ | |
realtime?: boolean; | |
/** The snapshot price (double) */ | |
snapshot_price?: number; | |
/** The snapshot timestamp (int64) */ | |
snapshot_timestamp?: number; | |
/** Symbol */ | |
symbol?: string; | |
/** Trigger level (double) */ | |
trigger_level?: number; | |
/** The update timestamp (int64) */ | |
update_timestamp?: number; | |
} | |
export interface AliasInputModel { | |
/** The alias for the access node */ | |
alias: string; | |
} | |
export interface Allocation { | |
/** Asset class description */ | |
asset_class_description: string; | |
/** The instrument id of the fund (int64) */ | |
instrument_id: number; | |
/** Allocation label */ | |
label: string; | |
/** Percentage (int32) */ | |
percent: number; | |
} | |
export interface AllocationList { | |
/** Category */ | |
category?: string; | |
/** Weight (int32) */ | |
weight?: number; | |
} | |
export interface Allocationpart { | |
/** The asset class of the instrument */ | |
asset_class: string; | |
/** Instrument id of this part of the portfolio allocation (int64) */ | |
instrument_id: number; | |
/** Descriptive label for the instrument */ | |
label: string; | |
/** Full name of the instrument */ | |
name: string; | |
/** Percentage of the allocation made up of the instrument (int32) */ | |
percentage: number; | |
/** Url to instrument prospectus */ | |
prospectus_url?: string; | |
} | |
export interface AllocationsBody { | |
/** The fund category */ | |
category: string; | |
/** Percentage investment in this allocation group (int32) */ | |
weight: number; | |
} | |
export interface AllowedAccounts { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid?: number; | |
/** The Nordnet account number (int64) */ | |
accno: number; | |
/** The relation the customer has for this account */ | |
customer_relation: CustomerRelation; | |
} | |
export interface AllowedPreregisteredAccount { | |
/** The preregistered bank account number. */ | |
bank_account_number?: string; | |
/** The country code this account belongs to. */ | |
country_code?: "DK" | "FI" | "NO" | "SE"; | |
/** The identifier of preregistered account. (int32) */ | |
prereg_id?: number; | |
/** The current status of the preregistered account. */ | |
status?: "ACTIVE" | "DEREGISTERED" | "PENDING_ACTIVATION" | "PENDING_DEREGISTRATION" | "REJECTED" | "SENT_FOR_ACTIVATION" | "SENT_FOR_DEREGISTRATION"; | |
} | |
export interface AmortizationTransaction { | |
/** A string for the error reason in case of failure in payment status. E.g. \"INSUFFICIENT_BALANCE\" */ | |
error_reason?: string; | |
/** The transaction amount */ | |
payment: Amount; | |
/** The date when a transaction should be executed */ | |
payment_date: string; | |
/** An unique payment id of the transaction (int32) */ | |
payment_id: number; | |
/** A string for the payment status of the transaction: \"CREATED\", \"PROCESSING\", \"PAID\", \"REJECTED\", \"RETRIED\", \"DELETED\", \"SKIPPED\" */ | |
payment_status: string; | |
} | |
export interface Amount { | |
/** The amount currency */ | |
currency: string; | |
/** The amount (double) */ | |
value: number; | |
} | |
export interface AmountOptionalValue { | |
/** The amount currency */ | |
currency: string; | |
/** The amount value (double) */ | |
value?: number; | |
} | |
export interface AnnualGrowthInfo { | |
/** Growth 10 year */ | |
annual_growth_10y?: number; | |
/** Growth 1 year */ | |
annual_growth_1y?: number; | |
/** Growth 2 year */ | |
annual_growth_2y?: number; | |
/** Growth 3 year */ | |
annual_growth_3y?: number; | |
/** Growth 5 year */ | |
annual_growth_5y?: number; | |
} | |
export interface AnonymousLogin { | |
/** The country code for the logged in user */ | |
country: string; | |
/** The environment of the server. Examples: production, test */ | |
environment: string; | |
/** The session expire interval in seconds. Note: this is not the remaining time until session timeout it is the interval (int64) */ | |
expires_in: number; | |
/** The default language for the session */ | |
lang: string; | |
/** Always true when 200 is returned */ | |
logged_in: boolean; | |
/** The session identifier */ | |
session_id: string; | |
/** Always anonymous */ | |
session_type: string; | |
} | |
export interface AnswersBody { | |
/** Image description */ | |
image_description?: string; | |
/** Link to image */ | |
image_link?: string; | |
/** Value */ | |
value?: string; | |
} | |
export interface ApplicationData { | |
/** Add co-borrower */ | |
add_co_borrower: boolean; | |
/** Amortization free for first year */ | |
amortization_free_first_year: boolean; | |
/** Citizenship (int32) */ | |
citizenship: number; | |
/** Co-borrower citizenship (int32) */ | |
co_borrower_citizenship?: number; | |
/** Co-borrower email */ | |
co_borrower_email?: string; | |
/** Co-borrower first name */ | |
co_borrower_first_name?: string; | |
/** Co-borrower health confirmed */ | |
co_borrower_health_confirmed?: boolean; | |
/** co-borrower income per month (int32) */ | |
co_borrower_income_per_month?: number; | |
/** Co-borrower last name */ | |
co_borrower_last_name?: string; | |
/** Co-borrower loan insurance */ | |
co_borrower_loan_insurance?: boolean; | |
/** Co-borrower personal number */ | |
co_borrower_personal_number?: string; | |
/** Co-borrower mobile phone number */ | |
co_borrower_phone?: string; | |
/** Email */ | |
email: string; | |
/** Employed since */ | |
employed_since: string; | |
/** Employer */ | |
employer: string; | |
/** Employment (int32) */ | |
employment: number; | |
/** Expenditure (int32) */ | |
expenditure: number; | |
/** External bank (int32) */ | |
external_bank: number; | |
/** External bank account number */ | |
external_bank_account_number: string; | |
/** External bank clearing number */ | |
external_bank_clearing_number: string; | |
/** First name */ | |
first_name: string; | |
/** Health confirmed */ | |
health_confirmed: boolean; | |
/** Income per month (int32) */ | |
income_per_month: number; | |
/** Information confirmed */ | |
information_confirmed: boolean; | |
/** Number of kids to support (int32) */ | |
kids_to_support: number; | |
/** Last name */ | |
last_name: string; | |
/** Loan amount (int32) */ | |
loan_amount: number; | |
/** Loan insurance */ | |
loan_insurance: boolean; | |
/** Loan purpose (int32) */ | |
loan_purpose: number; | |
/** Form of housing (int32) */ | |
lodging: number; | |
/** Address since */ | |
on_address_since: string; | |
/** Personal number */ | |
personal_number: string; | |
/** Home phone number */ | |
phone_home: string; | |
/** Mobile phone number */ | |
phone_mobile: string; | |
/** Work phone number */ | |
phone_work: string; | |
/** Relationship status (int32) */ | |
relationship_status: number; | |
/** Repayment bank account owned by co-borrower */ | |
repayment_account_owner_is_co_borrower?: boolean; | |
/** Repayment bank (int32) */ | |
repayment_bank?: number; | |
/** Repayment bank account number */ | |
repayment_bank_account_no?: string; | |
/** Repayment bank clearing number */ | |
repayment_bank_clearing?: string; | |
/** Repayment type (int32) */ | |
repayment_type: number; | |
/** Duration of the loan (int32) */ | |
years: number; | |
} | |
export interface ApplicationResultResponse { | |
/** The application reference */ | |
reference?: string; | |
} | |
export interface ApplicationStatusResponse { | |
/** The application status */ | |
status: "PENDING" | "SUCCESS" | "REJECT" | "ERROR"; | |
} | |
export interface ApplyRequirements { | |
/** Specifications of apply requirements */ | |
apply_requirements_details: ApplyRequirementsDetails; | |
/** If apply requirements are met */ | |
can_apply: boolean; | |
/** Status of member lending discount */ | |
member_lending_discount_status: "ACTIVE" | "INACTIVE" | "PENDING"; | |
} | |
export interface ApplyRequirementsDetails { | |
/** Allowed account type */ | |
allowed_account_type: boolean; | |
/** Allowed role */ | |
allowed_role: boolean; | |
/** Has credit agreement */ | |
has_credit_agreement: boolean; | |
/** Has discount agreement */ | |
has_discount_agreement: boolean; | |
/** Not minor */ | |
not_minor: boolean; | |
} | |
export interface ArchiveMessagesCount { | |
/** The count of archive messages (int32) */ | |
count: number; | |
} | |
export interface AskWithdrawalTax { | |
/** The remaining shielding amount. (float) */ | |
remaining_shield_amount: number; | |
/** The amount available to withdraw without tax effect. (float) */ | |
tax_free_amount: number; | |
/** Total deposit to the ASK account. (float) */ | |
total_deposit: number; | |
/** The date when the record was updated. */ | |
updated_date: string; | |
} | |
export interface AssessmentAnswerInputV2 { | |
/** Id of the alternative chosen as answer (int32) */ | |
alternative_id: number; | |
/** The id of the question answered (int32) */ | |
question_id: number; | |
} | |
export interface AssessmentAnswerResponseV2 { | |
/** The current question to answer in the assessment, empty if state=FINISHED */ | |
current?: AssessmentQuestion; | |
/** The result of the assessment. Will be null if state != FINISHED */ | |
result?: AssessmentResult; | |
/** Non optional state flag for the assessment. = ['ONGOING', 'FINISHED'} */ | |
state: string; | |
} | |
export interface AssessmentQuestion { | |
/** Ordered list of question alternatives , array */ | |
alternatives: AssessmentQuestionAlternative[] | |
/** Clarifying text for the question using assessment language */ | |
clarification_text?: string; | |
/** Assessment question identifier (int64) */ | |
question_id: number; | |
/** Translated question text using assessment language */ | |
text: string; | |
} | |
export interface AssessmentQuestionAlternative { | |
/** Assessment question alternative identifer (int64) */ | |
alternative_id: number; | |
/** The translated alternative text for this alternative */ | |
text: string; | |
} | |
export interface AssessmentQuestionAnswer { | |
/** The timestamp when the answer was registered. UNIX timestamp (UTC) in milliseconds (int64) */ | |
answered_at: number; | |
/** Id of the alternative chosen as answer (int32) */ | |
chosen_alternative: number; | |
/** The question */ | |
question: AssessmentQuestion; | |
} | |
export interface AssessmentResult { | |
/** The timestamp when the assessment was marked as FINISHED. UNIX timestamp (UTC) in milliseconds (int64) */ | |
finished_at: number; | |
/** Values describing w, array;ays in which the customer was inconsistent with their answers e.g RISK_KNOWLEDGE, RISK_SCORE etc */ | |
inconsistencies: string[] | |
/** All the partial scores that make up the combined score */ | |
partial_scores: PartialScores; | |
/** The risk profiling score for the given assessment (double) */ | |
score: number; | |
} | |
export interface AssessmentStatus { | |
/** Ordered list of question answer pairs to, array; questionnaire questions */ | |
assessment_history: AssessmentQuestionAnswer[] | |
/** Human readable name of the context. */ | |
context_display_name: string; | |
/** The current question to answer in the assessment, empty if state=FINISHED */ | |
current?: AssessmentQuestion; | |
/** A human readable message if available. This message is translated. */ | |
message?: string; | |
/** The current question to answer in the assessment, empty if state!=FINISHED */ | |
result?: AssessmentResult; | |
/** The timestamp when the assesment was initialized. UNIX timestamp (UTC) in milliseconds (int64) */ | |
started_at: number; | |
/** Non optional state flag for the assessment. = ['STARTED', 'ONGOING', 'FINISHED', 'ERROR', 'FAILED', 'INELIGIBLE'} */ | |
state: string; | |
} | |
export interface AttributeResult { | |
/** Additional details for attributes with filterable=true */ | |
filter_details?: FilterDetails; | |
/** Can the attribute be provided as a filter in /search and /attribute endpoints */ | |
filterable?: boolean; | |
/** The attribute id */ | |
id?: string; | |
/** The name of the attribute */ | |
name?: string; | |
/** Can the attribute be returned in /search endpoints */ | |
returnable?: boolean; | |
/** Can the attribute be used for sorting in /search endpoints */ | |
sortable?: boolean; | |
} | |
export interface AttributeResults { | |
/** List of attributes , array */ | |
attributes?: AttributeResult[] | |
/** Number of attributes in this response (int64) */ | |
attributes_count: number; | |
} | |
export interface AuthResponse { | |
/** The auto start token from BankId. Used for same device identification. */ | |
auto_start_token: string; | |
/** The order reference for the initiated authentication, used for polling the status. */ | |
order_ref: string; | |
} | |
export interface Authentication { | |
/** The country code for the logged in user */ | |
country: string; | |
/** The default language for the session */ | |
lang: string; | |
/** Always true when 200 is returned */ | |
logged_in: boolean; | |
/** The session key used for identification in all other requests */ | |
session_key?: string; | |
/** Authenticated or anonymous */ | |
session_type: string; | |
} | |
export interface AutogiroDeposit { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid: number; | |
/** The account the deposit belongs to (int32) */ | |
account_number: number; | |
/** The deposit amount */ | |
amount: Amount; | |
/** The id identifying the autogiro connection (int32) */ | |
autogiro_id: number; | |
/** The external bank account number this deposit was sent from. */ | |
bank_account_number: string; | |
/** The unix timestamp in milliseconds when this deposit was created (int64) */ | |
created_timestamp: number; | |
/** The id identifying this autogiro deposit (int32) */ | |
deposit_id: number; | |
/** The id identifying the preregistered account connected to the autogiro connection (int32) */ | |
prereg_id: number; | |
/** The unix timestamp in milliseconds when this deposit was sent (int64) */ | |
sent_timestamp?: number; | |
/** The status of the autogiro deposit */ | |
status: "COMPLETED" | "CREATED" | "DEREGISTERED" | "REJECTED" | "SENT"; | |
} | |
export interface Avtalegiro { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid: number; | |
/** The Nordnet account number (int64) */ | |
account_number: number; | |
/** Bank account number. Always exist except for Avtalegiros PENDING_CUSTOMER_ACTIVATION (statusCode 2) where it might not exist */ | |
bank_account_number?: string; | |
/** Initial deposit amount. (int32) */ | |
initial_deposit_amount?: number; | |
/** Monthly deposit amount. Always exist except for Avtalegiros PENDING_CUSTOMER_ACTIVATION (statusCode 2) where it might not exist (int32) */ | |
monthly_deposit_amount?: number; | |
/** The day the deposit should be debited. (int32) */ | |
payment_day?: number; | |
/** Status of avtalegiro. Always exist except for Avtalegiros PENDING_CUSTOMER_ACTIVATION (statusCode 2) where it might not exist */ | |
status: "ACTIVE" | "PENDING_ACTIVATION" | "PENDING_CUSTOMER_ACTIVATION" | "ACTIVE_FIRST_TIME_DEPOSIT_NOT_PERFORMED"; | |
} | |
export interface AvtalegiroDeposit { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid: number; | |
/** The Nordnet account number (int64) */ | |
account_number: number; | |
/** The amount to deposit */ | |
amount: Amount; | |
/** External bank account number to deposit from */ | |
bank_account_number: string; | |
/** The date the deposit was created. (date) */ | |
created_date: string; | |
/** True if the status of the deposit means it can be deleted */ | |
deletable: boolean; | |
/** Id of the deposit (int64) */ | |
deposit_id: number; | |
/** The date the deposit should be debited. (date) */ | |
payment_date: string; | |
/** Status of avtalegiro deposit */ | |
status: "CREATED" | "PENDING_DEREGISTRATION" | "SENT" | "SENT_NOT_DELETABLE"; | |
} | |
export interface BalanceOverview { | |
base_currency_total_balance: BaseCurrencyTotalBalance; | |
currency_balance_summary_list: CurrencyBalanceSummaryItem[] | |
} | |
export interface BankAccountInfoResponse { | |
/** The id of the account. The id is unique within the session (int64) */ | |
accid: number; | |
/** The Nordnet account number (int64) */ | |
accno: number; | |
/** Bank account numbers information. , array */ | |
bank_account_numbers: BankAccountNumbers[] | |
} | |
export interface BankAccountInformationRequest { | |
/** Bank account number prefix */ | |
bank_account_number_prefix: string; | |
} | |
export interface BankAccountInformationResponse { | |
/** Bank abbreviation */ | |
abbreviation: string; | |
/** Bank color */ | |
color: string; | |
/** Display name of the bank */ | |
display_name: string; | |
} | |
export interface BankAccountNumbers { | |
/** Prefix for bank_account_number. For SE and DK, clearing number and registration number respectively */ | |
account_prefix?: string; | |
/** The bank account number */ | |
bank_account_number: string; | |
/** The bank’s name */ | |
bank_name: string; | |
/** Bank identifier code also called SWIFT, for FI */ | |
bic?: string; | |
/** For NO and FI, KID and reference number respectively. */ | |
reference_number?: string; | |
} | |
export interface BankNameInfo { | |
/** The abbreviation of an external bank. */ | |
abbreviation: string; | |
/** The color of the display name. */ | |
color: string; | |
/** The display name of an external bank. */ | |
display_name: string; | |
} | |
export interface BankingStatus { | |
/** OPEN or CLOSED */ | |
status: string; | |
} | |
export interface BaseCurrencyTotalBalance { | |
/** The total account balance in account’s base currency at the start of the interval */ | |
from_balance: Amount; | |
/** The total account balance in account’s base currency at the end of the interval */ | |
to_balance: Amount; | |
/** The total account balance in account’s base currency today */ | |
today_balance: Amount; | |
} | |
export interface BaseCurrencyTransactionsTotal { | |
/** The total amount of inflows in the account’s base currency */ | |
in_flow: Amount; | |
/** The total amount of outflows in the account’s base currency */ | |
out_flow: Amount; | |
/** The net amount of inflows and outflows in the account’s base currency */ | |
total: Amount; | |
} | |
export interface BatchResponse { | |
/** The response body of the api request. NOTE: the type of the response is the type of the response from the real request this can’t be described correct in swagger */ | |
body?: string; | |
/** The HTTP status code of the api request (int32) */ | |
code: number; | |
/** Headers are , array;included for each individual request if include_headers = true */ | |
headers?: Header[] | |
} | |
export interface Benchmark { | |
/** Benchmark description */ | |
description?: string; | |
/** External id */ | |
external_id?: string; | |
/** Benchmark name */ | |
name?: string; | |
} | |
export interface Benefit { | |
/** Benefit amount can mean different things depending on the type of benefit. Typically it is related to the compensation in case of an insurance event. */ | |
benefit_amount?: number; | |
/** How often do payouts occur? */ | |
benefit_amount_frequency?: "HALF_A_YEAR" | "MONTH" | "ONCE" | "QUARTER" | "YEAR"; | |
/** What is the status of the benefit */ | |
benefit_status: "APPLIED" | "APPLIED_OUT_PAYMENT" | "APPLIED_REACTIVATED" | "CANCELLED" | "IN_FORCE" | "OBLITERATED" | "OTHER" | "OUT_PAYMENT" | "PENDING_CANCELLATION" | "PENDING_PAYMENT" | "QUOTE"; | |
/** If the benefit is cancelled this property says when (date) */ | |
cancelled_date?: string; | |
/** Premium amount */ | |
contract_price?: number; | |
/** How often is the premium amount payed? */ | |
contract_price_frequency?: "HALF_A_YEAR" | "MONTH" | "ONCE" | "QUARTER" | "YEAR"; | |
/** If the contract price is included within the premium? */ | |
included_within_premium?: boolean; | |
/** A descriptive name of the type of benefit */ | |
name: string; | |
/** When does out payments start? Only applicable to certain types of benefits. (date) */ | |
out_payment_start_date?: string; | |
/** Benefit start date (date) */ | |
start_date: string; | |
/** Broad categorization of the type of benefit */ | |
variant_category: "ALD" | "AP" | "AS" | "B" | "DK" | "EP" | "K" | "LF" | "NOEUL" | "NOP" | "NOS" | "P" | "PB" | "SJUK" | "T" | "_2" | "_3"; | |
/** Product identifier (int32) */ | |
variant_id: number; | |
} | |
export interface BenefitDetail { | |
/** Contract price within parent price */ | |
contractPriceWithinParentPrice: boolean; | |
/** Quantity calculation method */ | |
quantityCalculationMethod: "ITP" | "MAX" | "OTHER"; | |
/** Variant */ | |
variant: string; | |
} | |
export interface BiggestAdjustedInstrument { | |
/** Instrumentid (int64) */ | |
id: number; | |
/** The instrument ISIN */ | |
isin: string; | |
/** The (long) name of the instrument */ | |
name: string; | |
/** The instrument type */ | |
type: string; | |
} | |
export interface BillingAccount { | |
/** A account that is allow to be used as a billing_account (int32) */ | |
accno: number; | |
/** The country of the billing account */ | |
country_code: string; | |
/** The customer number (int32) */ | |
cstno: number; | |
/** The billing account id */ | |
id: string; | |
} | |
export interface BrokerStatisticsBuy { | |
/** instrument_id */ | |
instrumentId?: number; | |
/** internal */ | |
internal?: number; | |
/** market_id */ | |
market?: number; | |
/** name */ | |
name?: string; | |
/** net */ | |
net?: number; | |
/** volume_buy */ | |
volumeBuy?: number; | |
/** volume_sale */ | |
volumeSale?: number; | |
} | |
export interface BrokerStatisticsSell { | |
/** instrument_id */ | |
instrumentId?: number; | |
/** internal */ | |
internal?: number; | |
/** market_id */ | |
market?: number; | |
/** name */ | |
name?: string; | |
/** net */ | |
net?: number; | |
/** volume_buy */ | |
volumeBuy?: number; | |
/** volume_sale */ | |
volumeSale?: number; | |
} | |
export interface BrokerStatisticsTop { | |
/** Buy , array */ | |
buy?: BrokerStatisticsBuy[] | |
/** Sell , array */ | |
sell?: BrokerStatisticsSell[] | |
} | |
export interface BullBearEntity { | |
/** Certificates information */ | |
certificate_info?: CertificateInfo; | |
/** ETP information */ | |
etp_info?: EtpInfo; | |
/** Information regarding the instrument/tradable on the exchange */ | |
exchange_info?: ExchangeInfo; | |
/** Instrument information. The same instrument info may appear in multiple search results if there are multiple tradables or fund universes. */ | |
instrument_info?: InstrumentInfo; | |
/** Market information, identifies which market the price info is collected from */ | |
market_info?: MarketInfo; | |
/** Price information, representing an exchange traded model containing top-of-book info */ | |
price_info?: PriceInfo; | |
} | |
export interface BullBearListResults { | |
/** The search results , array */ | |
results?: BullBearEntity[] | |
/** Number of result rows returned (int32) */ | |
rows?: number; | |
/** Total number of search hits (int64) */ | |
total_hits?: number; | |
/** Id of the underlying instrument if and only if the results contains instruments with the same underlying instrument (int64) */ | |
underlying_instrument_id?: number; | |
} | |
export interface CalendarDay { | |
/** The close time in UNIX timestamp (UTC) in milliseconds (int64) */ | |
close: number; | |
/** The date on the format YYYY-MM-DD (date) */ | |
date: string; | |
/** The open time in UNIX timestamp (UTC) in milliseconds (int64) */ | |
open: number; | |
} | |
export interface CarismaAuthentication { | |
/** The country code for the logged in user */ | |
country: string; | |
/** The default language for the session */ | |
lang: string; | |
/** Always true when 302 is returned */ | |
logged_in: boolean; | |
/** The session key used for identification in all other requests */ | |
session_key?: string; | |
/** Authenticated or anonymous */ | |
session_type: string; | |
} | |
export interface Causes { | |
/** Code explaning why an account isn’t allowed to open for a customer */ | |
code: string; | |
} | |
export interface CertificateInfo { | |
/** High risk */ | |
static_high_risk?: boolean; | |
/** Static leverage (double) */ | |
static_leverage?: number; | |
} | |
export interface ChangePensionPlanGroupRequest { | |
/** Employment id (int32) */ | |
employmentId: number; | |
/** Fully fit for work */ | |
fitForWork: boolean; | |
/** From date (date) */ | |
fromDate: string; | |
/** New pension plan group id (int32) */ | |
pensionPlanGroupIdTo: number; | |
} | |
export interface ChangePensionPlanGroupResult { | |
/** Employee name */ | |
employeeName: string; | |
/** Employment id (int32) */ | |
employmentId: number; | |
/** Error message */ | |
errorMessage: string; | |
/** Finished datetime (date-time) */ | |
finishedDateTime: string; | |
/** Fully fit for work */ | |
fitForWork: boolean; | |
/** From date (date) */ | |
fromDate: string; | |
/** Id (int64) */ | |
id: number; | |
/** Inca error code */ | |
incaErrorCode: "DEFAULT" | "RECALC_WITH_NO_CASE" | "PREMIUM_TOO_LOW" | "BENEFIT_PB_TOO_HIGH" | "START_BEFORE_EMPLOYMENT" | "CONTAINS_RISK_NOT_FULLYFIT" | "PREMIUM_DO_NOT_COVER_RISK" | "OPTIMISTIC_LOCK_IN_DB" | "ADJUSTMENT_PREMIUM_NOT_FOUND" | "EMPLOYMENT_TERMS_NOT_FOUND" | "LATEST_TRANSACTION_DATETIME_ERROR" | "PENDING_RISK_ASSESSMENT_EXISTS" | "EMPLOYMENT_ALREADY_EXISTS" | "CHANGE_TOO_EARLY" | "CHANGE_TOO_LATE" | "ABSENCE_TOO_EARLY" | "ABSENCE_TOO_LATE" | "END_ABSENCE_TOO_EARLY" | "END_ABSENCE_TOO_LATE" | "END_ABSENCE_TOO_LONG" | "END_ABSENCE_WITH_RISK_ASSESSMENT" | "END_ABSENCE_RISK_REMAINS" | "END_ABSENCE_NOT_ALLOWED_WHEN_RISK_AND_NOT_FULLY_ABSENT" | "ABSENCE_PB_DOES_NOT_FOLLOW_INSURANCE" | "ABSENCE_SICK_NOT_ALLOWED" | "ABSENCE_TYPE_NOT_UNIQUE" | "ABSENCE_PRODUCTS_NOT_FOUND" | "ABSENCE_MISSING" | "ABSENCE_IND_CHOICE_CONTAINS_AMOUNTS" | "ABSENCE_START_DATE_IN_ENDED_ABSENCE_PERIOD" | "ABSENCE_VALID_ENDED_ABSENCE_EXISTS" | "EMPLOYEE_TOO_YOUNG" | "EMPLOYEE_TOO_OLD" | "EMPLOYMENT_INDIVIDUAL_CHOICE_UPDATE_ERROR" | "EMPLOYEE_NOT_APPROVED_AGE_FOR_RISK_BENEFIT" | "NEW_EMPLOYMENT_WHEN_PPG_CHANGED_ERROR" | "END_EMPLOYMENT_WHEN_PPG_CHANGED_ERROR" | "EMPLOYMENT_UPDATE_ON_NON_ACTIVE_ERROR" | "EMPLOYMENT_UPDATE_ON_CASE_ERROR" | "EMPLOYMENT_UPDATE_VALUE_MISSING"; | |
/** Old pension plan group id (int32) */ | |
pensionPlanGroupIdFrom: number; | |
/** New pension plan group id (int32) */ | |
pensionPlanGroupIdTo: number; | |
/** Old pension plan group name */ | |
pensionPlanGroupNameFrom: string; | |
/** New pension plan group name */ | |
pensionPlanGroupNameTo: string; | |
/** Person id (int32) */ | |
personId: number; | |
/** Person official id */ | |
personOfficialId: string; | |
/** Employment update status */ | |
status: "NEW" | "PROCESSING" | "DONE" | "CANCELLED" | "FAILED"; | |
} | |
export interface ChargeGroup { | |
/** The ChargeGroupId of the account (int32) */ | |
charge_group_id: number; | |
/** True if the customer has pending charge group change */ | |
has_pending_change: boolean; | |
/** Translation tag for given charge group */ | |
tag: string; | |
} | |
export interface ChargeGroupDefinitionIndex { | |
/** Minimum commission paid for trades on non-Nordic markets */ | |
international_minimum: Amount; | |
/** Commission cost in percentage paid for trades on non-Nordic markets. Expressed in decimal format (10- 0.1) (float) */ | |
international_percentage_fee: number; | |
/** Commission paid for trades on the Nordic markets */ | |
nordic_minimum: Amount; | |
/** Commission in percentage paid for trades on the Nordic markets. Expressed in decimal format (10- 0.1) (float) */ | |
nordic_percentage_fee: number; | |
/** Maximum recommended trade size for this charge group */ | |
usage_maximum?: Amount; | |
/** Minimum recommended trade size for this charge group */ | |
usage_minimum?: Amount; | |
} | |
export interface ChargeGroupIndex { | |
/** Expresses what it means to have a given charge group */ | |
charge_group_definition?: ChargeGroupDefinitionIndex; | |
/** The ChargeGroupId of the account (int32) */ | |
charge_group_id: number; | |
/** Translation tag for given charge group */ | |
tag: string; | |
} | |
export interface ChargeGroups { | |
/** List of charge groups that , array;a accounts is allowed to have. May be empty */ | |
charge_groups: ChargeGroupIndex[] | |
} | |
export interface ChargeSpecification { | |
/** Fee in fraction of whole investment (float) */ | |
fraction: number; | |
} | |
export interface ClearingplaceAccountResponse { | |
/** The clearingplace account */ | |
cmpaccno: string; | |
/** Clearingplace. */ | |
cmpcode: string; | |
} | |
export interface ColumnIdStr { | |
/** Column id (int32) */ | |
columnId: number; | |
/** From salary quantity (int32) */ | |
fromSalaryQuantity: number; | |
/** Quantity unit type */ | |
quantityUnitType: string; | |
/** To salary quantity (int32) */ | |
toSalaryQuantity: number; | |
} | |
export interface CommissionPriceModel { | |
/** The active price model’s identifier (int32) */ | |
active_price_model_id?: number; | |
/** The available price models, , array */ | |
available_price_models?: PriceModel[] | |
/** The date as of a model change is allowed */ | |
changeable_from_date?: string; | |
/** The customer type */ | |
customer_type: "RETAIL" | "PRIVATE_BANKING" | "ACTIVE_TRADER"; | |
/** The date of the last price model change */ | |
last_change_date?: string; | |
/** The status of the last price model change. 'Available', 'Pending' or 'Locked' */ | |
last_change_status?: string; | |
/** Specifies the number of days before a new price model change can be made (int32) */ | |
locked_days_between_changes?: number; | |
} | |
export interface CommissionPriceModelConfirmation { | |
/** The active price model’s identifier (int32) */ | |
active_price_model_id?: number; | |
/** The date as of a model change is allowed */ | |
changeable_from_date?: string; | |
/** The customer type. 'RETAIL', 'PRIVATE_BANKING' or 'ACTIVE_TRADER' */ | |
customer_type: string; | |
/** The date of the last price model change */ | |
last_change_date?: string; | |
/** The status of the last price model change. 'Available', 'Pending' or 'Locked' */ | |
last_change_status?: string; | |
/** The number of days for which the model is locked (int32) */ | |
locked_days_between_changes?: number; | |
} | |
export interface CompactTransactionEvent { | |
/** Account number (int32) */ | |
account_number: number; | |
/** Currency of event */ | |
currency: string; | |
/** Price of event (double) */ | |
price: number; | |
/** Quantity of event (double) */ | |
quantity: number; | |
/** Unix timestamp in milliseconds when event occured (int32) */ | |
timestamp: number; | |
/** Type of event */ | |
type: "BUY" | "SELL"; | |
} | |
export interface CompactTransactionEventResponse { | |
/** List of events , array */ | |
events?: CompactTransactionEvent[] | |
/** Number of events (int32) */ | |
number_of_events: number; | |
} | |
export interface Company { | |
/** Name of the company */ | |
name: string; | |
/** Pension plans of the , array;company */ | |
pensionplans: Pensionplan[] | |
/** Person id of the company (int32) */ | |
personId: number; | |
/** Official id of the company */ | |
personOfficialId: string; | |
} | |
export interface CompanyAddress { | |
/** Address row 1 */ | |
addressRow1: string; | |
/** Address row 2 */ | |
addressRow2: string; | |
/** Address row 3 */ | |
addressRow3: string; | |
/** City */ | |
city: string; | |
/** Country code */ | |
countryCode: string; | |
/** Postal code */ | |
postalCode: string; | |
} | |
export interface CompanyDataCompany { | |
/** ceo */ | |
ceo?: string; | |
/** company_id (int64) */ | |
company_id?: number; | |
/** description */ | |
description?: string; | |
/** email */ | |
email?: string; | |
/** employees (int64) */ | |
employees?: number; | |
/** headquarter */ | |
headquarter?: string; | |
/** industry */ | |
industry?: string; | |
/** industry_group */ | |
industry_group?: string; | |
/** The market cap for this company all equities */ | |
market_cap?: number; | |
/** name */ | |
name?: string; | |
/** sector */ | |
sector?: string; | |
/** url */ | |
url?: string; | |
} | |
export interface CompanyDataCorporatecalendar { | |
/** Date for event */ | |
date: string; | |
/** The type, expressed in local language (if available and 'Accept-Language' provided) */ | |
event_description: string; | |
/** The type of event, expressed in predefined event types */ | |
event_type: "GENERAL_MEETING" | "BOARD_MEETING" | "DIVIDEND_N_STOCK_SPLIT_ANNOUNCEMENT" | "FIRST_QUARTER_EARNINGS_RESULTS" | "SECOND_QUARTER_EARNINGS_RESULTS" | "THIRD_QUARTER_EARNINGS_RESULTS" | "FOURTH_QUARTER_EARNINGS_RESULTS" | "ANNUAL_REPORT"; | |
} | |
export interface CompanyDataDividends { | |
/** Amount paid */ | |
amount_paid?: number; | |
/** The currency used for dividend */ | |
currency?: string; | |
/** The X date */ | |
excluding_date?: string; | |
/** The date the dividend is payed */ | |
pay_date?: string; | |
} | |
export interface CompanyDataEquity { | |
/** Currency the equity is traded in */ | |
currency?: string; | |
/** Date when the stock was listed */ | |
introduction_date?: string; | |
/** ISIN code of the equity */ | |
isin_code?: string; | |
/** The number of shares for this equity (int64) */ | |
number_of_shares?: number; | |
} | |
export interface CompanyDataFinancialValues { | |
/** Financial category */ | |
category?: string; | |
/** Financial group */ | |
group?: "BALANCE_SHEET" | "CASH_FLOW" | "INCOME_STATEMENT"; | |
/** The value for ea, array;ch year */ | |
year_values?: number[] | |
} | |
export interface CompanyDataKeyFigures { | |
/** dividend_per_share */ | |
dividend_per_share?: number; | |
/** earnings_per_share */ | |
earnings_per_share?: number; | |
/** forward_dividend_yield */ | |
forward_dividend_yield?: number; | |
/** forward_dividends_per_share */ | |
forward_dividends_per_share?: number; | |
/** forward_peratio */ | |
forward_peratio?: number; | |
/** one_year_estimated_eps_growth */ | |
one_year_estimated_eps_growth?: number; | |
/** peg_ratio */ | |
peg_ratio?: number; | |
/** price_bookings */ | |
price_bookings?: number; | |
/** price_earnings */ | |
price_earnings?: number; | |
/** price_sales */ | |
price_sales?: number; | |
} | |
export interface CompanyDataPositionseventsCalendar { | |
/** Date for event */ | |
date: string; | |
/** A short description of the event in local language of the user (if available and 'Accept-Language' provided) */ | |
event_short_description: string; | |
/** The type of event, expressed in predefined event types */ | |
event_type: "calendar_event.GENERAL_MEETING" | "calendar_event.BOARD_MEETING" | "calendar_event.DIVIDEND_N_STOCK_SPLIT_ANNOUNCEMENT" | "calendar_event.FIRST_QUARTER_EARNINGS_RESULTS" | "calendar_event.SECOND_QUARTER_EARNINGS_RESULTS" | "calendar_event.THIRD_QUARTER_EARNINGS_RESULTS" | "calendar_event.FOURTH_QUARTER_EARNINGS_RESULTS" | "calendar_event.ANNUAL_REPORT"; | |
/** Instrument information on the event */ | |
instrument: CompanyDataPositionseventsInstrument; | |
/** Position information on the event */ | |
position: CompanyDataPositionseventsPosition; | |
} | |
export interface CompanyDataPositionseventsDividend { | |
/** Date for dividend payout */ | |
date: string; | |
/** A short description of the event in local language of the user (if available and 'Accept-Language' provided) */ | |
event_short_description: string; | |
/** The type of event, expressed in predefined event types */ | |
event_type: "dividend.CASH" | "dividend.SPECIAL_CASH"; | |
/** Date for dividend exclusion. If you buy a stock on or passed this date, before the pay date, you are still excluded from receiving the dividend. */ | |
ex_date: string; | |
/** Instrument information on the event */ | |
instrument: CompanyDataPositionseventsInstrument; | |
/** What does a single stock pay in dividend */ | |
paid_per_share?: number; | |
/** What is the estimated total payment for the customers positions in this instrument. If the customer is not the primary owner of all accounts, then the actual ammount will of ciurse be affected. Other reasons for differences may also exist. */ | |
paid_total?: number; | |
/** Position information on the event */ | |
position: CompanyDataPositionseventsPosition; | |
} | |
export interface CompanyDataPositionseventsInstrument { | |
/** 3 letter ISO currency code */ | |
currency: string; | |
/** 2 letter ISO country code, as set on the instruments tradables market in service-instrument */ | |
exchange_country: string; | |
/** Instrument group type, for this endpoint should always be EQ */ | |
group_type: string; | |
/** instrument_id is the internal identifier in service-instrument (int64) */ | |
instrument_id: number; | |
/** ISIN code, ISO standard */ | |
isin: string; | |
/** Name of the instrument accordin to the exchange */ | |
name: string; | |
/** Symbol of the instrument, often same as ticker */ | |
symbol: string; | |
/** Instrument type, for this endpoint should always be ESH */ | |
type: string; | |
} | |
export interface CompanyDataPositionseventsPosition { | |
/** accnos that hold, array; the position */ | |
accno: number[]// [] | |
/** Quantity owned (int64) */ | |
quantity: number; | |
} | |
export interface CompanyDataSummary { | |
/** Holds company specific data */ | |
company?: CompanyDataCompany; | |
/** Holds equity specific data */ | |
equity?: CompanyDataEquity; | |
/** Unique identifier of instrument connected to the company (int64) */ | |
instrument_id?: number; | |
} | |
export interface CompanyDataYearlyFinancial { | |
/** currency */ | |
currency?: string; | |
/** currency_prefix */ | |
currency_prefix?: "K" | "M" | "NONE"; | |
/** Financial details , array */ | |
data?: CompanyDataFinancialValues[] | |
/** Years for , array;which financials apply */ | |
years?: string[] | |
} | |
export interface CompanyDiscMandateAllowed { | |
/** Whether or not this company is allowed to have discretionary mandates. */ | |
discretionary_mandate_allowed: boolean; | |
} | |
export interface CompanyEvent { | |
/** The amount (value and currency) for an event */ | |
amount?: Amount; | |
/** Date for the event */ | |
date: string; | |
/** User friendly translated description of the event */ | |
description?: string; | |
/** The type of the event */ | |
type: string; | |
/** User friendly display name for the event type */ | |
type_display_name?: string; | |
} | |
export interface CompanyEvents { | |
/** List of upcoming, array; events for the company */ | |
events: CompanyEvent[] | |
/** Unique identifier of instrument connected to the company (int32) */ | |
instrument_id: number; | |
} | |
export interface CompanyFinancial { | |
/** Currency for all financial numbers */ | |
currency: string; | |
/** List of financial details, array; per year */ | |
financial_data: FinancialData[] | |
/** Unique identifier of instrument connected to the company (int32) */ | |
instrument_id: number; | |
/** Prefix for the currency, i.e. 'k' for 1.000, 'M' for 1.000.000 */ | |
prefix: string; | |
} | |
export interface CompanyInfo { | |
/** Upcoming dividend amount (double) */ | |
dividend_amount?: number; | |
/** Upcoming dividend currency */ | |
dividend_currency?: string; | |
/** Upcoming dividend payout date for the company (int64) */ | |
dividend_date?: number; | |
/** Upcoming dividend exclude date for the company (int64) */ | |
excluding_date?: number; | |
/** Upcoming annual general meeting date for the company (int64) */ | |
general_meeting_date?: number; | |
/** Upcoming report date for the company (int64) */ | |
report_date?: number; | |
/** Upcoming report type translation */ | |
report_description?: string; | |
/** Upcoming report type, ex: ANNUAL_REPORT, FIRST_QUARTER_EARNINGS_RESULTS */ | |
report_type?: string; | |
} | |
export interface CompanyInformation { | |
/** Branch the company is active in */ | |
branch?: string; | |
/** The name of the company’s CEO */ | |
ceo?: string; | |
/** Description of the company. Localised based on session language. */ | |
description?: string; | |
/** Contact email to the company */ | |
email?: string; | |
/** Unique identifier of instrument connected to the company (int32) */ | |
instrument_id: number; | |
/** Date when the stock was listed. Date on format yyyy-MM-dd */ | |
introduction_date?: string; | |
/** Isin code of instrument connected to the company */ | |
isin_code: string; | |
/** The company’s total market cap */ | |
market_cap?: Amount; | |
/** The name of the company */ | |
name?: string; | |
/** Sector the company is active in */ | |
sector?: string; | |
/** The company’s total number of shares (int32) */ | |
total_number_of_shares?: number; | |
/** URL to the company web site */ | |
url?: string; | |
} | |
export interface CompanyWithAddress { | |
/** Address row 1 */ | |
addressRow1: string; | |
/** Address row 2 */ | |
addressRow2: string; | |
/** Address row 3 */ | |
addressRow3: string; | |
/** City */ | |
city: string; | |
/** Company */ | |
company: Company; | |
/** Country code */ | |
countryCode: string; | |
/** Postal code */ | |
postalCode: string; | |
} | |
export interface CompletePreregistrationAccount { | |
/** External bank account number. */ | |
bank_account_number: string; | |
/** Preregistration id uniquely identifying preregistered account. (int32) */ | |
prereg_id: number; | |
/** The current status of the preregistered bank account. */ | |
status: "ACTIVE" | "DEREGISTERED" | "PENDING_ACTIVATION" | "PENDING_DEREGISTRATION" | "REJECTED" | "SENT_FOR_ACTIVATION" | "SENT_FOR_DEREGISTRATION"; | |
} | |
export interface CompletePreregistrationResponse { | |
/** The active preregistered account. */ | |
preregistered_account: CompletePreregistrationAccount; | |
} | |
export interface CompletedSignature { | |
/** True if the request was successful */ | |
is_success: boolean; | |
/** The request_id that the signature process was completed for */ | |
request_id: string; | |
/** The status (both for error and success) for the call */ | |
status: string; | |
} | |
export interface ConfigStatus { | |
/** Should the email config be used or not */ | |
invoice_email_status: "INACTIVE" | "ACTIVE"; | |
} | |
export interface ContactInfo { | |
/** Address of the customer */ | |
address1: string; | |
/** Additional address field */ | |
address2?: string; | |
/** Additional address field */ | |
address3?: string; | |
/** City where the customer is located */ | |
city: string; | |
/** Country where the customer is located */ | |
country: string; | |
/** Customer Number (int64) */ | |
customer_number: number; | |
/** Customer email-address */ | |
email?: string; | |
/** First name */ | |
first_name: string; | |
/** Last name */ | |
last_name: string; | |
/** Mobile phone number */ | |
mobile_phone_number?: string; | |
/** Area zip code */ | |
zip_code: string; | |
} | |
export interface ContactPerson { | |
/** Contact person */ | |
contact: string; | |
} | |
export interface ContinuousDeposit { | |
/** Amount to be added */ | |
deposit: Amount; | |
/** Interval unit. Possible values ['MONTHS', 'YEARLY'} */ | |
interval: string; | |
} | |
export interface CorpActionAnswerModel { | |
/** The accid for which you are responding (int64) */ | |
accid: number; | |
/** The event you are responding to (int64) */ | |
event_id: number; | |
/** Extra or the response */ | |
extra?: CorpActionQuantityModel; | |
/** Custom text answer of the response */ | |
text_answer?: string; | |
/** Volume of the response */ | |
volume?: CorpActionQuantityModel; | |
/** Volume cash of the response */ | |
volume_cash?: CorpActionQuantityModel; | |
/** Volume combination of the response */ | |
volume_combo?: CorpActionQuantityModel; | |
} | |
export interface CorpActionQuantityModel { | |
/** The amount of this quantity (double) */ | |
amount: number; | |
/** The type of this quantity */ | |
type: string; | |
} | |
export interface CorpActionResponseModel { | |
/** Id of the event (int64) */ | |
event_id: number; | |
/** The id of the response (int64) */ | |
id: number; | |
} | |
export interface CorporateActionValidAccount { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid?: number; | |
} | |
export interface CostUnit { | |
/** Id of cost unit (int32) */ | |
id: number; | |
/** Name of cost unit */ | |
name: string; | |
/** The plan id cost unit belongs to (int32) */ | |
planId: number; | |
} | |
export interface CountResponse { | |
/** Number of alarms for Instrument ID (int32) */ | |
count?: number; | |
/** The Nordnet instrument id (int32) */ | |
instrument_id?: number; | |
} | |
export interface Country { | |
/** The country code */ | |
country: string; | |
/** The translated name of the country */ | |
name: string; | |
} | |
export interface CountryResponse { | |
/** List of Countries to be d, array;isplayed in toppenlanet form */ | |
countries: ToppenlanetCountry[] | |
} | |
export interface CreateAgreementResponse { | |
/** Agreement id (int64) */ | |
agreement_id: number; | |
} | |
export interface CreateAutogiroDepositResponse { | |
/** Id of the created deposit (int32) */ | |
deposit_id: number; | |
} | |
export interface CreateInstrumentAlarmSpec { | |
/** These platforms will get noti, array;fications. Valid types are {\"EMAIL\", \"MOBILE\", \"SMS\", \"WEB\"} */ | |
active_notificationTypes?: string[] | |
/** The alarm type */ | |
alarm_type?: string; | |
/** The direction of the price when passing the trigger level */ | |
direction?: string; | |
/** The expiration timestamp (int64) */ | |
expiration_timestamp?: number; | |
/** Intrument ID (int64) */ | |
instrument_id?: number; | |
/** Setting for repetition of alarm */ | |
repeat_type?: string; | |
/** The snapshot price (double) */ | |
snapshot_price?: number; | |
/** The snapshot timestamp (int64) */ | |
snapshot_timestamp?: number; | |
/** The level on whcih an alarm should trigger (double) */ | |
trigger_level?: number; | |
} | |
export interface CreateInsuranceResponse { | |
/** Polling key for the creation request */ | |
insurance_request_id: string; | |
} | |
export interface CreateResponse { | |
/** The id of the created message (int32) */ | |
message_id: number; | |
} | |
export interface CreateSweetDocumentResponse { | |
/** A link to a sweet document */ | |
redirect_link: string; | |
} | |
export interface CreateTransferResponse { | |
/** The transfer-ids of the, array; created transfers */ | |
transfer_ids: number[]// [] | |
} | |
export interface CreateWithdrawalForbidenResponse { | |
/** The error code */ | |
code: string; | |
/** A status field that describes the error. Possible return values: LIMIT_EXCEEDED: Withdrawal limit exceeded for given account/accid, NOT_ENOUGH_BALANCE: User does not have enough balance in given account/accid, WITHDRAWAL_NOT_ALLOWED: Logged in user is not allowed to perform withdrawal, VALIDATION_FAILED: Any other validation failure. */ | |
status?: string; | |
} | |
export interface CreateWithdrawalResponse { | |
/** Created withdrawal id. (int32) */ | |
withdrawal_id: number; | |
} | |
export interface CreatedExchangeOrder { | |
/** Order id to display to customers */ | |
display_order_id: string; | |
/** If exchange order is locked for updates */ | |
locked_for_update: boolean; | |
/** Order id for the whole exchange */ | |
order_id: string; | |
/** The list of individual legs/part, array;s of the exchange. */ | |
orders_in_exchange: CreatedFundOrder[] | |
/** Registration date (int64) */ | |
reg_date: number; | |
/** Current state of the exchange order */ | |
state: "NOT_SENT"; | |
} | |
export interface CreatedFundOrder { | |
/** Instrument id in abasec (int64) */ | |
abasec_instrument_id: number; | |
/** The Nordnet account number (int64) */ | |
account_number: number; | |
/** Order amount, only applicable for BUY order */ | |
amount?: Amount; | |
/** Customer number (int64) */ | |
customer_number?: number; | |
/** Order id to display to customers */ | |
display_order_id: string; | |
/** Id of fond, related to non-daily traded funds (int64) */ | |
fund_id: number; | |
/** Type of group for instrument. */ | |
instrument_group_type?: string; | |
/** The instrument id of the fund. (int64) */ | |
instrument_id: number; | |
/** Type of instrument. */ | |
instrument_type?: string; | |
/** The instruments isincode */ | |
isincode: string; | |
/** if order is locked for updates */ | |
locked_for_update: boolean; | |
/** The instruments name */ | |
name: string; | |
/** Order id */ | |
order_id: string; | |
/** Indicate if order is a buy or sell order */ | |
order_side: "BUY" | "SELL"; | |
/** Order type */ | |
order_type: "FUND_ORDER" | "NON_DAILY_ORDER" | "EXCHANGE_ORDER"; | |
/** Percentage, only applicable for SELL order (int32) */ | |
percent?: number; | |
/** The date the order was inserted in unix timestamp (int64) */ | |
request_timestamp: number; | |
/** The date the order is scheduled to be sent to abasec in unix timestamp (int64) */ | |
send_date: number; | |
/** Current state of the order */ | |
state: "NOT_SENT"; | |
/** The instrument tradable of the fund. */ | |
tradable: TradableModel; | |
/** Volume, only applicable for SELL order (float) */ | |
volume?: number; | |
} | |
export interface CreationCheckModel { | |
/** If allowed to open currency account on available currency */ | |
account_permission: AccountPermission; | |
/** Available currency */ | |
currency: string; | |
} | |
export interface CreationRequest { | |
/** The type of the request. Indicating what system is handling it. request_type='CUSTOMER'|'UPDATE_CUSTOMER'|'ACCOUNT' */ | |
request_type: string; | |
/** The status of the request from the system handling it. Only available once customer creation has been invoked. status = 'queued'|'running'|'failed'|'done' */ | |
status?: string; | |
} | |
export interface CredentialsRequest { | |
/** The current password */ | |
current_password?: string; | |
/** Force logging out from all sessions */ | |
force_logout?: string; | |
/** The new password */ | |
new_password?: string; | |
/** The new username */ | |
new_username?: string; | |
} | |
export interface CreditLimitUtilizationModel { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid?: number; | |
/** The Nordnet account number (int64) */ | |
accno: number; | |
/** Total K50 limit possibly limited by total credit limit */ | |
effective_k50_limit: Amount; | |
/** Total portfolio limit possibly limited by total credit limit */ | |
effective_portfolio_pawn_limit: Amount; | |
/** How much of the K50 limit remains */ | |
remaining_k50_limit: Amount; | |
/** How much of the portfolio limit remains */ | |
remaining_portfolio_limit: Amount; | |
/** How much of the vip limit remains */ | |
remaining_vip_limit: Amount; | |
/** The total balance of customer account (with currency and pledge accounts included */ | |
total_balance: Amount; | |
/** Customers total credit limit, constrains portfolio limit and K50 but does not affect the vip limit */ | |
total_credit_limit: Amount; | |
/** K50 is another credit that is not used anymore but some customers still have it. Is used after portfolio limit */ | |
total_k50_limit: Amount; | |
/** This value is a sum of the pawn values of all instruments in portfolio, minus short positions and orders */ | |
total_portfolio_pawn_value: Amount; | |
/** Vip limit is an intra day limit that can be used without charge intra day, is used after portfolia and K50 limits */ | |
total_vip_limit: Amount; | |
/** How much of the K50 limit is currently used */ | |
utilized_k50_limit: Amount; | |
/** How much of the portfolio limit is currently used */ | |
utilized_portfolio_limit: Amount; | |
/** How much of the vip limit is currently used */ | |
utilized_vip_limit: Amount; | |
} | |
export interface CreditRequirements { | |
/** If the user passed the minor requirement, if false the check failed, user is minor. */ | |
not_minor: boolean; | |
/** If the account type is valid for credit */ | |
valid_account_type: boolean; | |
/** If the user has a role on the account that is allowed. */ | |
valid_role: boolean; | |
} | |
export interface CurrencyAccount { | |
/** Is it possible to close/remove account */ | |
closeable: boolean; | |
/** This currency account’s currency */ | |
currency: string; | |
/** Is it possible for logged in user to exchange on this account. */ | |
exchange_allowed: boolean; | |
/** Credit interest in account’s currency. */ | |
interest_credit: Amount; | |
/** Debit interest in account’s currency. */ | |
interest_debit: Amount; | |
/** Account status. */ | |
status: "ACTIVE" | "ACTIVATING" | "CLOSING"; | |
/** Balance of currency account */ | |
sum: Amount; | |
/** Balance of currency account in customer’s base currency */ | |
sum_account_curr: Amount; | |
} | |
export interface CurrencyAccountCreationChecksModel { | |
/** If currency accounts are allowe, array;d to create */ | |
creation_checks: CreationCheckModel[] | |
/** If account has credit agreement */ | |
has_credit_agreement: boolean; | |
} | |
export interface CurrencyAccountCreationCreateResponse { | |
/** The accid used in the request (int32) */ | |
accid: number; | |
/** Id of the creation request */ | |
currency_account_creation_request_id: string; | |
/** The currency code used in the request */ | |
currency_code: "SEK" | "DKK" | "NOK" | "EUR" | "USD" | "CAD"; | |
/** The status of the request. */ | |
status: "queued" | "running" | "done" | "rejected" | "failed" | "nightly_downtime"; | |
} | |
export interface CurrencyAccountCreationRequest { | |
/** The account identifier for the account. Some systems can or must use the account number as account identifier (int64) */ | |
accid: number; | |
/** Currency code */ | |
currency_code: "SEK" | "DKK" | "NOK" | "EUR" | "USD" | "CAD"; | |
} | |
export interface CurrencyBalanceSummaryItem { | |
/** The account balance for a corresponding currency at the start of the interval */ | |
from_balance: Amount; | |
/** The account balance for a corresponding currency at the end of the interval */ | |
to_balance: Amount; | |
/** The account balance for a corresponding currency today */ | |
today_balance: Amount; | |
} | |
export interface CurrencyExchangeAccountsResponse { | |
/** Customer’s available cur, array;rencies. */ | |
available_currencies: string[] | |
/** Customer’s base currency. */ | |
base_currency: string; | |
/** List of customer’s currency ac, array;counts. */ | |
currency_accounts: CurrencyAccount[] | |
} | |
export interface CurrencyExchangeApproximationModel { | |
/** Amount to exchange from (double) */ | |
from_amount?: number; | |
/** Currency to exchange from */ | |
from_currency: string; | |
/** Amount to exchange to (double) */ | |
to_amount?: number; | |
/** Currency to exchange to */ | |
to_currency: string; | |
} | |
export interface CurrencyExchangeApproximationResponseModel { | |
/** Calculated amount based on in parameters and prel exchange rate (double) */ | |
amount?: number; | |
/** Preliminary exchange rate (double) */ | |
exchange_rate: number; | |
} | |
export interface CurrencyExchangeCreateOrderModel { | |
/** Amount to exchange from */ | |
from_amount?: AmountOptionalValue; | |
/** Amount to exchange to */ | |
to_amount?: AmountOptionalValue; | |
} | |
export interface CurrencyExchangeCreateOrderResponseModel { | |
/** The Nordnet account number (int64) */ | |
account_number: number; | |
/** If the order is in a state where it still can be deleted */ | |
deletable_order: boolean; | |
/** Order from amount. */ | |
from_amount?: AmountOptionalValue; | |
/** Exchange order id. (int32) */ | |
id: number; | |
/** Creation date and time as UNIX timestamp in milliseconds. (int64) */ | |
insert_date: number; | |
/** Order status. */ | |
order_status: "WITHDRAW" | "CANCELLED" | "INSERTED" | "PROCESSING" | "FAILED" | "DONE"; | |
/** Preliminary exchange rate. (double) */ | |
prel_rate: number; | |
/** Preliminary value from the exchange. (double) */ | |
prel_value: number; | |
/** Order to amount. */ | |
to_amount?: AmountOptionalValue; | |
} | |
export interface CurrencyExchangeOrdersResponse { | |
/** The Nordnet account number (int64) */ | |
account_number: number; | |
/** If the order is in a state where it still can be deleted */ | |
deletable_order: boolean; | |
/** Order from amount. */ | |
from_amount?: Amount; | |
/** Exchange order id. (int32) */ | |
id: number; | |
/** Creation date and time as UNIX timestamp in milliseconds. (int64) */ | |
insert_date: number; | |
/** Order status. */ | |
order_status: "WITHDRAW" | "CANCELLED" | "INSERTED" | "PROCESSING" | "FAILED" | "DONE"; | |
/** Preliminary exchange rate. (double) */ | |
prel_rate: number; | |
/** Preliminary value from the exchange. (double) */ | |
prel_value: number; | |
/** Order to amount. */ | |
to_amount?: Amount; | |
} | |
export interface CurrencyTransactionsSummaryItem { | |
/** The total amount of inflows for a corresponding currency */ | |
in_flow: Amount; | |
/** The total amount of outflows for a corresponding currency */ | |
out_flow: Amount; | |
/** The net amount of inflows and outflows for a corresponding currency */ | |
total: Amount; | |
} | |
export interface CustomCharge { | |
/** Interval at which the fee should be calculated. Possible values ['DAILY'} */ | |
calculation_interval: string; | |
/** Type of charge. Possible values ['ONGOING'} */ | |
charge_family: string; | |
/** Charge specification */ | |
charge_specification: ChargeSpecification; | |
/** Interval at which the charge should be deducted from the investment */ | |
payment_interval: string; | |
} | |
export interface CustomerAccountCreationTemplatesEligibility { | |
/** Permission regarding opening an account */ | |
account_permission: AccountPermission; | |
/** The name of the template */ | |
account_type: string; | |
} | |
export interface CustomerContextModel { | |
/** The account creation status for a user */ | |
account?: AccountModel; | |
/** A state object describing how far a customer has gotten in the signup process, values: [NOT_STARTED, ASSESSED - customer is assessed, ACCOUNT_CREATED - an account number exists, INELIGIBLE - account creation was rejected, ONBOARDED - customer has signed with bankid for autogiro} */ | |
customer_progress: string; | |
/** The preregistered account creation information */ | |
external_account?: PreRegisteredAccount; | |
/** The autosave savings plan for a user */ | |
savings_plan?: SavingsPlanModel; | |
/** Different risk scores for a user */ | |
scores?: ScoresModel; | |
/** Information regarding trading prerequisites. This property is undefined if any of the underlying properties cannot be fetched. */ | |
trading_prerequisites?: TradingPrerequisitesModel; | |
} | |
export interface CustomerCreation { | |
/** Status for creation of customer.\nPossible values = ['FAILED', 'DONE'} */ | |
status: string; | |
} | |
export interface CustomerCreationStatus { | |
/** The status of the process of creating a customer from a prospect. e.g: 'uninitiated' or 'customer_creation_started' */ | |
creation_process_status: string; | |
/** Detailed information about the, array; status of the customer requests */ | |
creation_requests: CreationRequest[] | |
/** True if all the creation_requests have status DONE */ | |
done: boolean; | |
/** Flag to signal that all new creation requests will be queued until morning due to the nightly database jobs */ | |
nightly_downtime: boolean; | |
} | |
export interface CustomerInformation { | |
/** Address of the customer */ | |
address1: string; | |
/** Additional address field */ | |
address2?: string; | |
/** Additional address field */ | |
address3?: string; | |
/** The citizenship of the customer */ | |
citizen: string; | |
/** City where the customer is located */ | |
city: string; | |
/** Country where the customer is located */ | |
country: string; | |
/** Customer email-address */ | |
email?: string; | |
/** First name */ | |
first_name: string; | |
/** Last name */ | |
last_name: string; | |
/** LEI-code, for JUR customers */ | |
legal_entity_id?: string; | |
/** Mobile phone number */ | |
mobile_phone_number?: string; | |
/** What we in Sweden call 'personnummer' */ | |
national_id_number: string; | |
/** Country code of the national_id_number */ | |
national_id_number_country_code: string; | |
/** Person type */ | |
person_type: string; | |
/** Registration date of the customer in YYYY-MM-DD format (date) */ | |
registration_date?: string; | |
/** Area zip code */ | |
zip_code: string; | |
} | |
export interface CustomerInvestmentProfile { | |
/** Customer’s investment profile */ | |
investment_profile: "GENERATION_SAVINGS" | "PENSION_SAVINGS_PLAN_HIGH" | "PENSION_SAVINGS_PLAN_MEDIUM" | "PENSION_SAVINGS_PLAN_LOW" | "CASH"; | |
} | |
export interface CustomerPreregConnectionModel { | |
/** customer number owning preregistering accounts (int32) */ | |
customer_number: number; | |
/** name of customer owning preregistering accounts */ | |
name: string; | |
/** List of preregistered accounts correspon, array;ding to customer. */ | |
preregistered_accounts: PreregisteredAccount[] | |
/** role of logged user with respect to customer owning the preregistered accounts */ | |
role: string; | |
} | |
export interface CustomerRegistration { | |
/** Country where the customer lives */ | |
address_country?: string; | |
/** Individual or entity */ | |
customer_type: string; | |
/** Juristdiction */ | |
jurisdiction: string; | |
/** Know Your Customer information */ | |
kyc?: CustomerRegistrationKyc; | |
/** National identification number */ | |
national_id_number?: string; | |
/** Country for the format of the national identification number */ | |
national_id_number_country_code?: string; | |
/** Politicly Exposed Person information */ | |
pep?: CustomerRegistrationPep; | |
/** Tax info */ | |
tax_info?: CustomerRegistrationTaxInfo; | |
} | |
export interface CustomerRegistrationJurisdiction { | |
/** Country */ | |
country?: string; | |
/** Tax identification number */ | |
tax_identification_number?: string; | |
} | |
export interface CustomerRegistrationKyc { | |
/** KYC answers , array */ | |
answers?: CustomerRegistrationKycAnswer[] | |
} | |
export interface CustomerRegistrationKycAnswer { | |
/** answer_id (int32) */ | |
answer_id?: number; | |
/** free text field */ | |
free_text?: string; | |
/** question_id (int32) */ | |
question_id?: number; | |
} | |
export interface CustomerRegistrationPep { | |
/** Is this a Politicly Exposed Person */ | |
is_pep: boolean; | |
} | |
export interface CustomerRegistrationTaxInfo { | |
/** Internal Nordnet accou, array;nt type code. e.g: DEP, ISK */ | |
account_type_codes: string[] | |
/** Birth country */ | |
birth_country?: string; | |
/** Birth place */ | |
birth_place?: string; | |
/** Default tax country */ | |
default_tax_country?: string; | |
/** Only for companies, (active or passive) */ | |
entity_type?: string; | |
/** Company Global Intermediary Identification Number */ | |
giin?: string; | |
/** Is this company a financial institute */ | |
is_financial_institute?: boolean; | |
/** Jurisdictions */ | |
jurisdictions?: CustomerRegistrationJurisdiction; | |
/** Is the customer taxable in the jurisdiction */ | |
taxable_in_jurisdiction?: boolean; | |
/** Is the customer taxable outside of the jurisdiction */ | |
taxable_outside_jurisdiction?: boolean; | |
} | |
export interface CustomerRegulationResponse { | |
/** Unique regulation id */ | |
regulation_id: string; | |
/** Complete or incomplete */ | |
status: string; | |
} | |
export interface CustomerRelation { | |
/** The customer number (int32) */ | |
cstno: number; | |
/** The role of the customer that is retrieved from the NASA database */ | |
role: string; | |
} | |
export interface DailyWithdrawalLimit { | |
/** The max amount allowed to withdraw daily */ | |
max_limit: Amount; | |
/** The remaining amount allowed to withdraw during the day */ | |
remaining: Amount; | |
} | |
export interface DeletePreregResponse { | |
/** Indicaion whether or not the deleting operation was successfull */ | |
is_success: boolean; | |
/** A message indicating the result of the operation */ | |
result: string; | |
} | |
export interface DeletedExchangeOrder { | |
/** Order id to display to customers */ | |
display_order_id: string; | |
/** If exchange order is locked for updates */ | |
locked_for_update: boolean; | |
/** Order id for the whole exchange */ | |
order_id: string; | |
/** The list of individual legs/part, array;s of the exchange. */ | |
orders_in_exchange: DeletedFundOrder[] | |
/** Registration date (int64) */ | |
reg_date: number; | |
/** Current state of the exchange order */ | |
state: "CANCELLED" | "PENDING_CANCELLATION"; | |
} | |
export interface DeletedFundOrder { | |
/** Instrument id in abasec (int64) */ | |
abasec_instrument_id?: number; | |
/** The Nordnet account number (int64) */ | |
account_number: number; | |
/** Order amount, only applicable for BUY order */ | |
amount?: Amount; | |
/** Customer number (int64) */ | |
customer_number?: number; | |
/** Order id to display to customers */ | |
display_order_id: string; | |
/** Id of fond, related to non-daily traded funds (int64) */ | |
fund_id?: number; | |
/** Type of group for instrument. */ | |
instrument_group_type?: string; | |
/** The instrument id of the fund. (int64) */ | |
instrument_id?: number; | |
/** Type of instrument. */ | |
instrument_type?: string; | |
/** The instruments isincode */ | |
isincode?: string; | |
/** if order is locked for updates */ | |
locked_for_update: boolean; | |
/** The date the order was last updated in unix timestamp (int64) */ | |
modification_timestamp: number; | |
/** The instruments name */ | |
name?: string; | |
/** Order id */ | |
order_id: string; | |
/** Indicate if order is a buy or sell order */ | |
order_side: "BUY" | "SELL"; | |
/** Order type */ | |
order_type: "FUND_ORDER" | "NON_DAILY_ORDER" | "EXCHANGE_ORDER"; | |
/** Percentage, only applicable for SELL order (int32) */ | |
percent?: number; | |
/** The date the order was inserted in unix timestamp (int64) */ | |
request_timestamp: number; | |
/** The date the order is scheduled to be sent to abasec in unix timestamp (int64) */ | |
send_date: number; | |
/** Current state of the order */ | |
state: "CANCELLED" | "PENDING_CANCELLATION"; | |
/** The instrument tradable of the fund. */ | |
tradable?: TradableModel; | |
/** Volume, only applicable for SELL order (float) */ | |
volume?: number; | |
} | |
export interface DepositAgreement { | |
/** Account the agreement belongs to (int32) */ | |
account_number: number; | |
/** True if this agreement is active and tries to deposit money */ | |
active: boolean; | |
/** Id of the monthly deposit agreement. (int64) */ | |
agreement_id: number; | |
/** The deposit amount */ | |
amount: DepositAmount; | |
/** The unix timestamp in milliseconds when this deposit was created (int64) */ | |
created_timestamp: number; | |
/** The day the deposit should be made (int32) */ | |
payment_day: number; | |
/** The id for the preregistered account to deposit from (int32) */ | |
prereg_id: number; | |
} | |
export interface DepositAmount { | |
/** The currency code */ | |
currency: "DKK" | "EUR" | "NOK" | "SEK"; | |
/** The amount of currency (int32) */ | |
value: number; | |
} | |
export interface DepositLimit { | |
/** The max amount allowed to deposit */ | |
max_limit: Amount; | |
/** The remaining amount allowed to deposit */ | |
remaining: Amount; | |
} | |
export interface DerivativeInfo { | |
/** The contract multiplier of the derivative (int32) */ | |
contract_multiplier?: number; | |
/** The expire date for the derivative in Epoch time (int64) */ | |
expire_date?: number; | |
/** The start date for the derivative in Epoch time (int64) */ | |
start_date?: number; | |
} | |
export interface DeviceNotificationStatus { | |
/** ACTIVATED or DEACTIVATED */ | |
device_notification_status: string; | |
} | |
export interface DiffWithDecimals { | |
/** Number of decimals (int32) */ | |
decimals?: number; | |
/** The diff (double) */ | |
diff?: number; | |
} | |
export interface DiscretionaryMandateRequest { | |
/** Identifier of the stakeholder (int32) */ | |
stakeholder_id: number; | |
} | |
export interface Document { | |
/** Tells what account number this document is for (int64) */ | |
accno: number; | |
/** If the customer has named the account it shows up in this field */ | |
account_alias?: string; | |
/** Account code */ | |
account_code?: string; | |
/** Account type identifier (int32) */ | |
atyid: number; | |
/** If the account is cancelled, this date tells when it was done (otherwise value is not set) (date) */ | |
deregdate?: string; | |
/** Document id, the document type and document id identifies the document */ | |
document_id: string; | |
/** Tells what type of document it is */ | |
document_type: "PENSION_ANNUAL_STATEMENT" | "BANK_ANNUAL_STATEMENT" | "COST_REPORT" | "ADJUSTMENT_LETTER" | "ANNUAL_INCOME_STATEMENT"; | |
/** What role does the customer have in the account */ | |
role?: string; | |
/** What year is this document for (int32) */ | |
year: number; | |
} | |
export interface EmittingInsuranceProvider { | |
/** emitting insurance provider name */ | |
emitting_insurance_provider_name: string; | |
/** national registration number */ | |
national_registration_number: string; | |
} | |
export interface EmittingInsuranceProviderResponse { | |
/** emitting insurance provider */ | |
emitting_insurance_provider: EmittingInsuranceProvider; | |
/** transfers , array */ | |
transfers: PensionTransfer[] | |
} | |
export interface EmployeeEmployment { | |
/** Empoyments of the e, array;mployee */ | |
employments: Employment[] | |
/** Person id (int32) */ | |
personId: number; | |
} | |
export interface EmployeeInsurance { | |
/** When was the insurance de-selected (date) */ | |
insuranceDeselectedDate: string; | |
/** The insurance number */ | |
insuranceId: string; | |
/** Insurance start date (date) */ | |
insuranceStartDate: string; | |
/** The insurance status */ | |
insuranceStatus: "IN_FORCE" | "CANCELLED" | "TRANSFERRED" | "OTHER"; | |
/** The pension plans group id (int32) */ | |
pensionPlanGroupId: number; | |
/** The product name */ | |
productName: string; | |
/** Total amount value payed */ | |
totalAmountPayed: string; | |
/** Category of product, variant */ | |
variantCategory: "B" | "T" | "P" | "K" | "NOS" | "NOP" | "NOEUL" | "_2" | "_3" | "AP" | "AS" | "EP" | "DK" | "LF" | "SJUK" | "PB" | "ALD"; | |
} | |
export interface Employment { | |
/** Inca case description code */ | |
caseDescriptionCode: "RISK_ASSESSMENT" | "RISK_CLASS_CHANGED" | "EMPLOYMENT_CHANGE" | "DAMAGE" | "PLAN_GROUP_CHANGE" | "PENSION_PLAN_GROUP_TERMS_CHANGED" | "NEW_EMPLOYMENT" | "MANUAL_RECALCULATIONRECALCULATION_BLOCK" | "PLAN_RECALCULATION" | "CHANGED_START_DATE" | "CONTRACT_YEAR_DAY" | "BIRTHDAY"; | |
/** Flag for if the employment contains risk */ | |
containsRisk: boolean; | |
/** The employers id (int32) */ | |
employerId: number; | |
/** End date of employment (date) */ | |
employmentEndDate: string; | |
/** The employment id (int32) */ | |
employmentId: number; | |
/** Start date of employment (date) */ | |
employmentStartDate: string; | |
/** Status of employee */ | |
employmentStatus: "ACTIVE" | "TERMINATED" | "TERMINATED_IN_FUTURE" | "LEAVE" | "SICK"; | |
/** Ended Absences , array */ | |
endedAbsences: Absence[] | |
/** Flag for has case */ | |
hasCase: boolean; | |
/** The name belonging to the employment */ | |
name: string; | |
/** Open Absence */ | |
openAbsence: Absence; | |
/** The pension plan group */ | |
pensionPlanGroup: string; | |
/** Pension plan group id (int32) */ | |
pensionPlanGroupId: number; | |
/** The person id (int32) */ | |
personId: number; | |
/** The official id of person */ | |
personOfficialId: string; | |
/** Premiums , array */ | |
premiums: Premium[] | |
/** Salaries , array */ | |
salaries: Salary[] | |
} | |
export interface EmploymentDetail { | |
/** Cost unit */ | |
costUnit: string; | |
/** Email adress */ | |
emailAddress: string; | |
/** Employee id (int32) */ | |
employeeId: number; | |
/** Type of employee */ | |
employeeType: "OWNER" | "EMPLOYEE"; | |
/** The employer’s employment reference */ | |
employmentNumber: string; | |
} | |
export interface EmploymentInsurance { | |
/** The contract id of the insurance (int32) */ | |
contractId: number; | |
/** The employment id (int32) */ | |
employmentId: number; | |
/** The insurance id */ | |
insuranceId: string; | |
/** The product name */ | |
productName: string; | |
} | |
export interface EmploymentLight { | |
/** Flag for if the employment contains risk */ | |
containsRisk: boolean; | |
/** Employers id (int32) */ | |
employerId: number; | |
/** End date of employment (date) */ | |
employmentEndDate: string; | |
/** Employment id (int32) */ | |
employmentId: number; | |
/** Start date of employment (date) */ | |
employmentStartDate: string; | |
/** Status of employee, light version, 'Active' may include 'Sick' and 'Leave' */ | |
employmentStatus: "ACTIVE" | "TERMINATED" | "TERMINATED_IN_FUTURE"; | |
/** List of ended abse, array;nces, empty */ | |
endedAbsences: Absence[] | |
/** Flag for has case */ | |
hasCase: boolean; | |
/** Name of employee */ | |
name: string; | |
/** Pension plan group id (int32) */ | |
pensionPlanGroupId: number; | |
/** Employee/Person id (int32) */ | |
personId: number; | |
/** Official id of employee */ | |
personOfficialId: string; | |
/** List of premi, array;ums, empty */ | |
premiums: Premium[] | |
/** List of sala, array;ries, empty */ | |
salaries: Salary[] | |
} | |
export interface EndAbsenceRequest { | |
/** Absence end date (date) */ | |
absenceEndDate: string; | |
/** Employment id (int32) */ | |
employmentId: number; | |
/** Fully fit for work */ | |
fullyFitForWork: boolean; | |
} | |
export interface EndAbsenceResult { | |
/** Absence end date (date) */ | |
absenceEndDate: string; | |
/** Absence start date (date) */ | |
absenceStartDate: string; | |
/** Type of absence */ | |
absenceType: "SICK" | "MILITARY" | "PARENTAL_LEAVE" | "STUDIES" | "OTHER"; | |
/** Employee name */ | |
employeeName: string; | |
/** Person official id of employee (int32) */ | |
employeePersonOfficialId: number; | |
/** Error message */ | |
errorMessage: string; | |
/** Finished datetime (date-time) */ | |
finishedDateTime: string; | |
/** Fully fit for work */ | |
fullyFitForWork: boolean; | |
/** Id (int64) */ | |
id: number; | |
/** Inca error code */ | |
incaErrorCode: "DEFAULT" | "RECALC_WITH_NO_CASE" | "PREMIUM_TOO_LOW" | "BENEFIT_PB_TOO_HIGH" | "START_BEFORE_EMPLOYMENT" | "CONTAINS_RISK_NOT_FULLYFIT" | "PREMIUM_DO_NOT_COVER_RISK" | "OPTIMISTIC_LOCK_IN_DB" | "ADJUSTMENT_PREMIUM_NOT_FOUND" | "EMPLOYMENT_TERMS_NOT_FOUND" | "LATEST_TRANSACTION_DATETIME_ERROR" | "PENDING_RISK_ASSESSMENT_EXISTS" | "EMPLOYMENT_ALREADY_EXISTS" | "CHANGE_TOO_EARLY" | "CHANGE_TOO_LATE" | "ABSENCE_TOO_EARLY" | "ABSENCE_TOO_LATE" | "END_ABSENCE_TOO_EARLY" | "END_ABSENCE_TOO_LATE" | "END_ABSENCE_TOO_LONG" | "END_ABSENCE_WITH_RISK_ASSESSMENT" | "END_ABSENCE_RISK_REMAINS" | "END_ABSENCE_NOT_ALLOWED_WHEN_RISK_AND_NOT_FULLY_ABSENT" | "ABSENCE_PB_DOES_NOT_FOLLOW_INSURANCE" | "ABSENCE_SICK_NOT_ALLOWED" | "ABSENCE_TYPE_NOT_UNIQUE" | "ABSENCE_PRODUCTS_NOT_FOUND" | "ABSENCE_MISSING" | "ABSENCE_IND_CHOICE_CONTAINS_AMOUNTS" | "ABSENCE_START_DATE_IN_ENDED_ABSENCE_PERIOD" | "ABSENCE_VALID_ENDED_ABSENCE_EXISTS" | "EMPLOYEE_TOO_YOUNG" | "EMPLOYEE_TOO_OLD" | "EMPLOYMENT_INDIVIDUAL_CHOICE_UPDATE_ERROR" | "EMPLOYEE_NOT_APPROVED_AGE_FOR_RISK_BENEFIT" | "NEW_EMPLOYMENT_WHEN_PPG_CHANGED_ERROR" | "END_EMPLOYMENT_WHEN_PPG_CHANGED_ERROR" | "EMPLOYMENT_UPDATE_ON_NON_ACTIVE_ERROR" | "EMPLOYMENT_UPDATE_ON_CASE_ERROR" | "EMPLOYMENT_UPDATE_VALUE_MISSING"; | |
/** Pension plan group id (int32) */ | |
pensionPlanGroupId: number; | |
/** Pension plan group name */ | |
pensionPlanGroupName: string; | |
/** Employment update status */ | |
status: "NEW" | "PROCESSING" | "DONE" | "CANCELLED" | "FAILED"; | |
} | |
export interface EndEmploymentRequest { | |
/** Employment end date (date) */ | |
employmentEndDate: string; | |
/** Employment id (int32) */ | |
employmentId: number; | |
} | |
export interface EndEploymentResult { | |
/** Employee name */ | |
employeeName: string; | |
/** Person official id of employee (int32) */ | |
employeePersonOfficialId: number; | |
/** Employment end date (date) */ | |
employmentEndDate: string; | |
/** Employment id (int32) */ | |
employmentId: number; | |
/** Error message */ | |
errorMessage: string; | |
/** Finished datetime (date-time) */ | |
finishedDateTime: string; | |
/** Id (int64) */ | |
id: number; | |
/** Inca error code */ | |
incaErrorCode: "DEFAULT" | "RECALC_WITH_NO_CASE" | "PREMIUM_TOO_LOW" | "BENEFIT_PB_TOO_HIGH" | "START_BEFORE_EMPLOYMENT" | "CONTAINS_RISK_NOT_FULLYFIT" | "PREMIUM_DO_NOT_COVER_RISK" | "OPTIMISTIC_LOCK_IN_DB" | "ADJUSTMENT_PREMIUM_NOT_FOUND" | "EMPLOYMENT_TERMS_NOT_FOUND" | "LATEST_TRANSACTION_DATETIME_ERROR" | "PENDING_RISK_ASSESSMENT_EXISTS" | "EMPLOYMENT_ALREADY_EXISTS" | "CHANGE_TOO_EARLY" | "CHANGE_TOO_LATE" | "ABSENCE_TOO_EARLY" | "ABSENCE_TOO_LATE" | "END_ABSENCE_TOO_EARLY" | "END_ABSENCE_TOO_LATE" | "END_ABSENCE_TOO_LONG" | "END_ABSENCE_WITH_RISK_ASSESSMENT" | "END_ABSENCE_RISK_REMAINS" | "END_ABSENCE_NOT_ALLOWED_WHEN_RISK_AND_NOT_FULLY_ABSENT" | "ABSENCE_PB_DOES_NOT_FOLLOW_INSURANCE" | "ABSENCE_SICK_NOT_ALLOWED" | "ABSENCE_TYPE_NOT_UNIQUE" | "ABSENCE_PRODUCTS_NOT_FOUND" | "ABSENCE_MISSING" | "ABSENCE_IND_CHOICE_CONTAINS_AMOUNTS" | "ABSENCE_START_DATE_IN_ENDED_ABSENCE_PERIOD" | "ABSENCE_VALID_ENDED_ABSENCE_EXISTS" | "EMPLOYEE_TOO_YOUNG" | "EMPLOYEE_TOO_OLD" | "EMPLOYMENT_INDIVIDUAL_CHOICE_UPDATE_ERROR" | "EMPLOYEE_NOT_APPROVED_AGE_FOR_RISK_BENEFIT" | "NEW_EMPLOYMENT_WHEN_PPG_CHANGED_ERROR" | "END_EMPLOYMENT_WHEN_PPG_CHANGED_ERROR" | "EMPLOYMENT_UPDATE_ON_NON_ACTIVE_ERROR" | "EMPLOYMENT_UPDATE_ON_CASE_ERROR" | "EMPLOYMENT_UPDATE_VALUE_MISSING"; | |
/** Pension plan group name */ | |
pensionPanGroupName: string; | |
/** Pension plan group id (int32) */ | |
pensionPlanGroupId: number; | |
/** Employment update status */ | |
status: "NEW" | "PROCESSING" | "DONE" | "CANCELLED" | "FAILED"; | |
} | |
export interface Entry { | |
/** Column id (int32) */ | |
columnId: number; | |
/** Row id (int32) */ | |
rowId: number; | |
/** Salary to premium quantity (double) */ | |
salaryToPremiumQuantity: number; | |
} | |
export interface EnumField { | |
/** editable */ | |
editable?: boolean; | |
/** mandatory */ | |
mandatory?: boolean; | |
/// todo - what is the enum thing /** Tells what the valid values are Enum */ | |
valid_values?: string; | |
} | |
export interface Environment { | |
/** The environment of the server. Examples: prod, test */ | |
environment: string; | |
/** Connection information for the private feed */ | |
private_feed: Feed; | |
/** Connection information for the public feed */ | |
public_feed: Feed; | |
} | |
export interface EpkPair { | |
/** Active account number (int32) */ | |
active: number; | |
/** Passive account number (int32) */ | |
passive: number; | |
} | |
export interface ErrorField { | |
/** Error code */ | |
code?: string; | |
/** The field name with the error */ | |
field: string; | |
/** Error message */ | |
message?: string; | |
} | |
export interface ErrorResponse { | |
/** The error code */ | |
code: string; | |
/** A human readable error if available. This message is translated. */ | |
message?: string; | |
} | |
export interface EtfPlanModel { | |
/** The amount to invest (int64) */ | |
amount: number; | |
/** The items in the plan , array */ | |
items: SavingsPlanInstrument[] | |
} | |
export interface EtfPreliminaryModel { | |
/** The instruments in thi, array;s template */ | |
items: PreliminaryPlanItem[] | |
/** The estimated total value to be invested (double) */ | |
preliminary_total_value: number; | |
} | |
export interface EtfTemplateModel { | |
/** The instruments in this , array;template */ | |
items: SavingsPlanInstrument[] | |
} | |
export interface EtpInfo { | |
/** The direction of a certificate, translated to user’s language */ | |
direction?: string; | |
/** The first trading date of the ETP in Epoch time (int64) */ | |
first_trading_date?: number; | |
/** The market view of leverage ETPs */ | |
market_view?: string; | |
/** If the instrument is part of Nordnet Markets */ | |
nordnet_markets?: boolean; | |
/** The id of the underlying instrument (int64) */ | |
underlying_instrument_id?: number; | |
/** The short name of the underlying instrument */ | |
underlying_name?: string; | |
} | |
export interface EtpInstrument { | |
/** Certificates information */ | |
certificate_info?: CertificateInfo; | |
/** Derivative related information */ | |
derivative_info?: DerivativeInfo; | |
/** ETP information */ | |
etp_info?: EtpInfo; | |
/** Information regarding the instrument/tradable on the exchange */ | |
exchange_info?: ExchangeInfo; | |
/** Instrument information. The same instrument info may appear in multiple search results if there are multiple tradables or fund universes. */ | |
instrument_info?: InstrumentInfo; | |
/** Additional calculated features for knock-out instrument related price information */ | |
ko_calc_info?: KoCalcInfo; | |
/** Information related to knock-out instruments */ | |
ko_info?: KoInfo; | |
/** Market information, identifies which market the price info is collected from */ | |
market_info?: MarketInfo; | |
/** Price information, representing an exchange traded model containing top-of-book info */ | |
price_info?: PriceInfo; | |
/** Knock-out instrument related price information */ | |
price_ko_info?: PriceKoInfo; | |
/** Information regarding the current trading status from market */ | |
status_info?: StatusInfo; | |
/** Instrument information about the underlying instrument */ | |
underlying_info?: UnderlyingInfo; | |
} | |
export interface ExchangeFundOrderRequest { | |
/** The account identifier for the account. Some systems can or must use the account number as account identifier (int64) */ | |
accid: number; | |
/** each individual sell and bu, array;y of the exchange. */ | |
fund_order_inserts: ExchangeLeg[] | |
} | |
export interface ExchangeFundOrderResponse { | |
/** The created fund order if successful */ | |
exchange_order?: CreatedExchangeOrder; | |
} | |
export interface ExchangeInfo { | |
/** Which country is the instrument traded in */ | |
exchange_country?: string; | |
} | |
export interface ExchangeLeg { | |
/** The instrument id of the fund, tradable is an alternative input. (int64) */ | |
instrument_id?: number; | |
/** Indicate if order is a buy or sell order */ | |
orderside: "BUY" | "SELL"; | |
/** Percentage of holding, only used when selling (int32) */ | |
percent: number; | |
/** The tradables of the fund instrument, instrument_id is an alternative input. */ | |
tradable?: TradableModel; | |
} | |
export interface ExchangeOrderV1 { | |
/** Order id to display to customers */ | |
display_order_id: string; | |
/** If exchange order is locked for updates */ | |
locked_for_update: boolean; | |
/** Order id for the whole exchange */ | |
order_id: string; | |
/** The list of individual legs, array;/parts of the exchange. */ | |
orders_in_exchange: FundOrderV1[] | |
/** Registration date (int64) */ | |
reg_date: number; | |
/** Current state of the exchange order */ | |
state: "PENDING_CANCELLATION" | "CANCELLED" | "NOT_SENT" | "SENT" | "BELOW_MININVEST" | "PROCESSING" | "LOCKED" | "WAITING_FOR_ACC" | "SEND_ORDER_FAILED" | "WAITING_FOR_SALES_DATE" | "MISSING_TRADING_POWER" | "DONE"; | |
} | |
export interface ExchangeOrderV2 { | |
/** Order id to display to customers */ | |
display_order_id: string; | |
/** True if order is locked for updates, i.e. can’t be deleted, otherwise false */ | |
locked_for_update: boolean; | |
/** Order id for the whole exchange */ | |
order_id: string; | |
/** List of legs of the exchang, array;e order */ | |
orders_in_exchange: FundOrderV2[] | |
/** Registration date of order (int64) */ | |
reg_date: number; | |
/** Current state of the exchange order */ | |
state: "PENDING_CANCELLATION" | "CANCELLED" | "NOT_SENT" | "SENT" | "BELOW_MININVEST" | "PROCESSING" | "LOCKED" | "WAITING_FOR_ACC" | "SEND_ORDER_FAILED" | "WAITING_FOR_SALES_DATE" | "MISSING_TRADING_POWER" | "DONE"; | |
} | |
export interface ExchangeRate { | |
/** The currency to convert from */ | |
from: string; | |
/** The currency to convert to */ | |
to: string; | |
/** The exchange rate (double) */ | |
value: number; | |
} | |
export interface ExtendedErrorResponse { | |
/** The error code */ | |
code: string; | |
/** Fields with err, array;ors */ | |
fields?: ErrorField[] | |
/** A human readable error if available. This message is translated. */ | |
message?: string; | |
} | |
export interface ExtendedLoggedInStatus { | |
/** True if the session is valid */ | |
logged_in: boolean; | |
} | |
export interface ExtraInvoice { | |
/** Expiration date (date) */ | |
expirationDate: string; | |
/** Free text */ | |
freeText: string; | |
/** Inpayment agreement id (int32) */ | |
inpaymentAgreementId: number; | |
/** Invoice number */ | |
invoiceNumber: string; | |
/** List of premiums in invoice , array */ | |
premiumInInvoiceList: PremiumInInvoice[] | |
} | |
export interface FakCharge { | |
/** How much the charge was */ | |
amount: Amount; | |
/** This charge as a fraction of market value (float) */ | |
fraction_of_total: number; | |
} | |
export interface Fee { | |
/** Amount that will be charged from the account */ | |
amount: Amount; | |
/** Fee description */ | |
description: string; | |
/** Due date in yyyy-MM-dd format (date) */ | |
due_date: string; | |
/** Current status of the fee */ | |
status: string; | |
} | |
export interface Feed { | |
/** True if the feed is encrypted */ | |
encrypted: boolean; | |
/** The feed hostname */ | |
hostname: string; | |
/** The feed port (int64) */ | |
port: number; | |
} | |
export interface FeesAndRefundsSummary { | |
/** List o, array;f fees */ | |
fees?: Fee[] | |
/** Sum of all the refunds for the account */ | |
refund?: Refund; | |
} | |
export interface FilterDetails { | |
/** The attribute id */ | |
attribute?: string; | |
/** List of attribute i, array;ds which are logical parent filters for this attribute. (E.g. market_id is a parent of market_sub_id.) */ | |
parent_filters?: string[] | |
/** When requires_expand=true, the attribute id must be provided to /attributes endpoints via expand if filter values should be returned. */ | |
requires_expand?: boolean; | |
/** List of filter, array; values for this attribute, if expand is specified. Only supports MULTISELECT filter type for now. */ | |
values?: FilterVal[] | |
} | |
export interface FilterVal { | |
/** The number of instruments/tradables which have this filter id, given provided applyFilters (int64) */ | |
count?: number; | |
/** The attribute filter id */ | |
id?: string; | |
/** The attribute filter display name, possibly translated */ | |
name?: string; | |
} | |
export interface Filters { | |
/** Currencies availab, array;le for the interval */ | |
currency_types: string[] | |
/** Instruments available for , array;the interval */ | |
instruments: InstrumentDetails[] | |
/** Transaction group types ava, array;ilable for the interval */ | |
transaction_group_types: string[] | |
/** List of transaction types , array */ | |
transaction_types: TransactionTypes[] | |
} | |
export interface FinancialData { | |
/** Equity (int64) */ | |
equity?: number; | |
/** Fixed assets (int64) */ | |
fixed_assets?: number; | |
/** Inventories (int64) */ | |
inventories?: number; | |
/** Liabilities (int64) */ | |
liabilities?: number; | |
/** Net operating revenues (int64) */ | |
net_operating_revenues?: number; | |
/** Number of shares (int64) */ | |
number_of_shares?: number; | |
/** Operating costs (int64) */ | |
operating_costs?: number; | |
/** Operating revenues (int64) */ | |
operating_revenues?: number; | |
/** Preliminary numbers */ | |
preliminary: boolean; | |
/** Result after taxes (int64) */ | |
result_after_taxes?: number; | |
/** Result share (double) */ | |
result_share?: number; | |
/** Total assets (int64) */ | |
total_assets?: number; | |
/** Total equity and liabilities (int64) */ | |
total_equity_and_liabilities?: number; | |
/** The year this financial results are valid (int32) */ | |
year: number; | |
} | |
export interface FullMonthlyDeposit { | |
/** Account number (int32) */ | |
account_number: number; | |
/** The related agreement Id (int64) */ | |
agreement_id: number; | |
/** The amount of monthly deposit */ | |
amount: DepositAmount; | |
/** Bank account number */ | |
bank_account_number: string; | |
/** Time stamp of creation (int64) */ | |
created_timestamp: number; | |
/** If this deposit can be deleted */ | |
deletable: boolean; | |
/** The monthly deposit id (int64) */ | |
deposit_id: number; | |
/** External deposit ID in service Autogiro (int64) */ | |
external_deposit_id: number; | |
/** Deposit status */ | |
status: "BEING_CREATED" | "COMPLETED" | "CREATED" | "CREATED_RETRY" | "DEREGISTERED" | "REJECTED" | "SENT" | "SENT_RETRY"; | |
} | |
export interface FullMonthlyDepositAgreement { | |
/** The monthly deposit agreement */ | |
agreement: DepositAgreement; | |
/** The bank account number to deposit from. May not exist if preregistered account no longer exists */ | |
bank_account_number?: string; | |
/** The status of the preregistered account the monthly deposit agreement is connected to */ | |
preregistered_account_status: "ACTIVE" | "DEREGISTERED" | "PENDING_ACTIVATION" | "PENDING_DEREGISTRATION" | "REJECTED" | "SENT_FOR_ACTIVATION" | "SENT_FOR_DEREGISTRATION"; | |
} | |
export interface Fund { | |
/** Class id */ | |
classId?: string; | |
/** Instrument id (int32) */ | |
insId?: number; | |
/** ISIN */ | |
isin: string; | |
/** The fund percentage (int32) */ | |
percentage: number; | |
} | |
export interface FundAdminInfo { | |
/** Admin company address */ | |
address1?: string; | |
/** Admin company address */ | |
address2?: string; | |
/** Admin company address */ | |
address3?: string; | |
/** Branding company name */ | |
branding_company_name?: string; | |
/** The city of the admin company */ | |
city?: string; | |
/** Country of the admin company. This is the address country in the language the fund company decided not the country code. Only for display */ | |
country?: string; | |
/** Admin company name */ | |
name: string; | |
/** Phone number to the admin company */ | |
phone_number?: string; | |
/** Code used by PremiePensionsMyndigheten */ | |
ppm_code?: string; | |
/** URL to the admin company */ | |
url?: string; | |
/** Zip code of the admin company */ | |
zip_code?: string; | |
} | |
export interface FundAllocationInfo { | |
/** The identifier name of this holding in the user’s language. For display purposes */ | |
type?: string; | |
/** The identifier type */ | |
type_id: string; | |
/** Weight percentage of this holding (float) */ | |
weight: number; | |
} | |
export interface FundDetail { | |
/** Name */ | |
name: string; | |
/** Percentage (int32) */ | |
percentage: number; | |
} | |
export interface FundFeeInfo { | |
/** AOP is a cost figure which all Danish funds have to calculate and combines all expenses related to investing in a mutual fund. Including TER, purchase fees, selling fees and brokerage costs. This value is forward looking. AOP stands for Arlige Omkostninger i Procent (float) */ | |
aop?: number; | |
/** The buy fee (float) */ | |
buy_fee?: number; | |
/** Calculated fee for Norway (float) */ | |
calculated_fee?: number; | |
/** Indlosningsfradrag for Danish investment funds (float) */ | |
defer_load?: number; | |
/** Emissionstillag for Danish investment funds (float) */ | |
front_load?: number; | |
/** The amount charged for indirect expenses (Indirekte handelsomkostninger) not included in the Danish Total Cost Figure (AOP - Arlige Omkostninger i Procent). The charge covers implicit expenses such as spreads, market impact, currency conversion etc (float) */ | |
indirect_cost?: number; | |
/** Max Management fee (float) */ | |
max_management_fee?: number; | |
/** The ongoing charge represents the costs you can reasonably expect to pay as an investor from one year to the next, under normal circumstances (float) */ | |
ongoing_charge?: number; | |
/** Performance fee (float) */ | |
performance_fee?: number; | |
/** Platform fee for Norway (float) */ | |
platform_fee?: number; | |
/** Refunding fee for Norway (float) */ | |
refunding?: number; | |
/** The sell fee (float) */ | |
sell_fee?: number; | |
} | |
export interface FundGuidanceCategoryResponse { | |
/** The fund category */ | |
category?: string; | |
/** The fund details , array */ | |
instruments?: FundGuidanceInstrumentResponse[] | |
/** Percentage investment in this allocation group (int32) */ | |
weight?: number; | |
} | |
export interface FundGuidanceInstrumentResponse { | |
/** Proximity value of amount to be invested (double) */ | |
amount?: number; | |
/** Same as clearing_place in service-instrument */ | |
clearing_place?: string; | |
/** Same as currency in service-instrument */ | |
currency?: string; | |
/** Name */ | |
display_name?: string; | |
/** Minimum investment amount in user’s local currency (int32) */ | |
fund_min_investment?: number; | |
/** The morningstar rating (int32) */ | |
fund_ms_rating?: number; | |
/** SFDR Article */ | |
fund_raw_sfdr?: number; | |
/** Translated SFDR Article */ | |
fund_sfdr_article?: string; | |
/** Fund yearly fee (float) */ | |
fund_yearly_fee?: number; | |
/** Same as instrument_group_type in service-instrument */ | |
instrument_group_type?: string; | |
/** Same as instrument_id in service-instrument (int64) */ | |
instrument_id?: number; | |
/** Same as instrument_type in service-instrument */ | |
instrument_type?: string; | |
/** Same as isin_code in service-instrument */ | |
isin?: string; | |
/** A short name intended for presentation */ | |
name?: string; | |
/** Current NAV (or last price for exchange traded instruments) */ | |
price_info?: GuidancePriceInfo; | |
/** The URL for the prospectus */ | |
prospectus_url?: string; | |
/** Number of shares to be traded (Only applicable for excahnge traded instruments) (int32) */ | |
quantity?: number; | |
/** Percentage investment in this instrument (int32) */ | |
weight?: number; | |
/** Yield 10 years, diff in price between 'now' and 10 years ago (double) */ | |
yield_10y?: number; | |
/** Yield 1 year, diff in price between 'now' and last year (double) */ | |
yield_1y?: number; | |
/** Yield 3 years, diff in price between 'now' and 3 years ago (double) */ | |
yield_3y?: number; | |
/** Yield 5 years, diff in price between 'now' and 5 years ago (double) */ | |
yield_5y?: number; | |
} | |
export interface FundGuidancePortfolios { | |
/** Matched Risk */ | |
matched_risk: string; | |
/** The portfolio list , array */ | |
portfolio_list: PortfolioBody[] | |
} | |
export interface FundGuidanceQuestions { | |
/** Fund selection */ | |
fund_selection?: FundSelection; | |
/** Investment Objective */ | |
investment_objective?: InvestmentObjective; | |
/** Time and risk */ | |
time_and_risk?: TimeAndRisk; | |
} | |
export interface FundGuidanceRequestBody { | |
/** Allocation with percenta, array;ge */ | |
allocations: AllocationsBody[] | |
/** Filters to find right fund, array;s */ | |
fund_filter_categories: string[] | |
/** What type of funds to return */ | |
fund_instrument_type: "FUND" | "PINV" | "ETF"; | |
/** Investment amount in user’s local currency (int32) */ | |
investment_amount: number; | |
/** Objective for saving */ | |
investment_objective: string; | |
/** Period */ | |
periodically: string; | |
} | |
export interface FundInfo { | |
/** The admin company */ | |
admin_info?: FundAdminInfo; | |
/** Information about asset allocatio, array;n */ | |
asset_allocation?: FundAllocationInfo[] | |
/** Description of the fund. Please note that the language of this field is decided by the fund admin company and not controlled by the lang in the api */ | |
description: string; | |
/** Information about extended regional allocatio, array;n */ | |
extended_regional_allocation?: FundAllocationInfo[] | |
/** Information about fund fees */ | |
fees?: FundFeeInfo; | |
/** Fund category name, this value is not translated */ | |
fund_category_name?: string; | |
/** The start date of the fund (date) */ | |
inception_date?: string; | |
/** Unique identifier of the instrument. (int64) */ | |
instrument_id: number; | |
/** Information about underlying instruments , array */ | |
instrument_underlying_info?: InstrumentUnderlyingInfo[] | |
/** If is index fund */ | |
is_index_fund?: boolean; | |
/** The manager , array */ | |
manager_info?: FundManagerInfo[] | |
/** The minimum amount allowed to invest */ | |
min_investment?: Amount; | |
/** Morningstar info about the fund */ | |
morningstar_info?: MorningstarFundInfo; | |
/** Percentage involvement per area */ | |
product_involvement?: ProductInvolvement; | |
/** Information about regional allocatio, array;n */ | |
regional_allocation?: FundAllocationInfo[] | |
/** Risk statistics per one, three and five years */ | |
risk_statistics?: RiskStatistics; | |
/** Information about section allocati, array;on */ | |
sector_allocation?: FundAllocationInfo[] | |
/** Sustainability ratings along with category average */ | |
sustainability?: Sustainability; | |
/** Trading status of the fund */ | |
trading_info?: FundTradingInfo; | |
} | |
export interface FundInstruments { | |
/** Same as clearing_place in service-instrument */ | |
clearing_place?: string; | |
/** Same as currency in service-instrument */ | |
currency?: string; | |
/** Name */ | |
display_name?: string; | |
/** Minimum investment amount in user’s local currency (int32) */ | |
fund_min_investment?: number; | |
/** The morningstar rating (int32) */ | |
fund_ms_rating?: number; | |
/** SFDR Article */ | |
fund_raw_sfdr?: number; | |
/** Translated SFDR Article */ | |
fund_sfdr_article?: string; | |
/** Fund yearly fee (float) */ | |
fund_yearly_fee?: number; | |
/** Same as instrument_group_type in service-instrument */ | |
instrument_group_type?: string; | |
/** Same as instrument_id in service-instrument (int64) */ | |
instrument_id?: number; | |
/** Same as instrument_type in service-instrument */ | |
instrument_type?: string; | |
/** Same as isin_code in service-instrument */ | |
isin?: string; | |
/** A short name intended for presentation */ | |
name?: string; | |
/** The URL for the prospectus */ | |
prospectus_url?: string; | |
/** Yield 10 years, diff in price between 'now' and 10 years ago (double) */ | |
yield_10y?: number; | |
/** Yield 1 year, diff in price between 'now' and last year (double) */ | |
yield_1y?: number; | |
/** Yield 3 years, diff in price between 'now' and 3 years ago (double) */ | |
yield_3y?: number; | |
/** Yield 5 years, diff in price between 'now' and 5 years ago (double) */ | |
yield_5y?: number; | |
} | |
export interface FundManagerInfo { | |
/** The bio of the manager */ | |
bio?: string; | |
/** The name of the managers */ | |
name: string; | |
/** The date when the manager was appointed (date) */ | |
start_date?: string; | |
} | |
export interface FundOrder { | |
/** The Nordnet account number (int64) */ | |
accno: number; | |
/** The amount to buy for. Only displayed for buy orders */ | |
amount?: Amount; | |
/** The fund instrument */ | |
instrument: Instrument; | |
/** True if the order is active (should in normal case always be true) */ | |
is_active: boolean; | |
/** The timestamp when modified (int64) */ | |
modified: number; | |
/** Fund order id. Please note that a fund order can have the same order id as an ordinary order. (int64) */ | |
order_id: number; | |
/** If true the order could not be sent to the market */ | |
send_error: boolean; | |
/** If true the order is sent and cannot be deleted */ | |
sent: boolean; | |
/** BUY or SELL */ | |
side: string; | |
/** The volume of the order. Only displayed for sell orders (double) */ | |
volume?: number; | |
} | |
export interface FundOrderModel { | |
/** The account identifier for the account. Some systems can or must use the account number as account identifier (int64) */ | |
accid: number; | |
/** Amount to buy */ | |
amount?: Amount; | |
/** The instrument id of the fund, tradable is an alternative input. (int64) */ | |
instrument_id?: number; | |
/** Indicate if order is a buy or sell order */ | |
orderside: "BUY" | "SELL"; | |
/** Percentage of holding, only used when selling (int32) */ | |
percent?: number; | |
/** The tradables of the fund instrument, instrument_id is an alternative input. */ | |
tradable?: TradableModel; | |
} | |
export interface FundOrderResponse { | |
/** The created fund order if successful */ | |
fund_order: CreatedFundOrder; | |
} | |
export interface FundOrderV1 { | |
/** Instrument id in abasec (int64) */ | |
abasec_instrument_id: number; | |
/** The Nordnet account number (int64) */ | |
account_number: number; | |
/** Order amount, only applicable for BUY order */ | |
amount?: Amount; | |
/** Customer number (int64) */ | |
customer_number?: number; | |
/** Order id to display to customers */ | |
display_order_id: string; | |
/** Id of fond, related to non-daily traded funds (int64) */ | |
fund_id: number; | |
/** Type of group for instrument. */ | |
instrument_group_type?: string; | |
/** The instrument id of the fund. (int64) */ | |
instrument_id: number; | |
/** Type of instrument. */ | |
instrument_type?: string; | |
/** The instruments isincode */ | |
isincode: string; | |
/** if order is locked for updates */ | |
locked_for_update: boolean; | |
/** The instruments name */ | |
name: string; | |
/** Order id */ | |
order_id: string; | |
/** Indicate if order is a buy or sell order */ | |
order_side: "BUY" | "SELL"; | |
/** Order source */ | |
order_source?: "ADMIN" | "NON_DAILY_ADMIN" | "BROKER" | "MS" | "AS" | "PARTNER" | "PENSION" | "PENSION_GENERATION_SAVINGS"; | |
/** Order type */ | |
order_type: "FUND_ORDER" | "NON_DAILY_ORDER" | "EXCHANGE_ORDER"; | |
/** Percentage, only applicable for SELL order (int32) */ | |
percent?: number; | |
/** The date the order was inserted in unix timestamp (int64) */ | |
request_timestamp: number; | |
/** The date the order is scheduled to be sent to abasec in unix timestamp (int64) */ | |
send_date: number; | |
/** Current state of the order */ | |
state: "PENDING_CANCELLATION" | "CANCELLED" | "NOT_SENT" | "SENT" | "BELOW_MININVEST" | "PROCESSING" | "LOCKED" | "WAITING_FOR_ACC" | "SEND_ORDER_FAILED" | "WAITING_FOR_SALES_DATE" | "MISSING_TRADING_POWER" | "DONE"; | |
/** The instrument tradable of the fund. */ | |
tradable: TradableModel; | |
/** Volume, only applicable for SELL order (float) */ | |
volume?: number; | |
} | |
export interface FundOrderV2 { | |
/** Instrument identifier in Abasec (int64) */ | |
abasec_instrument_id: number; | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid?: number; | |
/** The Nordnet account number (int64) */ | |
account_number: number; | |
/** Order amount (only for BUY orders) */ | |
amount?: Amount; | |
/** Information about where the order is coming from. */ | |
broker?: string; | |
/** Customer number (int64) */ | |
customer_number?: number; | |
/** Order identifier to display to customers */ | |
display_order_id: string; | |
/** Legacy fund identifier (related to non-daily traded funds) (int64) */ | |
fund_id?: number; | |
/** Type of group for instrument */ | |
instrument_group_type?: string; | |
/** Instrument identifier (int64) */ | |
instrument_id?: number; | |
/** Type of instrument */ | |
instrument_type?: string; | |
/** Instrument ISIN code */ | |
isincode: string; | |
/** True if order is locked for updates, i.e. can’t be deleted, otherwise false */ | |
locked_for_update: boolean; | |
/** The date the order was last updated in unix timestamp (int64) */ | |
modification_timestamp: number; | |
/** Display name of fund */ | |
name: string; | |
/** Order identifier */ | |
order_id: string; | |
/** Indicates if order is a buy or sell order */ | |
order_side: "BUY" | "SELL"; | |
/** Order source */ | |
order_source?: "ADMIN" | "NON_DAILY_ADMIN" | "BROKER" | "MS" | "AS" | "PARTNER" | "PENSION" | "PENSION_GENERATION_SAVINGS"; | |
/** Order type */ | |
order_type: "FUND_ORDER" | "NON_DAILY_ORDER" | "EXCHANGE_ORDER"; | |
/** Percentage of holding (only for SELL orders) (int32) */ | |
percent?: number; | |
/** The date the order was inserted in unix timestamp (int64) */ | |
request_timestamp: number; | |
/** The date the order is scheduled to be sent to abasec in unix timestamp (int64) */ | |
send_date: number; | |
/** Current state of the order */ | |
state: "PENDING_CANCELLATION" | "CANCELLED" | "NOT_SENT" | "SENT" | "BELOW_MININVEST" | "PROCESSING" | "LOCKED" | "WAITING_FOR_ACC" | "SEND_ORDER_FAILED" | "WAITING_FOR_SALES_DATE" | "MISSING_TRADING_POWER" | "DONE"; | |
/** Instrument tradable */ | |
tradable?: TradableModel; | |
/** Volume of order (only for SELL orders) (float) */ | |
volume?: number; | |
} | |
export interface FundOrdersResponse { | |
/** The created exchange fund ord, array;ers */ | |
exchange_orders?: ExchangeOrderV1[] | |
/** The created fund orde, array;rs */ | |
fund_orders?: FundOrderV1[] | |
} | |
export interface FundOrdersResponseV2 { | |
/** Active exchange fund orders , array */ | |
exchange_orders?: ExchangeOrderV2[] | |
/** Active fund orders , array */ | |
fund_orders?: FundOrderV2[] | |
} | |
export interface FundSavingsPlanModel { | |
/** The accid this plan is tied to (int64) */ | |
accid: number; | |
/** The amount to save */ | |
amount?: Amount; | |
/** The legacy autogiro this plan is tied to (int64) */ | |
autogiro_account_number?: number; | |
/** The amount to put in cash if autogiro (int64) */ | |
cash_percent?: number; | |
/** The day of month when the shopping is executed (int64) */ | |
deal_day: number; | |
/** The amount to put in funds if autogiro (int64) */ | |
fund_percent?: number; | |
/** The identifier of the savings plan (int64) */ | |
id?: number; | |
/** The instruments in this , array;savings plan */ | |
items: SavingsPlanInstrument[] | |
/** The next date when the shopping is executed in unix timestamp millis (int64) */ | |
next_deal_date: number; | |
/** The percentage of available cash if type SHARE (int64) */ | |
percent?: number; | |
/** The pre-registered bank account id used for autogiro (int64) */ | |
pre_registered_bank_account_id?: number; | |
/** The status of the savings plan */ | |
status: string; | |
/** The type of savings plan */ | |
type: "AMOUNT" | "SHARE" | "AUTOGIRO" | "ETF" | "PENSION" | "SE_AUTOGIRO"; | |
} | |
export interface FundSearchEntity { | |
/** Annual growth. */ | |
annual_growth_info?: AnnualGrowthInfo; | |
/** Contains funds specific information. */ | |
fundlist_info?: FundlistInfo; | |
/** Historical returns information, showing the yield over time */ | |
historical_returns_info?: HistoricalReturnsInfo; | |
/** Instrument information. The same instrument info may appear in multiple search results if there are multiple tradables or funds universes. */ | |
instrument_info?: InstrumentInfo; | |
/** Market information, identifies which market the price info is collected from */ | |
market_info?: MarketInfo; | |
/** Price information, representing an exchange traded model containing top-of-book info */ | |
price_info?: PriceInfo; | |
/** Statistics on number of nordnet customers that have positions in the instrument and on number of orders. */ | |
statistical_info?: StatisticalInfo; | |
} | |
export interface FundSearchResults { | |
/** The search results , array */ | |
results: FundSearchEntity[] | |
/** Number of result rows returned (int32) */ | |
rows: number; | |
/** Total number of search hits (int64) */ | |
total_hits: number; | |
} | |
export interface FundSelection { | |
/** Fund selection question */ | |
fund_selection_question?: FundSelectionQuestion; | |
} | |
export interface FundSelectionQuestion { | |
/** Anwers , array */ | |
answers?: AnswersBody[] | |
/** Multiple answers */ | |
multiple_answer?: boolean; | |
} | |
export interface FundTradingInfo { | |
/** The time of day where the funds orders are sent */ | |
cut_off_time?: string; | |
/** Dividend strategy expressed with keyword */ | |
dividend_strategy?: string; | |
/** The fund is active for buying */ | |
is_active_buy?: boolean; | |
/** The fund is active for selling */ | |
is_active_sell?: boolean; | |
/** True if the fund is daily traded */ | |
is_daily_traded?: boolean; | |
/** The next date buy orders will be processed (Only applicable for monthly traded funds) */ | |
next_buy_day?: string; | |
/** The next date sell orders will be processed (Only applicable for monthly traded funds) */ | |
next_sell_day?: string; | |
/** Total market value (float) */ | |
total_market_value?: number; | |
/** Trading frequency expressed with keyword */ | |
trading_frequency?: string; | |
} | |
export interface FundUniverseModel { | |
/** The identifier of the fund universe (int64) */ | |
fund_universe_id: number; | |
} | |
export interface FundYieldPoint { | |
/** Yield value, expressed in percentage (5% is expressed as 5) (double) */ | |
percentage_yield: number; | |
/** Timestamp for yield value (int64) */ | |
time: number; | |
} | |
export interface FundYieldResult { | |
/** Identifier of the comparison index */ | |
identifier?: string; | |
/** The instrument id of the fund (int64) */ | |
instrument_id?: number; | |
/** Source of the comparison index */ | |
source?: string; | |
/** The time series points , array */ | |
yield_points: FundYieldPoint[] | |
} | |
export interface FundlistInfo { | |
/** The name of the company administrating the fund */ | |
fund_admin_company?: string; | |
/** Shorter 'Brand name' of the company administrating the fund */ | |
fund_branding_company?: string; | |
/** Fund calculated fee */ | |
fund_calculated_fee?: number; | |
/** The funds category is a short description of the category of the fund */ | |
fund_category?: string; | |
/** ESG score for the fund (int32) */ | |
fund_esg_score?: number; | |
/** Marks if the fund is a low carbon fund */ | |
fund_low_carbon?: boolean; | |
/** Minimum investment amount in user’s local currency (int32) */ | |
fund_min_investment?: number; | |
/** The morningstar rating (int32) */ | |
fund_ms_rating?: number; | |
/** Marks if the fund is one of the nordnet selected ones */ | |
fund_nordnet_selection?: boolean; | |
/** Fund platform fee */ | |
fund_platform_fee?: number; | |
/** Risk as raw data. Value between 1-7 (int32) */ | |
fund_raw_risk?: number; | |
/** SFDR Article */ | |
fund_raw_sfdr?: number; | |
/** Fund refunding */ | |
fund_refunding?: number; | |
/** Translated risk grouped as low, mid, high */ | |
fund_risk_group?: string; | |
/** Translated SFDR Article */ | |
fund_sfdr_article?: string; | |
/** Date when the fund started as Epoch time (int64) */ | |
fund_start_date?: number; | |
/** Total market value for the fund (int64) */ | |
fund_total_market_value?: number; | |
/** Translated traded when (= trade frequency) */ | |
fund_traded_when?: string; | |
/** Translated fund type */ | |
fund_type?: string; | |
/** The country of the funds universe */ | |
fund_universe_country?: string; | |
/** The currency of the funds universe */ | |
fund_universe_currency?: string; | |
/** Fund yearly fee */ | |
fund_yearly_fee?: number; | |
} | |
export interface GenerationSavingsDetails { | |
/** If the generation savings plan is active */ | |
active: boolean; | |
/** The end age of the generation savings plan (int64) */ | |
endAge: number; | |
/** The funds that are part of th, array;e generation savings plan */ | |
funds: GenerationSavingsFundModel[] | |
/** The start age of the generation savings plan (int64) */ | |
startAge: number; | |
} | |
export interface GenerationSavingsFundModel { | |
/** The ins id of the fund */ | |
fundName: string; | |
/** The isin of the fund (int64) */ | |
instrumentId: number; | |
/** The percentage of the generation savings that the fund represents (int64) */ | |
percentage: number; | |
} | |
export interface GenerationSavingsModel { | |
/** The accid this generation savings plan is tied to (int64) */ | |
accid: number; | |
/** The type of client used for generation savings plan */ | |
client: string; | |
/** The details of a generation s, array;avings plan */ | |
details: GenerationSavingsDetails[] | |
} | |
export interface GenericCharges { | |
/** Calculations in this category are likely incorrect/inaccurate */ | |
high_uncertainty: boolean; | |
/** Incidental charges */ | |
incidental: FakCharge; | |
/** One off charges */ | |
one_off: FakCharge; | |
/** Ongoing charges */ | |
ongoing: FakCharge; | |
/** Nordnet total charges */ | |
total: FakCharge; | |
/** Transactional fees */ | |
transactional: FakCharge; | |
} | |
export interface GetAllowedPreregisteredAccountsResponse { | |
/** Access method for the preregistered accounts: PREREGISTERED_WITHDRAWAL: The method to check access for withdrawal, PREREGISTERED_DEPOSIT: The method to check access for deposit, */ | |
access_method: "PREREGISTERED_DEPOSIT" | "PREREGISTERED_WITHDRAWAL"; | |
/** A list of preregistered accounts allowed to acc, array;ess the given access_method. (can be empty) */ | |
preregistered_accounts: AllowedPreregisteredAccount[] | |
} | |
export interface GetAutogiroDepositsResponse { | |
/** List of autogiro depo, array;sits for accounts. Only deposits for accounts with existing preregistered accounts (must not be deregistered) will be retrieved. */ | |
deposits: AutogiroDeposit[] | |
} | |
export interface GetAvtalegiroDepositsResponse { | |
/** Avtalegiro deposit , array */ | |
deposits: AvtalegiroDeposit[] | |
} | |
export interface GetAvtalegiroResponse { | |
/** List of avtalegiro , array */ | |
avtalegiros: Avtalegiro[] | |
} | |
export interface GetCustomerPreregConnection { | |
/** preregistered account connections of log, array;ged in user grouped by role and customer number */ | |
user_prereg_accounts: UserPreregAccountModel[] | |
} | |
export interface GetCustomerPreregConnectionPerCountry { | |
/** preregistered account connections of logged in use, array;r grouped by role and customer number */ | |
user_prereg_accounts: UserPreregAccountModelPerCountry[] | |
} | |
export interface GetFullAgreementsResponse { | |
/** List of monthly deposit agreements , array;with extra display information */ | |
agreements: FullMonthlyDepositAgreement[] | |
} | |
export interface GetFullDepositsResponse { | |
/** List of monthly deposit , array;with extra display information */ | |
deposits: FullMonthlyDeposit[] | |
} | |
export interface GetServiceInfoResponse { | |
/** The earliest possible date for which an Avtalegiro payment can be performed (date) */ | |
earliest_possible_payment_date: string; | |
/** The earliest possible epoch timestamp in milliseconds for which an Avtalegiro payment can be performed (int64) */ | |
earliest_possible_payment_timestamp: number; | |
} | |
export interface GuidancePriceInfo { | |
/** 'last' price if non-null/zero, otherwise 'close' price */ | |
last_price: PriceWithDecimals; | |
} | |
export interface HanteraNews { | |
/** The response body of news event */ | |
body: string; | |
/** Timestamp changed at (date-time) */ | |
changedAt: string; | |
/** Who modified the news event */ | |
changedBy: string; | |
/** Timestamp created at (date - time) */ | |
createdAt: string; | |
/** Who created the news event */ | |
createdBy: string; | |
/** Id of news event (int32) */ | |
newsId: number; | |
/** Date when the news event was published (date) */ | |
publishDate: string; | |
/** Title of news event (int64) */ | |
title: number; | |
} | |
export interface HanteraUser { | |
/** Active */ | |
active: boolean; | |
/** A valid email address */ | |
email: string; | |
/** First name */ | |
firstName: string; | |
/** User id (int32) */ | |
id: number; | |
/** Internal */ | |
internal: boolean; | |
/** Last name */ | |
lastName: string; | |
/** Mobile phone number */ | |
mobileNumber: string; | |
/** The official id of the person */ | |
natregno: string; | |
/** User admin */ | |
userAdmin: boolean; | |
/** User name */ | |
userName: string; | |
} | |
export interface Header { | |
/** The name of the header */ | |
name: string; | |
/** The value of the header */ | |
value: string; | |
} | |
export interface HistoricIndicatorYieldResult { | |
/** Identifier of the indicator. identifier + src unique */ | |
identifier: string; | |
/** Indicator source */ | |
source: string; | |
/** The time series poin, array;ts */ | |
yield_points: YieldPoint[] | |
} | |
export interface HistoricYieldResult { | |
/** The instrument id of the instrument (int64) */ | |
instrument_id: number; | |
/** The time series poin, array;ts */ | |
yield_points: YieldPoint[] | |
} | |
export interface HistoricalBalanceModel { | |
/** the currency of the balance */ | |
currency?: string; | |
/** the date of the balance */ | |
date?: string; | |
/** the value of the balance (double) */ | |
value?: number; | |
} | |
export interface HistoricalIndicatorSparkpoints { | |
/** The base price for the spark points, i.e. the close price for previous day (double) */ | |
baseprice: number; | |
/** The identifier of the indicator */ | |
identifier: string; | |
/** The source of the indicator */ | |
source: string; | |
/** The spark points. C, array;an be empty if there are no prices for today available */ | |
sparkpoints: Sparkpoint[] | |
} | |
export interface HistoricalInstrumentModel { | |
/** the abasec insid of the instrument (int64) */ | |
abasec_insid: number; | |
/** the currency of the instrument */ | |
currency: string; | |
/** the type of the instrument */ | |
instrument_type: string; | |
/** the isin of the instrument */ | |
isin_code: string; | |
/** the market of the instrument */ | |
market: string; | |
/** the multiplier of the instrument (double) */ | |
multiplier: number; | |
/** the symbol of the instrument */ | |
symbol: string; | |
} | |
export interface HistoricalInstrumentPrice { | |
/** Delay of the priceinformation in seconds for this tradable (int64) */ | |
delayed: number; | |
/** The instrument id of the instrument (int64) */ | |
instrument_id: number; | |
/** The historical pri, array;ces */ | |
prices: HistoricalTick[] | |
} | |
export interface HistoricalInstrumentSparkpoints { | |
/** The base price for the spark points, i.e. the close price for previous day (double) */ | |
baseprice: number; | |
/** The instrument id of the instrument (int64) */ | |
instrument_id: number; | |
/** The spark points , array */ | |
sparkpoints: Sparkpoint[] | |
} | |
export interface HistoricalInterest { | |
/** The date when the interest model change was applied (date) */ | |
change_date: string; | |
/** The interest rate at the time for the rate model (float) */ | |
interest_rate: number; | |
/** Translated string describing the interest rate model */ | |
type?: string; | |
} | |
export interface HistoricalInterestInfo { | |
/** Interest rate history so, array;rted descending on date */ | |
history: InterestRateHistory[] | |
/** The total number of records in the database (int32) */ | |
total_record_count: number; | |
} | |
export interface HistoricalPositionsModel { | |
/** the position data in the currency of the account */ | |
data_in_account_currency?: PositionDataModel; | |
/** the position data in the currency of the instrument */ | |
data_in_instrument_currency?: PositionDataModel; | |
/** the date of the position */ | |
date?: string; | |
/** the instrument of the position */ | |
instrument?: HistoricalInstrumentModel; | |
/** the price of the position (double) */ | |
price?: number; | |
/** the quantity of the position (double) */ | |
qty?: number; | |
} | |
export interface HistoricalPrice { | |
/** Delay of the priceinformation in seconds for this tradable (int64) */ | |
delayed: number; | |
/** Identifier of the tradable. identifier + market_id is unique */ | |
identifier: string; | |
/** Nordnet market_id for the tradable (int64) */ | |
market_id: number; | |
/** The historical pri, array;ces */ | |
prices: HistoricalTick[] | |
} | |
export interface HistoricalReturnsInfo { | |
/** True if this historical returns info is based on a realtime snapshot */ | |
realtime?: boolean; | |
/** Yield 10 years, diff in price between 'now' and 10 years ago (double) */ | |
yield_10y?: number; | |
/** Yield 1 month, diff in price between 'now' and 1 month ago (double) */ | |
yield_1m?: number; | |
/** Yield 1 week, diff in price between 'now' and last week (double) */ | |
yield_1w?: number; | |
/** Yield 1 year, diff in price between 'now' and last year (double) */ | |
yield_1y?: number; | |
/** Yield 3 months, diff in price between 'now' and 3 months ago (double) */ | |
yield_3m?: number; | |
/** Yield 3 years, diff in price between 'now' and 3 years ago (double) */ | |
yield_3y?: number; | |
/** Yield 5 years, diff in price between 'now' and 5 years ago (double) */ | |
yield_5y?: number; | |
/** Yield year to date, diff in price between 'now' and the start of the year (double) */ | |
yield_ytd?: number; | |
} | |
export interface HistoricalTick { | |
/** Highest price - returned if stated in fields (double) */ | |
high?: number; | |
/** Last price - returned if stated in fields (double) */ | |
last?: number; | |
/** Lowest price - returned if stated in fields (double) */ | |
low?: number; | |
/** Open price - returned if stated in fields (double) */ | |
open?: number; | |
/** The timestamp in UTC (int64) */ | |
time: number; | |
/** Traded volume - returned if stated in fields (double) */ | |
volume?: number; | |
} | |
export interface HistorySummaryListModel { | |
/** Company name */ | |
company: string; | |
/** Event identifier (int32) */ | |
event_group_id?: number; | |
/** Types of corporate action event */ | |
event_type: "RIGHTS_ISSUE" | "CASH_OFFER" | "TAKEOVER" | "OTHER" | "IPO" | "OWNERSHIP_DISTRIBUTION" | "BONDS" | "OPTIONS"; | |
/** The currency date in unix timestamp (int64) */ | |
last_response_date: number; | |
} | |
export interface HoldingInfo { | |
/** Adjusted pawn value (related to position’s pawn percentage) (double) */ | |
adjusted_pawn_value: number; | |
/** Difference between adjusted pawn value and original pawn value (double) */ | |
difference: number; | |
/** Maximum adjusted pawn value related to best diversification in collateral model (double) */ | |
max_adjusted_pawn_value: number; | |
/** Difference between max adjusted pawn value and original pawn value (double) */ | |
max_difference: number; | |
/** Original pawn value (related to instrument’s pawn percentage) (double) */ | |
original_pawn_value: number; | |
/** Positions */ | |
positions: Positions; | |
} | |
export interface HoldingPeriod { | |
/** Time unit. Possible values ['YEARS', 'DAYS'} */ | |
unit: string; | |
/** Number of units (int32) */ | |
value: number; | |
} | |
export interface HorizonQuestion { | |
/** Anwers , array */ | |
answers?: AnswersBody[] | |
/** Multiple answers */ | |
multiple_answer?: boolean; | |
} | |
export interface IdCopyLogBody { | |
/** Media type of the file */ | |
media_type: string; | |
} | |
export interface IdentityAssuranceTokenResponse { | |
/** Name of the bucket to use in the form */ | |
bucket: string; | |
/** Content type to set in the form */ | |
content_type: string; | |
/** Google access id to set in the form */ | |
google_access_id: string; | |
/** Key to set in the form */ | |
key: string; | |
/** Policy to set in the form */ | |
policy: string; | |
/** Signature to set in the form */ | |
signature: string; | |
} | |
export interface ImportPerson { | |
/** Address Row 1 */ | |
addressRow1: string; | |
/** Postal city */ | |
city: string; | |
/** Is this a human or a company? */ | |
country: string; | |
/** Country code */ | |
countryCode: string; | |
/** Person date of birth (date) */ | |
dateOfBirth: string; | |
/** Email Address */ | |
emailAddress: string; | |
/** First name of person */ | |
firstName: string; | |
/** When person was changed in Inca, timestamp (date-time) */ | |
incaChangedAt: string; | |
/** When person was created in Inca, timestamp (date - time) */ | |
incaCreatedAt: string; | |
/** Last name of person being fetched */ | |
lastName: string; | |
/** Person id in insurance system (int32) */ | |
personId: number; | |
/** Person Official Id of person to fetch (nat reg no, person-number) */ | |
personOfficialId: string; | |
/** Complete Official Id of person, with country */ | |
personOfficialIdWithCountryCode: string; | |
/** Status of person */ | |
personStatus: "ACTIVE" | "DECEASED" | "EXPIRED"; | |
/** Type of person */ | |
personType: "PRIVATE" | "LEGAL"; | |
/** Postal code of person */ | |
postalCode: string; | |
/** Sex of person */ | |
sex: "FEMALE" | "MALE"; | |
/** Tax country of person */ | |
taxCountry: string; | |
} | |
export interface IndexAttachmentMetaData { | |
/** sort order for the attachment */ | |
attachment_index: string; | |
/** url to load the attachment file */ | |
attachment_url: string; | |
/** the type of attachment */ | |
content_type: string; | |
/** attachment title */ | |
title: string; | |
} | |
export interface IndexMessage { | |
/** The accid that this message was sent to (int32) */ | |
accid?: number; | |
/** True if message is answered */ | |
answer: boolean; | |
/** Information about attachments , array */ | |
attachment_meta_data?: IndexAttachmentMetaData[] | |
/** How long the message will be displayed for the customer (int32) */ | |
best_before?: number; | |
/** Who sent the message */ | |
from: string; | |
/** The id of the message (int32) */ | |
message_id: number; | |
/** How important the message is */ | |
prio: "urgent" | "important" | "default "; | |
/** True if message was sent by the customer */ | |
sent: boolean; | |
/** When the message was sent (int64) */ | |
sent_at: number; | |
/** The subject of the message */ | |
subject: string; | |
/** True if customer has viewed the message */ | |
viewed: boolean; | |
} | |
export interface Indicator { | |
/** The closing time on the format \"HH:MM:SS\" in UTC if available */ | |
close?: string; | |
/** The country of the indicator if available */ | |
country?: string; | |
/** The indicator prices is delayed in this many seconds. Defaults to 0. Should be ignored if only_eod is true (int64) */ | |
delayed?: number; | |
/** Identifier. source + identifier is unique */ | |
identifier: string; | |
/** Connect the indicator to an instrument. NOTE! Most indicators don’t have a real instrument (int64) */ | |
instrument_id?: number; | |
/** Translated name of the indicator */ | |
name: string; | |
/** If true the price is only displayed end-of-day. Defaults to false */ | |
only_eod?: boolean; | |
/** The opening time on the format \"HH:MM:SS\" in UTC if available */ | |
open?: string; | |
/** The region of the indicator if available. Country and region can’t be set at the same time */ | |
region?: string; | |
/** Indicator source */ | |
src: string; | |
/** COMMODITY, CURRENCY, INTEREST or INDEX */ | |
type: string; | |
} | |
export interface IndicatorEntity { | |
/** Specify the type of entity */ | |
entity_type?: "COMMODITY" | "CURRENCY" | "INDEX" | "INTEREST"; | |
/** Information regarding the instrument/tradable on the exchange */ | |
exchange_info?: ExchangeInfo; | |
/** Historical returns information, showing the yield over time */ | |
historical_returns_info?: HistoricalReturnsInfo; | |
/** Information regarding the indicator */ | |
indicator_info?: IndicatorInfo; | |
/** Instrument information. The same instrument info may appear in multiple search results if there are multiple tradables or fund universes. */ | |
instrument_info?: InstrumentInfo; | |
/** Price information, representing an exchange traded model containing top-of-book info */ | |
price_info?: PriceInfo; | |
} | |
export interface IndicatorHistoricalPrice { | |
/** Delay of the priceinformation in seconds for this indicator (int64) */ | |
delayed?: number; | |
/** Identifier of the indicator. identifier + src unique */ | |
identifier: string; | |
/** The historical prices , array */ | |
prices: IndicatorHistoricalTick[] | |
/** Indicator source */ | |
src: string; | |
} | |
export interface IndicatorHistoricalReturn { | |
/** Identifier, identifier + source is unique */ | |
identifier: string; | |
/** Return compared to close price a month ago (double) */ | |
m1?: number; | |
/** Return compared to close price three months ago (double) */ | |
m3?: number; | |
/** Return compared to close price six months ago (double) */ | |
m6?: number; | |
/** Indicator source */ | |
src: string; | |
/** Return compared to close price yesterday (double) */ | |
td?: number; | |
/** Return compared to close price at year shift (double) */ | |
ty?: number; | |
/** Return compared to close price a week ago (double) */ | |
w1?: number; | |
/** Return compared to close price one years ago (double) */ | |
y1?: number; | |
/** Return compared to close price two years ago (double) */ | |
y2?: number; | |
/** Return compared to close price three years ago (double) */ | |
y3?: number; | |
/** Return compared to close price five years ago (double) */ | |
y5?: number; | |
} | |
export interface IndicatorHistoricalTick { | |
/** Highest price - returned if stated in fields (double) */ | |
high?: number; | |
/** Last price - returned if stated in fields (double) */ | |
last?: number; | |
/** Lowest price - returned if stated in fields (double) */ | |
low?: number; | |
/** Open price - returned if stated in fields (double) */ | |
open?: number; | |
/** The timestamp in UTC (int64) */ | |
time: number; | |
} | |
export interface IndicatorInfo { | |
/** Identifier of indicator */ | |
indicator_identifier?: string; | |
/** Delay when logged in (int32) */ | |
indicator_logged_in_delay?: number; | |
/** market overview group , array */ | |
indicator_market_overview_group?: string[] | |
/** Delay when not logged in (int32) */ | |
indicator_not_logged_in_delay?: number; | |
/** Source of indicator */ | |
indicator_src?: string; | |
/** Delay in seconds from source (int32) */ | |
indicator_src_delay?: number; | |
} | |
export interface IndicatorResults { | |
/** The search results , array */ | |
results?: IndicatorEntity[] | |
/** Number of result rows returned (int32) */ | |
rows?: number; | |
/** Total number of search hits (int64) */ | |
total_hits?: number; | |
} | |
export interface IndicatorValue { | |
/** Close price (double) */ | |
close: number; | |
/** Delay of the priceinformation in seconds for this tradable (int64) */ | |
delay: number; | |
/** Highest price today (double) */ | |
high: number; | |
/** Identifier, identifier + source is unique */ | |
identifier: string; | |
/** Last trade price (double) */ | |
last: number; | |
/** Lowest price today (double) */ | |
low: number; | |
/** Indicator source */ | |
src: string; | |
/** Last change timestamp. Unix time in milliseconds (int64) */ | |
tick_timestamp: number; | |
} | |
export interface IndividualChoice { | |
/** Premium (int64) */ | |
premium: number; | |
/** Product in pension plan group id (int32) */ | |
productInPensionPlanGroupId: number; | |
} | |
export interface IndividualReturn { | |
/** The return today in absolute values, only returned when return_abs is set to true */ | |
abs_today?: Amount; | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid?: number; | |
/** The Nordnet account number (int64) */ | |
accno: number; | |
/** The return today in percent (double) */ | |
today: number; | |
} | |
export interface InitAvtalegiroRequestResponse { | |
/** amount_limit (int32) */ | |
amount_limit?: number; | |
/** company_account_no */ | |
company_account_no?: string; | |
/** company_name */ | |
company_name?: string; | |
/** kid */ | |
kid?: string; | |
/** notification_disabled */ | |
notification_disabled?: string; | |
/** request_id (int64) */ | |
request_id?: number; | |
/** return_url */ | |
return_url?: string; | |
} | |
export interface InitialDeposit { | |
/** The initial deposit amount for the robosave monthly deposit. DEPRECATED: use deposit instead for currency (int32) */ | |
amount: number; | |
/** The date when the last deposit was made */ | |
completed_date?: string; | |
/** The initial deposit amount for the robosave monthly deposit */ | |
deposit: Amount; | |
/** The day that the transaction should be made (int32) */ | |
transaction_day: number; | |
/** The transfer status of the deposit */ | |
transfer_status: string; | |
} | |
export interface InitialInvestments { | |
/** Investment profile */ | |
investmentProfile: "NO_RESTRICTION" | "OWN_CHOICE" | "GENERATION_SAVINGS" | "SAVINGSPLAN" | "UNKNOWN"; | |
} | |
export interface Instrument { | |
/** Asset class key word */ | |
asset_class?: string; | |
/** URL to brochure if available */ | |
brochure_url?: string; | |
/** The currency of the instrument */ | |
currency: string; | |
/** The dividend policy */ | |
dividend_policy?: string; | |
/** Expiration date if applicable. (date) */ | |
expiration_date?: string; | |
/** The instrument group. Wider description than instrument type. The description is available in the instrument type lookup */ | |
instrument_group_type?: string; | |
/** Unique identifier of the instrument. Can in some cases be 0 if the instrument is not tradable (int64) */ | |
instrument_id: number; | |
/** The instrument type. */ | |
instrument_type: string; | |
/** The instrument isin code */ | |
isin_code?: string; | |
/** URLs to key information documents (KIDs) if available */ | |
key_information_documents?: KeyInformationDocuments; | |
/** The leverage percentage if applicable (double) */ | |
leverage_percentage?: number; | |
/** The margin percentage if applicable (double) */ | |
margin_percentage?: number; | |
/** Marking market view for leverage instruments. U for up and D for down */ | |
market_view?: string; | |
/** The mifid2 category of an instrument. Used to determine if a user can trade the instrument (int32) */ | |
mifid2_category?: number; | |
/** The instrument multiplier (double) */ | |
multiplier?: number; | |
/** The instrument name */ | |
name: string; | |
/** Number of securities, not available for all instruments (double) */ | |
number_of_securities?: number; | |
/** The pawn percentage if applicable (double) */ | |
pawn_percentage?: number; | |
/** Price type when trading, not available for all markets. Example: monetary_amount, percentage, yield */ | |
price_type?: string; | |
/** URL to prospectus if available */ | |
prospectus_url?: string; | |
/** The sector id of the instrument */ | |
sector?: string; | |
/** The sector group of the instrument */ | |
sector_group?: string; | |
/** The SFDR article of a fund. Can be 6, 8 or 9 (int32) */ | |
sfdr_article?: number; | |
/** Strike price if applicable (double) */ | |
strike_price?: number; | |
/** The instrument symbol. E.g 'ERIC B' */ | |
symbol: string; | |
/** Total fee (double) */ | |
total_fee?: number; | |
/** The tradables th, array;at belongs to the instrument. If the instrument is not tradable this field is left out */ | |
tradables?: Tradable[] | |
/** A list of underlyings to, array; the instrument */ | |
underlyings?: UnderlyingInfo[] | |
} | |
export interface InstrumentAlarmDisplayed { | |
/** These platforms will get not, array;ifications. Valid types are {\"EMAIL\", \"MOBILE\", \"SMS\", \"WEB\"} */ | |
active_notificationTypes: string[] | |
/** The alarmId */ | |
alarm_id?: string; | |
/** Close price (double) */ | |
close_price?: number; | |
/** Currency code */ | |
currency?: string; | |
/** Delay type */ | |
delay_type?: "0" | "900"; | |
/** Direction */ | |
direction?: string; | |
/** Country code */ | |
exchange_country?: string; | |
/** Identifier (int32) */ | |
identifier?: number; | |
/** The intrument group type */ | |
instrument_group_type?: string; | |
/** The Nordnet instrument id (int32) */ | |
instrument_id?: number; | |
/** The intrument type */ | |
instrument_type?: string; | |
/** Last price (double) */ | |
last_price?: number; | |
/** The market ID (int32) */ | |
market_id?: number; | |
/** Name of the instrument */ | |
name?: string; | |
/** Is price updated in realtime */ | |
realtime?: boolean; | |
/** The snapshot price (double) */ | |
snapshot_price?: number; | |
/** The snapshot timestamp (int64) */ | |
snapshot_timestamp?: number; | |
/** Symbol */ | |
symbol?: string; | |
/** Trigger level (double) */ | |
trigger_level?: number; | |
/** The update timestamp (int64) */ | |
update_timestamp?: number; | |
} | |
export interface InstrumentAlarmResult { | |
/** These platforms will get noti, array;fications. Valid types are {\"EMAIL\", \"MOBILE\", \"SMS\", \"WEB\"} */ | |
active_notification_types: string[] | |
/** The alarmId */ | |
alarm_id?: string; | |
/** Close price (double) */ | |
close_price?: number; | |
/** Currency code */ | |
currency?: string; | |
/** Direction */ | |
direction?: string; | |
/** Country code */ | |
exchange_country?: string; | |
/** Identifier (int32) */ | |
identifier?: number; | |
/** The intrument group type */ | |
instrument_group_type?: string; | |
/** The Nordnet instrument id (int32) */ | |
instrument_id?: number; | |
/** The intrument type */ | |
instrument_type?: string; | |
/** Last price (double) */ | |
last_price?: number; | |
/** The market ID (int32) */ | |
market_id?: number; | |
/** Name of the instrument */ | |
name?: string; | |
/** Is price updated in realtime */ | |
realtime?: boolean; | |
/** The snapshot price (double) */ | |
snapshot_price?: number; | |
/** The snapshot timestamp (int64) */ | |
snapshot_timestamp?: number; | |
/** Symbol */ | |
symbol?: string; | |
/** Trigger level (double) */ | |
trigger_level?: number; | |
/** The update timestamp (int64) */ | |
update_timestamp?: number; | |
} | |
export interface InstrumentAlarmResults { | |
/** Price alarm fields , array */ | |
results?: InstrumentAlarmResult[] | |
/** Number of alarms displayed (int32) */ | |
rows?: number; | |
/** Total number of alarms for cutomer (int32) */ | |
total_hits?: number; | |
} | |
export interface InstrumentDepth { | |
/** Level 1 ask offer price (double) */ | |
ask1: number; | |
/** Level 2 ask offer price (double) */ | |
ask2?: number; | |
/** Level 3 ask offer price (double) */ | |
ask3?: number; | |
/** Level 4 ask offer price (double) */ | |
ask4?: number; | |
/** Level 5 ask offer price (double) */ | |
ask5?: number; | |
/** Total volume of level 1 (int64) */ | |
ask_volume1: number; | |
/** Total volume of level 2 (int64) */ | |
ask_volume2?: number; | |
/** Total volume of level 3 (int64) */ | |
ask_volume3?: number; | |
/** Total volume of level 4 (int64) */ | |
ask_volume4?: number; | |
/** Total volume of level 5 (int64) */ | |
ask_volume5?: number; | |
/** Level 1 bid offer price (double) */ | |
bid1: number; | |
/** Level 2 bid offer price (double) */ | |
bid2?: number; | |
/** Level 3 bid offer price (double) */ | |
bid3?: number; | |
/** Level 4 bid offer price (double) */ | |
bid4?: number; | |
/** Level 5 bid offer price (double) */ | |
bid5?: number; | |
/** Total volume of level 1 (int64) */ | |
bid_volume1: number; | |
/** Total volume of level 2 (int64) */ | |
bid_volume2?: number; | |
/** Total volume of level 3 (int64) */ | |
bid_volume3?: number; | |
/** Total volume of level 4 (int64) */ | |
bid_volume4?: number; | |
/** Total volume of level 5 (int64) */ | |
bid_volume5?: number; | |
/** Delay of the priceinformation in seconds for this tradable (int64) */ | |
delay?: number; | |
/** Instrument id of the instrument (int64) */ | |
instrument_id: number; | |
/** Number of levels returned (int64) */ | |
levels: number; | |
/** Last change timestamp. Unix time in milliseconds (int64) */ | |
tick_timestamp: number; | |
} | |
export interface InstrumentDetails { | |
/** Preferred name to display for customer, assigned with symbol or name depending on instrument group type */ | |
display_name: string; | |
/** Instrument group (eg FND - Fund, EQ - Equity)) */ | |
instrument_group_type: "CP" | "CERT" | "DEBT" | "DER" | "EQ" | "FND" | "IDX" | "KO" | "OTH" | "PAR" | "WNT" | "WOKO" | "YE" | "LIST" | "AST" | "BASKET"; | |
/** Instrument identifier (int32) */ | |
instrument_id?: number; | |
/** ISO securities code */ | |
isin_code: string; | |
/** Full name of the instrument */ | |
name?: string; | |
/** Instrument symbol (eg ERIC B) */ | |
symbol: string; | |
} | |
export interface InstrumentEligibility { | |
/** Is the customer eligible to trade the instrument */ | |
eligible: boolean; | |
/** The instrument identifier (int32) */ | |
instrument_id: number; | |
} | |
export interface InstrumentEntity { | |
/** Information regarding the instrument/tradable on the exchange */ | |
exchange_info?: ExchangeInfo; | |
/** Historical returns information, showing the yield over time */ | |
historical_returns_info?: HistoricalReturnsInfo; | |
/** Information regarding the indicator */ | |
indicator_info?: IndicatorInfo; | |
/** Instrument information. The same instrument info may appear in multiple search results if there are multiple tradables or fund universes. */ | |
instrument_info?: InstrumentInfo; | |
/** Price information, representing an exchange traded model containing top-of-book info */ | |
price_info?: PriceInfo; | |
/** Statistics on number of nordnet customers that have positions in the instrument and on number of orders. */ | |
statistical_info?: StatisticalInfo; | |
/** Information regarding the current trading status from market */ | |
status_info?: StatusInfo; | |
} | |
export interface InstrumentFundGuidanceRequestBody { | |
/** Fund categories , array */ | |
fund_categories: string[] | |
/** Filters to find right fund, array;s */ | |
fund_filter_categories: string[] | |
/** What type of funds to return */ | |
fund_instrument_type: "FUND" | "PINV" | "ETF"; | |
/** Objective for saving (int32) */ | |
limit: number; | |
/** Period (int32) */ | |
offset: number; | |
} | |
export interface InstrumentFundGuidanceResponse { | |
/** The fund category */ | |
category?: string; | |
/** List of funds , array */ | |
instruments?: FundInstruments[] | |
} | |
export interface InstrumentHistoricalReturn { | |
/** Instrument id to get prices for, comma separate multiple inputs (int64) */ | |
instrument_id: number; | |
/** Return in % compared to close price a month ago (double) */ | |
m1: number; | |
/** additional return data from a month ago */ | |
m1_details?: ReturnDetails; | |
/** Return in % compared to close price three months ago (double) */ | |
m3: number; | |
/** additional return data from three months ago */ | |
m3_details?: ReturnDetails; | |
/** Return in % compared to close price six months ago (double) */ | |
m6: number; | |
/** additional return data from six months ago */ | |
m6_details?: ReturnDetails; | |
/** Return in % compared to close price yesterday (double) */ | |
td?: number; | |
/** Return in % compared to close price at the year shift (double) */ | |
ty: number; | |
/** additional return data from the year shift */ | |
ty_details?: ReturnDetails; | |
/** Return in % compared to close price a week ago (double) */ | |
w1: number; | |
/** additional return data from a week ago */ | |
w1_details?: ReturnDetails; | |
/** Return in % compared to close price one year ago (double) */ | |
y1: number; | |
/** additional return data from one year ago */ | |
y1_details?: ReturnDetails; | |
/** Return in % compared to close price two years ago (double) */ | |
y2?: number; | |
/** additional return data from two years ago */ | |
y2_details?: ReturnDetails; | |
/** Return in % compared to close price three years ago (double) */ | |
y3: number; | |
/** additional return data from three years ago */ | |
y3_details?: ReturnDetails; | |
/** Return in % compared to close price five years ago (double) */ | |
y5: number; | |
/** additional return data from five years ago */ | |
y5_details?: ReturnDetails; | |
} | |
export interface InstrumentInfo { | |
/** Same as clearing_place in service-instrument */ | |
clearing_place?: string; | |
/** Same as currency in service-instrument */ | |
currency?: string; | |
/** Country specific name (Only populated for Indicators) */ | |
display_name?: string; | |
/** Same as instrument_group_type in service-instrument */ | |
instrument_group_type?: string; | |
/** Same as instrument_id in service-instrument (int64) */ | |
instrument_id?: number; | |
/** Same as instrument_type in service-instrument */ | |
instrument_type?: string; | |
/** Same as instrument_type_hierarchy in service-instrument */ | |
instrument_type_hierarchy?: string; | |
/** Specifies if the instrument is shortable or not as is_shortable in service-instrument. */ | |
is_shortable?: boolean; | |
/** Specifies if the instrument is tradable or not. For example, the instrument may be an untradable index or a tradable stock. */ | |
is_tradable?: boolean; | |
/** Same as isin_code in service-instrument */ | |
isin?: string; | |
/** The full name of the instrument, possibly in local language */ | |
long_name?: string; | |
/** A short name intended for presentation */ | |
name?: string; | |
/** Max pawn percentage (int32) */ | |
pawn_percentage?: number; | |
/** The Symbol of the instrument intended for presentation */ | |
symbol?: string; | |
} | |
export interface InstrumentLots { | |
/** The instrument currency */ | |
currency: string; | |
/** The id of the instrument (int32) */ | |
instrument_id: number; | |
/** List of purchases for , array;the instrument */ | |
purchase_lots: PurchaseLot[] | |
/** summarizing values for the list of purchase lots */ | |
summary: PurchaseLotsSummary; | |
} | |
export interface InstrumentPosition { | |
/** The accid with the position (int64) */ | |
accid?: number; | |
/** The account with the position (int64) */ | |
accno: number; | |
/** The quantity of the position (double) */ | |
qty: number; | |
} | |
export interface InstrumentPriceSnapshot { | |
/** Best ask offer price (double) */ | |
ask: number; | |
/** Total volume of the best ask price (int64) */ | |
ask_volume: number; | |
/** Best bid offer price (double) */ | |
bid: number; | |
/** Total volume of the best bid price (int64) */ | |
bid_volume: number; | |
/** Close price (double) */ | |
close: number; | |
/** Delay of the price information in seconds for this tradable (int64) */ | |
delay?: number; | |
/** Equilibrium price (Only visible during auctions and show_ep = true) (float) */ | |
ep?: number; | |
/** Highest price today (double) */ | |
high: number; | |
/** The quantity of shares not paired at the equilibrium price. Positive quantity indicates buy imbalance. Negative quantity indicates sell imbalance (Only visible during auctions and show_ep = true) (int32) */ | |
imbalance?: number; | |
/** Instrument id of the instrument (int64) */ | |
instrument_id: number; | |
/** Last trade price (double) */ | |
last: number; | |
/** Last trade volume (double) */ | |
last_volume: number; | |
/** Lowest price today (double) */ | |
low: number; | |
/** Open price (double) */ | |
open: number; | |
/** The paired quantity of shares at the equilibrium price (Only visible during auctions and show_ep = true) (int32) */ | |
paired?: number; | |
/** Last change timestamp. Unix time in milliseconds (int64) */ | |
tick_timestamp: number; | |
/** Last trade timestamp. Unix time in milliseconds (int64) */ | |
trade_timestamp: number; | |
/** Total turnover today (double) */ | |
turnover: number; | |
/** Total turnover volume today (int64) */ | |
turnover_volume: number; | |
} | |
export interface InstrumentPublicTrades { | |
/** Unique identifier of the instrument (int32) */ | |
instrument_id: number; | |
/** A list of the p, array;ublic trades */ | |
trades: PublicTrade[] | |
} | |
export interface InstrumentSearchResults { | |
/** The search results , array */ | |
results?: InstrumentEntity[] | |
/** Number of result rows returned (int32) */ | |
rows?: number; | |
/** Total number of search hits (int64) */ | |
total_hits?: number; | |
} | |
export interface InstrumentTradingStatus { | |
/** The halted reason if available from the marketplace. Please note that the meaning differs between marketplaces */ | |
halted?: string; | |
/** Nordnet instrument id (int64) */ | |
instrument_id: number; | |
/** The orderbook state given by the marketplace. Please note that the meaning differs between marketplaces */ | |
source_status?: string; | |
/** Nordnet trading status of an orderbook:\n\"C\" - Continuous trading\n\"R\" - Receiving orders but trading is disabled\n\"D\" - Temporary disabled\n\"X\" - Permanently disabled\n\"U\" - Unknown state */ | |
status: string; | |
/** Timestamp of the updated. Unix time in milliseconds (int64) */ | |
tick_timestamp: number; | |
} | |
export interface InstrumentType { | |
/** The instrument type code */ | |
instrument_type: string; | |
/** The translated name of the instrument */ | |
name: string; | |
} | |
export interface InstrumentUnderlyingInfo { | |
/** Unique identifier of the underlying instrument (int64) */ | |
instrument_id: number; | |
/** Weight percentage of this holding (float) */ | |
weight: number; | |
} | |
export interface InstrumentV3 { | |
/** Instrument group type */ | |
group_type: string; | |
/** Instrument ID (int64) */ | |
instrument_id: number; | |
/** Instrument pawn percentage (double) */ | |
instrument_pawn_percentage: number; | |
/** Instrument long name */ | |
name: string; | |
/** Instrument symbol (short name) */ | |
symbol: string; | |
/** Instrument type */ | |
type: string; | |
} | |
export interface InstrumentWithPrice { | |
/** Ask price (double) */ | |
ask: number; | |
/** Ask volume (int64) */ | |
ask_volume: number; | |
/** Bid price (double) */ | |
bid: number; | |
/** Bid volume (int64) */ | |
bid_volume: number; | |
/** Close price (double) */ | |
close: number; | |
/** Price delay in seconds (int64) */ | |
delay?: number; | |
/** Highest price today (double) */ | |
high: number; | |
/** The instrument */ | |
instrument: Instrument; | |
/** Last trade price (double) */ | |
last: number; | |
/** Last trade volume (int64) */ | |
last_volume: number; | |
/** Lowest price today (double) */ | |
low: number; | |
/** Opening price (double) */ | |
open: number; | |
/** Todays turnover (double) */ | |
turnover: number; | |
/** Todays turnover volume (int64) */ | |
turnover_volume: number; | |
} | |
export interface Instrumentdetails { | |
/** Same as currency in service-instrument */ | |
currency: string; | |
/** Diff in percent since last close price (double) */ | |
diff_pct: number; | |
/** Which country is the instrument traded in */ | |
exchange_country: string; | |
/** Same as instrument_group_type in service-instrument */ | |
instrument_group_type: string; | |
/** Same as instrument_id in service-instrument (int64) */ | |
instrument_id: number; | |
/** Same as instrument_type in service-instrument */ | |
instrument_type: string; | |
/** Last price */ | |
last: PriceWithDecimals; | |
/** Market id (int64) */ | |
market_id: number; | |
/** A short name intended for presentation */ | |
name: string; | |
/** True if this price info is based on a realtime snapshot */ | |
realtime: boolean; | |
/** The Symbol of the instrument intended for presentation */ | |
symbol: string; | |
/** Last tick timestamp (int64) */ | |
timestamp: number; | |
} | |
export interface InstrumentsHasAlarmsModel { | |
/** Whether this instrument has alarms by the user */ | |
has_alarms?: boolean; | |
/** An instrument to check whether user has alarms for it (int64) */ | |
instrument_id?: number; | |
} | |
export interface Insurance { | |
/** Which of Nordnet’s companies that manages the account type. (int32) */ | |
admin_company_id?: number; | |
/** If other than the insured, this tells who the beneficiary is, otherwise empty */ | |
beneficiary?: Person; | |
/** The insurance, array;’s benefits */ | |
benefits: Benefit[] | |
/** Date when the contract was cancelled (date) */ | |
contract_cancelled_date?: string; | |
/** Inca’s internal id for an insurance (int32) */ | |
contract_id?: number; | |
/** Contract start date (date) */ | |
contract_start_date: string; | |
/** Is the insurance a death beneficiary insurance after the insured person has died? */ | |
death_beneficiary_insurance?: boolean; | |
/** Does the insurance have a premium waiver in case of sickness */ | |
has_premium_waiver?: boolean; | |
/** Does the insurance have repayment protection in case of death of the insured */ | |
has_repayment_protection?: boolean; | |
/** The insurance number of the insurance */ | |
insurance_id: string; | |
/// todo - the Insured type is not defined by nordnet /** Insured person Insured */ | |
insured: Person; | |
/** The insurance’s investment type which is either 'funds only' or 'all types of instruments' */ | |
investment_management_type: "TRADITIONAL" | "UNIT_LINKED"; | |
/** What month does out payments end (exclusive) (date) */ | |
out_payment_end?: string; | |
/** What month does out payments start (inclusive) (date) */ | |
out_payment_start?: string; | |
/** Duration of out payment time in years (int32) */ | |
out_payment_time?: number; | |
/** Type of out payment */ | |
out_payment_type?: "LIFE_LONG" | "ONCE" | "ON_DEMAND" | "TEMPORARY"; | |
/** Owner of the insurance */ | |
owner?: Person; | |
/** Payer of the insurance */ | |
payer?: Person; | |
/** If the insurance has repayment protection, who is the beneficiary? */ | |
repayment_protection_beneficiary?: string; | |
/** If true the insurance will be outside of distribution of estate when the insured dies and the beneficiary divorces (null means undefined or not applicable) */ | |
repayment_protection_is_private_property?: boolean; | |
/** The insurance’s status */ | |
status: "APPLIED" | "APPLIED_OUT_PAYMENT" | "APPLIED_REACTIVATED" | "CANCELLED" | "IN_FORCE" | "OBLITERATED" | "OUT_PAYMENT" | "PENDING_CANCELLATION" | "PENDING_PAYMENT" | "QUOTE"; | |
/** What tax rules governs the insurance */ | |
tax_category: "DK_2" | "DK_3" | "DK_ALD" | "NO_ENDOWMENT" | "NO_ENDOWMENT_UNIT_LINKED" | "NO_PENSION" | "NO_PENSIONSPARE" | "SE_CAPITAL_SAVING" | "SE_ENDOWMENT" | "SE_ENDOWMENT_PENSION" | "SE_IPS" | "SE_ISK" | "SE_OCCUPATIONAL_PENSION" | "SE_PENSION" | "SE_SALARY"; | |
/** Inca’s representation of benefit or insurance products (int32) */ | |
variant_id?: number; | |
} | |
export interface InsuranceBenefit { | |
/** Benefit amount can mean different things depending on the type of benefit.Typically it is related to the compensation in case of an insurance event. */ | |
benefitAmount?: string; | |
/** How often do payouts occur? */ | |
benefitAmountFrequency: "ONCE" | "HALF_A_YEAR" | "QUARTER" | "MONTH" | "YEAR"; | |
/** The id the insurance the benefit belongs to (int32) */ | |
benefitId: number; | |
/** Category of product, variant */ | |
benefitStatus: "APPLIED" | "APPLIED_OUT_PAYMENT" | "APPLIED_REACTIVATED" | "IN_FORCE" | "CANCELLED" | "OBLITERATED" | "OUT_PAYMENT" | "PENDING_CANCELLATION" | "PENDING_PAYMENT" | "QUOTE" | "OTHER"; | |
/** If the benefit is cancelled this property says when (date) */ | |
cancelledDate?: string; | |
/** A descriptive name of the type of benefit (int32) */ | |
contractId: number; | |
/** Premium amount */ | |
contractPrice?: string; | |
/** How often is the premium amount payed? */ | |
contractPriceFrequency: "ONCE" | "HALF_A_YEAR" | "QUARTER" | "MONTH" | "YEAR"; | |
/** If the contract price is included within the premium? */ | |
includedWithinPremium: boolean; | |
/** Name of type of benefit */ | |
name: string; | |
/** When does out payments start? Only applicable to certain types of benefits. (date) */ | |
outPaymentStartDate: string; | |
/** Benefit start date (date) */ | |
startDate?: string; | |
/** Category of product, variant */ | |
variantCategory: "B" | "T" | "P" | "K" | "NOS" | "NOP" | "NOEUL" | "_2" | "_3" | "AP" | "AS" | "EP" | "DK" | "LF" | "SJUK" | "PB" | "ALD"; | |
/** Product identifier (int32) */ | |
variantId: number; | |
} | |
export interface InsuranceValues { | |
/** The Nordnet account number (int64) */ | |
accno: number; | |
/** Fees from the use of advisory services */ | |
advisory_fees: Amount; | |
/** The date when the values were updated (date) */ | |
date: string; | |
/** Fees based on the deposited value */ | |
deposit_fees: Amount; | |
/** Total deposited amount to the insurance account */ | |
deposited_amount: Amount; | |
/** Total exported value to other accounts, internal or from other banks */ | |
exported_amount: Amount; | |
/** Fixed account fees deducted every year */ | |
fixed_fees: Amount; | |
/** Total fee from discounted funds */ | |
fund_fee_discount: Amount; | |
/** Total imported value from other accounts, internal or from other banks */ | |
imported_amount: Amount; | |
/** Total inherited amount received from other deceased persons without the benefit product repayment protection */ | |
inheritance_gain: Amount; | |
/** A fee with a fixed percent based on the total value of the account */ | |
percent_fees: Amount; | |
/** A fee which is based on the age of the insured and the account value. This value facilitates that the beneficiary gets 101% of the insurance value, if the insured dies */ | |
risk_fees: Amount; | |
/** Account value at the requested time */ | |
value_at_date: Amount; | |
/** Value of the insurance account at the start of the year */ | |
value_at_start_of_year: Amount; | |
/** The total value difference during the year */ | |
value_change: Amount; | |
/** Total withdrawn amount from the insurance account */ | |
withdrawn_amount: Amount; | |
/** The amount of yield tax payed, based on the Swedish lump tax law */ | |
yield_tax_payed: Amount; | |
/** The amount of pending yield tax, which is based on the start value and adjusted for every deposit */ | |
yield_tax_pending: Amount; | |
} | |
export interface IntField { | |
/** editable */ | |
editable?: boolean; | |
/** mandatory */ | |
mandatory?: boolean; | |
/** Tells what the max value is (inclusive) (null if no max value exists or if the field is not editable) (int32) */ | |
max_value?: number; | |
/** Tells what the min value is (null if no min value exists or if the field is not editable) (int32) */ | |
min_value?: number; | |
} | |
export interface InterestPaid { | |
/** The amount of interest paid (double) */ | |
interest_paid?: number; | |
} | |
export interface InterestRateHistory { | |
/** Balance of main account */ | |
account_balance?: Amount; | |
/** Date in millis (int64) */ | |
date: number; | |
/** The sum of main account balance and credit account balance, max value of 0 */ | |
net_credit?: Amount; | |
/** Balance of credit account */ | |
pledge_account_balance?: Amount; | |
/** Interest rate of credit account (double) */ | |
pledge_interest_rate: number; | |
} | |
export interface InterestRateModel { | |
/** The interest rate for the rate model (double) */ | |
interest_rate: number; | |
/** Translated string describing the interest rate model */ | |
type: string; | |
} | |
export interface InterestRateModels { | |
/** Eligible pawn value limit (double) */ | |
eligible_pawn_value_limit: number; | |
/** Interest rate (double) */ | |
interest_rate: number; | |
/** Largest holding limit (double) */ | |
largest_holding_limit: number; | |
/** Lending requirements */ | |
lending_requirements: LendingRequirementsV3; | |
/** Model group */ | |
model_group: "KNOCKOUT" | "ORIGINAL"; | |
/** Model type */ | |
model_type: "LEVEL1" | "LEVEL2" | "ORIGINAL"; | |
/** Utilization limit for pawn value (double) */ | |
utilization_limit: number; | |
} | |
export interface InternalTransferInfo { | |
/** Contains internal cash transfer information */ | |
transfer_info: TransferInformation; | |
} | |
export interface InternalTransferInfoResponse { | |
/** Contains internal cash transfer information */ | |
transfer_info: TransferInfo; | |
} | |
export interface IntradayGraph { | |
/** The tradable identifier. The combination of market_id and identifier is unique */ | |
identifier: string; | |
/** Unique market id (int64) */ | |
market_id: number; | |
/** A list of price, array; ticks */ | |
ticks: IntradayTick[] | |
} | |
export interface IntradayTick { | |
/** Highest price during this minute (double) */ | |
high: number; | |
/** Last price during this minute (double) */ | |
last: number; | |
/** Lowest price during this minute (double) */ | |
low: number; | |
/** No of trades during this minute (int32) */ | |
no_of_trades: number; | |
/** The timestamp in UTC (int32) */ | |
timestamp: number; | |
/** Traded volume during this minute (int32) */ | |
volume: number; | |
} | |
export interface InvestmentApproximationRequest { | |
/** The account id that identifers the account. Some systems can or must use the accno as accid (int64) */ | |
accid?: number; | |
/** List of purchases to base investment approxima, array;tion on */ | |
investment_specifications: InvestmentSpecification[] | |
/** Set number of returned snapshots. This is a best effort match and will always return a minimum of 2 snapshots (int32) */ | |
snapshot_limit?: number; | |
} | |
export interface InvestmentApproximationResponse { | |
/** Instrument charges */ | |
instrument_charges: GenericCharges; | |
/** Echoed instrument identifier (int32) */ | |
instrument_id?: number; | |
/** Kickback */ | |
kickback: GenericCharges; | |
/** Nordnet related charges */ | |
nordnet_charges: NordnetCharges; | |
/** Market value sn, array;apshots */ | |
snapshots: Snapshot[] | |
/** Nordnet total charges */ | |
total: FakCharge; | |
} | |
export interface InvestmentObjective { | |
/** Investment objective question */ | |
investment_objective_question?: InvestmentObjectiveQuestion; | |
} | |
export interface InvestmentObjectiveQuestion { | |
/** Anwers , array */ | |
answers?: AnswersBody[] | |
/** Multiple answers */ | |
multiple_answer?: boolean; | |
} | |
export interface InvestmentSpecification { | |
/** Continuously added investments in the instrument */ | |
continuous_deposit?: ContinuousDeposit; | |
/** List of custom charges th, array;at can be added, e.g. Robosave fee */ | |
custom_charges?: CustomCharge[] | |
/** Expected return in fraction (float) */ | |
expected_return?: number; | |
/** How long to hold the investment */ | |
holding_period?: HoldingPeriod; | |
/** Instrument identifier (int32) */ | |
instrument_id: number; | |
/** The currency to have all the reponse amounts in */ | |
result_currency: string; | |
/** Investment amount */ | |
trade_amount: TradeAmount; | |
} | |
export interface InvoiceEmailConfig { | |
/** The email to send the invoice pdf to */ | |
email?: string; | |
/** Organization number */ | |
organization_number: string; | |
/** Will the invoice pdf be email or not */ | |
status: ConfigStatus; | |
} | |
export interface InvoiceUrl { | |
/** Signed URL */ | |
url: string; | |
} | |
export interface IsInsuranceProductResponse { | |
/** True if account is an insurance */ | |
is_insurance_product: boolean; | |
} | |
export interface IsPensionProductResponse { | |
/** True if account is a pension product */ | |
is_pension_product: boolean; | |
} | |
export interface Issuer { | |
/** Unique id of the issuer (int64) */ | |
issuer_id: number; | |
/** Name of the issuer */ | |
name: string; | |
} | |
export interface IwtPackage { | |
/** The price of this package, including additional services that might be required for this package to function */ | |
aggregated_monthly_cost: IwtPrice; | |
/** Translation key to be used as description */ | |
category: string; | |
/** Translation key to be used as description */ | |
description: string; | |
/** Translation key to be used as flagCode */ | |
flag_code: string; | |
/** Translation key to be used as name */ | |
name: string; | |
/** The period in which the subscription is active, null if there is no subscription */ | |
period?: IwtPeriod; | |
/** Id of the service, used for subscribing in the IWT subscription endpoints */ | |
service_id: string; | |
/** The price of this package */ | |
total_price: IwtPrice; | |
} | |
export interface IwtPeriod { | |
/** ISO date */ | |
end_at?: string; | |
/** ISO date */ | |
start_at: string; | |
} | |
export interface IwtPrice { | |
/** The amount including tax */ | |
gross: Amount; | |
/** The amount without tax */ | |
net: Amount; | |
/** The value added tax amount */ | |
vat: Amount; | |
} | |
export interface IwtPriceResponse { | |
/** Customer eligibility for IWT */ | |
eligibility: "ALLOWED" | "NOT_ALLOWED" | "NOT_ALLOWED_MINOR" | "NOT_ALLOWED_JURIDICAL_ENTITIES" | "NOT_ALLOWED_IN_COUNTRY"; | |
/** The monthly cost of IWT for the current customer */ | |
monthly?: IwtPrice; | |
} | |
export interface IwtSubscription { | |
/** The id of the subscription */ | |
id: string; | |
/** The period of the subscription */ | |
period: IwtPeriod; | |
/** The id of the service */ | |
service_id: string; | |
} | |
export interface IwtSubscriptionRequest { | |
/** The id of the service */ | |
service_id: string; | |
} | |
export interface IwtUser { | |
/** True if current date is between period.start_at and period.end_at */ | |
active: boolean; | |
/** The period in which the user was/is active */ | |
period: IwtPeriod; | |
/** Redirect uri for logging a user into IWT */ | |
redirect_uri?: string; | |
/** Type of the user */ | |
user_type: "SUBSCRIBER" | "TRIAL" | "VIP" | "PENDING_ACTIVATION" | "SERVER" | "INTERNAL" | "UNKNOWN"; | |
} | |
export interface Jwk { | |
/** Identifies the algorithm intended for use with the key */ | |
alg: string; | |
/** The exponent for a standard PEM */ | |
e: string; | |
/** Key Type. Identifies the cryptographic algorithm family used with the key */ | |
kty: "RSA" | "EC"; | |
/** The modulus for a standard PEM */ | |
n: string; | |
/** Indicates whether the intended use of the public key is validating signatures or encryption */ | |
use: "sig" | "enc"; | |
} | |
export interface Jwks { | |
/** The a, array;ctive keys which current valid JWTs may have been signed by */ | |
keys: Jwk[] | |
} | |
export interface JwtResponse { | |
/** The JWT in base64 format */ | |
jwt: string; | |
} | |
export interface KeyInformationDocuments { | |
/** The URL of the key information document (KID). Link to a Combined KID document */ | |
url_for_combined?: string; | |
/** The URL of the key information document (KID). Link to a Long KID document */ | |
url_for_long?: string; | |
/** The URL of the key information document (KID). Link to a Short KID document */ | |
url_for_short?: string; | |
} | |
export interface KeyRatiosInfo { | |
/** Dividend per share (Utdelning/Aktie) (double) */ | |
dividend_per_share?: number; | |
/** Dividend yield (Direktavkastning) (double) */ | |
dividend_yield?: number; | |
/** EPS, earnings per share (Vinst/Aktie) (double) */ | |
eps?: number; | |
/** P/B ratio, price to book (double) */ | |
pb?: number; | |
/** P/E ratio, price to earnings (double) */ | |
pe?: number; | |
/** P/S ratio, price to sales (double) */ | |
ps?: number; | |
} | |
export interface KoCalcInfo { | |
/** The conversion ratio (double) */ | |
ko_calc_conversion_ratio?: number; | |
/** The underlying currency */ | |
ko_calc_underlying_currency?: string; | |
/** The underlying identifier */ | |
ko_calc_underlying_identifier?: string; | |
/** The underlying market id (int64) */ | |
ko_calc_underlying_market_id?: number; | |
} | |
export interface KoInfo { | |
/** Financial level (strike price) (double) */ | |
financial_level?: number; | |
/** Stop loss (barrier price) (double) */ | |
stop_loss?: number; | |
} | |
export interface KycAnswer { | |
/** The translated answer. Translated in the language of the session if the 'Accept-Language' header is missing */ | |
answer: string; | |
/** Answer identifier (int64) */ | |
answer_id: number; | |
/** Answer tag to be translated */ | |
answer_tag: string; | |
/** Id of the question the answer belongs to (int64) */ | |
question_id: number; | |
} | |
export interface KycQuestion { | |
/** Description of the types of answers for the question. e.g SINGLE_CHOICE */ | |
answer_type: string; | |
/** List of answer, array;s available for the question */ | |
answers: KycAnswer[] | |
/** The translated question. Translated in the language of the session if the 'Accept-Language' header is missing */ | |
question: string; | |
/** Question identifier (int64) */ | |
question_id: number; | |
/** Question tag to be translated */ | |
question_tag: string; | |
/** Id of the questionnaire the question belongs to (int64) */ | |
questionnaire_id: number; | |
} | |
export interface KycQuestionnaire { | |
/** The name of the questionnaire */ | |
name: string; | |
/** Questionnaire identifier (int64) */ | |
questionnaire_id: number; | |
/** List of questions , array;answered int he KYC */ | |
questions: KycQuestion[] | |
} | |
export interface KycQuestionnaireAnswer { | |
/** Customer number of the poa subject (int64) */ | |
poa_subject_cstno?: number; | |
/** List of questionnaire answers. Must con, array;tain answers for all questions in the questionnaire. */ | |
questionnaire_answers?: QuestionnaireAnswer[] | |
} | |
export interface KycRiskResponse { | |
/** A boolean flag indicating the risk level. */ | |
high_risk: boolean; | |
} | |
export interface KycStatus { | |
/** Deadline for when the questionnaire id needs to be re-answered (date) */ | |
required_by?: string; | |
/** Id of the questionnaire the customer should answer (int32) */ | |
required_questionnaire_id?: number; | |
/** Does the customer require kyc answer */ | |
requires_kyc: boolean; | |
} | |
export interface Language { | |
/** The language of the user */ | |
lang: string; | |
} | |
export interface Ledger { | |
/** Interest credit in the ledger currency */ | |
acc_int_cred: Amount; | |
/** Interest debit in the ledger currency */ | |
acc_int_deb: Amount; | |
/** The sum in the ledger currency */ | |
account_sum: Amount; | |
/** The sum in the account currency */ | |
account_sum_acc: Amount; | |
/** Currency of the ledger */ | |
currency: string; | |
/** The price to convert to base currency */ | |
exchange_rate: Amount; | |
} | |
export interface LedgerInformation { | |
/** Each ledger, array; */ | |
ledgers: Ledger[] | |
/** Total of all the ledgers in the account currency */ | |
total: Amount; | |
/** Total interest credit in the account currency */ | |
total_acc_int_cred: Amount; | |
/** Total interest debit in the account currency */ | |
total_acc_int_deb: Amount; | |
} | |
export interface LendingInfo { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid?: number; | |
/** The Nordnet account number (int64) */ | |
accno: number; | |
/** Instrument of the biggest holding */ | |
biggest_adjusted_instrument?: Instrument; | |
/** Collateral (pawn) values for instruments in instrument view */ | |
collateral_value?: Amount; | |
/** Current interest rate */ | |
current_interest_rate_model?: InterestRateModel; | |
/** Diversification (how much of the portfolio is made up of the biggest holding) (double) */ | |
diversification?: number; | |
/** Diversification factor (double) */ | |
diversification_factor?: number; | |
/** Eligible interest rate */ | |
eligible_interest_rate_model?: InterestRateModel; | |
/** If the account has credit agreement */ | |
has_credit_agreement: boolean; | |
/** If the account has discount agreement */ | |
has_discount_agreement: boolean; | |
/** Leverage (percentage of credit used) (double) */ | |
leverage?: number; | |
/** The maximum credit amount allowed for the account */ | |
loan_limit?: Amount; | |
/** Pledge interest rate */ | |
pledge_interest_rate_model?: InterestRateModel; | |
/** List of failed requirements , array */ | |
requirements_failed?: RequirementsFailed[] | |
/** Used collateral (pawn) values for instruments in instrument view */ | |
used_collateral_value?: Amount; | |
} | |
export interface LendingInfoExtended { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid?: number; | |
/** The Nordnet account number (int64) */ | |
accno: number; | |
/** The account type of the account (int32) */ | |
atyid: number; | |
/** Instrument of the biggest holding */ | |
biggest_adjusted_instrument?: BiggestAdjustedInstrument; | |
/** Evaluation results of the requirements mandatory for getting a credit */ | |
credit_requirements: CreditRequirements; | |
/** Current interest rate */ | |
current_interest_rate_model?: InterestRateModel; | |
/** Diversification (how much of the portfolio is made up of the biggest holding) (double) */ | |
diversification?: number; | |
/** Diversification factor (double) */ | |
diversification_factor?: number; | |
/** Eligible interest rate */ | |
eligible_interest_rate_model?: InterestRateModel; | |
/** The discount level the customer is eligble for. Based on leverage and diversification */ | |
eligible_knockout_level: "NONE" | "LEVEL1" | "LEVEL2"; | |
/** The maximum credit amount which can be borrowed with better terms (Knock out loan). Based on pawn value (double) */ | |
eligible_lending_limit: number; | |
/** If the account has credit agreement */ | |
has_credit_agreement: boolean; | |
/** If the account has discount agreement */ | |
has_discount_agreement: boolean; | |
/** Evaluation results of the requirements needed to get the better terms that the knock out loan offers */ | |
lending_requirements: LendingRequirements; | |
/** Leverage (percentage of total pawn value used) (double) */ | |
leverage?: number; | |
/** The maximum credit amount allowed for the account */ | |
loan_limit?: Amount; | |
/** Status of member lending discount */ | |
member_lending_discount_status: "ACTIVE" | "INACTIVE" | "PENDING"; | |
/** Total account collateral (pawn) value, summed up from the pawn value of every position on account, (Total amount that can be used as a security for a credit) */ | |
pawn_value?: Amount; | |
/** Pledge interest rate */ | |
pledge_interest_rate_model?: InterestRateModel; | |
/** Used collateral (pawn) value. (Current amount in use as a security for a credit) */ | |
used_pawn_value?: Amount; | |
} | |
export interface LendingInfoV3 { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid?: number; | |
/** The Nordnet account number (int64) */ | |
accno: number; | |
/** Requirements that need to be met in order to apply for super loan */ | |
apply_requirements?: ApplyRequirements; | |
/** Current model type */ | |
current_model_type: string; | |
/** Pawn value based on positions' pawn percentage with pawn percentage limit adjustment (double) */ | |
discount_adjusted_pawn_value: number; | |
/** Percentage of used pawn value with respect to discount adjusted pawn value (double) */ | |
discount_pawn_value_utilization: number; | |
/** Eligible model type */ | |
eligible_model_type: string; | |
/** Holding info */ | |
holding_info: HoldingInfo; | |
/** Interest rate models */ | |
interest_rate_models: InterestRateModels; | |
/** How much of the portfolio that is made up of the biggest holding (double) */ | |
largest_holding: number; | |
/** Pawn value based on position’s pawn percentage (double) */ | |
positions_pawn_value: number; | |
/** True if the account’s original model supports a super loan model */ | |
supported_dimid: boolean; | |
/** True if the the instrument types meet the requirements for the super loan */ | |
valid_instrument_types: boolean; | |
} | |
export interface LendingRequirements { | |
/** If the diversification requirement is meet */ | |
diversification: boolean; | |
/** If the lending requirement is meet */ | |
leverage: boolean; | |
/** If the currenct rate model is eligable for knockout loan */ | |
supported_dimid: boolean; | |
/** If the portfolio contains only valid instruments for the knockout loan, and no short positions */ | |
valid_instrument_type: boolean; | |
} | |
export interface LendingRequirementsV3 { | |
/** True if account’s largest holding percentage is less than model’s largest holding limit */ | |
largest_holding: boolean; | |
/** True if account’s pawn value utilization limit is less than model’s utilization limit */ | |
utilization: boolean; | |
} | |
export interface LeverageFilter { | |
/** List of valid , array;currencies */ | |
currencies: string[] | |
/** List of valid expiry, array; dates */ | |
expiration_dates: string[] | |
/** List of valid instrument g, array;roup types */ | |
instrument_group_types: string[] | |
/** List of valid instru, array;ment types */ | |
instrument_types: string[] | |
/** List of val, array;id issuer_id and issuer_name */ | |
issuers: Issuer[] | |
/** List of valid m, array;arket views */ | |
market_view: string[] | |
/** Number of derivatives if this filter is used (int64) */ | |
no_of_instruments: number; | |
} | |
export interface LiquidationApproximationRequest { | |
/** The account id that identifers the account. Some systems can or must use the accno as accid (int64) */ | |
accid?: number; | |
/** List of sales to base liquidation approximation , array;on */ | |
liquidation_specifications: LiquidationSpecification[] | |
} | |
export interface LiquidationApproximationResponse { | |
/** Instrument charges */ | |
instrument_charges: GenericCharges; | |
/** Unique instrument identifier (int32) */ | |
instrument_id?: number; | |
/** Kickback */ | |
kickback: GenericCharges; | |
/** Nordnet related charges */ | |
nordnet_charges: NordnetCharges; | |
/** Nordnet total charges */ | |
total: FakCharge; | |
} | |
export interface LiquidationSpecification { | |
/** How long to hold the investment */ | |
holding_period?: HoldingPeriod; | |
/** Unique instrument identifier (int32) */ | |
instrument_id: number; | |
/** The currency to have all the reponse amounts in */ | |
result_currency: string; | |
/** Sell amount */ | |
trade_amount: TradeAmount; | |
} | |
export interface List { | |
/** The country of the list if available. */ | |
country?: string; | |
/** Used for sorting the list before displaying them to the end user. (int64) */ | |
display_order: number; | |
/** Unique id for the list (int64) */ | |
list_id: number; | |
/** The translated name of the list. */ | |
name: string; | |
/** The region of the list if available. */ | |
region?: string; | |
/** The short name of the symbol. */ | |
symbol: string; | |
} | |
export interface LoggedInStatus { | |
/** True if the session is valid */ | |
logged_in: boolean; | |
} | |
export interface Login { | |
/** The environment of the server. Examples: production, test */ | |
environment: string; | |
/** The session expire interval in seconds. Note: this is not the remaining time until session timeout it is the interval (int64) */ | |
expires_in: number; | |
/** Connection information for the private feed */ | |
private_feed: Feed; | |
/** Connection information for the public feed */ | |
public_feed: Feed; | |
/** The session key used for identification in all other requests */ | |
session_key: string; | |
} | |
export interface LunaNonceRequest { | |
/** The login nonce that should be used for creating the session */ | |
loginNonce: string; | |
/** The signing nonce that should be used for creating the session */ | |
signingNonce: string; | |
} | |
export interface MaAssentStatusBody { | |
/** Consent status for email marketing. */ | |
email_consent: boolean; | |
/** Consent status for sms marketing. */ | |
sms_consent: boolean; | |
} | |
export interface MainSearchResponse { | |
/** Description of the data in this result group */ | |
display_group_description: string; | |
/** The type of data in this result group */ | |
display_group_type: string; | |
/** The results in this group */ | |
results: MainSearchResponseRow; | |
} | |
export interface MainSearchResponseRow { | |
/** The news Agency */ | |
agency?: string; | |
/** The news Agency in local language */ | |
agency_description?: string; | |
/** Close price from previous trading day */ | |
close_price?: PriceWithDecimals; | |
/** Currency instrument is traded in */ | |
currency?: string; | |
/** Yield for one day in percent */ | |
diff_pct_one_day?: string; | |
/** Yield for one year in percent */ | |
diff_pct_one_year?: string; | |
/** Name to display for user */ | |
display_name: string; | |
/** Symbol to display for user */ | |
display_symbol?: string; | |
/** The entity type if it is an indicator (example 'COMMODITY') */ | |
entity_type?: string; | |
/** The country code for the exchange */ | |
exchange_country?: string; | |
/** The news id (int64) */ | |
external_news_id?: number; | |
/** The identifier if this is an indicator */ | |
indicator_identifier?: string; | |
/** The source id if this is an indicator */ | |
indicator_source?: string; | |
/** Same as instrument_group_type in service-instrument */ | |
instrument_group_type?: string; | |
/** The unique identifier of the instrument (int64) */ | |
instrument_id?: number; | |
/** Same as instrument_type in service-instrument */ | |
instrument_type?: string; | |
/** The language for the news article / site page */ | |
language?: string; | |
/** Current last price */ | |
last_price?: PriceWithDecimals; | |
/** Header to be shown for price, i.e 'Senaste NAV' */ | |
last_price_title?: string; | |
/** The news type */ | |
news_type?: string; | |
/** News type in local language */ | |
news_type_description?: string; | |
/** Time when news article was published (according to source) (int64) */ | |
published_date_time?: number; | |
/** Price timestamp (int64) */ | |
tick_timestamp?: number; | |
/** The path to CMS-page */ | |
uri?: string; | |
/** Yield one day */ | |
yield_1y?: string; | |
} | |
export interface Market { | |
/** The country code, available for all non virtual markets */ | |
country?: string; | |
/** The Nordnet unique identifier of the market. (int64) */ | |
market_id: number; | |
/** The name of the market */ | |
name: string; | |
} | |
export interface MarketInfo { | |
/** Market identifier */ | |
identifier?: string; | |
/** Market id (int64) */ | |
market_id?: number; | |
/** Market sub id (int64) */ | |
market_sub_id?: number; | |
/** Tick size id for the tick size table to use, when applicable (int64) */ | |
tick_size_id?: number; | |
} | |
export interface Mifid2CategoriesModel { | |
/** A list of approved mifid2 ca, array;tegories */ | |
mifid2_categories: number[]// [] | |
} | |
export interface MigratePreregisteredAccount { | |
/** The preregistered bank account number. */ | |
bank_account_number: string; | |
/** The bank name of an external bank. */ | |
bank_name?: BankNameInfo; | |
/** The country code this preregistered account belongs to. */ | |
country_code: string; | |
/** customer number owning preregistering accounts (int32) */ | |
customer_number: number; | |
/** The identifier of preregister account. (int32) */ | |
prereg_id: number; | |
/** The current status of the preregistered bank account */ | |
status: "PENDING_ACTIVATION" | "SENT_FOR_ACTIVATION" | "ACTIVE" | "PENDING_DEREGISTRATION" | "SENT_FOR_DEREGISTRATION" | "DEREGISTERED" | "REJECTED"; | |
} | |
export interface MigratedAccount { | |
/** The preregistered bank account number. */ | |
bank_account_number?: string; | |
/** The country code this account belongs to. */ | |
country_code?: "DK" | "FI" | "NO" | "SE"; | |
/** The identifier of preregister account. (int32) */ | |
prereg_id?: number; | |
/** The current status of the preregistered bank account. */ | |
status?: "ACTIVE" | "DEREGISTERED" | "PENDING_ACTIVATION" | "PENDING_DEREGISTRATION" | "REJECTED" | "SENT_FOR_ACTIVATION" | "SENT_FOR_DEREGISTRATION"; | |
} | |
export interface MigrationResult { | |
/** The customer number of the owner. (int32) */ | |
customer_number: number; | |
/** The migrated pre-registered account, array;s of given cstno (can be empty). */ | |
preregistered_accounts: MigratedAccount[] | |
/** Access role */ | |
role: string; | |
} | |
export interface MigrationResultsResponse { | |
/** The migrated pre-registered ac, array;counts. */ | |
migration_results: MigrationResult[] | |
} | |
export interface MinifutureEntity { | |
/** ETP information */ | |
etp_info?: EtpInfo; | |
/** Information regarding the instrument/tradable on the exchange */ | |
exchange_info?: ExchangeInfo; | |
/** Instrument information. The same instrument info may appear in multiple search results if there are multiple tradables or fund universes. */ | |
instrument_info?: InstrumentInfo; | |
/** Information related to knock-out instruments */ | |
ko_info?: KoInfo; | |
/** Market information, identifies which market the price info is collected from */ | |
market_info?: MarketInfo; | |
/** Price information, representing an exchange traded model containing top-of-book info */ | |
price_info?: PriceInfo; | |
/** Knock-out instrument related price information */ | |
price_ko_info?: PriceKoInfo; | |
} | |
export interface MinifutureListResults { | |
/** The search results , array */ | |
results?: MinifutureEntity[] | |
/** Number of result rows returned (int32) */ | |
rows?: number; | |
/** Total number of search hits (int64) */ | |
total_hits?: number; | |
/** Id of the underlying instrument if and only if the results contains instruments with the same underlying instrument (int64) */ | |
underlying_instrument_id?: number; | |
} | |
export interface MonthlyDeposit { | |
/** The monthly deposit amount for the robosave monthly saving. DEPRECATED: use deposit instead for currency (int32) */ | |
amount: number; | |
/** The date when the transaction was completed */ | |
completed_date?: string; | |
/** The monthly deposit amount for the robosave monthly saving */ | |
deposit: Amount; | |
/** The day of the month when the transaction is made (int32) */ | |
transaction_day: number; | |
/** The status of the transaction */ | |
transfer_status: string; | |
} | |
export interface MonthlyDepositAgreement { | |
/** The status (both for error and success) for the call */ | |
status?: string; | |
/** True if the request was successful */ | |
success: boolean; | |
} | |
export interface MonthlyDepositUpdateResponse { | |
/** True if the update was successfull */ | |
success: boolean; | |
} | |
export interface MorningstarFundInfo { | |
/** Morningstar category, please note that most of the categories is not translated so the category will in most cases be given in the fund country language */ | |
category?: string; | |
/** Shows true if ETF has synthetic exposure to underlying assets. Otherwise false (direct exposure). */ | |
is_synthetic_exposure?: boolean; | |
/** Morningstar rating (int32) */ | |
rating?: number; | |
/** Date showing when data was last updated in Morningstar (date) */ | |
release_top_holding_date?: string; | |
/** Morningstar risk rating (int32) */ | |
risk?: number; | |
/** Morningstar sustainability rank (int32) */ | |
sustainability_rank?: number; | |
} | |
export interface MortgageAddress { | |
/** Address of the applicant */ | |
address1?: string; | |
/** Additional address field */ | |
address2?: string; | |
/** Additional address field */ | |
address3?: string; | |
/** The city */ | |
city?: string; | |
/** Area zip code or postal code */ | |
zip_code?: string; | |
} | |
export interface MortgageApartment { | |
/** The address of the apartment */ | |
address?: MortgageAddress; | |
/** Apartment number assigned from housing association to the apartment you are taking out a mortgage on */ | |
apartment_number?: string; | |
/** Area in square meters (float) */ | |
area?: number; | |
/** Contact info for the housing association */ | |
contact_person_of_housing_association?: MortgageContactPerson; | |
/** Address for the housing association that own the apartment building */ | |
housing_association_address?: string; | |
/** Name of the housing association that own the apartment building */ | |
housing_association_name?: string; | |
/** Organization number for the housing association that own the apartment building */ | |
housing_association_organization_id?: string; | |
/** Monthly fee for condo or bostadsrätt */ | |
monthly_fee_to_housing_association?: Amount; | |
/** Municipality where building is located */ | |
municipality?: string; | |
/** Number of rooms in the apartment (float) */ | |
number_of_rooms?: number; | |
} | |
export interface MortgageApplicant { | |
/** How to reach the applicant */ | |
contact_info?: MortgageContactInfo; | |
/** Date since when the customer has been employed by his or her current employer (date) */ | |
employed_since?: string; | |
/** Current employer */ | |
employer?: string; | |
/** Example married, single, sambo… */ | |
marital_status?: string; | |
/** Monthly income from work */ | |
monthly_income_from_employment?: Amount; | |
/** Monthly hild support received for children living at home */ | |
monthly_incoming_child_support?: Amount; | |
/** Full name of the applicant */ | |
name?: string; | |
/** What we in Sweden call 'personnummer' that the applicant uses */ | |
national_id_number?: string; | |
/** Number of children living at home (int32) */ | |
number_of_children?: number; | |
/** Sum of all other monthly costs */ | |
other_monthly_costs?: Amount; | |
/** Sum of all other monthly incomes */ | |
other_monthly_income?: Amount; | |
/** Student debt information */ | |
student_debt?: MortgageStudentDebt; | |
/** Total assets stored in banks that are not Nordnet */ | |
total_asset_in_other_banks: Amount; | |
/** Type of employment */ | |
type_of_employment?: string; | |
} | |
export interface MortgageApplication { | |
/** The total loan amount */ | |
amount?: Amount; | |
/** House or apartement must be given for the mortgage */ | |
apartment?: MortgageApartment; | |
/** Mortgage applicant */ | |
applicant?: MortgageApplicant; | |
/** Co applicant (0 or more) , array */ | |
co_applicants?: MortgageCoApplicant[] | |
/** Comment */ | |
comment?: string; | |
/** Date when the money should be transfered (date) */ | |
desired_settlement_date?: string; | |
/** Existing other loans, not tied to the property itself */ | |
existing_loan?: MortgageExistingLoan; | |
/** Mortgages already taken on the property t, array;hat the Nordnet mortgage is being spent on */ | |
existing_mortgages?: MortgageExistingMortgage[] | |
/** House or apartement must be given for the mortgage */ | |
house?: MortgageHouse; | |
/** Do the customer want a new account connected to the mortgage account that we charge interest rate from? If false the customer wants to use an already existing depot */ | |
new_connected_account?: boolean; | |
/** Properties owned by the applicant , array */ | |
other_apartments?: MortgageOtherApartment[] | |
/** Properties owned by the applicant , array */ | |
other_properties?: MortgageOtherProperty[] | |
/** Is the loan new or is this a move of an existing loan */ | |
purpose?: string; | |
} | |
export interface MortgageCoApplicant { | |
/** How to reach the applicant */ | |
contact_info?: MortgageContactInfo; | |
/** Date since when the customer has been employed by his or her current employer (date) */ | |
employed_since?: string; | |
/** Current employer */ | |
employer?: string; | |
/** Example married, single, sambo… */ | |
marital_status?: string; | |
/** Monthly income from work */ | |
monthly_income_from_employment?: Amount; | |
/** Monthly hild support received for children living at home */ | |
monthly_incoming_child_support?: Amount; | |
/** Full name of the applicant */ | |
name?: string; | |
/** What we in Sweden call 'personnummer' that the applicant uses */ | |
national_id_number?: string; | |
/** Sum of all other monthly costs */ | |
other_monthly_costs?: Amount; | |
/** Sum of all other monthly incomes */ | |
other_monthly_income?: Amount; | |
/** Student debt information */ | |
student_debt?: MortgageStudentDebt; | |
/** Total assets stored in banks that are not Nordnet */ | |
total_asset_in_other_banks: Amount; | |
/** Type of employment */ | |
type_of_employment?: string; | |
} | |
export interface MortgageContactInfo { | |
/** Address of the applicant */ | |
address1?: string; | |
/** Additional address field */ | |
address2?: string; | |
/** Additional address field */ | |
address3?: string; | |
/** The city */ | |
city?: string; | |
/** Mobile phone number */ | |
mobile_phone_number?: string; | |
/** Area zip code or postal code */ | |
zip_code?: string; | |
} | |
export interface MortgageContactPerson { | |
/** Email to contact person */ | |
email?: string; | |
/** Name of the contact person */ | |
name?: string; | |
/** Phone number of person to contact in housing association */ | |
phone_number?: string; | |
} | |
export interface MortgageExistingLoan { | |
/** The loan amount */ | |
amount?: Amount; | |
/** Guarantee for the loan */ | |
loan_guarantee?: Amount; | |
/** Total amount paid each month */ | |
monthly_down_payment?: Amount; | |
/** Total monthly interest cost */ | |
monthly_interest_rate_cost?: Amount; | |
} | |
export interface MortgageExistingMortgage { | |
/** The amount of the existing mortgage */ | |
amount?: Amount; | |
/** Will this loan be covered by the new Nordnet mortgage */ | |
covered_by_new_loan?: boolean; | |
/** Next re-fixing date of the interest date (date) */ | |
fixation_date?: string; | |
/** Interest of existing mortgage (double) */ | |
interest_rate?: number; | |
/** Montly down payment */ | |
monthly_down_payment?: Amount; | |
/** Bank that provides the loan */ | |
provider_bank?: string; | |
/** Loan reference number */ | |
reference?: string; | |
} | |
export interface MortgageHouse { | |
/** Area in square meters (float) */ | |
area?: number; | |
/** Insurance information */ | |
insurance?: MortgageInsurance; | |
/** Monthly cost to maintain the house */ | |
monthly_maintenance_cost?: Amount; | |
/** Municipality where house is located */ | |
municipality?: string; | |
/** Property designation aka \"fastighetsbetäckning\" */ | |
property_designation?: string; | |
/** Total value of all mortgage used as security reference */ | |
total_value_of_mortgage_deed?: Amount; | |
} | |
export interface MortgageInsurance { | |
/** Insurance company */ | |
insurance_company?: string; | |
/** Is the house fully insured */ | |
is_fully_insured?: boolean; | |
} | |
export interface MortgageLoan { | |
/** The loan amount */ | |
amount?: Amount; | |
/** Interest rate in percent (double) */ | |
interest_rate?: number; | |
} | |
export interface MortgageOtherApartment { | |
/** The apartment address */ | |
address?: MortgageAddress; | |
/** Existing loans on the object */ | |
existing_loan?: MortgageLoan; | |
/** Ownership share in percentage (double) */ | |
ownership_share?: number; | |
} | |
export interface MortgageOtherProperty { | |
/** Existing loans on the object */ | |
existing_loan?: MortgageLoan; | |
/** Insurance information */ | |
insurance?: MortgageInsurance; | |
/** Monthly cost to maintain the house */ | |
monthly_maintenance_cost?: Amount; | |
/** Ownership share in percentage (double) */ | |
ownership_share?: number; | |
/** Property designation aka \"fastighetsbetäckning\" */ | |
property_designation?: string; | |
} | |
export interface MortgageStudentDebt { | |
/** The monthly cost for the debt: interest rate + down payment */ | |
monthly_cost?: Amount; | |
} | |
export interface NetfondsAccountIdsListModel { | |
/** The account_id used on the Netfonds site for the migrated netfonds accounts (int32) */ | |
account_id: number; | |
} | |
export interface NetfondsCredentialsRequest { | |
/** The new password */ | |
new_password: string; | |
/** The new username */ | |
new_username: string; | |
} | |
export interface NewEmploymentRequest { | |
/** Contains riks */ | |
containsRisk: boolean; | |
/** Cost unit id (int32) */ | |
costUnitId: number; | |
/** Email address */ | |
emailAddress: string; | |
/** Employee id (int32) */ | |
employeeId: number; | |
/** Employee type */ | |
employeeType: "OWNER" | "EMPLOYEE"; | |
/** Employment number */ | |
employmentNumber: string; | |
/** Employment start date (date) */ | |
employmentStartDate: string; | |
/** Fully fit for work */ | |
fullyFitForWork: boolean; | |
/** New employment individual choises , array */ | |
individualChoiceRequests: IndividualChoice[] | |
/** Pension plan group id (int32) */ | |
pensionPlanGroupId: number; | |
/** Salary (int32) */ | |
salary: number; | |
} | |
export interface NewEmploymentResult { | |
/** Contains riks */ | |
containsRisk: boolean; | |
/** Cost unit name */ | |
costUnitName: string; | |
/** Email address */ | |
emailAddress: string; | |
/** Employee name */ | |
employeeName: string; | |
/** Person official id of employee (int32) */ | |
employeePersonOfficialId: number; | |
/** Employee type */ | |
employeeType: "OWNER" | "EMPLOYEE"; | |
/** Employment number */ | |
employmentNumber: string; | |
/** Employment start date (date) */ | |
employmentStartDate: string; | |
/** Error message */ | |
errorMessage: string; | |
/** Finished datetime (date-time) */ | |
finishedDateTime: string; | |
/** Fully fit for work */ | |
fullyFitForWork: boolean; | |
/** Id (int64) */ | |
id: number; | |
/** Inca error code */ | |
incaErrorCode: "DEFAULT" | "RECALC_WITH_NO_CASE" | "PREMIUM_TOO_LOW" | "BENEFIT_PB_TOO_HIGH" | "START_BEFORE_EMPLOYMENT" | "CONTAINS_RISK_NOT_FULLYFIT" | "PREMIUM_DO_NOT_COVER_RISK" | "OPTIMISTIC_LOCK_IN_DB" | "ADJUSTMENT_PREMIUM_NOT_FOUND" | "EMPLOYMENT_TERMS_NOT_FOUND" | "LATEST_TRANSACTION_DATETIME_ERROR" | "PENDING_RISK_ASSESSMENT_EXISTS" | "EMPLOYMENT_ALREADY_EXISTS" | "CHANGE_TOO_EARLY" | "CHANGE_TOO_LATE" | "ABSENCE_TOO_EARLY" | "ABSENCE_TOO_LATE" | "END_ABSENCE_TOO_EARLY" | "END_ABSENCE_TOO_LATE" | "END_ABSENCE_TOO_LONG" | "END_ABSENCE_WITH_RISK_ASSESSMENT" | "END_ABSENCE_RISK_REMAINS" | "END_ABSENCE_NOT_ALLOWED_WHEN_RISK_AND_NOT_FULLY_ABSENT" | "ABSENCE_PB_DOES_NOT_FOLLOW_INSURANCE" | "ABSENCE_SICK_NOT_ALLOWED" | "ABSENCE_TYPE_NOT_UNIQUE" | "ABSENCE_PRODUCTS_NOT_FOUND" | "ABSENCE_MISSING" | "ABSENCE_IND_CHOICE_CONTAINS_AMOUNTS" | "ABSENCE_START_DATE_IN_ENDED_ABSENCE_PERIOD" | "ABSENCE_VALID_ENDED_ABSENCE_EXISTS" | "EMPLOYEE_TOO_YOUNG" | "EMPLOYEE_TOO_OLD" | "EMPLOYMENT_INDIVIDUAL_CHOICE_UPDATE_ERROR" | "EMPLOYEE_NOT_APPROVED_AGE_FOR_RISK_BENEFIT" | "NEW_EMPLOYMENT_WHEN_PPG_CHANGED_ERROR" | "END_EMPLOYMENT_WHEN_PPG_CHANGED_ERROR" | "EMPLOYMENT_UPDATE_ON_NON_ACTIVE_ERROR" | "EMPLOYMENT_UPDATE_ON_CASE_ERROR" | "EMPLOYMENT_UPDATE_VALUE_MISSING"; | |
/** New employment individual choises , array */ | |
newEmploymentIndividualChoiceResults: IndividualChoice[] | |
/** Pension plan group id (int32) */ | |
pensionPlanGroupId: number; | |
/** Pension plan group name */ | |
pensionPlanGroupName: string; | |
/** Salary (int32) */ | |
salary: number; | |
/** Employment update status */ | |
status: "NEW" | "PROCESSING" | "DONE" | "CANCELLED" | "FAILED"; | |
} | |
export interface NewFundSavingsPlanModel { | |
/** The account identifier for the account. Some systems can or must use the account number as account identifier (int64) */ | |
accid: number; | |
/** The amount to save in the accounts base currency (either amount or percent must be set) (int64) */ | |
amount?: number; | |
/** The day to execute the monthly savings (int64) */ | |
deal_day?: number; | |
/** The instruments in this , array;savings plan */ | |
items: SavingsPlanInstrument[] | |
/** If to disable check that min investement amount for each fund is fullfilled (not honored for Pension savings plans) */ | |
min_investment_disabled?: boolean; | |
/** The share of the account holdings to save (either amount or percent must be set) (int32) */ | |
percent?: number; | |
/** The pre-registered bank account id to be used for autogiro (int64) */ | |
pre_registered_bank_account_id?: number; | |
/** The type of the plan you are trying to create */ | |
type: "AMOUNT" | "SHARE" | "AUTOGIRO" | "ETF" | "PENSION" | "SE_AUTOGIRO"; | |
} | |
export interface NewsArticle { | |
/** The news article’s text body */ | |
body?: string; | |
/** The news article author */ | |
byline?: string; | |
/** The news headline */ | |
headline: string; | |
/** List of instrument_ids , array;affected by the news item */ | |
instruments?: number[]// [] | |
/** List of isins a, array;ffected by the news item */ | |
isin_codes?: string[] | |
/** The news language */ | |
lang: string; | |
/** List of market_ids , array;affected by the news item */ | |
markets?: number[]// [] | |
/** Unique external news id (int64) */ | |
news_id: number; | |
/** The news type code (NEWS, ANALYSIS, PRESS_RELEASE, MARKET_COMMENTARY, PM, PMVECKAN, MARKET_NEWS, VOLATILITY_HALT, TRADING_HALT, TRADING_EVENT, TOP10) */ | |
news_type: string; | |
/** List of sect, array;ors affected by the news item */ | |
sectors?: string[] | |
/** The Nordnet unique id of the news source (int64) */ | |
source_id: number; | |
/** A summary of the news article */ | |
summary?: string; | |
/** The timestamp this news article was published. UNIX timestamp in milliseconds (int64) */ | |
timestamp: number; | |
/** Image associated with the news article */ | |
top_story_image?: TopStoryImageMeta; | |
/** Will always be NEWS (no FLASH news never returned in the news search) (just present for backwards compatability) */ | |
type: string; | |
/** The news article version (int64) */ | |
version: number; | |
} | |
export interface NewsPreview { | |
/** The news headline */ | |
headline: string; | |
/** List of instrument_ids , array;affected by the news item */ | |
instruments?: number[]// [] | |
/** The news language */ | |
lang: string; | |
/** List of market_ids , array;affected by the news item */ | |
markets?: number[]// [] | |
/** Unique external news id (int64) */ | |
news_id: number; | |
/** The news type code (NEWS, ANALYSIS, PRESS_RELEASE, MARKET_COMMENTARY, PM, PMVECKAN, MARKET_NEWS, VOLATILITY_HALT, TRADING_HALT, TRADING_EVENT, TOP10) */ | |
news_type: string; | |
/** The Nordnet unique id of the news source (int64) */ | |
source_id: number; | |
/** A summary of the news article */ | |
summary?: string; | |
/** The timestamp this news article was published. UNIX timestamp in milliseconds (int64) */ | |
timestamp: number; | |
/** Image associated with the news article */ | |
top_story_image?: TopStoryImageMeta; | |
/** Will always be NEWS */ | |
type: string; | |
} | |
export interface NewsSource { | |
/** List of countr, array;y codes that the news source affect */ | |
countries?: string[] | |
/** The access level for the news source:\n DELAYED - The user can see the news with a 15 minute delay\n REALTIME - The user can see the news in realtime\n FLASH - The user can see FLASH news (FLASH also implies realtime for ordinary news) */ | |
level: string; | |
/** The name of the news source */ | |
name: string; | |
/** The Nordnet unique id of the news source (int64) */ | |
source_id: number; | |
} | |
export interface NordnetCharges { | |
/** Calculations in this category are likely incorrect/inaccurate */ | |
high_uncertainty: boolean; | |
/** Incidental charges */ | |
incidental: FakCharge; | |
/** One off charges */ | |
one_off: FakCharge; | |
/** Ongoing charges */ | |
ongoing: FakCharge; | |
/** Nordnet total charges */ | |
total: FakCharge; | |
/** Nordnet transactional fees */ | |
transactional: NordnetTransactional; | |
} | |
export interface NordnetTransactional { | |
/** Grouping of all Nordnet charges */ | |
commission: FakCharge; | |
/** Foreign exchange spread cost */ | |
fx: FakCharge; | |
/** Nordnet total charges */ | |
total: FakCharge; | |
} | |
export interface NorwegianZeroTaxDetails { | |
/** What is the tax rate for yield positions that are not stocks. Example = 22 */ | |
other_tax_rate: number; | |
/** What percentage of stocks did this account have according to tax rules. Format: 0-100 */ | |
stocks_percentage: number; | |
/** What is the tax rate for yield on stocks. Example = 31.68 */ | |
stocks_tax_rate: number; | |
/** At what date was the tax calculation performed. Format: YYYY-MM-DD */ | |
update_date: string; | |
} | |
export interface NorwegianZeroTaxInfo { | |
/** The tax details related to the account */ | |
data?: NorwegianZeroTaxDetails; | |
/** Whether the tax information is valid or not. */ | |
status: "OK" | "ERROR" | "NOT_FOUND"; | |
} | |
export interface NotificationPreference { | |
/** Translated display name for the notification type */ | |
display_name: string; | |
/** True if this specific notification type is enabled */ | |
enabled: boolean; | |
/** Unique ID per notification type */ | |
notification_key: string; | |
} | |
export interface NotificationPreferenceUpdate { | |
/** Toggle if the preference should be enabled or not */ | |
enabled: boolean; | |
/** Unique ID per notification type */ | |
notification_key: string; | |
} | |
export interface NotificationPreferences { | |
/** True if the device has notifications activated */ | |
activated: boolean; | |
/** List of all available notificat, array;ion types and their state */ | |
preferences: NotificationPreference[] | |
} | |
export interface OptionInfo { | |
/** The exercise type of the option */ | |
exercise_type?: string; | |
/** The risk free interest based on the option expire date */ | |
risk_free_interest?: number; | |
/** The strike price for the option */ | |
strike_price?: number; | |
/** The id of the underlying instrument (int64) */ | |
underlying_instrument_id?: number; | |
/** The name of the underlying instrument */ | |
underlying_name?: string; | |
} | |
export interface OptionListResults { | |
/** List of option pair, array;s for the underlying instrument */ | |
results: OptionlistPair[] | |
/** Number of result rows returned (int32) */ | |
rows: number; | |
/** Total number of search hits (int64) */ | |
total_hits: number; | |
} | |
export interface OptionPair { | |
/** The call option */ | |
call: Instrument; | |
/** The expiration date for this option pair (date) */ | |
expiration_date: string; | |
/** The put option */ | |
put: Instrument; | |
/** The strike price for this option pair (double) */ | |
strike_price: number; | |
} | |
export interface OptionPairFilter { | |
/** List of valid expiry, array; dates */ | |
expiration_dates: string[] | |
} | |
export interface OptionlistEntity { | |
/** Derivative related information */ | |
derivative_info?: DerivativeInfo; | |
/** Information regarding the instrument/tradable on the exchange */ | |
exchange_info?: ExchangeInfo; | |
/** Instrument information. The same instrument info may appear in multiple search results if there are multiple tradables or fund universes. */ | |
instrument_info?: InstrumentInfo; | |
/** Market information, identifies which market the price info is collected from */ | |
market_info?: MarketInfo; | |
/** Contains information regarding the option. */ | |
option_info?: OptionInfo; | |
/** Price information, representing an exchange traded model containing top-of-book info */ | |
price_info?: PriceInfo; | |
} | |
export interface OptionlistPair { | |
/** Call option */ | |
call_option: OptionlistEntity; | |
/** Put option */ | |
put_option: OptionlistEntity; | |
/** Common strike price for the put and call options */ | |
strike_price: number; | |
} | |
export interface Order { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid?: number; | |
/** The Nordnet account number (int64) */ | |
accno: number; | |
/** The state of the last action performed on the order. DEL_FAIL - Delete request failed and the order is still active on market DEL_PEND - Delete request in progress and unconfirmed from the market DEL_CONF - Delete confirmed by market DEL_PUSH - Deleted by market INS_FAIL - Insert failed INS_PEND - Pending insert INS_CONF - Confirmed insert INS_STOP - The order inserted into the Nordnet system and stopped. This is the state of inactive orders and not triggered stop loss orders MOD_FAIL - Modification failed and the previous order values are still valid MOD_PEND - Modification in progress and waiting confirmation from market MOD_PUSH - Modified by market INS_WAIT - Insert waiting for market open MOD_WAIT - Modification of order on market waiting for market open DEL_WAIT - Delete of order on market waiting for market open MOD_CONF - Modification confirmed by the market */ | |
action_state: string; | |
/** Activation condition for stop loss orders */ | |
activation_condition?: ActivationCondition; | |
/** Last modification time of the order. UNIX time in milliseconds (int64) */ | |
modified: number; | |
/** Open volume of an iceberg order (double) */ | |
open_volume?: number; | |
/** Nordnet order id (int64) */ | |
order_id: number; | |
/** The state of the order: DELETED - Order is deleted LOCAL - Order is offline/local and eligible for activation ON_MARKET - Order is active on market LOCKED - Order can’t be modified by user */ | |
order_state: string; | |
/** The order type described a standard combinations of parameters, like fill and kill will have a certain validity and volume conditions. These predefined combinations of parameters can also be used for validation of input. */ | |
order_type: string; | |
/** The price of the order */ | |
price: Amount; | |
/** Price condition on the order: LIMIT - The order is limited by the given price AT_MARKET - The order is entered at the current market price. This is not supported by most markets */ | |
price_condition: string; | |
/** User reference on the orders, free text field for the end user */ | |
reference?: string; | |
/** BUY or SELL */ | |
side: string; | |
/** Identifier of the tradable */ | |
tradable: TradableId; | |
/** Total traded volume of the order (double) */ | |
traded_volume: number; | |
/** The validity period for the order */ | |
validity: Validity; | |
/** The original volume of the order (double) */ | |
volume: number; | |
/** Volume condition on the order NORMAL - All types of fills are accepted. ALL_OR_NOTHING - Partial fills not accepted */ | |
volume_condition: string; | |
} | |
export interface OrderReply { | |
/** The action state. This can be missing if the order fails the prevalidation and never enters our order system */ | |
action_state?: string; | |
/** Translated error message if result_code is not OK */ | |
message?: string; | |
/** The nordnet order id (int64) */ | |
order_id: number; | |
/** The order state. Only returned for valid orders */ | |
order_state?: string; | |
/** OK or error code */ | |
result_code: string; | |
} | |
export interface OrderStatus { | |
/** The translated name of the status tag */ | |
name: string; | |
/** The order status tag */ | |
order_status: string; | |
} | |
export interface OrderType { | |
/** The translated order type */ | |
name: string; | |
/** The order type code */ | |
type: string; | |
} | |
export interface OutPaymentSettings { | |
/** accno (int32) */ | |
accno?: number; | |
/** Clearing number of bank account that will receive out payments */ | |
out_payment_bank_account_clearing_number?: string; | |
/** Country code of bank account that will receive out payments */ | |
out_payment_bank_account_country_code?: string; | |
/** Account number of bank account that will receive out payments */ | |
out_payment_bank_account_number?: string; | |
/** How often will out payments be made */ | |
out_payment_frequency?: "HALF_A_YEAR" | "MONTH" | "ONCE" | "QUARTER" | "YEAR"; | |
/** What will the investment management type be during out payment */ | |
out_payment_investment_management_type?: "TRADITIONAL" | "UNIT_LINKED"; | |
/** At what age will out payment start? Null typically means that out payment starts on demand. (int32) */ | |
out_payment_start_age?: number; | |
/** For how many years will out payments continue? Null might mean: Out payment is done once. Out payment is done on demand. Out payments continue until end of life. (int32) */ | |
out_payment_time?: number; | |
/** Validation info to be used when editing or creating new objects */ | |
validation_info?: OutPaymentSettingsValidationInfo; | |
} | |
export interface OutPaymentSettingsValidationInfo { | |
/** Tells if out payment settings is editable at all */ | |
editable?: boolean; | |
/** Validation info out payment bank account clearing number */ | |
out_payment_bank_account_clearing_number?: StringField; | |
/** Validation info for out payment bank account country code */ | |
out_payment_bank_account_country_code?: StringField; | |
/** Validation info for out payment bank account */ | |
out_payment_bank_account_number?: StringField; | |
/** Validation info for out payment frequency */ | |
out_payment_frequency?: EnumField; | |
/** Validation info for out payment investment management type */ | |
out_payment_investment_management_type?: EnumField; | |
/** Validation info out payment start age */ | |
out_payment_start_age?: IntField; | |
/** Validation info out payment time */ | |
out_payment_time?: IntField; | |
} | |
export interface PartialScores { | |
/** The impact score (double) */ | |
impact_score?: number; | |
/** The knowledge score (double) */ | |
knowledge_score?: number; | |
/** The risk capacity score (double) */ | |
risk_capacity_score?: number; | |
/** The risk tolerance score (double) */ | |
risk_tolerance_score?: number; | |
/** The time horizon chosen by the user, normalized (double) */ | |
time_horizon_score?: number; | |
} | |
export interface PartnerAccountDiscretionaryMandate { | |
/** The account number of the account (int32) */ | |
accno: number; | |
/** Identifier of the stakeholder (int32) */ | |
stakeholder_id: number; | |
} | |
export interface PartnerAccountsColleague { | |
/** Full name of the colleague */ | |
full_name: string; | |
/** What we in Sweden call 'personnummer' that the applicant uses */ | |
national_id_number: string; | |
/** The username of the colleague */ | |
username: string; | |
} | |
export interface PartnerColleague { | |
/** Full name of the colleague */ | |
full_name: string; | |
/** What we in Sweden call 'personnummer' that the applicant uses */ | |
national_id_number: string; | |
/** List of ro, array;les for that the colleague have */ | |
roles?: string[] | |
/** The username of the colleague */ | |
username: string; | |
} | |
export interface PartnerProspectConfiguration { | |
/** List of accounts to be created and their, array; configuration */ | |
account_information_list: AccountInformation[] | |
/** Background color, should be in hex format, example '#ffffff' */ | |
background_color: string; | |
/** Name of the partner company */ | |
company_name: string; | |
/** URL where customer should be redirected to if the creation process fails */ | |
on_fail_url: string; | |
/** URL where customer should be redirected to if it’s night time and customer creation is closed */ | |
on_nighttime_url: string; | |
/** URL where customer should be redirected to if the creation process is successful */ | |
on_success_url: string; | |
/** Unique regulation id */ | |
regulation_id: string; | |
/** URL where customer should be redirected to sign the agremeents */ | |
signature_url: string; | |
} | |
export interface PartnerProspectCreate { | |
/** List of account templates , array */ | |
account_templates: number[]// [] | |
/** Citizenship of the partner prospect */ | |
citizen: string; | |
/** Email address of the prospect */ | |
email: string; | |
/** First name of the customer, should only be used for Norwegian or Danish customers */ | |
first_name?: string; | |
/** Last name of the customer, should only be used for Norwegian or Danish customers */ | |
last_name?: string; | |
/** National registration number */ | |
national_id_number: string; | |
/** Country for given national registration number */ | |
national_id_number_country_code: string; | |
/** URL where customer should be redirected to if the creation process fails */ | |
on_fail_url: string; | |
/** URL where customer should be redirected to if it’s night time and customer creation is closed */ | |
on_nighttime_url: string; | |
/** URL where customer should be redirected to if the creation process is successful */ | |
on_success_url: string; | |
/** Customer phone number */ | |
phone_number: string; | |
} | |
export interface PartnerProspectCreateResponse { | |
/** The id of the created partner prospect */ | |
partner_prospect_id: string; | |
/** URL to which the customer should be redirected to */ | |
redirect_url: string; | |
} | |
export interface PartnerProspectStatus { | |
/** List of account creation statuses , array */ | |
account_creation_statuses?: AccountCreation[] | |
/** Status for creation of the customer */ | |
customer_creation_status?: CustomerCreation; | |
/** This returns the processing status of the prospect.\nAWAITING_SIGNATURE - The request has been created but not yet signed by the customer.\nNIGHTTIME - The request cannot be completed at this time, creation is closed during the night. It is queued until 05:30 and will then be continued.\nRUNNING - The request is currently being created. It should finish soon.\nPROCESSING_DONE - The request has finished processing. Check the customer and account statuses for more information.\nPossible values = ['AWAITING_SIGNATURE', 'NIGHTTIME', 'RUNNING', 'PROCESSING_DONE'} */ | |
process_status: string; | |
} | |
export interface PartnerRole { | |
/** The role description */ | |
description: string; | |
/** The role code */ | |
role: string; | |
} | |
export interface PaymentInitiateSwish { | |
/** Payment reference of the payee. The unique id for each request. */ | |
payee_payment_reference: string; | |
/** Request token to be used as input parameter to the Swish app for the m-commerce flow. For e-commerce it is absent. */ | |
payment_request_token?: string; | |
} | |
export interface PaymentRequest { | |
/** Additional information about the error. Only applicable if status is ERROR. */ | |
additionalInformation?: string; | |
/** The amount of money to pay. (float) */ | |
amount?: number; | |
/** URL that Swish will use to notify caller about the outcome of the Payment request. */ | |
callbackUrl?: string; | |
/** The currency to use. */ | |
currency?: string; | |
/** The time and date that the payment request was created. */ | |
dateCreated?: string; | |
/** The time and date that the payment request was paid. Only applicable if status was PAID. */ | |
datePaid?: string; | |
/** A code indicating what type of error occurred. Only applicable if status is ERROR. */ | |
errorCode?: string; | |
/** A descriptive error message indicating what type of error occurred. Only applicable if status is ERROR. */ | |
errorMessage?: string; | |
/// todo - it's because it is the parameters of a request /** Id generated by Swish for the request. /** @ts-ignore */ | |
id?: string; | |
/** The message about the payment/order. */ | |
message?: string; | |
/** The Swish number of the payee. */ | |
payeeAlias?: string; | |
/** Payment reference of the payee. This reference could be order id or similar. */ | |
payeePaymentReference: string; | |
/** The registered Cell phone number of the person that makes the payment. */ | |
payerAlias?: string; | |
/** Payment reference, from the bank, of the payment that occurred based on the Payment request. Only available if status is PAID */ | |
paymentReference?: string; | |
/** The status of the transaction. */ | |
status?: string; | |
} | |
export interface PendingRiskassessment { | |
/** Name of person */ | |
personName: string; | |
/** The official of person */ | |
personOfficialId: string; | |
/** Start date of risk assesment (date) */ | |
riskAssessmentStartDate: string; | |
/** Type of risk assessment */ | |
riskAssessmentType: "FULLY_FIT_FOR_WORK" | "HEALTH_DECLARATION" | "DOCTORS_ADVICE" | "NOT_APPROVABLE" | "SPECIALIST_DOCTORS_ADVICE"; | |
} | |
export interface PensionEngagement { | |
/** responses , array */ | |
emitting_insurance_provider_responses: EmittingInsuranceProviderResponse[] | |
/** national registration number */ | |
national_registration_number: string; | |
} | |
export interface PensionPlanSelectItem { | |
/** The company name */ | |
companyName: string; | |
/** The company organization number */ | |
companyOrgNo: string; | |
/** The pension plan contract id (int32) */ | |
pensionPlanContractId: number; | |
/** The plan name */ | |
planName: string; | |
} | |
export interface PensionTransfer { | |
/** external insurance number */ | |
external_insurance_number: string; | |
/** pension claiming age (int32) */ | |
pension_claiming_age: number; | |
/** product type */ | |
product: "EPK" | "PKB"; | |
} | |
export interface Pensionplan { | |
/** Contact person */ | |
contactPerson: string; | |
/** Name */ | |
name: string; | |
/** Person id (int32) */ | |
personId: number; | |
/** Plan id (int32) */ | |
planId: number; | |
/** Retail role member */ | |
retailRoleMember: string; | |
/** Start date of the pension plan (date) */ | |
startDate: string; | |
} | |
export interface PensionplanBatchRequest { | |
/** Absence , array */ | |
absenceRequests: AbsenceRequest[] | |
/** Change pensionplan group , array */ | |
changePensionPlanGroupRequests: ChangePensionPlanGroupRequest[] | |
/** Description */ | |
description: string; | |
/** End absence , array */ | |
endAbsenceRequests: EndAbsenceRequest[] | |
/** End employments , array */ | |
endEmploymentRequests: EndEmploymentRequest[] | |
/** Batch file name */ | |
fileName: string; | |
/** Batch id (int32) */ | |
id?: number; | |
/** New employments , array */ | |
newEmploymentRequests: NewEmploymentRequest[] | |
/** Premium updates , array */ | |
premiumUpdateRequests: PremiumUpdateRequest[] | |
/** Salary updates , array */ | |
salaryUpdateRequests: SalaryUpdateRequest[] | |
} | |
export interface PensionplanBatchResult { | |
/** Results of absence reques, array;t */ | |
absenceResults: AbsenceResult[] | |
/** Batch type */ | |
batchType: "SALARY_UPDATE" | "PREMIUM_UPDATE" | "SALARY_AND_PREMIUM_UPDATE" | "NEW_EMPLOYMENT" | "END_EMPLOYMENT" | "ABSENCE" | "END_ABSENCE" | "NOT_DEFINED" | "CHANGE_PENSION_PLAN_GROUP"; | |
/** Results of change pensionplan group , array */ | |
changePensionPlanGroupResult: ChangePensionPlanGroupResult[] | |
/** Description */ | |
description: string; | |
/** Results of end absence , array */ | |
endAbsenceResults: EndAbsenceResult[] | |
/// todo - the EndEmploymentResult type, EndEmploymentResult[], array; is not defined by nordnet /** Results of end employments */ | |
endEmploymentResults: NewEmploymentResult | |
/** Batch file name */ | |
fileName: string; | |
/** Batch id (int32) */ | |
id: number; | |
/** Results of new employments , array */ | |
newEmploymentResults: NewEmploymentResult[] | |
/** Results of premium updates , array */ | |
premiumUpdateResults: PremiumUpdateResult[] | |
/** Results of salary updates , array */ | |
salaryUpdateResults: SalaryUpdateResult[] | |
/** User name */ | |
username: string; | |
} | |
export interface PensionplanBatchjob { | |
/** Batch type */ | |
batchType: "SALARY_UPDATE" | "PREMIUM_UPDATE" | "SALARY_AND_PREMIUM_UPDATE" | "NEW_EMPLOYMENT" | "END_EMPLOYMENT" | "ABSENCE" | "END_ABSENCE" | "NOT_DEFINED" | "CHANGE_PENSION_PLAN_GROUP"; | |
/** File name */ | |
fileName: string; | |
/** Finished datetime (date-time) */ | |
finishedDateTime: string; | |
/** Batch id (int32) */ | |
id: number; | |
/** Rows (int32) */ | |
rows: number; | |
/** Total number of done (int32) */ | |
totalNumberOfDone: number; | |
/** Username */ | |
username: string; | |
} | |
export interface PensionplansPensionplangroup { | |
/** Flag for risk */ | |
containsRisk: boolean; | |
/** The pension plan group id (int32) */ | |
pensionPlanGroupId: number; | |
/** The name of the pension plan group */ | |
pensionPlanGroupName: string; | |
/** The plan id (int32) */ | |
planId: number; | |
/** Start date of the pension plan group (date) */ | |
startDate: string; | |
} | |
export interface PerformanceTick { | |
/** Net result since start of period */ | |
accumulated_result: Amount; | |
/** Returns in percent since start of period (float) */ | |
accumulated_returns: number; | |
/** Date of the tick (date) */ | |
date: string; | |
/** Net result since last tick */ | |
result: Amount; | |
/** Returns in percent since last tick (float) */ | |
returns: number; | |
/** Tick timestamp in millis (int64) */ | |
time: number; | |
} | |
export interface Period { | |
/** The ISO date for when the subscription will end. Can be in the future */ | |
end_at?: string; | |
/** The ISO date for when the subscription started */ | |
start_at: string; | |
} | |
export interface PeriodQuestion { | |
/** Anwers , array */ | |
answers?: AnswersBody[] | |
/** Multiple answers */ | |
multiple_answer?: boolean; | |
} | |
export interface Person { | |
/** Country for the home address of the person */ | |
country: string; | |
/** Country code for the home address of the person */ | |
country_code: string; | |
/** Date of birth, not present if person is a company (date) */ | |
date_of_birth?: string; | |
/** First name (will be empty if the person is a company) */ | |
first_name?: string; | |
/** Last name (contains the full name if the person is a company) */ | |
last_name: string; | |
/** Either PRIVATE or LEGAL person */ | |
person_type: "LEGAL" | "PRIVATE"; | |
} | |
export interface PinResponseBody { | |
/** Response status */ | |
status: "USER_BLOCKED" | "USER_PIN_MISSING" | "USER_NOT_FOUND" | "SUCCESS" | "INTERNAL_ERROR"; | |
} | |
export interface PoaCstno { | |
/** Cstno of the PoA subject (int64) */ | |
poa_subject_cstno: number; | |
} | |
export interface PoaSubject { | |
/** The customer number of the poa subject (int64) */ | |
cstno: number; | |
/** The first name of the poa subject */ | |
first_name: string; | |
/** The last name of the poa subject */ | |
last_name: string; | |
/** The national registration number of the poa subject */ | |
national_id_number: string; | |
/** Person type of the poa subject */ | |
person_type: string; | |
} | |
export interface Portfolio { | |
/** Advice summary */ | |
adviceSummary: string; | |
/** Advisory description */ | |
advisoryDescription: string; | |
/** Portfolio description */ | |
description: string; | |
/** The portfolio identifier */ | |
identifier: string; | |
/** Portfolio name */ | |
name: string; | |
/** The portfolio id (int64) */ | |
portfolio_id: number; | |
/** Risk profile score high (double) */ | |
scoreHigh: number; | |
/** Risk profile score low (double) */ | |
scoreLow: number; | |
} | |
export interface PortfolioBody { | |
/** Allocations , array */ | |
allocations?: AllocationList[] | |
/** Risk level of fund */ | |
risk?: string; | |
/** Risk Type */ | |
risk_type?: string; | |
/** Suggested Investment Period */ | |
suggested_investment_period?: string; | |
} | |
export interface PortfolioGroup { | |
/** Context of the portfolio group */ | |
context: "EPK" | "ROBOSAVE" | "ROBOADVICE" | "NOVA" | "IDD_KF_SE" | "IDD_PT_SE"; | |
/** Country code */ | |
country: string; | |
/** Portfolio group created timestamp (int64) */ | |
created: number; | |
} | |
export interface Position { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid?: number; | |
/** The Nordnet account number (int64) */ | |
accno: number; | |
/** Acquisition price in the tradable currency */ | |
acq_price: Amount; | |
/** Acquisition price in the account currency */ | |
acq_price_acc: Amount; | |
/** Position instrument */ | |
instrument: Instrument; | |
/** Collateral percentage required to cover this position if short (qty < 0). (int32) */ | |
margin_percent: number; | |
/** Market value in the tradable currency */ | |
market_value: Amount; | |
/** Market value in the account currency */ | |
market_value_acc: Amount; | |
/** The price of the instrument of the position in the morning */ | |
morning_price: Amount; | |
/** How much can the user loan on this position (int32) */ | |
pawn_percent: number; | |
/** The quantity of the position (float) */ | |
qty: number; | |
} | |
export interface PositionAacUpdateModel { | |
/** Instrument currency */ | |
currency: string; | |
/** Instrument isin code */ | |
isin_code: string; | |
/** New average acquisition cost/price (double) */ | |
price: number; | |
/** Instrument short name */ | |
short_name: string; | |
} | |
export interface PositionDataModel { | |
/** the acquisition cost of the position data (double) */ | |
acqCost: number; | |
/** the acquisition price of the position data (double) */ | |
acqPrice: number; | |
/** the currency of the position data */ | |
currency: string; | |
/** the market value of the position data (double) */ | |
marketValue: number; | |
/** the unrealized profit of the position (double) */ | |
unrealized: number; | |
} | |
export interface Positions { | |
/** Holding percentage (double) */ | |
holding_percentage: number; | |
/** Instrument */ | |
instrument: InstrumentV3; | |
/** Market value (double) */ | |
market_value: number; | |
/** Pawn percentage (double) */ | |
pawn_percentage: number; | |
} | |
export interface PreRegisteredAccount { | |
/** The bank account number in an external bank, with preceeding clearing number */ | |
bank_accno?: string; | |
/** The bank account number in an external bank, without preceeding clearing number */ | |
bank_accno_no_clearing: string; | |
/** The clearing number of the external bank */ | |
clearing_number: string; | |
/** The status of the pre registered account */ | |
status: string; | |
} | |
export interface PreliminaryPlanItem { | |
/** The instrument in the plan (int64) */ | |
instrument_id: number; | |
/** The price for this instrument used to calculate investment (double) */ | |
price: number; | |
/** The preliminary quantity for this instrument (int64) */ | |
quantity: number; | |
} | |
export interface Premium { | |
/** Flag for if premium is current */ | |
currentValue: boolean; | |
/** Premium id (int32) */ | |
identifier: number; | |
/** Type of premium */ | |
premiumType: "ADJUSTMENT_PREMIUM" | "IND_CHOICE_PREMIUM"; | |
/** Product name */ | |
productName: string; | |
/** Premium value (int32) */ | |
value: number; | |
/** End date (date) */ | |
valueEndDate: string; | |
/** Start date (date) */ | |
valueStartDate: string; | |
} | |
export interface PremiumInInvoice { | |
/** Amount (int32) */ | |
amount: number; | |
/** Contract id (int32) */ | |
contractId: number; | |
/** Period from (date) */ | |
periodFrom: string; | |
/** Period to (date) */ | |
periodTo: string; | |
} | |
export interface PremiumInvoice { | |
/** Closed date timestamp (date-time) */ | |
closedDateTime: string; | |
/** Expiration date (date) */ | |
expirationDate: string; | |
/** Invoice number */ | |
invoiceNumber: string; | |
/** Issue date (date) */ | |
issueDate: string; | |
/** Outstanding amount */ | |
notPaidAmount: string; | |
/** Invoice pdf exists */ | |
pdfInvoiceExists: boolean; | |
/** Premium Invoice Status */ | |
premiumInvoiceStatus: "PAYED" | "NOT_PAYED" | "CANCELLED"; | |
/** Premium invoice type */ | |
premiumInvoiceType: "ACCUMULATED" | "EXTRA_PREMIUM" | "STANDARD" | "CREDIT"; | |
/** Total amount */ | |
totalAmount: string; | |
} | |
export interface PremiumUpdateRequest { | |
/** Fully fit for work */ | |
fullyFitForWork: boolean; | |
/** Identifier (int32) */ | |
identifier: number; | |
/** New value (int32) */ | |
newValue: number; | |
/** New value start date (date) */ | |
newValueStartDate: string; | |
/** Premium type */ | |
premiumType: "ADJUSTMENT_PREMIUM" | "IND_CHOICE_PREMIUM"; | |
} | |
export interface PremiumUpdateResult { | |
/** Contains risk */ | |
containsRisk: boolean; | |
/** Employment start date (date) */ | |
employmentStartDate: string; | |
/** Error message */ | |
errorMessage: string; | |
/** Finished datetime (date-time) */ | |
finishedDateTime: string; | |
/** Fully fit for work */ | |
fullyFitForWork: boolean; | |
/** Id (int64) */ | |
id: number; | |
/** Identifier (int32) */ | |
identifier: number; | |
/** Inca error code */ | |
incaErrorCode: "DEFAULT" | "RECALC_WITH_NO_CASE" | "PREMIUM_TOO_LOW" | "BENEFIT_PB_TOO_HIGH" | "START_BEFORE_EMPLOYMENT" | "CONTAINS_RISK_NOT_FULLYFIT" | "PREMIUM_DO_NOT_COVER_RISK" | "OPTIMISTIC_LOCK_IN_DB" | "ADJUSTMENT_PREMIUM_NOT_FOUND" | "EMPLOYMENT_TERMS_NOT_FOUND" | "LATEST_TRANSACTION_DATETIME_ERROR" | "PENDING_RISK_ASSESSMENT_EXISTS" | "EMPLOYMENT_ALREADY_EXISTS" | "CHANGE_TOO_EARLY" | "CHANGE_TOO_LATE" | "ABSENCE_TOO_EARLY" | "ABSENCE_TOO_LATE" | "END_ABSENCE_TOO_EARLY" | "END_ABSENCE_TOO_LATE" | "END_ABSENCE_TOO_LONG" | "END_ABSENCE_WITH_RISK_ASSESSMENT" | "END_ABSENCE_RISK_REMAINS" | "END_ABSENCE_NOT_ALLOWED_WHEN_RISK_AND_NOT_FULLY_ABSENT" | "ABSENCE_PB_DOES_NOT_FOLLOW_INSURANCE" | "ABSENCE_SICK_NOT_ALLOWED" | "ABSENCE_TYPE_NOT_UNIQUE" | "ABSENCE_PRODUCTS_NOT_FOUND" | "ABSENCE_MISSING" | "ABSENCE_IND_CHOICE_CONTAINS_AMOUNTS" | "ABSENCE_START_DATE_IN_ENDED_ABSENCE_PERIOD" | "ABSENCE_VALID_ENDED_ABSENCE_EXISTS" | "EMPLOYEE_TOO_YOUNG" | "EMPLOYEE_TOO_OLD" | "EMPLOYMENT_INDIVIDUAL_CHOICE_UPDATE_ERROR" | "EMPLOYEE_NOT_APPROVED_AGE_FOR_RISK_BENEFIT" | "NEW_EMPLOYMENT_WHEN_PPG_CHANGED_ERROR" | "END_EMPLOYMENT_WHEN_PPG_CHANGED_ERROR" | "EMPLOYMENT_UPDATE_ON_NON_ACTIVE_ERROR" | "EMPLOYMENT_UPDATE_ON_CASE_ERROR" | "EMPLOYMENT_UPDATE_VALUE_MISSING"; | |
/** Name */ | |
name: string; | |
/** New value (int32) */ | |
newValue: number; | |
/** New value start date (date) */ | |
newValueStartDate: string; | |
/** Pensionplan group */ | |
pensionPlanGroup: string; | |
/** Person official id */ | |
personOfficialId: string; | |
/** Premium type */ | |
premiumType: "ADJUSTMENT_PREMIUM" | "IND_CHOICE_PREMIUM"; | |
/** Product name */ | |
productName: string; | |
/** Employment update status */ | |
status: "NEW" | "PROCESSING" | "DONE" | "CANCELLED" | "FAILED"; | |
/** Value (int32) */ | |
value: number; | |
/** Value start date (date) */ | |
valueStartDate: string; | |
} | |
export interface PreregAccountCustomerRelation { | |
/** Customer number (int32) */ | |
customerNumber: number; | |
/** Customer name */ | |
name: string; | |
} | |
export interface PreregAccountInitializationResponse { | |
/** The url that need to be called for signing if signing is requeired */ | |
redirect_url?: string; | |
/** Unique identifier for every signing request. */ | |
request_id: string; | |
} | |
export interface PreregisteredAccount { | |
/** The bank account number in an external bank. */ | |
bank_account_number: string; | |
/** The identifier of preregister account. (int32) */ | |
prereg_id: number; | |
/** The current status of the preregistered bank account */ | |
status: "PENDING_ACTIVATION" | "SENT_FOR_ACTIVATION" | "ACTIVE" | "PENDING_DEREGISTRATION" | "SENT_FOR_DEREGISTRATION" | "DEREGISTERED" | "REJECTED"; | |
} | |
export interface PreregisteredAccountCustomerLevel { | |
/** The bank account number in an external bank. */ | |
bank_account_number: string; | |
/** The bank name of an external bank. */ | |
bank_name?: BankNameInfo; | |
/** The identifier of preregister account. (int32) */ | |
prereg_id: number; | |
/** The current status of the preregistered bank account */ | |
status: "PENDING_ACTIVATION" | "SENT_FOR_ACTIVATION" | "ACTIVE" | "PENDING_DEREGISTRATION" | "SENT_FOR_DEREGISTRATION" | "DEREGISTERED" | "REJECTED"; | |
} | |
export interface PreregisteredAccountNew { | |
/** The bank account number in an external bank. */ | |
bank_Account_Number: string; | |
/** The identifier of preregister account. (int32) */ | |
prereg_id: number; | |
/** The current status of the preregistered bank account */ | |
status: "PENDING_ACTIVATION" | "SENT_FOR_ACTIVATION" | "ACTIVE" | "PENDING_DEREGISTRATION" | "SENT_FOR_DEREGISTRATION" | "DEREGISTERED" | "REJECTED"; | |
} | |
export interface PreregisteredAccounts { | |
/** The bank account number in an external bank. */ | |
bank_account_number: string; | |
/** The identifier of preregister account. (int32) */ | |
prereg_id: number; | |
/** The current status of the preregistered bank account */ | |
status: "PENDING_ACTIVATION" | "SENT_FOR_ACTIVATION" | "ACTIVE" | "PENDING_DEREGISTRATION" | "SENT_FOR_DEREGISTRATION" | "DEREGISTERED" | "REJECTED"; | |
} | |
export interface Price { | |
/** The amount including tax */ | |
gross: Amount; | |
/** The amount without tax */ | |
net: Amount; | |
/** The value added tax amount */ | |
vat: Amount; | |
} | |
export interface PriceInfo { | |
/** Ask price, top of book */ | |
ask?: PriceWithDecimals; | |
/** Ask volume, top of book (int64) */ | |
ask_volume?: number; | |
/** Bid price, top of book */ | |
bid?: PriceWithDecimals; | |
/** Bid volume, top of book (int64) */ | |
bid_volume?: number; | |
/** Close price */ | |
close?: PriceWithDecimals; | |
/** Diff in price since last close price */ | |
diff?: DiffWithDecimals; | |
/** Diff in percent since last close price (double) */ | |
diff_pct?: number; | |
/** Highest paid today */ | |
high?: PriceWithDecimals; | |
/** Last price */ | |
last?: PriceWithDecimals; | |
/** Lowest paid today */ | |
low?: PriceWithDecimals; | |
/** Open price */ | |
open?: PriceWithDecimals; | |
/** True if this price info is based on a realtime snapshot */ | |
realtime?: boolean; | |
/** Spread between ask and bid */ | |
spread?: PriceWithDecimals; | |
/** Spread in percent between ask and bid, (ask-bid)/ask, 13.37= 13.37 (double) */ | |
spread_pct?: number; | |
/** Last tick timestamp (int64) */ | |
tick_timestamp?: number; | |
/** Daily turnover (double) */ | |
turnover?: number; | |
/** Turnover volume (int64) */ | |
turnover_volume?: number; | |
} | |
export interface PriceKoInfo { | |
/** High risk (indicative) */ | |
indicative_high_risk?: boolean; | |
/** The indicative leverage (double) */ | |
indicative_leverage?: number; | |
/** Risk buffer (double) */ | |
risk_buffer?: number; | |
} | |
export interface PriceModel { | |
/** The included commissions */ | |
commissions?: PriceModelCommissions; | |
/** Returns true when a price model is disabled for a customer */ | |
disabled: boolean; | |
/** The name of the price model */ | |
name: string; | |
/** Contains the suitable turnover range for the price model. The price model is optimal for a customer if his/her trading turnover is within this range. */ | |
price_guide?: PriceModelGuide; | |
/** The price model identifier (int32) */ | |
price_model_id: number; | |
} | |
export interface PriceModelCommission { | |
/** The commission name */ | |
name?: string; | |
/** Commission percentage (float) */ | |
percentage?: number; | |
/** Commission price */ | |
price?: Amount; | |
} | |
export interface PriceModelCommissions { | |
/** Price models for the customers , array;local region */ | |
local_region?: PriceModelCommission[] | |
/** Price models for the other regio, array;ns */ | |
other_regions?: PriceModelCommission[] | |
} | |
export interface PriceModelGuide { | |
/** The maximum turnover amount of the price model. A customer should trade less than this amount per month to be eligable for this model. */ | |
maximum_amount?: Amount; | |
/** The minimum turnover amount of the price model. A customer must trade more than this amount per month to be eligable for this model. */ | |
minimum_amount?: Amount; | |
} | |
export interface PriceSegment { | |
/** Customer price segment group */ | |
group: string; | |
} | |
export interface PriceWithDecimals { | |
/** Number of decimals (int32) */ | |
decimals?: number; | |
/** The price (double) */ | |
price?: number; | |
} | |
export interface PrintingAddress { | |
/** Address Row 1 */ | |
addressRow1: string; | |
/** Address Row 2 */ | |
addressRow2: string; | |
/** Address Row 3 */ | |
addressRow3: string; | |
/** Person id (int32) */ | |
personId: number; | |
} | |
export interface PrivatePerson { | |
/** Person Official Id to import */ | |
personOfficialId: string; | |
} | |
export interface ProductInPensionPlanGroup { | |
/** Number of years for outpayments (int32) */ | |
outpaymentTime: number; | |
/** Outpayment type */ | |
outpaymentType: "LIFE" | "NONE" | "ONCE" | "SAME_AS_LIFE" | "YEAR"; | |
/** Age when outpayment starts (int32) */ | |
pensionAge: number; | |
/** Pension plan product id (int32) */ | |
pensionPlanProductId: number; | |
/** Premium calculation method */ | |
premiumCalculationMethod: "STANDARD_PREMIUM" | "SALARY_TO_PREMIUM_TABLE" | "NONE" | "OTHER"; | |
/** Premium calculation method type */ | |
premiumCalculationMethodType: "FIXED_PREMIUM" | "ITP_ALECTA_PREMIUM" | "ITP_SPP_PREMIUM" | "SPONTANEOUS_PREMIUM" | "BTP_TRYGG" | "BTP_VALBAR" | "ITP" | "UNKNOWN"; | |
/** Premium on individual choice allowed */ | |
premiumOnIndividualChoiceAllowed: boolean; | |
/** Product id (int32) */ | |
productId: number; | |
/** Product name */ | |
productName: string; | |
/** Product select option */ | |
productSelectOption: "REQUIRED" | "OPTIONAL" | "STANDARD" | "UNAVAILABLE" | "OTHER"; | |
/** Product type */ | |
productType: "FUND" | "TRAD"; | |
/** Variant id (int32) */ | |
variantId: number; | |
} | |
export interface ProductInvolvement { | |
/** Percentage involvement in adult entertainment businesses (float) */ | |
adult_entertainment?: number; | |
/** Percentage involvement in alcohol businesses (float) */ | |
alcohol?: number; | |
/** Percentage involvement in animal testing businesses (float) */ | |
animal_testing?: number; | |
/** Percentage involvement in controversial weapons businesses (float) */ | |
controversial_weapons?: number; | |
/** Percentage involvement in fossile fule businesses (float) */ | |
fossil_fuel_involvement?: number; | |
/** Percentage involvement in gambling businesses (float) */ | |
gambling?: number; | |
/** Percentage involvement in gmo businesses (float) */ | |
gmo?: number; | |
/** Percentage involvement in military contracting businesses (float) */ | |
military_contracting?: number; | |
/** Percentage involvement in nuclear businesses (float) */ | |
nuclear?: number; | |
/** Percentage involvement in palm oil businesses (float) */ | |
palm_oil?: number; | |
/** Percentage involvement in pesticides oil businesses (float) */ | |
pesticides?: number; | |
/** Percentage involvement in small arms businesses (float) */ | |
small_arms?: number; | |
/** Percentage involvement in thermal coal businesses (float) */ | |
thermal_coal?: number; | |
/** Percentage involvement in tobacco businesses (float) */ | |
tobacco?: number; | |
} | |
export interface ProspectCreate { | |
/** The accounts that shou, array;ld be created */ | |
account_templates?: string[] | |
/** Citizenship of the prospect */ | |
citizen?: string; | |
/** Country where the prospect is located */ | |
country?: string; | |
/** Email address of the prospect */ | |
email?: string; | |
/** First name */ | |
first_name?: string; | |
/** Last name */ | |
last_name?: string; | |
/** What we in Sweden call 'personnummer' */ | |
national_id_number: string; | |
/** Country code of the national_id_number */ | |
national_id_number_country_code: string; | |
/** Offer code when a prospect uses some special advertising offer (int32) */ | |
offer_code?: number; | |
/** Customer phone number */ | |
phone_number?: string; | |
/** ID obtained from POST https://www.nordnet.se/api/2/prospects/regulation */ | |
regulation_id?: string; | |
} | |
export interface ProspectResponse { | |
/** True if automatic customer process is allowed. NOTE: Currently always true until we know how to interpret the service response */ | |
automatic: boolean; | |
/** Unique prospect id. This value is not returned if support_automatic is false */ | |
prospect_id?: string; | |
} | |
export interface ProspectSignatureResponse { | |
/** Redirect url for signature */ | |
url: string; | |
} | |
export interface ProspectTokenResponse { | |
/** Name of the bucket to use in the form */ | |
bucket: string; | |
/** Content type to set in the form */ | |
content_type: string; | |
/** Google access id to set in the form */ | |
google_access_id: string; | |
/** Key to set in the form */ | |
key: string; | |
/** Policy to set in the form */ | |
policy: string; | |
/** Signature to set in the form */ | |
signature: string; | |
} | |
export interface ProspectUpdate { | |
/** List of accountAliases lin, array;ked to the prospect. */ | |
account_aliases?: AccountAlias[] | |
/** The accounts that shou, array;ld be created */ | |
account_templates?: string[] | |
/** Citizenship of the prospect */ | |
citizen?: string; | |
/** Country where the prospect is located */ | |
country?: string; | |
/** Email address of the prospect */ | |
email?: string; | |
/** First name */ | |
first_name?: string; | |
/** Last name */ | |
last_name?: string; | |
/** Offer code when a prospect uses some special advertising offer (int32) */ | |
offer_code?: number; | |
/** The password choosen by the user */ | |
password?: string; | |
/** Customer phone number */ | |
phone_number?: string; | |
/** ID obtained from POST https://www.nordnet.se/api/2/prospects/regulation */ | |
regulation_id?: string; | |
/** The username choosen by the user */ | |
username?: string; | |
} | |
export interface PublicTrade { | |
/** Buying participate */ | |
broker_buying?: string; | |
/** Selling participate */ | |
broker_selling?: string; | |
/** The price of the trade (double) */ | |
price: number; | |
/** The trade id on the exchange */ | |
trade_id: string; | |
/** The trade type defined by the exchange. */ | |
trade_type?: string; | |
/** The volume of the trade (int64) */ | |
volume: number; | |
} | |
export interface PurchaseLot { | |
/** the date of the purchase (int64) */ | |
acquisition_date: number; | |
/** the return value of the purchase annualized (double) */ | |
annualized_lot_return: number; | |
/** the return value of the purchase (double) */ | |
lot_return: number; | |
/** the current market value of the purchase (double) */ | |
market_value: number; | |
/** the current market value of the purchase in account currenc (double) */ | |
market_value_in_account_currency: number; | |
/** the price for the purchase (double) */ | |
purchase_price: number; | |
/** the price for the purchase in account currency (double) */ | |
purchase_price_in_account_currency: number; | |
/** the purchase value (double) */ | |
purchase_value: number; | |
/** the purchase value in account currency (double) */ | |
purchase_value_in_account_currency: number; | |
/** quantity of purchase (double) */ | |
quantity: number; | |
} | |
export interface PurchaseLotsInstrument { | |
/** The instrument country */ | |
country: string; | |
/** The instrument currency */ | |
currency: string; | |
/** The instrument group type */ | |
group_type: "FUND" | "OTHER"; | |
/** The id of the instrument (int32) */ | |
instrument_id: number; | |
/** The instrument name */ | |
name: string; | |
/** The number of purchase lots that exist for this instrument. (int32) */ | |
purchase_lots_count: number; | |
/** The instrument shortname */ | |
short_name: string; | |
} | |
export interface PurchaseLotsInstrumentResponse { | |
/** List of customer’s currency acc, array;ounts. */ | |
instruments: PurchaseLotsInstrument[] | |
} | |
export interface PurchaseLotsResponse { | |
/** List of customer’s curr, array;ency accounts. */ | |
instruments: InstrumentLots[] | |
} | |
export interface PurchaseLotsSummary { | |
/** the average return value of all purchases (double) */ | |
average_lot_return: number; | |
/** the average price for all purchases (double) */ | |
average_purchase_price: number; | |
/** the average price for all purchases in account currency (double) */ | |
average_purchase_price_in_account_currency: number; | |
/** the total current market value of the purchase (double) */ | |
total_market_value: number; | |
/** the total current market value of the purchase in account currenc (double) */ | |
total_market_value_in_account_currency: number; | |
/** the total purchase value (double) */ | |
total_purchase_value: number; | |
/** the total purchase value in account currency (double) */ | |
total_purchase_value_in_account_currency: number; | |
/** the total quantity of all purchases (double) */ | |
total_quantity: number; | |
} | |
export interface Quantity { | |
/** Amount (int32) */ | |
amount: number; | |
/** Type (STOCKS, RIGHTS) */ | |
type: string; | |
} | |
export interface QuarterlyReportListingModel { | |
/** The quarter of the report (int32) */ | |
quarter: number; | |
/** The year of the report (int32) */ | |
year: number; | |
} | |
export interface QuarterlyReportModel { | |
/** The Nordnet account number (int64) */ | |
accno: number; | |
/** The first name of the account owner */ | |
first_name: string; | |
/** The last name of the account owner */ | |
last_name: string; | |
/** The name of the portfolio */ | |
portfolio_name: string; | |
/** The quarter of the report (int32) */ | |
quarter: number; | |
/** The name of the issuer */ | |
report_issuer: string; | |
/** The timestamp when the report was generated. UNIX timestamp (UTC) in milliseconds (int64) */ | |
timestamp: number; | |
/** The year of the report (int32) */ | |
year: number; | |
} | |
export interface Question { | |
/** The first alternative text */ | |
alt1: string; | |
/** The second alternative text */ | |
alt2: string; | |
/** The question text */ | |
question: string; | |
} | |
export interface QuestionnaireAnswer { | |
/** Answer identifier (int64) */ | |
answer_id: number; | |
/** Id of the question the answer belongs to (int64) */ | |
question_id: number; | |
} | |
export interface RatepensionOutPaymentParameters { | |
/** Out payment calculation principle */ | |
out_payment_calculation_principle: "ANNUITY" | "SERIAL"; | |
/** If out payment starts in for instance, June. This param tells how the value for Jan-June should be handled */ | |
pay_entire_first_year_amount: boolean; | |
} | |
export interface RealtimeAccess { | |
/** Level 0 - No access, 1 - price access, 2 - order depth (int64) */ | |
level: number; | |
/** Nordnet market_id (int64) */ | |
market_id: number; | |
} | |
export interface RealtimeDepositAccountInfoResponse { | |
/** The type of the account */ | |
account_type: "ESA" | "OTHER"; | |
/** The max amount that customer can deposit */ | |
available_to_deposit?: Amount; | |
} | |
export interface RealtimeDepositBank { | |
/** The id of the realtime money transfer bank */ | |
id: string; | |
/** The name of the realtime money transfer bank, formatted as it should be shown in FE */ | |
name: string; | |
} | |
export interface RealtimeDepositBanksResponse { | |
/** List of banks supporte, array;d by Nordnet realtime money transfer */ | |
banks: RealtimeDepositBank[] | |
} | |
export interface Refund { | |
/** Amount that will be refunded to the account */ | |
amount: Amount; | |
/** Due date in yyyy-MM-dd format (date) */ | |
due_date: string; | |
} | |
export interface RegisterAccountResponse { | |
/** True if the request was successful */ | |
is_success: boolean; | |
/** The URL to redirect the user to sign the registration */ | |
redirect_url?: string; | |
/** The status (both for error and success) for the call */ | |
status: string; | |
} | |
export interface RelatedInstruments { | |
/** Contains exchange information attributes for the related instrument */ | |
exchange_info?: ExchangeInfo; | |
/** Contains instrument information attributes for the related instrument */ | |
instrument_info?: InstrumentInfo; | |
/** Contains price information attributes for the related instrument */ | |
price_info?: PriceInfo; | |
} | |
export interface RelatedInstrumentsResult { | |
/** Currency of last price */ | |
currency: string; | |
/** Diff in percent since last close price, 10.1= 10.1 (double) */ | |
diff_pct_one_day: number; | |
/** Diff in percent last year, 10.1= 10.1 (double) */ | |
diff_pct_one_year: number; | |
/** Name to show in search result */ | |
display_name: string; | |
/** Symbol to show in search result */ | |
display_symbol: string; | |
/** The country of the exchange the instrument is listed on */ | |
exchange_country: string; | |
/** Same as instrument_group_type in service-instrument */ | |
instrument_group_type: string; | |
/** Instrument id of the instrument (int64) */ | |
instrument_id: number; | |
/** Same as instrument_type in service-instrument */ | |
instrument_type: string; | |
/** instrument_type translated to local Language */ | |
instrument_type_display_name: string; | |
/** Last price or last NAV */ | |
last_price: PriceWithDecimals; | |
/** Last tick timestamp or last NAV timestamp (int64) */ | |
tick_timestamp: number; | |
} | |
export interface RelatedInstrumentsResults { | |
/** Information about related instruments , array */ | |
related_instruments_list: RelatedInstruments[] | |
/** Information about the underlying instrument */ | |
underlying_details: UnderlyingDetails; | |
} | |
export interface RequiredAction { | |
/** Action is blocking journey */ | |
blocking: boolean; | |
/** Priority relative to other required actions (int32) */ | |
priority: number; | |
/** Possible action type values */ | |
type: "ANSWER_KYC" | "PROVIDE_EID" | "PROVIDE_LEI" | "PROVIDE_MA_ASSENT" | "PROVIDE_MA_ASSENT_PRE_EXISTING_CUSTOMER" | "NETFONDS_SET_CREDENTIALS" | "NETFONDS_VERIFY_CUSTOMER_DETAILS" | "PROVIDE_ID_COPY"; | |
} | |
export interface RequirementsFailed { | |
/** E.g. 'CREDIT_AGREEMENT', 'DISCOUNT_AGREEMENT', 'ACCNO' */ | |
lending_requirement_type?: string; | |
} | |
export interface ResponseModel { | |
/** The answer text */ | |
answer_text: string; | |
/** The question text */ | |
question_text: string; | |
/** Sort order */ | |
sort_order: string; | |
} | |
export interface Return { | |
/** The return today in absolute values, only returned when return_abs is set to true */ | |
abs_today?: Amount; | |
/** The return today in percent (double) */ | |
today: number; | |
} | |
export interface ReturnDetails { | |
/** The change in amount from 'close' compared to today’s price (double) */ | |
change: number; | |
/** The closing price (double) */ | |
close: number; | |
/** The highest price (double) */ | |
high: number; | |
/** The lowest price (double) */ | |
low: number; | |
/** The average turnover volume for the period. (int64) */ | |
turnover_volume: number; | |
} | |
export interface RiskStatistics { | |
/** Alpha value for one year (float) */ | |
alpha_y1?: number; | |
/** Alpha value for three years (float) */ | |
alpha_y3?: number; | |
/** Alpha value for five years (float) */ | |
alpha_y5?: number; | |
/** Beta value for one year (float) */ | |
beta_y1?: number; | |
/** Beta value for three years (float) */ | |
beta_y3?: number; | |
/** Beta value for five years (float) */ | |
beta_y5?: number; | |
/** R squared value for one year (float) */ | |
r2_y1?: number; | |
/** R squared value for three years (float) */ | |
r2_y3?: number; | |
/** R squared value for five years (float) */ | |
r2_y5?: number; | |
/** Sharpe ratio value for one year (float) */ | |
sharpe_ratio_y1?: number; | |
/** Sharpe ratio value for three years (float) */ | |
sharpe_ratio_y3?: number; | |
/** Sharpe ratio value for five years (float) */ | |
sharpe_ratio_y5?: number; | |
/** Standard deviation squared value for one year (float) */ | |
standard_deviation_y1?: number; | |
/** Standard deviation squared value for three years (float) */ | |
standard_deviation_y3?: number; | |
/** Standard deviation squared value for five years (float) */ | |
standard_deviation_y5?: number; | |
} | |
export interface RobosaveDeposit { | |
/** Information about the robosave initial deposit */ | |
intial_deposit?: InitialDeposit; | |
/** Information about the robosave monthly deposit */ | |
monthly_deposit: MonthlyDeposit; | |
/** Type of monthly deposit */ | |
type: string; | |
} | |
export interface RowIdStr { | |
/** From age (int32) */ | |
fromAge: number; | |
/** Row id (int32) */ | |
rowId: number; | |
/** To age (int32) */ | |
toAge: number; | |
} | |
export interface RtmtCompleteRequest { | |
/** External payment status */ | |
payment_status: "SUCCESS" | "CANCEL" | "REJECT"; | |
} | |
export interface RtmtCompleteResponse { | |
/** Complete initialization status */ | |
status: string; | |
} | |
export interface RtmtInitializationResponse { | |
/** Request id for initialization */ | |
request_id: string; | |
/** Form POST URL */ | |
url: string; | |
} | |
export interface Salary { | |
/** Flag for if salary is current */ | |
currentValue: boolean; | |
/** Salary id (int32) */ | |
identifier: number; | |
/** Product name */ | |
productName: string; | |
/** Salary value (int32) */ | |
value: number; | |
/** End date (date) */ | |
valueEndDate: string; | |
/** Start date (date) */ | |
valueStartDate: string; | |
} | |
export interface SalaryUpdateRequest { | |
/** Fully fit for work */ | |
fullyFitForWork: boolean; | |
/** Identifier (int32) */ | |
identifier: number; | |
/** New value (int32) */ | |
newValue: number; | |
/** New value start date (date) */ | |
newValueStartDate: string; | |
} | |
export interface SalaryUpdateResult { | |
/** Contains risk */ | |
containsRisk: boolean; | |
/** Employment start date (date) */ | |
employmentStartDate: string; | |
/** Error message */ | |
errorMessage: string; | |
/** Finished datetime (date-time) */ | |
finishedDateTime: string; | |
/** Fully fit for work */ | |
fullyFitForWork: boolean; | |
/** Id (int64) */ | |
id: number; | |
/** Identifier (int32) */ | |
identifier: number; | |
/** Inca error code */ | |
incaErrorCode: "DEFAULT" | "RECALC_WITH_NO_CASE" | "PREMIUM_TOO_LOW" | "BENEFIT_PB_TOO_HIGH" | "START_BEFORE_EMPLOYMENT" | "CONTAINS_RISK_NOT_FULLYFIT" | "PREMIUM_DO_NOT_COVER_RISK" | "OPTIMISTIC_LOCK_IN_DB" | "ADJUSTMENT_PREMIUM_NOT_FOUND" | "EMPLOYMENT_TERMS_NOT_FOUND" | "LATEST_TRANSACTION_DATETIME_ERROR" | "PENDING_RISK_ASSESSMENT_EXISTS" | "EMPLOYMENT_ALREADY_EXISTS" | "CHANGE_TOO_EARLY" | "CHANGE_TOO_LATE" | "ABSENCE_TOO_EARLY" | "ABSENCE_TOO_LATE" | "END_ABSENCE_TOO_EARLY" | "END_ABSENCE_TOO_LATE" | "END_ABSENCE_TOO_LONG" | "END_ABSENCE_WITH_RISK_ASSESSMENT" | "END_ABSENCE_RISK_REMAINS" | "END_ABSENCE_NOT_ALLOWED_WHEN_RISK_AND_NOT_FULLY_ABSENT" | "ABSENCE_PB_DOES_NOT_FOLLOW_INSURANCE" | "ABSENCE_SICK_NOT_ALLOWED" | "ABSENCE_TYPE_NOT_UNIQUE" | "ABSENCE_PRODUCTS_NOT_FOUND" | "ABSENCE_MISSING" | "ABSENCE_IND_CHOICE_CONTAINS_AMOUNTS" | "ABSENCE_START_DATE_IN_ENDED_ABSENCE_PERIOD" | "ABSENCE_VALID_ENDED_ABSENCE_EXISTS" | "EMPLOYEE_TOO_YOUNG" | "EMPLOYEE_TOO_OLD" | "EMPLOYMENT_INDIVIDUAL_CHOICE_UPDATE_ERROR" | "EMPLOYEE_NOT_APPROVED_AGE_FOR_RISK_BENEFIT" | "NEW_EMPLOYMENT_WHEN_PPG_CHANGED_ERROR" | "END_EMPLOYMENT_WHEN_PPG_CHANGED_ERROR" | "EMPLOYMENT_UPDATE_ON_NON_ACTIVE_ERROR" | "EMPLOYMENT_UPDATE_ON_CASE_ERROR" | "EMPLOYMENT_UPDATE_VALUE_MISSING"; | |
/** Name */ | |
name: string; | |
/** New value (int32) */ | |
newValue: number; | |
/** New value start date (date) */ | |
newValue_start_date: string; | |
/** Pensionplan group */ | |
pensionPlanGroup: string; | |
/** Person official id */ | |
personOfficialId: string; | |
/** Product name */ | |
productName: string; | |
/** Employment update status */ | |
status: "NEW" | "PROCESSING" | "DONE" | "CANCELLED" | "FAILED"; | |
/** Value (int32) */ | |
value: number; | |
/** Value start date (date) */ | |
valueStartDate: string; | |
} | |
export interface SamlRequestRedirect { | |
/** The Signicat redirect URL containing the SAML request */ | |
request_url: string; | |
} | |
export interface SavingsPlanInstrument { | |
/** An instrument id (int64) */ | |
instrument_id: number; | |
/** The percentage to save in this instrument (int64) */ | |
percent: number; | |
} | |
export interface SavingsPlanModel { | |
/** The initial savings amount */ | |
initial: Amount; | |
/** The monthly savings amount */ | |
monthly: Amount; | |
/** The day of month for the initial transaction (int32) */ | |
transaction_day_initial: number; | |
/** The day of month for the monthly transactions (int32) */ | |
transaction_day_monthly: number; | |
} | |
export interface SavingsPlanValidAccountsModel { | |
/** The accid for this validity (int64) */ | |
accid: number; | |
/** Whether this account is allowed to create etf savings */ | |
create_etf_amount: boolean; | |
/** Whether this account is allowed to create fund amount savings */ | |
create_mf_amount: boolean; | |
/** Whether this account is allowed to create fund share savings */ | |
create_mf_share: boolean; | |
} | |
export interface Savingsplan { | |
/** Account number (int32) */ | |
accno: number; | |
/** Possible to delete */ | |
deletable?: boolean; | |
/** The savingsplans id (int32) */ | |
id?: number; | |
/** Insurance id */ | |
insuranceId: string; | |
/** User who sends the request */ | |
username: string; | |
} | |
/// todo - ScoreModel is not defined by nordnet | |
export interface ScoresModel { | |
/** An optional previous score for a customer ScoreModel */ | |
previous_score?: unknown; | |
/** The latest score for a customer ScoreModel */ | |
score: unknown; | |
} | |
export interface ScriveRequestRedirect { | |
/** The Scrive redirect URL */ | |
request_url: string; | |
} | |
export interface Sector { | |
/** The sector group for this sector */ | |
group?: string; | |
/** Translated name of the sector */ | |
name: string; | |
/** The unique sector id */ | |
sector: string; | |
} | |
export interface Service { | |
/** The category of the service */ | |
category: string; | |
/** A ISO-3166 alph-2 country code that indicates what country a service relates to */ | |
country_code?: string; | |
/** The id of the service */ | |
id: string; | |
/** A translation tag to be used for the name of the service */ | |
name: string; | |
} | |
export interface ServiceInfoResponse { | |
/** True if the service is open. The service is available every day apart from the times: 01:00 - 05:00 CET */ | |
is_open: boolean; | |
} | |
export interface ServiceProviderResponse { | |
/** ID of the provider */ | |
id: string; | |
/** Name of the provider */ | |
name: string; | |
} | |
export interface ServiceResponse { | |
/** The date when the next fee deduction is scheduled */ | |
next_billing_date: string; | |
/** List of servic, array;es */ | |
services: Services[] | |
/** The total recurring monthly cost for the customer */ | |
total_cost: Price; | |
} | |
export interface Services { | |
/** Service ids, array; that will also be subscribed/unsubscribed by performing the action on this service */ | |
affects: string[] | |
/** The cost of the service for the logged in customer */ | |
monthly_cost: Price; | |
/** Information about the service */ | |
service: Service; | |
/** Information about the customers subscription to the service, null if not subscribed */ | |
subscription?: Subscription; | |
} | |
export interface SessionReply { | |
/** The session id of the created session */ | |
session_id: string; | |
} | |
export interface Setting { | |
/** The key of the setting, max len is 30 char, valid chars is [0-9a-zA-Z_} */ | |
key: string; | |
/** The value of the setting */ | |
value: string; | |
} | |
export interface SharedAccountResponse { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid: number; | |
/** External string representation of the shared account */ | |
accno_external_id: string; | |
/** The name of the service provider */ | |
service_provider_id: string; | |
/** Flag that indicates whether the account is shared of not */ | |
shared: boolean; | |
} | |
export interface SharevilleComment { | |
/** The user that wrote the comment */ | |
author: SharevilleProfile; | |
/** The id of the comment (int64) */ | |
conversation_id: number; | |
/** The timestamp of when the comment was created (int64) */ | |
created: number; | |
/** The name if the instrument */ | |
instrument_name: string; | |
/** The comment text */ | |
text: string; | |
/** Uri of the actual comment on shareville */ | |
uri: string; | |
} | |
export interface SharevilleFollowers { | |
/** The number of new followers today (int32) */ | |
today: number; | |
/** The total number of followers (int32) */ | |
total: number; | |
} | |
export interface SharevilleProfile { | |
/** Uri to the profile picture in Shareville */ | |
avatar_uri: string; | |
/** The number of followers this user has on Shareville */ | |
followers: SharevilleFollowers; | |
/** The username of the user */ | |
name: string; | |
/** The profiles Shareville rating (int32) */ | |
rating: number; | |
/** The uri to the profile page on Shareville */ | |
uri: string; | |
} | |
export interface ShowAttachmentMetaData { | |
/** Sort order for the attachment */ | |
attachment_index: string; | |
/** URL to load the attachment file */ | |
attachment_url: string; | |
/** The type of attachment */ | |
content_type: string; | |
/** Attachment title */ | |
title: string; | |
} | |
export interface ShowMessage { | |
/** The accid that this message was sent to (int32) */ | |
accid?: number; | |
/** True if message is answered */ | |
answer: boolean; | |
/** How long the message will be displayed for the customer (int32) */ | |
best_before?: number; | |
/** Who sent the message */ | |
from: string; | |
/** The message */ | |
message: string; | |
/** The id of the message (int32) */ | |
message_id: number; | |
/** How important the message is */ | |
prio: "urgent" | "important" | "default "; | |
/** True if message was sent by the customer */ | |
sent: boolean; | |
/** When the message was sent (int64) */ | |
sent_at: number; | |
/** Information about attachments , array */ | |
show_attachment_meta_data?: ShowAttachmentMetaData[] | |
/** The subject of the message */ | |
subject: string; | |
/** True if customer has viewed the message */ | |
viewed: boolean; | |
} | |
export interface Snapshot { | |
/** Timestamp in UTC +0 (int64) */ | |
date: number; | |
/** Market value at date */ | |
market_value: Amount; | |
/** Market value without fees at date */ | |
market_value_without_fees: Amount; | |
/** Price of the instrument at this date based on 'market_value' */ | |
price?: Amount; | |
/** Number of instruments owned at this date. Note, value can increase based on continuous deposits (int32) */ | |
qty?: number; | |
} | |
export interface SocialAccount { | |
/** The public alias of the account */ | |
account_alias: string; | |
/** The public alias of the user */ | |
user_alias: string; | |
} | |
export interface SocialAccountInfo { | |
/** The public alias of the account */ | |
account_alias: string; | |
/** The account type */ | |
type: string; | |
/** The account type text translated to all languages */ | |
type_text: TypeText; | |
/** The public alias of the user */ | |
user_alias: string; | |
} | |
export interface SocialAccountList { | |
/** A list of ac, array;count aliases */ | |
accounts: string[] | |
} | |
export interface SocialHistoricalReturnV2 { | |
/** Return in % the last month (double) */ | |
m1: number; | |
/** Return in % the last three months (double) */ | |
m3: number; | |
/** Return in % the last six months (double) */ | |
m6: number; | |
/** Sharpe quote one month (double) */ | |
s1m: number; | |
/** Sharpe quote three year (double) */ | |
s3y: number; | |
/** Sharpe quote one year (double) */ | |
sy: number; | |
/** Return in % this year (double) */ | |
ty: number; | |
/** Portfolio volatility one month (double) */ | |
v1m: number; | |
/** Portfolio volatility three year (double) */ | |
v3y: number; | |
/** Portfolio volatility one year (double) */ | |
vy: number; | |
/** Return in % the last week (double) */ | |
w1: number; | |
/** Return in % since last year (double) */ | |
y1: number; | |
/** Return in % the last 3 years (double) */ | |
y3: number; | |
} | |
export interface SocialHistoricalReturnsBatch { | |
/** The account alias */ | |
alias: string; | |
/** Return in % the last month (double) */ | |
m1: number; | |
/** Return in % the last three months (double) */ | |
m3: number; | |
/** Return in % the last six months (double) */ | |
m6: number; | |
/** Sharpe quote one month (double) */ | |
s1m: number; | |
/** Sharpe quote three year (double) */ | |
s3y: number; | |
/** Sharpe quote one year (double) */ | |
sy: number; | |
/** Return in % this year (double) */ | |
ty: number; | |
/** Portfolio volatility one month (double) */ | |
v1m: number; | |
/** Portfolio volatility three year (double) */ | |
v3y: number; | |
/** Portfolio volatility one year (double) */ | |
vy: number; | |
/** Return in % the last week (double) */ | |
w1: number; | |
/** Return in % since last year (double) */ | |
y1: number; | |
/** Return in % the last 3 years (double) */ | |
y3: number; | |
} | |
export interface SocialPerformanceV2 { | |
/** Performance , array;data for the last month */ | |
m1?: Performance[] | |
/** Performance , array;data for three months */ | |
m3?: Performance[] | |
/** Performance , array;data for six months */ | |
m6?: Performance[] | |
/** Performance , array;data for this year */ | |
ty?: Performance[] | |
/** Performance , array;data for the last week */ | |
w1?: Performance[] | |
/** Performance , array;data for one year */ | |
y1?: Performance[] | |
/** Performance , array;data for three years */ | |
y3?: Performance[] | |
/** Performance , array;data for five years */ | |
y5?: Performance[] | |
} | |
export interface SocialPosition { | |
/** Acquisition price in the account currency */ | |
acq_price_acc: Amount; | |
/** Position instrument */ | |
instrument: Instrument; | |
/** True if the user has changed the gav manually */ | |
is_custom_gav: boolean; | |
/** Value of the position in percent of the full market value (double) */ | |
percent: number; | |
} | |
export interface SocialTransaction { | |
/** The transaction account date (date) */ | |
date: string; | |
/** Position instrument */ | |
instrument: Instrument; | |
/** DEPRECATED: DO NOT USE. The price of the trade in percent of balance at the time of the transaction (double) */ | |
percent: number; | |
/** The price of a single share. Please note that when the instrument has expired the currency is \"N/A\" */ | |
price: Amount; | |
/** Type of the transaction */ | |
type: string; | |
} | |
export interface SourceAccount { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid?: number; | |
/** The Nordnet account number (int64) */ | |
accno?: number; | |
/** The account type id of the account (int32) */ | |
account_type_id?: number; | |
/** Customer alias name */ | |
alias?: string; | |
} | |
export interface SourceAccountInfo { | |
/** The type of the account */ | |
account_type: "ESA" | "DSK" | "OTHER"; | |
/** The negative interest accrued on the account */ | |
accrued_negative_interest?: Amount; | |
/** The sum of accumulated tax for this year and tax to be deducted */ | |
combined_tax?: Amount; | |
/** The daily withdrawal limit information for the account */ | |
daily_withdrawal_limit: DailyWithdrawalLimit; | |
/** The own capital for an ESA account */ | |
esa_own_capital?: Amount; | |
/** True if the account has a pending pension transfer */ | |
has_pending_pension_transfer: boolean; | |
/** True if withdrawing money will cause tax effects */ | |
has_tax_effects: boolean; | |
/** The negative trade amount on which interest would be deducted if applicable */ | |
negative_trade_amount?: Amount; | |
/** The net deposit amount */ | |
net_deposit_amount?: Amount; | |
/** The sum of ledgers and market value */ | |
own_capital: Amount; | |
/** The trading power of the account */ | |
trading_power: Amount; | |
/** The amount the user can withdraw */ | |
withdrawable_amount: Amount; | |
/** Tax information applicable only for ASK account */ | |
withdrawal_tax?: SourceWithdrawalTaxInfo; | |
} | |
export interface SourceAccountInfoResponse { | |
/** Information about the account you are trying to make an internal transfer from */ | |
account_info: SourceAccountInfo; | |
} | |
export interface SourceAccountsResponse { | |
/** All accounts the us, array;er can perform cash transfers from (list can be empty) */ | |
accounts: SourceAccount[] | |
} | |
export interface SourceWithdrawalTaxInfo { | |
/** The amount available to withdraw without tax effect */ | |
tax_free_amount: Amount; | |
/** The date when information was last was updated */ | |
updated_date: string; | |
} | |
export interface Sparkpoint { | |
/** The average price (double) */ | |
average: number; | |
/** The timestamp in UTC (int64) */ | |
time?: number; | |
} | |
export interface Stakeholder { | |
/** First name of the stakeholder */ | |
first_name: string; | |
/** Last name of the stakeholder */ | |
last_name: string; | |
/** Identifier of the stakeholder (int32) */ | |
stakeholder_id: number; | |
} | |
export interface StatisticalInfo { | |
/** The number of customers have positions in the instrument (int64) */ | |
number_of_owners?: number; | |
/** Timestamp of statistics (int64) */ | |
statistics_timestamp?: number; | |
} | |
export interface Status { | |
/** Additional information */ | |
message: string; | |
/** Indicates if the system is running or temporarily stopped */ | |
system_running: boolean; | |
/** Server timestamp. UNIX timestamp in milliseconds (int64) */ | |
timestamp: number; | |
/** True if the API version is a valid version */ | |
valid_version: boolean; | |
} | |
export interface StatusInfo { | |
/** The last tick timestamp (int64) */ | |
tick_timestamp?: number; | |
/** The trading status */ | |
trading_status?: string; | |
/** The translated trading status */ | |
translated_trading_status?: string; | |
} | |
export interface Stocklist { | |
/** Company information, providing upcoming activity dates and other information associated with the company */ | |
company_info?: CompanyInfo; | |
/** Information regarding the instrument/tradable on the exchange */ | |
exchange_info?: ExchangeInfo; | |
/** Historical returns information, showing the yield over time */ | |
historical_returns_info?: HistoricalReturnsInfo; | |
/** Instrument information. The same instrument info may appear in multiple search results if there are multiple tradables or fund universes. */ | |
instrument_info?: InstrumentInfo; | |
/** Key ratios information describing the financial condition of the company/share */ | |
key_ratios_info?: KeyRatiosInfo; | |
/** Market information, identifies which market the price info is collected from */ | |
market_info?: MarketInfo; | |
/** Price information, representing an exchange traded model containing top-of-book info */ | |
price_info?: PriceInfo; | |
/** Statistics on number of nordnet customers that have positions in the instrument and on number of orders. */ | |
statistical_info?: StatisticalInfo; | |
} | |
export interface StocklistResults { | |
/** The search resu, array;lts */ | |
results?: Stocklist[] | |
/** Number of result rows returned (int32) */ | |
rows?: number; | |
/** Total number of search hits (int64) */ | |
total_hits?: number; | |
} | |
export interface StringField { | |
/** editable */ | |
editable?: boolean; | |
/** mandatory */ | |
mandatory?: boolean; | |
} | |
export interface Subscription { | |
/** The ISO datetime for when the subscription was created */ | |
created_at: string; | |
/** The id of the subscription */ | |
id: string; | |
/** The period when the subscription is active */ | |
period: Period; | |
/** The id of the service */ | |
service_id: string; | |
/** The ISO datetime for when the subscription was last updated */ | |
updated_at: string; | |
} | |
export interface SuitabilityAssessmentModel { | |
/** The description */ | |
description: string; | |
/** The mifid2 category that this assessment belongs to (int64) */ | |
mifid2_category: number; | |
/** The name */ | |
name: string; | |
/** The questions. , array */ | |
questions: Question[] | |
/** Link to educational material */ | |
uri: string; | |
} | |
export interface SuitabilityAssessmentResultModel { | |
/** Amount of incorrect answers (int32) */ | |
failed: number; | |
/** Whether all questions are answered or not */ | |
passed: boolean; | |
/** Amount of questions (int32) */ | |
questions: number; | |
} | |
export interface SuitabilityAssessmentsModel { | |
/** The description */ | |
description: string; | |
/** The mifid2 category that this assessment belongs to (int64) */ | |
mifid2_category: number; | |
/** The name */ | |
name: string; | |
/** The number of questions. (int64) */ | |
question_count: number; | |
/** Link to educational material */ | |
uri: string; | |
} | |
export interface Summary { | |
/** Overview of the account balance */ | |
balance_overview: BalanceOverview; | |
/** Overview of the account currency transactions */ | |
transactions_overview: TransactionsOverview; | |
} | |
export interface SummaryListModel { | |
/** Account number (int32) */ | |
account_number?: number; | |
/** Account type, e.g. ISK, AF */ | |
account_type?: string; | |
/** List of strings in, array;dicating which account types that are eligable for the event, only given for highlighted events. */ | |
available_for?: string[] | |
/** Company name */ | |
company: string; | |
/** Event identifier (int32) */ | |
event_id?: number; | |
/** Event type (RIGHTS_ISSUE, CASH_OFFER, TAKEOVER, OTHER, IPO, OWNERSHIP_DISTRIBUTION, BONDS, OPTIONS */ | |
event_type?: string; | |
/** The currency date in unix timestamp (int64) */ | |
last_response_date: number; | |
/** Response identifier, only given for user_responses (int32) */ | |
response_id?: number; | |
} | |
export interface Sustainability { | |
/** Carbon risk score (float) */ | |
carbon_risk_score?: number; | |
/** Environmental score (float) */ | |
environmental_score?: number; | |
/** Environmental score category average (float) */ | |
environmental_score_avg?: number; | |
/** Governance score (float) */ | |
governance_score?: number; | |
/** Governance score category average (float) */ | |
governance_score_avg?: number; | |
/** Is a low carbon fund */ | |
is_low_carbon?: boolean; | |
/** Social score (float) */ | |
social_score?: number; | |
/** Social score category average (float) */ | |
social_score_avg?: number; | |
/** Sustainability score (float) */ | |
sustainability_score?: number; | |
/** Sustainability score category average (float) */ | |
sustainability_score_avg?: number; | |
} | |
export interface SwishPaymentStatus { | |
/** \nThe error status of the payment request. Only present if request_status is REJECTED. Possible values:\nINTERNAL_SERVER_ERROR: Error caused by payment request related to Nordnet.\nINVALID_PAYER_ALIAS: Payer alias is invalid.\nINVALID_AMOUNT: Amount value is missing or is not a valid number.\nAMOUNT_TOO_LOW: Amount value is too low.\nAMOUNT_TOO_LARGE: Amount value is too large.\nPAYMENT_ALREADY_EXIST: Another active payment request already exists for this payer alias.\nPAYER_NOT_ENROLLED: Mobile number does not have Swish.\nTRANSACTION_DECLINED: Transaction declined. One possibility is that the payer have exceeded their defined Swish limit.\nBANK_ID_SIGNING_CANCELED: Payer cancelled BankId signing.\nCALL_BACK_TIMEOUT: Swish timed out before the payment was authorized (user took to long to sign).\nSWISH_TIMEOUT: Swish timed out waiting for an answer after payment was started.\nBANK_ID_BUSY: BankID already in use.\nBANK_ID_REJECTED_PAYMENT: BankID is not able to authorize the payment.\nUSER_DECLINED: User declined payment.\nCOULD_NOT_CONNECT_TO_SWISH: Unable to connect to Swish. */ | |
error_status?: "INTERNAL_SERVER_ERROR" | "INVALID_PAYER_ALIAS" | "INVALID_AMOUNT" | "AMOUNT_TOO_LOW" | "AMOUNT_TOO_LARGE" | "PAYMENT_ALREADY_EXIST" | "PAYER_NOT_ENROLLED" | "TRANSACTION_DECLINED" | "BANK_ID_SIGNING_CANCELED" | "CALL_BACK_TIMEOUT" | "SWISH_TIMEOUT" | "BANK_ID_BUSY" | "BANK_ID_REJECTED_PAYMENT" | "USER_DECLINED" | "COULD_NOT_CONNECT_TO_SWISH"; | |
/** Nordnet generated identifier of the Swish transaction */ | |
payee_payment_reference: string; | |
/** The status of the payment request. Possible values: CREATED, PROCESSING, COMPLETED, REJECTED */ | |
request_status: string; | |
} | |
export interface TargetAccount { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid?: number; | |
/** The account to transfer from (int32) */ | |
account_number?: number; | |
/** The account type id of the account (int32) */ | |
account_type_id?: number; | |
/** Customer alias name */ | |
alias?: string; | |
} | |
export interface TargetAccountInfo { | |
/** The type of the account */ | |
account_type?: "ESA" | "DSK" | "OTHER"; | |
/** The net deposit amount */ | |
available_to_deposit?: Amount; | |
/** Combined remaining funding limit of the account */ | |
combined_remaining_funding_limit?: Amount; | |
/** True if account has pending pension transfer */ | |
has_pending_pension_transfer: boolean; | |
/** True if withdrawal is allowed */ | |
is_withdrawal_allowed: boolean; | |
/** Remaining funding limit of the account */ | |
remaining_funding_limit?: Amount; | |
/** Remaining tax funding limit of the account */ | |
remaining_tax_funding_limit?: Amount; | |
/** The trading power of the account */ | |
trading_power: Amount; | |
/** The yearly deposit limit of the account */ | |
yearly_deposit_limit?: DepositLimit; | |
} | |
export interface TargetAccountInfoResponse { | |
/** Contains target account information */ | |
account_info: TargetAccountInfo; | |
} | |
export interface TargetAccountsResponse { | |
/** List of accounts yo, array;u can deposit to (can be empty) */ | |
accounts: TargetAccount[] | |
} | |
export interface TaxReport9aFilterInstrument { | |
/** Id to use to filter for this instrument in other 9A endpoints */ | |
instrument_filter_id: string; | |
/** Name of instrument */ | |
name: string; | |
} | |
export interface TaxReport9aFiltersResponse { | |
/** List of filterable instruments , array */ | |
instruments: TaxReport9aFilterInstrument[] | |
} | |
export interface TaxReport9aSecuritiesResponse { | |
/** Summary of the whole collection of traded securities */ | |
summary: TaxReport9aSummary; | |
/** Total number of traded securities available on this account (int64) */ | |
total_traded_securities: number; | |
/** List of traded securities in this subset, array; of the collection */ | |
traded_securities: TaxReport9aTradedSecurity[] | |
} | |
export interface TaxReport9aSummary { | |
/** Net profit/loss (of whole collection) (double) */ | |
net_profit_loss: number; | |
/** Total loss (of whole collection) (double) */ | |
total_losses: number; | |
/** Total profit (of whole collection) (double) */ | |
total_profits: number; | |
} | |
export interface TaxReport9aTradedSecurity { | |
/** Costs related to the acqusition (double) */ | |
acquisition_cost: number; | |
/** Date of acqusition. Format: YYYY-MM-DD */ | |
acquisition_date: string; | |
/** Price for sell (double) */ | |
alienation_price: number; | |
/** Costs related to the sell (double) */ | |
assignment_cost: number; | |
/** Date for sell/transfer. Format: YYYY-MM-DD */ | |
assignment_date: string; | |
/** Purchase/acquisition price calculated based on the acquisition cost assumption, see input parameter use_assumed_price for more info (double) */ | |
assumed_price: number; | |
/** Id of instrument (int64) */ | |
instrument_id?: number; | |
/** Name of instrument */ | |
instrument_name: string; | |
/** Profit/loss made on this instrument. This value may vary depending on input parameters use_assumed_price and/or include_acquisition_costs (double) */ | |
profit_loss: number; | |
/** Price of purchase (double) */ | |
purchase_price: number; | |
/** Number of shares sold (double) */ | |
quantity: number; | |
} | |
export interface TicksizeInterval { | |
/** Number of of decimals used in this interval (int64) */ | |
decimals: number; | |
/** The interval is valid from this price (double) */ | |
from_price: number; | |
/** The tick size (double) */ | |
tick: number; | |
/** The interval is valid to this price (double) */ | |
to_price: number; | |
} | |
export interface TicksizeTable { | |
/** Unique id for the ticksize table (int64) */ | |
tick_size_id: number; | |
/** The tick size inter, array;val table */ | |
ticks: TicksizeInterval[] | |
} | |
export interface TimeAndRisk { | |
/** Horizon question */ | |
horizon_question?: HorizonQuestion; | |
/** Period question */ | |
period_question?: PeriodQuestion; | |
} | |
export interface TopStoryImageMeta { | |
/** Descriptive text */ | |
alt_text?: string; | |
/** Copyright notice */ | |
copyright: string; | |
/** Media type */ | |
mime_type: string; | |
/** Avaliable sizes of content */ | |
sizes: TopStoryImageSizes; | |
/** Version of the images (size paths are always updated if version updated) (int32) */ | |
version: number; | |
} | |
export interface TopStoryImageSize { | |
/** Height of content (int32) */ | |
height: number; | |
/** Path to retrieve the content */ | |
path: string; | |
/** Width of content (int32) */ | |
width: number; | |
} | |
export interface TopStoryImageSizes { | |
/** Large */ | |
large: TopStoryImageSize; | |
/** Medium */ | |
medium: TopStoryImageSize; | |
/** Small */ | |
small: TopStoryImageSize; | |
} | |
export interface ToppenlanetCountry { | |
/** The code of the country */ | |
code: string; | |
/** The name of the country */ | |
name: string; | |
/** The numeric code of the country (int32) */ | |
numeric_code: number; | |
} | |
export interface TrackingVendor { | |
/** Unique tracking id */ | |
tracking_id: string; | |
} | |
export interface Tradable { | |
/** Determine the display order of the tradables for an instrument. (int64) */ | |
display_order: number; | |
/** Nordnet tradable identifier. market_id + identifier is unique */ | |
identifier: string; | |
/** The lot size of the tradable (double) */ | |
lot_size: number; | |
/** Market identifier (int64) */ | |
market_id: number; | |
/** The market identifier code (mic) of the tradable */ | |
mic: string; | |
/** Tick size identifier (int64) */ | |
tick_size_id: number; | |
} | |
export interface TradableDepth { | |
/** Level 1 ask offer price (double) */ | |
ask1: number; | |
/** Level 2 ask offer price (double) */ | |
ask2?: number; | |
/** Level 3 ask offer price (double) */ | |
ask3?: number; | |
/** Level 4 ask offer price (double) */ | |
ask4?: number; | |
/** Level 5 ask offer price (double) */ | |
ask5?: number; | |
/** Total volume of level 1 (int64) */ | |
ask_volume1: number; | |
/** Total volume of level 2 (int64) */ | |
ask_volume2?: number; | |
/** Total volume of level 3 (int64) */ | |
ask_volume3?: number; | |
/** Total volume of level 4 (int64) */ | |
ask_volume4?: number; | |
/** Total volume of level 5 (int64) */ | |
ask_volume5?: number; | |
/** Level 1 bid offer price (double) */ | |
bid1: number; | |
/** Level 2 bid offer price (double) */ | |
bid2?: number; | |
/** Level 3 bid offer price (double) */ | |
bid3?: number; | |
/** Level 4 bid offer price (double) */ | |
bid4?: number; | |
/** Level 5 bid offer price (double) */ | |
bid5?: number; | |
/** Total volume of level 1 (int64) */ | |
bid_volume1: number; | |
/** Total volume of level 2 (int64) */ | |
bid_volume2?: number; | |
/** Total volume of level 3 (int64) */ | |
bid_volume3?: number; | |
/** Total volume of level 4 (int64) */ | |
bid_volume4?: number; | |
/** Total volume of level 5 (int64) */ | |
bid_volume5?: number; | |
/** Delay of the priceinformation in seconds for this tradable (int64) */ | |
delay?: number; | |
/** Identifier of the tradable. identifier + market_id is unique */ | |
identifier: string; | |
/** Number of levels returned (int64) */ | |
levels: number; | |
/** Nordnet market_id for the tradable (int64) */ | |
market_id: number; | |
/** Last change timestamp. Unix time in milliseconds (int64) */ | |
tick_timestamp: number; | |
} | |
export interface TradableEligibility { | |
/** Is the customer eligible to trade the tradable? */ | |
eligible: boolean; | |
/** Identifier of the tradable. identifier + market_id is unique */ | |
identifier: string; | |
/** Market Id (int32) */ | |
market_id: number; | |
} | |
export interface TradableHistoricalReturn { | |
/** Identifier of the tradable. identifier + market_id is unique */ | |
identifier: string; | |
/** Return in % compared to close price a month ago (double) */ | |
m1: number; | |
/** additional return data from a month ago */ | |
m1_details?: ReturnDetails; | |
/** Return in % compared to close price three months ago (double) */ | |
m3: number; | |
/** additional return data from three months ago */ | |
m3_details?: ReturnDetails; | |
/** Return in % compared to close price six months ago (double) */ | |
m6: number; | |
/** additional return data from six months ago */ | |
m6_details?: ReturnDetails; | |
/** Nordnet market_id for the tradable (int64) */ | |
market_id: number; | |
/** Return in % compared to close price at the year shift (double) */ | |
ty: number; | |
/** additional return data from the year shift */ | |
ty_details?: ReturnDetails; | |
/** Return in % compared to close price a week ago (double) */ | |
w1: number; | |
/** additional return data from a week ago */ | |
w1_details?: ReturnDetails; | |
/** Return in % compared to close price one year ago (double) */ | |
y1: number; | |
/** additional return data from one year ago */ | |
y1_details?: ReturnDetails; | |
/** Return in % compared to close price two years ago (double) */ | |
y2: number; | |
/** additional return data from two years ago */ | |
y2_details?: ReturnDetails; | |
/** Return in % compared to close price three years ago (double) */ | |
y3: number; | |
/** additional return data from three years ago */ | |
y3_details?: ReturnDetails; | |
/** Return in % compared to close price five years ago (double) */ | |
y5: number; | |
/** additional return data from five years ago */ | |
y5_details?: ReturnDetails; | |
} | |
export interface TradableId { | |
/** The Nordnet tradable identifier */ | |
identifier: string; | |
/** The Nordnet market_id (int64) */ | |
market_id: number; | |
} | |
export interface TradableInfo { | |
/** Allowed days for , array;long term orders */ | |
calendar: CalendarDay[] | |
/** True if iceberg orders is allowed */ | |
iceberg: boolean; | |
/** Identifier of the tradable. identifier + market_id is unique, */ | |
identifier: string; | |
/** The Nordnet unique identifier of market (int64) */ | |
market_id: number; | |
/** Allowed order type, array;s */ | |
order_types: OrderType[] | |
} | |
export interface TradableModel { | |
/** Identifier */ | |
identifier: string; | |
/** Market (int32) */ | |
market: number; | |
} | |
export interface TradablePriceSnapshot { | |
/** Best ask offer price (double) */ | |
ask: number; | |
/** Total volume of the best ask price (int64) */ | |
ask_volume: number; | |
/** Best bid offer price (double) */ | |
bid: number; | |
/** Total volume of the best bid price (int64) */ | |
bid_volume: number; | |
/** Close price (double) */ | |
close: number; | |
/** Delay of the priceinformation in seconds for this tradable (int64) */ | |
delay?: number; | |
/** Equilibrium price (Only visible during auctions and show_ep = true) (float) */ | |
ep?: number; | |
/** Highest price today (double) */ | |
high: number; | |
/** Identifier of the tradable. identifier + market_id is unique, */ | |
identifier: string; | |
/** The quantity of shares not paired at the equilibrium price. Positive quantity indicates buy imbalance. Negative quantity indicates sell imbalance (Only visible during auctions and show_ep = true) (int32) */ | |
imbalance?: number; | |
/** Last trade price (double) */ | |
last: number; | |
/** Last trade volume (int64) */ | |
last_volume: number; | |
/** Lowest price today (double) */ | |
low: number; | |
/** The Nordnet unique identifier of market (int64) */ | |
market_id: number; | |
/** Open price (double) */ | |
open: number; | |
/** The paired quantity of shares at the equilibrium price (Only visible during auctions and show_ep = true) (int32) */ | |
paired?: number; | |
/** Last change timestamp. Unix time in milliseconds (int64) */ | |
tick_timestamp: number; | |
/** Last trade timestamp. Unix time in milliseconds (int64) */ | |
trade_timestamp: number; | |
/** Total turnover today (double) */ | |
turnover: number; | |
/** Total turnover volume today (int64) */ | |
turnover_volume: number; | |
} | |
export interface TradablePublicTrades { | |
/** The tradable identifier. The combination of market_id and identifier is unique */ | |
identifier: string; | |
/** The Nordnet unique identifier of market (int64) */ | |
market_id: number; | |
/** A list of the p, array;ublic trades */ | |
trades: PublicTrade[] | |
} | |
export interface TradableTradingStatus { | |
/** The halted reason if available from the marketplace. Please note that the meaning differs between marketplaces */ | |
halted?: string; | |
/** Identifier of the tradable. identifier + market_id is unique */ | |
identifier: string; | |
/** Nordnet market_id for the tradable (int64) */ | |
market_id: number; | |
/** The orderbook state given by the marketplace. Please note that the meaning differs between marketplaces */ | |
source_status?: string; | |
/** Nordnet trading status of an orderbook:\n\"C\" - Continuous trading\n\"R\" - Receiving orders but trading is disabled\n\"D\" - Temporary disabled\n\"X\" - Permanently disabled\n\"U\" - Unknown state */ | |
status: string; | |
/** Timestamp of the updated. Unix time in milliseconds (int64) */ | |
tick_timestamp: number; | |
} | |
export interface Trade { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid?: number; | |
/** The Nordnet account number (int64) */ | |
accno: number; | |
/** The counterparty if available */ | |
counterparty?: string; | |
/** Nordnet order id (int64) */ | |
order_id: number; | |
/** The price of the trade */ | |
price: Amount; | |
/** BUY or SELL */ | |
side: string; | |
/** The tradable identification */ | |
tradable: TradableId; | |
/** Trade id from the market if available */ | |
trade_id?: string; | |
/** The time of the trade, UNIX time in milliseconds (int64) */ | |
tradetime: number; | |
/** The volume of the trade (double) */ | |
volume: number; | |
} | |
export interface TradeAmount { | |
/** Price of the instrument per quantity */ | |
price?: Amount; | |
/** Quantity, does only have to specified if the instrument is traded in quantities (int32) */ | |
qty?: number; | |
/** Quantity * price or in the case of mutual funds it’s the purchase amount */ | |
total: Amount; | |
} | |
export interface TradingPrerequisitesModel { | |
/** Balance for the robosave account */ | |
actual_account_balance: Amount; | |
/** The minimum amount to start investing */ | |
minimum_amount: Amount; | |
/** Flag to check if customer is OK to start trading or not */ | |
waiting_for_deposit: boolean; | |
} | |
export interface Transaction { | |
/** The amount and currency of the transaction */ | |
amount: Amount; | |
/** Currency account balance for the transaction currency */ | |
balance: Amount; | |
/** The business date in YYYY-MM-DD format (date) */ | |
business_date: string; | |
/** Transaction account date in YYYY-MM-DD format (date) */ | |
date: string; | |
/** The instrument if available. Please note that expired instruments never can be displayed. */ | |
instrument?: Instrument; | |
/** The price of a single share. Please note that when the instrument has expired the currency is \"N/A\" */ | |
price: Amount; | |
/** The settlement date in YYYY-MM-DD format (date) */ | |
settlement_date: string; | |
/** The symbol of the instrument if available */ | |
symbol?: string; | |
/** Translated text on the transaction */ | |
text?: string; | |
/** Type of transaction: DEPOSIT, WITHDRAWAL, DIVIDEND etc */ | |
type: string; | |
/** The code for the transaction type. i.e. 'I' for deposit, 'U' for withdrawal */ | |
type_code: string; | |
/** The transaction volume (double) */ | |
volume?: number; | |
} | |
export interface TransactionListModel { | |
/** Account identifier (int64) */ | |
accid: number; | |
/** Account number (int64) */ | |
accno: number; | |
/** The accounting date in YYYY-MM-DD format (date) */ | |
accounting_date: string; | |
/** The amount adjusted to the account balance */ | |
amount: Amount; | |
/** The account balance */ | |
balance: Amount; | |
/** The business date in YYYY-MM-DD format (date) */ | |
business_date: string; | |
/** The transaction commission */ | |
commission?: Amount; | |
/** The contract note id associated with the transaction (int32) */ | |
contract_note_id: number; | |
/** The currency date in YYYY-MM-DD format (date) */ | |
currency_date: string; | |
/** The currency rate */ | |
currency_rate: number; | |
/** */ | |
instrument?: InstrumentDetails; | |
/** Type of instrument */ | |
instrument_type?: string; | |
/** Is the transaction’s acquisition price updatable */ | |
is_updatable?: boolean; | |
/** The instrument price */ | |
price: Amount; | |
/** The instrument quantity adjusted to the account */ | |
quantity: number; | |
/** The settlement date in YYYY-MM-DD format (date) */ | |
settlement_date: string; | |
/** The transaction total charge */ | |
total_charges: number; | |
/** The transaction total charge currency */ | |
total_charges_currency: string; | |
/** Transaction identifier (int64) */ | |
transaction_id: number; | |
/** The transaction text */ | |
transaction_text?: string; | |
/** */ | |
transaction_type: TransactionType; | |
} | |
export interface TransactionType { | |
/** Type of transaction */ | |
transaction_type_id: string; | |
/** Name of transaction */ | |
transaction_type_name?: string; | |
} | |
export interface TransactionTypes { | |
/** Transaction group type */ | |
transaction_group_type: "CORPORATE_ACTION" | "DEPOSIT_AND_WITHDRAWAL" | "BUY_AND_SELL" | "INTEREST_RATES_AND_FEE" | "DIVIDEND" | "SECURITY_TRANSFER" | "OTHER"; | |
/** Transaction type identifier */ | |
transaction_type_id: string; | |
/** Transaction type name */ | |
transaction_type_name: string; | |
} | |
export interface TransactionsModel { | |
/** The account id */ | |
account_id: string; | |
/** The transaction amount (double) */ | |
amount: number; | |
/** The business date in YYYY-MM-DD format (date) */ | |
business_date: string; | |
/** The currency of the transaction */ | |
currency: string; | |
/** The instrument name */ | |
instrument_name: string; | |
/** The quantity of the transaction (int64) */ | |
quantity: number; | |
/** Text on the transaction */ | |
text: string; | |
/** The ticket id */ | |
ticket_id: string; | |
/** The transaction id */ | |
transaction_id: string; | |
/** Type of transaction */ | |
transaction_type: string; | |
} | |
export interface TransactionsOverview { | |
base_currency_transactions_total: BaseCurrencyTransactionsTotal; | |
currency_transactions_summary_list: CurrencyTransactionsSummaryItem[]; | |
} | |
export interface TransactionsResponse { | |
/** Total number of transactions (int32) */ | |
total_no_records: number; | |
/** List of transactions , array */ | |
transactions: TransactionsModel[] | |
} | |
export interface Transfer { | |
/** The transfer’s amount */ | |
amount?: Amount; | |
/** The unix timestamp in milliseconds when the transfer was created (int64) */ | |
created_timestamp?: number; | |
/** The debited account of the transfer (int32) */ | |
source_accno?: number; | |
/** The status of the transfer */ | |
status?: "COMPLETED" | "FAILED" | "PENDING"; | |
/** The account which has been credited (int32) */ | |
target_accno?: number; | |
/** The id identifying this transfer (int32) */ | |
transfer_id?: number; | |
} | |
export interface TransferInfo { | |
/** The max amount of internal cash transfer */ | |
max_transfer_amount: Amount; | |
/** The type of internal cash transfer */ | |
transfer_type: "AMORTIZATION" | "TRANSFER"; | |
} | |
export interface TransferInformation { | |
/** The max amount of internal cash transfer */ | |
max_transfer_amount: Amount; | |
/** The type of internal cash transfer */ | |
transfer_type: "AMORTIZATION" | "TRANSFER"; | |
} | |
export interface TransfersResponse { | |
/** The flag indicates if more transfers exist. */ | |
has_more_transfers: boolean; | |
/** The parameter indicates how many transfers needs to be get at maximum. (int32) */ | |
limit: number; | |
/** The index of the first transfer in the list of transfers. (int32) */ | |
offset: number; | |
/** The internal ca, array;sh transfers (can be empty). */ | |
transfers: Transfer[] | |
} | |
export interface TriggeredAlarmsResult { | |
/** The alarmId */ | |
alarm_id?: string; | |
/** Currency code */ | |
currency?: string; | |
/** Customer number (int64) */ | |
customer_number?: number; | |
/** Direction */ | |
direction?: "UP" | "DOWN"; | |
/** The exchange country’s code */ | |
exchange_country?: string; | |
/** The Nordnet instrument id (int32) */ | |
instrument_id?: number; | |
/** Name of the instrument */ | |
name?: string; | |
/** These platforms will get no, array;tifications. Valid types are {\"EMAIL\", \"MOBILE\", \"SMS\", \"WEB\"} */ | |
sent_notification_types: string[] | |
/** The snapshot price (double) */ | |
snapshot_price?: number; | |
/** The snapshot timestamp (int64) */ | |
snapshot_timestamp?: number; | |
/** Trigger level (double) */ | |
trigger_level?: number; | |
/** Triggered price (double) */ | |
triggered_price?: number; | |
/** The trigger timestamp (int64) */ | |
triggered_timestamp?: number; | |
} | |
export interface TriggeredAlarmsResults { | |
/** Price alarm fields , array */ | |
results?: TriggeredAlarmsResult[] | |
/** Number of triggered alarms displayed (int32) */ | |
rows?: number; | |
/** Total number of triggered alarms (int32) */ | |
total_hits?: number; | |
} | |
export interface TypeText { | |
/** The account type in Danish */ | |
da: string; | |
/** The account type in English */ | |
en: string; | |
/** The account type in Finish */ | |
fi: string; | |
/** The account type in Norwegian */ | |
no: string; | |
/** The account type in Swedish */ | |
sv: string; | |
} | |
export interface UnderlyingDetails { | |
/** Contains exchange information attributes for the underlying instrument */ | |
exchange_info?: ExchangeInfo; | |
/** Contains instrument information attributes for the underlying instrument */ | |
instrument_info?: InstrumentInfo; | |
/** Contains price information attributes for the underlying instrument */ | |
price_info?: PriceInfo; | |
} | |
export interface UnderlyingInfo { | |
/** Unique identifier of the underlying instrument instrument (int64) */ | |
instrument_id: number; | |
/** Unique identifier of the underlying instrument instrument (Misspelt, kept for legacy reasons) (int64) */ | |
instrumment_id?: number; | |
/** The isin code of the underlying instrument */ | |
isin_code: string; | |
/** The symbol of the underlying instrument */ | |
symbol: string; | |
} | |
export interface UnhighlightedSummaryListModel { | |
/** List of strings in, array;dicating which account types that are eligable for the event, only given for highlighted events. */ | |
available_for?: string[] | |
/** Company name */ | |
company: string; | |
/** Event identifier (int32) */ | |
event_group_id?: number; | |
/** Event type (RIGHTS_ISSUE, CASH_OFFER, TAKEOVER, OTHER, IPO, OWNERSHIP_DISTRIBUTION, BONDS, OPTIONS */ | |
event_type: string; | |
/** The currency date in unix timestamp (int64) */ | |
last_response_date: number; | |
} | |
export interface UnlimitedTurboEntity { | |
/** ETP information */ | |
etp_info?: EtpInfo; | |
/** Information regarding the instrument/tradable on the exchange */ | |
exchange_info?: ExchangeInfo; | |
/** Instrument information. The same instrument info may appear in multiple search results if there are multiple tradables or fund universes */ | |
instrument_info?: InstrumentInfo; | |
/** Information related to knock-out instruments */ | |
ko_info?: KoInfo; | |
/** Market information, identifies which market the price info is collected from */ | |
market_info?: MarketInfo; | |
/** Price information, representing an exchange traded model containing top-of-book info */ | |
price_info?: PriceInfo; | |
/** Knock-out instrument related price information */ | |
price_ko_info?: PriceKoInfo; | |
} | |
export interface UnlimitedTurboListResults { | |
/** The search results , array */ | |
results?: UnlimitedTurboEntity[] | |
/** Number of result rows returned (int32) */ | |
rows?: number; | |
/** Total number of search hits (int64) */ | |
total_hits?: number; | |
/** Id of the underlying instrument if and only if the results contains instruments with the same underlying instrument (int64) */ | |
underlying_instrument_id?: number; | |
} | |
export interface UnreadMessagesStatus { | |
/** Highest priority present among the unread messages */ | |
highest_priority?: "DEFAULT" | "IMPORTANT" | "URGENT"; | |
/** The number of unread messages for the given accounts on a customer level (int32) */ | |
number_of_unread_messages: number; | |
} | |
export interface UnusedTest { | |
/** Just testing */ | |
test: string; | |
/** Testing some more (int64) */ | |
test2: number; | |
} | |
export interface UpDownPerformance { | |
/** Number of instruments that have a negative performance today (int64) */ | |
down: number; | |
/** Number of instruments that have a neutral performance today (int64) */ | |
neutral: number; | |
/** Number of of instruments that have a positive performance today (int64) */ | |
up: number; | |
} | |
export interface UpdateAccountAdvisingIdBody { | |
/** ID for account-advising responses */ | |
account_advising_id: string; | |
} | |
export interface UpdateCustomerRequestsBody { | |
/** Email address */ | |
email: string; | |
/** Legal entity ID */ | |
legal_entity_id: string; | |
/** Phone number */ | |
phone_number: string; | |
/** Status of the update customer request */ | |
status: string; | |
} | |
export interface UpdateFundSavingsPlanModel { | |
/** The account identifier for the account. Some systems can or must use the account number as account identifier (int64) */ | |
accid: number; | |
/** The amount to save in the accounts base currency (either amount or percent must be set) (int64) */ | |
amount?: number; | |
/** The day to execute the monthly savings (int64) */ | |
deal_day?: number; | |
/** The instruments in this , array;savings plan */ | |
items: SavingsPlanInstrument[] | |
/** If to disable check that min investement amount for each fund is fullfilled (not honored for Pension savings plans) */ | |
min_investment_disabled?: boolean; | |
/** The share of the account holdings to save (either amount or percent must be set) (int32) */ | |
percent?: number; | |
/** The pre-registered bank account id to be used for autogiro (int64) */ | |
pre_registered_bank_account_id?: number; | |
/** The account id of the existing plan. Required when changing accid (int64) */ | |
previous_accid?: number; | |
/** The type of the existing plan. Required when changing type */ | |
previous_type?: "AMOUNT" | "SHARE" | "AUTOGIRO" | "ETF" | "PENSION"; | |
/** The desired type of plan */ | |
type: "AMOUNT" | "SHARE" | "AUTOGIRO" | "ETF" | "PENSION" | "SE_AUTOGIRO"; | |
} | |
export interface UpdateInstrumentAlarmSpec { | |
/** These platforms will get noti, array;fications. Valid types are {\"EMAIL\", \"MOBILE\", \"SMS\", \"WEB\"} */ | |
active_notification_types: string[] | |
/** The alarm type */ | |
alarm_type?: string; | |
/** Direction */ | |
direction?: "UP" | "DOWN"; | |
/** The expiration timestamp (int64) */ | |
expiration_timestamp?: number; | |
/** The repeat type */ | |
repeat_type?: string; | |
/** The snapshot price (double) */ | |
snapshot_price?: number; | |
/** The snapshot timestamp (int64) */ | |
snapshot_timestamp?: number; | |
/** Trigger level (double) */ | |
trigger_level?: number; | |
} | |
export interface UpdateNotificationPreferencesRequest { | |
/** Unique id per installation of the mobile app */ | |
app_installment_id: string; | |
/** List of all the notification preferen, array;ce changes */ | |
preferences: NotificationPreferenceUpdate[] | |
} | |
export interface UpdatePinInput { | |
/** The pin code */ | |
pin_code: string; | |
} | |
export interface UpdatePinResponse { | |
/** Response status */ | |
status: "SUCCESS" | "USER_NOT_FOUND" | "INTERNAL_ERROR"; | |
} | |
export interface UpdatePreregAccountResponse { | |
/** The url that need to be called for signing if signing is requeired */ | |
redirect_url?: string; | |
/** Unique identifier for every signing request */ | |
request_id: string; | |
} | |
export interface UpdatePreregResponse { | |
/** True if the request was successful */ | |
is_success: boolean; | |
/** The URL to redirect the user to sign the registration */ | |
redirect_url?: string; | |
/** The status (both for error and success) for the call */ | |
status: string; | |
} | |
export interface UserPreregAccountModel { | |
/** customer number owning preregistering accounts (int32) */ | |
cstno: number; | |
/** name of customer owning preregistering accounts */ | |
name: string; | |
/** preregistered accounts corresponding to cus, array;tomer. */ | |
preregistered_Accounts: PreregisteredAccountNew[] | |
/** Access role */ | |
role: "AUTHORISATION" | "COOWNER" | "INFRONT" | "INSURANCE" | "LIMITED" | "OWNER" | "PARENT" | "POLICYHOLDER" | "PRO" | "PROAUTHORISATION" | "PROCMREADONLY" | "PROINFOPEN" | "PROINSURANCE" | "PROLIMITAUTH" | "PROMAINT" | "PROPOA" | "PROREADONLY" | "PROTRADING" | "TRADING" | "TRUSTEE"; | |
} | |
export interface UserPreregAccountModelPerCountry { | |
/** customer number of the owner (int32) */ | |
cutomer_number: number; | |
/** name connected to the account */ | |
name: string; | |
/** preregistered accounts corresponding to custome, array;r. */ | |
preregistered_accounts: MigratePreregisteredAccount[] | |
/** Access role */ | |
roles: "AUTHORISATION" | "AUTHSIGNATORY" | "POLICYHOLDER" | "OWNER" | "COOWNER" | "PARENT" | "TRUSTEE" | "LIMITED" | "TRADING" | "INSURANCE" | "PROINFOPEN" | "PROREADONLY" | "PROAUTHORISATION" | "PROINSURANCE" | "PROMAINT" | "PROLIMITAUTH" | "PROPOA" | "PROCMREADONLY" | "PRO" | "PROTRADING" | "INFRONT"; | |
} | |
export interface UsernameModel { | |
/** Username of the user */ | |
username: string; | |
} | |
export interface ValidBillingAccount { | |
/** A account number that can be used as billing_account (int32) */ | |
accno: number; | |
} | |
export interface ValidBillingAccountResponse { | |
/** The accounts , array */ | |
accounts: ValidBillingAccount[] | |
} | |
export interface ValidDefaultAccnosBody { | |
/** The Nordnet account number (int64) */ | |
accno: number; | |
/** Role, as defined in NASA_ROLES table */ | |
role: string; | |
} | |
export interface ValidateBankAccountResponse { | |
/** True if bank account number is valid, false otherwise. */ | |
valid: boolean; | |
} | |
export interface ValidationResult { | |
/** List of error mess, array;ages, empty if the response is valid */ | |
error_messages: string[] | |
/** Tells which fields , array;are invalid, empty if the response is valid */ | |
fields_in_error: string[] | |
/** Is the result successful or did it fail validation */ | |
valid: boolean; | |
} | |
export interface Validity { | |
/** DAY, UNTIL_DATE or IMMEDIATE */ | |
type: string; | |
/** Cancel date, only used when type is UNTIL_DATE (int64) */ | |
valid_until?: number; | |
} | |
export interface VerifyBody { | |
/** National registration number */ | |
natregno: string; | |
/** Pin code */ | |
pin: string; | |
} | |
export interface WarrantEntity { | |
/** Derivative related information */ | |
derivative_info?: DerivativeInfo; | |
/** ETP information */ | |
etp_info?: EtpInfo; | |
/** Information regarding the instrument/tradable on the exchange */ | |
exchange_info?: ExchangeInfo; | |
/** Instrument information. The same instrument info may appear in multiple search results if there are multiple tradables or fund universes. */ | |
instrument_info?: InstrumentInfo; | |
/** Knock-out instrument related information */ | |
ko_info?: KoInfo; | |
/** Market information, identifies which market the price info is collected from */ | |
market_info?: MarketInfo; | |
/** Price information, representing an exchange traded model containing top-of-book info */ | |
price_info?: PriceInfo; | |
/** Knock-out instrument related price information */ | |
price_ko_info?: PriceKoInfo; | |
} | |
export interface WarrantListResults { | |
/** The search results , array */ | |
results?: WarrantEntity[] | |
/** Number of result rows returned (int32) */ | |
rows?: number; | |
/** Total number of search hits (int64) */ | |
total_hits?: number; | |
/** The underlying instrument id if all instruments have the same (int64) */ | |
underlying_instrument_id?: number; | |
} | |
export interface WatchedInstrumentModel { | |
/** An instrument to check whether it is watched (int64) */ | |
instrument_id?: number; | |
/** Whether this instrument is watched or not by the user */ | |
watched?: boolean; | |
} | |
export interface WatchlistEntityResult { | |
/** Annual growth. */ | |
annual_growth_info?: AnnualGrowthInfo; | |
/** Information regarding the instrument/tradable on the exchange */ | |
exchange_info?: ExchangeInfo; | |
/** Contains funds specific information. */ | |
fundlist_info?: FundlistInfo; | |
/** Historical returns information, showing the yield over time */ | |
historical_returns_info?: HistoricalReturnsInfo; | |
/** Information regarding the indicator */ | |
indicator_info?: IndicatorInfo; | |
/** Instrument information. The same instrument info may appear in multiple search results if there are multiple tradables or fund universes. */ | |
instrument_info?: InstrumentInfo; | |
/** Key ratios information describing the financial condition of the company/share */ | |
key_ratios_info?: KeyRatiosInfo; | |
/** Market information, identifies which market the price info is collected from */ | |
market_info?: MarketInfo; | |
/** Price information, representing an exchange traded model containing top-of-book info */ | |
price_info?: PriceInfo; | |
/** Meta data about the watchlist item */ | |
watchlist_meta: WatchlistMeta; | |
} | |
export interface WatchlistInstrumentModel { | |
/** No more items allowed in watchlist */ | |
is_full?: boolean; | |
/** The ids of the item, array;s in the watchlist that are instances of the passed instrument */ | |
item_ids: number[]// [] | |
/** The watchlist identifier (int64) */ | |
list_id: number; | |
/** The name of the watchlist */ | |
list_name: string; | |
} | |
export interface WatchlistItemsModel { | |
/** The identifier of this indicator, if this item is an indicator */ | |
indicator_identifier?: string; | |
/** The source of this indicator, if this item is an indicator */ | |
indicator_src?: string; | |
/** The identifier of this instrument, if it is an instrument (int64) */ | |
instrument_id?: number; | |
/** The unique identifier of this item (int64) */ | |
item_id: number; | |
/** The name of the list item */ | |
name?: string; | |
/** The instrument type */ | |
type: string; | |
/** A comment about this list item */ | |
user_comment?: string; | |
} | |
export interface WatchlistMeta { | |
/** User’s custom display order (int32) */ | |
display_order: number; | |
/** itemId of this entity in watchlist (use this when removing, rearanging etc) (int32) */ | |
item_id: number; | |
/** User’s comment for this entity */ | |
user_comment?: string; | |
} | |
export interface WatchlistMetaModel { | |
/** The watchlist identifier (int64) */ | |
list_id: number; | |
/** The name of the watchlist */ | |
list_name: string; | |
} | |
export interface WatchlistModel { | |
/** The contents of the wat, array;chlist */ | |
items?: WatchlistItemsModel[] | |
/** The watchlist identifier (int64) */ | |
list_id: number; | |
/** The name of the watchlist */ | |
list_name: string; | |
} | |
export interface WatchlistResult { | |
/** No more items allowed in watchlist */ | |
is_full?: boolean; | |
/** The result , array */ | |
results?: WatchlistEntityResult[] | |
/** The total number of instruments in this watchlist (int32) */ | |
total_items_in_list?: number; | |
} | |
export interface WinnerLoser { | |
/** Sorted list of losers , array */ | |
losers: InstrumentWithPrice[] | |
/** Sorted list of winners , array */ | |
winners: InstrumentWithPrice[] | |
} | |
export interface WinnersLosersListModel { | |
/** The country that the instrument belongs to, not available for funds */ | |
country?: string; | |
/** The development of the instrument 3 months for funds (double) */ | |
development_3m?: number; | |
/** The development of the instrument today for exchange_traded instruments (double) */ | |
development_today?: number; | |
/** Instrument id (int32) */ | |
instrument_id: number; | |
/** The most recent instrument price the user is allowed to see. */ | |
last_price: Amount; | |
/** The name of the instrument */ | |
name: string; | |
/** If the price is given in realtime or not */ | |
realtime: boolean; | |
/** The symbol of the instrument */ | |
symbol: string; | |
} | |
export interface WinnerslosersResults { | |
/** The losers list , array */ | |
losers: Instrumentdetails[] | |
/** The winners list , array */ | |
winners: Instrumentdetails[] | |
} | |
export interface WithdrawalAmountResponse { | |
/** Amount user is allowed to withdraw. */ | |
withdrawable_amount: Amount; | |
} | |
export interface WithdrawalInformation { | |
/** The type of the account. */ | |
account_type?: "ESA" | "OTHER"; | |
/** The negative interest accrued on the account. */ | |
accrued_negative_interest: Amount; | |
/** The own capital for an ESA account. */ | |
esa_own_capital?: Amount; | |
/** The negative trade amount on which interest would be deducted if applicable. */ | |
negative_trade_amount?: Amount; | |
/** The net deposit amount. */ | |
net_deposit_amount?: Amount; | |
/** Tax information only for Norwegian Zero. , array */ | |
norwegian_zero_tax_info?: NorwegianZeroTaxInfo[] | |
/** Amount user is allowed to withdraw. */ | |
withdrawable_amount: Amount; | |
/** List of withdrawal limit infor, array;mation. Currently only 'DAILY' withdrawal limit is available in response. */ | |
withdrawal_limits: WithdrawalLimit[] | |
/** Tax information applicable only for Norwegian ASK account. */ | |
withdrawal_tax?: WithdrawalTax; | |
} | |
export interface WithdrawalLimit { | |
/** The max amount allowed to withdraw during the time frame. */ | |
max_limit: Amount; | |
/** The remaining amount allowed to withdraw during the time frame. */ | |
remaining: Amount; | |
/** The time frame for this withdrawal limit. */ | |
time_frame: string; | |
/** The amount withdrawn or pending withdrawal during the time frame. */ | |
withdrawn: Amount; | |
} | |
export interface WithdrawalModel { | |
/** The account identifier (id) of the account. The id is unique within the session. Not applicable for partners (int64) */ | |
accid: number; | |
/** The Nordnet account number (int64) */ | |
accno: number; | |
/** The amount to be withdrawn */ | |
amount: Amount; | |
/** The external bank account number this withdrawal is sent to */ | |
bank_account_number: string; | |
/** When this withdrawal was created, in UNIX timestamp (UTC), milliseconds (int64) */ | |
created_timestamp: number; | |
/** When the withdrawal was sent ,in UNIX timestamp (UTC), milliseconds (int64) */ | |
sent_timestamp?: number; | |
/** The status of the withdrawal */ | |
status: "ALL" | "CREATED" | "SENT" | "COMPLETED" | "REJECTED"; | |
/** The withdrawal id for the withdrawal (identifies the withdrawal). (int32) */ | |
withdrawal_id: number; | |
} | |
export interface WithdrawalTax { | |
/** The amount available to withdraw without tax effect. */ | |
tax_free_amount: Amount; | |
/** The date when information was last was updated. */ | |
updated_date: string; | |
} | |
export interface WithdrawalsForAccnosResponse { | |
/** All withdrawals for the , array;given accnos/accid:s. Can be empty */ | |
withdrawals: WithdrawalModel[] | |
} | |
export interface YieldPoint { | |
/** Yield value, expressed in percentage (5% is expressed as 5) (double) */ | |
percentage_yield: number; | |
/** Timestamp for yield value (int64) */ | |
time: number; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment