@cranberry-money/shared-constants
Version:
Shared constants for Blueberry platform
53 lines • 2.21 kB
TypeScript
export declare const CASH_ACCOUNT_TRANSACTION_TYPE: {
readonly DEPOSIT: "DEPOSIT";
readonly WITHDRAWAL: "WITHDRAWAL";
readonly TRADE_SETTLEMENT: "TRADE_SETTLEMENT";
readonly DISTRIBUTION: "DISTRIBUTION";
readonly FEE: "FEE";
readonly INTEREST: "INTEREST";
readonly OTHER: "OTHER";
};
export type CashAccountTransactionType = (typeof CASH_ACCOUNT_TRANSACTION_TYPE)[keyof typeof CASH_ACCOUNT_TRANSACTION_TYPE];
export declare const CASH_ACCOUNT_TRANSACTION_TYPE_LABELS: Record<CashAccountTransactionType, string>;
export declare const CASH_ACCOUNT_TRANSACTION_STATUS: {
readonly PENDING: "PENDING";
readonly PROCESSED: "PROCESSED";
readonly FAILED: "FAILED";
readonly CANCELLED: "CANCELLED";
readonly REVERSED: "REVERSED";
readonly ON_HOLD: "ON_HOLD";
readonly REFUNDED: "REFUNDED";
};
export type CashAccountTransactionStatus = (typeof CASH_ACCOUNT_TRANSACTION_STATUS)[keyof typeof CASH_ACCOUNT_TRANSACTION_STATUS];
export declare const CASH_ACCOUNT_TRANSACTION_STATUS_LABELS: Record<CashAccountTransactionStatus, string>;
export declare const TRANSACTION_TYPE_LABEL_DEPOSIT: string;
export declare const TRANSACTION_TYPE_LABEL_WITHDRAWAL: string;
export declare const TRANSACTION_TYPE_LABEL_TRADE_SETTLEMENT: string;
export declare const TRANSACTION_TYPE_LABEL_DISTRIBUTION: string;
export declare const TRANSACTION_TYPE_LABEL_FEE: string;
export declare const TRANSACTION_TYPE_LABEL_INTEREST: string;
export declare const TRANSACTION_TYPE_LABEL_OTHER: string;
export declare const TRANSACTION_TYPE_OPTIONS: readonly [{
readonly value: "DEPOSIT";
readonly label: string;
}, {
readonly value: "WITHDRAWAL";
readonly label: string;
}, {
readonly value: "TRADE_SETTLEMENT";
readonly label: string;
}, {
readonly value: "DISTRIBUTION";
readonly label: string;
}, {
readonly value: "FEE";
readonly label: string;
}, {
readonly value: "INTEREST";
readonly label: string;
}, {
readonly value: "OTHER";
readonly label: string;
}];
export declare const NO_CASH_ACCOUNT_MESSAGE = "Your cash account will be created automatically after your identity is confirmed";
//# sourceMappingURL=cash-accounts.d.ts.map