wapi-client 0.12.3 → 0.12.5-beta.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/ws-client.cjs +1 -1
- package/dist/api/ws-client.js +1 -1
- package/dist/client.browser.cjs +515 -166
- package/dist/client.browser.js +515 -166
- package/dist/client.cjs +516 -167
- package/dist/client.d.ts +3497 -221
- package/dist/client.js +516 -167
- package/dist/db/consts.browser.cjs +34 -27
- package/dist/db/consts.browser.js +34 -27
- package/dist/db/consts.cjs +37 -29
- package/dist/db/consts.d.ts +77 -54
- package/dist/db/consts.enums.d.ts +1 -3
- package/dist/db/consts.js +37 -27
- package/dist/db/token/token.enums.d.ts +1 -6
- package/dist/db/token/token.schema.zod.browser.cjs +0 -11
- package/dist/db/token/token.schema.zod.browser.js +0 -11
- package/dist/db/token/token.schema.zod.cjs +0 -12
- package/dist/db/token/token.schema.zod.d.ts +2 -12
- package/dist/db/token/token.schema.zod.js +0 -11
- package/dist/db/transfer/transfer.enums.d.ts +1 -6
- package/dist/db/transfer/transfer.schema.zod.browser.cjs +0 -19
- package/dist/db/transfer/transfer.schema.zod.browser.js +0 -19
- package/dist/db/transfer/transfer.schema.zod.cjs +0 -20
- package/dist/db/transfer/transfer.schema.zod.d.ts +0 -10
- package/dist/db/transfer/transfer.schema.zod.js +0 -19
- package/dist/db/transfer-group/transfer-group.enums.d.ts +1 -6
- package/dist/db/transfer-group/transfer-group.schema.zod.browser.cjs +0 -22
- package/dist/db/transfer-group/transfer-group.schema.zod.browser.js +0 -22
- package/dist/db/transfer-group/transfer-group.schema.zod.cjs +0 -23
- package/dist/db/transfer-group/transfer-group.schema.zod.d.ts +0 -10
- package/dist/db/transfer-group/transfer-group.schema.zod.js +0 -22
- package/dist/db/transfer-log/transfer-log.enums.d.ts +1 -6
- package/dist/db/transfer-log/transfer-log.schema.zod.browser.cjs +0 -30
- package/dist/db/transfer-log/transfer-log.schema.zod.browser.js +0 -30
- package/dist/db/transfer-log/transfer-log.schema.zod.cjs +0 -31
- package/dist/db/transfer-log/transfer-log.schema.zod.d.ts +0 -10
- package/dist/db/transfer-log/transfer-log.schema.zod.js +0 -30
- package/dist/db/wallet/wallet.enums.d.ts +1 -6
- package/dist/db/wallet/wallet.schema.zod.browser.cjs +0 -18
- package/dist/db/wallet/wallet.schema.zod.browser.js +0 -18
- package/dist/db/wallet/wallet.schema.zod.cjs +0 -19
- package/dist/db/wallet/wallet.schema.zod.d.ts +0 -10
- package/dist/db/wallet/wallet.schema.zod.js +0 -18
- package/dist/db/wallet-token-setting/wallet-token-setting.enums.d.ts +1 -6
- package/dist/db/wallet-token-setting/wallet-token-setting.schema.zod.browser.cjs +0 -11
- package/dist/db/wallet-token-setting/wallet-token-setting.schema.zod.browser.js +0 -11
- package/dist/db/wallet-token-setting/wallet-token-setting.schema.zod.cjs +0 -12
- package/dist/db/wallet-token-setting/wallet-token-setting.schema.zod.d.ts +0 -10
- package/dist/db/wallet-token-setting/wallet-token-setting.schema.zod.js +0 -11
- package/dist/db/wapi-setting/wapi-setting.enums.d.ts +1 -6
- package/dist/db/wapi-setting/wapi-setting.schema.zod.browser.cjs +0 -11
- package/dist/db/wapi-setting/wapi-setting.schema.zod.browser.js +0 -11
- package/dist/db/wapi-setting/wapi-setting.schema.zod.cjs +0 -12
- package/dist/db/wapi-setting/wapi-setting.schema.zod.d.ts +0 -10
- package/dist/db/wapi-setting/wapi-setting.schema.zod.js +0 -11
- package/dist/db/wapi-statistic/wapi-statistic.enums.d.ts +1 -6
- package/dist/db/wapi-statistic/wapi-statistic.schema.zod.browser.cjs +0 -11
- package/dist/db/wapi-statistic/wapi-statistic.schema.zod.browser.js +0 -11
- package/dist/db/wapi-statistic/wapi-statistic.schema.zod.cjs +0 -12
- package/dist/db/wapi-statistic/wapi-statistic.schema.zod.d.ts +0 -10
- package/dist/db/wapi-statistic/wapi-statistic.schema.zod.js +0 -11
- package/dist/fns/aggregate-transfers/aggregate-transfers.browser.cjs +40 -48
- package/dist/fns/aggregate-transfers/aggregate-transfers.browser.js +47 -50
- package/dist/fns/aggregate-transfers/aggregate-transfers.cjs +40 -48
- package/dist/fns/aggregate-transfers/aggregate-transfers.d.ts +461 -11
- package/dist/fns/aggregate-transfers/aggregate-transfers.enums.d.ts +2 -2
- package/dist/fns/aggregate-transfers/aggregate-transfers.js +47 -50
- package/dist/fns/aggregate-transfers/aggregate-transfers.schema.zod.browser.cjs +7 -7
- package/dist/fns/aggregate-transfers/aggregate-transfers.schema.zod.browser.js +8 -10
- package/dist/fns/aggregate-transfers/aggregate-transfers.schema.zod.cjs +7 -7
- package/dist/fns/aggregate-transfers/aggregate-transfers.schema.zod.d.ts +30 -119
- package/dist/fns/aggregate-transfers/aggregate-transfers.schema.zod.js +8 -10
- package/dist/fns/consts.browser.cjs +11 -0
- package/dist/fns/consts.browser.js +11 -0
- package/dist/fns/consts.cjs +12 -0
- package/dist/fns/consts.d.ts +3 -0
- package/dist/fns/consts.enums.d.ts +3 -1
- package/dist/fns/consts.js +11 -0
- package/dist/fns/create-access-token/create-access-token.enums.d.ts +4 -4
- package/dist/fns/create-contract/create-contract.enums.d.ts +4 -4
- package/dist/fns/create-deposit/create-deposit.enums.d.ts +3 -3
- package/dist/fns/create-exchange/create-exchange.enums.d.ts +3 -3
- package/dist/fns/create-token/create-token.enums.d.ts +3 -3
- package/dist/fns/create-transfer/create-transfer.enums.d.ts +7 -7
- package/dist/fns/create-transfer-group/create-transfer-group.enums.d.ts +7 -7
- package/dist/fns/create-transfers/create-transfers.enums.d.ts +2 -2
- package/dist/fns/create-wallet/create-wallet.enums.d.ts +3 -3
- package/dist/fns/create-withdrawal/create-withdrawal.enums.d.ts +3 -3
- package/dist/fns/export-balance-history/export-balance-history.browser.cjs +3 -3
- package/dist/fns/export-balance-history/export-balance-history.browser.js +3 -3
- package/dist/fns/export-balance-history/export-balance-history.cjs +3 -3
- package/dist/fns/export-balance-history/export-balance-history.enums.d.ts +3 -3
- package/dist/fns/export-balance-history/export-balance-history.js +3 -3
- package/dist/fns/export-balance-history/export-balance-history.schema.zod.browser.cjs +6 -4
- package/dist/fns/export-balance-history/export-balance-history.schema.zod.browser.js +6 -4
- package/dist/fns/export-balance-history/export-balance-history.schema.zod.cjs +6 -4
- package/dist/fns/export-balance-history/export-balance-history.schema.zod.d.ts +24 -8
- package/dist/fns/export-balance-history/export-balance-history.schema.zod.js +6 -4
- package/dist/fns/export-tokens/export-tokens.browser.cjs +18 -55
- package/dist/fns/export-tokens/export-tokens.browser.js +24 -59
- package/dist/fns/export-tokens/export-tokens.cjs +18 -55
- package/dist/fns/export-tokens/export-tokens.d.ts +194 -11
- package/dist/fns/export-tokens/export-tokens.enums.d.ts +3 -3
- package/dist/fns/export-tokens/export-tokens.js +24 -59
- package/dist/fns/export-tokens/export-tokens.schema.zod.browser.cjs +2 -4005
- package/dist/fns/export-tokens/export-tokens.schema.zod.browser.js +3 -4007
- package/dist/fns/export-tokens/export-tokens.schema.zod.cjs +2 -11
- package/dist/fns/export-tokens/export-tokens.schema.zod.d.ts +94 -87
- package/dist/fns/export-tokens/export-tokens.schema.zod.js +3 -12
- package/dist/fns/export-transfer-groups/export-transfer-groups.browser.cjs +18 -58
- package/dist/fns/export-transfer-groups/export-transfer-groups.browser.js +24 -62
- package/dist/fns/export-transfer-groups/export-transfer-groups.cjs +18 -58
- package/dist/fns/export-transfer-groups/export-transfer-groups.d.ts +199 -10
- package/dist/fns/export-transfer-groups/export-transfer-groups.enums.d.ts +3 -3
- package/dist/fns/export-transfer-groups/export-transfer-groups.js +24 -62
- package/dist/fns/export-transfer-groups/export-transfer-groups.schema.zod.d.ts +16 -8
- package/dist/fns/export-transfers/export-transfers.browser.cjs +18 -67
- package/dist/fns/export-transfers/export-transfers.browser.js +23 -74
- package/dist/fns/export-transfers/export-transfers.cjs +18 -67
- package/dist/fns/export-transfers/export-transfers.d.ts +432 -10
- package/dist/fns/export-transfers/export-transfers.enums.d.ts +3 -3
- package/dist/fns/export-transfers/export-transfers.js +23 -74
- package/dist/fns/export-transfers/export-transfers.schema.zod.d.ts +96 -30
- package/dist/fns/export-wallets/export-wallets.browser.cjs +19 -45
- package/dist/fns/export-wallets/export-wallets.browser.js +22 -48
- package/dist/fns/export-wallets/export-wallets.cjs +19 -45
- package/dist/fns/export-wallets/export-wallets.d.ts +166 -10
- package/dist/fns/export-wallets/export-wallets.enums.d.ts +4 -5
- package/dist/fns/export-wallets/export-wallets.js +22 -48
- package/dist/fns/export-wallets/export-wallets.schema.zod.browser.cjs +0 -4002
- package/dist/fns/export-wallets/export-wallets.schema.zod.browser.js +0 -4003
- package/dist/fns/export-wallets/export-wallets.schema.zod.cjs +0 -9
- package/dist/fns/export-wallets/export-wallets.schema.zod.d.ts +81 -79
- package/dist/fns/export-wallets/export-wallets.schema.zod.js +0 -8
- package/dist/fns/find-balances/find-balances.browser.cjs +17 -53
- package/dist/fns/find-balances/find-balances.browser.js +24 -58
- package/dist/fns/find-balances/find-balances.cjs +17 -53
- package/dist/fns/find-balances/find-balances.d.ts +223 -11
- package/dist/fns/find-balances/find-balances.enums.d.ts +3 -3
- package/dist/fns/find-balances/find-balances.js +24 -58
- package/dist/fns/find-balances/find-balances.schema.zod.browser.cjs +6 -4
- package/dist/fns/find-balances/find-balances.schema.zod.browser.js +6 -4
- package/dist/fns/find-balances/find-balances.schema.zod.cjs +6 -4
- package/dist/fns/find-balances/find-balances.schema.zod.d.ts +24 -8
- package/dist/fns/find-balances/find-balances.schema.zod.js +6 -4
- package/dist/fns/find-tokens/find-tokens.browser.cjs +18 -55
- package/dist/fns/find-tokens/find-tokens.browser.js +24 -59
- package/dist/fns/find-tokens/find-tokens.cjs +18 -55
- package/dist/fns/find-tokens/find-tokens.d.ts +181 -12
- package/dist/fns/find-tokens/find-tokens.enums.d.ts +3 -3
- package/dist/fns/find-tokens/find-tokens.js +24 -59
- package/dist/fns/find-tokens/find-tokens.schema.zod.browser.cjs +2 -2
- package/dist/fns/find-tokens/find-tokens.schema.zod.browser.js +7 -3
- package/dist/fns/find-tokens/find-tokens.schema.zod.cjs +2 -2
- package/dist/fns/find-tokens/find-tokens.schema.zod.d.ts +42 -34
- package/dist/fns/find-tokens/find-tokens.schema.zod.js +7 -3
- package/dist/fns/find-transfer-groups/find-transfer-groups.browser.cjs +17 -57
- package/dist/fns/find-transfer-groups/find-transfer-groups.browser.js +24 -62
- package/dist/fns/find-transfer-groups/find-transfer-groups.cjs +17 -57
- package/dist/fns/find-transfer-groups/find-transfer-groups.d.ts +186 -12
- package/dist/fns/find-transfer-groups/find-transfer-groups.enums.d.ts +3 -3
- package/dist/fns/find-transfer-groups/find-transfer-groups.js +24 -62
- package/dist/fns/find-transfer-groups/find-transfer-groups.schema.zod.browser.cjs +4 -6
- package/dist/fns/find-transfer-groups/find-transfer-groups.schema.zod.browser.js +4 -6
- package/dist/fns/find-transfer-groups/find-transfer-groups.schema.zod.cjs +4 -6
- package/dist/fns/find-transfer-groups/find-transfer-groups.schema.zod.d.ts +16 -8
- package/dist/fns/find-transfer-groups/find-transfer-groups.schema.zod.js +4 -6
- package/dist/fns/find-transfers/find-transfers.browser.cjs +40 -99
- package/dist/fns/find-transfers/find-transfers.browser.js +45 -106
- package/dist/fns/find-transfers/find-transfers.cjs +40 -99
- package/dist/fns/find-transfers/find-transfers.d.ts +419 -12
- package/dist/fns/find-transfers/find-transfers.enums.d.ts +4 -4
- package/dist/fns/find-transfers/find-transfers.js +45 -106
- package/dist/fns/find-transfers/find-transfers.schema.zod.browser.cjs +10 -7
- package/dist/fns/find-transfers/find-transfers.schema.zod.browser.js +18 -9
- package/dist/fns/find-transfers/find-transfers.schema.zod.cjs +10 -7
- package/dist/fns/find-transfers/find-transfers.schema.zod.d.ts +108 -34
- package/dist/fns/find-transfers/find-transfers.schema.zod.js +18 -9
- package/dist/fns/find-wallets/find-wallets.browser.cjs +18 -45
- package/dist/fns/find-wallets/find-wallets.browser.js +24 -48
- package/dist/fns/find-wallets/find-wallets.cjs +18 -45
- package/dist/fns/find-wallets/find-wallets.d.ts +153 -12
- package/dist/fns/find-wallets/find-wallets.enums.d.ts +4 -4
- package/dist/fns/find-wallets/find-wallets.js +24 -48
- package/dist/fns/find-wallets/find-wallets.schema.zod.browser.cjs +7 -7
- package/dist/fns/find-wallets/find-wallets.schema.zod.browser.js +15 -9
- package/dist/fns/find-wallets/find-wallets.schema.zod.cjs +7 -7
- package/dist/fns/find-wallets/find-wallets.schema.zod.d.ts +36 -22
- package/dist/fns/find-wallets/find-wallets.schema.zod.js +15 -9
- package/dist/fns/get-balance/get-balance.enums.d.ts +3 -3
- package/dist/fns/get-balance-history/get-balance-history.enums.d.ts +3 -3
- package/dist/fns/get-export/get-export.enums.d.ts +3 -3
- package/dist/fns/get-flags/get-flags.enums.d.ts +2 -2
- package/dist/fns/get-statistics/get-statistics.enums.d.ts +2 -2
- package/dist/fns/get-token/get-token.enums.d.ts +3 -3
- package/dist/fns/get-token/get-token.schema.zod.d.ts +1 -1
- package/dist/fns/get-transfer/get-transfer.enums.d.ts +3 -3
- package/dist/fns/get-transfer-group/get-transfer-group.enums.d.ts +3 -3
- package/dist/fns/get-wallet/get-wallet.enums.d.ts +3 -3
- package/dist/fns/healthcheck/healthcheck.enums.d.ts +2 -2
- package/dist/fns/import-data/import-data.enums.d.ts +14 -14
- package/dist/fns/index.d.ts +426 -273
- package/dist/fns/list-exports/list-exports.browser.cjs +2 -4
- package/dist/fns/list-exports/list-exports.browser.js +3 -5
- package/dist/fns/list-exports/list-exports.cjs +2 -4
- package/dist/fns/list-exports/list-exports.enums.d.ts +3 -3
- package/dist/fns/list-exports/list-exports.js +3 -5
- package/dist/fns/reverse-transfer/reverse-transfer.enums.d.ts +3 -3
- package/dist/fns/reverse-transfer-group/reverse-transfer-group.enums.d.ts +3 -3
- package/dist/fns/reverse-transfers/reverse-transfers.browser.cjs +38 -44
- package/dist/fns/reverse-transfers/reverse-transfers.browser.js +45 -46
- package/dist/fns/reverse-transfers/reverse-transfers.cjs +38 -44
- package/dist/fns/reverse-transfers/reverse-transfers.d.ts +400 -11
- package/dist/fns/reverse-transfers/reverse-transfers.enums.d.ts +6 -5
- package/dist/fns/reverse-transfers/reverse-transfers.js +45 -46
- package/dist/fns/reverse-transfers/reverse-transfers.schema.zod.browser.cjs +15 -4002
- package/dist/fns/reverse-transfers/reverse-transfers.schema.zod.browser.js +16 -4004
- package/dist/fns/reverse-transfers/reverse-transfers.schema.zod.cjs +16 -8
- package/dist/fns/reverse-transfers/reverse-transfers.schema.zod.d.ts +367 -85
- package/dist/fns/reverse-transfers/reverse-transfers.schema.zod.js +16 -9
- package/dist/fns/set-flags/set-flags.enums.d.ts +2 -2
- package/dist/fns/update-token/update-token.enums.d.ts +3 -3
- package/dist/fns/update-transfer/update-transfer.enums.d.ts +4 -4
- package/dist/fns/update-transfer-group/update-transfer-group.enums.d.ts +3 -3
- package/dist/fns/update-transfer-groups/update-transfer-groups.browser.cjs +35 -35
- package/dist/fns/update-transfer-groups/update-transfer-groups.browser.js +42 -37
- package/dist/fns/update-transfer-groups/update-transfer-groups.cjs +35 -35
- package/dist/fns/update-transfer-groups/update-transfer-groups.d.ts +164 -10
- package/dist/fns/update-transfer-groups/update-transfer-groups.enums.d.ts +6 -5
- package/dist/fns/update-transfer-groups/update-transfer-groups.js +42 -37
- package/dist/fns/update-transfer-groups/update-transfer-groups.schema.zod.browser.cjs +10 -4
- package/dist/fns/update-transfer-groups/update-transfer-groups.schema.zod.browser.js +11 -5
- package/dist/fns/update-transfer-groups/update-transfer-groups.schema.zod.cjs +11 -4
- package/dist/fns/update-transfer-groups/update-transfer-groups.schema.zod.d.ts +72 -30
- package/dist/fns/update-transfer-groups/update-transfer-groups.schema.zod.js +11 -5
- package/dist/fns/update-transfers/update-transfers.browser.cjs +35 -53
- package/dist/fns/update-transfers/update-transfers.browser.js +42 -55
- package/dist/fns/update-transfers/update-transfers.cjs +35 -53
- package/dist/fns/update-transfers/update-transfers.d.ts +332 -11
- package/dist/fns/update-transfers/update-transfers.enums.d.ts +7 -6
- package/dist/fns/update-transfers/update-transfers.js +42 -55
- package/dist/fns/update-transfers/update-transfers.schema.zod.browser.cjs +16 -8
- package/dist/fns/update-transfers/update-transfers.schema.zod.browser.js +17 -9
- package/dist/fns/update-transfers/update-transfers.schema.zod.cjs +17 -8
- package/dist/fns/update-transfers/update-transfers.schema.zod.d.ts +173 -47
- package/dist/fns/update-transfers/update-transfers.schema.zod.js +17 -9
- package/dist/fns/update-wallet/update-wallet.enums.d.ts +3 -3
- package/dist/index.browser.cjs +1 -3
- package/dist/index.browser.js +1 -3
- package/dist/index.cjs +2 -5
- package/dist/index.d.ts +2 -3
- package/dist/index.js +1 -3
- package/dist/lib/query-builder/aggregate-query-builder.browser.cjs +384 -0
- package/dist/lib/query-builder/aggregate-query-builder.browser.js +369 -0
- package/dist/lib/query-builder/aggregate-query-builder.cjs +388 -0
- package/dist/lib/query-builder/aggregate-query-builder.d.ts +115 -0
- package/dist/lib/query-builder/aggregate-query-builder.js +369 -0
- package/dist/lib/query-builder/find-query-builder.browser.cjs +298 -0
- package/dist/lib/query-builder/find-query-builder.browser.js +283 -0
- package/dist/lib/query-builder/find-query-builder.cjs +302 -0
- package/dist/lib/query-builder/find-query-builder.d.ts +97 -0
- package/dist/lib/query-builder/find-query-builder.js +283 -0
- package/dist/lib/query-builder/index.browser.cjs +38 -0
- package/dist/lib/query-builder/index.browser.js +18 -0
- package/dist/lib/query-builder/index.cjs +43 -0
- package/dist/lib/query-builder/index.d.ts +47 -0
- package/dist/lib/query-builder/index.js +18 -0
- package/dist/lib/query-builder/query-builder.browser.cjs +369 -0
- package/dist/lib/query-builder/query-builder.browser.js +354 -0
- package/dist/lib/query-builder/query-builder.cjs +373 -0
- package/dist/lib/query-builder/query-builder.d.ts +79 -0
- package/dist/lib/query-builder/query-builder.js +354 -0
- package/dist/lib/query-builder/reverse-query-builder.browser.cjs +237 -0
- package/dist/lib/query-builder/reverse-query-builder.browser.js +220 -0
- package/dist/lib/query-builder/reverse-query-builder.cjs +241 -0
- package/dist/lib/query-builder/reverse-query-builder.d.ts +65 -0
- package/dist/lib/query-builder/reverse-query-builder.js +220 -0
- package/dist/lib/query-builder/update-query-builder.browser.cjs +237 -0
- package/dist/lib/query-builder/update-query-builder.browser.js +220 -0
- package/dist/lib/query-builder/update-query-builder.cjs +241 -0
- package/dist/lib/query-builder/update-query-builder.d.ts +65 -0
- package/dist/lib/query-builder/update-query-builder.js +220 -0
- package/dist/lib/stream-promise.browser.cjs +11 -4
- package/dist/lib/stream-promise.browser.js +11 -4
- package/dist/lib/stream-promise.cjs +11 -4
- package/dist/lib/stream-promise.d.ts +2 -0
- package/dist/lib/stream-promise.js +11 -4
- package/dist/lib/ts-utils.browser.cjs +1 -5
- package/dist/lib/ts-utils.browser.js +1 -5
- package/dist/lib/ts-utils.cjs +2 -7
- package/dist/lib/ts-utils.d.ts +0 -5
- package/dist/lib/ts-utils.js +1 -5
- package/dist/lib/utils.browser.cjs +44 -23
- package/dist/lib/utils.browser.js +47 -23
- package/dist/lib/utils.cjs +87 -631
- package/dist/lib/utils.d.ts +11 -5
- package/dist/lib/utils.js +78 -638
- package/dist/lib/validation.browser.cjs +5 -1
- package/dist/lib/validation.browser.js +5 -1
- package/dist/lib/validation.cjs +10 -2
- package/dist/lib/validation.d.ts +4 -0
- package/dist/lib/validation.js +5 -1
- package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.schema.zod.browser.cjs +2 -2
- package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.schema.zod.browser.js +2 -2
- package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.schema.zod.cjs +2 -2
- package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.schema.zod.d.ts +461 -20
- package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.schema.zod.js +2 -2
- package/dist/txs/consts.browser.cjs +19 -3
- package/dist/txs/consts.browser.js +19 -3
- package/dist/txs/consts.cjs +25 -4
- package/dist/txs/consts.d.ts +5 -0
- package/dist/txs/consts.enums.d.ts +6 -1
- package/dist/txs/consts.js +19 -3
- package/dist/txs/export-token-many/export-token-many.schema.zod.d.ts +106 -42
- package/dist/txs/export-transfer-group-many/export-transfer-group-many.schema.zod.d.ts +92 -12
- package/dist/txs/export-transfer-many/export-transfer-many.schema.zod.d.ts +461 -20
- package/dist/txs/export-wallet-many/export-wallet-many.schema.zod.d.ts +60 -12
- package/dist/txs/find-balance-many/find-balance-many.enums.d.ts +3 -9
- package/dist/txs/find-balance-many/find-balance-many.schema.zod.browser.cjs +12 -19
- package/dist/txs/find-balance-many/find-balance-many.schema.zod.browser.js +15 -24
- package/dist/txs/find-balance-many/find-balance-many.schema.zod.cjs +14 -21
- package/dist/txs/find-balance-many/find-balance-many.schema.zod.d.ts +413 -68
- package/dist/txs/find-balance-many/find-balance-many.schema.zod.js +15 -24
- package/dist/txs/find-token-many/find-token-many.enums.d.ts +3 -9
- package/dist/txs/find-token-many/find-token-many.schema.zod.browser.cjs +17 -8
- package/dist/txs/find-token-many/find-token-many.schema.zod.browser.js +22 -14
- package/dist/txs/find-token-many/find-token-many.schema.zod.cjs +19 -10
- package/dist/txs/find-token-many/find-token-many.schema.zod.d.ts +240 -62
- package/dist/txs/find-token-many/find-token-many.schema.zod.js +22 -14
- package/dist/txs/find-transfer-group-many/find-transfer-group-many.enums.d.ts +3 -9
- package/dist/txs/find-transfer-group-many/find-transfer-group-many.schema.zod.browser.cjs +21 -14
- package/dist/txs/find-transfer-group-many/find-transfer-group-many.schema.zod.browser.js +25 -20
- package/dist/txs/find-transfer-group-many/find-transfer-group-many.schema.zod.cjs +23 -33
- package/dist/txs/find-transfer-group-many/find-transfer-group-many.schema.zod.d.ts +258 -36
- package/dist/txs/find-transfer-group-many/find-transfer-group-many.schema.zod.js +25 -40
- package/dist/txs/find-transfer-many/find-transfer-many.enums.d.ts +3 -9
- package/dist/txs/find-transfer-many/find-transfer-many.schema.zod.browser.cjs +27 -13
- package/dist/txs/find-transfer-many/find-transfer-many.schema.zod.browser.js +36 -21
- package/dist/txs/find-transfer-many/find-transfer-many.schema.zod.cjs +29 -32
- package/dist/txs/find-transfer-many/find-transfer-many.schema.zod.d.ts +1210 -74
- package/dist/txs/find-transfer-many/find-transfer-many.schema.zod.js +36 -41
- package/dist/txs/find-wallet-many/find-wallet-many.enums.d.ts +3 -9
- package/dist/txs/find-wallet-many/find-wallet-many.schema.zod.browser.cjs +18 -22
- package/dist/txs/find-wallet-many/find-wallet-many.schema.zod.browser.js +23 -27
- package/dist/txs/find-wallet-many/find-wallet-many.schema.zod.cjs +20 -24
- package/dist/txs/find-wallet-many/find-wallet-many.schema.zod.d.ts +158 -36
- package/dist/txs/find-wallet-many/find-wallet-many.schema.zod.js +23 -27
- package/dist/txs/get-token/get-token.schema.zod.d.ts +3 -3
- package/dist/txs/get-token-many/get-token-many.schema.zod.d.ts +1 -1
- package/dist/txs/index.d.ts +766 -76
- package/dist/txs/reverse-transfer-group-many/reverse-transfer-group-many.schema.zod.d.ts +92 -12
- package/dist/txs/reverse-transfer-many/reverse-transfer-many.schema.zod.d.ts +461 -20
- package/dist/txs/update-transfer/update-transfer.enums.d.ts +1 -2
- package/dist/txs/update-transfer/update-transfer.schema.zod.browser.cjs +4 -3
- package/dist/txs/update-transfer/update-transfer.schema.zod.browser.js +4 -3
- package/dist/txs/update-transfer/update-transfer.schema.zod.cjs +4 -4
- package/dist/txs/update-transfer/update-transfer.schema.zod.d.ts +22 -3
- package/dist/txs/update-transfer/update-transfer.schema.zod.js +4 -3
- package/dist/txs/update-transfer-group-many/update-transfer-group-many.schema.zod.d.ts +92 -12
- package/dist/txs/update-transfer-many/update-transfer-many.schema.zod.d.ts +472 -21
- package/dist/types/index.d.ts +17586 -5241
- package/dist/wapi-client-web.iife.js +1 -1
- package/dist/wapi-client.iife.js +1 -1
- package/package.json +2 -2
- package/dist/lib/query-builder.browser.cjs +0 -540
- package/dist/lib/query-builder.browser.js +0 -523
- package/dist/lib/query-builder.cjs +0 -548
- package/dist/lib/query-builder.d.ts +0 -242
- package/dist/lib/query-builder.js +0 -523
package/dist/client.d.ts
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
1
|
import { WapiConnectionOptions, WapiHttpConnectionOptions, WsClient, HttpClient, ConnectionConfig } from "./api";
|
|
2
2
|
import { ClientHooks, ISocketId } from "./api/base-client";
|
|
3
|
-
import { AggregateQueryBuilder, UpdateQueryBuilder, ReverseQueryBuilder, QueryBuilder } from "./lib/query-builder";
|
|
4
3
|
import { StreamPromise } from "./lib/stream-promise";
|
|
5
|
-
import { AggregateTransfersFnInput, AggregateTransfersFnOptions
|
|
6
|
-
import { AggregateTransfersFnFields, AggregateTransfersFnMetadataFields, AggregateTransfersFnStringFields, AggregateTransfersFnGroupFields } from "./fns/aggregate-transfers/aggregate-transfers";
|
|
4
|
+
import { AggregateTransfersFnInput, AggregateTransfersFnOptions } from "./fns/aggregate-transfers/aggregate-transfers.enums";
|
|
7
5
|
import { CreateAccessTokenFnInput, CreateAccessTokenFnOptions, CreateAccessTokenFnOutput } from "./fns/create-access-token/create-access-token.enums";
|
|
8
6
|
import { CreateContractFnInput, CreateContractFnOptions, CreateContractFnOutput } from "./fns/create-contract/create-contract.enums";
|
|
9
7
|
import { CreateDepositFnInput, CreateDepositFnOptions, CreateDepositFnOutput } from "./fns/create-deposit/create-deposit.enums";
|
|
@@ -15,24 +13,15 @@ import { CreateTransfersFnInput, CreateTransfersFnOptions, CreateTransfersFnOutp
|
|
|
15
13
|
import { CreateWalletFnInput, CreateWalletFnOptions, CreateWalletFnOutput } from "./fns/create-wallet/create-wallet.enums";
|
|
16
14
|
import { CreateWithdrawalFnInput, CreateWithdrawalFnOptions, CreateWithdrawalFnOutput } from "./fns/create-withdrawal/create-withdrawal.enums";
|
|
17
15
|
import { ExportBalanceHistoryFnInput, ExportBalanceHistoryFnOptions, ExportBalanceHistoryFnOutput } from "./fns/export-balance-history/export-balance-history.enums";
|
|
18
|
-
import { ExportTokensFnInput, ExportTokensFnOptions
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import { FindBalancesFnFields, FindBalancesFnMetadataFields, FindBalancesFnStringFields, FindBalancesFnResultFields } from "./fns/find-balances/find-balances";
|
|
28
|
-
import { FindTokensFnInput, FindTokensFnOptions, FindTokensFnOutput } from "./fns/find-tokens/find-tokens.enums";
|
|
29
|
-
import { FindTokensFnFields, FindTokensFnMetadataFields, FindTokensFnStringFields, FindTokensFnResultFields } from "./fns/find-tokens/find-tokens";
|
|
30
|
-
import { FindTransferGroupsFnInput, FindTransferGroupsFnOptions, FindTransferGroupsFnOutput } from "./fns/find-transfer-groups/find-transfer-groups.enums";
|
|
31
|
-
import { FindTransferGroupsFnFields, FindTransferGroupsFnMetadataFields, FindTransferGroupsFnStringFields, FindTransferGroupsFnResultFields } from "./fns/find-transfer-groups/find-transfer-groups";
|
|
32
|
-
import { FindTransfersFnInput, FindTransfersFnOptions, FindTransfersFnOutput } from "./fns/find-transfers/find-transfers.enums";
|
|
33
|
-
import { FindTransfersFnFields, FindTransfersFnMetadataFields, FindTransfersFnStringFields, FindTransfersFnResultFields } from "./fns/find-transfers/find-transfers";
|
|
34
|
-
import { FindWalletsFnInput, FindWalletsFnOptions, FindWalletsFnOutput } from "./fns/find-wallets/find-wallets.enums";
|
|
35
|
-
import { FindWalletsFnFields, FindWalletsFnMetadataFields, FindWalletsFnStringFields, FindWalletsFnResultFields } from "./fns/find-wallets/find-wallets";
|
|
16
|
+
import { ExportTokensFnInput, ExportTokensFnOptions } from "./fns/export-tokens/export-tokens.enums";
|
|
17
|
+
import { ExportTransferGroupsFnInput, ExportTransferGroupsFnOptions } from "./fns/export-transfer-groups/export-transfer-groups.enums";
|
|
18
|
+
import { ExportTransfersFnInput, ExportTransfersFnOptions } from "./fns/export-transfers/export-transfers.enums";
|
|
19
|
+
import { ExportWalletsFnInput, ExportWalletsFnOptions } from "./fns/export-wallets/export-wallets.enums";
|
|
20
|
+
import { FindBalancesFnInput, FindBalancesFnOptions } from "./fns/find-balances/find-balances.enums";
|
|
21
|
+
import { FindTokensFnInput, FindTokensFnOptions } from "./fns/find-tokens/find-tokens.enums";
|
|
22
|
+
import { FindTransferGroupsFnInput, FindTransferGroupsFnOptions } from "./fns/find-transfer-groups/find-transfer-groups.enums";
|
|
23
|
+
import { FindTransfersFnInput, FindTransfersFnOptions } from "./fns/find-transfers/find-transfers.enums";
|
|
24
|
+
import { FindWalletsFnInput, FindWalletsFnOptions } from "./fns/find-wallets/find-wallets.enums";
|
|
36
25
|
import { GetBalanceFnInput, GetBalanceFnOptions, GetBalanceFnOutput } from "./fns/get-balance/get-balance.enums";
|
|
37
26
|
import { GetBalanceHistoryFnInput, GetBalanceHistoryFnOptions, GetBalanceHistoryFnOutput } from "./fns/get-balance-history/get-balance-history.enums";
|
|
38
27
|
import { GetExportFnInput, GetExportFnOptions, GetExportFnOutput } from "./fns/get-export/get-export.enums";
|
|
@@ -46,16 +35,13 @@ import { HealthcheckFnInput, HealthcheckFnOptions, HealthcheckFnOutput } from ".
|
|
|
46
35
|
import { ListExportsFnInput, ListExportsFnOptions, ListExportsFnOutput } from "./fns/list-exports/list-exports.enums";
|
|
47
36
|
import { ReverseTransferFnInput, ReverseTransferFnOptions, ReverseTransferFnOutput } from "./fns/reverse-transfer/reverse-transfer.enums";
|
|
48
37
|
import { ReverseTransferGroupFnInput, ReverseTransferGroupFnOptions, ReverseTransferGroupFnOutput } from "./fns/reverse-transfer-group/reverse-transfer-group.enums";
|
|
49
|
-
import { ReverseTransfersFnInput, ReverseTransfersFnOptions
|
|
50
|
-
import { ReverseTransfersFnFields, ReverseTransfersFnMetadataFields, ReverseTransfersFnStringFields } from "./fns/reverse-transfers/reverse-transfers";
|
|
38
|
+
import { ReverseTransfersFnInput, ReverseTransfersFnOptions } from "./fns/reverse-transfers/reverse-transfers.enums";
|
|
51
39
|
import { SetFlagsFnInput, SetFlagsFnOptions, SetFlagsFnOutput } from "./fns/set-flags/set-flags.enums";
|
|
52
40
|
import { UpdateTokenFnInput, UpdateTokenFnOptions, UpdateTokenFnOutput } from "./fns/update-token/update-token.enums";
|
|
53
41
|
import { UpdateTransferFnInput, UpdateTransferFnOptions, UpdateTransferFnOutput } from "./fns/update-transfer/update-transfer.enums";
|
|
54
42
|
import { UpdateTransferGroupFnInput, UpdateTransferGroupFnOptions, UpdateTransferGroupFnOutput } from "./fns/update-transfer-group/update-transfer-group.enums";
|
|
55
|
-
import { UpdateTransferGroupsFnInput, UpdateTransferGroupsFnOptions
|
|
56
|
-
import {
|
|
57
|
-
import { UpdateTransfersFnInput, UpdateTransfersFnOptions, UpdateTransfersFnOutput, UpdateTransfersFnUpdateFields } from "./fns/update-transfers/update-transfers.enums";
|
|
58
|
-
import { UpdateTransfersFnFields, UpdateTransfersFnMetadataFields, UpdateTransfersFnStringFields, UpdateTransfersFnResultFields } from "./fns/update-transfers/update-transfers";
|
|
43
|
+
import { UpdateTransferGroupsFnInput, UpdateTransferGroupsFnOptions } from "./fns/update-transfer-groups/update-transfer-groups.enums";
|
|
44
|
+
import { UpdateTransfersFnInput, UpdateTransfersFnOptions } from "./fns/update-transfers/update-transfers.enums";
|
|
59
45
|
import { UpdateWalletFnInput, UpdateWalletFnOptions, UpdateWalletFnOutput } from "./fns/update-wallet/update-wallet.enums";
|
|
60
46
|
export interface ClientConfig extends ConnectionConfig {
|
|
61
47
|
token?: number | string;
|
|
@@ -220,13 +206,466 @@ export declare class Client {
|
|
|
220
206
|
*
|
|
221
207
|
* ```
|
|
222
208
|
*
|
|
223
|
-
* @param {AggregateTransfersFnInput} [input]
|
|
224
|
-
* @param {AggregateTransfersFnOptions} [options]
|
|
225
|
-
* @returns {StreamPromise<AggregateTransfersFnOutput>}
|
|
226
|
-
*
|
|
227
209
|
*/
|
|
228
|
-
aggregateTransfers(
|
|
229
|
-
|
|
210
|
+
aggregateTransfers(input?: AggregateTransfersFnInput, options?: AggregateTransfersFnOptions): import("./lib/query-builder/aggregate-query-builder").AggregateQueryBuilder<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
211
|
+
wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
212
|
+
foreign: string;
|
|
213
|
+
}, string | number>>;
|
|
214
|
+
token: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
215
|
+
foreign: string;
|
|
216
|
+
}, string | number>>;
|
|
217
|
+
from_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
218
|
+
foreign: string;
|
|
219
|
+
}, string | number>>;
|
|
220
|
+
to_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
221
|
+
foreign: string;
|
|
222
|
+
}, string | number>>;
|
|
223
|
+
transfer_group: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
224
|
+
foreign: string;
|
|
225
|
+
}, string | number>>;
|
|
226
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<["transfer", "deposit", "withdrawal"]>>;
|
|
227
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
228
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
229
|
+
}, {
|
|
230
|
+
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
231
|
+
offset: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
232
|
+
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
233
|
+
transaction_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
234
|
+
limit: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
235
|
+
return_metadata_total: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
236
|
+
order: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
237
|
+
field: import("zod").ZodString;
|
|
238
|
+
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["asc", "desc"]>>>;
|
|
239
|
+
nulls: import("zod").ZodOptional<import("zod").ZodEnum<["first", "last"]>>;
|
|
240
|
+
}, {
|
|
241
|
+
field: import("zod").ZodEnum<["type", "status", "metadata", "id", "created_at", "updated_at", "identifier", "control_hash", "from_wallet_id", "to_wallet_id", "token_id", "amount", "force", "auto_hash", "transfer_group_id", "reverses_id", "status_finalized_at", "group_validate"]>;
|
|
242
|
+
}>, "strict", import("zod").ZodTypeAny, {
|
|
243
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate";
|
|
244
|
+
direction?: "asc" | "desc" | undefined;
|
|
245
|
+
nulls?: "first" | "last" | undefined;
|
|
246
|
+
}, {
|
|
247
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate";
|
|
248
|
+
direction?: "asc" | "desc" | undefined;
|
|
249
|
+
nulls?: "first" | "last" | undefined;
|
|
250
|
+
}>, "many">>>;
|
|
251
|
+
select: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "metadata", "id", "created_at", "updated_at", "identifier", "control_hash", "from_wallet_id", "to_wallet_id", "token_id", "amount", "force", "auto_hash", "transfer_group_id", "reverses_id", "status_finalized_at", "group_validate", "from_wallet_foreign", "to_wallet_foreign", "token_foreign", "transfer_group_identifier", "reverses_identifier"]>, "many">>>;
|
|
252
|
+
deselect: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "metadata", "id", "created_at", "updated_at", "identifier", "control_hash", "from_wallet_id", "to_wallet_id", "token_id", "amount", "force", "auto_hash", "transfer_group_id", "reverses_id", "status_finalized_at", "group_validate", "from_wallet_foreign", "to_wallet_foreign", "token_foreign", "transfer_group_identifier", "reverses_identifier"]>, "many">>>;
|
|
253
|
+
return_running_balance: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
254
|
+
return_signed_amount: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
255
|
+
return_running_balance_for_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
256
|
+
foreign: string;
|
|
257
|
+
}, string | number>>;
|
|
258
|
+
return_signed_amount_for_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
259
|
+
foreign: string;
|
|
260
|
+
}, string | number>>;
|
|
261
|
+
order_by: import("zod").ZodOptional<import("zod").ZodString>;
|
|
262
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
263
|
+
offset?: number | undefined;
|
|
264
|
+
tracking_id?: string | undefined;
|
|
265
|
+
transaction_id?: string | undefined;
|
|
266
|
+
limit?: number | undefined;
|
|
267
|
+
return_metadata_total?: boolean | undefined;
|
|
268
|
+
order?: {
|
|
269
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate";
|
|
270
|
+
direction?: "asc" | "desc" | undefined;
|
|
271
|
+
nulls?: "first" | "last" | undefined;
|
|
272
|
+
}[] | undefined;
|
|
273
|
+
select?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate" | "from_wallet_foreign" | "to_wallet_foreign" | "token_foreign" | "transfer_group_identifier" | "reverses_identifier")[] | undefined;
|
|
274
|
+
deselect?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate" | "from_wallet_foreign" | "to_wallet_foreign" | "token_foreign" | "transfer_group_identifier" | "reverses_identifier")[] | undefined;
|
|
275
|
+
order_by?: string | undefined;
|
|
276
|
+
return_running_balance_for_wallet?: {
|
|
277
|
+
foreign: string;
|
|
278
|
+
} | undefined;
|
|
279
|
+
return_signed_amount_for_wallet?: {
|
|
280
|
+
foreign: string;
|
|
281
|
+
} | undefined;
|
|
282
|
+
return_running_balance?: boolean | undefined;
|
|
283
|
+
return_signed_amount?: boolean | undefined;
|
|
284
|
+
}, {
|
|
285
|
+
offset?: number | undefined;
|
|
286
|
+
tracking_id?: string | undefined;
|
|
287
|
+
transaction_id?: string | undefined;
|
|
288
|
+
limit?: number | undefined;
|
|
289
|
+
return_metadata_total?: boolean | undefined;
|
|
290
|
+
order?: {
|
|
291
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate";
|
|
292
|
+
direction?: "asc" | "desc" | undefined;
|
|
293
|
+
nulls?: "first" | "last" | undefined;
|
|
294
|
+
}[] | undefined;
|
|
295
|
+
select?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate" | "from_wallet_foreign" | "to_wallet_foreign" | "token_foreign" | "transfer_group_identifier" | "reverses_identifier")[] | undefined;
|
|
296
|
+
deselect?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate" | "from_wallet_foreign" | "to_wallet_foreign" | "token_foreign" | "transfer_group_identifier" | "reverses_identifier")[] | undefined;
|
|
297
|
+
order_by?: string | undefined;
|
|
298
|
+
return_running_balance_for_wallet?: string | number | undefined;
|
|
299
|
+
return_signed_amount_for_wallet?: string | number | undefined;
|
|
300
|
+
return_running_balance?: boolean | undefined;
|
|
301
|
+
return_signed_amount?: boolean | undefined;
|
|
302
|
+
}>>;
|
|
303
|
+
}>, "strict", import("zod").ZodTypeAny, {
|
|
304
|
+
options?: {
|
|
305
|
+
offset?: number | undefined;
|
|
306
|
+
tracking_id?: string | undefined;
|
|
307
|
+
transaction_id?: string | undefined;
|
|
308
|
+
limit?: number | undefined;
|
|
309
|
+
return_metadata_total?: boolean | undefined;
|
|
310
|
+
order?: {
|
|
311
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate";
|
|
312
|
+
direction?: "asc" | "desc" | undefined;
|
|
313
|
+
nulls?: "first" | "last" | undefined;
|
|
314
|
+
}[] | undefined;
|
|
315
|
+
select?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate" | "from_wallet_foreign" | "to_wallet_foreign" | "token_foreign" | "transfer_group_identifier" | "reverses_identifier")[] | undefined;
|
|
316
|
+
deselect?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate" | "from_wallet_foreign" | "to_wallet_foreign" | "token_foreign" | "transfer_group_identifier" | "reverses_identifier")[] | undefined;
|
|
317
|
+
order_by?: string | undefined;
|
|
318
|
+
return_running_balance_for_wallet?: {
|
|
319
|
+
foreign: string;
|
|
320
|
+
} | undefined;
|
|
321
|
+
return_signed_amount_for_wallet?: {
|
|
322
|
+
foreign: string;
|
|
323
|
+
} | undefined;
|
|
324
|
+
return_running_balance?: boolean | undefined;
|
|
325
|
+
return_signed_amount?: boolean | undefined;
|
|
326
|
+
} | undefined;
|
|
327
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
328
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
329
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
330
|
+
token?: {
|
|
331
|
+
foreign: string;
|
|
332
|
+
} | undefined;
|
|
333
|
+
wallet?: {
|
|
334
|
+
foreign: string;
|
|
335
|
+
} | undefined;
|
|
336
|
+
transfer_group?: {
|
|
337
|
+
foreign: string;
|
|
338
|
+
} | undefined;
|
|
339
|
+
from_wallet?: {
|
|
340
|
+
foreign: string;
|
|
341
|
+
} | undefined;
|
|
342
|
+
to_wallet?: {
|
|
343
|
+
foreign: string;
|
|
344
|
+
} | undefined;
|
|
345
|
+
}, {
|
|
346
|
+
options?: {
|
|
347
|
+
offset?: number | undefined;
|
|
348
|
+
tracking_id?: string | undefined;
|
|
349
|
+
transaction_id?: string | undefined;
|
|
350
|
+
limit?: number | undefined;
|
|
351
|
+
return_metadata_total?: boolean | undefined;
|
|
352
|
+
order?: {
|
|
353
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate";
|
|
354
|
+
direction?: "asc" | "desc" | undefined;
|
|
355
|
+
nulls?: "first" | "last" | undefined;
|
|
356
|
+
}[] | undefined;
|
|
357
|
+
select?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate" | "from_wallet_foreign" | "to_wallet_foreign" | "token_foreign" | "transfer_group_identifier" | "reverses_identifier")[] | undefined;
|
|
358
|
+
deselect?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate" | "from_wallet_foreign" | "to_wallet_foreign" | "token_foreign" | "transfer_group_identifier" | "reverses_identifier")[] | undefined;
|
|
359
|
+
order_by?: string | undefined;
|
|
360
|
+
return_running_balance_for_wallet?: string | number | undefined;
|
|
361
|
+
return_signed_amount_for_wallet?: string | number | undefined;
|
|
362
|
+
return_running_balance?: boolean | undefined;
|
|
363
|
+
return_signed_amount?: boolean | undefined;
|
|
364
|
+
} | undefined;
|
|
365
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
366
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
367
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
368
|
+
token?: string | number | undefined;
|
|
369
|
+
wallet?: string | number | undefined;
|
|
370
|
+
transfer_group?: string | number | undefined;
|
|
371
|
+
from_wallet?: string | number | undefined;
|
|
372
|
+
to_wallet?: string | number | undefined;
|
|
373
|
+
}>, import("zod").ZodObject<{
|
|
374
|
+
id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>;
|
|
375
|
+
identifier: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>>;
|
|
376
|
+
from_wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
377
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
378
|
+
id: import("zod").ZodNumber;
|
|
379
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
380
|
+
id: number;
|
|
381
|
+
foreign?: string | undefined;
|
|
382
|
+
}, {
|
|
383
|
+
id: number;
|
|
384
|
+
foreign?: string | undefined;
|
|
385
|
+
}>, import("zod").ZodObject<{
|
|
386
|
+
foreign: import("zod").ZodString;
|
|
387
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
388
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
389
|
+
foreign: string;
|
|
390
|
+
id?: number | undefined;
|
|
391
|
+
}, {
|
|
392
|
+
foreign: string;
|
|
393
|
+
id?: number | undefined;
|
|
394
|
+
}>]>>>;
|
|
395
|
+
to_wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
396
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
397
|
+
id: import("zod").ZodNumber;
|
|
398
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
399
|
+
id: number;
|
|
400
|
+
foreign?: string | undefined;
|
|
401
|
+
}, {
|
|
402
|
+
id: number;
|
|
403
|
+
foreign?: string | undefined;
|
|
404
|
+
}>, import("zod").ZodObject<{
|
|
405
|
+
foreign: import("zod").ZodString;
|
|
406
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
407
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
408
|
+
foreign: string;
|
|
409
|
+
id?: number | undefined;
|
|
410
|
+
}, {
|
|
411
|
+
foreign: string;
|
|
412
|
+
id?: number | undefined;
|
|
413
|
+
}>]>>>;
|
|
414
|
+
wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
415
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
416
|
+
id: import("zod").ZodNumber;
|
|
417
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
418
|
+
id: number;
|
|
419
|
+
foreign?: string | undefined;
|
|
420
|
+
}, {
|
|
421
|
+
id: number;
|
|
422
|
+
foreign?: string | undefined;
|
|
423
|
+
}>, import("zod").ZodObject<{
|
|
424
|
+
foreign: import("zod").ZodString;
|
|
425
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
426
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
427
|
+
foreign: string;
|
|
428
|
+
id?: number | undefined;
|
|
429
|
+
}, {
|
|
430
|
+
foreign: string;
|
|
431
|
+
id?: number | undefined;
|
|
432
|
+
}>]>>>;
|
|
433
|
+
token: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
434
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
435
|
+
id: import("zod").ZodNumber;
|
|
436
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
437
|
+
id: number;
|
|
438
|
+
foreign?: string | undefined;
|
|
439
|
+
}, {
|
|
440
|
+
id: number;
|
|
441
|
+
foreign?: string | undefined;
|
|
442
|
+
}>, import("zod").ZodObject<{
|
|
443
|
+
foreign: import("zod").ZodString;
|
|
444
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
445
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
446
|
+
foreign: string;
|
|
447
|
+
id?: number | undefined;
|
|
448
|
+
}, {
|
|
449
|
+
foreign: string;
|
|
450
|
+
id?: number | undefined;
|
|
451
|
+
}>]>>>;
|
|
452
|
+
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["transfer", "deposit", "withdrawal"]>>>;
|
|
453
|
+
status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>>;
|
|
454
|
+
transfer_group: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
455
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
456
|
+
id: import("zod").ZodNumber;
|
|
457
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
458
|
+
id: number;
|
|
459
|
+
identifier?: string | undefined;
|
|
460
|
+
}, {
|
|
461
|
+
id: number;
|
|
462
|
+
identifier?: string | undefined;
|
|
463
|
+
}>, import("zod").ZodObject<{
|
|
464
|
+
identifier: import("zod").ZodString;
|
|
465
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
466
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
467
|
+
identifier: string;
|
|
468
|
+
id?: number | undefined;
|
|
469
|
+
}, {
|
|
470
|
+
identifier: string;
|
|
471
|
+
id?: number | undefined;
|
|
472
|
+
}>]>>>;
|
|
473
|
+
reverses: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
474
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
475
|
+
id: import("zod").ZodNumber;
|
|
476
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
477
|
+
id: number;
|
|
478
|
+
identifier?: string | undefined;
|
|
479
|
+
}, {
|
|
480
|
+
id: number;
|
|
481
|
+
identifier?: string | undefined;
|
|
482
|
+
}>, import("zod").ZodObject<{
|
|
483
|
+
identifier: import("zod").ZodString;
|
|
484
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
485
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
486
|
+
identifier: string;
|
|
487
|
+
id?: number | undefined;
|
|
488
|
+
}, {
|
|
489
|
+
identifier: string;
|
|
490
|
+
id?: number | undefined;
|
|
491
|
+
}>]>>>;
|
|
492
|
+
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>>;
|
|
493
|
+
amount: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>;
|
|
494
|
+
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
495
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
496
|
+
status_finalized_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>>>;
|
|
497
|
+
from_wallet_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
498
|
+
to_wallet_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
499
|
+
token_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
500
|
+
transfer_group_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
501
|
+
reverses_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
502
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
503
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
504
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
505
|
+
identifier?: string | undefined;
|
|
506
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
507
|
+
id?: number | undefined;
|
|
508
|
+
token?: {
|
|
509
|
+
id: number;
|
|
510
|
+
foreign?: string | undefined;
|
|
511
|
+
} | {
|
|
512
|
+
foreign: string;
|
|
513
|
+
id?: number | undefined;
|
|
514
|
+
} | undefined;
|
|
515
|
+
created_at?: string | undefined;
|
|
516
|
+
updated_at?: string | undefined;
|
|
517
|
+
from_wallet_id?: number | undefined;
|
|
518
|
+
to_wallet_id?: number | undefined;
|
|
519
|
+
token_id?: number | undefined;
|
|
520
|
+
amount?: number | undefined;
|
|
521
|
+
transfer_group_id?: number | undefined;
|
|
522
|
+
reverses_id?: number | undefined;
|
|
523
|
+
status_finalized_at?: string | null | undefined;
|
|
524
|
+
wallet?: {
|
|
525
|
+
id: number;
|
|
526
|
+
foreign?: string | undefined;
|
|
527
|
+
} | {
|
|
528
|
+
foreign: string;
|
|
529
|
+
id?: number | undefined;
|
|
530
|
+
} | undefined;
|
|
531
|
+
transfer_group?: {
|
|
532
|
+
id: number;
|
|
533
|
+
identifier?: string | undefined;
|
|
534
|
+
} | {
|
|
535
|
+
identifier: string;
|
|
536
|
+
id?: number | undefined;
|
|
537
|
+
} | undefined;
|
|
538
|
+
from_wallet?: {
|
|
539
|
+
id: number;
|
|
540
|
+
foreign?: string | undefined;
|
|
541
|
+
} | {
|
|
542
|
+
foreign: string;
|
|
543
|
+
id?: number | undefined;
|
|
544
|
+
} | undefined;
|
|
545
|
+
to_wallet?: {
|
|
546
|
+
id: number;
|
|
547
|
+
foreign?: string | undefined;
|
|
548
|
+
} | {
|
|
549
|
+
foreign: string;
|
|
550
|
+
id?: number | undefined;
|
|
551
|
+
} | undefined;
|
|
552
|
+
reverses?: {
|
|
553
|
+
id: number;
|
|
554
|
+
identifier?: string | undefined;
|
|
555
|
+
} | {
|
|
556
|
+
identifier: string;
|
|
557
|
+
id?: number | undefined;
|
|
558
|
+
} | undefined;
|
|
559
|
+
}, {
|
|
560
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
561
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
562
|
+
identifier?: string | number | undefined;
|
|
563
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
564
|
+
id?: string | number | undefined;
|
|
565
|
+
token?: {
|
|
566
|
+
id: number;
|
|
567
|
+
foreign?: string | undefined;
|
|
568
|
+
} | {
|
|
569
|
+
foreign: string;
|
|
570
|
+
id?: number | undefined;
|
|
571
|
+
} | undefined;
|
|
572
|
+
created_at?: string | undefined;
|
|
573
|
+
updated_at?: string | undefined;
|
|
574
|
+
from_wallet_id?: string | number | undefined;
|
|
575
|
+
to_wallet_id?: string | number | undefined;
|
|
576
|
+
token_id?: string | number | undefined;
|
|
577
|
+
amount?: string | number | undefined;
|
|
578
|
+
transfer_group_id?: string | number | undefined;
|
|
579
|
+
reverses_id?: string | number | undefined;
|
|
580
|
+
status_finalized_at?: string | null | undefined;
|
|
581
|
+
wallet?: {
|
|
582
|
+
id: number;
|
|
583
|
+
foreign?: string | undefined;
|
|
584
|
+
} | {
|
|
585
|
+
foreign: string;
|
|
586
|
+
id?: number | undefined;
|
|
587
|
+
} | undefined;
|
|
588
|
+
transfer_group?: {
|
|
589
|
+
id: number;
|
|
590
|
+
identifier?: string | undefined;
|
|
591
|
+
} | {
|
|
592
|
+
identifier: string;
|
|
593
|
+
id?: number | undefined;
|
|
594
|
+
} | undefined;
|
|
595
|
+
from_wallet?: {
|
|
596
|
+
id: number;
|
|
597
|
+
foreign?: string | undefined;
|
|
598
|
+
} | {
|
|
599
|
+
foreign: string;
|
|
600
|
+
id?: number | undefined;
|
|
601
|
+
} | undefined;
|
|
602
|
+
to_wallet?: {
|
|
603
|
+
id: number;
|
|
604
|
+
foreign?: string | undefined;
|
|
605
|
+
} | {
|
|
606
|
+
foreign: string;
|
|
607
|
+
id?: number | undefined;
|
|
608
|
+
} | undefined;
|
|
609
|
+
reverses?: {
|
|
610
|
+
id: number;
|
|
611
|
+
identifier?: string | undefined;
|
|
612
|
+
} | {
|
|
613
|
+
identifier: string;
|
|
614
|
+
id?: number | undefined;
|
|
615
|
+
} | undefined;
|
|
616
|
+
}>, import("zod").ZodOptional<import("zod").ZodObject<{
|
|
617
|
+
tracking_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
618
|
+
transaction_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
619
|
+
return_all_intervals: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
620
|
+
start_time: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
621
|
+
end_time: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
622
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
623
|
+
start_time?: string | undefined;
|
|
624
|
+
end_time?: string | undefined;
|
|
625
|
+
}, {
|
|
626
|
+
start_time?: string | undefined;
|
|
627
|
+
end_time?: string | undefined;
|
|
628
|
+
}>>>;
|
|
629
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
630
|
+
tracking_id?: string | undefined;
|
|
631
|
+
transaction_id?: string | undefined;
|
|
632
|
+
return_all_intervals?: {
|
|
633
|
+
start_time?: string | undefined;
|
|
634
|
+
end_time?: string | undefined;
|
|
635
|
+
} | undefined;
|
|
636
|
+
}, {
|
|
637
|
+
tracking_id?: string | undefined;
|
|
638
|
+
transaction_id?: string | undefined;
|
|
639
|
+
return_all_intervals?: {
|
|
640
|
+
start_time?: string | undefined;
|
|
641
|
+
end_time?: string | undefined;
|
|
642
|
+
} | undefined;
|
|
643
|
+
}>>, {}, {}, import("zod").ZodEnum<["from.amount", "to.amount", "amount", "abs.amount", "transfer_group", "from_wallet", "to_wallet", "wallet", "token", "id"]>, import("zod").ZodEnum<["type", "status", "from_wallet", "to_wallet", "wallet", "token", "transfer_group"]>, {
|
|
644
|
+
metadata?: {
|
|
645
|
+
groups: ({
|
|
646
|
+
type: "period";
|
|
647
|
+
field: "year" | "month" | "week" | "day" | "hour" | "minute" | {
|
|
648
|
+
period: "year" | "month" | "week" | "day" | "hour" | "minute";
|
|
649
|
+
timezone: string;
|
|
650
|
+
};
|
|
651
|
+
alias?: string | undefined;
|
|
652
|
+
} | {
|
|
653
|
+
type: "field";
|
|
654
|
+
field: string;
|
|
655
|
+
alias?: string | undefined;
|
|
656
|
+
} | {
|
|
657
|
+
type: "metadata_field";
|
|
658
|
+
field: string;
|
|
659
|
+
alias?: string | undefined;
|
|
660
|
+
})[];
|
|
661
|
+
aggregators?: ("count" | "countDistinct" | "sum" | "average" | "min" | "max" | {
|
|
662
|
+
function?: "count" | "countDistinct" | "sum" | "average" | "min" | "max" | undefined;
|
|
663
|
+
field?: string | undefined;
|
|
664
|
+
alias?: string | undefined;
|
|
665
|
+
})[] | undefined;
|
|
666
|
+
} | undefined;
|
|
667
|
+
rows?: Record<string, string | number | null>[] | undefined;
|
|
668
|
+
}>;
|
|
230
669
|
/**
|
|
231
670
|
*
|
|
232
671
|
* Create a JWT token for use with HTTP api
|
|
@@ -248,10 +687,6 @@ export declare class Client {
|
|
|
248
687
|
*
|
|
249
688
|
* ```
|
|
250
689
|
*
|
|
251
|
-
* @param {CreateAccessTokenFnInput} [input]
|
|
252
|
-
* @param {CreateAccessTokenFnOptions} [options]
|
|
253
|
-
* @returns {StreamPromise<CreateAccessTokenFnOutput>}
|
|
254
|
-
*
|
|
255
690
|
*/
|
|
256
691
|
createAccessToken(input?: CreateAccessTokenFnInput, options?: CreateAccessTokenFnOptions): StreamPromise<CreateAccessTokenFnOutput>;
|
|
257
692
|
/**
|
|
@@ -281,10 +716,6 @@ export declare class Client {
|
|
|
281
716
|
*
|
|
282
717
|
* ```
|
|
283
718
|
*
|
|
284
|
-
* @param {CreateContractFnInput} input
|
|
285
|
-
* @param {CreateContractFnOptions} [options]
|
|
286
|
-
* @returns {StreamPromise<CreateContractFnOutput>}
|
|
287
|
-
*
|
|
288
719
|
*/
|
|
289
720
|
createContract(input: CreateContractFnInput, options?: CreateContractFnOptions): StreamPromise<CreateContractFnOutput>;
|
|
290
721
|
/**
|
|
@@ -338,10 +769,6 @@ export declare class Client {
|
|
|
338
769
|
*
|
|
339
770
|
* ```
|
|
340
771
|
*
|
|
341
|
-
* @param {CreateDepositFnInput} input
|
|
342
|
-
* @param {CreateDepositFnOptions} [options]
|
|
343
|
-
* @returns {StreamPromise<CreateDepositFnOutput>}
|
|
344
|
-
*
|
|
345
772
|
*/
|
|
346
773
|
createDeposit(input: CreateDepositFnInput, options?: CreateDepositFnOptions): StreamPromise<CreateDepositFnOutput>;
|
|
347
774
|
/**
|
|
@@ -407,10 +834,6 @@ export declare class Client {
|
|
|
407
834
|
*
|
|
408
835
|
* ```
|
|
409
836
|
*
|
|
410
|
-
* @param {CreateExchangeFnInput} input
|
|
411
|
-
* @param {CreateExchangeFnOptions} [options]
|
|
412
|
-
* @returns {StreamPromise<CreateExchangeFnOutput>}
|
|
413
|
-
*
|
|
414
837
|
*/
|
|
415
838
|
createExchange(input: CreateExchangeFnInput, options?: CreateExchangeFnOptions): StreamPromise<CreateExchangeFnOutput>;
|
|
416
839
|
/**
|
|
@@ -456,10 +879,6 @@ export declare class Client {
|
|
|
456
879
|
*
|
|
457
880
|
* ```
|
|
458
881
|
*
|
|
459
|
-
* @param {CreateTokenFnInput} input
|
|
460
|
-
* @param {CreateTokenFnOptions} [options]
|
|
461
|
-
* @returns {StreamPromise<CreateTokenFnOutput>}
|
|
462
|
-
*
|
|
463
882
|
*/
|
|
464
883
|
createToken(input: CreateTokenFnInput, options?: CreateTokenFnOptions): StreamPromise<CreateTokenFnOutput>;
|
|
465
884
|
/**
|
|
@@ -508,10 +927,6 @@ export declare class Client {
|
|
|
508
927
|
*
|
|
509
928
|
* ```
|
|
510
929
|
*
|
|
511
|
-
* @param {CreateTransferFnInput} input
|
|
512
|
-
* @param {CreateTransferFnOptions} [options]
|
|
513
|
-
* @returns {StreamPromise<CreateTransferFnOutput>}
|
|
514
|
-
*
|
|
515
930
|
*/
|
|
516
931
|
createTransfer(input: CreateTransferFnInput, options?: CreateTransferFnOptions): StreamPromise<CreateTransferFnOutput>;
|
|
517
932
|
/**
|
|
@@ -596,10 +1011,6 @@ export declare class Client {
|
|
|
596
1011
|
*
|
|
597
1012
|
* ```
|
|
598
1013
|
*
|
|
599
|
-
* @param {CreateTransferGroupFnInput} [input]
|
|
600
|
-
* @param {CreateTransferGroupFnOptions} [options]
|
|
601
|
-
* @returns {StreamPromise<CreateTransferGroupFnOutput>}
|
|
602
|
-
*
|
|
603
1014
|
*/
|
|
604
1015
|
createTransferGroup(input?: CreateTransferGroupFnInput, options?: CreateTransferGroupFnOptions): StreamPromise<CreateTransferGroupFnOutput>;
|
|
605
1016
|
/**
|
|
@@ -708,10 +1119,6 @@ export declare class Client {
|
|
|
708
1119
|
*
|
|
709
1120
|
* ```
|
|
710
1121
|
*
|
|
711
|
-
* @param {CreateTransfersFnInput} input
|
|
712
|
-
* @param {CreateTransfersFnOptions} [options]
|
|
713
|
-
* @returns {StreamPromise<CreateTransfersFnOutput>}
|
|
714
|
-
*
|
|
715
1122
|
*/
|
|
716
1123
|
createTransfers(input: CreateTransfersFnInput, options?: CreateTransfersFnOptions): StreamPromise<CreateTransfersFnOutput>;
|
|
717
1124
|
/**
|
|
@@ -750,10 +1157,6 @@ export declare class Client {
|
|
|
750
1157
|
*
|
|
751
1158
|
* ```
|
|
752
1159
|
*
|
|
753
|
-
* @param {CreateWalletFnInput} input
|
|
754
|
-
* @param {CreateWalletFnOptions} [options]
|
|
755
|
-
* @returns {StreamPromise<CreateWalletFnOutput>}
|
|
756
|
-
*
|
|
757
1160
|
*/
|
|
758
1161
|
createWallet(input: CreateWalletFnInput, options?: CreateWalletFnOptions): StreamPromise<CreateWalletFnOutput>;
|
|
759
1162
|
/**
|
|
@@ -808,10 +1211,6 @@ export declare class Client {
|
|
|
808
1211
|
*
|
|
809
1212
|
* ```
|
|
810
1213
|
*
|
|
811
|
-
* @param {CreateWithdrawalFnInput} input
|
|
812
|
-
* @param {CreateWithdrawalFnOptions} [options]
|
|
813
|
-
* @returns {StreamPromise<CreateWithdrawalFnOutput>}
|
|
814
|
-
*
|
|
815
1214
|
*/
|
|
816
1215
|
createWithdrawal(input: CreateWithdrawalFnInput, options?: CreateWithdrawalFnOptions): StreamPromise<CreateWithdrawalFnOutput>;
|
|
817
1216
|
/**
|
|
@@ -863,10 +1262,6 @@ export declare class Client {
|
|
|
863
1262
|
*
|
|
864
1263
|
* ```
|
|
865
1264
|
*
|
|
866
|
-
* @param {ExportBalanceHistoryFnInput} input
|
|
867
|
-
* @param {ExportBalanceHistoryFnOptions} [options]
|
|
868
|
-
* @returns {StreamPromise<ExportBalanceHistoryFnOutput>}
|
|
869
|
-
*
|
|
870
1265
|
*/
|
|
871
1266
|
exportBalanceHistory(input: ExportBalanceHistoryFnInput, options?: ExportBalanceHistoryFnOptions): StreamPromise<ExportBalanceHistoryFnOutput>;
|
|
872
1267
|
/**
|
|
@@ -893,13 +1288,199 @@ export declare class Client {
|
|
|
893
1288
|
*
|
|
894
1289
|
* ```
|
|
895
1290
|
*
|
|
896
|
-
* @param {ExportTokensFnInput} [input]
|
|
897
|
-
* @param {ExportTokensFnOptions} [options]
|
|
898
|
-
* @returns {StreamPromise<ExportTokensFnOutput>}
|
|
899
|
-
*
|
|
900
1291
|
*/
|
|
901
|
-
exportTokens(
|
|
902
|
-
|
|
1292
|
+
exportTokens(input?: ExportTokensFnInput, options?: ExportTokensFnOptions): import("./lib/query-builder/find-query-builder").FindQueryBuilder<import("zod").ZodObject<{
|
|
1293
|
+
foreign: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
1294
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<["value", "share", "group", "contract"]>>;
|
|
1295
|
+
belongs_to: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1296
|
+
foreign: string;
|
|
1297
|
+
}, string | number>>;
|
|
1298
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
1299
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1300
|
+
type?: "value" | "group" | "share" | "contract" | undefined;
|
|
1301
|
+
foreign?: string | undefined;
|
|
1302
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1303
|
+
belongs_to?: {
|
|
1304
|
+
foreign: string;
|
|
1305
|
+
} | undefined;
|
|
1306
|
+
}, {
|
|
1307
|
+
type?: "value" | "group" | "share" | "contract" | undefined;
|
|
1308
|
+
foreign?: string | number | undefined;
|
|
1309
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1310
|
+
belongs_to?: string | number | undefined;
|
|
1311
|
+
}>, import("zod").ZodObject<{
|
|
1312
|
+
foreign: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>>;
|
|
1313
|
+
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["value", "share", "group", "contract"]>>>;
|
|
1314
|
+
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>>;
|
|
1315
|
+
belongs_to: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
1316
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1317
|
+
id: import("zod").ZodNumber;
|
|
1318
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1319
|
+
id: number;
|
|
1320
|
+
foreign?: string | undefined;
|
|
1321
|
+
}, {
|
|
1322
|
+
id: number;
|
|
1323
|
+
foreign?: string | undefined;
|
|
1324
|
+
}>, import("zod").ZodObject<{
|
|
1325
|
+
foreign: import("zod").ZodString;
|
|
1326
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1327
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1328
|
+
foreign: string;
|
|
1329
|
+
id?: number | undefined;
|
|
1330
|
+
}, {
|
|
1331
|
+
foreign: string;
|
|
1332
|
+
id?: number | undefined;
|
|
1333
|
+
}>]>>>;
|
|
1334
|
+
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["active", "dw-only", "disabled"]>>>;
|
|
1335
|
+
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
1336
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
1337
|
+
public: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
1338
|
+
id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
1339
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1340
|
+
type?: "value" | "group" | "share" | "contract" | undefined;
|
|
1341
|
+
status?: "active" | "disabled" | "dw-only" | undefined;
|
|
1342
|
+
foreign?: string | undefined;
|
|
1343
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1344
|
+
id?: number | undefined;
|
|
1345
|
+
created_at?: string | undefined;
|
|
1346
|
+
updated_at?: string | undefined;
|
|
1347
|
+
public?: boolean | undefined;
|
|
1348
|
+
belongs_to?: {
|
|
1349
|
+
id: number;
|
|
1350
|
+
foreign?: string | undefined;
|
|
1351
|
+
} | {
|
|
1352
|
+
foreign: string;
|
|
1353
|
+
id?: number | undefined;
|
|
1354
|
+
} | undefined;
|
|
1355
|
+
}, {
|
|
1356
|
+
type?: "value" | "group" | "share" | "contract" | undefined;
|
|
1357
|
+
status?: "active" | "disabled" | "dw-only" | undefined;
|
|
1358
|
+
foreign?: string | number | undefined;
|
|
1359
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1360
|
+
id?: string | number | undefined;
|
|
1361
|
+
created_at?: string | undefined;
|
|
1362
|
+
updated_at?: string | undefined;
|
|
1363
|
+
public?: boolean | undefined;
|
|
1364
|
+
belongs_to?: {
|
|
1365
|
+
id: number;
|
|
1366
|
+
foreign?: string | undefined;
|
|
1367
|
+
} | {
|
|
1368
|
+
foreign: string;
|
|
1369
|
+
id?: number | undefined;
|
|
1370
|
+
} | undefined;
|
|
1371
|
+
}>, import("zod").ZodObject<{
|
|
1372
|
+
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
1373
|
+
transaction_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
1374
|
+
limit: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
1375
|
+
offset: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
1376
|
+
return_metadata_total: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
1377
|
+
include_balance: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
1378
|
+
order: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
1379
|
+
field: import("zod").ZodString;
|
|
1380
|
+
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["asc", "desc"]>>>;
|
|
1381
|
+
nulls: import("zod").ZodOptional<import("zod").ZodEnum<["first", "last"]>>;
|
|
1382
|
+
}, {
|
|
1383
|
+
field: import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "created_at", "updated_at", "limit", "public", "belongs_to", "divisor"]>;
|
|
1384
|
+
}>, "strict", import("zod").ZodTypeAny, {
|
|
1385
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
1386
|
+
direction?: "asc" | "desc" | undefined;
|
|
1387
|
+
nulls?: "first" | "last" | undefined;
|
|
1388
|
+
}, {
|
|
1389
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
1390
|
+
direction?: "asc" | "desc" | undefined;
|
|
1391
|
+
nulls?: "first" | "last" | undefined;
|
|
1392
|
+
}>, "many">>>;
|
|
1393
|
+
select: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "created_at", "updated_at", "limit", "public", "belongs_to", "divisor", "balance_transfer_id", "balance_pending_amount", "balance_pending_amount_to", "balance_pending_amount_from", "balance_finished_amount", "balance_amount", "balance_available_balance", "balance_latest_control_hash", "balance_updated_at", "belongs_to_foreign"]>, "many">>>;
|
|
1394
|
+
deselect: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "created_at", "updated_at", "limit", "public", "belongs_to", "divisor", "balance_transfer_id", "balance_pending_amount", "balance_pending_amount_to", "balance_pending_amount_from", "balance_finished_amount", "balance_amount", "balance_available_balance", "balance_latest_control_hash", "balance_updated_at", "belongs_to_foreign"]>, "many">>>;
|
|
1395
|
+
order_by: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1396
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1397
|
+
offset?: number | undefined;
|
|
1398
|
+
tracking_id?: string | undefined;
|
|
1399
|
+
transaction_id?: string | undefined;
|
|
1400
|
+
limit?: number | undefined;
|
|
1401
|
+
return_metadata_total?: boolean | undefined;
|
|
1402
|
+
order?: {
|
|
1403
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
1404
|
+
direction?: "asc" | "desc" | undefined;
|
|
1405
|
+
nulls?: "first" | "last" | undefined;
|
|
1406
|
+
}[] | undefined;
|
|
1407
|
+
select?: ("type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at" | "belongs_to_foreign")[] | undefined;
|
|
1408
|
+
deselect?: ("type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at" | "belongs_to_foreign")[] | undefined;
|
|
1409
|
+
order_by?: string | undefined;
|
|
1410
|
+
include_balance?: boolean | undefined;
|
|
1411
|
+
}, {
|
|
1412
|
+
offset?: number | undefined;
|
|
1413
|
+
tracking_id?: string | undefined;
|
|
1414
|
+
transaction_id?: string | undefined;
|
|
1415
|
+
limit?: number | undefined;
|
|
1416
|
+
return_metadata_total?: boolean | undefined;
|
|
1417
|
+
order?: {
|
|
1418
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
1419
|
+
direction?: "asc" | "desc" | undefined;
|
|
1420
|
+
nulls?: "first" | "last" | undefined;
|
|
1421
|
+
}[] | undefined;
|
|
1422
|
+
select?: ("type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at" | "belongs_to_foreign")[] | undefined;
|
|
1423
|
+
deselect?: ("type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at" | "belongs_to_foreign")[] | undefined;
|
|
1424
|
+
order_by?: string | undefined;
|
|
1425
|
+
include_balance?: boolean | undefined;
|
|
1426
|
+
}>, {
|
|
1427
|
+
export?: {
|
|
1428
|
+
identifier: string;
|
|
1429
|
+
message?: string | undefined;
|
|
1430
|
+
type?: "unknown" | "transfers" | "transfer_groups" | "tokens" | "wallets" | "balance_history" | undefined;
|
|
1431
|
+
status?: "error" | "started" | "completed" | undefined;
|
|
1432
|
+
count?: number | undefined;
|
|
1433
|
+
created_at?: string | undefined;
|
|
1434
|
+
completed_at?: string | undefined;
|
|
1435
|
+
fields?: string[] | undefined;
|
|
1436
|
+
signed_url?: string | undefined;
|
|
1437
|
+
size?: string | undefined;
|
|
1438
|
+
} | undefined;
|
|
1439
|
+
}, {
|
|
1440
|
+
type: "value" | "group" | "share" | "contract";
|
|
1441
|
+
status: "active" | "disabled" | "dw-only";
|
|
1442
|
+
foreign: string;
|
|
1443
|
+
id: number;
|
|
1444
|
+
created_at: string;
|
|
1445
|
+
updated_at: string;
|
|
1446
|
+
public: boolean;
|
|
1447
|
+
belongs_to: number;
|
|
1448
|
+
balance_transfer_id: number | null;
|
|
1449
|
+
balance_pending_amount: number | null;
|
|
1450
|
+
balance_pending_amount_to: number | null;
|
|
1451
|
+
balance_pending_amount_from: number | null;
|
|
1452
|
+
balance_finished_amount: number | null;
|
|
1453
|
+
balance_amount: number | null;
|
|
1454
|
+
balance_available_balance: number | null;
|
|
1455
|
+
balance_latest_control_hash: string | null;
|
|
1456
|
+
balance_updated_at: string | null;
|
|
1457
|
+
belongs_to_foreign: string | null;
|
|
1458
|
+
metadata?: import("./db/consts").Metadata | undefined;
|
|
1459
|
+
limit?: number | null | undefined;
|
|
1460
|
+
divisor?: number | null | undefined;
|
|
1461
|
+
}, import("./lib/query-builder/find-query-builder").AllTrue<{
|
|
1462
|
+
id: number;
|
|
1463
|
+
type?: "value" | "group" | "share" | "contract" | undefined;
|
|
1464
|
+
status?: "active" | "disabled" | "dw-only" | undefined;
|
|
1465
|
+
foreign?: string | undefined;
|
|
1466
|
+
metadata?: import("./db/consts").Metadata | undefined;
|
|
1467
|
+
limit?: number | null | undefined;
|
|
1468
|
+
created_at?: string | undefined;
|
|
1469
|
+
updated_at?: string | undefined;
|
|
1470
|
+
public?: boolean | undefined;
|
|
1471
|
+
belongs_to?: number | undefined;
|
|
1472
|
+
divisor?: number | null | undefined;
|
|
1473
|
+
balance_transfer_id?: number | null | undefined;
|
|
1474
|
+
balance_pending_amount?: number | null | undefined;
|
|
1475
|
+
balance_pending_amount_to?: number | null | undefined;
|
|
1476
|
+
balance_pending_amount_from?: number | null | undefined;
|
|
1477
|
+
balance_finished_amount?: number | null | undefined;
|
|
1478
|
+
balance_amount?: number | null | undefined;
|
|
1479
|
+
balance_available_balance?: number | null | undefined;
|
|
1480
|
+
balance_latest_control_hash?: string | null | undefined;
|
|
1481
|
+
balance_updated_at?: string | null | undefined;
|
|
1482
|
+
belongs_to_foreign?: string | null | undefined;
|
|
1483
|
+
}>, {}, true>;
|
|
903
1484
|
/**
|
|
904
1485
|
*
|
|
905
1486
|
* Search for TransferGroups using either a simple filter or queryBuilder and save the results to an Export
|
|
@@ -924,13 +1505,204 @@ export declare class Client {
|
|
|
924
1505
|
*
|
|
925
1506
|
* ```
|
|
926
1507
|
*
|
|
927
|
-
* @param {ExportTransferGroupsFnInput} [input]
|
|
928
|
-
* @param {ExportTransferGroupsFnOptions} [options]
|
|
929
|
-
* @returns {StreamPromise<ExportTransferGroupsFnOutput>}
|
|
930
|
-
*
|
|
931
1508
|
*/
|
|
932
|
-
exportTransferGroups(
|
|
933
|
-
|
|
1509
|
+
exportTransferGroups(input?: ExportTransferGroupsFnInput, options?: ExportTransferGroupsFnOptions): import("./lib/query-builder/find-query-builder").FindQueryBuilder<import("zod").ZodObject<{
|
|
1510
|
+
identifier: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
1511
|
+
transfer_status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>>;
|
|
1512
|
+
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["open", "closed"]>>>;
|
|
1513
|
+
reverses: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1514
|
+
identifier: string;
|
|
1515
|
+
}, string | number>>;
|
|
1516
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<["regular", "exchange", "distribution"]>>;
|
|
1517
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
1518
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1519
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
1520
|
+
status?: "open" | "closed" | undefined;
|
|
1521
|
+
identifier?: string | undefined;
|
|
1522
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1523
|
+
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1524
|
+
reverses?: {
|
|
1525
|
+
identifier: string;
|
|
1526
|
+
} | undefined;
|
|
1527
|
+
}, {
|
|
1528
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
1529
|
+
status?: "open" | "closed" | undefined;
|
|
1530
|
+
identifier?: string | number | undefined;
|
|
1531
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1532
|
+
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1533
|
+
reverses?: string | number | undefined;
|
|
1534
|
+
}>, import("zod").ZodObject<{
|
|
1535
|
+
identifier: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>>;
|
|
1536
|
+
status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["open", "closed"]>>>;
|
|
1537
|
+
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["regular", "exchange", "distribution"]>>>;
|
|
1538
|
+
transfer_status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>>;
|
|
1539
|
+
reverses: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
1540
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1541
|
+
id: import("zod").ZodNumber;
|
|
1542
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1543
|
+
id: number;
|
|
1544
|
+
identifier?: string | undefined;
|
|
1545
|
+
}, {
|
|
1546
|
+
id: number;
|
|
1547
|
+
identifier?: string | undefined;
|
|
1548
|
+
}>, import("zod").ZodObject<{
|
|
1549
|
+
identifier: import("zod").ZodString;
|
|
1550
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1551
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1552
|
+
identifier: string;
|
|
1553
|
+
id?: number | undefined;
|
|
1554
|
+
}, {
|
|
1555
|
+
identifier: string;
|
|
1556
|
+
id?: number | undefined;
|
|
1557
|
+
}>]>>>;
|
|
1558
|
+
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>>;
|
|
1559
|
+
readonly created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
1560
|
+
readonly updated_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
1561
|
+
readonly status_finalized_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>>>;
|
|
1562
|
+
readonly transfer_status_finalized_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>>>;
|
|
1563
|
+
id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
1564
|
+
transfer_group_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
1565
|
+
reverses_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
1566
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1567
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
1568
|
+
status?: "open" | "closed" | undefined;
|
|
1569
|
+
identifier?: string | undefined;
|
|
1570
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1571
|
+
id?: number | undefined;
|
|
1572
|
+
created_at?: string | undefined;
|
|
1573
|
+
updated_at?: string | undefined;
|
|
1574
|
+
transfer_group_id?: number | undefined;
|
|
1575
|
+
reverses_id?: number | undefined;
|
|
1576
|
+
status_finalized_at?: string | null | undefined;
|
|
1577
|
+
transfer_status_finalized_at?: string | null | undefined;
|
|
1578
|
+
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1579
|
+
reverses?: {
|
|
1580
|
+
id: number;
|
|
1581
|
+
identifier?: string | undefined;
|
|
1582
|
+
} | {
|
|
1583
|
+
identifier: string;
|
|
1584
|
+
id?: number | undefined;
|
|
1585
|
+
} | undefined;
|
|
1586
|
+
}, {
|
|
1587
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
1588
|
+
status?: "open" | "closed" | undefined;
|
|
1589
|
+
identifier?: string | number | undefined;
|
|
1590
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1591
|
+
id?: string | number | undefined;
|
|
1592
|
+
created_at?: string | undefined;
|
|
1593
|
+
updated_at?: string | undefined;
|
|
1594
|
+
transfer_group_id?: string | number | undefined;
|
|
1595
|
+
reverses_id?: string | number | undefined;
|
|
1596
|
+
status_finalized_at?: string | null | undefined;
|
|
1597
|
+
transfer_status_finalized_at?: string | null | undefined;
|
|
1598
|
+
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1599
|
+
reverses?: {
|
|
1600
|
+
id: number;
|
|
1601
|
+
identifier?: string | undefined;
|
|
1602
|
+
} | {
|
|
1603
|
+
identifier: string;
|
|
1604
|
+
id?: number | undefined;
|
|
1605
|
+
} | undefined;
|
|
1606
|
+
}>, import("zod").ZodObject<{
|
|
1607
|
+
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
1608
|
+
transaction_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
1609
|
+
limit: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
1610
|
+
offset: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
1611
|
+
return_metadata_total: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
1612
|
+
return_transfers_count: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>>;
|
|
1613
|
+
order: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
1614
|
+
field: import("zod").ZodString;
|
|
1615
|
+
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["asc", "desc"]>>>;
|
|
1616
|
+
nulls: import("zod").ZodOptional<import("zod").ZodEnum<["first", "last"]>>;
|
|
1617
|
+
}, {
|
|
1618
|
+
field: import("zod").ZodEnum<["type", "status", "metadata", "id", "created_at", "updated_at", "identifier", "transfer_group_id", "reverses_id", "status_finalized_at", "transfer_status_finalized_at", "validate_final_balance_only", "transfer_status"]>;
|
|
1619
|
+
}>, "strict", import("zod").ZodTypeAny, {
|
|
1620
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "transfer_status_finalized_at" | "validate_final_balance_only" | "transfer_status";
|
|
1621
|
+
direction?: "asc" | "desc" | undefined;
|
|
1622
|
+
nulls?: "first" | "last" | undefined;
|
|
1623
|
+
}, {
|
|
1624
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "transfer_status_finalized_at" | "validate_final_balance_only" | "transfer_status";
|
|
1625
|
+
direction?: "asc" | "desc" | undefined;
|
|
1626
|
+
nulls?: "first" | "last" | undefined;
|
|
1627
|
+
}>, "many">>>;
|
|
1628
|
+
select: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "metadata", "id", "created_at", "updated_at", "identifier", "transfer_group_id", "reverses_id", "status_finalized_at", "transfer_status_finalized_at", "validate_final_balance_only", "transfer_status", "reverses_identifier", "transfers_count"]>, "many">>>;
|
|
1629
|
+
deselect: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "metadata", "id", "created_at", "updated_at", "identifier", "transfer_group_id", "reverses_id", "status_finalized_at", "transfer_status_finalized_at", "validate_final_balance_only", "transfer_status", "reverses_identifier", "transfers_count"]>, "many">>>;
|
|
1630
|
+
order_by: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1631
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1632
|
+
offset?: number | undefined;
|
|
1633
|
+
tracking_id?: string | undefined;
|
|
1634
|
+
transaction_id?: string | undefined;
|
|
1635
|
+
limit?: number | undefined;
|
|
1636
|
+
return_metadata_total?: boolean | undefined;
|
|
1637
|
+
order?: {
|
|
1638
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "transfer_status_finalized_at" | "validate_final_balance_only" | "transfer_status";
|
|
1639
|
+
direction?: "asc" | "desc" | undefined;
|
|
1640
|
+
nulls?: "first" | "last" | undefined;
|
|
1641
|
+
}[] | undefined;
|
|
1642
|
+
select?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "transfer_status_finalized_at" | "validate_final_balance_only" | "transfer_status" | "reverses_identifier" | "transfers_count")[] | undefined;
|
|
1643
|
+
deselect?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "transfer_status_finalized_at" | "validate_final_balance_only" | "transfer_status" | "reverses_identifier" | "transfers_count")[] | undefined;
|
|
1644
|
+
order_by?: string | undefined;
|
|
1645
|
+
return_transfers_count?: boolean | undefined;
|
|
1646
|
+
}, {
|
|
1647
|
+
offset?: number | undefined;
|
|
1648
|
+
tracking_id?: string | undefined;
|
|
1649
|
+
transaction_id?: string | undefined;
|
|
1650
|
+
limit?: number | undefined;
|
|
1651
|
+
return_metadata_total?: boolean | undefined;
|
|
1652
|
+
order?: {
|
|
1653
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "transfer_status_finalized_at" | "validate_final_balance_only" | "transfer_status";
|
|
1654
|
+
direction?: "asc" | "desc" | undefined;
|
|
1655
|
+
nulls?: "first" | "last" | undefined;
|
|
1656
|
+
}[] | undefined;
|
|
1657
|
+
select?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "transfer_status_finalized_at" | "validate_final_balance_only" | "transfer_status" | "reverses_identifier" | "transfers_count")[] | undefined;
|
|
1658
|
+
deselect?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "transfer_status_finalized_at" | "validate_final_balance_only" | "transfer_status" | "reverses_identifier" | "transfers_count")[] | undefined;
|
|
1659
|
+
order_by?: string | undefined;
|
|
1660
|
+
return_transfers_count?: boolean | undefined;
|
|
1661
|
+
}>, {
|
|
1662
|
+
export?: {
|
|
1663
|
+
identifier: string;
|
|
1664
|
+
message?: string | undefined;
|
|
1665
|
+
type?: "unknown" | "transfers" | "transfer_groups" | "tokens" | "wallets" | "balance_history" | undefined;
|
|
1666
|
+
status?: "error" | "started" | "completed" | undefined;
|
|
1667
|
+
count?: number | undefined;
|
|
1668
|
+
created_at?: string | undefined;
|
|
1669
|
+
completed_at?: string | undefined;
|
|
1670
|
+
fields?: string[] | undefined;
|
|
1671
|
+
signed_url?: string | undefined;
|
|
1672
|
+
size?: string | undefined;
|
|
1673
|
+
} | undefined;
|
|
1674
|
+
}, {
|
|
1675
|
+
id: number;
|
|
1676
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
1677
|
+
status?: "open" | "closed" | undefined;
|
|
1678
|
+
identifier?: string | undefined;
|
|
1679
|
+
metadata?: import("./db/consts").Metadata | undefined;
|
|
1680
|
+
created_at?: string | undefined;
|
|
1681
|
+
updated_at?: string | undefined;
|
|
1682
|
+
transfer_group_id?: number | null | undefined;
|
|
1683
|
+
reverses_id?: number | null | undefined;
|
|
1684
|
+
status_finalized_at?: string | null | undefined;
|
|
1685
|
+
transfer_status_finalized_at?: string | null | undefined;
|
|
1686
|
+
validate_final_balance_only?: boolean | null | undefined;
|
|
1687
|
+
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1688
|
+
reverses_identifier?: string | null | undefined;
|
|
1689
|
+
transfers_count?: number | undefined;
|
|
1690
|
+
}, import("./lib/query-builder/find-query-builder").AllTrue<{
|
|
1691
|
+
id: number;
|
|
1692
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
1693
|
+
status?: "open" | "closed" | undefined;
|
|
1694
|
+
identifier?: string | undefined;
|
|
1695
|
+
metadata?: import("./db/consts").Metadata | undefined;
|
|
1696
|
+
created_at?: string | undefined;
|
|
1697
|
+
updated_at?: string | undefined;
|
|
1698
|
+
transfer_group_id?: number | null | undefined;
|
|
1699
|
+
reverses_id?: number | null | undefined;
|
|
1700
|
+
status_finalized_at?: string | null | undefined;
|
|
1701
|
+
transfer_status_finalized_at?: string | null | undefined;
|
|
1702
|
+
validate_final_balance_only?: boolean | null | undefined;
|
|
1703
|
+
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1704
|
+
reverses_identifier?: string | null | undefined;
|
|
1705
|
+
}>, {}, true>;
|
|
934
1706
|
/**
|
|
935
1707
|
*
|
|
936
1708
|
* Search for Transfers using either a simple filter or queryBuilder and save the results to an Export
|
|
@@ -965,13 +1737,437 @@ export declare class Client {
|
|
|
965
1737
|
*
|
|
966
1738
|
* ```
|
|
967
1739
|
*
|
|
968
|
-
* @param {ExportTransfersFnInput} [input]
|
|
969
|
-
* @param {ExportTransfersFnOptions} [options]
|
|
970
|
-
* @returns {StreamPromise<ExportTransfersFnOutput>}
|
|
971
|
-
*
|
|
972
1740
|
*/
|
|
973
|
-
exportTransfers(
|
|
974
|
-
|
|
1741
|
+
exportTransfers(input?: ExportTransfersFnInput, options?: ExportTransfersFnOptions): import("./lib/query-builder/find-query-builder").FindQueryBuilder<import("zod").ZodObject<{
|
|
1742
|
+
wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1743
|
+
foreign: string;
|
|
1744
|
+
}, string | number>>;
|
|
1745
|
+
token: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1746
|
+
foreign: string;
|
|
1747
|
+
}, string | number>>;
|
|
1748
|
+
from_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1749
|
+
foreign: string;
|
|
1750
|
+
}, string | number>>;
|
|
1751
|
+
to_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1752
|
+
foreign: string;
|
|
1753
|
+
}, string | number>>;
|
|
1754
|
+
transfer_group: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1755
|
+
foreign: string;
|
|
1756
|
+
}, string | number>>;
|
|
1757
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<["transfer", "deposit", "withdrawal"]>>;
|
|
1758
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
1759
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
1760
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
1761
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
1762
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1763
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1764
|
+
token?: {
|
|
1765
|
+
foreign: string;
|
|
1766
|
+
} | undefined;
|
|
1767
|
+
wallet?: {
|
|
1768
|
+
foreign: string;
|
|
1769
|
+
} | undefined;
|
|
1770
|
+
transfer_group?: {
|
|
1771
|
+
foreign: string;
|
|
1772
|
+
} | undefined;
|
|
1773
|
+
from_wallet?: {
|
|
1774
|
+
foreign: string;
|
|
1775
|
+
} | undefined;
|
|
1776
|
+
to_wallet?: {
|
|
1777
|
+
foreign: string;
|
|
1778
|
+
} | undefined;
|
|
1779
|
+
}, {
|
|
1780
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
1781
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1782
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1783
|
+
token?: string | number | undefined;
|
|
1784
|
+
wallet?: string | number | undefined;
|
|
1785
|
+
transfer_group?: string | number | undefined;
|
|
1786
|
+
from_wallet?: string | number | undefined;
|
|
1787
|
+
to_wallet?: string | number | undefined;
|
|
1788
|
+
}>, import("zod").ZodObject<{
|
|
1789
|
+
id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>;
|
|
1790
|
+
identifier: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>>;
|
|
1791
|
+
from_wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
1792
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1793
|
+
id: import("zod").ZodNumber;
|
|
1794
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1795
|
+
id: number;
|
|
1796
|
+
foreign?: string | undefined;
|
|
1797
|
+
}, {
|
|
1798
|
+
id: number;
|
|
1799
|
+
foreign?: string | undefined;
|
|
1800
|
+
}>, import("zod").ZodObject<{
|
|
1801
|
+
foreign: import("zod").ZodString;
|
|
1802
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1803
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1804
|
+
foreign: string;
|
|
1805
|
+
id?: number | undefined;
|
|
1806
|
+
}, {
|
|
1807
|
+
foreign: string;
|
|
1808
|
+
id?: number | undefined;
|
|
1809
|
+
}>]>>>;
|
|
1810
|
+
to_wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
1811
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1812
|
+
id: import("zod").ZodNumber;
|
|
1813
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1814
|
+
id: number;
|
|
1815
|
+
foreign?: string | undefined;
|
|
1816
|
+
}, {
|
|
1817
|
+
id: number;
|
|
1818
|
+
foreign?: string | undefined;
|
|
1819
|
+
}>, import("zod").ZodObject<{
|
|
1820
|
+
foreign: import("zod").ZodString;
|
|
1821
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1822
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1823
|
+
foreign: string;
|
|
1824
|
+
id?: number | undefined;
|
|
1825
|
+
}, {
|
|
1826
|
+
foreign: string;
|
|
1827
|
+
id?: number | undefined;
|
|
1828
|
+
}>]>>>;
|
|
1829
|
+
wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
1830
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1831
|
+
id: import("zod").ZodNumber;
|
|
1832
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1833
|
+
id: number;
|
|
1834
|
+
foreign?: string | undefined;
|
|
1835
|
+
}, {
|
|
1836
|
+
id: number;
|
|
1837
|
+
foreign?: string | undefined;
|
|
1838
|
+
}>, import("zod").ZodObject<{
|
|
1839
|
+
foreign: import("zod").ZodString;
|
|
1840
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1841
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1842
|
+
foreign: string;
|
|
1843
|
+
id?: number | undefined;
|
|
1844
|
+
}, {
|
|
1845
|
+
foreign: string;
|
|
1846
|
+
id?: number | undefined;
|
|
1847
|
+
}>]>>>;
|
|
1848
|
+
token: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
1849
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1850
|
+
id: import("zod").ZodNumber;
|
|
1851
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1852
|
+
id: number;
|
|
1853
|
+
foreign?: string | undefined;
|
|
1854
|
+
}, {
|
|
1855
|
+
id: number;
|
|
1856
|
+
foreign?: string | undefined;
|
|
1857
|
+
}>, import("zod").ZodObject<{
|
|
1858
|
+
foreign: import("zod").ZodString;
|
|
1859
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1860
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1861
|
+
foreign: string;
|
|
1862
|
+
id?: number | undefined;
|
|
1863
|
+
}, {
|
|
1864
|
+
foreign: string;
|
|
1865
|
+
id?: number | undefined;
|
|
1866
|
+
}>]>>>;
|
|
1867
|
+
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["transfer", "deposit", "withdrawal"]>>>;
|
|
1868
|
+
status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>>;
|
|
1869
|
+
transfer_group: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
1870
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1871
|
+
id: import("zod").ZodNumber;
|
|
1872
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1873
|
+
id: number;
|
|
1874
|
+
identifier?: string | undefined;
|
|
1875
|
+
}, {
|
|
1876
|
+
id: number;
|
|
1877
|
+
identifier?: string | undefined;
|
|
1878
|
+
}>, import("zod").ZodObject<{
|
|
1879
|
+
identifier: import("zod").ZodString;
|
|
1880
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1881
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1882
|
+
identifier: string;
|
|
1883
|
+
id?: number | undefined;
|
|
1884
|
+
}, {
|
|
1885
|
+
identifier: string;
|
|
1886
|
+
id?: number | undefined;
|
|
1887
|
+
}>]>>>;
|
|
1888
|
+
reverses: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
1889
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1890
|
+
id: import("zod").ZodNumber;
|
|
1891
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1892
|
+
id: number;
|
|
1893
|
+
identifier?: string | undefined;
|
|
1894
|
+
}, {
|
|
1895
|
+
id: number;
|
|
1896
|
+
identifier?: string | undefined;
|
|
1897
|
+
}>, import("zod").ZodObject<{
|
|
1898
|
+
identifier: import("zod").ZodString;
|
|
1899
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1900
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1901
|
+
identifier: string;
|
|
1902
|
+
id?: number | undefined;
|
|
1903
|
+
}, {
|
|
1904
|
+
identifier: string;
|
|
1905
|
+
id?: number | undefined;
|
|
1906
|
+
}>]>>>;
|
|
1907
|
+
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>>;
|
|
1908
|
+
amount: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>;
|
|
1909
|
+
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
1910
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
1911
|
+
status_finalized_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>>>;
|
|
1912
|
+
from_wallet_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
1913
|
+
to_wallet_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
1914
|
+
token_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
1915
|
+
transfer_group_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
1916
|
+
reverses_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
1917
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1918
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
1919
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1920
|
+
identifier?: string | undefined;
|
|
1921
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1922
|
+
id?: number | undefined;
|
|
1923
|
+
token?: {
|
|
1924
|
+
id: number;
|
|
1925
|
+
foreign?: string | undefined;
|
|
1926
|
+
} | {
|
|
1927
|
+
foreign: string;
|
|
1928
|
+
id?: number | undefined;
|
|
1929
|
+
} | undefined;
|
|
1930
|
+
created_at?: string | undefined;
|
|
1931
|
+
updated_at?: string | undefined;
|
|
1932
|
+
from_wallet_id?: number | undefined;
|
|
1933
|
+
to_wallet_id?: number | undefined;
|
|
1934
|
+
token_id?: number | undefined;
|
|
1935
|
+
amount?: number | undefined;
|
|
1936
|
+
transfer_group_id?: number | undefined;
|
|
1937
|
+
reverses_id?: number | undefined;
|
|
1938
|
+
status_finalized_at?: string | null | undefined;
|
|
1939
|
+
wallet?: {
|
|
1940
|
+
id: number;
|
|
1941
|
+
foreign?: string | undefined;
|
|
1942
|
+
} | {
|
|
1943
|
+
foreign: string;
|
|
1944
|
+
id?: number | undefined;
|
|
1945
|
+
} | undefined;
|
|
1946
|
+
transfer_group?: {
|
|
1947
|
+
id: number;
|
|
1948
|
+
identifier?: string | undefined;
|
|
1949
|
+
} | {
|
|
1950
|
+
identifier: string;
|
|
1951
|
+
id?: number | undefined;
|
|
1952
|
+
} | undefined;
|
|
1953
|
+
from_wallet?: {
|
|
1954
|
+
id: number;
|
|
1955
|
+
foreign?: string | undefined;
|
|
1956
|
+
} | {
|
|
1957
|
+
foreign: string;
|
|
1958
|
+
id?: number | undefined;
|
|
1959
|
+
} | undefined;
|
|
1960
|
+
to_wallet?: {
|
|
1961
|
+
id: number;
|
|
1962
|
+
foreign?: string | undefined;
|
|
1963
|
+
} | {
|
|
1964
|
+
foreign: string;
|
|
1965
|
+
id?: number | undefined;
|
|
1966
|
+
} | undefined;
|
|
1967
|
+
reverses?: {
|
|
1968
|
+
id: number;
|
|
1969
|
+
identifier?: string | undefined;
|
|
1970
|
+
} | {
|
|
1971
|
+
identifier: string;
|
|
1972
|
+
id?: number | undefined;
|
|
1973
|
+
} | undefined;
|
|
1974
|
+
}, {
|
|
1975
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
1976
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1977
|
+
identifier?: string | number | undefined;
|
|
1978
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1979
|
+
id?: string | number | undefined;
|
|
1980
|
+
token?: {
|
|
1981
|
+
id: number;
|
|
1982
|
+
foreign?: string | undefined;
|
|
1983
|
+
} | {
|
|
1984
|
+
foreign: string;
|
|
1985
|
+
id?: number | undefined;
|
|
1986
|
+
} | undefined;
|
|
1987
|
+
created_at?: string | undefined;
|
|
1988
|
+
updated_at?: string | undefined;
|
|
1989
|
+
from_wallet_id?: string | number | undefined;
|
|
1990
|
+
to_wallet_id?: string | number | undefined;
|
|
1991
|
+
token_id?: string | number | undefined;
|
|
1992
|
+
amount?: string | number | undefined;
|
|
1993
|
+
transfer_group_id?: string | number | undefined;
|
|
1994
|
+
reverses_id?: string | number | undefined;
|
|
1995
|
+
status_finalized_at?: string | null | undefined;
|
|
1996
|
+
wallet?: {
|
|
1997
|
+
id: number;
|
|
1998
|
+
foreign?: string | undefined;
|
|
1999
|
+
} | {
|
|
2000
|
+
foreign: string;
|
|
2001
|
+
id?: number | undefined;
|
|
2002
|
+
} | undefined;
|
|
2003
|
+
transfer_group?: {
|
|
2004
|
+
id: number;
|
|
2005
|
+
identifier?: string | undefined;
|
|
2006
|
+
} | {
|
|
2007
|
+
identifier: string;
|
|
2008
|
+
id?: number | undefined;
|
|
2009
|
+
} | undefined;
|
|
2010
|
+
from_wallet?: {
|
|
2011
|
+
id: number;
|
|
2012
|
+
foreign?: string | undefined;
|
|
2013
|
+
} | {
|
|
2014
|
+
foreign: string;
|
|
2015
|
+
id?: number | undefined;
|
|
2016
|
+
} | undefined;
|
|
2017
|
+
to_wallet?: {
|
|
2018
|
+
id: number;
|
|
2019
|
+
foreign?: string | undefined;
|
|
2020
|
+
} | {
|
|
2021
|
+
foreign: string;
|
|
2022
|
+
id?: number | undefined;
|
|
2023
|
+
} | undefined;
|
|
2024
|
+
reverses?: {
|
|
2025
|
+
id: number;
|
|
2026
|
+
identifier?: string | undefined;
|
|
2027
|
+
} | {
|
|
2028
|
+
identifier: string;
|
|
2029
|
+
id?: number | undefined;
|
|
2030
|
+
} | undefined;
|
|
2031
|
+
}>, import("zod").ZodObject<{
|
|
2032
|
+
offset: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
2033
|
+
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
2034
|
+
transaction_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
2035
|
+
limit: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
2036
|
+
return_metadata_total: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
2037
|
+
order: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
2038
|
+
field: import("zod").ZodString;
|
|
2039
|
+
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["asc", "desc"]>>>;
|
|
2040
|
+
nulls: import("zod").ZodOptional<import("zod").ZodEnum<["first", "last"]>>;
|
|
2041
|
+
}, {
|
|
2042
|
+
field: import("zod").ZodEnum<["type", "status", "metadata", "id", "created_at", "updated_at", "identifier", "control_hash", "from_wallet_id", "to_wallet_id", "token_id", "amount", "force", "auto_hash", "transfer_group_id", "reverses_id", "status_finalized_at", "group_validate"]>;
|
|
2043
|
+
}>, "strict", import("zod").ZodTypeAny, {
|
|
2044
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate";
|
|
2045
|
+
direction?: "asc" | "desc" | undefined;
|
|
2046
|
+
nulls?: "first" | "last" | undefined;
|
|
2047
|
+
}, {
|
|
2048
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate";
|
|
2049
|
+
direction?: "asc" | "desc" | undefined;
|
|
2050
|
+
nulls?: "first" | "last" | undefined;
|
|
2051
|
+
}>, "many">>>;
|
|
2052
|
+
select: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "metadata", "id", "created_at", "updated_at", "identifier", "control_hash", "from_wallet_id", "to_wallet_id", "token_id", "amount", "force", "auto_hash", "transfer_group_id", "reverses_id", "status_finalized_at", "group_validate", "from_wallet_foreign", "to_wallet_foreign", "token_foreign", "transfer_group_identifier", "reverses_identifier"]>, "many">>>;
|
|
2053
|
+
deselect: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "metadata", "id", "created_at", "updated_at", "identifier", "control_hash", "from_wallet_id", "to_wallet_id", "token_id", "amount", "force", "auto_hash", "transfer_group_id", "reverses_id", "status_finalized_at", "group_validate", "from_wallet_foreign", "to_wallet_foreign", "token_foreign", "transfer_group_identifier", "reverses_identifier"]>, "many">>>;
|
|
2054
|
+
return_running_balance: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2055
|
+
return_signed_amount: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2056
|
+
return_running_balance_for_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
2057
|
+
foreign: string;
|
|
2058
|
+
}, string | number>>;
|
|
2059
|
+
return_signed_amount_for_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
2060
|
+
foreign: string;
|
|
2061
|
+
}, string | number>>;
|
|
2062
|
+
order_by: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2063
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2064
|
+
offset?: number | undefined;
|
|
2065
|
+
tracking_id?: string | undefined;
|
|
2066
|
+
transaction_id?: string | undefined;
|
|
2067
|
+
limit?: number | undefined;
|
|
2068
|
+
return_metadata_total?: boolean | undefined;
|
|
2069
|
+
order?: {
|
|
2070
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate";
|
|
2071
|
+
direction?: "asc" | "desc" | undefined;
|
|
2072
|
+
nulls?: "first" | "last" | undefined;
|
|
2073
|
+
}[] | undefined;
|
|
2074
|
+
select?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate" | "from_wallet_foreign" | "to_wallet_foreign" | "token_foreign" | "transfer_group_identifier" | "reverses_identifier")[] | undefined;
|
|
2075
|
+
deselect?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate" | "from_wallet_foreign" | "to_wallet_foreign" | "token_foreign" | "transfer_group_identifier" | "reverses_identifier")[] | undefined;
|
|
2076
|
+
order_by?: string | undefined;
|
|
2077
|
+
return_running_balance_for_wallet?: {
|
|
2078
|
+
foreign: string;
|
|
2079
|
+
} | undefined;
|
|
2080
|
+
return_signed_amount_for_wallet?: {
|
|
2081
|
+
foreign: string;
|
|
2082
|
+
} | undefined;
|
|
2083
|
+
return_running_balance?: boolean | undefined;
|
|
2084
|
+
return_signed_amount?: boolean | undefined;
|
|
2085
|
+
}, {
|
|
2086
|
+
offset?: number | undefined;
|
|
2087
|
+
tracking_id?: string | undefined;
|
|
2088
|
+
transaction_id?: string | undefined;
|
|
2089
|
+
limit?: number | undefined;
|
|
2090
|
+
return_metadata_total?: boolean | undefined;
|
|
2091
|
+
order?: {
|
|
2092
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate";
|
|
2093
|
+
direction?: "asc" | "desc" | undefined;
|
|
2094
|
+
nulls?: "first" | "last" | undefined;
|
|
2095
|
+
}[] | undefined;
|
|
2096
|
+
select?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate" | "from_wallet_foreign" | "to_wallet_foreign" | "token_foreign" | "transfer_group_identifier" | "reverses_identifier")[] | undefined;
|
|
2097
|
+
deselect?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate" | "from_wallet_foreign" | "to_wallet_foreign" | "token_foreign" | "transfer_group_identifier" | "reverses_identifier")[] | undefined;
|
|
2098
|
+
order_by?: string | undefined;
|
|
2099
|
+
return_running_balance_for_wallet?: string | number | undefined;
|
|
2100
|
+
return_signed_amount_for_wallet?: string | number | undefined;
|
|
2101
|
+
return_running_balance?: boolean | undefined;
|
|
2102
|
+
return_signed_amount?: boolean | undefined;
|
|
2103
|
+
}>, {
|
|
2104
|
+
export?: {
|
|
2105
|
+
identifier: string;
|
|
2106
|
+
message?: string | undefined;
|
|
2107
|
+
type?: "unknown" | "transfers" | "transfer_groups" | "tokens" | "wallets" | "balance_history" | undefined;
|
|
2108
|
+
status?: "error" | "started" | "completed" | undefined;
|
|
2109
|
+
count?: number | undefined;
|
|
2110
|
+
created_at?: string | undefined;
|
|
2111
|
+
completed_at?: string | undefined;
|
|
2112
|
+
fields?: string[] | undefined;
|
|
2113
|
+
signed_url?: string | undefined;
|
|
2114
|
+
size?: string | undefined;
|
|
2115
|
+
} | undefined;
|
|
2116
|
+
}, {
|
|
2117
|
+
type: "transfer" | "deposit" | "withdrawal";
|
|
2118
|
+
status: "pending" | "finished" | "cancelled";
|
|
2119
|
+
identifier: string;
|
|
2120
|
+
id: number;
|
|
2121
|
+
created_at: string;
|
|
2122
|
+
updated_at: string;
|
|
2123
|
+
control_hash: string | null;
|
|
2124
|
+
from_wallet_id: number;
|
|
2125
|
+
to_wallet_id: number;
|
|
2126
|
+
token_id: number;
|
|
2127
|
+
amount: number;
|
|
2128
|
+
force: boolean;
|
|
2129
|
+
auto_hash: boolean;
|
|
2130
|
+
status_finalized_at: string | null;
|
|
2131
|
+
from_wallet_foreign: string;
|
|
2132
|
+
to_wallet_foreign: string;
|
|
2133
|
+
token_foreign: string;
|
|
2134
|
+
transfer_group_identifier: string | null;
|
|
2135
|
+
reverses_identifier: string | null;
|
|
2136
|
+
balance_id: number | null;
|
|
2137
|
+
balance_pending: number | null;
|
|
2138
|
+
balance_pending_to: number | null;
|
|
2139
|
+
balance_pending_from: number | null;
|
|
2140
|
+
balance_finished: number | null;
|
|
2141
|
+
signed_amount: number | null;
|
|
2142
|
+
metadata?: import("./db/consts").Metadata | undefined;
|
|
2143
|
+
transfer_group_id?: number | null | undefined;
|
|
2144
|
+
reverses_id?: number | null | undefined;
|
|
2145
|
+
group_validate?: boolean | null | undefined;
|
|
2146
|
+
}, import("./lib/query-builder/find-query-builder").AllTrue<{
|
|
2147
|
+
type: "transfer" | "deposit" | "withdrawal";
|
|
2148
|
+
status: "pending" | "finished" | "cancelled";
|
|
2149
|
+
identifier: string;
|
|
2150
|
+
id: number;
|
|
2151
|
+
created_at: string;
|
|
2152
|
+
updated_at: string;
|
|
2153
|
+
control_hash: string | null;
|
|
2154
|
+
from_wallet_id: number;
|
|
2155
|
+
to_wallet_id: number;
|
|
2156
|
+
token_id: number;
|
|
2157
|
+
amount: number;
|
|
2158
|
+
force: boolean;
|
|
2159
|
+
auto_hash: boolean;
|
|
2160
|
+
from_wallet_foreign: string;
|
|
2161
|
+
to_wallet_foreign: string;
|
|
2162
|
+
token_foreign: string;
|
|
2163
|
+
transfer_group_identifier: string | null;
|
|
2164
|
+
reverses_identifier: string | null;
|
|
2165
|
+
metadata?: import("./db/consts").Metadata | undefined;
|
|
2166
|
+
transfer_group_id?: number | null | undefined;
|
|
2167
|
+
reverses_id?: number | null | undefined;
|
|
2168
|
+
status_finalized_at?: string | null | undefined;
|
|
2169
|
+
group_validate?: boolean | null | undefined;
|
|
2170
|
+
}>, {}, true>;
|
|
975
2171
|
/**
|
|
976
2172
|
*
|
|
977
2173
|
* Search for Wallets using either a simple filter or queryBuilder and save the results to an Export
|
|
@@ -996,13 +2192,171 @@ export declare class Client {
|
|
|
996
2192
|
*
|
|
997
2193
|
* ```
|
|
998
2194
|
*
|
|
999
|
-
* @param {ExportWalletsFnInput} [input]
|
|
1000
|
-
* @param {ExportWalletsFnOptions} [options]
|
|
1001
|
-
* @returns {StreamPromise<ExportWalletsFnOutput>}
|
|
1002
|
-
*
|
|
1003
2195
|
*/
|
|
1004
|
-
exportWallets(
|
|
1005
|
-
|
|
2196
|
+
exportWallets(input?: ExportWalletsFnInput, options?: ExportWalletsFnOptions): import("./lib/query-builder/find-query-builder").FindQueryBuilder<import("zod").ZodObject<{
|
|
2197
|
+
foreign: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
2198
|
+
name: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
2199
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<["token", "house", "regular"]>>;
|
|
2200
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<["active", "disabled"]>>;
|
|
2201
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
2202
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2203
|
+
type?: "token" | "house" | "regular" | undefined;
|
|
2204
|
+
status?: "active" | "disabled" | undefined;
|
|
2205
|
+
foreign?: string | undefined;
|
|
2206
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2207
|
+
name?: string | undefined;
|
|
2208
|
+
}, {
|
|
2209
|
+
type?: "token" | "house" | "regular" | undefined;
|
|
2210
|
+
status?: "active" | "disabled" | undefined;
|
|
2211
|
+
foreign?: string | number | undefined;
|
|
2212
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2213
|
+
name?: string | number | undefined;
|
|
2214
|
+
}>, import("zod").ZodObject<{
|
|
2215
|
+
foreign: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>>;
|
|
2216
|
+
name: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
2217
|
+
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["token", "house", "regular"]>>>;
|
|
2218
|
+
status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["active", "disabled"]>>>;
|
|
2219
|
+
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>>;
|
|
2220
|
+
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
2221
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
2222
|
+
id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
2223
|
+
balance_pending_amount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
2224
|
+
balance_finished_amount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
2225
|
+
balance_available_balance: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
2226
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
2227
|
+
type?: "token" | "house" | "regular" | undefined;
|
|
2228
|
+
status?: "active" | "disabled" | undefined;
|
|
2229
|
+
foreign?: string | undefined;
|
|
2230
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2231
|
+
id?: number | undefined;
|
|
2232
|
+
name?: string | undefined;
|
|
2233
|
+
created_at?: string | undefined;
|
|
2234
|
+
updated_at?: string | undefined;
|
|
2235
|
+
balance_pending_amount?: number | null | undefined;
|
|
2236
|
+
balance_finished_amount?: number | null | undefined;
|
|
2237
|
+
balance_available_balance?: number | null | undefined;
|
|
2238
|
+
}, {
|
|
2239
|
+
type?: "token" | "house" | "regular" | undefined;
|
|
2240
|
+
status?: "active" | "disabled" | undefined;
|
|
2241
|
+
foreign?: string | number | undefined;
|
|
2242
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2243
|
+
id?: string | number | undefined;
|
|
2244
|
+
name?: string | undefined;
|
|
2245
|
+
created_at?: string | undefined;
|
|
2246
|
+
updated_at?: string | undefined;
|
|
2247
|
+
balance_pending_amount?: number | null | undefined;
|
|
2248
|
+
balance_finished_amount?: number | null | undefined;
|
|
2249
|
+
balance_available_balance?: number | null | undefined;
|
|
2250
|
+
}>, import("zod").ZodObject<{
|
|
2251
|
+
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
2252
|
+
transaction_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
2253
|
+
limit: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>>;
|
|
2254
|
+
offset: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>>;
|
|
2255
|
+
return_metadata_total: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>>;
|
|
2256
|
+
order: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
2257
|
+
field: import("zod").ZodString;
|
|
2258
|
+
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["asc", "desc"]>>>;
|
|
2259
|
+
nulls: import("zod").ZodOptional<import("zod").ZodEnum<["first", "last"]>>;
|
|
2260
|
+
}, {
|
|
2261
|
+
field: import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "name", "default_allow_negative", "default_allow_positive", "created_at", "updated_at", "default_dtw_to", "default_dtw_from", "balance_token_id", "balance_token_foreign", "balance_transfer_id", "balance_pending_amount", "balance_pending_amount_to", "balance_pending_amount_from", "balance_finished_amount", "balance_amount", "balance_available_balance", "balance_latest_control_hash", "balance_updated_at"]>;
|
|
2262
|
+
}>, "strict", import("zod").ZodTypeAny, {
|
|
2263
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at";
|
|
2264
|
+
direction?: "asc" | "desc" | undefined;
|
|
2265
|
+
nulls?: "first" | "last" | undefined;
|
|
2266
|
+
}, {
|
|
2267
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at";
|
|
2268
|
+
direction?: "asc" | "desc" | undefined;
|
|
2269
|
+
nulls?: "first" | "last" | undefined;
|
|
2270
|
+
}>, "many">>>>;
|
|
2271
|
+
select: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "name", "default_allow_negative", "default_allow_positive", "created_at", "updated_at", "default_dtw_to", "default_dtw_from", "balance_token_id", "balance_token_foreign", "balance_transfer_id", "balance_pending_amount", "balance_pending_amount_to", "balance_pending_amount_from", "balance_finished_amount", "balance_amount", "balance_available_balance", "balance_latest_control_hash", "balance_updated_at"]>, "many">>>>;
|
|
2272
|
+
deselect: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "name", "default_allow_negative", "default_allow_positive", "created_at", "updated_at", "default_dtw_to", "default_dtw_from", "balance_token_id", "balance_token_foreign", "balance_transfer_id", "balance_pending_amount", "balance_pending_amount_to", "balance_pending_amount_from", "balance_finished_amount", "balance_amount", "balance_available_balance", "balance_latest_control_hash", "balance_updated_at"]>, "many">>>>;
|
|
2273
|
+
order_by: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
2274
|
+
include_balance_for_token: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
2275
|
+
foreign: string;
|
|
2276
|
+
}, string | number>>>;
|
|
2277
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2278
|
+
offset?: number | undefined;
|
|
2279
|
+
tracking_id?: string | undefined;
|
|
2280
|
+
transaction_id?: string | undefined;
|
|
2281
|
+
limit?: number | undefined;
|
|
2282
|
+
return_metadata_total?: boolean | undefined;
|
|
2283
|
+
order?: {
|
|
2284
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at";
|
|
2285
|
+
direction?: "asc" | "desc" | undefined;
|
|
2286
|
+
nulls?: "first" | "last" | undefined;
|
|
2287
|
+
}[] | undefined;
|
|
2288
|
+
select?: ("type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at")[] | undefined;
|
|
2289
|
+
deselect?: ("type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at")[] | undefined;
|
|
2290
|
+
order_by?: string | undefined;
|
|
2291
|
+
include_balance_for_token?: {
|
|
2292
|
+
foreign: string;
|
|
2293
|
+
} | undefined;
|
|
2294
|
+
}, {
|
|
2295
|
+
offset?: number | undefined;
|
|
2296
|
+
tracking_id?: string | undefined;
|
|
2297
|
+
transaction_id?: string | undefined;
|
|
2298
|
+
limit?: number | undefined;
|
|
2299
|
+
return_metadata_total?: boolean | undefined;
|
|
2300
|
+
order?: {
|
|
2301
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at";
|
|
2302
|
+
direction?: "asc" | "desc" | undefined;
|
|
2303
|
+
nulls?: "first" | "last" | undefined;
|
|
2304
|
+
}[] | undefined;
|
|
2305
|
+
select?: ("type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at")[] | undefined;
|
|
2306
|
+
deselect?: ("type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at")[] | undefined;
|
|
2307
|
+
order_by?: string | undefined;
|
|
2308
|
+
include_balance_for_token?: string | number | undefined;
|
|
2309
|
+
}>, {
|
|
2310
|
+
export?: {
|
|
2311
|
+
identifier: string;
|
|
2312
|
+
message?: string | undefined;
|
|
2313
|
+
type?: "unknown" | "transfers" | "transfer_groups" | "tokens" | "wallets" | "balance_history" | undefined;
|
|
2314
|
+
status?: "error" | "started" | "completed" | undefined;
|
|
2315
|
+
count?: number | undefined;
|
|
2316
|
+
created_at?: string | undefined;
|
|
2317
|
+
completed_at?: string | undefined;
|
|
2318
|
+
fields?: string[] | undefined;
|
|
2319
|
+
signed_url?: string | undefined;
|
|
2320
|
+
size?: string | undefined;
|
|
2321
|
+
} | undefined;
|
|
2322
|
+
}, {
|
|
2323
|
+
type: "token" | "house" | "regular";
|
|
2324
|
+
status: "active" | "disabled";
|
|
2325
|
+
foreign: string;
|
|
2326
|
+
id: number;
|
|
2327
|
+
default_allow_negative: boolean;
|
|
2328
|
+
default_allow_positive: boolean;
|
|
2329
|
+
created_at: string;
|
|
2330
|
+
updated_at: string;
|
|
2331
|
+
balance_token_id: number | null;
|
|
2332
|
+
balance_token_foreign: string | null;
|
|
2333
|
+
balance_transfer_id: number | null;
|
|
2334
|
+
balance_pending_amount: number | null;
|
|
2335
|
+
balance_pending_amount_to: number | null;
|
|
2336
|
+
balance_pending_amount_from: number | null;
|
|
2337
|
+
balance_finished_amount: number | null;
|
|
2338
|
+
balance_amount: number | null;
|
|
2339
|
+
balance_available_balance: number | null;
|
|
2340
|
+
balance_latest_control_hash: string | null;
|
|
2341
|
+
balance_updated_at: string | null;
|
|
2342
|
+
metadata?: import("./db/consts").Metadata | undefined;
|
|
2343
|
+
name?: string | null | undefined;
|
|
2344
|
+
default_dtw_to?: string | undefined;
|
|
2345
|
+
default_dtw_from?: string | undefined;
|
|
2346
|
+
}, import("./lib/query-builder/find-query-builder").AllTrue<{
|
|
2347
|
+
id: number;
|
|
2348
|
+
type?: "token" | "house" | "regular" | undefined;
|
|
2349
|
+
status?: "active" | "disabled" | undefined;
|
|
2350
|
+
foreign?: string | undefined;
|
|
2351
|
+
metadata?: import("./db/consts").Metadata | undefined;
|
|
2352
|
+
name?: string | null | undefined;
|
|
2353
|
+
default_allow_negative?: boolean | undefined;
|
|
2354
|
+
default_allow_positive?: boolean | undefined;
|
|
2355
|
+
created_at?: string | undefined;
|
|
2356
|
+
updated_at?: string | undefined;
|
|
2357
|
+
default_dtw_to?: string | undefined;
|
|
2358
|
+
default_dtw_from?: string | undefined;
|
|
2359
|
+
}>, {}, true>;
|
|
1006
2360
|
/**
|
|
1007
2361
|
*
|
|
1008
2362
|
* Search for Balances using either a simple filter or queryBuilder
|
|
@@ -1035,13 +2389,228 @@ export declare class Client {
|
|
|
1035
2389
|
*
|
|
1036
2390
|
* ```
|
|
1037
2391
|
*
|
|
1038
|
-
* @param {FindBalancesFnInput} [input]
|
|
1039
|
-
* @param {FindBalancesFnOptions} [options]
|
|
1040
|
-
* @returns {StreamPromise<FindBalancesFnOutput>}
|
|
1041
|
-
*
|
|
1042
2392
|
*/
|
|
1043
|
-
findBalances(
|
|
1044
|
-
|
|
2393
|
+
findBalances(input?: FindBalancesFnInput, options?: FindBalancesFnOptions): import("./lib/query-builder/find-query-builder").FindQueryBuilder<import("zod").ZodObject<{
|
|
2394
|
+
token: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
2395
|
+
foreign: string;
|
|
2396
|
+
}, string | number>>;
|
|
2397
|
+
wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
2398
|
+
foreign: string;
|
|
2399
|
+
}, string | number>>;
|
|
2400
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2401
|
+
token?: {
|
|
2402
|
+
foreign: string;
|
|
2403
|
+
} | undefined;
|
|
2404
|
+
wallet?: {
|
|
2405
|
+
foreign: string;
|
|
2406
|
+
} | undefined;
|
|
2407
|
+
}, {
|
|
2408
|
+
token?: string | number | undefined;
|
|
2409
|
+
wallet?: string | number | undefined;
|
|
2410
|
+
}>, import("zod").ZodObject<{
|
|
2411
|
+
wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
2412
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2413
|
+
id: import("zod").ZodNumber;
|
|
2414
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
2415
|
+
id: number;
|
|
2416
|
+
foreign?: string | undefined;
|
|
2417
|
+
}, {
|
|
2418
|
+
id: number;
|
|
2419
|
+
foreign?: string | undefined;
|
|
2420
|
+
}>, import("zod").ZodObject<{
|
|
2421
|
+
foreign: import("zod").ZodString;
|
|
2422
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2423
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
2424
|
+
foreign: string;
|
|
2425
|
+
id?: number | undefined;
|
|
2426
|
+
}, {
|
|
2427
|
+
foreign: string;
|
|
2428
|
+
id?: number | undefined;
|
|
2429
|
+
}>]>>>;
|
|
2430
|
+
token: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
2431
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2432
|
+
id: import("zod").ZodNumber;
|
|
2433
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
2434
|
+
id: number;
|
|
2435
|
+
foreign?: string | undefined;
|
|
2436
|
+
}, {
|
|
2437
|
+
id: number;
|
|
2438
|
+
foreign?: string | undefined;
|
|
2439
|
+
}>, import("zod").ZodObject<{
|
|
2440
|
+
foreign: import("zod").ZodString;
|
|
2441
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2442
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
2443
|
+
foreign: string;
|
|
2444
|
+
id?: number | undefined;
|
|
2445
|
+
}, {
|
|
2446
|
+
foreign: string;
|
|
2447
|
+
id?: number | undefined;
|
|
2448
|
+
}>]>>>;
|
|
2449
|
+
transfer: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
2450
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2451
|
+
id: import("zod").ZodNumber;
|
|
2452
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
2453
|
+
id: number;
|
|
2454
|
+
identifier?: string | undefined;
|
|
2455
|
+
}, {
|
|
2456
|
+
id: number;
|
|
2457
|
+
identifier?: string | undefined;
|
|
2458
|
+
}>, import("zod").ZodObject<{
|
|
2459
|
+
identifier: import("zod").ZodString;
|
|
2460
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2461
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
2462
|
+
identifier: string;
|
|
2463
|
+
id?: number | undefined;
|
|
2464
|
+
}, {
|
|
2465
|
+
identifier: string;
|
|
2466
|
+
id?: number | undefined;
|
|
2467
|
+
}>]>>>;
|
|
2468
|
+
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["transfer", "deposit", "withdrawal"]>>>;
|
|
2469
|
+
status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>>;
|
|
2470
|
+
amount: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>;
|
|
2471
|
+
pending_amount: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>;
|
|
2472
|
+
finished_amount: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>;
|
|
2473
|
+
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>>;
|
|
2474
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
2475
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2476
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
2477
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
2478
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2479
|
+
token?: {
|
|
2480
|
+
id: number;
|
|
2481
|
+
foreign?: string | undefined;
|
|
2482
|
+
} | {
|
|
2483
|
+
foreign: string;
|
|
2484
|
+
id?: number | undefined;
|
|
2485
|
+
} | undefined;
|
|
2486
|
+
updated_at?: string | undefined;
|
|
2487
|
+
transfer?: {
|
|
2488
|
+
id: number;
|
|
2489
|
+
identifier?: string | undefined;
|
|
2490
|
+
} | {
|
|
2491
|
+
identifier: string;
|
|
2492
|
+
id?: number | undefined;
|
|
2493
|
+
} | undefined;
|
|
2494
|
+
amount?: number | undefined;
|
|
2495
|
+
pending_amount?: number | undefined;
|
|
2496
|
+
finished_amount?: number | undefined;
|
|
2497
|
+
wallet?: {
|
|
2498
|
+
id: number;
|
|
2499
|
+
foreign?: string | undefined;
|
|
2500
|
+
} | {
|
|
2501
|
+
foreign: string;
|
|
2502
|
+
id?: number | undefined;
|
|
2503
|
+
} | undefined;
|
|
2504
|
+
}, {
|
|
2505
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
2506
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
2507
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2508
|
+
token?: {
|
|
2509
|
+
id: number;
|
|
2510
|
+
foreign?: string | undefined;
|
|
2511
|
+
} | {
|
|
2512
|
+
foreign: string;
|
|
2513
|
+
id?: number | undefined;
|
|
2514
|
+
} | undefined;
|
|
2515
|
+
updated_at?: string | undefined;
|
|
2516
|
+
transfer?: {
|
|
2517
|
+
id: number;
|
|
2518
|
+
identifier?: string | undefined;
|
|
2519
|
+
} | {
|
|
2520
|
+
identifier: string;
|
|
2521
|
+
id?: number | undefined;
|
|
2522
|
+
} | undefined;
|
|
2523
|
+
amount?: string | number | undefined;
|
|
2524
|
+
pending_amount?: string | number | undefined;
|
|
2525
|
+
finished_amount?: string | number | undefined;
|
|
2526
|
+
wallet?: {
|
|
2527
|
+
id: number;
|
|
2528
|
+
foreign?: string | undefined;
|
|
2529
|
+
} | {
|
|
2530
|
+
foreign: string;
|
|
2531
|
+
id?: number | undefined;
|
|
2532
|
+
} | undefined;
|
|
2533
|
+
}>, import("zod").ZodObject<{
|
|
2534
|
+
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
2535
|
+
transaction_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
2536
|
+
limit: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
2537
|
+
offset: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
2538
|
+
return_metadata_total: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
2539
|
+
order: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
2540
|
+
field: import("zod").ZodString;
|
|
2541
|
+
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["asc", "desc"]>>>;
|
|
2542
|
+
nulls: import("zod").ZodOptional<import("zod").ZodEnum<["first", "last"]>>;
|
|
2543
|
+
}, {
|
|
2544
|
+
field: import("zod").ZodEnum<["type", "status", "id", "created_at", "token_id", "amount", "force", "transfer_group_id", "transfer_id", "wallet_id", "pending_amount", "finished_amount", "allow_negative", "allow_positive", "latest_control_hash", "pending_amount_to", "pending_amount_from", "group_balance", "current", "available_balance", "token_limit"]>;
|
|
2545
|
+
}>, "strict", import("zod").ZodTypeAny, {
|
|
2546
|
+
field: "type" | "status" | "id" | "created_at" | "token_id" | "amount" | "force" | "transfer_group_id" | "transfer_id" | "wallet_id" | "pending_amount" | "finished_amount" | "allow_negative" | "allow_positive" | "latest_control_hash" | "pending_amount_to" | "pending_amount_from" | "group_balance" | "current" | "available_balance" | "token_limit";
|
|
2547
|
+
direction?: "asc" | "desc" | undefined;
|
|
2548
|
+
nulls?: "first" | "last" | undefined;
|
|
2549
|
+
}, {
|
|
2550
|
+
field: "type" | "status" | "id" | "created_at" | "token_id" | "amount" | "force" | "transfer_group_id" | "transfer_id" | "wallet_id" | "pending_amount" | "finished_amount" | "allow_negative" | "allow_positive" | "latest_control_hash" | "pending_amount_to" | "pending_amount_from" | "group_balance" | "current" | "available_balance" | "token_limit";
|
|
2551
|
+
direction?: "asc" | "desc" | undefined;
|
|
2552
|
+
nulls?: "first" | "last" | undefined;
|
|
2553
|
+
}>, "many">>>;
|
|
2554
|
+
select: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["updated_at", "token_id", "amount", "transfer_id", "wallet_id", "pending_amount", "finished_amount", "latest_control_hash", "pending_amount_to", "pending_amount_from", "available_balance", "token_foreign", "wallet_foreign"]>, "many">>>;
|
|
2555
|
+
deselect: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["updated_at", "token_id", "amount", "transfer_id", "wallet_id", "pending_amount", "finished_amount", "latest_control_hash", "pending_amount_to", "pending_amount_from", "available_balance", "token_foreign", "wallet_foreign"]>, "many">>>;
|
|
2556
|
+
order_by: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2557
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2558
|
+
offset?: number | undefined;
|
|
2559
|
+
tracking_id?: string | undefined;
|
|
2560
|
+
transaction_id?: string | undefined;
|
|
2561
|
+
limit?: number | undefined;
|
|
2562
|
+
return_metadata_total?: boolean | undefined;
|
|
2563
|
+
order?: {
|
|
2564
|
+
field: "type" | "status" | "id" | "created_at" | "token_id" | "amount" | "force" | "transfer_group_id" | "transfer_id" | "wallet_id" | "pending_amount" | "finished_amount" | "allow_negative" | "allow_positive" | "latest_control_hash" | "pending_amount_to" | "pending_amount_from" | "group_balance" | "current" | "available_balance" | "token_limit";
|
|
2565
|
+
direction?: "asc" | "desc" | undefined;
|
|
2566
|
+
nulls?: "first" | "last" | undefined;
|
|
2567
|
+
}[] | undefined;
|
|
2568
|
+
select?: ("updated_at" | "token_id" | "amount" | "transfer_id" | "wallet_id" | "pending_amount" | "finished_amount" | "latest_control_hash" | "pending_amount_to" | "pending_amount_from" | "available_balance" | "token_foreign" | "wallet_foreign")[] | undefined;
|
|
2569
|
+
deselect?: ("updated_at" | "token_id" | "amount" | "transfer_id" | "wallet_id" | "pending_amount" | "finished_amount" | "latest_control_hash" | "pending_amount_to" | "pending_amount_from" | "available_balance" | "token_foreign" | "wallet_foreign")[] | undefined;
|
|
2570
|
+
order_by?: string | undefined;
|
|
2571
|
+
}, {
|
|
2572
|
+
offset?: number | undefined;
|
|
2573
|
+
tracking_id?: string | undefined;
|
|
2574
|
+
transaction_id?: string | undefined;
|
|
2575
|
+
limit?: number | undefined;
|
|
2576
|
+
return_metadata_total?: boolean | undefined;
|
|
2577
|
+
order?: {
|
|
2578
|
+
field: "type" | "status" | "id" | "created_at" | "token_id" | "amount" | "force" | "transfer_group_id" | "transfer_id" | "wallet_id" | "pending_amount" | "finished_amount" | "allow_negative" | "allow_positive" | "latest_control_hash" | "pending_amount_to" | "pending_amount_from" | "group_balance" | "current" | "available_balance" | "token_limit";
|
|
2579
|
+
direction?: "asc" | "desc" | undefined;
|
|
2580
|
+
nulls?: "first" | "last" | undefined;
|
|
2581
|
+
}[] | undefined;
|
|
2582
|
+
select?: ("updated_at" | "token_id" | "amount" | "transfer_id" | "wallet_id" | "pending_amount" | "finished_amount" | "latest_control_hash" | "pending_amount_to" | "pending_amount_from" | "available_balance" | "token_foreign" | "wallet_foreign")[] | undefined;
|
|
2583
|
+
deselect?: ("updated_at" | "token_id" | "amount" | "transfer_id" | "wallet_id" | "pending_amount" | "finished_amount" | "latest_control_hash" | "pending_amount_to" | "pending_amount_from" | "available_balance" | "token_foreign" | "wallet_foreign")[] | undefined;
|
|
2584
|
+
order_by?: string | undefined;
|
|
2585
|
+
}>, "balances", {
|
|
2586
|
+
updated_at: string;
|
|
2587
|
+
token_id: number;
|
|
2588
|
+
amount: number;
|
|
2589
|
+
wallet_id: number;
|
|
2590
|
+
pending_amount: number;
|
|
2591
|
+
finished_amount: number;
|
|
2592
|
+
latest_control_hash: string | null;
|
|
2593
|
+
token_foreign: string;
|
|
2594
|
+
wallet_foreign: string;
|
|
2595
|
+
transfer_id?: number | undefined;
|
|
2596
|
+
pending_amount_to?: number | undefined;
|
|
2597
|
+
pending_amount_from?: number | undefined;
|
|
2598
|
+
available_balance?: number | undefined;
|
|
2599
|
+
}, import("./lib/query-builder/find-query-builder").AllTrue<{
|
|
2600
|
+
updated_at: string;
|
|
2601
|
+
token_id: number;
|
|
2602
|
+
amount: number;
|
|
2603
|
+
wallet_id: number;
|
|
2604
|
+
pending_amount: number;
|
|
2605
|
+
finished_amount: number;
|
|
2606
|
+
latest_control_hash: string | null;
|
|
2607
|
+
token_foreign: string;
|
|
2608
|
+
wallet_foreign: string;
|
|
2609
|
+
transfer_id?: number | undefined;
|
|
2610
|
+
pending_amount_to?: number | undefined;
|
|
2611
|
+
pending_amount_from?: number | undefined;
|
|
2612
|
+
available_balance?: number | undefined;
|
|
2613
|
+
}>, {}, true>;
|
|
1045
2614
|
/**
|
|
1046
2615
|
*
|
|
1047
2616
|
* Search for Tokens using either a simple filter or queryBuilder
|
|
@@ -1071,13 +2640,186 @@ export declare class Client {
|
|
|
1071
2640
|
*
|
|
1072
2641
|
* ```
|
|
1073
2642
|
*
|
|
1074
|
-
* @param {FindTokensFnInput} [input]
|
|
1075
|
-
* @param {FindTokensFnOptions} [options]
|
|
1076
|
-
* @returns {StreamPromise<FindTokensFnOutput>}
|
|
1077
|
-
*
|
|
1078
2643
|
*/
|
|
1079
|
-
findTokens(
|
|
1080
|
-
|
|
2644
|
+
findTokens(input?: FindTokensFnInput, options?: FindTokensFnOptions): import("./lib/query-builder/find-query-builder").FindQueryBuilder<import("zod").ZodObject<{
|
|
2645
|
+
foreign: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
2646
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<["value", "share", "group", "contract"]>>;
|
|
2647
|
+
belongs_to: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
2648
|
+
foreign: string;
|
|
2649
|
+
}, string | number>>;
|
|
2650
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
2651
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2652
|
+
type?: "value" | "group" | "share" | "contract" | undefined;
|
|
2653
|
+
foreign?: string | undefined;
|
|
2654
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2655
|
+
belongs_to?: {
|
|
2656
|
+
foreign: string;
|
|
2657
|
+
} | undefined;
|
|
2658
|
+
}, {
|
|
2659
|
+
type?: "value" | "group" | "share" | "contract" | undefined;
|
|
2660
|
+
foreign?: string | number | undefined;
|
|
2661
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2662
|
+
belongs_to?: string | number | undefined;
|
|
2663
|
+
}>, import("zod").ZodObject<{
|
|
2664
|
+
foreign: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>>;
|
|
2665
|
+
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["value", "share", "group", "contract"]>>>;
|
|
2666
|
+
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>>;
|
|
2667
|
+
belongs_to: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
2668
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2669
|
+
id: import("zod").ZodNumber;
|
|
2670
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
2671
|
+
id: number;
|
|
2672
|
+
foreign?: string | undefined;
|
|
2673
|
+
}, {
|
|
2674
|
+
id: number;
|
|
2675
|
+
foreign?: string | undefined;
|
|
2676
|
+
}>, import("zod").ZodObject<{
|
|
2677
|
+
foreign: import("zod").ZodString;
|
|
2678
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2679
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
2680
|
+
foreign: string;
|
|
2681
|
+
id?: number | undefined;
|
|
2682
|
+
}, {
|
|
2683
|
+
foreign: string;
|
|
2684
|
+
id?: number | undefined;
|
|
2685
|
+
}>]>>>;
|
|
2686
|
+
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["active", "dw-only", "disabled"]>>>;
|
|
2687
|
+
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
2688
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
2689
|
+
public: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
2690
|
+
id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
2691
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
2692
|
+
type?: "value" | "group" | "share" | "contract" | undefined;
|
|
2693
|
+
status?: "active" | "disabled" | "dw-only" | undefined;
|
|
2694
|
+
foreign?: string | undefined;
|
|
2695
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2696
|
+
id?: number | undefined;
|
|
2697
|
+
created_at?: string | undefined;
|
|
2698
|
+
updated_at?: string | undefined;
|
|
2699
|
+
public?: boolean | undefined;
|
|
2700
|
+
belongs_to?: {
|
|
2701
|
+
id: number;
|
|
2702
|
+
foreign?: string | undefined;
|
|
2703
|
+
} | {
|
|
2704
|
+
foreign: string;
|
|
2705
|
+
id?: number | undefined;
|
|
2706
|
+
} | undefined;
|
|
2707
|
+
}, {
|
|
2708
|
+
type?: "value" | "group" | "share" | "contract" | undefined;
|
|
2709
|
+
status?: "active" | "disabled" | "dw-only" | undefined;
|
|
2710
|
+
foreign?: string | number | undefined;
|
|
2711
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2712
|
+
id?: string | number | undefined;
|
|
2713
|
+
created_at?: string | undefined;
|
|
2714
|
+
updated_at?: string | undefined;
|
|
2715
|
+
public?: boolean | undefined;
|
|
2716
|
+
belongs_to?: {
|
|
2717
|
+
id: number;
|
|
2718
|
+
foreign?: string | undefined;
|
|
2719
|
+
} | {
|
|
2720
|
+
foreign: string;
|
|
2721
|
+
id?: number | undefined;
|
|
2722
|
+
} | undefined;
|
|
2723
|
+
}>, import("zod").ZodObject<{
|
|
2724
|
+
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
2725
|
+
transaction_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
2726
|
+
limit: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
2727
|
+
offset: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
2728
|
+
return_metadata_total: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
2729
|
+
include_balance: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
2730
|
+
order: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
2731
|
+
field: import("zod").ZodString;
|
|
2732
|
+
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["asc", "desc"]>>>;
|
|
2733
|
+
nulls: import("zod").ZodOptional<import("zod").ZodEnum<["first", "last"]>>;
|
|
2734
|
+
}, {
|
|
2735
|
+
field: import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "created_at", "updated_at", "limit", "public", "belongs_to", "divisor"]>;
|
|
2736
|
+
}>, "strict", import("zod").ZodTypeAny, {
|
|
2737
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
2738
|
+
direction?: "asc" | "desc" | undefined;
|
|
2739
|
+
nulls?: "first" | "last" | undefined;
|
|
2740
|
+
}, {
|
|
2741
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
2742
|
+
direction?: "asc" | "desc" | undefined;
|
|
2743
|
+
nulls?: "first" | "last" | undefined;
|
|
2744
|
+
}>, "many">>>;
|
|
2745
|
+
select: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "created_at", "updated_at", "limit", "public", "belongs_to", "divisor", "balance_transfer_id", "balance_pending_amount", "balance_pending_amount_to", "balance_pending_amount_from", "balance_finished_amount", "balance_amount", "balance_available_balance", "balance_latest_control_hash", "balance_updated_at", "belongs_to_foreign"]>, "many">>>;
|
|
2746
|
+
deselect: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "created_at", "updated_at", "limit", "public", "belongs_to", "divisor", "balance_transfer_id", "balance_pending_amount", "balance_pending_amount_to", "balance_pending_amount_from", "balance_finished_amount", "balance_amount", "balance_available_balance", "balance_latest_control_hash", "balance_updated_at", "belongs_to_foreign"]>, "many">>>;
|
|
2747
|
+
order_by: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2748
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2749
|
+
offset?: number | undefined;
|
|
2750
|
+
tracking_id?: string | undefined;
|
|
2751
|
+
transaction_id?: string | undefined;
|
|
2752
|
+
limit?: number | undefined;
|
|
2753
|
+
return_metadata_total?: boolean | undefined;
|
|
2754
|
+
order?: {
|
|
2755
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
2756
|
+
direction?: "asc" | "desc" | undefined;
|
|
2757
|
+
nulls?: "first" | "last" | undefined;
|
|
2758
|
+
}[] | undefined;
|
|
2759
|
+
select?: ("type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at" | "belongs_to_foreign")[] | undefined;
|
|
2760
|
+
deselect?: ("type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at" | "belongs_to_foreign")[] | undefined;
|
|
2761
|
+
order_by?: string | undefined;
|
|
2762
|
+
include_balance?: boolean | undefined;
|
|
2763
|
+
}, {
|
|
2764
|
+
offset?: number | undefined;
|
|
2765
|
+
tracking_id?: string | undefined;
|
|
2766
|
+
transaction_id?: string | undefined;
|
|
2767
|
+
limit?: number | undefined;
|
|
2768
|
+
return_metadata_total?: boolean | undefined;
|
|
2769
|
+
order?: {
|
|
2770
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
2771
|
+
direction?: "asc" | "desc" | undefined;
|
|
2772
|
+
nulls?: "first" | "last" | undefined;
|
|
2773
|
+
}[] | undefined;
|
|
2774
|
+
select?: ("type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at" | "belongs_to_foreign")[] | undefined;
|
|
2775
|
+
deselect?: ("type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at" | "belongs_to_foreign")[] | undefined;
|
|
2776
|
+
order_by?: string | undefined;
|
|
2777
|
+
include_balance?: boolean | undefined;
|
|
2778
|
+
}>, "tokens", {
|
|
2779
|
+
type: "value" | "group" | "share" | "contract";
|
|
2780
|
+
status: "active" | "disabled" | "dw-only";
|
|
2781
|
+
foreign: string;
|
|
2782
|
+
id: number;
|
|
2783
|
+
created_at: string;
|
|
2784
|
+
updated_at: string;
|
|
2785
|
+
public: boolean;
|
|
2786
|
+
belongs_to: number;
|
|
2787
|
+
balance_transfer_id: number | null;
|
|
2788
|
+
balance_pending_amount: number | null;
|
|
2789
|
+
balance_pending_amount_to: number | null;
|
|
2790
|
+
balance_pending_amount_from: number | null;
|
|
2791
|
+
balance_finished_amount: number | null;
|
|
2792
|
+
balance_amount: number | null;
|
|
2793
|
+
balance_available_balance: number | null;
|
|
2794
|
+
balance_latest_control_hash: string | null;
|
|
2795
|
+
balance_updated_at: string | null;
|
|
2796
|
+
belongs_to_foreign: string | null;
|
|
2797
|
+
metadata?: import("./db/consts").Metadata | undefined;
|
|
2798
|
+
limit?: number | null | undefined;
|
|
2799
|
+
divisor?: number | null | undefined;
|
|
2800
|
+
}, import("./lib/query-builder/find-query-builder").AllTrue<{
|
|
2801
|
+
id: number;
|
|
2802
|
+
type?: "value" | "group" | "share" | "contract" | undefined;
|
|
2803
|
+
status?: "active" | "disabled" | "dw-only" | undefined;
|
|
2804
|
+
foreign?: string | undefined;
|
|
2805
|
+
metadata?: import("./db/consts").Metadata | undefined;
|
|
2806
|
+
limit?: number | null | undefined;
|
|
2807
|
+
created_at?: string | undefined;
|
|
2808
|
+
updated_at?: string | undefined;
|
|
2809
|
+
public?: boolean | undefined;
|
|
2810
|
+
belongs_to?: number | undefined;
|
|
2811
|
+
divisor?: number | null | undefined;
|
|
2812
|
+
balance_transfer_id?: number | null | undefined;
|
|
2813
|
+
balance_pending_amount?: number | null | undefined;
|
|
2814
|
+
balance_pending_amount_to?: number | null | undefined;
|
|
2815
|
+
balance_pending_amount_from?: number | null | undefined;
|
|
2816
|
+
balance_finished_amount?: number | null | undefined;
|
|
2817
|
+
balance_amount?: number | null | undefined;
|
|
2818
|
+
balance_available_balance?: number | null | undefined;
|
|
2819
|
+
balance_latest_control_hash?: string | null | undefined;
|
|
2820
|
+
balance_updated_at?: string | null | undefined;
|
|
2821
|
+
belongs_to_foreign?: string | null | undefined;
|
|
2822
|
+
}>, {}, true>;
|
|
1081
2823
|
/**
|
|
1082
2824
|
*
|
|
1083
2825
|
* Search for TransferGroups using either a simple filter or queryBuilder
|
|
@@ -1117,13 +2859,191 @@ export declare class Client {
|
|
|
1117
2859
|
*
|
|
1118
2860
|
* ```
|
|
1119
2861
|
*
|
|
1120
|
-
* @param {FindTransferGroupsFnInput} [input]
|
|
1121
|
-
* @param {FindTransferGroupsFnOptions} [options]
|
|
1122
|
-
* @returns {StreamPromise<FindTransferGroupsFnOutput>}
|
|
1123
|
-
*
|
|
1124
2862
|
*/
|
|
1125
|
-
findTransferGroups(
|
|
1126
|
-
|
|
2863
|
+
findTransferGroups(input?: FindTransferGroupsFnInput, options?: FindTransferGroupsFnOptions): import("./lib/query-builder/find-query-builder").FindQueryBuilder<import("zod").ZodObject<{
|
|
2864
|
+
identifier: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
2865
|
+
transfer_status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>>;
|
|
2866
|
+
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["open", "closed"]>>>;
|
|
2867
|
+
reverses: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
2868
|
+
identifier: string;
|
|
2869
|
+
}, string | number>>;
|
|
2870
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<["regular", "exchange", "distribution"]>>;
|
|
2871
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
2872
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2873
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
2874
|
+
status?: "open" | "closed" | undefined;
|
|
2875
|
+
identifier?: string | undefined;
|
|
2876
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2877
|
+
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
2878
|
+
reverses?: {
|
|
2879
|
+
identifier: string;
|
|
2880
|
+
} | undefined;
|
|
2881
|
+
}, {
|
|
2882
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
2883
|
+
status?: "open" | "closed" | undefined;
|
|
2884
|
+
identifier?: string | number | undefined;
|
|
2885
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2886
|
+
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
2887
|
+
reverses?: string | number | undefined;
|
|
2888
|
+
}>, import("zod").ZodObject<{
|
|
2889
|
+
identifier: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>>;
|
|
2890
|
+
status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["open", "closed"]>>>;
|
|
2891
|
+
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["regular", "exchange", "distribution"]>>>;
|
|
2892
|
+
transfer_status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>>;
|
|
2893
|
+
reverses: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
2894
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2895
|
+
id: import("zod").ZodNumber;
|
|
2896
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
2897
|
+
id: number;
|
|
2898
|
+
identifier?: string | undefined;
|
|
2899
|
+
}, {
|
|
2900
|
+
id: number;
|
|
2901
|
+
identifier?: string | undefined;
|
|
2902
|
+
}>, import("zod").ZodObject<{
|
|
2903
|
+
identifier: import("zod").ZodString;
|
|
2904
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2905
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
2906
|
+
identifier: string;
|
|
2907
|
+
id?: number | undefined;
|
|
2908
|
+
}, {
|
|
2909
|
+
identifier: string;
|
|
2910
|
+
id?: number | undefined;
|
|
2911
|
+
}>]>>>;
|
|
2912
|
+
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>>;
|
|
2913
|
+
readonly created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
2914
|
+
readonly updated_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
2915
|
+
readonly status_finalized_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>>>;
|
|
2916
|
+
readonly transfer_status_finalized_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>>>;
|
|
2917
|
+
id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
2918
|
+
transfer_group_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
2919
|
+
reverses_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
2920
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
2921
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
2922
|
+
status?: "open" | "closed" | undefined;
|
|
2923
|
+
identifier?: string | undefined;
|
|
2924
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2925
|
+
id?: number | undefined;
|
|
2926
|
+
created_at?: string | undefined;
|
|
2927
|
+
updated_at?: string | undefined;
|
|
2928
|
+
transfer_group_id?: number | undefined;
|
|
2929
|
+
reverses_id?: number | undefined;
|
|
2930
|
+
status_finalized_at?: string | null | undefined;
|
|
2931
|
+
transfer_status_finalized_at?: string | null | undefined;
|
|
2932
|
+
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
2933
|
+
reverses?: {
|
|
2934
|
+
id: number;
|
|
2935
|
+
identifier?: string | undefined;
|
|
2936
|
+
} | {
|
|
2937
|
+
identifier: string;
|
|
2938
|
+
id?: number | undefined;
|
|
2939
|
+
} | undefined;
|
|
2940
|
+
}, {
|
|
2941
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
2942
|
+
status?: "open" | "closed" | undefined;
|
|
2943
|
+
identifier?: string | number | undefined;
|
|
2944
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2945
|
+
id?: string | number | undefined;
|
|
2946
|
+
created_at?: string | undefined;
|
|
2947
|
+
updated_at?: string | undefined;
|
|
2948
|
+
transfer_group_id?: string | number | undefined;
|
|
2949
|
+
reverses_id?: string | number | undefined;
|
|
2950
|
+
status_finalized_at?: string | null | undefined;
|
|
2951
|
+
transfer_status_finalized_at?: string | null | undefined;
|
|
2952
|
+
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
2953
|
+
reverses?: {
|
|
2954
|
+
id: number;
|
|
2955
|
+
identifier?: string | undefined;
|
|
2956
|
+
} | {
|
|
2957
|
+
identifier: string;
|
|
2958
|
+
id?: number | undefined;
|
|
2959
|
+
} | undefined;
|
|
2960
|
+
}>, import("zod").ZodObject<{
|
|
2961
|
+
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
2962
|
+
transaction_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
2963
|
+
limit: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
2964
|
+
offset: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
2965
|
+
return_metadata_total: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
2966
|
+
return_transfers_count: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>>;
|
|
2967
|
+
order: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
2968
|
+
field: import("zod").ZodString;
|
|
2969
|
+
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["asc", "desc"]>>>;
|
|
2970
|
+
nulls: import("zod").ZodOptional<import("zod").ZodEnum<["first", "last"]>>;
|
|
2971
|
+
}, {
|
|
2972
|
+
field: import("zod").ZodEnum<["type", "status", "metadata", "id", "created_at", "updated_at", "identifier", "transfer_group_id", "reverses_id", "status_finalized_at", "transfer_status_finalized_at", "validate_final_balance_only", "transfer_status"]>;
|
|
2973
|
+
}>, "strict", import("zod").ZodTypeAny, {
|
|
2974
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "transfer_status_finalized_at" | "validate_final_balance_only" | "transfer_status";
|
|
2975
|
+
direction?: "asc" | "desc" | undefined;
|
|
2976
|
+
nulls?: "first" | "last" | undefined;
|
|
2977
|
+
}, {
|
|
2978
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "transfer_status_finalized_at" | "validate_final_balance_only" | "transfer_status";
|
|
2979
|
+
direction?: "asc" | "desc" | undefined;
|
|
2980
|
+
nulls?: "first" | "last" | undefined;
|
|
2981
|
+
}>, "many">>>;
|
|
2982
|
+
select: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "metadata", "id", "created_at", "updated_at", "identifier", "transfer_group_id", "reverses_id", "status_finalized_at", "transfer_status_finalized_at", "validate_final_balance_only", "transfer_status", "reverses_identifier", "transfers_count"]>, "many">>>;
|
|
2983
|
+
deselect: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "metadata", "id", "created_at", "updated_at", "identifier", "transfer_group_id", "reverses_id", "status_finalized_at", "transfer_status_finalized_at", "validate_final_balance_only", "transfer_status", "reverses_identifier", "transfers_count"]>, "many">>>;
|
|
2984
|
+
order_by: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2985
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
2986
|
+
offset?: number | undefined;
|
|
2987
|
+
tracking_id?: string | undefined;
|
|
2988
|
+
transaction_id?: string | undefined;
|
|
2989
|
+
limit?: number | undefined;
|
|
2990
|
+
return_metadata_total?: boolean | undefined;
|
|
2991
|
+
order?: {
|
|
2992
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "transfer_status_finalized_at" | "validate_final_balance_only" | "transfer_status";
|
|
2993
|
+
direction?: "asc" | "desc" | undefined;
|
|
2994
|
+
nulls?: "first" | "last" | undefined;
|
|
2995
|
+
}[] | undefined;
|
|
2996
|
+
select?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "transfer_status_finalized_at" | "validate_final_balance_only" | "transfer_status" | "reverses_identifier" | "transfers_count")[] | undefined;
|
|
2997
|
+
deselect?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "transfer_status_finalized_at" | "validate_final_balance_only" | "transfer_status" | "reverses_identifier" | "transfers_count")[] | undefined;
|
|
2998
|
+
order_by?: string | undefined;
|
|
2999
|
+
return_transfers_count?: boolean | undefined;
|
|
3000
|
+
}, {
|
|
3001
|
+
offset?: number | undefined;
|
|
3002
|
+
tracking_id?: string | undefined;
|
|
3003
|
+
transaction_id?: string | undefined;
|
|
3004
|
+
limit?: number | undefined;
|
|
3005
|
+
return_metadata_total?: boolean | undefined;
|
|
3006
|
+
order?: {
|
|
3007
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "transfer_status_finalized_at" | "validate_final_balance_only" | "transfer_status";
|
|
3008
|
+
direction?: "asc" | "desc" | undefined;
|
|
3009
|
+
nulls?: "first" | "last" | undefined;
|
|
3010
|
+
}[] | undefined;
|
|
3011
|
+
select?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "transfer_status_finalized_at" | "validate_final_balance_only" | "transfer_status" | "reverses_identifier" | "transfers_count")[] | undefined;
|
|
3012
|
+
deselect?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "transfer_status_finalized_at" | "validate_final_balance_only" | "transfer_status" | "reverses_identifier" | "transfers_count")[] | undefined;
|
|
3013
|
+
order_by?: string | undefined;
|
|
3014
|
+
return_transfers_count?: boolean | undefined;
|
|
3015
|
+
}>, "transfer_groups", {
|
|
3016
|
+
id: number;
|
|
3017
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
3018
|
+
status?: "open" | "closed" | undefined;
|
|
3019
|
+
identifier?: string | undefined;
|
|
3020
|
+
metadata?: import("./db/consts").Metadata | undefined;
|
|
3021
|
+
created_at?: string | undefined;
|
|
3022
|
+
updated_at?: string | undefined;
|
|
3023
|
+
transfer_group_id?: number | null | undefined;
|
|
3024
|
+
reverses_id?: number | null | undefined;
|
|
3025
|
+
status_finalized_at?: string | null | undefined;
|
|
3026
|
+
transfer_status_finalized_at?: string | null | undefined;
|
|
3027
|
+
validate_final_balance_only?: boolean | null | undefined;
|
|
3028
|
+
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3029
|
+
reverses_identifier?: string | null | undefined;
|
|
3030
|
+
transfers_count?: number | undefined;
|
|
3031
|
+
}, import("./lib/query-builder/find-query-builder").AllTrue<{
|
|
3032
|
+
id: number;
|
|
3033
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
3034
|
+
status?: "open" | "closed" | undefined;
|
|
3035
|
+
identifier?: string | undefined;
|
|
3036
|
+
metadata?: import("./db/consts").Metadata | undefined;
|
|
3037
|
+
created_at?: string | undefined;
|
|
3038
|
+
updated_at?: string | undefined;
|
|
3039
|
+
transfer_group_id?: number | null | undefined;
|
|
3040
|
+
reverses_id?: number | null | undefined;
|
|
3041
|
+
status_finalized_at?: string | null | undefined;
|
|
3042
|
+
transfer_status_finalized_at?: string | null | undefined;
|
|
3043
|
+
validate_final_balance_only?: boolean | null | undefined;
|
|
3044
|
+
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3045
|
+
reverses_identifier?: string | null | undefined;
|
|
3046
|
+
}>, {}, true>;
|
|
1127
3047
|
/**
|
|
1128
3048
|
*
|
|
1129
3049
|
* Search for Transfers using either a simple filter or queryBuilder
|
|
@@ -1152,13 +3072,424 @@ export declare class Client {
|
|
|
1152
3072
|
*
|
|
1153
3073
|
* ```
|
|
1154
3074
|
*
|
|
1155
|
-
* @param {FindTransfersFnInput} [input]
|
|
1156
|
-
* @param {FindTransfersFnOptions} [options]
|
|
1157
|
-
* @returns {StreamPromise<FindTransfersFnOutput>}
|
|
1158
|
-
*
|
|
1159
3075
|
*/
|
|
1160
|
-
findTransfers(
|
|
1161
|
-
|
|
3076
|
+
findTransfers(input?: FindTransfersFnInput, options?: FindTransfersFnOptions): import("./lib/query-builder/find-query-builder").FindQueryBuilder<import("zod").ZodObject<{
|
|
3077
|
+
wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
3078
|
+
foreign: string;
|
|
3079
|
+
}, string | number>>;
|
|
3080
|
+
token: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
3081
|
+
foreign: string;
|
|
3082
|
+
}, string | number>>;
|
|
3083
|
+
from_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
3084
|
+
foreign: string;
|
|
3085
|
+
}, string | number>>;
|
|
3086
|
+
to_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
3087
|
+
foreign: string;
|
|
3088
|
+
}, string | number>>;
|
|
3089
|
+
transfer_group: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
3090
|
+
foreign: string;
|
|
3091
|
+
}, string | number>>;
|
|
3092
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<["transfer", "deposit", "withdrawal"]>>;
|
|
3093
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
3094
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
3095
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3096
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
3097
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3098
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
3099
|
+
token?: {
|
|
3100
|
+
foreign: string;
|
|
3101
|
+
} | undefined;
|
|
3102
|
+
wallet?: {
|
|
3103
|
+
foreign: string;
|
|
3104
|
+
} | undefined;
|
|
3105
|
+
transfer_group?: {
|
|
3106
|
+
foreign: string;
|
|
3107
|
+
} | undefined;
|
|
3108
|
+
from_wallet?: {
|
|
3109
|
+
foreign: string;
|
|
3110
|
+
} | undefined;
|
|
3111
|
+
to_wallet?: {
|
|
3112
|
+
foreign: string;
|
|
3113
|
+
} | undefined;
|
|
3114
|
+
}, {
|
|
3115
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
3116
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3117
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
3118
|
+
token?: string | number | undefined;
|
|
3119
|
+
wallet?: string | number | undefined;
|
|
3120
|
+
transfer_group?: string | number | undefined;
|
|
3121
|
+
from_wallet?: string | number | undefined;
|
|
3122
|
+
to_wallet?: string | number | undefined;
|
|
3123
|
+
}>, import("zod").ZodObject<{
|
|
3124
|
+
id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>;
|
|
3125
|
+
identifier: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>>;
|
|
3126
|
+
from_wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
3127
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3128
|
+
id: import("zod").ZodNumber;
|
|
3129
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
3130
|
+
id: number;
|
|
3131
|
+
foreign?: string | undefined;
|
|
3132
|
+
}, {
|
|
3133
|
+
id: number;
|
|
3134
|
+
foreign?: string | undefined;
|
|
3135
|
+
}>, import("zod").ZodObject<{
|
|
3136
|
+
foreign: import("zod").ZodString;
|
|
3137
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3138
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
3139
|
+
foreign: string;
|
|
3140
|
+
id?: number | undefined;
|
|
3141
|
+
}, {
|
|
3142
|
+
foreign: string;
|
|
3143
|
+
id?: number | undefined;
|
|
3144
|
+
}>]>>>;
|
|
3145
|
+
to_wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
3146
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3147
|
+
id: import("zod").ZodNumber;
|
|
3148
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
3149
|
+
id: number;
|
|
3150
|
+
foreign?: string | undefined;
|
|
3151
|
+
}, {
|
|
3152
|
+
id: number;
|
|
3153
|
+
foreign?: string | undefined;
|
|
3154
|
+
}>, import("zod").ZodObject<{
|
|
3155
|
+
foreign: import("zod").ZodString;
|
|
3156
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3157
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
3158
|
+
foreign: string;
|
|
3159
|
+
id?: number | undefined;
|
|
3160
|
+
}, {
|
|
3161
|
+
foreign: string;
|
|
3162
|
+
id?: number | undefined;
|
|
3163
|
+
}>]>>>;
|
|
3164
|
+
wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
3165
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3166
|
+
id: import("zod").ZodNumber;
|
|
3167
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
3168
|
+
id: number;
|
|
3169
|
+
foreign?: string | undefined;
|
|
3170
|
+
}, {
|
|
3171
|
+
id: number;
|
|
3172
|
+
foreign?: string | undefined;
|
|
3173
|
+
}>, import("zod").ZodObject<{
|
|
3174
|
+
foreign: import("zod").ZodString;
|
|
3175
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3176
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
3177
|
+
foreign: string;
|
|
3178
|
+
id?: number | undefined;
|
|
3179
|
+
}, {
|
|
3180
|
+
foreign: string;
|
|
3181
|
+
id?: number | undefined;
|
|
3182
|
+
}>]>>>;
|
|
3183
|
+
token: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
3184
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3185
|
+
id: import("zod").ZodNumber;
|
|
3186
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
3187
|
+
id: number;
|
|
3188
|
+
foreign?: string | undefined;
|
|
3189
|
+
}, {
|
|
3190
|
+
id: number;
|
|
3191
|
+
foreign?: string | undefined;
|
|
3192
|
+
}>, import("zod").ZodObject<{
|
|
3193
|
+
foreign: import("zod").ZodString;
|
|
3194
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3195
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
3196
|
+
foreign: string;
|
|
3197
|
+
id?: number | undefined;
|
|
3198
|
+
}, {
|
|
3199
|
+
foreign: string;
|
|
3200
|
+
id?: number | undefined;
|
|
3201
|
+
}>]>>>;
|
|
3202
|
+
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["transfer", "deposit", "withdrawal"]>>>;
|
|
3203
|
+
status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>>;
|
|
3204
|
+
transfer_group: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
3205
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3206
|
+
id: import("zod").ZodNumber;
|
|
3207
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
3208
|
+
id: number;
|
|
3209
|
+
identifier?: string | undefined;
|
|
3210
|
+
}, {
|
|
3211
|
+
id: number;
|
|
3212
|
+
identifier?: string | undefined;
|
|
3213
|
+
}>, import("zod").ZodObject<{
|
|
3214
|
+
identifier: import("zod").ZodString;
|
|
3215
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3216
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
3217
|
+
identifier: string;
|
|
3218
|
+
id?: number | undefined;
|
|
3219
|
+
}, {
|
|
3220
|
+
identifier: string;
|
|
3221
|
+
id?: number | undefined;
|
|
3222
|
+
}>]>>>;
|
|
3223
|
+
reverses: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
3224
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3225
|
+
id: import("zod").ZodNumber;
|
|
3226
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
3227
|
+
id: number;
|
|
3228
|
+
identifier?: string | undefined;
|
|
3229
|
+
}, {
|
|
3230
|
+
id: number;
|
|
3231
|
+
identifier?: string | undefined;
|
|
3232
|
+
}>, import("zod").ZodObject<{
|
|
3233
|
+
identifier: import("zod").ZodString;
|
|
3234
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3235
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
3236
|
+
identifier: string;
|
|
3237
|
+
id?: number | undefined;
|
|
3238
|
+
}, {
|
|
3239
|
+
identifier: string;
|
|
3240
|
+
id?: number | undefined;
|
|
3241
|
+
}>]>>>;
|
|
3242
|
+
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>>;
|
|
3243
|
+
amount: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>;
|
|
3244
|
+
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
3245
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
3246
|
+
status_finalized_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>>>;
|
|
3247
|
+
from_wallet_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
3248
|
+
to_wallet_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
3249
|
+
token_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
3250
|
+
transfer_group_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
3251
|
+
reverses_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
3252
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
3253
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
3254
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3255
|
+
identifier?: string | undefined;
|
|
3256
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
3257
|
+
id?: number | undefined;
|
|
3258
|
+
token?: {
|
|
3259
|
+
id: number;
|
|
3260
|
+
foreign?: string | undefined;
|
|
3261
|
+
} | {
|
|
3262
|
+
foreign: string;
|
|
3263
|
+
id?: number | undefined;
|
|
3264
|
+
} | undefined;
|
|
3265
|
+
created_at?: string | undefined;
|
|
3266
|
+
updated_at?: string | undefined;
|
|
3267
|
+
from_wallet_id?: number | undefined;
|
|
3268
|
+
to_wallet_id?: number | undefined;
|
|
3269
|
+
token_id?: number | undefined;
|
|
3270
|
+
amount?: number | undefined;
|
|
3271
|
+
transfer_group_id?: number | undefined;
|
|
3272
|
+
reverses_id?: number | undefined;
|
|
3273
|
+
status_finalized_at?: string | null | undefined;
|
|
3274
|
+
wallet?: {
|
|
3275
|
+
id: number;
|
|
3276
|
+
foreign?: string | undefined;
|
|
3277
|
+
} | {
|
|
3278
|
+
foreign: string;
|
|
3279
|
+
id?: number | undefined;
|
|
3280
|
+
} | undefined;
|
|
3281
|
+
transfer_group?: {
|
|
3282
|
+
id: number;
|
|
3283
|
+
identifier?: string | undefined;
|
|
3284
|
+
} | {
|
|
3285
|
+
identifier: string;
|
|
3286
|
+
id?: number | undefined;
|
|
3287
|
+
} | undefined;
|
|
3288
|
+
from_wallet?: {
|
|
3289
|
+
id: number;
|
|
3290
|
+
foreign?: string | undefined;
|
|
3291
|
+
} | {
|
|
3292
|
+
foreign: string;
|
|
3293
|
+
id?: number | undefined;
|
|
3294
|
+
} | undefined;
|
|
3295
|
+
to_wallet?: {
|
|
3296
|
+
id: number;
|
|
3297
|
+
foreign?: string | undefined;
|
|
3298
|
+
} | {
|
|
3299
|
+
foreign: string;
|
|
3300
|
+
id?: number | undefined;
|
|
3301
|
+
} | undefined;
|
|
3302
|
+
reverses?: {
|
|
3303
|
+
id: number;
|
|
3304
|
+
identifier?: string | undefined;
|
|
3305
|
+
} | {
|
|
3306
|
+
identifier: string;
|
|
3307
|
+
id?: number | undefined;
|
|
3308
|
+
} | undefined;
|
|
3309
|
+
}, {
|
|
3310
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
3311
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3312
|
+
identifier?: string | number | undefined;
|
|
3313
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
3314
|
+
id?: string | number | undefined;
|
|
3315
|
+
token?: {
|
|
3316
|
+
id: number;
|
|
3317
|
+
foreign?: string | undefined;
|
|
3318
|
+
} | {
|
|
3319
|
+
foreign: string;
|
|
3320
|
+
id?: number | undefined;
|
|
3321
|
+
} | undefined;
|
|
3322
|
+
created_at?: string | undefined;
|
|
3323
|
+
updated_at?: string | undefined;
|
|
3324
|
+
from_wallet_id?: string | number | undefined;
|
|
3325
|
+
to_wallet_id?: string | number | undefined;
|
|
3326
|
+
token_id?: string | number | undefined;
|
|
3327
|
+
amount?: string | number | undefined;
|
|
3328
|
+
transfer_group_id?: string | number | undefined;
|
|
3329
|
+
reverses_id?: string | number | undefined;
|
|
3330
|
+
status_finalized_at?: string | null | undefined;
|
|
3331
|
+
wallet?: {
|
|
3332
|
+
id: number;
|
|
3333
|
+
foreign?: string | undefined;
|
|
3334
|
+
} | {
|
|
3335
|
+
foreign: string;
|
|
3336
|
+
id?: number | undefined;
|
|
3337
|
+
} | undefined;
|
|
3338
|
+
transfer_group?: {
|
|
3339
|
+
id: number;
|
|
3340
|
+
identifier?: string | undefined;
|
|
3341
|
+
} | {
|
|
3342
|
+
identifier: string;
|
|
3343
|
+
id?: number | undefined;
|
|
3344
|
+
} | undefined;
|
|
3345
|
+
from_wallet?: {
|
|
3346
|
+
id: number;
|
|
3347
|
+
foreign?: string | undefined;
|
|
3348
|
+
} | {
|
|
3349
|
+
foreign: string;
|
|
3350
|
+
id?: number | undefined;
|
|
3351
|
+
} | undefined;
|
|
3352
|
+
to_wallet?: {
|
|
3353
|
+
id: number;
|
|
3354
|
+
foreign?: string | undefined;
|
|
3355
|
+
} | {
|
|
3356
|
+
foreign: string;
|
|
3357
|
+
id?: number | undefined;
|
|
3358
|
+
} | undefined;
|
|
3359
|
+
reverses?: {
|
|
3360
|
+
id: number;
|
|
3361
|
+
identifier?: string | undefined;
|
|
3362
|
+
} | {
|
|
3363
|
+
identifier: string;
|
|
3364
|
+
id?: number | undefined;
|
|
3365
|
+
} | undefined;
|
|
3366
|
+
}>, import("zod").ZodObject<{
|
|
3367
|
+
offset: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
3368
|
+
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
3369
|
+
transaction_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
3370
|
+
limit: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
3371
|
+
return_metadata_total: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
3372
|
+
order: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
3373
|
+
field: import("zod").ZodString;
|
|
3374
|
+
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["asc", "desc"]>>>;
|
|
3375
|
+
nulls: import("zod").ZodOptional<import("zod").ZodEnum<["first", "last"]>>;
|
|
3376
|
+
}, {
|
|
3377
|
+
field: import("zod").ZodEnum<["type", "status", "metadata", "id", "created_at", "updated_at", "identifier", "control_hash", "from_wallet_id", "to_wallet_id", "token_id", "amount", "force", "auto_hash", "transfer_group_id", "reverses_id", "status_finalized_at", "group_validate"]>;
|
|
3378
|
+
}>, "strict", import("zod").ZodTypeAny, {
|
|
3379
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate";
|
|
3380
|
+
direction?: "asc" | "desc" | undefined;
|
|
3381
|
+
nulls?: "first" | "last" | undefined;
|
|
3382
|
+
}, {
|
|
3383
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate";
|
|
3384
|
+
direction?: "asc" | "desc" | undefined;
|
|
3385
|
+
nulls?: "first" | "last" | undefined;
|
|
3386
|
+
}>, "many">>>;
|
|
3387
|
+
select: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "metadata", "id", "created_at", "updated_at", "identifier", "control_hash", "from_wallet_id", "to_wallet_id", "token_id", "amount", "force", "auto_hash", "transfer_group_id", "reverses_id", "status_finalized_at", "group_validate", "from_wallet_foreign", "to_wallet_foreign", "token_foreign", "transfer_group_identifier", "reverses_identifier"]>, "many">>>;
|
|
3388
|
+
deselect: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "metadata", "id", "created_at", "updated_at", "identifier", "control_hash", "from_wallet_id", "to_wallet_id", "token_id", "amount", "force", "auto_hash", "transfer_group_id", "reverses_id", "status_finalized_at", "group_validate", "from_wallet_foreign", "to_wallet_foreign", "token_foreign", "transfer_group_identifier", "reverses_identifier"]>, "many">>>;
|
|
3389
|
+
return_running_balance: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3390
|
+
return_signed_amount: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
3391
|
+
return_running_balance_for_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
3392
|
+
foreign: string;
|
|
3393
|
+
}, string | number>>;
|
|
3394
|
+
return_signed_amount_for_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
3395
|
+
foreign: string;
|
|
3396
|
+
}, string | number>>;
|
|
3397
|
+
order_by: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3398
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3399
|
+
offset?: number | undefined;
|
|
3400
|
+
tracking_id?: string | undefined;
|
|
3401
|
+
transaction_id?: string | undefined;
|
|
3402
|
+
limit?: number | undefined;
|
|
3403
|
+
return_metadata_total?: boolean | undefined;
|
|
3404
|
+
order?: {
|
|
3405
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate";
|
|
3406
|
+
direction?: "asc" | "desc" | undefined;
|
|
3407
|
+
nulls?: "first" | "last" | undefined;
|
|
3408
|
+
}[] | undefined;
|
|
3409
|
+
select?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate" | "from_wallet_foreign" | "to_wallet_foreign" | "token_foreign" | "transfer_group_identifier" | "reverses_identifier")[] | undefined;
|
|
3410
|
+
deselect?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate" | "from_wallet_foreign" | "to_wallet_foreign" | "token_foreign" | "transfer_group_identifier" | "reverses_identifier")[] | undefined;
|
|
3411
|
+
order_by?: string | undefined;
|
|
3412
|
+
return_running_balance_for_wallet?: {
|
|
3413
|
+
foreign: string;
|
|
3414
|
+
} | undefined;
|
|
3415
|
+
return_signed_amount_for_wallet?: {
|
|
3416
|
+
foreign: string;
|
|
3417
|
+
} | undefined;
|
|
3418
|
+
return_running_balance?: boolean | undefined;
|
|
3419
|
+
return_signed_amount?: boolean | undefined;
|
|
3420
|
+
}, {
|
|
3421
|
+
offset?: number | undefined;
|
|
3422
|
+
tracking_id?: string | undefined;
|
|
3423
|
+
transaction_id?: string | undefined;
|
|
3424
|
+
limit?: number | undefined;
|
|
3425
|
+
return_metadata_total?: boolean | undefined;
|
|
3426
|
+
order?: {
|
|
3427
|
+
field: "type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate";
|
|
3428
|
+
direction?: "asc" | "desc" | undefined;
|
|
3429
|
+
nulls?: "first" | "last" | undefined;
|
|
3430
|
+
}[] | undefined;
|
|
3431
|
+
select?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate" | "from_wallet_foreign" | "to_wallet_foreign" | "token_foreign" | "transfer_group_identifier" | "reverses_identifier")[] | undefined;
|
|
3432
|
+
deselect?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate" | "from_wallet_foreign" | "to_wallet_foreign" | "token_foreign" | "transfer_group_identifier" | "reverses_identifier")[] | undefined;
|
|
3433
|
+
order_by?: string | undefined;
|
|
3434
|
+
return_running_balance_for_wallet?: string | number | undefined;
|
|
3435
|
+
return_signed_amount_for_wallet?: string | number | undefined;
|
|
3436
|
+
return_running_balance?: boolean | undefined;
|
|
3437
|
+
return_signed_amount?: boolean | undefined;
|
|
3438
|
+
}>, "transfers", {
|
|
3439
|
+
type: "transfer" | "deposit" | "withdrawal";
|
|
3440
|
+
status: "pending" | "finished" | "cancelled";
|
|
3441
|
+
identifier: string;
|
|
3442
|
+
id: number;
|
|
3443
|
+
created_at: string;
|
|
3444
|
+
updated_at: string;
|
|
3445
|
+
control_hash: string | null;
|
|
3446
|
+
from_wallet_id: number;
|
|
3447
|
+
to_wallet_id: number;
|
|
3448
|
+
token_id: number;
|
|
3449
|
+
amount: number;
|
|
3450
|
+
force: boolean;
|
|
3451
|
+
auto_hash: boolean;
|
|
3452
|
+
status_finalized_at: string | null;
|
|
3453
|
+
from_wallet_foreign: string;
|
|
3454
|
+
to_wallet_foreign: string;
|
|
3455
|
+
token_foreign: string;
|
|
3456
|
+
transfer_group_identifier: string | null;
|
|
3457
|
+
reverses_identifier: string | null;
|
|
3458
|
+
balance_id: number | null;
|
|
3459
|
+
balance_pending: number | null;
|
|
3460
|
+
balance_pending_to: number | null;
|
|
3461
|
+
balance_pending_from: number | null;
|
|
3462
|
+
balance_finished: number | null;
|
|
3463
|
+
signed_amount: number | null;
|
|
3464
|
+
metadata?: import("./db/consts").Metadata | undefined;
|
|
3465
|
+
transfer_group_id?: number | null | undefined;
|
|
3466
|
+
reverses_id?: number | null | undefined;
|
|
3467
|
+
group_validate?: boolean | null | undefined;
|
|
3468
|
+
}, import("./lib/query-builder/find-query-builder").AllTrue<{
|
|
3469
|
+
type: "transfer" | "deposit" | "withdrawal";
|
|
3470
|
+
status: "pending" | "finished" | "cancelled";
|
|
3471
|
+
identifier: string;
|
|
3472
|
+
id: number;
|
|
3473
|
+
created_at: string;
|
|
3474
|
+
updated_at: string;
|
|
3475
|
+
control_hash: string | null;
|
|
3476
|
+
from_wallet_id: number;
|
|
3477
|
+
to_wallet_id: number;
|
|
3478
|
+
token_id: number;
|
|
3479
|
+
amount: number;
|
|
3480
|
+
force: boolean;
|
|
3481
|
+
auto_hash: boolean;
|
|
3482
|
+
from_wallet_foreign: string;
|
|
3483
|
+
to_wallet_foreign: string;
|
|
3484
|
+
token_foreign: string;
|
|
3485
|
+
transfer_group_identifier: string | null;
|
|
3486
|
+
reverses_identifier: string | null;
|
|
3487
|
+
metadata?: import("./db/consts").Metadata | undefined;
|
|
3488
|
+
transfer_group_id?: number | null | undefined;
|
|
3489
|
+
reverses_id?: number | null | undefined;
|
|
3490
|
+
status_finalized_at?: string | null | undefined;
|
|
3491
|
+
group_validate?: boolean | null | undefined;
|
|
3492
|
+
}>, {}, true>;
|
|
1162
3493
|
/**
|
|
1163
3494
|
*
|
|
1164
3495
|
* Search for Wallets using either a simple filter or queryBuilder
|
|
@@ -1187,13 +3518,158 @@ export declare class Client {
|
|
|
1187
3518
|
*
|
|
1188
3519
|
* ```
|
|
1189
3520
|
*
|
|
1190
|
-
* @param {FindWalletsFnInput} [input]
|
|
1191
|
-
* @param {FindWalletsFnOptions} [options]
|
|
1192
|
-
* @returns {StreamPromise<FindWalletsFnOutput>}
|
|
1193
|
-
*
|
|
1194
3521
|
*/
|
|
1195
|
-
findWallets(
|
|
1196
|
-
|
|
3522
|
+
findWallets(input?: FindWalletsFnInput, options?: FindWalletsFnOptions): import("./lib/query-builder/find-query-builder").FindQueryBuilder<import("zod").ZodObject<{
|
|
3523
|
+
foreign: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
3524
|
+
name: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
3525
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<["token", "house", "regular"]>>;
|
|
3526
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<["active", "disabled"]>>;
|
|
3527
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
3528
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3529
|
+
type?: "token" | "house" | "regular" | undefined;
|
|
3530
|
+
status?: "active" | "disabled" | undefined;
|
|
3531
|
+
foreign?: string | undefined;
|
|
3532
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
3533
|
+
name?: string | undefined;
|
|
3534
|
+
}, {
|
|
3535
|
+
type?: "token" | "house" | "regular" | undefined;
|
|
3536
|
+
status?: "active" | "disabled" | undefined;
|
|
3537
|
+
foreign?: string | number | undefined;
|
|
3538
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
3539
|
+
name?: string | number | undefined;
|
|
3540
|
+
}>, import("zod").ZodObject<{
|
|
3541
|
+
foreign: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>>;
|
|
3542
|
+
name: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
3543
|
+
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["token", "house", "regular"]>>>;
|
|
3544
|
+
status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["active", "disabled"]>>>;
|
|
3545
|
+
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>>;
|
|
3546
|
+
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
3547
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
3548
|
+
id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
3549
|
+
balance_pending_amount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
3550
|
+
balance_finished_amount: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
3551
|
+
balance_available_balance: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>;
|
|
3552
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
3553
|
+
type?: "token" | "house" | "regular" | undefined;
|
|
3554
|
+
status?: "active" | "disabled" | undefined;
|
|
3555
|
+
foreign?: string | undefined;
|
|
3556
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
3557
|
+
id?: number | undefined;
|
|
3558
|
+
name?: string | undefined;
|
|
3559
|
+
created_at?: string | undefined;
|
|
3560
|
+
updated_at?: string | undefined;
|
|
3561
|
+
balance_pending_amount?: number | null | undefined;
|
|
3562
|
+
balance_finished_amount?: number | null | undefined;
|
|
3563
|
+
balance_available_balance?: number | null | undefined;
|
|
3564
|
+
}, {
|
|
3565
|
+
type?: "token" | "house" | "regular" | undefined;
|
|
3566
|
+
status?: "active" | "disabled" | undefined;
|
|
3567
|
+
foreign?: string | number | undefined;
|
|
3568
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
3569
|
+
id?: string | number | undefined;
|
|
3570
|
+
name?: string | undefined;
|
|
3571
|
+
created_at?: string | undefined;
|
|
3572
|
+
updated_at?: string | undefined;
|
|
3573
|
+
balance_pending_amount?: number | null | undefined;
|
|
3574
|
+
balance_finished_amount?: number | null | undefined;
|
|
3575
|
+
balance_available_balance?: number | null | undefined;
|
|
3576
|
+
}>, import("zod").ZodObject<{
|
|
3577
|
+
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
3578
|
+
transaction_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
3579
|
+
limit: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
3580
|
+
offset: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
3581
|
+
return_metadata_total: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
3582
|
+
order: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
3583
|
+
field: import("zod").ZodString;
|
|
3584
|
+
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["asc", "desc"]>>>;
|
|
3585
|
+
nulls: import("zod").ZodOptional<import("zod").ZodEnum<["first", "last"]>>;
|
|
3586
|
+
}, {
|
|
3587
|
+
field: import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "name", "default_allow_negative", "default_allow_positive", "created_at", "updated_at", "default_dtw_to", "default_dtw_from", "balance_token_id", "balance_token_foreign", "balance_transfer_id", "balance_pending_amount", "balance_pending_amount_to", "balance_pending_amount_from", "balance_finished_amount", "balance_amount", "balance_available_balance", "balance_latest_control_hash", "balance_updated_at"]>;
|
|
3588
|
+
}>, "strict", import("zod").ZodTypeAny, {
|
|
3589
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at";
|
|
3590
|
+
direction?: "asc" | "desc" | undefined;
|
|
3591
|
+
nulls?: "first" | "last" | undefined;
|
|
3592
|
+
}, {
|
|
3593
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at";
|
|
3594
|
+
direction?: "asc" | "desc" | undefined;
|
|
3595
|
+
nulls?: "first" | "last" | undefined;
|
|
3596
|
+
}>, "many">>>;
|
|
3597
|
+
select: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "name", "default_allow_negative", "default_allow_positive", "created_at", "updated_at", "default_dtw_to", "default_dtw_from", "balance_token_id", "balance_token_foreign", "balance_transfer_id", "balance_pending_amount", "balance_pending_amount_to", "balance_pending_amount_from", "balance_finished_amount", "balance_amount", "balance_available_balance", "balance_latest_control_hash", "balance_updated_at"]>, "many">>>;
|
|
3598
|
+
deselect: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "name", "default_allow_negative", "default_allow_positive", "created_at", "updated_at", "default_dtw_to", "default_dtw_from", "balance_token_id", "balance_token_foreign", "balance_transfer_id", "balance_pending_amount", "balance_pending_amount_to", "balance_pending_amount_from", "balance_finished_amount", "balance_amount", "balance_available_balance", "balance_latest_control_hash", "balance_updated_at"]>, "many">>>;
|
|
3599
|
+
order_by: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3600
|
+
include_balance_for_token: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
3601
|
+
foreign: string;
|
|
3602
|
+
}, string | number>>;
|
|
3603
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
3604
|
+
offset?: number | undefined;
|
|
3605
|
+
tracking_id?: string | undefined;
|
|
3606
|
+
transaction_id?: string | undefined;
|
|
3607
|
+
limit?: number | undefined;
|
|
3608
|
+
return_metadata_total?: boolean | undefined;
|
|
3609
|
+
order?: {
|
|
3610
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at";
|
|
3611
|
+
direction?: "asc" | "desc" | undefined;
|
|
3612
|
+
nulls?: "first" | "last" | undefined;
|
|
3613
|
+
}[] | undefined;
|
|
3614
|
+
select?: ("type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at")[] | undefined;
|
|
3615
|
+
deselect?: ("type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at")[] | undefined;
|
|
3616
|
+
order_by?: string | undefined;
|
|
3617
|
+
include_balance_for_token?: {
|
|
3618
|
+
foreign: string;
|
|
3619
|
+
} | undefined;
|
|
3620
|
+
}, {
|
|
3621
|
+
offset?: number | undefined;
|
|
3622
|
+
tracking_id?: string | undefined;
|
|
3623
|
+
transaction_id?: string | undefined;
|
|
3624
|
+
limit?: number | undefined;
|
|
3625
|
+
return_metadata_total?: boolean | undefined;
|
|
3626
|
+
order?: {
|
|
3627
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at";
|
|
3628
|
+
direction?: "asc" | "desc" | undefined;
|
|
3629
|
+
nulls?: "first" | "last" | undefined;
|
|
3630
|
+
}[] | undefined;
|
|
3631
|
+
select?: ("type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at")[] | undefined;
|
|
3632
|
+
deselect?: ("type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at")[] | undefined;
|
|
3633
|
+
order_by?: string | undefined;
|
|
3634
|
+
include_balance_for_token?: string | number | undefined;
|
|
3635
|
+
}>, "wallets", {
|
|
3636
|
+
type: "token" | "house" | "regular";
|
|
3637
|
+
status: "active" | "disabled";
|
|
3638
|
+
foreign: string;
|
|
3639
|
+
id: number;
|
|
3640
|
+
default_allow_negative: boolean;
|
|
3641
|
+
default_allow_positive: boolean;
|
|
3642
|
+
created_at: string;
|
|
3643
|
+
updated_at: string;
|
|
3644
|
+
balance_token_id: number | null;
|
|
3645
|
+
balance_token_foreign: string | null;
|
|
3646
|
+
balance_transfer_id: number | null;
|
|
3647
|
+
balance_pending_amount: number | null;
|
|
3648
|
+
balance_pending_amount_to: number | null;
|
|
3649
|
+
balance_pending_amount_from: number | null;
|
|
3650
|
+
balance_finished_amount: number | null;
|
|
3651
|
+
balance_amount: number | null;
|
|
3652
|
+
balance_available_balance: number | null;
|
|
3653
|
+
balance_latest_control_hash: string | null;
|
|
3654
|
+
balance_updated_at: string | null;
|
|
3655
|
+
metadata?: import("./db/consts").Metadata | undefined;
|
|
3656
|
+
name?: string | null | undefined;
|
|
3657
|
+
default_dtw_to?: string | undefined;
|
|
3658
|
+
default_dtw_from?: string | undefined;
|
|
3659
|
+
}, import("./lib/query-builder/find-query-builder").AllTrue<{
|
|
3660
|
+
id: number;
|
|
3661
|
+
type?: "token" | "house" | "regular" | undefined;
|
|
3662
|
+
status?: "active" | "disabled" | undefined;
|
|
3663
|
+
foreign?: string | undefined;
|
|
3664
|
+
metadata?: import("./db/consts").Metadata | undefined;
|
|
3665
|
+
name?: string | null | undefined;
|
|
3666
|
+
default_allow_negative?: boolean | undefined;
|
|
3667
|
+
default_allow_positive?: boolean | undefined;
|
|
3668
|
+
created_at?: string | undefined;
|
|
3669
|
+
updated_at?: string | undefined;
|
|
3670
|
+
default_dtw_to?: string | undefined;
|
|
3671
|
+
default_dtw_from?: string | undefined;
|
|
3672
|
+
}>, {}, true>;
|
|
1197
3673
|
/**
|
|
1198
3674
|
*
|
|
1199
3675
|
* Get a specific token/wallet balance
|
|
@@ -1232,10 +3708,6 @@ export declare class Client {
|
|
|
1232
3708
|
*
|
|
1233
3709
|
* ```
|
|
1234
3710
|
*
|
|
1235
|
-
* @param {GetBalanceFnInput} input
|
|
1236
|
-
* @param {GetBalanceFnOptions} [options]
|
|
1237
|
-
* @returns {StreamPromise<GetBalanceFnOutput>}
|
|
1238
|
-
*
|
|
1239
3711
|
*/
|
|
1240
3712
|
getBalance(input: GetBalanceFnInput, options?: GetBalanceFnOptions): StreamPromise<GetBalanceFnOutput>;
|
|
1241
3713
|
/**
|
|
@@ -1341,10 +3813,6 @@ export declare class Client {
|
|
|
1341
3813
|
*
|
|
1342
3814
|
* ```
|
|
1343
3815
|
*
|
|
1344
|
-
* @param {GetBalanceHistoryFnInput} input
|
|
1345
|
-
* @param {GetBalanceHistoryFnOptions} [options]
|
|
1346
|
-
* @returns {StreamPromise<GetBalanceHistoryFnOutput>}
|
|
1347
|
-
*
|
|
1348
3816
|
*/
|
|
1349
3817
|
getBalanceHistory(input: GetBalanceHistoryFnInput, options?: GetBalanceHistoryFnOptions): StreamPromise<GetBalanceHistoryFnOutput>;
|
|
1350
3818
|
/**
|
|
@@ -1366,10 +3834,6 @@ export declare class Client {
|
|
|
1366
3834
|
*
|
|
1367
3835
|
* ```
|
|
1368
3836
|
*
|
|
1369
|
-
* @param {GetExportFnInput} input
|
|
1370
|
-
* @param {GetExportFnOptions} [options]
|
|
1371
|
-
* @returns {StreamPromise<GetExportFnOutput>}
|
|
1372
|
-
*
|
|
1373
3837
|
*/
|
|
1374
3838
|
getExport(input: GetExportFnInput, options?: GetExportFnOptions): StreamPromise<GetExportFnOutput>;
|
|
1375
3839
|
/**
|
|
@@ -1387,10 +3851,6 @@ export declare class Client {
|
|
|
1387
3851
|
*
|
|
1388
3852
|
* ```
|
|
1389
3853
|
*
|
|
1390
|
-
* @param {GetFlagsFnInput} [input]
|
|
1391
|
-
* @param {GetFlagsFnOptions} [options]
|
|
1392
|
-
* @returns {StreamPromise<GetFlagsFnOutput>}
|
|
1393
|
-
*
|
|
1394
3854
|
*/
|
|
1395
3855
|
getFlags(input?: GetFlagsFnInput, options?: GetFlagsFnOptions): StreamPromise<GetFlagsFnOutput>;
|
|
1396
3856
|
/**
|
|
@@ -1439,10 +3899,6 @@ export declare class Client {
|
|
|
1439
3899
|
*
|
|
1440
3900
|
* ```
|
|
1441
3901
|
*
|
|
1442
|
-
* @param {GetStatisticsFnInput} [input]
|
|
1443
|
-
* @param {GetStatisticsFnOptions} [options]
|
|
1444
|
-
* @returns {StreamPromise<GetStatisticsFnOutput>}
|
|
1445
|
-
*
|
|
1446
3902
|
*/
|
|
1447
3903
|
getStatistics(input?: GetStatisticsFnInput, options?: GetStatisticsFnOptions): StreamPromise<GetStatisticsFnOutput>;
|
|
1448
3904
|
/**
|
|
@@ -1478,10 +3934,6 @@ export declare class Client {
|
|
|
1478
3934
|
*
|
|
1479
3935
|
* ```
|
|
1480
3936
|
*
|
|
1481
|
-
* @param {GetTokenFnInput} [input]
|
|
1482
|
-
* @param {GetTokenFnOptions} [options]
|
|
1483
|
-
* @returns {StreamPromise<GetTokenFnOutput>}
|
|
1484
|
-
*
|
|
1485
3937
|
*/
|
|
1486
3938
|
getToken(input?: GetTokenFnInput, options?: GetTokenFnOptions): StreamPromise<GetTokenFnOutput>;
|
|
1487
3939
|
/**
|
|
@@ -1509,10 +3961,6 @@ export declare class Client {
|
|
|
1509
3961
|
*
|
|
1510
3962
|
* ```
|
|
1511
3963
|
*
|
|
1512
|
-
* @param {GetTransferFnInput} input
|
|
1513
|
-
* @param {GetTransferFnOptions} [options]
|
|
1514
|
-
* @returns {StreamPromise<GetTransferFnOutput>}
|
|
1515
|
-
*
|
|
1516
3964
|
*/
|
|
1517
3965
|
getTransfer(input: GetTransferFnInput, options?: GetTransferFnOptions): StreamPromise<GetTransferFnOutput>;
|
|
1518
3966
|
/**
|
|
@@ -1547,10 +3995,6 @@ export declare class Client {
|
|
|
1547
3995
|
*
|
|
1548
3996
|
* ```
|
|
1549
3997
|
*
|
|
1550
|
-
* @param {GetTransferGroupFnInput} input
|
|
1551
|
-
* @param {GetTransferGroupFnOptions} [options]
|
|
1552
|
-
* @returns {StreamPromise<GetTransferGroupFnOutput>}
|
|
1553
|
-
*
|
|
1554
3998
|
*/
|
|
1555
3999
|
getTransferGroup(input: GetTransferGroupFnInput, options?: GetTransferGroupFnOptions): StreamPromise<GetTransferGroupFnOutput>;
|
|
1556
4000
|
/**
|
|
@@ -1580,10 +4024,6 @@ export declare class Client {
|
|
|
1580
4024
|
*
|
|
1581
4025
|
* ```
|
|
1582
4026
|
*
|
|
1583
|
-
* @param {GetWalletFnInput} input
|
|
1584
|
-
* @param {GetWalletFnOptions} [options]
|
|
1585
|
-
* @returns {StreamPromise<GetWalletFnOutput>}
|
|
1586
|
-
*
|
|
1587
4027
|
*/
|
|
1588
4028
|
getWallet(input: GetWalletFnInput, options?: GetWalletFnOptions): StreamPromise<GetWalletFnOutput>;
|
|
1589
4029
|
/**
|
|
@@ -1601,10 +4041,6 @@ export declare class Client {
|
|
|
1601
4041
|
*
|
|
1602
4042
|
* ```
|
|
1603
4043
|
*
|
|
1604
|
-
* @param {HealthcheckFnInput} [input]
|
|
1605
|
-
* @param {HealthcheckFnOptions} [options]
|
|
1606
|
-
* @returns {StreamPromise<HealthcheckFnOutput>}
|
|
1607
|
-
*
|
|
1608
4044
|
*/
|
|
1609
4045
|
healthcheck(input?: HealthcheckFnInput, options?: HealthcheckFnOptions): StreamPromise<HealthcheckFnOutput>;
|
|
1610
4046
|
/**
|
|
@@ -1626,10 +4062,6 @@ export declare class Client {
|
|
|
1626
4062
|
*
|
|
1627
4063
|
* ```
|
|
1628
4064
|
*
|
|
1629
|
-
* @param {ListExportsFnInput} [input]
|
|
1630
|
-
* @param {ListExportsFnOptions} [options]
|
|
1631
|
-
* @returns {StreamPromise<ListExportsFnOutput>}
|
|
1632
|
-
*
|
|
1633
4065
|
*/
|
|
1634
4066
|
listExports(input?: ListExportsFnInput, options?: ListExportsFnOptions): StreamPromise<ListExportsFnOutput>;
|
|
1635
4067
|
/**
|
|
@@ -1693,10 +4125,6 @@ export declare class Client {
|
|
|
1693
4125
|
*
|
|
1694
4126
|
* ```
|
|
1695
4127
|
*
|
|
1696
|
-
* @param {ReverseTransferFnInput} input
|
|
1697
|
-
* @param {ReverseTransferFnOptions} [options]
|
|
1698
|
-
* @returns {StreamPromise<ReverseTransferFnOutput>}
|
|
1699
|
-
*
|
|
1700
4128
|
*/
|
|
1701
4129
|
reverseTransfer(input: ReverseTransferFnInput, options?: ReverseTransferFnOptions): StreamPromise<ReverseTransferFnOutput>;
|
|
1702
4130
|
/**
|
|
@@ -1761,10 +4189,6 @@ export declare class Client {
|
|
|
1761
4189
|
*
|
|
1762
4190
|
* ```
|
|
1763
4191
|
*
|
|
1764
|
-
* @param {ReverseTransferGroupFnInput} input
|
|
1765
|
-
* @param {ReverseTransferGroupFnOptions} [options]
|
|
1766
|
-
* @returns {StreamPromise<ReverseTransferGroupFnOutput>}
|
|
1767
|
-
*
|
|
1768
4192
|
*/
|
|
1769
4193
|
reverseTransferGroup(input: ReverseTransferGroupFnInput, options?: ReverseTransferGroupFnOptions): StreamPromise<ReverseTransferGroupFnOutput>;
|
|
1770
4194
|
/**
|
|
@@ -1838,13 +4262,405 @@ export declare class Client {
|
|
|
1838
4262
|
*
|
|
1839
4263
|
* ```
|
|
1840
4264
|
*
|
|
1841
|
-
* @param {ReverseTransfersFnInput} [input]
|
|
1842
|
-
* @param {ReverseTransfersFnOptions} [options]
|
|
1843
|
-
* @returns {StreamPromise<ReverseTransfersFnOutput>}
|
|
1844
|
-
*
|
|
1845
4265
|
*/
|
|
1846
|
-
reverseTransfers(
|
|
1847
|
-
|
|
4266
|
+
reverseTransfers(input?: ReverseTransfersFnInput, options?: ReverseTransfersFnOptions): import("./lib/query-builder/reverse-query-builder").ReverseQueryBuilder<import("zod").ZodObject<{
|
|
4267
|
+
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["transfer", "deposit", "withdrawal"]>>>>;
|
|
4268
|
+
identifier: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>>>;
|
|
4269
|
+
id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>>;
|
|
4270
|
+
created_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>>;
|
|
4271
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>>;
|
|
4272
|
+
from_wallet_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>;
|
|
4273
|
+
to_wallet_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>;
|
|
4274
|
+
token_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>;
|
|
4275
|
+
amount: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>>;
|
|
4276
|
+
transfer_group_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>;
|
|
4277
|
+
reverses_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>;
|
|
4278
|
+
reverses: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
4279
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4280
|
+
id: import("zod").ZodNumber;
|
|
4281
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4282
|
+
id: number;
|
|
4283
|
+
identifier?: string | undefined;
|
|
4284
|
+
}, {
|
|
4285
|
+
id: number;
|
|
4286
|
+
identifier?: string | undefined;
|
|
4287
|
+
}>, import("zod").ZodObject<{
|
|
4288
|
+
identifier: import("zod").ZodString;
|
|
4289
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4290
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4291
|
+
identifier: string;
|
|
4292
|
+
id?: number | undefined;
|
|
4293
|
+
}, {
|
|
4294
|
+
identifier: string;
|
|
4295
|
+
id?: number | undefined;
|
|
4296
|
+
}>]>>>>;
|
|
4297
|
+
wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
4298
|
+
foreign: string;
|
|
4299
|
+
}, string | number>>;
|
|
4300
|
+
token: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
4301
|
+
foreign: string;
|
|
4302
|
+
}, string | number>>;
|
|
4303
|
+
from_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
4304
|
+
foreign: string;
|
|
4305
|
+
}, string | number>>;
|
|
4306
|
+
to_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
4307
|
+
foreign: string;
|
|
4308
|
+
}, string | number>>;
|
|
4309
|
+
transfer_group: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
4310
|
+
foreign: string;
|
|
4311
|
+
}, string | number>>;
|
|
4312
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
4313
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
4314
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4315
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
4316
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
4317
|
+
identifier?: string | undefined;
|
|
4318
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
4319
|
+
id?: number | undefined;
|
|
4320
|
+
token?: {
|
|
4321
|
+
foreign: string;
|
|
4322
|
+
} | undefined;
|
|
4323
|
+
created_at?: string | undefined;
|
|
4324
|
+
updated_at?: string | undefined;
|
|
4325
|
+
from_wallet_id?: number | undefined;
|
|
4326
|
+
to_wallet_id?: number | undefined;
|
|
4327
|
+
token_id?: number | undefined;
|
|
4328
|
+
amount?: number | undefined;
|
|
4329
|
+
transfer_group_id?: number | undefined;
|
|
4330
|
+
reverses_id?: number | undefined;
|
|
4331
|
+
wallet?: {
|
|
4332
|
+
foreign: string;
|
|
4333
|
+
} | undefined;
|
|
4334
|
+
transfer_group?: {
|
|
4335
|
+
foreign: string;
|
|
4336
|
+
} | undefined;
|
|
4337
|
+
from_wallet?: {
|
|
4338
|
+
foreign: string;
|
|
4339
|
+
} | undefined;
|
|
4340
|
+
to_wallet?: {
|
|
4341
|
+
foreign: string;
|
|
4342
|
+
} | undefined;
|
|
4343
|
+
reverses?: {
|
|
4344
|
+
id: number;
|
|
4345
|
+
identifier?: string | undefined;
|
|
4346
|
+
} | {
|
|
4347
|
+
identifier: string;
|
|
4348
|
+
id?: number | undefined;
|
|
4349
|
+
} | undefined;
|
|
4350
|
+
}, {
|
|
4351
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
4352
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
4353
|
+
identifier?: string | number | undefined;
|
|
4354
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
4355
|
+
id?: string | number | undefined;
|
|
4356
|
+
token?: string | number | undefined;
|
|
4357
|
+
created_at?: string | undefined;
|
|
4358
|
+
updated_at?: string | undefined;
|
|
4359
|
+
from_wallet_id?: string | number | undefined;
|
|
4360
|
+
to_wallet_id?: string | number | undefined;
|
|
4361
|
+
token_id?: string | number | undefined;
|
|
4362
|
+
amount?: string | number | undefined;
|
|
4363
|
+
transfer_group_id?: string | number | undefined;
|
|
4364
|
+
reverses_id?: string | number | undefined;
|
|
4365
|
+
wallet?: string | number | undefined;
|
|
4366
|
+
transfer_group?: string | number | undefined;
|
|
4367
|
+
from_wallet?: string | number | undefined;
|
|
4368
|
+
to_wallet?: string | number | undefined;
|
|
4369
|
+
reverses?: {
|
|
4370
|
+
id: number;
|
|
4371
|
+
identifier?: string | undefined;
|
|
4372
|
+
} | {
|
|
4373
|
+
identifier: string;
|
|
4374
|
+
id?: number | undefined;
|
|
4375
|
+
} | undefined;
|
|
4376
|
+
}>, import("zod").ZodObject<{
|
|
4377
|
+
id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>;
|
|
4378
|
+
identifier: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>>;
|
|
4379
|
+
from_wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
4380
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4381
|
+
id: import("zod").ZodNumber;
|
|
4382
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4383
|
+
id: number;
|
|
4384
|
+
foreign?: string | undefined;
|
|
4385
|
+
}, {
|
|
4386
|
+
id: number;
|
|
4387
|
+
foreign?: string | undefined;
|
|
4388
|
+
}>, import("zod").ZodObject<{
|
|
4389
|
+
foreign: import("zod").ZodString;
|
|
4390
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4391
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4392
|
+
foreign: string;
|
|
4393
|
+
id?: number | undefined;
|
|
4394
|
+
}, {
|
|
4395
|
+
foreign: string;
|
|
4396
|
+
id?: number | undefined;
|
|
4397
|
+
}>]>>>;
|
|
4398
|
+
to_wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
4399
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4400
|
+
id: import("zod").ZodNumber;
|
|
4401
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4402
|
+
id: number;
|
|
4403
|
+
foreign?: string | undefined;
|
|
4404
|
+
}, {
|
|
4405
|
+
id: number;
|
|
4406
|
+
foreign?: string | undefined;
|
|
4407
|
+
}>, import("zod").ZodObject<{
|
|
4408
|
+
foreign: import("zod").ZodString;
|
|
4409
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4410
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4411
|
+
foreign: string;
|
|
4412
|
+
id?: number | undefined;
|
|
4413
|
+
}, {
|
|
4414
|
+
foreign: string;
|
|
4415
|
+
id?: number | undefined;
|
|
4416
|
+
}>]>>>;
|
|
4417
|
+
wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
4418
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4419
|
+
id: import("zod").ZodNumber;
|
|
4420
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4421
|
+
id: number;
|
|
4422
|
+
foreign?: string | undefined;
|
|
4423
|
+
}, {
|
|
4424
|
+
id: number;
|
|
4425
|
+
foreign?: string | undefined;
|
|
4426
|
+
}>, import("zod").ZodObject<{
|
|
4427
|
+
foreign: import("zod").ZodString;
|
|
4428
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4429
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4430
|
+
foreign: string;
|
|
4431
|
+
id?: number | undefined;
|
|
4432
|
+
}, {
|
|
4433
|
+
foreign: string;
|
|
4434
|
+
id?: number | undefined;
|
|
4435
|
+
}>]>>>;
|
|
4436
|
+
token: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
4437
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4438
|
+
id: import("zod").ZodNumber;
|
|
4439
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4440
|
+
id: number;
|
|
4441
|
+
foreign?: string | undefined;
|
|
4442
|
+
}, {
|
|
4443
|
+
id: number;
|
|
4444
|
+
foreign?: string | undefined;
|
|
4445
|
+
}>, import("zod").ZodObject<{
|
|
4446
|
+
foreign: import("zod").ZodString;
|
|
4447
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4448
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4449
|
+
foreign: string;
|
|
4450
|
+
id?: number | undefined;
|
|
4451
|
+
}, {
|
|
4452
|
+
foreign: string;
|
|
4453
|
+
id?: number | undefined;
|
|
4454
|
+
}>]>>>;
|
|
4455
|
+
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["transfer", "deposit", "withdrawal"]>>>;
|
|
4456
|
+
status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>>;
|
|
4457
|
+
transfer_group: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
4458
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4459
|
+
id: import("zod").ZodNumber;
|
|
4460
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4461
|
+
id: number;
|
|
4462
|
+
identifier?: string | undefined;
|
|
4463
|
+
}, {
|
|
4464
|
+
id: number;
|
|
4465
|
+
identifier?: string | undefined;
|
|
4466
|
+
}>, import("zod").ZodObject<{
|
|
4467
|
+
identifier: import("zod").ZodString;
|
|
4468
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4469
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4470
|
+
identifier: string;
|
|
4471
|
+
id?: number | undefined;
|
|
4472
|
+
}, {
|
|
4473
|
+
identifier: string;
|
|
4474
|
+
id?: number | undefined;
|
|
4475
|
+
}>]>>>;
|
|
4476
|
+
reverses: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
4477
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4478
|
+
id: import("zod").ZodNumber;
|
|
4479
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4480
|
+
id: number;
|
|
4481
|
+
identifier?: string | undefined;
|
|
4482
|
+
}, {
|
|
4483
|
+
id: number;
|
|
4484
|
+
identifier?: string | undefined;
|
|
4485
|
+
}>, import("zod").ZodObject<{
|
|
4486
|
+
identifier: import("zod").ZodString;
|
|
4487
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4488
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4489
|
+
identifier: string;
|
|
4490
|
+
id?: number | undefined;
|
|
4491
|
+
}, {
|
|
4492
|
+
identifier: string;
|
|
4493
|
+
id?: number | undefined;
|
|
4494
|
+
}>]>>>;
|
|
4495
|
+
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>>;
|
|
4496
|
+
amount: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>;
|
|
4497
|
+
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
4498
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
4499
|
+
status_finalized_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>>>;
|
|
4500
|
+
from_wallet_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
4501
|
+
to_wallet_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
4502
|
+
token_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
4503
|
+
transfer_group_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
4504
|
+
reverses_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
4505
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4506
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
4507
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
4508
|
+
identifier?: string | undefined;
|
|
4509
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
4510
|
+
id?: number | undefined;
|
|
4511
|
+
token?: {
|
|
4512
|
+
id: number;
|
|
4513
|
+
foreign?: string | undefined;
|
|
4514
|
+
} | {
|
|
4515
|
+
foreign: string;
|
|
4516
|
+
id?: number | undefined;
|
|
4517
|
+
} | undefined;
|
|
4518
|
+
created_at?: string | undefined;
|
|
4519
|
+
updated_at?: string | undefined;
|
|
4520
|
+
from_wallet_id?: number | undefined;
|
|
4521
|
+
to_wallet_id?: number | undefined;
|
|
4522
|
+
token_id?: number | undefined;
|
|
4523
|
+
amount?: number | undefined;
|
|
4524
|
+
transfer_group_id?: number | undefined;
|
|
4525
|
+
reverses_id?: number | undefined;
|
|
4526
|
+
status_finalized_at?: string | null | undefined;
|
|
4527
|
+
wallet?: {
|
|
4528
|
+
id: number;
|
|
4529
|
+
foreign?: string | undefined;
|
|
4530
|
+
} | {
|
|
4531
|
+
foreign: string;
|
|
4532
|
+
id?: number | undefined;
|
|
4533
|
+
} | undefined;
|
|
4534
|
+
transfer_group?: {
|
|
4535
|
+
id: number;
|
|
4536
|
+
identifier?: string | undefined;
|
|
4537
|
+
} | {
|
|
4538
|
+
identifier: string;
|
|
4539
|
+
id?: number | undefined;
|
|
4540
|
+
} | undefined;
|
|
4541
|
+
from_wallet?: {
|
|
4542
|
+
id: number;
|
|
4543
|
+
foreign?: string | undefined;
|
|
4544
|
+
} | {
|
|
4545
|
+
foreign: string;
|
|
4546
|
+
id?: number | undefined;
|
|
4547
|
+
} | undefined;
|
|
4548
|
+
to_wallet?: {
|
|
4549
|
+
id: number;
|
|
4550
|
+
foreign?: string | undefined;
|
|
4551
|
+
} | {
|
|
4552
|
+
foreign: string;
|
|
4553
|
+
id?: number | undefined;
|
|
4554
|
+
} | undefined;
|
|
4555
|
+
reverses?: {
|
|
4556
|
+
id: number;
|
|
4557
|
+
identifier?: string | undefined;
|
|
4558
|
+
} | {
|
|
4559
|
+
identifier: string;
|
|
4560
|
+
id?: number | undefined;
|
|
4561
|
+
} | undefined;
|
|
4562
|
+
}, {
|
|
4563
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
4564
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
4565
|
+
identifier?: string | number | undefined;
|
|
4566
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
4567
|
+
id?: string | number | undefined;
|
|
4568
|
+
token?: {
|
|
4569
|
+
id: number;
|
|
4570
|
+
foreign?: string | undefined;
|
|
4571
|
+
} | {
|
|
4572
|
+
foreign: string;
|
|
4573
|
+
id?: number | undefined;
|
|
4574
|
+
} | undefined;
|
|
4575
|
+
created_at?: string | undefined;
|
|
4576
|
+
updated_at?: string | undefined;
|
|
4577
|
+
from_wallet_id?: string | number | undefined;
|
|
4578
|
+
to_wallet_id?: string | number | undefined;
|
|
4579
|
+
token_id?: string | number | undefined;
|
|
4580
|
+
amount?: string | number | undefined;
|
|
4581
|
+
transfer_group_id?: string | number | undefined;
|
|
4582
|
+
reverses_id?: string | number | undefined;
|
|
4583
|
+
status_finalized_at?: string | null | undefined;
|
|
4584
|
+
wallet?: {
|
|
4585
|
+
id: number;
|
|
4586
|
+
foreign?: string | undefined;
|
|
4587
|
+
} | {
|
|
4588
|
+
foreign: string;
|
|
4589
|
+
id?: number | undefined;
|
|
4590
|
+
} | undefined;
|
|
4591
|
+
transfer_group?: {
|
|
4592
|
+
id: number;
|
|
4593
|
+
identifier?: string | undefined;
|
|
4594
|
+
} | {
|
|
4595
|
+
identifier: string;
|
|
4596
|
+
id?: number | undefined;
|
|
4597
|
+
} | undefined;
|
|
4598
|
+
from_wallet?: {
|
|
4599
|
+
id: number;
|
|
4600
|
+
foreign?: string | undefined;
|
|
4601
|
+
} | {
|
|
4602
|
+
foreign: string;
|
|
4603
|
+
id?: number | undefined;
|
|
4604
|
+
} | undefined;
|
|
4605
|
+
to_wallet?: {
|
|
4606
|
+
id: number;
|
|
4607
|
+
foreign?: string | undefined;
|
|
4608
|
+
} | {
|
|
4609
|
+
foreign: string;
|
|
4610
|
+
id?: number | undefined;
|
|
4611
|
+
} | undefined;
|
|
4612
|
+
reverses?: {
|
|
4613
|
+
id: number;
|
|
4614
|
+
identifier?: string | undefined;
|
|
4615
|
+
} | {
|
|
4616
|
+
identifier: string;
|
|
4617
|
+
id?: number | undefined;
|
|
4618
|
+
} | undefined;
|
|
4619
|
+
}>, import("zod").ZodObject<{
|
|
4620
|
+
tracking_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4621
|
+
transaction_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4622
|
+
reverse_deposit: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4623
|
+
reverse_withdrawal: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4624
|
+
metadata_action: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["replace", "replace_create_only", "replace_cancel_only", "extend", "extend_create_only", "extend_cancel_only"]>>>;
|
|
4625
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4626
|
+
tracking_id?: string | undefined;
|
|
4627
|
+
transaction_id?: string | undefined;
|
|
4628
|
+
metadata_action?: "replace" | "extend" | "replace_create_only" | "replace_cancel_only" | "extend_create_only" | "extend_cancel_only" | undefined;
|
|
4629
|
+
reverse_deposit?: boolean | undefined;
|
|
4630
|
+
reverse_withdrawal?: boolean | undefined;
|
|
4631
|
+
}, {
|
|
4632
|
+
tracking_id?: string | undefined;
|
|
4633
|
+
transaction_id?: string | undefined;
|
|
4634
|
+
metadata_action?: "replace" | "extend" | "replace_create_only" | "replace_cancel_only" | "extend_create_only" | "extend_cancel_only" | undefined;
|
|
4635
|
+
reverse_deposit?: boolean | undefined;
|
|
4636
|
+
reverse_withdrawal?: boolean | undefined;
|
|
4637
|
+
}>, import("zod").ZodTypeAny, {
|
|
4638
|
+
transfers?: {
|
|
4639
|
+
type: "transfer" | "deposit" | "withdrawal";
|
|
4640
|
+
status: "pending" | "finished" | "cancelled";
|
|
4641
|
+
identifier: string;
|
|
4642
|
+
id: number;
|
|
4643
|
+
created_at: string;
|
|
4644
|
+
updated_at: string;
|
|
4645
|
+
control_hash: string | null;
|
|
4646
|
+
from_wallet_id: number;
|
|
4647
|
+
to_wallet_id: number;
|
|
4648
|
+
token_id: number;
|
|
4649
|
+
amount: number;
|
|
4650
|
+
force: boolean;
|
|
4651
|
+
auto_hash: boolean;
|
|
4652
|
+
from_wallet_foreign: string;
|
|
4653
|
+
to_wallet_foreign: string;
|
|
4654
|
+
token_foreign: string;
|
|
4655
|
+
transfer_group_identifier: string | null;
|
|
4656
|
+
reverses_identifier: string | null;
|
|
4657
|
+
metadata?: import("./db/consts").Metadata | undefined;
|
|
4658
|
+
transfer_group_id?: number | null | undefined;
|
|
4659
|
+
reverses_id?: number | null | undefined;
|
|
4660
|
+
status_finalized_at?: string | null | undefined;
|
|
4661
|
+
group_validate?: boolean | null | undefined;
|
|
4662
|
+
}[] | undefined;
|
|
4663
|
+
}>;
|
|
1848
4664
|
/**
|
|
1849
4665
|
*
|
|
1850
4666
|
* Configure WAPI instance Flags
|
|
@@ -1871,10 +4687,6 @@ export declare class Client {
|
|
|
1871
4687
|
*
|
|
1872
4688
|
* ```
|
|
1873
4689
|
*
|
|
1874
|
-
* @param {SetFlagsFnInput} [input]
|
|
1875
|
-
* @param {SetFlagsFnOptions} [options]
|
|
1876
|
-
* @returns {StreamPromise<SetFlagsFnOutput>}
|
|
1877
|
-
*
|
|
1878
4690
|
*/
|
|
1879
4691
|
setFlags(input?: SetFlagsFnInput, options?: SetFlagsFnOptions): StreamPromise<SetFlagsFnOutput>;
|
|
1880
4692
|
/**
|
|
@@ -1918,10 +4730,6 @@ export declare class Client {
|
|
|
1918
4730
|
*
|
|
1919
4731
|
* ```
|
|
1920
4732
|
*
|
|
1921
|
-
* @param {UpdateTokenFnInput} input
|
|
1922
|
-
* @param {UpdateTokenFnOptions} [options]
|
|
1923
|
-
* @returns {StreamPromise<UpdateTokenFnOutput>}
|
|
1924
|
-
*
|
|
1925
4733
|
*/
|
|
1926
4734
|
updateToken(input: UpdateTokenFnInput, options?: UpdateTokenFnOptions): StreamPromise<UpdateTokenFnOutput>;
|
|
1927
4735
|
/**
|
|
@@ -1985,10 +4793,6 @@ export declare class Client {
|
|
|
1985
4793
|
*
|
|
1986
4794
|
* ```
|
|
1987
4795
|
*
|
|
1988
|
-
* @param {UpdateTransferFnInput} input
|
|
1989
|
-
* @param {UpdateTransferFnOptions} [options]
|
|
1990
|
-
* @returns {StreamPromise<UpdateTransferFnOutput>}
|
|
1991
|
-
*
|
|
1992
4796
|
*/
|
|
1993
4797
|
updateTransfer(input: UpdateTransferFnInput, options?: UpdateTransferFnOptions): StreamPromise<UpdateTransferFnOutput>;
|
|
1994
4798
|
/**
|
|
@@ -2046,10 +4850,6 @@ export declare class Client {
|
|
|
2046
4850
|
*
|
|
2047
4851
|
* ```
|
|
2048
4852
|
*
|
|
2049
|
-
* @param {UpdateTransferGroupFnInput} input
|
|
2050
|
-
* @param {UpdateTransferGroupFnOptions} [options]
|
|
2051
|
-
* @returns {StreamPromise<UpdateTransferGroupFnOutput>}
|
|
2052
|
-
*
|
|
2053
4853
|
*/
|
|
2054
4854
|
updateTransferGroup(input: UpdateTransferGroupFnInput, options?: UpdateTransferGroupFnOptions): StreamPromise<UpdateTransferGroupFnOutput>;
|
|
2055
4855
|
/**
|
|
@@ -2075,13 +4875,169 @@ export declare class Client {
|
|
|
2075
4875
|
*
|
|
2076
4876
|
* ```
|
|
2077
4877
|
*
|
|
2078
|
-
* @param {UpdateTransferGroupsFnInput} [input]
|
|
2079
|
-
* @param {UpdateTransferGroupsFnOptions} [options]
|
|
2080
|
-
* @returns {StreamPromise<UpdateTransferGroupsFnOutput>}
|
|
2081
|
-
*
|
|
2082
4878
|
*/
|
|
2083
|
-
updateTransferGroups(
|
|
2084
|
-
|
|
4879
|
+
updateTransferGroups(input: UpdateTransferGroupsFnInput, options?: UpdateTransferGroupsFnOptions): import("./lib/query-builder/update-query-builder").UpdateQueryBuilder<import("zod").ZodObject<{
|
|
4880
|
+
identifier: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
4881
|
+
transfer_status: import("zod").ZodOptional<import("zod").ZodEnum<["finished", "cancelled"]>>;
|
|
4882
|
+
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["open", "closed"]>>>;
|
|
4883
|
+
reverses: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
4884
|
+
foreign: string;
|
|
4885
|
+
}, string | number>>;
|
|
4886
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<["regular", "exchange", "distribution"]>>;
|
|
4887
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
4888
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4889
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
4890
|
+
status?: "open" | "closed" | undefined;
|
|
4891
|
+
identifier?: string | number | undefined;
|
|
4892
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
4893
|
+
transfer_status?: "finished" | "cancelled" | undefined;
|
|
4894
|
+
reverses?: {
|
|
4895
|
+
foreign: string;
|
|
4896
|
+
} | undefined;
|
|
4897
|
+
}, {
|
|
4898
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
4899
|
+
status?: "open" | "closed" | undefined;
|
|
4900
|
+
identifier?: string | number | undefined;
|
|
4901
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
4902
|
+
transfer_status?: "finished" | "cancelled" | undefined;
|
|
4903
|
+
reverses?: string | number | undefined;
|
|
4904
|
+
}>, import("zod").ZodObject<{
|
|
4905
|
+
identifier: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>>;
|
|
4906
|
+
status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["open", "closed"]>>>;
|
|
4907
|
+
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["regular", "exchange", "distribution"]>>>;
|
|
4908
|
+
transfer_status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>>;
|
|
4909
|
+
reverses: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
4910
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4911
|
+
id: import("zod").ZodNumber;
|
|
4912
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4913
|
+
id: number;
|
|
4914
|
+
identifier?: string | undefined;
|
|
4915
|
+
}, {
|
|
4916
|
+
id: number;
|
|
4917
|
+
identifier?: string | undefined;
|
|
4918
|
+
}>, import("zod").ZodObject<{
|
|
4919
|
+
identifier: import("zod").ZodString;
|
|
4920
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4921
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4922
|
+
identifier: string;
|
|
4923
|
+
id?: number | undefined;
|
|
4924
|
+
}, {
|
|
4925
|
+
identifier: string;
|
|
4926
|
+
id?: number | undefined;
|
|
4927
|
+
}>]>>>;
|
|
4928
|
+
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>>;
|
|
4929
|
+
readonly created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
4930
|
+
readonly updated_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
4931
|
+
readonly status_finalized_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>>>;
|
|
4932
|
+
readonly transfer_status_finalized_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>>>;
|
|
4933
|
+
id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
4934
|
+
transfer_group_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
4935
|
+
reverses_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
4936
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4937
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
4938
|
+
status?: "open" | "closed" | undefined;
|
|
4939
|
+
identifier?: string | undefined;
|
|
4940
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
4941
|
+
id?: number | undefined;
|
|
4942
|
+
created_at?: string | undefined;
|
|
4943
|
+
updated_at?: string | undefined;
|
|
4944
|
+
transfer_group_id?: number | undefined;
|
|
4945
|
+
reverses_id?: number | undefined;
|
|
4946
|
+
status_finalized_at?: string | null | undefined;
|
|
4947
|
+
transfer_status_finalized_at?: string | null | undefined;
|
|
4948
|
+
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
4949
|
+
reverses?: {
|
|
4950
|
+
id: number;
|
|
4951
|
+
identifier?: string | undefined;
|
|
4952
|
+
} | {
|
|
4953
|
+
identifier: string;
|
|
4954
|
+
id?: number | undefined;
|
|
4955
|
+
} | undefined;
|
|
4956
|
+
}, {
|
|
4957
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
4958
|
+
status?: "open" | "closed" | undefined;
|
|
4959
|
+
identifier?: string | number | undefined;
|
|
4960
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
4961
|
+
id?: string | number | undefined;
|
|
4962
|
+
created_at?: string | undefined;
|
|
4963
|
+
updated_at?: string | undefined;
|
|
4964
|
+
transfer_group_id?: string | number | undefined;
|
|
4965
|
+
reverses_id?: string | number | undefined;
|
|
4966
|
+
status_finalized_at?: string | null | undefined;
|
|
4967
|
+
transfer_status_finalized_at?: string | null | undefined;
|
|
4968
|
+
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
4969
|
+
reverses?: {
|
|
4970
|
+
id: number;
|
|
4971
|
+
identifier?: string | undefined;
|
|
4972
|
+
} | {
|
|
4973
|
+
identifier: string;
|
|
4974
|
+
id?: number | undefined;
|
|
4975
|
+
} | undefined;
|
|
4976
|
+
}>, import("zod").ZodObject<{
|
|
4977
|
+
tracking_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4978
|
+
transaction_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4979
|
+
return_transfers: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
4980
|
+
return_when_not_updated: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
4981
|
+
metadata_action: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["replace", "extend"]>>>;
|
|
4982
|
+
transfer_metadata_action: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["replace", "extend"]>>>;
|
|
4983
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
4984
|
+
tracking_id?: string | undefined;
|
|
4985
|
+
transaction_id?: string | undefined;
|
|
4986
|
+
return_when_not_updated?: boolean | undefined;
|
|
4987
|
+
metadata_action?: "replace" | "extend" | undefined;
|
|
4988
|
+
return_transfers?: boolean | undefined;
|
|
4989
|
+
transfer_metadata_action?: "replace" | "extend" | undefined;
|
|
4990
|
+
}, {
|
|
4991
|
+
tracking_id?: string | undefined;
|
|
4992
|
+
transaction_id?: string | undefined;
|
|
4993
|
+
return_when_not_updated?: boolean | undefined;
|
|
4994
|
+
metadata_action?: "replace" | "extend" | undefined;
|
|
4995
|
+
return_transfers?: boolean | undefined;
|
|
4996
|
+
transfer_metadata_action?: "replace" | "extend" | undefined;
|
|
4997
|
+
}>, import("zod").ZodTypeAny, {
|
|
4998
|
+
transfers?: {
|
|
4999
|
+
type: "transfer" | "deposit" | "withdrawal";
|
|
5000
|
+
status: "pending" | "finished" | "cancelled";
|
|
5001
|
+
identifier: string;
|
|
5002
|
+
id: number;
|
|
5003
|
+
created_at: string;
|
|
5004
|
+
updated_at: string;
|
|
5005
|
+
control_hash: string | null;
|
|
5006
|
+
from_wallet_id: number;
|
|
5007
|
+
to_wallet_id: number;
|
|
5008
|
+
token_id: number;
|
|
5009
|
+
amount: number;
|
|
5010
|
+
force: boolean;
|
|
5011
|
+
auto_hash: boolean;
|
|
5012
|
+
from_wallet_foreign: string;
|
|
5013
|
+
to_wallet_foreign: string;
|
|
5014
|
+
token_foreign: string;
|
|
5015
|
+
transfer_group_identifier: string | null;
|
|
5016
|
+
reverses_identifier: string | null;
|
|
5017
|
+
metadata?: import("./db/consts").Metadata | undefined;
|
|
5018
|
+
transfer_group_id?: number | null | undefined;
|
|
5019
|
+
reverses_id?: number | null | undefined;
|
|
5020
|
+
status_finalized_at?: string | null | undefined;
|
|
5021
|
+
group_validate?: boolean | null | undefined;
|
|
5022
|
+
}[] | undefined;
|
|
5023
|
+
transfer_groups?: {
|
|
5024
|
+
id: number;
|
|
5025
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
5026
|
+
status?: "open" | "closed" | undefined;
|
|
5027
|
+
identifier?: string | undefined;
|
|
5028
|
+
metadata?: import("./db/consts").Metadata | undefined;
|
|
5029
|
+
created_at?: string | undefined;
|
|
5030
|
+
updated_at?: string | undefined;
|
|
5031
|
+
transfer_group_id?: number | null | undefined;
|
|
5032
|
+
reverses_id?: number | null | undefined;
|
|
5033
|
+
status_finalized_at?: string | null | undefined;
|
|
5034
|
+
transfer_status_finalized_at?: string | null | undefined;
|
|
5035
|
+
validate_final_balance_only?: boolean | null | undefined;
|
|
5036
|
+
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
5037
|
+
reverses_identifier?: string | null | undefined;
|
|
5038
|
+
}[] | undefined;
|
|
5039
|
+
updated?: boolean | undefined;
|
|
5040
|
+
}>;
|
|
2085
5041
|
/**
|
|
2086
5042
|
*
|
|
2087
5043
|
* Update multiple Transfer objects
|
|
@@ -2106,13 +5062,337 @@ export declare class Client {
|
|
|
2106
5062
|
*
|
|
2107
5063
|
* ```
|
|
2108
5064
|
*
|
|
2109
|
-
* @param {UpdateTransfersFnInput} [input]
|
|
2110
|
-
* @param {UpdateTransfersFnOptions} [options]
|
|
2111
|
-
* @returns {StreamPromise<UpdateTransfersFnOutput>}
|
|
2112
|
-
*
|
|
2113
5065
|
*/
|
|
2114
|
-
updateTransfers(
|
|
2115
|
-
|
|
5066
|
+
updateTransfers(input: UpdateTransfersFnInput, options?: UpdateTransfersFnOptions): import("./lib/query-builder/update-query-builder").UpdateQueryBuilder<import("zod").ZodObject<{
|
|
5067
|
+
identifier: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
5068
|
+
wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
5069
|
+
foreign: string;
|
|
5070
|
+
}, string | number>>;
|
|
5071
|
+
token: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
5072
|
+
foreign: string;
|
|
5073
|
+
}, string | number>>;
|
|
5074
|
+
from_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
5075
|
+
foreign: string;
|
|
5076
|
+
}, string | number>>;
|
|
5077
|
+
to_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
5078
|
+
foreign: string;
|
|
5079
|
+
}, string | number>>;
|
|
5080
|
+
transfer_group: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
5081
|
+
foreign: string;
|
|
5082
|
+
}, string | number>>;
|
|
5083
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
5084
|
+
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
5085
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
5086
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
5087
|
+
identifier?: string | number | undefined;
|
|
5088
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
5089
|
+
token?: {
|
|
5090
|
+
foreign: string;
|
|
5091
|
+
} | undefined;
|
|
5092
|
+
wallet?: {
|
|
5093
|
+
foreign: string;
|
|
5094
|
+
} | undefined;
|
|
5095
|
+
transfer_group?: {
|
|
5096
|
+
foreign: string;
|
|
5097
|
+
} | undefined;
|
|
5098
|
+
from_wallet?: {
|
|
5099
|
+
foreign: string;
|
|
5100
|
+
} | undefined;
|
|
5101
|
+
to_wallet?: {
|
|
5102
|
+
foreign: string;
|
|
5103
|
+
} | undefined;
|
|
5104
|
+
}, {
|
|
5105
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
5106
|
+
identifier?: string | number | undefined;
|
|
5107
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
5108
|
+
token?: string | number | undefined;
|
|
5109
|
+
wallet?: string | number | undefined;
|
|
5110
|
+
transfer_group?: string | number | undefined;
|
|
5111
|
+
from_wallet?: string | number | undefined;
|
|
5112
|
+
to_wallet?: string | number | undefined;
|
|
5113
|
+
}>, import("zod").ZodObject<{
|
|
5114
|
+
id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>;
|
|
5115
|
+
identifier: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>>;
|
|
5116
|
+
from_wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
5117
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5118
|
+
id: import("zod").ZodNumber;
|
|
5119
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
5120
|
+
id: number;
|
|
5121
|
+
foreign?: string | undefined;
|
|
5122
|
+
}, {
|
|
5123
|
+
id: number;
|
|
5124
|
+
foreign?: string | undefined;
|
|
5125
|
+
}>, import("zod").ZodObject<{
|
|
5126
|
+
foreign: import("zod").ZodString;
|
|
5127
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5128
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
5129
|
+
foreign: string;
|
|
5130
|
+
id?: number | undefined;
|
|
5131
|
+
}, {
|
|
5132
|
+
foreign: string;
|
|
5133
|
+
id?: number | undefined;
|
|
5134
|
+
}>]>>>;
|
|
5135
|
+
to_wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
5136
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5137
|
+
id: import("zod").ZodNumber;
|
|
5138
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
5139
|
+
id: number;
|
|
5140
|
+
foreign?: string | undefined;
|
|
5141
|
+
}, {
|
|
5142
|
+
id: number;
|
|
5143
|
+
foreign?: string | undefined;
|
|
5144
|
+
}>, import("zod").ZodObject<{
|
|
5145
|
+
foreign: import("zod").ZodString;
|
|
5146
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5147
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
5148
|
+
foreign: string;
|
|
5149
|
+
id?: number | undefined;
|
|
5150
|
+
}, {
|
|
5151
|
+
foreign: string;
|
|
5152
|
+
id?: number | undefined;
|
|
5153
|
+
}>]>>>;
|
|
5154
|
+
wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
5155
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5156
|
+
id: import("zod").ZodNumber;
|
|
5157
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
5158
|
+
id: number;
|
|
5159
|
+
foreign?: string | undefined;
|
|
5160
|
+
}, {
|
|
5161
|
+
id: number;
|
|
5162
|
+
foreign?: string | undefined;
|
|
5163
|
+
}>, import("zod").ZodObject<{
|
|
5164
|
+
foreign: import("zod").ZodString;
|
|
5165
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5166
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
5167
|
+
foreign: string;
|
|
5168
|
+
id?: number | undefined;
|
|
5169
|
+
}, {
|
|
5170
|
+
foreign: string;
|
|
5171
|
+
id?: number | undefined;
|
|
5172
|
+
}>]>>>;
|
|
5173
|
+
token: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
5174
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5175
|
+
id: import("zod").ZodNumber;
|
|
5176
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
5177
|
+
id: number;
|
|
5178
|
+
foreign?: string | undefined;
|
|
5179
|
+
}, {
|
|
5180
|
+
id: number;
|
|
5181
|
+
foreign?: string | undefined;
|
|
5182
|
+
}>, import("zod").ZodObject<{
|
|
5183
|
+
foreign: import("zod").ZodString;
|
|
5184
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5185
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
5186
|
+
foreign: string;
|
|
5187
|
+
id?: number | undefined;
|
|
5188
|
+
}, {
|
|
5189
|
+
foreign: string;
|
|
5190
|
+
id?: number | undefined;
|
|
5191
|
+
}>]>>>;
|
|
5192
|
+
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["transfer", "deposit", "withdrawal"]>>>;
|
|
5193
|
+
status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>>;
|
|
5194
|
+
transfer_group: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
5195
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5196
|
+
id: import("zod").ZodNumber;
|
|
5197
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
5198
|
+
id: number;
|
|
5199
|
+
identifier?: string | undefined;
|
|
5200
|
+
}, {
|
|
5201
|
+
id: number;
|
|
5202
|
+
identifier?: string | undefined;
|
|
5203
|
+
}>, import("zod").ZodObject<{
|
|
5204
|
+
identifier: import("zod").ZodString;
|
|
5205
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5206
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
5207
|
+
identifier: string;
|
|
5208
|
+
id?: number | undefined;
|
|
5209
|
+
}, {
|
|
5210
|
+
identifier: string;
|
|
5211
|
+
id?: number | undefined;
|
|
5212
|
+
}>]>>>;
|
|
5213
|
+
reverses: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
5214
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5215
|
+
id: import("zod").ZodNumber;
|
|
5216
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
5217
|
+
id: number;
|
|
5218
|
+
identifier?: string | undefined;
|
|
5219
|
+
}, {
|
|
5220
|
+
id: number;
|
|
5221
|
+
identifier?: string | undefined;
|
|
5222
|
+
}>, import("zod").ZodObject<{
|
|
5223
|
+
identifier: import("zod").ZodString;
|
|
5224
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
5225
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
5226
|
+
identifier: string;
|
|
5227
|
+
id?: number | undefined;
|
|
5228
|
+
}, {
|
|
5229
|
+
identifier: string;
|
|
5230
|
+
id?: number | undefined;
|
|
5231
|
+
}>]>>>;
|
|
5232
|
+
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>>;
|
|
5233
|
+
amount: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>;
|
|
5234
|
+
created_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
5235
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
5236
|
+
status_finalized_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>>>;
|
|
5237
|
+
from_wallet_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
5238
|
+
to_wallet_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
5239
|
+
token_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
5240
|
+
transfer_group_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
5241
|
+
reverses_id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
5242
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
5243
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
5244
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
5245
|
+
identifier?: string | undefined;
|
|
5246
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
5247
|
+
id?: number | undefined;
|
|
5248
|
+
token?: {
|
|
5249
|
+
id: number;
|
|
5250
|
+
foreign?: string | undefined;
|
|
5251
|
+
} | {
|
|
5252
|
+
foreign: string;
|
|
5253
|
+
id?: number | undefined;
|
|
5254
|
+
} | undefined;
|
|
5255
|
+
created_at?: string | undefined;
|
|
5256
|
+
updated_at?: string | undefined;
|
|
5257
|
+
from_wallet_id?: number | undefined;
|
|
5258
|
+
to_wallet_id?: number | undefined;
|
|
5259
|
+
token_id?: number | undefined;
|
|
5260
|
+
amount?: number | undefined;
|
|
5261
|
+
transfer_group_id?: number | undefined;
|
|
5262
|
+
reverses_id?: number | undefined;
|
|
5263
|
+
status_finalized_at?: string | null | undefined;
|
|
5264
|
+
wallet?: {
|
|
5265
|
+
id: number;
|
|
5266
|
+
foreign?: string | undefined;
|
|
5267
|
+
} | {
|
|
5268
|
+
foreign: string;
|
|
5269
|
+
id?: number | undefined;
|
|
5270
|
+
} | undefined;
|
|
5271
|
+
transfer_group?: {
|
|
5272
|
+
id: number;
|
|
5273
|
+
identifier?: string | undefined;
|
|
5274
|
+
} | {
|
|
5275
|
+
identifier: string;
|
|
5276
|
+
id?: number | undefined;
|
|
5277
|
+
} | undefined;
|
|
5278
|
+
from_wallet?: {
|
|
5279
|
+
id: number;
|
|
5280
|
+
foreign?: string | undefined;
|
|
5281
|
+
} | {
|
|
5282
|
+
foreign: string;
|
|
5283
|
+
id?: number | undefined;
|
|
5284
|
+
} | undefined;
|
|
5285
|
+
to_wallet?: {
|
|
5286
|
+
id: number;
|
|
5287
|
+
foreign?: string | undefined;
|
|
5288
|
+
} | {
|
|
5289
|
+
foreign: string;
|
|
5290
|
+
id?: number | undefined;
|
|
5291
|
+
} | undefined;
|
|
5292
|
+
reverses?: {
|
|
5293
|
+
id: number;
|
|
5294
|
+
identifier?: string | undefined;
|
|
5295
|
+
} | {
|
|
5296
|
+
identifier: string;
|
|
5297
|
+
id?: number | undefined;
|
|
5298
|
+
} | undefined;
|
|
5299
|
+
}, {
|
|
5300
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
5301
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
5302
|
+
identifier?: string | number | undefined;
|
|
5303
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
5304
|
+
id?: string | number | undefined;
|
|
5305
|
+
token?: {
|
|
5306
|
+
id: number;
|
|
5307
|
+
foreign?: string | undefined;
|
|
5308
|
+
} | {
|
|
5309
|
+
foreign: string;
|
|
5310
|
+
id?: number | undefined;
|
|
5311
|
+
} | undefined;
|
|
5312
|
+
created_at?: string | undefined;
|
|
5313
|
+
updated_at?: string | undefined;
|
|
5314
|
+
from_wallet_id?: string | number | undefined;
|
|
5315
|
+
to_wallet_id?: string | number | undefined;
|
|
5316
|
+
token_id?: string | number | undefined;
|
|
5317
|
+
amount?: string | number | undefined;
|
|
5318
|
+
transfer_group_id?: string | number | undefined;
|
|
5319
|
+
reverses_id?: string | number | undefined;
|
|
5320
|
+
status_finalized_at?: string | null | undefined;
|
|
5321
|
+
wallet?: {
|
|
5322
|
+
id: number;
|
|
5323
|
+
foreign?: string | undefined;
|
|
5324
|
+
} | {
|
|
5325
|
+
foreign: string;
|
|
5326
|
+
id?: number | undefined;
|
|
5327
|
+
} | undefined;
|
|
5328
|
+
transfer_group?: {
|
|
5329
|
+
id: number;
|
|
5330
|
+
identifier?: string | undefined;
|
|
5331
|
+
} | {
|
|
5332
|
+
identifier: string;
|
|
5333
|
+
id?: number | undefined;
|
|
5334
|
+
} | undefined;
|
|
5335
|
+
from_wallet?: {
|
|
5336
|
+
id: number;
|
|
5337
|
+
foreign?: string | undefined;
|
|
5338
|
+
} | {
|
|
5339
|
+
foreign: string;
|
|
5340
|
+
id?: number | undefined;
|
|
5341
|
+
} | undefined;
|
|
5342
|
+
to_wallet?: {
|
|
5343
|
+
id: number;
|
|
5344
|
+
foreign?: string | undefined;
|
|
5345
|
+
} | {
|
|
5346
|
+
foreign: string;
|
|
5347
|
+
id?: number | undefined;
|
|
5348
|
+
} | undefined;
|
|
5349
|
+
reverses?: {
|
|
5350
|
+
id: number;
|
|
5351
|
+
identifier?: string | undefined;
|
|
5352
|
+
} | {
|
|
5353
|
+
identifier: string;
|
|
5354
|
+
id?: number | undefined;
|
|
5355
|
+
} | undefined;
|
|
5356
|
+
}>, import("zod").ZodObject<{
|
|
5357
|
+
tracking_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5358
|
+
transaction_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
5359
|
+
metadata_action: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["replace", "extend"]>>>;
|
|
5360
|
+
}, "strip", import("zod").ZodTypeAny, {
|
|
5361
|
+
tracking_id?: string | undefined;
|
|
5362
|
+
transaction_id?: string | undefined;
|
|
5363
|
+
metadata_action?: "replace" | "extend" | undefined;
|
|
5364
|
+
}, {
|
|
5365
|
+
tracking_id?: string | undefined;
|
|
5366
|
+
transaction_id?: string | undefined;
|
|
5367
|
+
metadata_action?: "replace" | "extend" | undefined;
|
|
5368
|
+
}>, import("zod").ZodTypeAny, {
|
|
5369
|
+
transfers?: {
|
|
5370
|
+
type: "transfer" | "deposit" | "withdrawal";
|
|
5371
|
+
status: "pending" | "finished" | "cancelled";
|
|
5372
|
+
identifier: string;
|
|
5373
|
+
id: number;
|
|
5374
|
+
created_at: string;
|
|
5375
|
+
updated_at: string;
|
|
5376
|
+
control_hash: string | null;
|
|
5377
|
+
from_wallet_id: number;
|
|
5378
|
+
to_wallet_id: number;
|
|
5379
|
+
token_id: number;
|
|
5380
|
+
amount: number;
|
|
5381
|
+
force: boolean;
|
|
5382
|
+
auto_hash: boolean;
|
|
5383
|
+
from_wallet_foreign: string;
|
|
5384
|
+
to_wallet_foreign: string;
|
|
5385
|
+
token_foreign: string;
|
|
5386
|
+
transfer_group_identifier: string | null;
|
|
5387
|
+
reverses_identifier: string | null;
|
|
5388
|
+
metadata?: import("./db/consts").Metadata | undefined;
|
|
5389
|
+
transfer_group_id?: number | null | undefined;
|
|
5390
|
+
reverses_id?: number | null | undefined;
|
|
5391
|
+
status_finalized_at?: string | null | undefined;
|
|
5392
|
+
group_validate?: boolean | null | undefined;
|
|
5393
|
+
}[] | undefined;
|
|
5394
|
+
updated?: boolean | undefined;
|
|
5395
|
+
}>;
|
|
2116
5396
|
/**
|
|
2117
5397
|
*
|
|
2118
5398
|
* Update a Wallet
|
|
@@ -2153,10 +5433,6 @@ export declare class Client {
|
|
|
2153
5433
|
*
|
|
2154
5434
|
* ```
|
|
2155
5435
|
*
|
|
2156
|
-
* @param {UpdateWalletFnInput} input
|
|
2157
|
-
* @param {UpdateWalletFnOptions} [options]
|
|
2158
|
-
* @returns {StreamPromise<UpdateWalletFnOutput>}
|
|
2159
|
-
*
|
|
2160
5436
|
*/
|
|
2161
5437
|
updateWallet(input: UpdateWalletFnInput, options?: UpdateWalletFnOptions): StreamPromise<UpdateWalletFnOutput>;
|
|
2162
5438
|
}
|