Skip to content

Commit

Permalink
feat(api-client): udpate open api spec to 3.9.1 (#344)
Browse files Browse the repository at this point in the history
  • Loading branch information
vlnevyhosteny authored Jan 28, 2022
1 parent 91c3c35 commit 75afd1c
Show file tree
Hide file tree
Showing 54 changed files with 39,694 additions and 10,856 deletions.
47,242 changes: 36,518 additions & 10,724 deletions packages/api-client/src/api_schema.json

Large diffs are not rendered by default.

22 changes: 20 additions & 2 deletions packages/api-client/src/generated/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,11 @@ export { Customer } from './models/Customer';
export { CustomerRegistration } from './models/CustomerRegistration';
export { CustomerUpdate } from './models/CustomerUpdate';
export type { Data } from './models/Data';
export { DeployAlgoErc20OffchainKMSAddress } from './models/DeployAlgoErc20OffchainKMSAddress';
export { DeployAlgoErc20OffchainMnemonicAddress } from './models/DeployAlgoErc20OffchainMnemonicAddress';
export { DeployAlgoErc20OffchainPKAddress } from './models/DeployAlgoErc20OffchainPKAddress';
export type { DeployAlgoErc20Response } from './models/DeployAlgoErc20Response';
export type { DeployAlgoErc20SignatureResponse } from './models/DeployAlgoErc20SignatureResponse';
export type { DeployBep20 } from './models/DeployBep20';
export type { DeployBep20KMS } from './models/DeployBep20KMS';
export { DeployCeloErc20OffchainKMSAddress } from './models/DeployCeloErc20OffchainKMSAddress';
Expand All @@ -215,6 +220,12 @@ export type { DeployErc721 } from './models/DeployErc721';
export { DeployErc721Celo } from './models/DeployErc721Celo';
export { DeployErc721CeloKMS } from './models/DeployErc721CeloKMS';
export type { DeployErc721KMS } from './models/DeployErc721KMS';
export { DeployKCSErc20OffchainKMSAddress } from './models/DeployKCSErc20OffchainKMSAddress';
export { DeployKCSErc20OffchainKMSXpub } from './models/DeployKCSErc20OffchainKMSXpub';
export { DeployKCSErc20OffchainMnemonicAddress } from './models/DeployKCSErc20OffchainMnemonicAddress';
export { DeployKCSErc20OffchainMnemXpub } from './models/DeployKCSErc20OffchainMnemXpub';
export { DeployKCSErc20OffchainPKAddress } from './models/DeployKCSErc20OffchainPKAddress';
export { DeployKCSErc20OffchainPKXpub } from './models/DeployKCSErc20OffchainPKXpub';
export { DeployMultiToken } from './models/DeployMultiToken';
export { DeployMultiTokenCelo } from './models/DeployMultiTokenCelo';
export { DeployMultiTokenCeloKMS } from './models/DeployMultiTokenCeloKMS';
Expand Down Expand Up @@ -278,7 +289,6 @@ export type { Error403BlockageAmount } from './models/Error403BlockageAmount';
export type { Error403BlockageNotExists } from './models/Error403BlockageNotExists';
export type { Error403BlockchainPrivateFailed } from './models/Error403BlockchainPrivateFailed';
export type { Error403BlockDelete } from './models/Error403BlockDelete';
export type { Error403BlockNotExists } from './models/Error403BlockNotExists';
export type { Error403BnbAddressFailed } from './models/Error403BnbAddressFailed';
export type { Error403BnbBroadcatSigFailed } from './models/Error403BnbBroadcatSigFailed';
export type { Error403BnbFailed } from './models/Error403BnbFailed';
Expand Down Expand Up @@ -458,6 +468,8 @@ export type { Error403XrpFee } from './models/Error403XrpFee';
export type { Error403XrpLedger } from './models/Error403XrpLedger';
export type { Error403XrpMultiple } from './models/Error403XrpMultiple';
export type { Error403XrpSign } from './models/Error403XrpSign';
export type { Error404BlockNotExists } from './models/Error404BlockNotExists';
export type { Error404TxNotFound } from './models/Error404TxNotFound';
export type { Error500 } from './models/Error500';
export { EstimateFee } from './models/EstimateFee';
export { EstimateFeeCustodial } from './models/EstimateFeeCustodial';
Expand Down Expand Up @@ -519,6 +531,7 @@ export type { KcsTx } from './models/KcsTx';
export { ListOderBookActiveBuyBody } from './models/ListOderBookActiveBuyBody';
export { ListOderBookActiveSellBody } from './models/ListOderBookActiveSellBody';
export type { ListOderBookHistoryBody } from './models/ListOderBookHistoryBody';
export { ListOderBookMatchedBody } from './models/ListOderBookMatchedBody';
export type { LtcBlock } from './models/LtcBlock';
export type { LtcInfo } from './models/LtcInfo';
export type { LtcTransactionAddress } from './models/LtcTransactionAddress';
Expand Down Expand Up @@ -599,7 +612,6 @@ export type { QtumIGetInfo } from './models/QtumIGetInfo';
export type { QtumIRawTransactionInfo } from './models/QtumIRawTransactionInfo';
export type { QtumIRawTransactions } from './models/QtumIRawTransactions';
export type { QtumIUTXO } from './models/QtumIUTXO';
export type { QtumWallet } from './models/QtumWallet';
export type { QuorumBlock } from './models/QuorumBlock';
export type { QuorumTx } from './models/QuorumTx';
export type { QuorumTxReceipt } from './models/QuorumTxReceipt';
Expand Down Expand Up @@ -633,6 +645,7 @@ export type { TransferAda } from './models/TransferAda';
export type { TransferAdaKMS } from './models/TransferAdaKMS';
export type { TransferAdaMnemonic } from './models/TransferAdaMnemonic';
export type { TransferAlgo } from './models/TransferAlgo';
export type { TransferAlgoErc20 } from './models/TransferAlgoErc20';
export type { TransferAlgoKMS } from './models/TransferAlgoKMS';
export type { TransferAlgorandBlockchain } from './models/TransferAlgorandBlockchain';
export type { TransferAlgorandBlockchainKMS } from './models/TransferAlgorandBlockchainKMS';
Expand Down Expand Up @@ -694,8 +707,11 @@ export type { TransferEthMnemonic } from './models/TransferEthMnemonic';
export type { TransferFlowKMS } from './models/TransferFlowKMS';
export type { TransferFlowMnemonic } from './models/TransferFlowMnemonic';
export type { TransferFlowPK } from './models/TransferFlowPK';
export type { TransferKCS } from './models/TransferKCS';
export { TransferKcsBlockchain } from './models/TransferKcsBlockchain';
export { TransferKcsBlockchainKMS } from './models/TransferKcsBlockchainKMS';
export type { TransferKCSKMS } from './models/TransferKCSKMS';
export type { TransferKCSMnemonic } from './models/TransferKCSMnemonic';
export type { TransferLtcKeyPair } from './models/TransferLtcKeyPair';
export type { TransferLtcKMS } from './models/TransferLtcKMS';
export type { TransferLtcMnemonic } from './models/TransferLtcMnemonic';
Expand Down Expand Up @@ -724,8 +740,10 @@ export { TransferOneBlockchainKMS } from './models/TransferOneBlockchainKMS';
export { TransferPolygonBlockchain } from './models/TransferPolygonBlockchain';
export { TransferPolygonBlockchainKMS } from './models/TransferPolygonBlockchainKMS';
export type { TransferQuorum } from './models/TransferQuorum';
export type { TransferSol } from './models/TransferSol';
export type { TransferSolanaBlockchain } from './models/TransferSolanaBlockchain';
export type { TransferSolanaBlockchainKMS } from './models/TransferSolanaBlockchainKMS';
export type { TransferSolKMS } from './models/TransferSolKMS';
export type { TransferTron } from './models/TransferTron';
export type { TransferTronBlockchain } from './models/TransferTronBlockchain';
export type { TransferTronBlockchainKMS } from './models/TransferTronBlockchainKMS';
Expand Down
6 changes: 1 addition & 5 deletions packages/api-client/src/generated/models/Account.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,7 @@ export type Account = {
*/
accountCode?: string;
/**
* Account number from external system.
*/
accountNumber?: string;
/**
* Accounting currency of an account.
* All transaction will be accounted in this currency for all accounts.
*/
accountingCurrency?: string;
/**
Expand Down
8 changes: 6 additions & 2 deletions packages/api-client/src/generated/models/BtcTx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,13 @@ export type BtcTx = {
rate?: number;
mtime?: number;
/**
* Block this transaction belongs to.
* Height of the block this transaction belongs to.
*/
blockNumber?: number;
/**
* Hash of the block this transaction belongs to.
*/
block?: string;
/**
* Time of the transaction.
*/
Expand Down Expand Up @@ -58,7 +62,7 @@ export type BtcTx = {
sequence?: number;
coin?: {
version?: number;
height?: number;
blockNumber?: number;
/**
* Amount of the transaction, in Satoshis (1 BTC = 100 000 000 Satoshis)
*/
Expand Down
2 changes: 1 addition & 1 deletion packages/api-client/src/generated/models/CreateAccount.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import type { CustomerRegistration } from './CustomerRegistration';

export type CreateAccount = {
/**
* Account currency. Supported values are BTC, BNB, LTC, DOGE, BCH, ETH, XLM, XRP, TRON, BSC, Tatum Virtual Currencies started with VC_ prefix (this includes FIAT currencies), USDT, WBTC, LEO, LINK, GMC, UNI, FREE, MKR, USDC, BAT, TUSD, BUSD, PAX, PAXG, PLTC, MMY, XCON, USDT_TRON, BETH, BUSD, BBTC, BADA, WBNB, BDOT, BXRP, BLTC, BBCH, CAKE, BUSD_BSC, ERC20, BEP20 or TRC-10/20 custom tokens registered in the Tatum Platform, XLM or XRP Assets created via Tatum Platform. ERC20 tokens and BEP20 tokens do not have Testnet blockchains, so it is impossible to use them in a non-production environment.
* Account currency. Supported values are BTC, BNB, LTC, DOGE, BCH, ETH, XLM, XRP, TRON, BSC, SOL, MATIC, ALGO, KCS, EGLD, CELO, Tatum Virtual Currencies started with VC_ prefix (this includes FIAT currencies), USDT, WBTC, LEO, LINK, GMC, UNI, FREE, MKR, USDC, BAT, TUSD, BUSD, PAX, PAXG, PLTC, MMY, XCON, USDT_TRON, BETH, BUSD, BBTC, BADA, WBNB, BDOT, BXRP, BLTC, BBCH, CAKE, BUSD_BSC, ERC20, BEP20 or TRC-10/20 custom tokens registered in the Tatum Platform, XLM or XRP Assets created via Tatum Platform. ERC20 tokens and BEP20 tokens do not have Testnet blockchains, so it is impossible to use them in a non-production environment.
* You can emulate behaviour by <a href="#operation/createErc20">registering your custom ERC20 token</a> in the platform and receive tokens using <a href="https://erc20faucet.com/" target="_blank">https://erc20faucet.com/</a>.
*
*/
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,250 @@
/* istanbul ignore file */
/* tslint:disable */
/* eslint-disable */

import type { CustomerRegistration } from './CustomerRegistration';

export type DeployAlgoErc20OffchainKMSAddress = {
/**
* Name of the ERC20 token - stored as a symbol on Blockchain
*/
symbol: string;
/**
* max supply of ERC20 token.
*/
supply: string;
/**
* Description of the ERC20 token
*/
description: string;
/**
* Base pair for ERC20 token. 1 token will be equal to 1 unit of base pair. Transaction value will be calculated according to this base pair.
*/
basePair: DeployAlgoErc20OffchainKMSAddress.basePair;
/**
* Exchange rate of the base pair. Each unit of the created curency will represent value of baseRate*1 basePair.
*/
baseRate?: number;
customer?: CustomerRegistration;
/**
* Address on Ethereum blockchain, where all initial supply will be stored. Either xpub and derivationIndex, or address must be present, not both.
*/
address: string;
/**
* Identifier of the mnemonic / private key associated in signing application.
* When hash identifies mnemonic, index must be present to represent specific account to pay from.
* Private key, mnemonic or signature Id must be present.
*
*/
signatureId: string;
}

export namespace DeployAlgoErc20OffchainKMSAddress {

/**
* Base pair for ERC20 token. 1 token will be equal to 1 unit of base pair. Transaction value will be calculated according to this base pair.
*/
export enum basePair {
AED = 'AED',
AFN = 'AFN',
ALL = 'ALL',
AMD = 'AMD',
ANG = 'ANG',
AOA = 'AOA',
ARS = 'ARS',
AUD = 'AUD',
AWG = 'AWG',
AZN = 'AZN',
BAM = 'BAM',
BAT = 'BAT',
BBD = 'BBD',
BCH = 'BCH',
BDT = 'BDT',
BGN = 'BGN',
BHD = 'BHD',
BIF = 'BIF',
BMD = 'BMD',
BND = 'BND',
BOB = 'BOB',
BRL = 'BRL',
BSD = 'BSD',
BTC = 'BTC',
BTN = 'BTN',
BWP = 'BWP',
BYN = 'BYN',
BYR = 'BYR',
BZD = 'BZD',
CAD = 'CAD',
CDF = 'CDF',
CHF = 'CHF',
CLF = 'CLF',
CLP = 'CLP',
CNY = 'CNY',
COP = 'COP',
CRC = 'CRC',
CUC = 'CUC',
CUP = 'CUP',
CVE = 'CVE',
CZK = 'CZK',
DJF = 'DJF',
DKK = 'DKK',
DOP = 'DOP',
DOGE = 'DOGE',
DZD = 'DZD',
EGP = 'EGP',
ERN = 'ERN',
ETB = 'ETB',
ETH = 'ETH',
EUR = 'EUR',
FJD = 'FJD',
FKP = 'FKP',
FLOW = 'FLOW',
FUSD = 'FUSD',
FREE = 'FREE',
GMC = 'GMC',
GMC_BSC = 'GMC_BSC',
RMD = 'RMD',
GBP = 'GBP',
GEL = 'GEL',
GGP = 'GGP',
GHS = 'GHS',
GIP = 'GIP',
GMD = 'GMD',
GNF = 'GNF',
GTQ = 'GTQ',
GYD = 'GYD',
HKD = 'HKD',
HNL = 'HNL',
HRK = 'HRK',
HTG = 'HTG',
HUF = 'HUF',
IDR = 'IDR',
ILS = 'ILS',
IMP = 'IMP',
INR = 'INR',
IQD = 'IQD',
IRR = 'IRR',
ISK = 'ISK',
JEP = 'JEP',
JMD = 'JMD',
JOD = 'JOD',
JPY = 'JPY',
KES = 'KES',
KGS = 'KGS',
KHR = 'KHR',
KMF = 'KMF',
KPW = 'KPW',
KRW = 'KRW',
KWD = 'KWD',
KYD = 'KYD',
KZT = 'KZT',
LAK = 'LAK',
LBP = 'LBP',
LEO = 'LEO',
LINK = 'LINK',
LKR = 'LKR',
LRD = 'LRD',
LSL = 'LSL',
LTC = 'LTC',
LTL = 'LTL',
LVL = 'LVL',
LYD = 'LYD',
MAD = 'MAD',
MDL = 'MDL',
MGA = 'MGA',
MKD = 'MKD',
MKR = 'MKR',
MMK = 'MMK',
MMY = 'MMY',
MNT = 'MNT',
MOP = 'MOP',
MRO = 'MRO',
MUR = 'MUR',
MVR = 'MVR',
MWK = 'MWK',
MXN = 'MXN',
MYR = 'MYR',
MZN = 'MZN',
NAD = 'NAD',
NGN = 'NGN',
NIO = 'NIO',
NOK = 'NOK',
NPR = 'NPR',
NZD = 'NZD',
OMR = 'OMR',
PAB = 'PAB',
PAX = 'PAX',
PAXG = 'PAXG',
PEN = 'PEN',
PGK = 'PGK',
PHP = 'PHP',
PKR = 'PKR',
PLN = 'PLN',
PLTC = 'PLTC',
PYG = 'PYG',
QAR = 'QAR',
RON = 'RON',
RSD = 'RSD',
RUB = 'RUB',
RWF = 'RWF',
SAR = 'SAR',
SBD = 'SBD',
SCR = 'SCR',
SDG = 'SDG',
SEK = 'SEK',
SGD = 'SGD',
SHP = 'SHP',
SLL = 'SLL',
SOS = 'SOS',
SRD = 'SRD',
STD = 'STD',
SVC = 'SVC',
SYP = 'SYP',
SZL = 'SZL',
THB = 'THB',
TJS = 'TJS',
TMT = 'TMT',
TND = 'TND',
TOP = 'TOP',
TRY = 'TRY',
TTD = 'TTD',
TRON = 'TRON',
TUSD = 'TUSD',
BUSD = 'BUSD',
TWD = 'TWD',
TZS = 'TZS',
UAH = 'UAH',
UGX = 'UGX',
UNI = 'UNI',
USD = 'USD',
USDC = 'USDC',
USDT = 'USDT',
USDT_TRON = 'USDT_TRON',
USDT_MATIC = 'USDT_MATIC',
QTUM = 'QTUM',
UYU = 'UYU',
UZS = 'UZS',
VEF = 'VEF',
VND = 'VND',
VUV = 'VUV',
WBTC = 'WBTC',
WST = 'WST',
XAF = 'XAF',
XAG = 'XAG',
XAU = 'XAU',
XCD = 'XCD',
XCON = 'XCON',
XDR = 'XDR',
XLM = 'XLM',
XOF = 'XOF',
XPF = 'XPF',
XRP = 'XRP',
YER = 'YER',
ZAR = 'ZAR',
ZMK = 'ZMK',
ZMW = 'ZMW',
ZWL = 'ZWL',
}


}
Loading

0 comments on commit 75afd1c

Please sign in to comment.