@triviumcapital/trivium-ts-sdk
Advanced tools
Comparing version 0.0.2 to 0.0.3
@@ -27,3 +27,7 @@ import type { Configuration } from './configuration'; | ||
} | ||
export type CashRequestReceived = DepositCashRequestReceived | RedemptionCashRequestReceived; | ||
export type CashRequestReceived = { | ||
type: 'DepositCashRequestReceived'; | ||
} & DepositCashRequestReceived | { | ||
type: 'RedemptionCashRequestReceived'; | ||
} & RedemptionCashRequestReceived; | ||
export interface CashRequestResponse { | ||
@@ -43,2 +47,3 @@ 'transactionReference': string; | ||
'receivedAt': string; | ||
'type': string; | ||
} | ||
@@ -51,2 +56,3 @@ export interface DepositCashRequestReceived { | ||
'receivedAt': string; | ||
'type': string; | ||
} | ||
@@ -62,2 +68,3 @@ export interface DepositRequest { | ||
'receivedAt': string; | ||
'type': string; | ||
} | ||
@@ -75,2 +82,3 @@ export interface Rates { | ||
'receivedAt': string; | ||
'type': string; | ||
} | ||
@@ -83,2 +91,3 @@ export interface RedemptionCashRequestReceived { | ||
'receivedAt': string; | ||
'type': string; | ||
} | ||
@@ -92,3 +101,9 @@ export interface RedemptionInfo { | ||
} | ||
export type Transaction = Deposit | Interest | Redemption; | ||
export type Transaction = { | ||
type: 'Deposit'; | ||
} & Deposit | { | ||
type: 'Interest'; | ||
} & Interest | { | ||
type: 'Redemption'; | ||
} & Redemption; | ||
export interface Transactions { | ||
@@ -95,0 +110,0 @@ 'transactions'?: Array<Transaction>; |
{ | ||
"name": "@triviumcapital/trivium-ts-sdk", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Typescript Axios Client SDK for trivium APIs", | ||
@@ -5,0 +5,0 @@ "main": "dist/index.js", |
# Typescript Axios Client SDK for trivium | ||
[Development Documentation](./DEVELOPMENT.md) | ||
[SDK Development Documentation](./DEVELOPMENT.md) | ||
@@ -5,0 +5,0 @@ To use SDK: |
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
56011
960