@tatumio/algo 2.0.1-alpha.326 → 2.0.1-alpha.328
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +6 -6
 - package/src/lib/algo.sdk.d.ts +59 -0
 
    
        package/package.json
    CHANGED
    
    | 
         @@ -1,19 +1,19 @@ 
     | 
|
| 
       1 
1 
     | 
    
         
             
            {
         
     | 
| 
       2 
2 
     | 
    
         
             
              "name": "@tatumio/algo",
         
     | 
| 
       3 
     | 
    
         
            -
              "version": "2.0.1-alpha. 
     | 
| 
      
 3 
     | 
    
         
            +
              "version": "2.0.1-alpha.328",
         
     | 
| 
       4 
4 
     | 
    
         
             
              "type": "commonjs",
         
     | 
| 
       5 
5 
     | 
    
         
             
              "license": "MIT",
         
     | 
| 
       6 
6 
     | 
    
         
             
              "main": "./src/index.js",
         
     | 
| 
       7 
7 
     | 
    
         
             
              "types": "./src/index.d.ts",
         
     | 
| 
       8 
8 
     | 
    
         
             
              "dependencies": {
         
     | 
| 
       9 
     | 
    
         
            -
                "@tatumio/shared-testing-common": "2.0.1-alpha. 
     | 
| 
       10 
     | 
    
         
            -
                "@tatumio/api-client": "2.0.1-alpha. 
     | 
| 
      
 9 
     | 
    
         
            +
                "@tatumio/shared-testing-common": "2.0.1-alpha.328",
         
     | 
| 
      
 10 
     | 
    
         
            +
                "@tatumio/api-client": "2.0.1-alpha.328",
         
     | 
| 
       11 
11 
     | 
    
         
             
                "axios": "^0.26.0",
         
     | 
| 
       12 
12 
     | 
    
         
             
                "form-data": "^4.0.0",
         
     | 
| 
       13 
     | 
    
         
            -
                "@tatumio/shared-core": "2.0.1-alpha. 
     | 
| 
       14 
     | 
    
         
            -
                "@tatumio/shared-abstract-sdk": "2.0.1-alpha. 
     | 
| 
      
 13 
     | 
    
         
            +
                "@tatumio/shared-core": "2.0.1-alpha.328",
         
     | 
| 
      
 14 
     | 
    
         
            +
                "@tatumio/shared-abstract-sdk": "2.0.1-alpha.328",
         
     | 
| 
       15 
15 
     | 
    
         
             
                "bignumber.js": "^9.0.2",
         
     | 
| 
       16 
     | 
    
         
            -
                "@tatumio/shared-blockchain-abstract": "2.0.1-alpha. 
     | 
| 
      
 16 
     | 
    
         
            +
                "@tatumio/shared-blockchain-abstract": "2.0.1-alpha.328",
         
     | 
| 
       17 
17 
     | 
    
         
             
                "algosdk": "^1.13.1",
         
     | 
| 
       18 
18 
     | 
    
         
             
                "base32.js": "^0.1.0",
         
     | 
| 
       19 
19 
     | 
    
         
             
                "url-parse": "^1.5.10",
         
     | 
    
        package/src/lib/algo.sdk.d.ts
    CHANGED
    
    | 
         @@ -105,4 +105,63 @@ export declare const TatumAlgoSDK: (args: SDKArguments) => { 
     | 
|
| 
       105 
105 
     | 
    
         
             
                    delete: typeof import("@tatumio/api-client").CustodialManagedWalletsService.custodialDeleteWallet;
         
     | 
| 
       106 
106 
     | 
    
         
             
                    get: typeof import("@tatumio/api-client").CustodialManagedWalletsService.custodialGetWallet;
         
     | 
| 
       107 
107 
     | 
    
         
             
                };
         
     | 
| 
      
 108 
     | 
    
         
            +
                ledger: {
         
     | 
| 
      
 109 
     | 
    
         
            +
                    customer: {
         
     | 
| 
      
 110 
     | 
    
         
            +
                        get: typeof import("@tatumio/api-client").CustomerService.getCustomerByExternalOrInternalId;
         
     | 
| 
      
 111 
     | 
    
         
            +
                        getAll: typeof import("@tatumio/api-client").CustomerService.findAllCustomers;
         
     | 
| 
      
 112 
     | 
    
         
            +
                        update: typeof import("@tatumio/api-client").CustomerService.updateCustomer;
         
     | 
| 
      
 113 
     | 
    
         
            +
                        activate: typeof import("@tatumio/api-client").CustomerService.activateCustomer;
         
     | 
| 
      
 114 
     | 
    
         
            +
                        deactivate: typeof import("@tatumio/api-client").CustomerService.deactivateCustomer;
         
     | 
| 
      
 115 
     | 
    
         
            +
                        enable: typeof import("@tatumio/api-client").CustomerService.enableCustomer;
         
     | 
| 
      
 116 
     | 
    
         
            +
                        disable: typeof import("@tatumio/api-client").CustomerService.disableCustomer;
         
     | 
| 
      
 117 
     | 
    
         
            +
                    };
         
     | 
| 
      
 118 
     | 
    
         
            +
                    orderBook: {
         
     | 
| 
      
 119 
     | 
    
         
            +
                        getHistorical: typeof import("@tatumio/api-client").OrderBookService.getHistoricalTradesBody;
         
     | 
| 
      
 120 
     | 
    
         
            +
                        getActiveBuyTrades: typeof import("@tatumio/api-client").OrderBookService.getBuyTradesBody;
         
     | 
| 
      
 121 
     | 
    
         
            +
                        getActiveSellTrades: typeof import("@tatumio/api-client").OrderBookService.getSellTradesBody;
         
     | 
| 
      
 122 
     | 
    
         
            +
                        newTrade: typeof import("@tatumio/api-client").OrderBookService.storeTrade;
         
     | 
| 
      
 123 
     | 
    
         
            +
                        get: typeof import("@tatumio/api-client").OrderBookService.getTradeById;
         
     | 
| 
      
 124 
     | 
    
         
            +
                        cancel: typeof import("@tatumio/api-client").OrderBookService.deleteTrade;
         
     | 
| 
      
 125 
     | 
    
         
            +
                        cancelByAccount: typeof import("@tatumio/api-client").OrderBookService.deleteAccountTrades;
         
     | 
| 
      
 126 
     | 
    
         
            +
                    };
         
     | 
| 
      
 127 
     | 
    
         
            +
                    transaction: {
         
     | 
| 
      
 128 
     | 
    
         
            +
                        send: typeof import("@tatumio/api-client").TransactionService.sendTransaction;
         
     | 
| 
      
 129 
     | 
    
         
            +
                        sendMultiple: typeof import("@tatumio/api-client").TransactionService.sendTransactionBatch;
         
     | 
| 
      
 130 
     | 
    
         
            +
                        getAll: typeof import("@tatumio/api-client").TransactionService.getTransactions;
         
     | 
| 
      
 131 
     | 
    
         
            +
                        getAllByAccount: typeof import("@tatumio/api-client").TransactionService.getTransactionsByAccountId;
         
     | 
| 
      
 132 
     | 
    
         
            +
                        getAllByCustomer: typeof import("@tatumio/api-client").TransactionService.getTransactionsByCustomerId;
         
     | 
| 
      
 133 
     | 
    
         
            +
                        getAllByReference: typeof import("@tatumio/api-client").TransactionService.getTransactionsByReference;
         
     | 
| 
      
 134 
     | 
    
         
            +
                        countByAccount: (filter: import("@tatumio/api-client").TransactionFilter) => import("@tatumio/api-client").CancelablePromise<number | import("@tatumio/api-client").Transaction[]>;
         
     | 
| 
      
 135 
     | 
    
         
            +
                        countByCustomer: (filter: import("@tatumio/api-client").TransactionFilterCustomer) => import("@tatumio/api-client").CancelablePromise<number | import("@tatumio/api-client").Transaction[]>;
         
     | 
| 
      
 136 
     | 
    
         
            +
                    };
         
     | 
| 
      
 137 
     | 
    
         
            +
                    virtualCurrency: {
         
     | 
| 
      
 138 
     | 
    
         
            +
                        create: typeof import("@tatumio/api-client").VirtualCurrencyService.createCurrency;
         
     | 
| 
      
 139 
     | 
    
         
            +
                        mint: typeof import("@tatumio/api-client").VirtualCurrencyService.mintCurrency;
         
     | 
| 
      
 140 
     | 
    
         
            +
                        revoke: typeof import("@tatumio/api-client").VirtualCurrencyService.revokeCurrency;
         
     | 
| 
      
 141 
     | 
    
         
            +
                        getByName: typeof import("@tatumio/api-client").VirtualCurrencyService.getCurrency;
         
     | 
| 
      
 142 
     | 
    
         
            +
                        update: typeof import("@tatumio/api-client").VirtualCurrencyService.updateCurrency;
         
     | 
| 
      
 143 
     | 
    
         
            +
                    };
         
     | 
| 
      
 144 
     | 
    
         
            +
                    blockAmount: {
         
     | 
| 
      
 145 
     | 
    
         
            +
                        block: typeof import("@tatumio/api-client").AccountService.blockAmount;
         
     | 
| 
      
 146 
     | 
    
         
            +
                        unblock: typeof import("@tatumio/api-client").AccountService.deleteBlockAmount;
         
     | 
| 
      
 147 
     | 
    
         
            +
                        unblockWithTransaction: typeof import("@tatumio/api-client").AccountService.unblockAmountWithTransaction;
         
     | 
| 
      
 148 
     | 
    
         
            +
                    };
         
     | 
| 
      
 149 
     | 
    
         
            +
                    account: {
         
     | 
| 
      
 150 
     | 
    
         
            +
                        get: typeof import("@tatumio/api-client").AccountService.getAccountByAccountId;
         
     | 
| 
      
 151 
     | 
    
         
            +
                        getAll: typeof import("@tatumio/api-client").AccountService.getAccounts;
         
     | 
| 
      
 152 
     | 
    
         
            +
                        getByCustomerId: typeof import("@tatumio/api-client").AccountService.getAccountsByCustomerId;
         
     | 
| 
      
 153 
     | 
    
         
            +
                        getBalance: typeof import("@tatumio/api-client").AccountService.getAccountBalance;
         
     | 
| 
      
 154 
     | 
    
         
            +
                        create: typeof import("@tatumio/api-client").AccountService.createAccount;
         
     | 
| 
      
 155 
     | 
    
         
            +
                        createMultiple: typeof import("@tatumio/api-client").AccountService.createAccountBatch;
         
     | 
| 
      
 156 
     | 
    
         
            +
                        update: typeof import("@tatumio/api-client").AccountService.updateAccountByAccountId;
         
     | 
| 
      
 157 
     | 
    
         
            +
                        getBlockedAmountsByAccountId: typeof import("@tatumio/api-client").AccountService.getBlockAmountById;
         
     | 
| 
      
 158 
     | 
    
         
            +
                        activate: typeof import("@tatumio/api-client").AccountService.activateAccount;
         
     | 
| 
      
 159 
     | 
    
         
            +
                        deactivate: typeof import("@tatumio/api-client").AccountService.deactivateAccount;
         
     | 
| 
      
 160 
     | 
    
         
            +
                        freeze: typeof import("@tatumio/api-client").AccountService.freezeAccount;
         
     | 
| 
      
 161 
     | 
    
         
            +
                        unfreeze: typeof import("@tatumio/api-client").AccountService.unfreezeAccount;
         
     | 
| 
      
 162 
     | 
    
         
            +
                        generate: (account: import("@tatumio/api-client").CreateAccount & {
         
     | 
| 
      
 163 
     | 
    
         
            +
                            xpub?: string;
         
     | 
| 
      
 164 
     | 
    
         
            +
                        }, generateNewWalletFn: any, generateNewWallet?: boolean, testnet?: boolean, webhookUrl?: string) => Promise<any>;
         
     | 
| 
      
 165 
     | 
    
         
            +
                    };
         
     | 
| 
      
 166 
     | 
    
         
            +
                };
         
     | 
| 
       108 
167 
     | 
    
         
             
            };
         
     |