@triviumcapital/trivium-ts-sdk
Advanced tools
Comparing version 0.0.23 to 0.1.0
@@ -99,21 +99,11 @@ import type { Configuration } from './configuration'; | ||
export type FastParticipant = typeof FastParticipant[keyof typeof FastParticipant]; | ||
export interface FixedDepositPlacement { | ||
'placementId': string; | ||
'status': FixedDepositPlacementStatus; | ||
'investedQuantity': number; | ||
'currentValue': number; | ||
'currencyCode': string; | ||
'providerDetails': ProviderDetails; | ||
'term': string; | ||
'redemptionDate'?: string; | ||
'returnAtMaturity'?: number; | ||
'depositInstructions': DepositInstructions; | ||
} | ||
export declare const FixedDepositPlacementStatus: { | ||
readonly Locked: "LOCKED"; | ||
readonly Pending: "PENDING"; | ||
readonly Processing: "PROCESSING"; | ||
readonly Redeemed: "REDEEMED"; | ||
}; | ||
export type FixedDepositPlacementStatus = typeof FixedDepositPlacementStatus[keyof typeof FixedDepositPlacementStatus]; | ||
export type FixedDepositPlacement = { | ||
type: 'LockedFixedDeposit'; | ||
} & LockedFixedDeposit | { | ||
type: 'PendingFixedDeposit'; | ||
} & PendingFixedDeposit | { | ||
type: 'ProcessingFixedDeposit'; | ||
} & ProcessingFixedDeposit | { | ||
type: 'RedeemedFixedDeposit'; | ||
} & RedeemedFixedDeposit; | ||
export interface FixedDepositRedemption { | ||
@@ -143,2 +133,14 @@ 'transactionId': string; | ||
} & Fast; | ||
export interface LockedFixedDeposit { | ||
'placementId': string; | ||
'investedQuantity': number; | ||
'currentValue': number; | ||
'currencyCode': string; | ||
'providerDetails': ProviderDetails; | ||
'term': string; | ||
'redemptionDate': string; | ||
'returnAtMaturity': number; | ||
'lockedRate': number; | ||
'type': string; | ||
} | ||
export interface PaginationResultUserTransaction { | ||
@@ -149,2 +151,10 @@ 'results'?: Array<UserTransaction>; | ||
} | ||
export interface PendingFixedDeposit { | ||
'placementId': string; | ||
'currencyCode': string; | ||
'providerDetails': ProviderDetails; | ||
'term': string; | ||
'depositInstructions': DepositInstructions; | ||
'type': string; | ||
} | ||
export interface ProcessFixedDepositPlacementRequest { | ||
@@ -154,2 +164,10 @@ 'quantity': number; | ||
} | ||
export interface ProcessingFixedDeposit { | ||
'placementId': string; | ||
'investedQuantity': number; | ||
'currencyCode': string; | ||
'providerDetails': ProviderDetails; | ||
'term': string; | ||
'type': string; | ||
} | ||
export interface ProviderDetails { | ||
@@ -167,2 +185,14 @@ 'provider': string; | ||
} | ||
export interface RedeemedFixedDeposit { | ||
'placementId': string; | ||
'investedQuantity': number; | ||
'redeemedValue': number; | ||
'currencyCode': string; | ||
'providerDetails': ProviderDetails; | ||
'term': string; | ||
'redemptionDate': string; | ||
'returnAtMaturity': number; | ||
'lockedRate': number; | ||
'type': string; | ||
} | ||
export interface Redemption { | ||
@@ -169,0 +199,0 @@ 'accountId': string; |
@@ -15,3 +15,3 @@ "use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TransactionsApi = exports.TransactionsApiFactory = exports.TransactionsApiFp = exports.TransactionsApiAxiosParamCreator = exports.FixedDepositApi = exports.FixedDepositApiFactory = exports.FixedDepositApiFp = exports.FixedDepositApiAxiosParamCreator = exports.CashApi = exports.CashApiFactory = exports.CashApiFp = exports.CashApiAxiosParamCreator = exports.UserStatus = exports.TransactionStatus = exports.FixedDepositPlacementStatus = exports.FastParticipant = exports.AccountType = exports.AccountStatus = void 0; | ||
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.TransactionsApi = exports.TransactionsApiFactory = exports.TransactionsApiFp = exports.TransactionsApiAxiosParamCreator = exports.FixedDepositApi = exports.FixedDepositApiFactory = exports.FixedDepositApiFp = exports.FixedDepositApiAxiosParamCreator = exports.CashApi = exports.CashApiFactory = exports.CashApiFp = exports.CashApiAxiosParamCreator = exports.UserStatus = exports.TransactionStatus = exports.FastParticipant = exports.AccountType = exports.AccountStatus = void 0; | ||
const axios_1 = __importDefault(require("axios")); | ||
@@ -32,8 +32,2 @@ const common_1 = require("./common"); | ||
}; | ||
exports.FixedDepositPlacementStatus = { | ||
Locked: 'LOCKED', | ||
Pending: 'PENDING', | ||
Processing: 'PROCESSING', | ||
Redeemed: 'REDEEMED' | ||
}; | ||
exports.TransactionStatus = { | ||
@@ -40,0 +34,0 @@ Pending: 'PENDING', |
{ | ||
"name": "@triviumcapital/trivium-ts-sdk", | ||
"version": "0.0.23", | ||
"version": "0.1.0", | ||
"description": "Typescript Axios Client SDK for trivium APIs", | ||
@@ -5,0 +5,0 @@ "scripts": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
81516
1303