wapi-client 0.9.5 → 0.10.0
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/dist/api/base-client.browser.cjs +69 -60
- package/dist/api/base-client.browser.js +69 -60
- package/dist/api/base-client.cjs +69 -60
- package/dist/api/base-client.d.ts +67 -58
- package/dist/api/base-client.js +70 -61
- package/dist/api/connection/connection.enums.d.ts +0 -12
- package/dist/api/http-client.d.ts +1 -1
- package/dist/api/ws-client.cjs +1 -1
- package/dist/api/ws-client.d.ts +1 -1
- package/dist/api/ws-client.js +1 -1
- package/dist/client.browser.cjs +623 -441
- package/dist/client.browser.js +623 -441
- package/dist/client.cjs +624 -442
- package/dist/client.d.ts +851 -547
- package/dist/client.js +624 -442
- package/dist/db/consts.schema.json +3 -2
- package/dist/db/index.browser.cjs +5 -1
- package/dist/db/index.browser.js +5 -1
- package/dist/db/index.cjs +8 -2
- package/dist/db/index.d.ts +3 -0
- package/dist/db/index.js +5 -1
- package/dist/db/token/token.schema.input.json +5 -16
- package/dist/db/token/token.schema.json +8 -32
- package/dist/db/token/token.schema.optional.json +5 -16
- package/dist/db/transfer/transfer.schema.input.json +6 -21
- package/dist/db/transfer/transfer.schema.json +8 -28
- package/dist/db/transfer/transfer.schema.optional.json +7 -24
- package/dist/db/transfer-group/transfer-group.schema.input.json +6 -20
- package/dist/db/transfer-group/transfer-group.schema.json +8 -27
- package/dist/db/transfer-group/transfer-group.schema.optional.json +6 -20
- package/dist/db/transfer-log/transfer-log.schema.input.json +1 -1
- package/dist/db/transfer-log/transfer-log.schema.json +7 -29
- package/dist/db/transfer-log/transfer-log.schema.optional.json +6 -20
- package/dist/db/wallet/wallet.schema.input.json +4 -12
- package/dist/db/wallet/wallet.schema.json +8 -35
- package/dist/db/wallet/wallet.schema.optional.json +4 -12
- package/dist/db/wallet-token-setting/wallet-token-setting.schema.input.json +1 -1
- package/dist/db/wallet-token-setting/wallet-token-setting.schema.json +5 -17
- package/dist/db/wallet-token-setting/wallet-token-setting.schema.optional.json +2 -4
- package/dist/db/wapi-setting/wapi-setting.schema.input.json +2 -5
- package/dist/db/wapi-setting/wapi-setting.schema.json +5 -21
- package/dist/db/wapi-setting/wapi-setting.schema.optional.json +2 -4
- package/dist/{txs/export-database/export-database.enums.cjs → db/wapi-statistic/wapi-statistic.enums.browser.cjs} +3 -3
- package/dist/{txs/import-database/import-database.enums.cjs → db/wapi-statistic/wapi-statistic.enums.cjs} +3 -3
- package/dist/db/wapi-statistic/wapi-statistic.enums.d.ts +96 -0
- package/dist/db/wapi-statistic/wapi-statistic.schema.input.json +29 -0
- package/dist/db/wapi-statistic/wapi-statistic.schema.json +81 -0
- package/dist/db/wapi-statistic/wapi-statistic.schema.optional.json +43 -0
- package/dist/fns/export-balance-history/export-balance-history.browser.cjs +51 -0
- package/dist/fns/export-balance-history/export-balance-history.browser.js +30 -0
- package/dist/fns/export-balance-history/export-balance-history.cjs +55 -0
- package/dist/fns/export-balance-history/export-balance-history.d.ts +8 -0
- package/dist/fns/export-balance-history/export-balance-history.enums.browser.cjs +17 -0
- package/dist/fns/export-balance-history/export-balance-history.enums.cjs +17 -0
- package/dist/fns/export-balance-history/export-balance-history.enums.d.ts +29 -0
- package/dist/fns/export-balance-history/export-balance-history.guards.browser.cjs +36 -0
- package/dist/fns/export-balance-history/export-balance-history.guards.browser.js +16 -0
- package/dist/fns/export-balance-history/export-balance-history.guards.cjs +41 -0
- package/dist/fns/export-balance-history/export-balance-history.guards.d.ts +4 -0
- package/dist/fns/export-balance-history/export-balance-history.guards.js +16 -0
- package/dist/fns/export-balance-history/export-balance-history.js +30 -0
- package/dist/fns/export-balance-history/export-balance-history.schema.input.json +33 -0
- package/dist/fns/export-balance-history/export-balance-history.schema.output.json +8 -0
- package/dist/fns/export-tokens/export-tokens.browser.cjs +91 -0
- package/dist/fns/export-tokens/export-tokens.browser.js +77 -0
- package/dist/fns/export-tokens/export-tokens.cjs +95 -0
- package/dist/fns/export-tokens/export-tokens.d.ts +19 -0
- package/dist/fns/export-tokens/export-tokens.enums.browser.cjs +17 -0
- package/dist/fns/export-tokens/export-tokens.enums.cjs +17 -0
- package/dist/fns/export-tokens/export-tokens.enums.d.ts +39 -0
- package/dist/fns/export-tokens/export-tokens.guards.browser.cjs +36 -0
- package/dist/fns/export-tokens/export-tokens.guards.browser.js +16 -0
- package/dist/fns/export-tokens/export-tokens.guards.cjs +41 -0
- package/dist/fns/export-tokens/export-tokens.guards.d.ts +4 -0
- package/dist/fns/export-tokens/export-tokens.guards.js +16 -0
- package/dist/fns/export-tokens/export-tokens.js +77 -0
- package/dist/fns/export-tokens/export-tokens.schema.input.json +43 -0
- package/dist/fns/export-tokens/export-tokens.schema.output.json +8 -0
- package/dist/fns/export-transfer-groups/export-transfer-groups.browser.cjs +94 -0
- package/dist/fns/export-transfer-groups/export-transfer-groups.browser.js +80 -0
- package/dist/fns/export-transfer-groups/export-transfer-groups.cjs +98 -0
- package/dist/fns/export-transfer-groups/export-transfer-groups.d.ts +19 -0
- package/dist/fns/export-transfer-groups/export-transfer-groups.enums.browser.cjs +17 -0
- package/dist/fns/export-transfer-groups/export-transfer-groups.enums.cjs +17 -0
- package/dist/fns/export-transfer-groups/export-transfer-groups.enums.d.ts +47 -0
- package/dist/fns/export-transfer-groups/export-transfer-groups.guards.browser.cjs +36 -0
- package/dist/fns/export-transfer-groups/export-transfer-groups.guards.browser.js +16 -0
- package/dist/fns/export-transfer-groups/export-transfer-groups.guards.cjs +41 -0
- package/dist/fns/export-transfer-groups/export-transfer-groups.guards.d.ts +4 -0
- package/dist/fns/export-transfer-groups/export-transfer-groups.guards.js +16 -0
- package/dist/fns/export-transfer-groups/export-transfer-groups.js +80 -0
- package/dist/fns/export-transfer-groups/export-transfer-groups.schema.input.json +49 -0
- package/dist/fns/export-transfer-groups/export-transfer-groups.schema.output.json +8 -0
- package/dist/fns/export-transfers/export-transfers.browser.cjs +140 -0
- package/dist/fns/export-transfers/export-transfers.browser.js +127 -0
- package/dist/fns/export-transfers/export-transfers.cjs +144 -0
- package/dist/fns/export-transfers/export-transfers.d.ts +19 -0
- package/dist/{txs/export-database/export-database.enums.browser.cjs → fns/export-transfers/export-transfers.enums.browser.cjs} +3 -3
- package/dist/{txs/import-database/import-database.enums.browser.cjs → fns/export-transfers/export-transfers.enums.cjs} +3 -3
- package/dist/fns/export-transfers/export-transfers.enums.d.ts +54 -0
- package/dist/fns/export-transfers/export-transfers.guards.browser.cjs +36 -0
- package/dist/fns/export-transfers/export-transfers.guards.browser.js +16 -0
- package/dist/fns/export-transfers/export-transfers.guards.cjs +41 -0
- package/dist/fns/export-transfers/export-transfers.guards.d.ts +4 -0
- package/dist/fns/export-transfers/export-transfers.guards.js +16 -0
- package/dist/fns/export-transfers/export-transfers.js +127 -0
- package/dist/fns/export-transfers/export-transfers.schema.input.json +73 -0
- package/dist/fns/export-transfers/export-transfers.schema.output.json +8 -0
- package/dist/fns/export-wallets/export-wallets.browser.cjs +86 -0
- package/dist/fns/export-wallets/export-wallets.browser.js +72 -0
- package/dist/fns/export-wallets/export-wallets.cjs +90 -0
- package/dist/fns/export-wallets/export-wallets.d.ts +18 -0
- package/dist/fns/export-wallets/export-wallets.enums.browser.cjs +17 -0
- package/dist/fns/export-wallets/export-wallets.enums.cjs +17 -0
- package/dist/fns/export-wallets/export-wallets.enums.d.ts +45 -0
- package/dist/fns/export-wallets/export-wallets.guards.browser.cjs +36 -0
- package/dist/fns/export-wallets/export-wallets.guards.browser.js +16 -0
- package/dist/fns/export-wallets/export-wallets.guards.cjs +41 -0
- package/dist/fns/export-wallets/export-wallets.guards.d.ts +4 -0
- package/dist/fns/export-wallets/export-wallets.guards.js +16 -0
- package/dist/fns/export-wallets/export-wallets.js +72 -0
- package/dist/fns/export-wallets/export-wallets.schema.input.json +54 -0
- package/dist/fns/export-wallets/export-wallets.schema.output.json +8 -0
- package/dist/fns/get-export/get-export.browser.cjs +45 -0
- package/dist/fns/get-export/get-export.browser.js +24 -0
- package/dist/fns/get-export/get-export.cjs +49 -0
- package/dist/fns/get-export/get-export.d.ts +9 -0
- package/dist/{txs/query/query.enums.browser.cjs → fns/get-export/get-export.enums.browser.cjs} +3 -3
- package/dist/fns/get-export/get-export.enums.browser.js +0 -0
- package/dist/{txs/query/query.enums.cjs → fns/get-export/get-export.enums.cjs} +3 -3
- package/dist/fns/get-export/get-export.enums.d.ts +22 -0
- package/dist/fns/get-export/get-export.enums.js +0 -0
- package/dist/fns/get-export/get-export.guards.browser.cjs +36 -0
- package/dist/fns/get-export/get-export.guards.browser.js +16 -0
- package/dist/fns/get-export/get-export.guards.cjs +41 -0
- package/dist/fns/get-export/get-export.guards.d.ts +4 -0
- package/dist/fns/get-export/get-export.guards.js +16 -0
- package/dist/fns/get-export/get-export.js +24 -0
- package/dist/fns/get-export/get-export.schema.input.json +27 -0
- package/dist/fns/get-export/get-export.schema.output.json +8 -0
- package/dist/fns/index.browser.cjs +65 -0
- package/dist/fns/index.browser.js +65 -0
- package/dist/fns/index.cjs +86 -0
- package/dist/fns/index.d.ts +45 -1
- package/dist/fns/index.js +65 -0
- package/dist/fns/list-exports/list-exports.browser.cjs +51 -0
- package/dist/fns/list-exports/list-exports.browser.js +30 -0
- package/dist/fns/list-exports/list-exports.cjs +55 -0
- package/dist/fns/list-exports/list-exports.d.ts +10 -0
- package/dist/fns/list-exports/list-exports.enums.browser.cjs +17 -0
- package/dist/fns/list-exports/list-exports.enums.browser.js +0 -0
- package/dist/fns/list-exports/list-exports.enums.cjs +17 -0
- package/dist/fns/list-exports/list-exports.enums.d.ts +24 -0
- package/dist/fns/list-exports/list-exports.enums.js +0 -0
- package/dist/fns/list-exports/list-exports.guards.browser.cjs +36 -0
- package/dist/fns/list-exports/list-exports.guards.browser.js +16 -0
- package/dist/fns/list-exports/list-exports.guards.cjs +41 -0
- package/dist/fns/list-exports/list-exports.guards.d.ts +4 -0
- package/dist/fns/list-exports/list-exports.guards.js +16 -0
- package/dist/fns/list-exports/list-exports.js +30 -0
- package/dist/fns/list-exports/list-exports.schema.input.json +22 -0
- package/dist/fns/list-exports/list-exports.schema.output.json +8 -0
- package/dist/lib/errors.browser.cjs +44 -22
- package/dist/lib/errors.browser.js +44 -22
- package/dist/lib/errors.cjs +44 -22
- package/dist/lib/errors.d.ts +6 -6
- package/dist/lib/errors.js +44 -22
- package/dist/lib/validator.browser.cjs +286 -90
- package/dist/lib/validator.browser.js +286 -90
- package/dist/lib/validator.cjs +286 -90
- package/dist/lib/validator.d.ts +32 -13
- package/dist/lib/validator.js +286 -90
- package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.schema.input.json +1 -0
- package/dist/txs/create-access-token/create-access-token.schema.input.json +1 -0
- package/dist/txs/create-transfer-group/create-transfer-group.schema.input.json +0 -1
- package/dist/txs/export-balance-history/export-balance-history.enums.browser.cjs +17 -0
- package/dist/txs/export-balance-history/export-balance-history.enums.browser.js +0 -0
- package/dist/txs/export-balance-history/export-balance-history.enums.cjs +17 -0
- package/dist/txs/export-balance-history/export-balance-history.enums.d.ts +22 -0
- package/dist/txs/export-balance-history/export-balance-history.enums.js +0 -0
- package/dist/txs/export-balance-history/export-balance-history.schema.input.json +38 -0
- package/dist/txs/export-balance-history/export-balance-history.schema.output.json +14 -0
- package/dist/txs/export-token-many/export-token-many.enums.browser.cjs +17 -0
- package/dist/txs/export-token-many/export-token-many.enums.browser.js +0 -0
- package/dist/txs/export-token-many/export-token-many.enums.cjs +17 -0
- package/dist/txs/export-token-many/export-token-many.enums.d.ts +9 -0
- package/dist/txs/export-token-many/export-token-many.enums.js +0 -0
- package/dist/txs/export-token-many/export-token-many.schema.input.json +21 -0
- package/dist/txs/export-token-many/export-token-many.schema.output.json +14 -0
- package/dist/txs/export-transfer-group-many/export-transfer-group-many.enums.browser.cjs +17 -0
- package/dist/txs/export-transfer-group-many/export-transfer-group-many.enums.browser.js +0 -0
- package/dist/txs/export-transfer-group-many/export-transfer-group-many.enums.cjs +17 -0
- package/dist/txs/export-transfer-group-many/export-transfer-group-many.enums.d.ts +9 -0
- package/dist/txs/export-transfer-group-many/export-transfer-group-many.enums.js +0 -0
- package/dist/txs/export-transfer-group-many/export-transfer-group-many.schema.input.json +21 -0
- package/dist/txs/export-transfer-group-many/export-transfer-group-many.schema.output.json +14 -0
- package/dist/txs/export-transfer-many/export-transfer-many.enums.browser.cjs +17 -0
- package/dist/txs/export-transfer-many/export-transfer-many.enums.browser.js +0 -0
- package/dist/txs/export-transfer-many/export-transfer-many.enums.cjs +17 -0
- package/dist/txs/export-transfer-many/export-transfer-many.enums.d.ts +11 -0
- package/dist/txs/export-transfer-many/export-transfer-many.enums.js +0 -0
- package/dist/txs/export-transfer-many/export-transfer-many.schema.input.json +40 -0
- package/dist/txs/export-transfer-many/export-transfer-many.schema.output.json +14 -0
- package/dist/txs/export-wallet-many/export-wallet-many.enums.browser.cjs +17 -0
- package/dist/txs/export-wallet-many/export-wallet-many.enums.browser.js +0 -0
- package/dist/txs/export-wallet-many/export-wallet-many.enums.cjs +17 -0
- package/dist/txs/export-wallet-many/export-wallet-many.enums.d.ts +9 -0
- package/dist/txs/export-wallet-many/export-wallet-many.enums.js +0 -0
- package/dist/txs/export-wallet-many/export-wallet-many.schema.input.json +21 -0
- package/dist/txs/export-wallet-many/export-wallet-many.schema.output.json +14 -0
- package/dist/txs/find-transfer-group-many/find-transfer-group-many.enums.d.ts +1 -1
- package/dist/txs/find-transfer-group-many/find-transfer-group-many.schema.input.json +0 -1
- package/dist/txs/find-transfer-many/find-transfer-many.enums.d.ts +1 -1
- package/dist/txs/find-transfer-many/find-transfer-many.schema.input.json +0 -1
- package/dist/txs/get-balance-history/get-balance-history.enums.d.ts +1 -1
- package/dist/txs/get-balance-history/get-balance-history.schema.input.json +1 -0
- package/dist/txs/get-export/get-export.enums.browser.cjs +17 -0
- package/dist/txs/get-export/get-export.enums.browser.js +0 -0
- package/dist/txs/get-export/get-export.enums.cjs +17 -0
- package/dist/txs/get-export/get-export.enums.d.ts +82 -0
- package/dist/txs/get-export/get-export.enums.js +0 -0
- package/dist/txs/get-export/get-export.schema.input.json +51 -0
- package/dist/txs/get-export/get-export.schema.output.json +70 -0
- package/dist/txs/get-wallet-many/get-wallet-many.enums.d.ts +1 -1
- package/dist/txs/get-wallet-many/get-wallet-many.schema.input.json +1 -0
- package/dist/txs/healthcheck/healthcheck.schema.input.json +0 -1
- package/dist/txs/index.browser.cjs +63 -58
- package/dist/txs/index.browser.js +61 -62
- package/dist/txs/index.cjs +77 -75
- package/dist/txs/index.d.ts +37 -33
- package/dist/txs/index.js +61 -62
- package/dist/txs/list-export-many/list-export-many.enums.browser.cjs +17 -0
- package/dist/txs/list-export-many/list-export-many.enums.browser.js +0 -0
- package/dist/txs/list-export-many/list-export-many.enums.cjs +17 -0
- package/dist/txs/list-export-many/list-export-many.enums.d.ts +23 -0
- package/dist/txs/list-export-many/list-export-many.enums.js +0 -0
- package/dist/txs/list-export-many/list-export-many.schema.input.json +76 -0
- package/dist/txs/list-export-many/list-export-many.schema.output.json +18 -0
- package/dist/txs/reverse-transfer-group/reverse-transfer-group.enums.d.ts +1 -1
- package/dist/txs/reverse-transfer-group/reverse-transfer-group.schema.input.json +1 -0
- package/dist/txs/update-token/update-token.enums.d.ts +1 -1
- package/dist/txs/update-token/update-token.schema.input.json +1 -1
- package/dist/txs/update-transfer/update-transfer.enums.d.ts +1 -1
- package/dist/txs/update-transfer/update-transfer.schema.input.json +1 -1
- package/dist/txs/update-transfer-group/update-transfer-group.enums.d.ts +1 -1
- package/dist/txs/update-transfer-group/update-transfer-group.schema.input.json +1 -1
- package/dist/txs/update-transfer-group-many/update-transfer-group-many.enums.d.ts +1 -1
- package/dist/txs/update-transfer-group-many/update-transfer-group-many.schema.input.json +1 -1
- package/dist/txs/update-wallet/update-wallet.enums.d.ts +1 -1
- package/dist/txs/update-wallet/update-wallet.schema.input.json +1 -1
- package/dist/types/index.d.ts +2260 -1333
- package/dist/wapi-client-web.iife.js +6 -6
- package/dist/wapi-client.iife.js +6 -6
- package/package.json +1 -1
- package/dist/txs/export-database/export-database.enums.d.ts +0 -20
- package/dist/txs/export-database/export-database.schema.input.json +0 -15
- package/dist/txs/export-database/export-database.schema.output.json +0 -13
- package/dist/txs/get-database-export-progress/get-database-export-progress.enums.browser.cjs +0 -17
- package/dist/txs/get-database-export-progress/get-database-export-progress.enums.cjs +0 -17
- package/dist/txs/get-database-export-progress/get-database-export-progress.enums.d.ts +0 -38
- package/dist/txs/get-database-export-progress/get-database-export-progress.schema.input.json +0 -31
- package/dist/txs/get-database-export-progress/get-database-export-progress.schema.output.json +0 -27
- package/dist/txs/get-database-import-progress/get-database-import-progress.enums.browser.cjs +0 -17
- package/dist/txs/get-database-import-progress/get-database-import-progress.enums.cjs +0 -17
- package/dist/txs/get-database-import-progress/get-database-import-progress.enums.d.ts +0 -33
- package/dist/txs/get-database-import-progress/get-database-import-progress.schema.input.json +0 -22
- package/dist/txs/get-database-import-progress/get-database-import-progress.schema.output.json +0 -27
- package/dist/txs/import-database/import-database.enums.d.ts +0 -17
- package/dist/txs/import-database/import-database.schema.input.json +0 -14
- package/dist/txs/import-database/import-database.schema.output.json +0 -13
- package/dist/txs/list-database-exports/list-database-exports.enums.browser.cjs +0 -17
- package/dist/txs/list-database-exports/list-database-exports.enums.cjs +0 -17
- package/dist/txs/list-database-exports/list-database-exports.enums.d.ts +0 -26
- package/dist/txs/list-database-exports/list-database-exports.schema.input.json +0 -10
- package/dist/txs/list-database-exports/list-database-exports.schema.output.json +0 -33
- package/dist/txs/query/query.enums.d.ts +0 -30
- package/dist/txs/query/query.schema.input.json +0 -31
- package/dist/txs/query/query.schema.output.json +0 -15
- /package/dist/{txs/export-database/export-database.enums.browser.js → db/wapi-statistic/wapi-statistic.enums.browser.js} +0 -0
- /package/dist/{txs/export-database/export-database.enums.js → db/wapi-statistic/wapi-statistic.enums.js} +0 -0
- /package/dist/{txs/get-database-export-progress/get-database-export-progress.enums.browser.js → fns/export-balance-history/export-balance-history.enums.browser.js} +0 -0
- /package/dist/{txs/get-database-export-progress/get-database-export-progress.enums.js → fns/export-balance-history/export-balance-history.enums.js} +0 -0
- /package/dist/{txs/get-database-import-progress/get-database-import-progress.enums.browser.js → fns/export-tokens/export-tokens.enums.browser.js} +0 -0
- /package/dist/{txs/get-database-import-progress/get-database-import-progress.enums.js → fns/export-tokens/export-tokens.enums.js} +0 -0
- /package/dist/{txs/import-database/import-database.enums.browser.js → fns/export-transfer-groups/export-transfer-groups.enums.browser.js} +0 -0
- /package/dist/{txs/import-database/import-database.enums.js → fns/export-transfer-groups/export-transfer-groups.enums.js} +0 -0
- /package/dist/{txs/list-database-exports/list-database-exports.enums.browser.js → fns/export-transfers/export-transfers.enums.browser.js} +0 -0
- /package/dist/{txs/list-database-exports/list-database-exports.enums.js → fns/export-transfers/export-transfers.enums.js} +0 -0
- /package/dist/{txs/query/query.enums.browser.js → fns/export-wallets/export-wallets.enums.browser.js} +0 -0
- /package/dist/{txs/query/query.enums.js → fns/export-wallets/export-wallets.enums.js} +0 -0
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "GetExportTxInput",
|
|
4
|
+
"title": "GetExportTxInput",
|
|
5
|
+
"description": "Input for getExport",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"export": {
|
|
9
|
+
"$ref": "#/definitions/unique_export_filter"
|
|
10
|
+
},
|
|
11
|
+
"options": {
|
|
12
|
+
"$ref": "#/definitions/get_export_tx_options"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"definitions": {
|
|
16
|
+
"get_export_tx_options": {
|
|
17
|
+
"allOf": [
|
|
18
|
+
{
|
|
19
|
+
"$ref": "/txs/tx-consts.schema.json#/definitions/i_tx_general_options"
|
|
20
|
+
},
|
|
21
|
+
{ "$ref": "#/definitions/get_export_additional_options" }
|
|
22
|
+
]
|
|
23
|
+
},
|
|
24
|
+
"get_export_additional_options": {
|
|
25
|
+
"description": "Optional flags for input",
|
|
26
|
+
"type": "object",
|
|
27
|
+
"properties": {
|
|
28
|
+
"return_signed_url": {
|
|
29
|
+
"description": "Return signed url for downloading the export file, will only be returned if status === 'completed'",
|
|
30
|
+
"type": "boolean",
|
|
31
|
+
"default": false
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"default": {},
|
|
35
|
+
"$typescript": "{\"additionalProperties\": false}"
|
|
36
|
+
},
|
|
37
|
+
"unique_export_filter": {
|
|
38
|
+
"description": "UNIQUE filtering options for export",
|
|
39
|
+
"type": "object",
|
|
40
|
+
"properties": {
|
|
41
|
+
"identifier": {
|
|
42
|
+
"description": "The name of the exported file",
|
|
43
|
+
"type": "string"
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
"required": ["identifier"]
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"required": ["export"],
|
|
50
|
+
"additionalProperties": false
|
|
51
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema",
|
|
3
|
+
"$id": "GetExportTxOutput",
|
|
4
|
+
"title": "GetExportTxOutput",
|
|
5
|
+
"description": "Output of getExport",
|
|
6
|
+
"type": "object",
|
|
7
|
+
"properties": {
|
|
8
|
+
"export": {
|
|
9
|
+
"description": "requested export",
|
|
10
|
+
"anyOf": [
|
|
11
|
+
{
|
|
12
|
+
"$ref": "#/definitions/export"
|
|
13
|
+
}
|
|
14
|
+
]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"definitions": {
|
|
18
|
+
"export": {
|
|
19
|
+
"properties": {
|
|
20
|
+
"identifier": {
|
|
21
|
+
"description": "Unique identifier of the export",
|
|
22
|
+
"type": "string"
|
|
23
|
+
},
|
|
24
|
+
"status": {
|
|
25
|
+
"description": "Status of the export",
|
|
26
|
+
"type": "string",
|
|
27
|
+
"enum": ["started", "completed", "error"]
|
|
28
|
+
},
|
|
29
|
+
"type": {
|
|
30
|
+
"description": "The type of the export",
|
|
31
|
+
"type": "string"
|
|
32
|
+
},
|
|
33
|
+
"created_at": {
|
|
34
|
+
"description": "Timestamp when export was initiated",
|
|
35
|
+
"type": "string"
|
|
36
|
+
},
|
|
37
|
+
"completed_at": {
|
|
38
|
+
"description": "Timestamp when export was finished",
|
|
39
|
+
"type": "string"
|
|
40
|
+
},
|
|
41
|
+
"fields": {
|
|
42
|
+
"description": "The fields selected for this export",
|
|
43
|
+
"type": "array",
|
|
44
|
+
"items": {
|
|
45
|
+
"type": "string"
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"count": {
|
|
49
|
+
"description": "The number of entities exported in this file",
|
|
50
|
+
"type": "number"
|
|
51
|
+
},
|
|
52
|
+
"signed_url": {
|
|
53
|
+
"description": "Signed URL for downloading the export file",
|
|
54
|
+
"type": "string"
|
|
55
|
+
},
|
|
56
|
+
"size": {
|
|
57
|
+
"description": "Size of the exported file",
|
|
58
|
+
"type": "string"
|
|
59
|
+
},
|
|
60
|
+
"message": {
|
|
61
|
+
"description": "Extra information about the state of the file",
|
|
62
|
+
"type": "string"
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
"required": ["identifier"],
|
|
66
|
+
"$typescript": "{\"additionalProperties\": false}"
|
|
67
|
+
}
|
|
68
|
+
},
|
|
69
|
+
"additionalProperties": false
|
|
70
|
+
}
|
|
@@ -22,7 +22,7 @@ export type GetWalletManyTxOptions = ITxGeneralOptions & GetWalletManyAdditional
|
|
|
22
22
|
* @category Input
|
|
23
23
|
*/
|
|
24
24
|
export interface GetWalletManyTxInput {
|
|
25
|
-
wallets
|
|
25
|
+
wallets: UniqueWalletFilter[];
|
|
26
26
|
options?: GetWalletManyTxOptions;
|
|
27
27
|
}
|
|
28
28
|
export type WalletResult = WalletTable | WalletTableOptional | null;
|
|
@@ -55,8 +55,16 @@ __export(txs_exports, {
|
|
|
55
55
|
CreateWalletTxOutputSchema: () => import_create_wallet_schema_output.default,
|
|
56
56
|
CreateWithdrawalTxInputSchema: () => import_create_withdrawal_schema_input.default,
|
|
57
57
|
CreateWithdrawalTxOutputSchema: () => import_create_withdrawal_schema_output.default,
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
ExportBalanceHistoryTxInputSchema: () => import_export_balance_history_schema_input.default,
|
|
59
|
+
ExportBalanceHistoryTxOutputSchema: () => import_export_balance_history_schema_output.default,
|
|
60
|
+
ExportTokenManyTxInputSchema: () => import_export_token_many_schema_input.default,
|
|
61
|
+
ExportTokenManyTxOutputSchema: () => import_export_token_many_schema_output.default,
|
|
62
|
+
ExportTransferGroupManyTxInputSchema: () => import_export_transfer_group_many_schema_input.default,
|
|
63
|
+
ExportTransferGroupManyTxOutputSchema: () => import_export_transfer_group_many_schema_output.default,
|
|
64
|
+
ExportTransferManyTxInputSchema: () => import_export_transfer_many_schema_input.default,
|
|
65
|
+
ExportTransferManyTxOutputSchema: () => import_export_transfer_many_schema_output.default,
|
|
66
|
+
ExportWalletManyTxInputSchema: () => import_export_wallet_many_schema_input.default,
|
|
67
|
+
ExportWalletManyTxOutputSchema: () => import_export_wallet_many_schema_output.default,
|
|
60
68
|
FindBalanceManyTxInputSchema: () => import_find_balance_many_schema_input.default,
|
|
61
69
|
FindBalanceManyTxOutputSchema: () => import_find_balance_many_schema_output.default,
|
|
62
70
|
FindTokenManyTxInputSchema: () => import_find_token_many_schema_input.default,
|
|
@@ -73,10 +81,8 @@ __export(txs_exports, {
|
|
|
73
81
|
GetBalanceHistoryTxOutputSchema: () => import_get_balance_history_schema_output.default,
|
|
74
82
|
GetBalanceTxInputSchema: () => import_get_balance_schema_input.default,
|
|
75
83
|
GetBalanceTxOutputSchema: () => import_get_balance_schema_output.default,
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
GetDatabaseImportProgressTxInputSchema: () => import_get_database_import_progress_schema_input.default,
|
|
79
|
-
GetDatabaseImportProgressTxOutputSchema: () => import_get_database_import_progress_schema_output.default,
|
|
84
|
+
GetExportTxInputSchema: () => import_get_export_schema_input.default,
|
|
85
|
+
GetExportTxOutputSchema: () => import_get_export_schema_output.default,
|
|
80
86
|
GetFlagsTxInputSchema: () => import_get_flags_schema_input.default,
|
|
81
87
|
GetFlagsTxOutputSchema: () => import_get_flags_schema_output.default,
|
|
82
88
|
GetStatisticsTxInputSchema: () => import_get_statistics_schema_input.default,
|
|
@@ -93,23 +99,14 @@ __export(txs_exports, {
|
|
|
93
99
|
GetWalletManyTxOutputSchema: () => import_get_wallet_many_schema_output.default,
|
|
94
100
|
GetWalletTxInputSchema: () => import_get_wallet_schema_input.default,
|
|
95
101
|
GetWalletTxOutputSchema: () => import_get_wallet_schema_output.default,
|
|
96
|
-
HealthcheckTxInputSchema: () =>
|
|
97
|
-
HealthcheckTxOutputSchema: () =>
|
|
98
|
-
ITxAggregatorSimpleEnum: () => import_tx_consts.ITxAggregatorSimpleEnum,
|
|
99
|
-
ITxDistributorLeftoverRuleEnum: () => import_tx_consts.ITxDistributorLeftoverRuleEnum,
|
|
100
|
-
ITxMetadataActionEnum: () => import_tx_consts.ITxMetadataActionEnum,
|
|
101
|
-
ITxMetadataActionForReverseEnum: () => import_tx_consts.ITxMetadataActionForReverseEnum,
|
|
102
|
-
ITxPeriodSimpleEnum: () => import_tx_consts.ITxPeriodSimpleEnum,
|
|
102
|
+
HealthcheckTxInputSchema: () => import_healthcheck_schema_input.default,
|
|
103
|
+
HealthcheckTxOutputSchema: () => import_healthcheck_schema_output.default,
|
|
103
104
|
ImportActionsTxInputSchema: () => import_import_actions_schema_input.default,
|
|
104
105
|
ImportActionsTxOutputSchema: () => import_import_actions_schema_output.default,
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
ListDatabaseExportsTxInputSchema: () => import_list_database_exports_schema_input.default,
|
|
108
|
-
ListDatabaseExportsTxOutputSchema: () => import_list_database_exports_schema_output.default,
|
|
106
|
+
ListExportManyTxInputSchema: () => import_list_export_many_schema_input.default,
|
|
107
|
+
ListExportManyTxOutputSchema: () => import_list_export_many_schema_output.default,
|
|
109
108
|
QueryLogsTxInputSchema: () => import_query_logs_schema_input.default,
|
|
110
109
|
QueryLogsTxOutputSchema: () => import_query_logs_schema_output.default,
|
|
111
|
-
QueryTxInputSchema: () => import_query_schema_input.default,
|
|
112
|
-
QueryTxOutputSchema: () => import_query_schema_output.default,
|
|
113
110
|
ResetDatabaseTxInputSchema: () => import_reset_database_schema_input.default,
|
|
114
111
|
ResetDatabaseTxOutputSchema: () => import_reset_database_schema_output.default,
|
|
115
112
|
ReverseTransferGroupManyTxInputSchema: () => import_reverse_transfer_group_many_schema_input.default,
|
|
@@ -140,7 +137,6 @@ __export(txs_exports, {
|
|
|
140
137
|
});
|
|
141
138
|
module.exports = __toCommonJS(txs_exports);
|
|
142
139
|
var import_validator = require('../lib/validator.cjs');
|
|
143
|
-
var import_tx_consts = require('./tx-consts.enums.cjs');
|
|
144
140
|
var import_tx_consts_schema = __toESM(require('./tx-consts.schema.json'), 1);
|
|
145
141
|
var import_aggregate_transfer_many_schema_input = __toESM(require('./aggregate-transfer-many/aggregate-transfer-many.schema.input.json'), 1);
|
|
146
142
|
var import_aggregate_transfer_many_schema_output = __toESM(require('./aggregate-transfer-many/aggregate-transfer-many.schema.output.json'), 1);
|
|
@@ -166,8 +162,16 @@ var import_create_wallet_schema_input = __toESM(require('./create-wallet/create-
|
|
|
166
162
|
var import_create_wallet_schema_output = __toESM(require('./create-wallet/create-wallet.schema.output.json'), 1);
|
|
167
163
|
var import_create_withdrawal_schema_input = __toESM(require('./create-withdrawal/create-withdrawal.schema.input.json'), 1);
|
|
168
164
|
var import_create_withdrawal_schema_output = __toESM(require('./create-withdrawal/create-withdrawal.schema.output.json'), 1);
|
|
169
|
-
var
|
|
170
|
-
var
|
|
165
|
+
var import_export_balance_history_schema_input = __toESM(require('./export-balance-history/export-balance-history.schema.input.json'), 1);
|
|
166
|
+
var import_export_balance_history_schema_output = __toESM(require('./export-balance-history/export-balance-history.schema.output.json'), 1);
|
|
167
|
+
var import_export_token_many_schema_input = __toESM(require('./export-token-many/export-token-many.schema.input.json'), 1);
|
|
168
|
+
var import_export_token_many_schema_output = __toESM(require('./export-token-many/export-token-many.schema.output.json'), 1);
|
|
169
|
+
var import_export_transfer_group_many_schema_input = __toESM(require('./export-transfer-group-many/export-transfer-group-many.schema.input.json'), 1);
|
|
170
|
+
var import_export_transfer_group_many_schema_output = __toESM(require('./export-transfer-group-many/export-transfer-group-many.schema.output.json'), 1);
|
|
171
|
+
var import_export_transfer_many_schema_input = __toESM(require('./export-transfer-many/export-transfer-many.schema.input.json'), 1);
|
|
172
|
+
var import_export_transfer_many_schema_output = __toESM(require('./export-transfer-many/export-transfer-many.schema.output.json'), 1);
|
|
173
|
+
var import_export_wallet_many_schema_input = __toESM(require('./export-wallet-many/export-wallet-many.schema.input.json'), 1);
|
|
174
|
+
var import_export_wallet_many_schema_output = __toESM(require('./export-wallet-many/export-wallet-many.schema.output.json'), 1);
|
|
171
175
|
var import_find_balance_many_schema_input = __toESM(require('./find-balance-many/find-balance-many.schema.input.json'), 1);
|
|
172
176
|
var import_find_balance_many_schema_output = __toESM(require('./find-balance-many/find-balance-many.schema.output.json'), 1);
|
|
173
177
|
var import_find_token_many_schema_input = __toESM(require('./find-token-many/find-token-many.schema.input.json'), 1);
|
|
@@ -184,10 +188,8 @@ var import_get_balance_schema_input = __toESM(require('./get-balance/get-balance
|
|
|
184
188
|
var import_get_balance_schema_output = __toESM(require('./get-balance/get-balance.schema.output.json'), 1);
|
|
185
189
|
var import_get_balance_history_schema_input = __toESM(require('./get-balance-history/get-balance-history.schema.input.json'), 1);
|
|
186
190
|
var import_get_balance_history_schema_output = __toESM(require('./get-balance-history/get-balance-history.schema.output.json'), 1);
|
|
187
|
-
var
|
|
188
|
-
var
|
|
189
|
-
var import_get_database_import_progress_schema_input = __toESM(require('./get-database-import-progress/get-database-import-progress.schema.input.json'), 1);
|
|
190
|
-
var import_get_database_import_progress_schema_output = __toESM(require('./get-database-import-progress/get-database-import-progress.schema.output.json'), 1);
|
|
191
|
+
var import_get_export_schema_input = __toESM(require('./get-export/get-export.schema.input.json'), 1);
|
|
192
|
+
var import_get_export_schema_output = __toESM(require('./get-export/get-export.schema.output.json'), 1);
|
|
191
193
|
var import_get_flags_schema_input = __toESM(require('./get-flags/get-flags.schema.input.json'), 1);
|
|
192
194
|
var import_get_flags_schema_output = __toESM(require('./get-flags/get-flags.schema.output.json'), 1);
|
|
193
195
|
var import_get_statistics_schema_input = __toESM(require('./get-statistics/get-statistics.schema.input.json'), 1);
|
|
@@ -204,16 +206,12 @@ var import_get_wallet_schema_input = __toESM(require('./get-wallet/get-wallet.sc
|
|
|
204
206
|
var import_get_wallet_schema_output = __toESM(require('./get-wallet/get-wallet.schema.output.json'), 1);
|
|
205
207
|
var import_get_wallet_many_schema_input = __toESM(require('./get-wallet-many/get-wallet-many.schema.input.json'), 1);
|
|
206
208
|
var import_get_wallet_many_schema_output = __toESM(require('./get-wallet-many/get-wallet-many.schema.output.json'), 1);
|
|
207
|
-
var
|
|
208
|
-
var
|
|
209
|
+
var import_healthcheck_schema_input = __toESM(require('./healthcheck/healthcheck.schema.input.json'), 1);
|
|
210
|
+
var import_healthcheck_schema_output = __toESM(require('./healthcheck/healthcheck.schema.output.json'), 1);
|
|
209
211
|
var import_import_actions_schema_input = __toESM(require('./import-actions/import-actions.schema.input.json'), 1);
|
|
210
212
|
var import_import_actions_schema_output = __toESM(require('./import-actions/import-actions.schema.output.json'), 1);
|
|
211
|
-
var
|
|
212
|
-
var
|
|
213
|
-
var import_list_database_exports_schema_input = __toESM(require('./list-database-exports/list-database-exports.schema.input.json'), 1);
|
|
214
|
-
var import_list_database_exports_schema_output = __toESM(require('./list-database-exports/list-database-exports.schema.output.json'), 1);
|
|
215
|
-
var import_query_schema_input = __toESM(require('./query/query.schema.input.json'), 1);
|
|
216
|
-
var import_query_schema_output = __toESM(require('./query/query.schema.output.json'), 1);
|
|
213
|
+
var import_list_export_many_schema_input = __toESM(require('./list-export-many/list-export-many.schema.input.json'), 1);
|
|
214
|
+
var import_list_export_many_schema_output = __toESM(require('./list-export-many/list-export-many.schema.output.json'), 1);
|
|
217
215
|
var import_query_logs_schema_input = __toESM(require('./query-logs/query-logs.schema.input.json'), 1);
|
|
218
216
|
var import_query_logs_schema_output = __toESM(require('./query-logs/query-logs.schema.output.json'), 1);
|
|
219
217
|
var import_reset_database_schema_input = __toESM(require('./reset-database/reset-database.schema.input.json'), 1);
|
|
@@ -268,7 +266,21 @@ var createWalletValidator = (0, import_validator.getValidator)(import_validator.
|
|
|
268
266
|
var createWithdrawalValidator = (0, import_validator.getValidator)(
|
|
269
267
|
import_validator.SchemaNames.CreateWithdrawalTxInput
|
|
270
268
|
);
|
|
271
|
-
var
|
|
269
|
+
var exportBalanceHistoryValidator = (0, import_validator.getValidator)(
|
|
270
|
+
import_validator.SchemaNames.ExportBalanceHistoryTxInput
|
|
271
|
+
);
|
|
272
|
+
var exportTokenManyValidator = (0, import_validator.getValidator)(
|
|
273
|
+
import_validator.SchemaNames.ExportTokenManyTxInput
|
|
274
|
+
);
|
|
275
|
+
var exportTransferGroupManyValidator = (0, import_validator.getValidator)(
|
|
276
|
+
import_validator.SchemaNames.ExportTransferGroupManyTxInput
|
|
277
|
+
);
|
|
278
|
+
var exportTransferManyValidator = (0, import_validator.getValidator)(
|
|
279
|
+
import_validator.SchemaNames.ExportTransferManyTxInput
|
|
280
|
+
);
|
|
281
|
+
var exportWalletManyValidator = (0, import_validator.getValidator)(
|
|
282
|
+
import_validator.SchemaNames.ExportWalletManyTxInput
|
|
283
|
+
);
|
|
272
284
|
var findBalanceManyValidator = (0, import_validator.getValidator)(
|
|
273
285
|
import_validator.SchemaNames.FindBalanceManyTxInput
|
|
274
286
|
);
|
|
@@ -287,12 +299,7 @@ var getBalanceValidator = (0, import_validator.getValidator)(import_validator.Sc
|
|
|
287
299
|
var getBalanceHistoryValidator = (0, import_validator.getValidator)(
|
|
288
300
|
import_validator.SchemaNames.GetBalanceHistoryTxInput
|
|
289
301
|
);
|
|
290
|
-
var
|
|
291
|
-
import_validator.SchemaNames.GetDatabaseExportProgressTxInput
|
|
292
|
-
);
|
|
293
|
-
var getDatabaseImportProgressValidator = (0, import_validator.getValidator)(
|
|
294
|
-
import_validator.SchemaNames.GetDatabaseImportProgressTxInput
|
|
295
|
-
);
|
|
302
|
+
var getExportValidator = (0, import_validator.getValidator)(import_validator.SchemaNames.GetExportTxInput);
|
|
296
303
|
var getFlagsValidator = (0, import_validator.getValidator)(import_validator.SchemaNames.GetFlagsTxInput);
|
|
297
304
|
var getStatisticsValidator = (0, import_validator.getValidator)(import_validator.SchemaNames.GetStatisticsTxInput);
|
|
298
305
|
var getTokenValidator = (0, import_validator.getValidator)(import_validator.SchemaNames.GetTokenTxInput);
|
|
@@ -305,11 +312,7 @@ var getWalletValidator = (0, import_validator.getValidator)(import_validator.Sch
|
|
|
305
312
|
var getWalletManyValidator = (0, import_validator.getValidator)(import_validator.SchemaNames.GetWalletManyTxInput);
|
|
306
313
|
var healthcheckValidator = (0, import_validator.getValidator)(import_validator.SchemaNames.HealthcheckTxInput);
|
|
307
314
|
var importActionsValidator = (0, import_validator.getValidator)(import_validator.SchemaNames.ImportActionsTxInput);
|
|
308
|
-
var
|
|
309
|
-
var listDatabaseExportsValidator = (0, import_validator.getValidator)(
|
|
310
|
-
import_validator.SchemaNames.ListDatabaseExportsTxInput
|
|
311
|
-
);
|
|
312
|
-
var queryValidator = (0, import_validator.getValidator)(import_validator.SchemaNames.QueryTxInput);
|
|
315
|
+
var listExportManyValidator = (0, import_validator.getValidator)(import_validator.SchemaNames.ListExportManyTxInput);
|
|
313
316
|
var queryLogsValidator = (0, import_validator.getValidator)(import_validator.SchemaNames.QueryLogsTxInput);
|
|
314
317
|
var resetDatabaseValidator = (0, import_validator.getValidator)(import_validator.SchemaNames.ResetDatabaseTxInput);
|
|
315
318
|
var reverseTransferValidator = (0, import_validator.getValidator)(
|
|
@@ -353,7 +356,11 @@ var APIValidators = {
|
|
|
353
356
|
createTransferMany: createTransferManyValidator,
|
|
354
357
|
createWallet: createWalletValidator,
|
|
355
358
|
createWithdrawal: createWithdrawalValidator,
|
|
356
|
-
|
|
359
|
+
exportBalanceHistory: exportBalanceHistoryValidator,
|
|
360
|
+
exportTokenMany: exportTokenManyValidator,
|
|
361
|
+
exportTransferGroupMany: exportTransferGroupManyValidator,
|
|
362
|
+
exportTransferMany: exportTransferManyValidator,
|
|
363
|
+
exportWalletMany: exportWalletManyValidator,
|
|
357
364
|
findBalanceMany: findBalanceManyValidator,
|
|
358
365
|
findTokenMany: findTokenManyValidator,
|
|
359
366
|
findTransferGroupMany: findTransferGroupManyValidator,
|
|
@@ -362,8 +369,7 @@ var APIValidators = {
|
|
|
362
369
|
finishTransaction: finishTransactionValidator,
|
|
363
370
|
getBalance: getBalanceValidator,
|
|
364
371
|
getBalanceHistory: getBalanceHistoryValidator,
|
|
365
|
-
|
|
366
|
-
getDatabaseImportProgress: getDatabaseImportProgressValidator,
|
|
372
|
+
getExport: getExportValidator,
|
|
367
373
|
getFlags: getFlagsValidator,
|
|
368
374
|
getStatistics: getStatisticsValidator,
|
|
369
375
|
getToken: getTokenValidator,
|
|
@@ -374,9 +380,7 @@ var APIValidators = {
|
|
|
374
380
|
getWalletMany: getWalletManyValidator,
|
|
375
381
|
healthcheck: healthcheckValidator,
|
|
376
382
|
importActions: importActionsValidator,
|
|
377
|
-
|
|
378
|
-
listDatabaseExports: listDatabaseExportsValidator,
|
|
379
|
-
query: queryValidator,
|
|
383
|
+
listExportMany: listExportManyValidator,
|
|
380
384
|
queryLogs: queryLogsValidator,
|
|
381
385
|
resetDatabase: resetDatabaseValidator,
|
|
382
386
|
reverseTransfer: reverseTransferValidator,
|
|
@@ -405,7 +409,11 @@ var APIFunctions = /* @__PURE__ */ ((APIFunctions2) => {
|
|
|
405
409
|
APIFunctions2["createTransferMany"] = "createTransferMany";
|
|
406
410
|
APIFunctions2["createWallet"] = "createWallet";
|
|
407
411
|
APIFunctions2["createWithdrawal"] = "createWithdrawal";
|
|
408
|
-
APIFunctions2["
|
|
412
|
+
APIFunctions2["exportBalanceHistory"] = "exportBalanceHistory";
|
|
413
|
+
APIFunctions2["exportTokenMany"] = "exportTokenMany";
|
|
414
|
+
APIFunctions2["exportTransferGroupMany"] = "exportTransferGroupMany";
|
|
415
|
+
APIFunctions2["exportTransferMany"] = "exportTransferMany";
|
|
416
|
+
APIFunctions2["exportWalletMany"] = "exportWalletMany";
|
|
409
417
|
APIFunctions2["findBalanceMany"] = "findBalanceMany";
|
|
410
418
|
APIFunctions2["findTokenMany"] = "findTokenMany";
|
|
411
419
|
APIFunctions2["findTransferGroupMany"] = "findTransferGroupMany";
|
|
@@ -414,8 +422,7 @@ var APIFunctions = /* @__PURE__ */ ((APIFunctions2) => {
|
|
|
414
422
|
APIFunctions2["finishTransaction"] = "finishTransaction";
|
|
415
423
|
APIFunctions2["getBalance"] = "getBalance";
|
|
416
424
|
APIFunctions2["getBalanceHistory"] = "getBalanceHistory";
|
|
417
|
-
APIFunctions2["
|
|
418
|
-
APIFunctions2["getDatabaseImportProgress"] = "getDatabaseImportProgress";
|
|
425
|
+
APIFunctions2["getExport"] = "getExport";
|
|
419
426
|
APIFunctions2["getFlags"] = "getFlags";
|
|
420
427
|
APIFunctions2["getStatistics"] = "getStatistics";
|
|
421
428
|
APIFunctions2["getToken"] = "getToken";
|
|
@@ -426,9 +433,7 @@ var APIFunctions = /* @__PURE__ */ ((APIFunctions2) => {
|
|
|
426
433
|
APIFunctions2["getWalletMany"] = "getWalletMany";
|
|
427
434
|
APIFunctions2["healthcheck"] = "healthcheck";
|
|
428
435
|
APIFunctions2["importActions"] = "importActions";
|
|
429
|
-
APIFunctions2["
|
|
430
|
-
APIFunctions2["listDatabaseExports"] = "listDatabaseExports";
|
|
431
|
-
APIFunctions2["query"] = "query";
|
|
436
|
+
APIFunctions2["listExportMany"] = "listExportMany";
|
|
432
437
|
APIFunctions2["queryLogs"] = "queryLogs";
|
|
433
438
|
APIFunctions2["resetDatabase"] = "resetDatabase";
|
|
434
439
|
APIFunctions2["reverseTransfer"] = "reverseTransfer";
|
|
@@ -1,12 +1,5 @@
|
|
|
1
1
|
// src/txs/index.ts
|
|
2
2
|
import { getValidator, SchemaNames } from "../lib/validator.browser.js";
|
|
3
|
-
import {
|
|
4
|
-
ITxPeriodSimpleEnum,
|
|
5
|
-
ITxAggregatorSimpleEnum,
|
|
6
|
-
ITxDistributorLeftoverRuleEnum,
|
|
7
|
-
ITxMetadataActionEnum,
|
|
8
|
-
ITxMetadataActionForReverseEnum
|
|
9
|
-
} from "./tx-consts.enums.browser.js";
|
|
10
3
|
import TxConstsSchema from "./tx-consts.schema.json";
|
|
11
4
|
import AggregateTransferManyTxInputSchema from "./aggregate-transfer-many/aggregate-transfer-many.schema.input.json";
|
|
12
5
|
import AggregateTransferManyTxOutputSchema from "./aggregate-transfer-many/aggregate-transfer-many.schema.output.json";
|
|
@@ -32,8 +25,16 @@ import CreateWalletTxInputSchema from "./create-wallet/create-wallet.schema.inpu
|
|
|
32
25
|
import CreateWalletTxOutputSchema from "./create-wallet/create-wallet.schema.output.json";
|
|
33
26
|
import CreateWithdrawalTxInputSchema from "./create-withdrawal/create-withdrawal.schema.input.json";
|
|
34
27
|
import CreateWithdrawalTxOutputSchema from "./create-withdrawal/create-withdrawal.schema.output.json";
|
|
35
|
-
import
|
|
36
|
-
import
|
|
28
|
+
import ExportBalanceHistoryTxInputSchema from "./export-balance-history/export-balance-history.schema.input.json";
|
|
29
|
+
import ExportBalanceHistoryTxOutputSchema from "./export-balance-history/export-balance-history.schema.output.json";
|
|
30
|
+
import ExportTokenManyTxInputSchema from "./export-token-many/export-token-many.schema.input.json";
|
|
31
|
+
import ExportTokenManyTxOutputSchema from "./export-token-many/export-token-many.schema.output.json";
|
|
32
|
+
import ExportTransferGroupManyTxInputSchema from "./export-transfer-group-many/export-transfer-group-many.schema.input.json";
|
|
33
|
+
import ExportTransferGroupManyTxOutputSchema from "./export-transfer-group-many/export-transfer-group-many.schema.output.json";
|
|
34
|
+
import ExportTransferManyTxInputSchema from "./export-transfer-many/export-transfer-many.schema.input.json";
|
|
35
|
+
import ExportTransferManyTxOutputSchema from "./export-transfer-many/export-transfer-many.schema.output.json";
|
|
36
|
+
import ExportWalletManyTxInputSchema from "./export-wallet-many/export-wallet-many.schema.input.json";
|
|
37
|
+
import ExportWalletManyTxOutputSchema from "./export-wallet-many/export-wallet-many.schema.output.json";
|
|
37
38
|
import FindBalanceManyTxInputSchema from "./find-balance-many/find-balance-many.schema.input.json";
|
|
38
39
|
import FindBalanceManyTxOutputSchema from "./find-balance-many/find-balance-many.schema.output.json";
|
|
39
40
|
import FindTokenManyTxInputSchema from "./find-token-many/find-token-many.schema.input.json";
|
|
@@ -50,10 +51,8 @@ import GetBalanceTxInputSchema from "./get-balance/get-balance.schema.input.json
|
|
|
50
51
|
import GetBalanceTxOutputSchema from "./get-balance/get-balance.schema.output.json";
|
|
51
52
|
import GetBalanceHistoryTxInputSchema from "./get-balance-history/get-balance-history.schema.input.json";
|
|
52
53
|
import GetBalanceHistoryTxOutputSchema from "./get-balance-history/get-balance-history.schema.output.json";
|
|
53
|
-
import
|
|
54
|
-
import
|
|
55
|
-
import GetDatabaseImportProgressTxInputSchema from "./get-database-import-progress/get-database-import-progress.schema.input.json";
|
|
56
|
-
import GetDatabaseImportProgressTxOutputSchema from "./get-database-import-progress/get-database-import-progress.schema.output.json";
|
|
54
|
+
import GetExportTxInputSchema from "./get-export/get-export.schema.input.json";
|
|
55
|
+
import GetExportTxOutputSchema from "./get-export/get-export.schema.output.json";
|
|
57
56
|
import GetFlagsTxInputSchema from "./get-flags/get-flags.schema.input.json";
|
|
58
57
|
import GetFlagsTxOutputSchema from "./get-flags/get-flags.schema.output.json";
|
|
59
58
|
import GetStatisticsTxInputSchema from "./get-statistics/get-statistics.schema.input.json";
|
|
@@ -70,16 +69,12 @@ import GetWalletTxInputSchema from "./get-wallet/get-wallet.schema.input.json";
|
|
|
70
69
|
import GetWalletTxOutputSchema from "./get-wallet/get-wallet.schema.output.json";
|
|
71
70
|
import GetWalletManyTxInputSchema from "./get-wallet-many/get-wallet-many.schema.input.json";
|
|
72
71
|
import GetWalletManyTxOutputSchema from "./get-wallet-many/get-wallet-many.schema.output.json";
|
|
73
|
-
import HealthcheckTxInputSchema from "./
|
|
74
|
-
import HealthcheckTxOutputSchema from "./
|
|
72
|
+
import HealthcheckTxInputSchema from "./healthcheck/healthcheck.schema.input.json";
|
|
73
|
+
import HealthcheckTxOutputSchema from "./healthcheck/healthcheck.schema.output.json";
|
|
75
74
|
import ImportActionsTxInputSchema from "./import-actions/import-actions.schema.input.json";
|
|
76
75
|
import ImportActionsTxOutputSchema from "./import-actions/import-actions.schema.output.json";
|
|
77
|
-
import
|
|
78
|
-
import
|
|
79
|
-
import ListDatabaseExportsTxInputSchema from "./list-database-exports/list-database-exports.schema.input.json";
|
|
80
|
-
import ListDatabaseExportsTxOutputSchema from "./list-database-exports/list-database-exports.schema.output.json";
|
|
81
|
-
import QueryTxInputSchema from "./query/query.schema.input.json";
|
|
82
|
-
import QueryTxOutputSchema from "./query/query.schema.output.json";
|
|
76
|
+
import ListExportManyTxInputSchema from "./list-export-many/list-export-many.schema.input.json";
|
|
77
|
+
import ListExportManyTxOutputSchema from "./list-export-many/list-export-many.schema.output.json";
|
|
83
78
|
import QueryLogsTxInputSchema from "./query-logs/query-logs.schema.input.json";
|
|
84
79
|
import QueryLogsTxOutputSchema from "./query-logs/query-logs.schema.output.json";
|
|
85
80
|
import ResetDatabaseTxInputSchema from "./reset-database/reset-database.schema.input.json";
|
|
@@ -134,7 +129,21 @@ var createWalletValidator = getValidator(SchemaNames.CreateWalletTxInput);
|
|
|
134
129
|
var createWithdrawalValidator = getValidator(
|
|
135
130
|
SchemaNames.CreateWithdrawalTxInput
|
|
136
131
|
);
|
|
137
|
-
var
|
|
132
|
+
var exportBalanceHistoryValidator = getValidator(
|
|
133
|
+
SchemaNames.ExportBalanceHistoryTxInput
|
|
134
|
+
);
|
|
135
|
+
var exportTokenManyValidator = getValidator(
|
|
136
|
+
SchemaNames.ExportTokenManyTxInput
|
|
137
|
+
);
|
|
138
|
+
var exportTransferGroupManyValidator = getValidator(
|
|
139
|
+
SchemaNames.ExportTransferGroupManyTxInput
|
|
140
|
+
);
|
|
141
|
+
var exportTransferManyValidator = getValidator(
|
|
142
|
+
SchemaNames.ExportTransferManyTxInput
|
|
143
|
+
);
|
|
144
|
+
var exportWalletManyValidator = getValidator(
|
|
145
|
+
SchemaNames.ExportWalletManyTxInput
|
|
146
|
+
);
|
|
138
147
|
var findBalanceManyValidator = getValidator(
|
|
139
148
|
SchemaNames.FindBalanceManyTxInput
|
|
140
149
|
);
|
|
@@ -153,12 +162,7 @@ var getBalanceValidator = getValidator(SchemaNames.GetBalanceTxInput);
|
|
|
153
162
|
var getBalanceHistoryValidator = getValidator(
|
|
154
163
|
SchemaNames.GetBalanceHistoryTxInput
|
|
155
164
|
);
|
|
156
|
-
var
|
|
157
|
-
SchemaNames.GetDatabaseExportProgressTxInput
|
|
158
|
-
);
|
|
159
|
-
var getDatabaseImportProgressValidator = getValidator(
|
|
160
|
-
SchemaNames.GetDatabaseImportProgressTxInput
|
|
161
|
-
);
|
|
165
|
+
var getExportValidator = getValidator(SchemaNames.GetExportTxInput);
|
|
162
166
|
var getFlagsValidator = getValidator(SchemaNames.GetFlagsTxInput);
|
|
163
167
|
var getStatisticsValidator = getValidator(SchemaNames.GetStatisticsTxInput);
|
|
164
168
|
var getTokenValidator = getValidator(SchemaNames.GetTokenTxInput);
|
|
@@ -171,11 +175,7 @@ var getWalletValidator = getValidator(SchemaNames.GetWalletTxInput);
|
|
|
171
175
|
var getWalletManyValidator = getValidator(SchemaNames.GetWalletManyTxInput);
|
|
172
176
|
var healthcheckValidator = getValidator(SchemaNames.HealthcheckTxInput);
|
|
173
177
|
var importActionsValidator = getValidator(SchemaNames.ImportActionsTxInput);
|
|
174
|
-
var
|
|
175
|
-
var listDatabaseExportsValidator = getValidator(
|
|
176
|
-
SchemaNames.ListDatabaseExportsTxInput
|
|
177
|
-
);
|
|
178
|
-
var queryValidator = getValidator(SchemaNames.QueryTxInput);
|
|
178
|
+
var listExportManyValidator = getValidator(SchemaNames.ListExportManyTxInput);
|
|
179
179
|
var queryLogsValidator = getValidator(SchemaNames.QueryLogsTxInput);
|
|
180
180
|
var resetDatabaseValidator = getValidator(SchemaNames.ResetDatabaseTxInput);
|
|
181
181
|
var reverseTransferValidator = getValidator(
|
|
@@ -219,7 +219,11 @@ var APIValidators = {
|
|
|
219
219
|
createTransferMany: createTransferManyValidator,
|
|
220
220
|
createWallet: createWalletValidator,
|
|
221
221
|
createWithdrawal: createWithdrawalValidator,
|
|
222
|
-
|
|
222
|
+
exportBalanceHistory: exportBalanceHistoryValidator,
|
|
223
|
+
exportTokenMany: exportTokenManyValidator,
|
|
224
|
+
exportTransferGroupMany: exportTransferGroupManyValidator,
|
|
225
|
+
exportTransferMany: exportTransferManyValidator,
|
|
226
|
+
exportWalletMany: exportWalletManyValidator,
|
|
223
227
|
findBalanceMany: findBalanceManyValidator,
|
|
224
228
|
findTokenMany: findTokenManyValidator,
|
|
225
229
|
findTransferGroupMany: findTransferGroupManyValidator,
|
|
@@ -228,8 +232,7 @@ var APIValidators = {
|
|
|
228
232
|
finishTransaction: finishTransactionValidator,
|
|
229
233
|
getBalance: getBalanceValidator,
|
|
230
234
|
getBalanceHistory: getBalanceHistoryValidator,
|
|
231
|
-
|
|
232
|
-
getDatabaseImportProgress: getDatabaseImportProgressValidator,
|
|
235
|
+
getExport: getExportValidator,
|
|
233
236
|
getFlags: getFlagsValidator,
|
|
234
237
|
getStatistics: getStatisticsValidator,
|
|
235
238
|
getToken: getTokenValidator,
|
|
@@ -240,9 +243,7 @@ var APIValidators = {
|
|
|
240
243
|
getWalletMany: getWalletManyValidator,
|
|
241
244
|
healthcheck: healthcheckValidator,
|
|
242
245
|
importActions: importActionsValidator,
|
|
243
|
-
|
|
244
|
-
listDatabaseExports: listDatabaseExportsValidator,
|
|
245
|
-
query: queryValidator,
|
|
246
|
+
listExportMany: listExportManyValidator,
|
|
246
247
|
queryLogs: queryLogsValidator,
|
|
247
248
|
resetDatabase: resetDatabaseValidator,
|
|
248
249
|
reverseTransfer: reverseTransferValidator,
|
|
@@ -271,7 +272,11 @@ var APIFunctions = /* @__PURE__ */ ((APIFunctions2) => {
|
|
|
271
272
|
APIFunctions2["createTransferMany"] = "createTransferMany";
|
|
272
273
|
APIFunctions2["createWallet"] = "createWallet";
|
|
273
274
|
APIFunctions2["createWithdrawal"] = "createWithdrawal";
|
|
274
|
-
APIFunctions2["
|
|
275
|
+
APIFunctions2["exportBalanceHistory"] = "exportBalanceHistory";
|
|
276
|
+
APIFunctions2["exportTokenMany"] = "exportTokenMany";
|
|
277
|
+
APIFunctions2["exportTransferGroupMany"] = "exportTransferGroupMany";
|
|
278
|
+
APIFunctions2["exportTransferMany"] = "exportTransferMany";
|
|
279
|
+
APIFunctions2["exportWalletMany"] = "exportWalletMany";
|
|
275
280
|
APIFunctions2["findBalanceMany"] = "findBalanceMany";
|
|
276
281
|
APIFunctions2["findTokenMany"] = "findTokenMany";
|
|
277
282
|
APIFunctions2["findTransferGroupMany"] = "findTransferGroupMany";
|
|
@@ -280,8 +285,7 @@ var APIFunctions = /* @__PURE__ */ ((APIFunctions2) => {
|
|
|
280
285
|
APIFunctions2["finishTransaction"] = "finishTransaction";
|
|
281
286
|
APIFunctions2["getBalance"] = "getBalance";
|
|
282
287
|
APIFunctions2["getBalanceHistory"] = "getBalanceHistory";
|
|
283
|
-
APIFunctions2["
|
|
284
|
-
APIFunctions2["getDatabaseImportProgress"] = "getDatabaseImportProgress";
|
|
288
|
+
APIFunctions2["getExport"] = "getExport";
|
|
285
289
|
APIFunctions2["getFlags"] = "getFlags";
|
|
286
290
|
APIFunctions2["getStatistics"] = "getStatistics";
|
|
287
291
|
APIFunctions2["getToken"] = "getToken";
|
|
@@ -292,9 +296,7 @@ var APIFunctions = /* @__PURE__ */ ((APIFunctions2) => {
|
|
|
292
296
|
APIFunctions2["getWalletMany"] = "getWalletMany";
|
|
293
297
|
APIFunctions2["healthcheck"] = "healthcheck";
|
|
294
298
|
APIFunctions2["importActions"] = "importActions";
|
|
295
|
-
APIFunctions2["
|
|
296
|
-
APIFunctions2["listDatabaseExports"] = "listDatabaseExports";
|
|
297
|
-
APIFunctions2["query"] = "query";
|
|
299
|
+
APIFunctions2["listExportMany"] = "listExportMany";
|
|
298
300
|
APIFunctions2["queryLogs"] = "queryLogs";
|
|
299
301
|
APIFunctions2["resetDatabase"] = "resetDatabase";
|
|
300
302
|
APIFunctions2["reverseTransfer"] = "reverseTransfer";
|
|
@@ -338,8 +340,16 @@ export {
|
|
|
338
340
|
CreateWalletTxOutputSchema,
|
|
339
341
|
CreateWithdrawalTxInputSchema,
|
|
340
342
|
CreateWithdrawalTxOutputSchema,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
+
ExportBalanceHistoryTxInputSchema,
|
|
344
|
+
ExportBalanceHistoryTxOutputSchema,
|
|
345
|
+
ExportTokenManyTxInputSchema,
|
|
346
|
+
ExportTokenManyTxOutputSchema,
|
|
347
|
+
ExportTransferGroupManyTxInputSchema,
|
|
348
|
+
ExportTransferGroupManyTxOutputSchema,
|
|
349
|
+
ExportTransferManyTxInputSchema,
|
|
350
|
+
ExportTransferManyTxOutputSchema,
|
|
351
|
+
ExportWalletManyTxInputSchema,
|
|
352
|
+
ExportWalletManyTxOutputSchema,
|
|
343
353
|
FindBalanceManyTxInputSchema,
|
|
344
354
|
FindBalanceManyTxOutputSchema,
|
|
345
355
|
FindTokenManyTxInputSchema,
|
|
@@ -356,10 +366,8 @@ export {
|
|
|
356
366
|
GetBalanceHistoryTxOutputSchema,
|
|
357
367
|
GetBalanceTxInputSchema,
|
|
358
368
|
GetBalanceTxOutputSchema,
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
GetDatabaseImportProgressTxInputSchema,
|
|
362
|
-
GetDatabaseImportProgressTxOutputSchema,
|
|
369
|
+
GetExportTxInputSchema,
|
|
370
|
+
GetExportTxOutputSchema,
|
|
363
371
|
GetFlagsTxInputSchema,
|
|
364
372
|
GetFlagsTxOutputSchema,
|
|
365
373
|
GetStatisticsTxInputSchema,
|
|
@@ -378,21 +386,12 @@ export {
|
|
|
378
386
|
GetWalletTxOutputSchema,
|
|
379
387
|
HealthcheckTxInputSchema,
|
|
380
388
|
HealthcheckTxOutputSchema,
|
|
381
|
-
ITxAggregatorSimpleEnum,
|
|
382
|
-
ITxDistributorLeftoverRuleEnum,
|
|
383
|
-
ITxMetadataActionEnum,
|
|
384
|
-
ITxMetadataActionForReverseEnum,
|
|
385
|
-
ITxPeriodSimpleEnum,
|
|
386
389
|
ImportActionsTxInputSchema,
|
|
387
390
|
ImportActionsTxOutputSchema,
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
ListDatabaseExportsTxInputSchema,
|
|
391
|
-
ListDatabaseExportsTxOutputSchema,
|
|
391
|
+
ListExportManyTxInputSchema,
|
|
392
|
+
ListExportManyTxOutputSchema,
|
|
392
393
|
QueryLogsTxInputSchema,
|
|
393
394
|
QueryLogsTxOutputSchema,
|
|
394
|
-
QueryTxInputSchema,
|
|
395
|
-
QueryTxOutputSchema,
|
|
396
395
|
ResetDatabaseTxInputSchema,
|
|
397
396
|
ResetDatabaseTxOutputSchema,
|
|
398
397
|
ReverseTransferGroupManyTxInputSchema,
|