Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@triviumcapital/trivium-ts-sdk

Package Overview
Dependencies
Maintainers
1
Versions
30
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@triviumcapital/trivium-ts-sdk - npm Package Compare versions

Comparing version 0.0.23 to 0.1.0

68

dist/api.d.ts

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc