wapi-client 0.12.3 → 0.12.5-beta.1
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 +516 -171
- package/dist/client.browser.js +516 -171
- package/dist/client.cjs +517 -172
- package/dist/client.d.ts +3531 -255
- package/dist/client.js +517 -172
- package/dist/db/consts.browser.cjs +634 -27
- package/dist/db/consts.browser.js +634 -27
- package/dist/db/consts.cjs +638 -29
- package/dist/db/consts.d.ts +78 -54
- package/dist/db/consts.enums.d.ts +2 -3
- package/dist/db/consts.js +637 -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 +39 -128
- 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.browser.cjs +30 -5
- package/dist/fns/get-statistics/get-statistics.browser.js +33 -5
- package/dist/fns/get-statistics/get-statistics.cjs +30 -5
- package/dist/fns/get-statistics/get-statistics.d.ts +1 -1
- package/dist/fns/get-statistics/get-statistics.js +33 -5
- package/dist/fns/get-statistics/get-statistics.schema.zod.browser.cjs +4012 -5
- package/dist/fns/get-statistics/get-statistics.schema.zod.browser.js +4014 -7
- package/dist/fns/get-statistics/get-statistics.schema.zod.cjs +18 -5
- package/dist/fns/get-statistics/get-statistics.schema.zod.d.ts +47 -144
- package/dist/fns/get-statistics/get-statistics.schema.zod.js +19 -7
- 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 +446 -406
- 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 +482 -41
- package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.schema.zod.js +2 -2
- package/dist/txs/consts.browser.cjs +22 -6
- package/dist/txs/consts.browser.js +27 -7
- package/dist/txs/consts.cjs +28 -7
- package/dist/txs/consts.d.ts +39 -34
- package/dist/txs/consts.enums.d.ts +7 -2
- package/dist/txs/consts.js +27 -7
- 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-statistics/get-statistics.schema.zod.d.ts +12 -12
- 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 +768 -78
- 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 +17010 -4873
- 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/txs/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export declare const APIValidators: {
|
|
|
17
17
|
type: "period";
|
|
18
18
|
field: "year" | "month" | "week" | "day" | "hour" | "minute" | {
|
|
19
19
|
period: "year" | "month" | "week" | "day" | "hour" | "minute";
|
|
20
|
-
timezone: string;
|
|
20
|
+
timezone: "Africa/Abidjan" | "Africa/Accra" | "Africa/Addis_Ababa" | "Africa/Algiers" | "Africa/Asmara" | "Africa/Asmera" | "Africa/Bamako" | "Africa/Bangui" | "Africa/Banjul" | "Africa/Bissau" | "Africa/Blantyre" | "Africa/Brazzaville" | "Africa/Bujumbura" | "Africa/Cairo" | "Africa/Casablanca" | "Africa/Ceuta" | "Africa/Conakry" | "Africa/Dakar" | "Africa/Dar_es_Salaam" | "Africa/Djibouti" | "Africa/Douala" | "Africa/El_Aaiun" | "Africa/Freetown" | "Africa/Gaborone" | "Africa/Harare" | "Africa/Johannesburg" | "Africa/Juba" | "Africa/Kampala" | "Africa/Khartoum" | "Africa/Kigali" | "Africa/Kinshasa" | "Africa/Lagos" | "Africa/Libreville" | "Africa/Lome" | "Africa/Luanda" | "Africa/Lubumbashi" | "Africa/Lusaka" | "Africa/Malabo" | "Africa/Maputo" | "Africa/Maseru" | "Africa/Mbabane" | "Africa/Mogadishu" | "Africa/Monrovia" | "Africa/Nairobi" | "Africa/Ndjamena" | "Africa/Niamey" | "Africa/Nouakchott" | "Africa/Ouagadougou" | "Africa/Porto-Novo" | "Africa/Sao_Tome" | "Africa/Timbuktu" | "Africa/Tripoli" | "Africa/Tunis" | "Africa/Windhoek" | "America/Adak" | "America/Anchorage" | "America/Anguilla" | "America/Antigua" | "America/Araguaina" | "America/Argentina/Buenos_Aires" | "America/Argentina/Catamarca" | "America/Argentina/ComodRivadavia" | "America/Argentina/Cordoba" | "America/Argentina/Jujuy" | "America/Argentina/La_Rioja" | "America/Argentina/Mendoza" | "America/Argentina/Rio_Gallegos" | "America/Argentina/Salta" | "America/Argentina/San_Juan" | "America/Argentina/San_Luis" | "America/Argentina/Tucuman" | "America/Argentina/Ushuaia" | "America/Aruba" | "America/Asuncion" | "America/Atikokan" | "America/Atka" | "America/Bahia" | "America/Bahia_Banderas" | "America/Barbados" | "America/Belem" | "America/Belize" | "America/Blanc-Sablon" | "America/Boa_Vista" | "America/Bogota" | "America/Boise" | "America/Buenos_Aires" | "America/Cambridge_Bay" | "America/Campo_Grande" | "America/Cancun" | "America/Caracas" | "America/Catamarca" | "America/Cayenne" | "America/Cayman" | "America/Chicago" | "America/Chihuahua" | "America/Ciudad_Juarez" | "America/Coral_Harbour" | "America/Cordoba" | "America/Costa_Rica" | "America/Creston" | "America/Cuiaba" | "America/Curacao" | "America/Danmarkshavn" | "America/Dawson" | "America/Dawson_Creek" | "America/Denver" | "America/Detroit" | "America/Dominica" | "America/Edmonton" | "America/Eirunepe" | "America/El_Salvador" | "America/Ensenada" | "America/Fort_Nelson" | "America/Fort_Wayne" | "America/Fortaleza" | "America/Glace_Bay" | "America/Godthab" | "America/Goose_Bay" | "America/Grand_Turk" | "America/Grenada" | "America/Guadeloupe" | "America/Guatemala" | "America/Guayaquil" | "America/Guyana" | "America/Halifax" | "America/Havana" | "America/Hermosillo" | "America/Indiana/Indianapolis" | "America/Indiana/Knox" | "America/Indiana/Marengo" | "America/Indiana/Petersburg" | "America/Indiana/Tell_City" | "America/Indiana/Vevay" | "America/Indiana/Vincennes" | "America/Indiana/Winamac" | "America/Indianapolis" | "America/Inuvik" | "America/Iqaluit" | "America/Jamaica" | "America/Jujuy" | "America/Juneau" | "America/Kentucky/Louisville" | "America/Kentucky/Monticello" | "America/Knox_IN" | "America/Kralendijk" | "America/La_Paz" | "America/Lima" | "America/Los_Angeles" | "America/Louisville" | "America/Lower_Princes" | "America/Maceio" | "America/Managua" | "America/Manaus" | "America/Marigot" | "America/Martinique" | "America/Matamoros" | "America/Mazatlan" | "America/Mendoza" | "America/Menominee" | "America/Merida" | "America/Metlakatla" | "America/Mexico_City" | "America/Miquelon" | "America/Moncton" | "America/Monterrey" | "America/Montevideo" | "America/Montreal" | "America/Montserrat" | "America/Nassau" | "America/New_York" | "America/Nipigon" | "America/Nome" | "America/Noronha" | "America/North_Dakota/Beulah" | "America/North_Dakota/Center" | "America/North_Dakota/New_Salem" | "America/Nuuk" | "America/Ojinaga" | "America/Panama" | "America/Pangnirtung" | "America/Paramaribo" | "America/Phoenix" | "America/Port-au-Prince" | "America/Port_of_Spain" | "America/Porto_Acre" | "America/Porto_Velho" | "America/Puerto_Rico" | "America/Punta_Arenas" | "America/Rainy_River" | "America/Rankin_Inlet" | "America/Recife" | "America/Regina" | "America/Resolute" | "America/Rio_Branco" | "America/Rosario" | "America/Santa_Isabel" | "America/Santarem" | "America/Santiago" | "America/Santo_Domingo" | "America/Sao_Paulo" | "America/Scoresbysund" | "America/Shiprock" | "America/Sitka" | "America/St_Barthelemy" | "America/St_Johns" | "America/St_Kitts" | "America/St_Lucia" | "America/St_Thomas" | "America/St_Vincent" | "America/Swift_Current" | "America/Tegucigalpa" | "America/Thule" | "America/Thunder_Bay" | "America/Tijuana" | "America/Toronto" | "America/Tortola" | "America/Vancouver" | "America/Virgin" | "America/Whitehorse" | "America/Winnipeg" | "America/Yakutat" | "America/Yellowknife" | "Antarctica/Casey" | "Antarctica/Davis" | "Antarctica/DumontDUrville" | "Antarctica/Macquarie" | "Antarctica/Mawson" | "Antarctica/McMurdo" | "Antarctica/Palmer" | "Antarctica/Rothera" | "Antarctica/South_Pole" | "Antarctica/Syowa" | "Antarctica/Troll" | "Antarctica/Vostok" | "Arctic/Longyearbyen" | "Asia/Aden" | "Asia/Almaty" | "Asia/Amman" | "Asia/Anadyr" | "Asia/Aqtau" | "Asia/Aqtobe" | "Asia/Ashgabat" | "Asia/Ashkhabad" | "Asia/Atyrau" | "Asia/Baghdad" | "Asia/Bahrain" | "Asia/Baku" | "Asia/Bangkok" | "Asia/Barnaul" | "Asia/Beirut" | "Asia/Bishkek" | "Asia/Brunei" | "Asia/Calcutta" | "Asia/Chita" | "Asia/Choibalsan" | "Asia/Chongqing" | "Asia/Chungking" | "Asia/Colombo" | "Asia/Dacca" | "Asia/Damascus" | "Asia/Dhaka" | "Asia/Dili" | "Asia/Dubai" | "Asia/Dushanbe" | "Asia/Famagusta" | "Asia/Gaza" | "Asia/Harbin" | "Asia/Hebron" | "Asia/Ho_Chi_Minh" | "Asia/Hong_Kong" | "Asia/Hovd" | "Asia/Irkutsk" | "Asia/Istanbul" | "Asia/Jakarta" | "Asia/Jayapura" | "Asia/Jerusalem" | "Asia/Kabul" | "Asia/Kamchatka" | "Asia/Karachi" | "Asia/Kashgar" | "Asia/Kathmandu" | "Asia/Katmandu" | "Asia/Khandyga" | "Asia/Kolkata" | "Asia/Krasnoyarsk" | "Asia/Kuala_Lumpur" | "Asia/Kuching" | "Asia/Kuwait" | "Asia/Macao" | "Asia/Macau" | "Asia/Magadan" | "Asia/Makassar" | "Asia/Manila" | "Asia/Muscat" | "Asia/Nicosia" | "Asia/Novokuznetsk" | "Asia/Novosibirsk" | "Asia/Omsk" | "Asia/Oral" | "Asia/Phnom_Penh" | "Asia/Pontianak" | "Asia/Pyongyang" | "Asia/Qatar" | "Asia/Qostanay" | "Asia/Qyzylorda" | "Asia/Rangoon" | "Asia/Riyadh" | "Asia/Saigon" | "Asia/Sakhalin" | "Asia/Samarkand" | "Asia/Seoul" | "Asia/Shanghai" | "Asia/Singapore" | "Asia/Srednekolymsk" | "Asia/Taipei" | "Asia/Tashkent" | "Asia/Tbilisi" | "Asia/Tehran" | "Asia/Tel_Aviv" | "Asia/Thimbu" | "Asia/Thimphu" | "Asia/Tokyo" | "Asia/Tomsk" | "Asia/Ujung_Pandang" | "Asia/Ulaanbaatar" | "Asia/Ulan_Bator" | "Asia/Urumqi" | "Asia/Ust-Nera" | "Asia/Vientiane" | "Asia/Vladivostok" | "Asia/Yakutsk" | "Asia/Yangon" | "Asia/Yekaterinburg" | "Asia/Yerevan" | "Atlantic/Azores" | "Atlantic/Bermuda" | "Atlantic/Canary" | "Atlantic/Cape_Verde" | "Atlantic/Faeroe" | "Atlantic/Faroe" | "Atlantic/Jan_Mayen" | "Atlantic/Madeira" | "Atlantic/Reykjavik" | "Atlantic/South_Georgia" | "Atlantic/St_Helena" | "Atlantic/Stanley" | "Australia/ACT" | "Australia/Adelaide" | "Australia/Brisbane" | "Australia/Broken_Hill" | "Australia/Canberra" | "Australia/Currie" | "Australia/Darwin" | "Australia/Eucla" | "Australia/Hobart" | "Australia/LHI" | "Australia/Lindeman" | "Australia/Lord_Howe" | "Australia/Melbourne" | "Australia/NSW" | "Australia/North" | "Australia/Perth" | "Australia/Queensland" | "Australia/South" | "Australia/Sydney" | "Australia/Tasmania" | "Australia/Victoria" | "Australia/West" | "Australia/Yancowinna" | "Brazil/Acre" | "Brazil/DeNoronha" | "Brazil/East" | "Brazil/West" | "CET" | "CST6CDT" | "Canada/Atlantic" | "Canada/Central" | "Canada/Eastern" | "Canada/Mountain" | "Canada/Newfoundland" | "Canada/Pacific" | "Canada/Saskatchewan" | "Canada/Yukon" | "Chile/Continental" | "Chile/EasterIsland" | "Cuba" | "EET" | "EST" | "EST5EDT" | "Egypt" | "Eire" | "Etc/GMT" | "Etc/GMT+0" | "Etc/GMT+1" | "Etc/GMT+10" | "Etc/GMT+11" | "Etc/GMT+12" | "Etc/GMT+2" | "Etc/GMT+3" | "Etc/GMT+4" | "Etc/GMT+5" | "Etc/GMT+6" | "Etc/GMT+7" | "Etc/GMT+8" | "Etc/GMT+9" | "Etc/GMT-0" | "Etc/GMT-1" | "Etc/GMT-10" | "Etc/GMT-11" | "Etc/GMT-12" | "Etc/GMT-13" | "Etc/GMT-14" | "Etc/GMT-2" | "Etc/GMT-3" | "Etc/GMT-4" | "Etc/GMT-5" | "Etc/GMT-6" | "Etc/GMT-7" | "Etc/GMT-8" | "Etc/GMT-9" | "Etc/GMT0" | "Etc/Greenwich" | "Etc/UCT" | "Etc/UTC" | "Etc/Universal" | "Etc/Zulu" | "Europe/Amsterdam" | "Europe/Andorra" | "Europe/Astrakhan" | "Europe/Athens" | "Europe/Belfast" | "Europe/Belgrade" | "Europe/Berlin" | "Europe/Bratislava" | "Europe/Brussels" | "Europe/Bucharest" | "Europe/Budapest" | "Europe/Busingen" | "Europe/Chisinau" | "Europe/Copenhagen" | "Europe/Dublin" | "Europe/Gibraltar" | "Europe/Guernsey" | "Europe/Helsinki" | "Europe/Isle_of_Man" | "Europe/Istanbul" | "Europe/Jersey" | "Europe/Kaliningrad" | "Europe/Kiev" | "Europe/Kirov" | "Europe/Kyiv" | "Europe/Lisbon" | "Europe/Ljubljana" | "Europe/London" | "Europe/Luxembourg" | "Europe/Madrid" | "Europe/Malta" | "Europe/Mariehamn" | "Europe/Minsk" | "Europe/Monaco" | "Europe/Moscow" | "Europe/Nicosia" | "Europe/Oslo" | "Europe/Paris" | "Europe/Podgorica" | "Europe/Prague" | "Europe/Riga" | "Europe/Rome" | "Europe/Samara" | "Europe/San_Marino" | "Europe/Sarajevo" | "Europe/Saratov" | "Europe/Simferopol" | "Europe/Skopje" | "Europe/Sofia" | "Europe/Stockholm" | "Europe/Tallinn" | "Europe/Tirane" | "Europe/Tiraspol" | "Europe/Ulyanovsk" | "Europe/Uzhgorod" | "Europe/Vaduz" | "Europe/Vatican" | "Europe/Vienna" | "Europe/Vilnius" | "Europe/Volgograd" | "Europe/Warsaw" | "Europe/Zagreb" | "Europe/Zaporozhye" | "Europe/Zurich" | "Factory" | "GB" | "GB-Eire" | "GMT" | "GMT+0" | "GMT-0" | "GMT0" | "Greenwich" | "HST" | "Hongkong" | "Iceland" | "Indian/Antananarivo" | "Indian/Chagos" | "Indian/Christmas" | "Indian/Cocos" | "Indian/Comoro" | "Indian/Kerguelen" | "Indian/Mahe" | "Indian/Maldives" | "Indian/Mauritius" | "Indian/Mayotte" | "Indian/Reunion" | "Iran" | "Israel" | "Jamaica" | "Japan" | "Kwajalein" | "Libya" | "MET" | "MST" | "MST7MDT" | "Mexico/BajaNorte" | "Mexico/BajaSur" | "Mexico/General" | "NZ" | "NZ-CHAT" | "Navajo" | "PRC" | "PST8PDT" | "Pacific/Apia" | "Pacific/Auckland" | "Pacific/Bougainville" | "Pacific/Chatham" | "Pacific/Chuuk" | "Pacific/Easter" | "Pacific/Efate" | "Pacific/Enderbury" | "Pacific/Fakaofo" | "Pacific/Fiji" | "Pacific/Funafuti" | "Pacific/Galapagos" | "Pacific/Gambier" | "Pacific/Guadalcanal" | "Pacific/Guam" | "Pacific/Honolulu" | "Pacific/Johnston" | "Pacific/Kanton" | "Pacific/Kiritimati" | "Pacific/Kosrae" | "Pacific/Kwajalein" | "Pacific/Majuro" | "Pacific/Marquesas" | "Pacific/Midway" | "Pacific/Nauru" | "Pacific/Niue" | "Pacific/Norfolk" | "Pacific/Noumea" | "Pacific/Pago_Pago" | "Pacific/Palau" | "Pacific/Pitcairn" | "Pacific/Pohnpei" | "Pacific/Ponape" | "Pacific/Port_Moresby" | "Pacific/Rarotonga" | "Pacific/Saipan" | "Pacific/Samoa" | "Pacific/Tahiti" | "Pacific/Tarawa" | "Pacific/Tongatapu" | "Pacific/Truk" | "Pacific/Wake" | "Pacific/Wallis" | "Pacific/Yap" | "Poland" | "Portugal" | "ROC" | "ROK" | "Singapore" | "Turkey" | "UCT" | "US/Alaska" | "US/Aleutian" | "US/Arizona" | "US/Central" | "US/East-Indiana" | "US/Eastern" | "US/Hawaii" | "US/Indiana-Starke" | "US/Michigan" | "US/Mountain" | "US/Pacific" | "US/Samoa" | "UTC" | "Universal" | "W-SU" | "WET" | "Zulu";
|
|
21
21
|
};
|
|
22
22
|
alias?: string | undefined;
|
|
23
23
|
} | {
|
|
@@ -30,6 +30,56 @@ export declare const APIValidators: {
|
|
|
30
30
|
alias?: string | undefined;
|
|
31
31
|
})[] | undefined;
|
|
32
32
|
transfer?: {
|
|
33
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
34
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
35
|
+
identifier?: string | undefined;
|
|
36
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
37
|
+
id?: number | undefined;
|
|
38
|
+
token?: {
|
|
39
|
+
id: number;
|
|
40
|
+
foreign?: string | undefined;
|
|
41
|
+
} | {
|
|
42
|
+
foreign: string;
|
|
43
|
+
id?: number | undefined;
|
|
44
|
+
} | undefined;
|
|
45
|
+
amount?: number | undefined;
|
|
46
|
+
wallet?: {
|
|
47
|
+
id: number;
|
|
48
|
+
foreign?: string | undefined;
|
|
49
|
+
} | {
|
|
50
|
+
foreign: string;
|
|
51
|
+
id?: number | undefined;
|
|
52
|
+
} | undefined;
|
|
53
|
+
transfer_group?: {
|
|
54
|
+
id: number;
|
|
55
|
+
identifier?: string | undefined;
|
|
56
|
+
} | {
|
|
57
|
+
identifier: string;
|
|
58
|
+
id?: number | undefined;
|
|
59
|
+
} | undefined;
|
|
60
|
+
from_wallet?: {
|
|
61
|
+
id: number;
|
|
62
|
+
foreign?: string | undefined;
|
|
63
|
+
} | {
|
|
64
|
+
foreign: string;
|
|
65
|
+
id?: number | undefined;
|
|
66
|
+
} | undefined;
|
|
67
|
+
to_wallet?: {
|
|
68
|
+
id: number;
|
|
69
|
+
foreign?: string | undefined;
|
|
70
|
+
} | {
|
|
71
|
+
foreign: string;
|
|
72
|
+
id?: number | undefined;
|
|
73
|
+
} | undefined;
|
|
74
|
+
reverses?: {
|
|
75
|
+
id: number;
|
|
76
|
+
identifier?: string | undefined;
|
|
77
|
+
} | {
|
|
78
|
+
identifier: string;
|
|
79
|
+
id?: number | undefined;
|
|
80
|
+
} | undefined;
|
|
81
|
+
} | import("../db/consts").DbFilterGeneric<{
|
|
82
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
33
83
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
34
84
|
identifier?: string | undefined;
|
|
35
85
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
@@ -41,6 +91,15 @@ export declare const APIValidators: {
|
|
|
41
91
|
foreign: string;
|
|
42
92
|
id?: number | undefined;
|
|
43
93
|
} | undefined;
|
|
94
|
+
created_at?: string | undefined;
|
|
95
|
+
updated_at?: string | undefined;
|
|
96
|
+
from_wallet_id?: number | undefined;
|
|
97
|
+
to_wallet_id?: number | undefined;
|
|
98
|
+
token_id?: number | undefined;
|
|
99
|
+
amount?: number | undefined;
|
|
100
|
+
transfer_group_id?: number | undefined;
|
|
101
|
+
reverses_id?: number | undefined;
|
|
102
|
+
status_finalized_at?: string | null | undefined;
|
|
44
103
|
wallet?: {
|
|
45
104
|
id: number;
|
|
46
105
|
foreign?: string | undefined;
|
|
@@ -69,9 +128,16 @@ export declare const APIValidators: {
|
|
|
69
128
|
foreign: string;
|
|
70
129
|
id?: number | undefined;
|
|
71
130
|
} | undefined;
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
131
|
+
reverses?: {
|
|
132
|
+
id: number;
|
|
133
|
+
identifier?: string | undefined;
|
|
134
|
+
} | {
|
|
135
|
+
identifier: string;
|
|
136
|
+
id?: number | undefined;
|
|
137
|
+
} | undefined;
|
|
138
|
+
}, import("zod").ZodObject<{
|
|
139
|
+
id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
140
|
+
identifier: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
75
141
|
from_wallet: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
76
142
|
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
77
143
|
id: import("zod").ZodNumber;
|
|
@@ -148,6 +214,7 @@ export declare const APIValidators: {
|
|
|
148
214
|
foreign: string;
|
|
149
215
|
id?: number | undefined;
|
|
150
216
|
}>]>>;
|
|
217
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<["transfer", "deposit", "withdrawal"]>>;
|
|
151
218
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
152
219
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
153
220
|
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -168,8 +235,29 @@ export declare const APIValidators: {
|
|
|
168
235
|
identifier: string;
|
|
169
236
|
id?: number | undefined;
|
|
170
237
|
}>]>>;
|
|
238
|
+
reverses: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
239
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
240
|
+
id: import("zod").ZodNumber;
|
|
241
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
242
|
+
id: number;
|
|
243
|
+
identifier?: string | undefined;
|
|
244
|
+
}, {
|
|
245
|
+
id: number;
|
|
246
|
+
identifier?: string | undefined;
|
|
247
|
+
}>, import("zod").ZodObject<{
|
|
248
|
+
identifier: import("zod").ZodString;
|
|
249
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
250
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
251
|
+
identifier: string;
|
|
252
|
+
id?: number | undefined;
|
|
253
|
+
}, {
|
|
254
|
+
identifier: string;
|
|
255
|
+
id?: number | undefined;
|
|
256
|
+
}>]>>;
|
|
171
257
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
258
|
+
amount: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
172
259
|
}, "strip", import("zod").ZodTypeAny, {
|
|
260
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
173
261
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
174
262
|
identifier?: string | undefined;
|
|
175
263
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
@@ -181,6 +269,7 @@ export declare const APIValidators: {
|
|
|
181
269
|
foreign: string;
|
|
182
270
|
id?: number | undefined;
|
|
183
271
|
} | undefined;
|
|
272
|
+
amount?: number | undefined;
|
|
184
273
|
wallet?: {
|
|
185
274
|
id: number;
|
|
186
275
|
foreign?: string | undefined;
|
|
@@ -209,11 +298,19 @@ export declare const APIValidators: {
|
|
|
209
298
|
foreign: string;
|
|
210
299
|
id?: number | undefined;
|
|
211
300
|
} | undefined;
|
|
301
|
+
reverses?: {
|
|
302
|
+
id: number;
|
|
303
|
+
identifier?: string | undefined;
|
|
304
|
+
} | {
|
|
305
|
+
identifier: string;
|
|
306
|
+
id?: number | undefined;
|
|
307
|
+
} | undefined;
|
|
212
308
|
}, {
|
|
309
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
213
310
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
214
|
-
identifier?: string | undefined;
|
|
311
|
+
identifier?: string | number | undefined;
|
|
215
312
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
216
|
-
id?: number | undefined;
|
|
313
|
+
id?: string | number | undefined;
|
|
217
314
|
token?: {
|
|
218
315
|
id: number;
|
|
219
316
|
foreign?: string | undefined;
|
|
@@ -221,6 +318,7 @@ export declare const APIValidators: {
|
|
|
221
318
|
foreign: string;
|
|
222
319
|
id?: number | undefined;
|
|
223
320
|
} | undefined;
|
|
321
|
+
amount?: string | number | undefined;
|
|
224
322
|
wallet?: {
|
|
225
323
|
id: number;
|
|
226
324
|
foreign?: string | undefined;
|
|
@@ -249,6 +347,13 @@ export declare const APIValidators: {
|
|
|
249
347
|
foreign: string;
|
|
250
348
|
id?: number | undefined;
|
|
251
349
|
} | undefined;
|
|
350
|
+
reverses?: {
|
|
351
|
+
id: number;
|
|
352
|
+
identifier?: string | undefined;
|
|
353
|
+
} | {
|
|
354
|
+
identifier: string;
|
|
355
|
+
id?: number | undefined;
|
|
356
|
+
} | undefined;
|
|
252
357
|
}>>[] | undefined;
|
|
253
358
|
}>;
|
|
254
359
|
authenticationCheck: (input: unknown, options?: unknown, log?: import("../lib/validation").Logger) => import("../lib/validation").WithRequiredOptions<{
|
|
@@ -1044,12 +1149,12 @@ export declare const APIValidators: {
|
|
|
1044
1149
|
limit?: number | undefined;
|
|
1045
1150
|
return_metadata_total?: boolean | undefined;
|
|
1046
1151
|
order?: {
|
|
1047
|
-
field: "type" | "status" | "foreign" | "metadata" | "
|
|
1152
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
1048
1153
|
direction?: "asc" | "desc" | undefined;
|
|
1049
1154
|
nulls?: "first" | "last" | undefined;
|
|
1050
1155
|
}[] | undefined;
|
|
1051
|
-
select?: ("type" | "status" | "foreign" | "metadata" | "
|
|
1052
|
-
deselect?: ("type" | "status" | "foreign" | "metadata" | "
|
|
1156
|
+
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;
|
|
1157
|
+
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;
|
|
1053
1158
|
include_balance?: boolean | undefined;
|
|
1054
1159
|
} | undefined;
|
|
1055
1160
|
token?: {
|
|
@@ -1063,8 +1168,24 @@ export declare const APIValidators: {
|
|
|
1063
1168
|
foreign: string;
|
|
1064
1169
|
id?: number | undefined;
|
|
1065
1170
|
} | undefined;
|
|
1066
|
-
} | import("../db/consts").DbFilterGeneric<
|
|
1067
|
-
|
|
1171
|
+
} | import("../db/consts").DbFilterGeneric<{
|
|
1172
|
+
type?: "value" | "group" | "share" | "contract" | undefined;
|
|
1173
|
+
status?: "active" | "disabled" | "dw-only" | undefined;
|
|
1174
|
+
foreign?: string | undefined;
|
|
1175
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1176
|
+
id?: number | undefined;
|
|
1177
|
+
created_at?: string | undefined;
|
|
1178
|
+
updated_at?: string | undefined;
|
|
1179
|
+
public?: boolean | undefined;
|
|
1180
|
+
belongs_to?: {
|
|
1181
|
+
id: number;
|
|
1182
|
+
foreign?: string | undefined;
|
|
1183
|
+
} | {
|
|
1184
|
+
foreign: string;
|
|
1185
|
+
id?: number | undefined;
|
|
1186
|
+
} | undefined;
|
|
1187
|
+
}, import("zod").ZodObject<{
|
|
1188
|
+
foreign: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
1068
1189
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["value", "share", "group", "contract"]>>;
|
|
1069
1190
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
1070
1191
|
belongs_to: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
@@ -1099,7 +1220,7 @@ export declare const APIValidators: {
|
|
|
1099
1220
|
} | undefined;
|
|
1100
1221
|
}, {
|
|
1101
1222
|
type?: "value" | "group" | "share" | "contract" | undefined;
|
|
1102
|
-
foreign?: string | undefined;
|
|
1223
|
+
foreign?: string | number | undefined;
|
|
1103
1224
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1104
1225
|
belongs_to?: {
|
|
1105
1226
|
id: number;
|
|
@@ -1139,8 +1260,28 @@ export declare const APIValidators: {
|
|
|
1139
1260
|
identifier: string;
|
|
1140
1261
|
id?: number | undefined;
|
|
1141
1262
|
} | undefined;
|
|
1142
|
-
} | import("../db/consts").DbFilterGeneric<
|
|
1143
|
-
|
|
1263
|
+
} | import("../db/consts").DbFilterGeneric<{
|
|
1264
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
1265
|
+
status?: "open" | "closed" | undefined;
|
|
1266
|
+
identifier?: string | undefined;
|
|
1267
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1268
|
+
id?: number | undefined;
|
|
1269
|
+
created_at?: string | undefined;
|
|
1270
|
+
updated_at?: string | undefined;
|
|
1271
|
+
transfer_group_id?: number | undefined;
|
|
1272
|
+
reverses_id?: number | undefined;
|
|
1273
|
+
status_finalized_at?: string | null | undefined;
|
|
1274
|
+
transfer_status_finalized_at?: string | null | undefined;
|
|
1275
|
+
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1276
|
+
reverses?: {
|
|
1277
|
+
id: number;
|
|
1278
|
+
identifier?: string | undefined;
|
|
1279
|
+
} | {
|
|
1280
|
+
identifier: string;
|
|
1281
|
+
id?: number | undefined;
|
|
1282
|
+
} | undefined;
|
|
1283
|
+
}, import("zod").ZodObject<{
|
|
1284
|
+
identifier: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
1144
1285
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["open", "closed"]>>;
|
|
1145
1286
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["regular", "exchange", "distribution"]>>;
|
|
1146
1287
|
transfer_status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
@@ -1180,7 +1321,7 @@ export declare const APIValidators: {
|
|
|
1180
1321
|
}, {
|
|
1181
1322
|
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
1182
1323
|
status?: "open" | "closed" | undefined;
|
|
1183
|
-
identifier?: string | undefined;
|
|
1324
|
+
identifier?: string | number | undefined;
|
|
1184
1325
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1185
1326
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1186
1327
|
reverses?: {
|
|
@@ -1208,6 +1349,56 @@ export declare const APIValidators: {
|
|
|
1208
1349
|
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;
|
|
1209
1350
|
} | undefined;
|
|
1210
1351
|
transfer?: {
|
|
1352
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
1353
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1354
|
+
identifier?: string | undefined;
|
|
1355
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1356
|
+
id?: number | undefined;
|
|
1357
|
+
token?: {
|
|
1358
|
+
id: number;
|
|
1359
|
+
foreign?: string | undefined;
|
|
1360
|
+
} | {
|
|
1361
|
+
foreign: string;
|
|
1362
|
+
id?: number | undefined;
|
|
1363
|
+
} | undefined;
|
|
1364
|
+
amount?: number | undefined;
|
|
1365
|
+
wallet?: {
|
|
1366
|
+
id: number;
|
|
1367
|
+
foreign?: string | undefined;
|
|
1368
|
+
} | {
|
|
1369
|
+
foreign: string;
|
|
1370
|
+
id?: number | undefined;
|
|
1371
|
+
} | undefined;
|
|
1372
|
+
transfer_group?: {
|
|
1373
|
+
id: number;
|
|
1374
|
+
identifier?: string | undefined;
|
|
1375
|
+
} | {
|
|
1376
|
+
identifier: string;
|
|
1377
|
+
id?: number | undefined;
|
|
1378
|
+
} | undefined;
|
|
1379
|
+
from_wallet?: {
|
|
1380
|
+
id: number;
|
|
1381
|
+
foreign?: string | undefined;
|
|
1382
|
+
} | {
|
|
1383
|
+
foreign: string;
|
|
1384
|
+
id?: number | undefined;
|
|
1385
|
+
} | undefined;
|
|
1386
|
+
to_wallet?: {
|
|
1387
|
+
id: number;
|
|
1388
|
+
foreign?: string | undefined;
|
|
1389
|
+
} | {
|
|
1390
|
+
foreign: string;
|
|
1391
|
+
id?: number | undefined;
|
|
1392
|
+
} | undefined;
|
|
1393
|
+
reverses?: {
|
|
1394
|
+
id: number;
|
|
1395
|
+
identifier?: string | undefined;
|
|
1396
|
+
} | {
|
|
1397
|
+
identifier: string;
|
|
1398
|
+
id?: number | undefined;
|
|
1399
|
+
} | undefined;
|
|
1400
|
+
} | import("../db/consts").DbFilterGeneric<{
|
|
1401
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
1211
1402
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1212
1403
|
identifier?: string | undefined;
|
|
1213
1404
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
@@ -1219,6 +1410,15 @@ export declare const APIValidators: {
|
|
|
1219
1410
|
foreign: string;
|
|
1220
1411
|
id?: number | undefined;
|
|
1221
1412
|
} | undefined;
|
|
1413
|
+
created_at?: string | undefined;
|
|
1414
|
+
updated_at?: string | undefined;
|
|
1415
|
+
from_wallet_id?: number | undefined;
|
|
1416
|
+
to_wallet_id?: number | undefined;
|
|
1417
|
+
token_id?: number | undefined;
|
|
1418
|
+
amount?: number | undefined;
|
|
1419
|
+
transfer_group_id?: number | undefined;
|
|
1420
|
+
reverses_id?: number | undefined;
|
|
1421
|
+
status_finalized_at?: string | null | undefined;
|
|
1222
1422
|
wallet?: {
|
|
1223
1423
|
id: number;
|
|
1224
1424
|
foreign?: string | undefined;
|
|
@@ -1247,9 +1447,16 @@ export declare const APIValidators: {
|
|
|
1247
1447
|
foreign: string;
|
|
1248
1448
|
id?: number | undefined;
|
|
1249
1449
|
} | undefined;
|
|
1250
|
-
|
|
1251
|
-
|
|
1252
|
-
|
|
1450
|
+
reverses?: {
|
|
1451
|
+
id: number;
|
|
1452
|
+
identifier?: string | undefined;
|
|
1453
|
+
} | {
|
|
1454
|
+
identifier: string;
|
|
1455
|
+
id?: number | undefined;
|
|
1456
|
+
} | undefined;
|
|
1457
|
+
}, import("zod").ZodObject<{
|
|
1458
|
+
id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
1459
|
+
identifier: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
1253
1460
|
from_wallet: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
1254
1461
|
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1255
1462
|
id: import("zod").ZodNumber;
|
|
@@ -1326,6 +1533,7 @@ export declare const APIValidators: {
|
|
|
1326
1533
|
foreign: string;
|
|
1327
1534
|
id?: number | undefined;
|
|
1328
1535
|
}>]>>;
|
|
1536
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<["transfer", "deposit", "withdrawal"]>>;
|
|
1329
1537
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
1330
1538
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
1331
1539
|
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1346,8 +1554,29 @@ export declare const APIValidators: {
|
|
|
1346
1554
|
identifier: string;
|
|
1347
1555
|
id?: number | undefined;
|
|
1348
1556
|
}>]>>;
|
|
1557
|
+
reverses: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
1558
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1559
|
+
id: import("zod").ZodNumber;
|
|
1560
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1561
|
+
id: number;
|
|
1562
|
+
identifier?: string | undefined;
|
|
1563
|
+
}, {
|
|
1564
|
+
id: number;
|
|
1565
|
+
identifier?: string | undefined;
|
|
1566
|
+
}>, import("zod").ZodObject<{
|
|
1567
|
+
identifier: import("zod").ZodString;
|
|
1568
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1569
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1570
|
+
identifier: string;
|
|
1571
|
+
id?: number | undefined;
|
|
1572
|
+
}, {
|
|
1573
|
+
identifier: string;
|
|
1574
|
+
id?: number | undefined;
|
|
1575
|
+
}>]>>;
|
|
1349
1576
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
1577
|
+
amount: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
1350
1578
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1579
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
1351
1580
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1352
1581
|
identifier?: string | undefined;
|
|
1353
1582
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
@@ -1359,6 +1588,7 @@ export declare const APIValidators: {
|
|
|
1359
1588
|
foreign: string;
|
|
1360
1589
|
id?: number | undefined;
|
|
1361
1590
|
} | undefined;
|
|
1591
|
+
amount?: number | undefined;
|
|
1362
1592
|
wallet?: {
|
|
1363
1593
|
id: number;
|
|
1364
1594
|
foreign?: string | undefined;
|
|
@@ -1387,11 +1617,19 @@ export declare const APIValidators: {
|
|
|
1387
1617
|
foreign: string;
|
|
1388
1618
|
id?: number | undefined;
|
|
1389
1619
|
} | undefined;
|
|
1620
|
+
reverses?: {
|
|
1621
|
+
id: number;
|
|
1622
|
+
identifier?: string | undefined;
|
|
1623
|
+
} | {
|
|
1624
|
+
identifier: string;
|
|
1625
|
+
id?: number | undefined;
|
|
1626
|
+
} | undefined;
|
|
1390
1627
|
}, {
|
|
1628
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
1391
1629
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1392
|
-
identifier?: string | undefined;
|
|
1630
|
+
identifier?: string | number | undefined;
|
|
1393
1631
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1394
|
-
id?: number | undefined;
|
|
1632
|
+
id?: string | number | undefined;
|
|
1395
1633
|
token?: {
|
|
1396
1634
|
id: number;
|
|
1397
1635
|
foreign?: string | undefined;
|
|
@@ -1399,6 +1637,7 @@ export declare const APIValidators: {
|
|
|
1399
1637
|
foreign: string;
|
|
1400
1638
|
id?: number | undefined;
|
|
1401
1639
|
} | undefined;
|
|
1640
|
+
amount?: string | number | undefined;
|
|
1402
1641
|
wallet?: {
|
|
1403
1642
|
id: number;
|
|
1404
1643
|
foreign?: string | undefined;
|
|
@@ -1427,6 +1666,13 @@ export declare const APIValidators: {
|
|
|
1427
1666
|
foreign: string;
|
|
1428
1667
|
id?: number | undefined;
|
|
1429
1668
|
} | undefined;
|
|
1669
|
+
reverses?: {
|
|
1670
|
+
id: number;
|
|
1671
|
+
identifier?: string | undefined;
|
|
1672
|
+
} | {
|
|
1673
|
+
identifier: string;
|
|
1674
|
+
id?: number | undefined;
|
|
1675
|
+
} | undefined;
|
|
1430
1676
|
}>>[] | undefined;
|
|
1431
1677
|
}>;
|
|
1432
1678
|
exportWalletMany: (input: unknown, options?: unknown, log?: import("../lib/validation").Logger) => import("../lib/validation").WithRequiredOptions<{
|
|
@@ -1457,8 +1703,20 @@ export declare const APIValidators: {
|
|
|
1457
1703
|
foreign?: string | undefined;
|
|
1458
1704
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1459
1705
|
name?: string | undefined;
|
|
1460
|
-
} | import("../db/consts").DbFilterGeneric<
|
|
1461
|
-
|
|
1706
|
+
} | import("../db/consts").DbFilterGeneric<{
|
|
1707
|
+
type?: "token" | "house" | "regular" | undefined;
|
|
1708
|
+
status?: "active" | "disabled" | undefined;
|
|
1709
|
+
foreign?: string | undefined;
|
|
1710
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1711
|
+
id?: number | undefined;
|
|
1712
|
+
name?: string | undefined;
|
|
1713
|
+
created_at?: string | undefined;
|
|
1714
|
+
updated_at?: string | undefined;
|
|
1715
|
+
balance_pending_amount?: number | null | undefined;
|
|
1716
|
+
balance_finished_amount?: number | null | undefined;
|
|
1717
|
+
balance_available_balance?: number | null | undefined;
|
|
1718
|
+
}, import("zod").ZodObject<{
|
|
1719
|
+
foreign: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
1462
1720
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1463
1721
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["token", "house", "regular"]>>;
|
|
1464
1722
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["active", "disabled"]>>;
|
|
@@ -1472,7 +1730,7 @@ export declare const APIValidators: {
|
|
|
1472
1730
|
}, {
|
|
1473
1731
|
type?: "token" | "house" | "regular" | undefined;
|
|
1474
1732
|
status?: "active" | "disabled" | undefined;
|
|
1475
|
-
foreign?: string | undefined;
|
|
1733
|
+
foreign?: string | number | undefined;
|
|
1476
1734
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1477
1735
|
name?: string | undefined;
|
|
1478
1736
|
}>>[] | undefined;
|
|
@@ -1520,23 +1778,52 @@ export declare const APIValidators: {
|
|
|
1520
1778
|
foreign: string;
|
|
1521
1779
|
id?: number | undefined;
|
|
1522
1780
|
} | undefined;
|
|
1523
|
-
} | import("../db/consts").DbFilterGeneric<
|
|
1524
|
-
|
|
1525
|
-
|
|
1526
|
-
|
|
1527
|
-
|
|
1528
|
-
id: number;
|
|
1529
|
-
foreign?: string | undefined;
|
|
1530
|
-
}, {
|
|
1781
|
+
} | import("../db/consts").DbFilterGeneric<{
|
|
1782
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
1783
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1784
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1785
|
+
token?: {
|
|
1531
1786
|
id: number;
|
|
1532
1787
|
foreign?: string | undefined;
|
|
1533
|
-
}
|
|
1534
|
-
foreign:
|
|
1535
|
-
id
|
|
1536
|
-
}
|
|
1537
|
-
|
|
1538
|
-
|
|
1539
|
-
|
|
1788
|
+
} | {
|
|
1789
|
+
foreign: string;
|
|
1790
|
+
id?: number | undefined;
|
|
1791
|
+
} | undefined;
|
|
1792
|
+
updated_at?: string | undefined;
|
|
1793
|
+
transfer?: {
|
|
1794
|
+
id: number;
|
|
1795
|
+
identifier?: string | undefined;
|
|
1796
|
+
} | {
|
|
1797
|
+
identifier: string;
|
|
1798
|
+
id?: number | undefined;
|
|
1799
|
+
} | undefined;
|
|
1800
|
+
amount?: number | undefined;
|
|
1801
|
+
pending_amount?: number | undefined;
|
|
1802
|
+
finished_amount?: number | undefined;
|
|
1803
|
+
wallet?: {
|
|
1804
|
+
id: number;
|
|
1805
|
+
foreign?: string | undefined;
|
|
1806
|
+
} | {
|
|
1807
|
+
foreign: string;
|
|
1808
|
+
id?: number | undefined;
|
|
1809
|
+
} | undefined;
|
|
1810
|
+
}, import("zod").ZodObject<{
|
|
1811
|
+
wallet: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
1812
|
+
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1813
|
+
id: import("zod").ZodNumber;
|
|
1814
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1815
|
+
id: number;
|
|
1816
|
+
foreign?: string | undefined;
|
|
1817
|
+
}, {
|
|
1818
|
+
id: number;
|
|
1819
|
+
foreign?: string | undefined;
|
|
1820
|
+
}>, import("zod").ZodObject<{
|
|
1821
|
+
foreign: import("zod").ZodString;
|
|
1822
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
1823
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
1824
|
+
foreign: string;
|
|
1825
|
+
id?: number | undefined;
|
|
1826
|
+
}, {
|
|
1540
1827
|
foreign: string;
|
|
1541
1828
|
id?: number | undefined;
|
|
1542
1829
|
}>]>>;
|
|
@@ -1580,9 +1867,9 @@ export declare const APIValidators: {
|
|
|
1580
1867
|
}>]>>;
|
|
1581
1868
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["transfer", "deposit", "withdrawal"]>>;
|
|
1582
1869
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
1583
|
-
amount: import("zod").ZodOptional<import("zod").ZodNumber
|
|
1584
|
-
pending_amount: import("zod").ZodOptional<import("zod").ZodNumber
|
|
1585
|
-
finished_amount: import("zod").ZodOptional<import("zod").ZodNumber
|
|
1870
|
+
amount: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
1871
|
+
pending_amount: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
1872
|
+
finished_amount: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
1586
1873
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
1587
1874
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1588
1875
|
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
@@ -1630,9 +1917,9 @@ export declare const APIValidators: {
|
|
|
1630
1917
|
identifier: string;
|
|
1631
1918
|
id?: number | undefined;
|
|
1632
1919
|
} | undefined;
|
|
1633
|
-
amount?: number | undefined;
|
|
1634
|
-
pending_amount?: number | undefined;
|
|
1635
|
-
finished_amount?: number | undefined;
|
|
1920
|
+
amount?: string | number | undefined;
|
|
1921
|
+
pending_amount?: string | number | undefined;
|
|
1922
|
+
finished_amount?: string | number | undefined;
|
|
1636
1923
|
wallet?: {
|
|
1637
1924
|
id: number;
|
|
1638
1925
|
foreign?: string | undefined;
|
|
@@ -1650,12 +1937,12 @@ export declare const APIValidators: {
|
|
|
1650
1937
|
limit?: number | undefined;
|
|
1651
1938
|
return_metadata_total?: boolean | undefined;
|
|
1652
1939
|
order?: {
|
|
1653
|
-
field: "type" | "status" | "foreign" | "metadata" | "
|
|
1940
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
1654
1941
|
direction?: "asc" | "desc" | undefined;
|
|
1655
1942
|
nulls?: "first" | "last" | undefined;
|
|
1656
1943
|
}[] | undefined;
|
|
1657
|
-
select?: ("type" | "status" | "foreign" | "metadata" | "
|
|
1658
|
-
deselect?: ("type" | "status" | "foreign" | "metadata" | "
|
|
1944
|
+
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;
|
|
1945
|
+
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;
|
|
1659
1946
|
include_balance?: boolean | undefined;
|
|
1660
1947
|
} | undefined;
|
|
1661
1948
|
token?: {
|
|
@@ -1669,8 +1956,24 @@ export declare const APIValidators: {
|
|
|
1669
1956
|
foreign: string;
|
|
1670
1957
|
id?: number | undefined;
|
|
1671
1958
|
} | undefined;
|
|
1672
|
-
} | import("../db/consts").DbFilterGeneric<
|
|
1673
|
-
|
|
1959
|
+
} | import("../db/consts").DbFilterGeneric<{
|
|
1960
|
+
type?: "value" | "group" | "share" | "contract" | undefined;
|
|
1961
|
+
status?: "active" | "disabled" | "dw-only" | undefined;
|
|
1962
|
+
foreign?: string | undefined;
|
|
1963
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1964
|
+
id?: number | undefined;
|
|
1965
|
+
created_at?: string | undefined;
|
|
1966
|
+
updated_at?: string | undefined;
|
|
1967
|
+
public?: boolean | undefined;
|
|
1968
|
+
belongs_to?: {
|
|
1969
|
+
id: number;
|
|
1970
|
+
foreign?: string | undefined;
|
|
1971
|
+
} | {
|
|
1972
|
+
foreign: string;
|
|
1973
|
+
id?: number | undefined;
|
|
1974
|
+
} | undefined;
|
|
1975
|
+
}, import("zod").ZodObject<{
|
|
1976
|
+
foreign: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
1674
1977
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["value", "share", "group", "contract"]>>;
|
|
1675
1978
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
1676
1979
|
belongs_to: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
@@ -1705,7 +2008,7 @@ export declare const APIValidators: {
|
|
|
1705
2008
|
} | undefined;
|
|
1706
2009
|
}, {
|
|
1707
2010
|
type?: "value" | "group" | "share" | "contract" | undefined;
|
|
1708
|
-
foreign?: string | undefined;
|
|
2011
|
+
foreign?: string | number | undefined;
|
|
1709
2012
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1710
2013
|
belongs_to?: {
|
|
1711
2014
|
id: number;
|
|
@@ -1745,8 +2048,28 @@ export declare const APIValidators: {
|
|
|
1745
2048
|
identifier: string;
|
|
1746
2049
|
id?: number | undefined;
|
|
1747
2050
|
} | undefined;
|
|
1748
|
-
} | import("../db/consts").DbFilterGeneric<
|
|
1749
|
-
|
|
2051
|
+
} | import("../db/consts").DbFilterGeneric<{
|
|
2052
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
2053
|
+
status?: "open" | "closed" | undefined;
|
|
2054
|
+
identifier?: string | undefined;
|
|
2055
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2056
|
+
id?: number | undefined;
|
|
2057
|
+
created_at?: string | undefined;
|
|
2058
|
+
updated_at?: string | undefined;
|
|
2059
|
+
transfer_group_id?: number | undefined;
|
|
2060
|
+
reverses_id?: number | undefined;
|
|
2061
|
+
status_finalized_at?: string | null | undefined;
|
|
2062
|
+
transfer_status_finalized_at?: string | null | undefined;
|
|
2063
|
+
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
2064
|
+
reverses?: {
|
|
2065
|
+
id: number;
|
|
2066
|
+
identifier?: string | undefined;
|
|
2067
|
+
} | {
|
|
2068
|
+
identifier: string;
|
|
2069
|
+
id?: number | undefined;
|
|
2070
|
+
} | undefined;
|
|
2071
|
+
}, import("zod").ZodObject<{
|
|
2072
|
+
identifier: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
1750
2073
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["open", "closed"]>>;
|
|
1751
2074
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["regular", "exchange", "distribution"]>>;
|
|
1752
2075
|
transfer_status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
@@ -1786,7 +2109,7 @@ export declare const APIValidators: {
|
|
|
1786
2109
|
}, {
|
|
1787
2110
|
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
1788
2111
|
status?: "open" | "closed" | undefined;
|
|
1789
|
-
identifier?: string | undefined;
|
|
2112
|
+
identifier?: string | number | undefined;
|
|
1790
2113
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1791
2114
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1792
2115
|
reverses?: {
|
|
@@ -1828,6 +2151,56 @@ export declare const APIValidators: {
|
|
|
1828
2151
|
} | undefined;
|
|
1829
2152
|
} | undefined;
|
|
1830
2153
|
transfer?: {
|
|
2154
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
2155
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
2156
|
+
identifier?: string | undefined;
|
|
2157
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2158
|
+
id?: number | undefined;
|
|
2159
|
+
token?: {
|
|
2160
|
+
id: number;
|
|
2161
|
+
foreign?: string | undefined;
|
|
2162
|
+
} | {
|
|
2163
|
+
foreign: string;
|
|
2164
|
+
id?: number | undefined;
|
|
2165
|
+
} | undefined;
|
|
2166
|
+
amount?: number | undefined;
|
|
2167
|
+
wallet?: {
|
|
2168
|
+
id: number;
|
|
2169
|
+
foreign?: string | undefined;
|
|
2170
|
+
} | {
|
|
2171
|
+
foreign: string;
|
|
2172
|
+
id?: number | undefined;
|
|
2173
|
+
} | undefined;
|
|
2174
|
+
transfer_group?: {
|
|
2175
|
+
id: number;
|
|
2176
|
+
identifier?: string | undefined;
|
|
2177
|
+
} | {
|
|
2178
|
+
identifier: string;
|
|
2179
|
+
id?: number | undefined;
|
|
2180
|
+
} | undefined;
|
|
2181
|
+
from_wallet?: {
|
|
2182
|
+
id: number;
|
|
2183
|
+
foreign?: string | undefined;
|
|
2184
|
+
} | {
|
|
2185
|
+
foreign: string;
|
|
2186
|
+
id?: number | undefined;
|
|
2187
|
+
} | undefined;
|
|
2188
|
+
to_wallet?: {
|
|
2189
|
+
id: number;
|
|
2190
|
+
foreign?: string | undefined;
|
|
2191
|
+
} | {
|
|
2192
|
+
foreign: string;
|
|
2193
|
+
id?: number | undefined;
|
|
2194
|
+
} | undefined;
|
|
2195
|
+
reverses?: {
|
|
2196
|
+
id: number;
|
|
2197
|
+
identifier?: string | undefined;
|
|
2198
|
+
} | {
|
|
2199
|
+
identifier: string;
|
|
2200
|
+
id?: number | undefined;
|
|
2201
|
+
} | undefined;
|
|
2202
|
+
} | import("../db/consts").DbFilterGeneric<{
|
|
2203
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
1831
2204
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1832
2205
|
identifier?: string | undefined;
|
|
1833
2206
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
@@ -1839,6 +2212,15 @@ export declare const APIValidators: {
|
|
|
1839
2212
|
foreign: string;
|
|
1840
2213
|
id?: number | undefined;
|
|
1841
2214
|
} | undefined;
|
|
2215
|
+
created_at?: string | undefined;
|
|
2216
|
+
updated_at?: string | undefined;
|
|
2217
|
+
from_wallet_id?: number | undefined;
|
|
2218
|
+
to_wallet_id?: number | undefined;
|
|
2219
|
+
token_id?: number | undefined;
|
|
2220
|
+
amount?: number | undefined;
|
|
2221
|
+
transfer_group_id?: number | undefined;
|
|
2222
|
+
reverses_id?: number | undefined;
|
|
2223
|
+
status_finalized_at?: string | null | undefined;
|
|
1842
2224
|
wallet?: {
|
|
1843
2225
|
id: number;
|
|
1844
2226
|
foreign?: string | undefined;
|
|
@@ -1867,9 +2249,16 @@ export declare const APIValidators: {
|
|
|
1867
2249
|
foreign: string;
|
|
1868
2250
|
id?: number | undefined;
|
|
1869
2251
|
} | undefined;
|
|
1870
|
-
|
|
1871
|
-
|
|
1872
|
-
|
|
2252
|
+
reverses?: {
|
|
2253
|
+
id: number;
|
|
2254
|
+
identifier?: string | undefined;
|
|
2255
|
+
} | {
|
|
2256
|
+
identifier: string;
|
|
2257
|
+
id?: number | undefined;
|
|
2258
|
+
} | undefined;
|
|
2259
|
+
}, import("zod").ZodObject<{
|
|
2260
|
+
id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
2261
|
+
identifier: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
1873
2262
|
from_wallet: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
1874
2263
|
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
1875
2264
|
id: import("zod").ZodNumber;
|
|
@@ -1946,6 +2335,7 @@ export declare const APIValidators: {
|
|
|
1946
2335
|
foreign: string;
|
|
1947
2336
|
id?: number | undefined;
|
|
1948
2337
|
}>]>>;
|
|
2338
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<["transfer", "deposit", "withdrawal"]>>;
|
|
1949
2339
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
1950
2340
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
1951
2341
|
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1966,8 +2356,29 @@ export declare const APIValidators: {
|
|
|
1966
2356
|
identifier: string;
|
|
1967
2357
|
id?: number | undefined;
|
|
1968
2358
|
}>]>>;
|
|
2359
|
+
reverses: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
2360
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2361
|
+
id: import("zod").ZodNumber;
|
|
2362
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
2363
|
+
id: number;
|
|
2364
|
+
identifier?: string | undefined;
|
|
2365
|
+
}, {
|
|
2366
|
+
id: number;
|
|
2367
|
+
identifier?: string | undefined;
|
|
2368
|
+
}>, import("zod").ZodObject<{
|
|
2369
|
+
identifier: import("zod").ZodString;
|
|
2370
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
2371
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
2372
|
+
identifier: string;
|
|
2373
|
+
id?: number | undefined;
|
|
2374
|
+
}, {
|
|
2375
|
+
identifier: string;
|
|
2376
|
+
id?: number | undefined;
|
|
2377
|
+
}>]>>;
|
|
1969
2378
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
2379
|
+
amount: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
1970
2380
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2381
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
1971
2382
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1972
2383
|
identifier?: string | undefined;
|
|
1973
2384
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
@@ -1979,6 +2390,7 @@ export declare const APIValidators: {
|
|
|
1979
2390
|
foreign: string;
|
|
1980
2391
|
id?: number | undefined;
|
|
1981
2392
|
} | undefined;
|
|
2393
|
+
amount?: number | undefined;
|
|
1982
2394
|
wallet?: {
|
|
1983
2395
|
id: number;
|
|
1984
2396
|
foreign?: string | undefined;
|
|
@@ -2007,11 +2419,19 @@ export declare const APIValidators: {
|
|
|
2007
2419
|
foreign: string;
|
|
2008
2420
|
id?: number | undefined;
|
|
2009
2421
|
} | undefined;
|
|
2422
|
+
reverses?: {
|
|
2423
|
+
id: number;
|
|
2424
|
+
identifier?: string | undefined;
|
|
2425
|
+
} | {
|
|
2426
|
+
identifier: string;
|
|
2427
|
+
id?: number | undefined;
|
|
2428
|
+
} | undefined;
|
|
2010
2429
|
}, {
|
|
2430
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
2011
2431
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
2012
|
-
identifier?: string | undefined;
|
|
2432
|
+
identifier?: string | number | undefined;
|
|
2013
2433
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2014
|
-
id?: number | undefined;
|
|
2434
|
+
id?: string | number | undefined;
|
|
2015
2435
|
token?: {
|
|
2016
2436
|
id: number;
|
|
2017
2437
|
foreign?: string | undefined;
|
|
@@ -2019,6 +2439,7 @@ export declare const APIValidators: {
|
|
|
2019
2439
|
foreign: string;
|
|
2020
2440
|
id?: number | undefined;
|
|
2021
2441
|
} | undefined;
|
|
2442
|
+
amount?: string | number | undefined;
|
|
2022
2443
|
wallet?: {
|
|
2023
2444
|
id: number;
|
|
2024
2445
|
foreign?: string | undefined;
|
|
@@ -2047,6 +2468,13 @@ export declare const APIValidators: {
|
|
|
2047
2468
|
foreign: string;
|
|
2048
2469
|
id?: number | undefined;
|
|
2049
2470
|
} | undefined;
|
|
2471
|
+
reverses?: {
|
|
2472
|
+
id: number;
|
|
2473
|
+
identifier?: string | undefined;
|
|
2474
|
+
} | {
|
|
2475
|
+
identifier: string;
|
|
2476
|
+
id?: number | undefined;
|
|
2477
|
+
} | undefined;
|
|
2050
2478
|
}>>[] | undefined;
|
|
2051
2479
|
}>;
|
|
2052
2480
|
findWalletMany: (input: unknown, options?: unknown, log?: import("../lib/validation").Logger) => import("../lib/validation").WithRequiredOptions<{
|
|
@@ -2077,8 +2505,20 @@ export declare const APIValidators: {
|
|
|
2077
2505
|
foreign?: string | undefined;
|
|
2078
2506
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2079
2507
|
name?: string | undefined;
|
|
2080
|
-
} | import("../db/consts").DbFilterGeneric<
|
|
2081
|
-
|
|
2508
|
+
} | import("../db/consts").DbFilterGeneric<{
|
|
2509
|
+
type?: "token" | "house" | "regular" | undefined;
|
|
2510
|
+
status?: "active" | "disabled" | undefined;
|
|
2511
|
+
foreign?: string | undefined;
|
|
2512
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2513
|
+
id?: number | undefined;
|
|
2514
|
+
name?: string | undefined;
|
|
2515
|
+
created_at?: string | undefined;
|
|
2516
|
+
updated_at?: string | undefined;
|
|
2517
|
+
balance_pending_amount?: number | null | undefined;
|
|
2518
|
+
balance_finished_amount?: number | null | undefined;
|
|
2519
|
+
balance_available_balance?: number | null | undefined;
|
|
2520
|
+
}, import("zod").ZodObject<{
|
|
2521
|
+
foreign: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
2082
2522
|
name: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2083
2523
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["token", "house", "regular"]>>;
|
|
2084
2524
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["active", "disabled"]>>;
|
|
@@ -2092,7 +2532,7 @@ export declare const APIValidators: {
|
|
|
2092
2532
|
}, {
|
|
2093
2533
|
type?: "token" | "house" | "regular" | undefined;
|
|
2094
2534
|
status?: "active" | "disabled" | undefined;
|
|
2095
|
-
foreign?: string | undefined;
|
|
2535
|
+
foreign?: string | number | undefined;
|
|
2096
2536
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2097
2537
|
name?: string | undefined;
|
|
2098
2538
|
}>>[] | undefined;
|
|
@@ -2194,7 +2634,7 @@ export declare const APIValidators: {
|
|
|
2194
2634
|
type: "period";
|
|
2195
2635
|
field: "year" | "month" | "week" | "day" | "hour" | "minute" | {
|
|
2196
2636
|
period: "year" | "month" | "week" | "day" | "hour" | "minute";
|
|
2197
|
-
timezone: string;
|
|
2637
|
+
timezone: "Africa/Abidjan" | "Africa/Accra" | "Africa/Addis_Ababa" | "Africa/Algiers" | "Africa/Asmara" | "Africa/Asmera" | "Africa/Bamako" | "Africa/Bangui" | "Africa/Banjul" | "Africa/Bissau" | "Africa/Blantyre" | "Africa/Brazzaville" | "Africa/Bujumbura" | "Africa/Cairo" | "Africa/Casablanca" | "Africa/Ceuta" | "Africa/Conakry" | "Africa/Dakar" | "Africa/Dar_es_Salaam" | "Africa/Djibouti" | "Africa/Douala" | "Africa/El_Aaiun" | "Africa/Freetown" | "Africa/Gaborone" | "Africa/Harare" | "Africa/Johannesburg" | "Africa/Juba" | "Africa/Kampala" | "Africa/Khartoum" | "Africa/Kigali" | "Africa/Kinshasa" | "Africa/Lagos" | "Africa/Libreville" | "Africa/Lome" | "Africa/Luanda" | "Africa/Lubumbashi" | "Africa/Lusaka" | "Africa/Malabo" | "Africa/Maputo" | "Africa/Maseru" | "Africa/Mbabane" | "Africa/Mogadishu" | "Africa/Monrovia" | "Africa/Nairobi" | "Africa/Ndjamena" | "Africa/Niamey" | "Africa/Nouakchott" | "Africa/Ouagadougou" | "Africa/Porto-Novo" | "Africa/Sao_Tome" | "Africa/Timbuktu" | "Africa/Tripoli" | "Africa/Tunis" | "Africa/Windhoek" | "America/Adak" | "America/Anchorage" | "America/Anguilla" | "America/Antigua" | "America/Araguaina" | "America/Argentina/Buenos_Aires" | "America/Argentina/Catamarca" | "America/Argentina/ComodRivadavia" | "America/Argentina/Cordoba" | "America/Argentina/Jujuy" | "America/Argentina/La_Rioja" | "America/Argentina/Mendoza" | "America/Argentina/Rio_Gallegos" | "America/Argentina/Salta" | "America/Argentina/San_Juan" | "America/Argentina/San_Luis" | "America/Argentina/Tucuman" | "America/Argentina/Ushuaia" | "America/Aruba" | "America/Asuncion" | "America/Atikokan" | "America/Atka" | "America/Bahia" | "America/Bahia_Banderas" | "America/Barbados" | "America/Belem" | "America/Belize" | "America/Blanc-Sablon" | "America/Boa_Vista" | "America/Bogota" | "America/Boise" | "America/Buenos_Aires" | "America/Cambridge_Bay" | "America/Campo_Grande" | "America/Cancun" | "America/Caracas" | "America/Catamarca" | "America/Cayenne" | "America/Cayman" | "America/Chicago" | "America/Chihuahua" | "America/Ciudad_Juarez" | "America/Coral_Harbour" | "America/Cordoba" | "America/Costa_Rica" | "America/Creston" | "America/Cuiaba" | "America/Curacao" | "America/Danmarkshavn" | "America/Dawson" | "America/Dawson_Creek" | "America/Denver" | "America/Detroit" | "America/Dominica" | "America/Edmonton" | "America/Eirunepe" | "America/El_Salvador" | "America/Ensenada" | "America/Fort_Nelson" | "America/Fort_Wayne" | "America/Fortaleza" | "America/Glace_Bay" | "America/Godthab" | "America/Goose_Bay" | "America/Grand_Turk" | "America/Grenada" | "America/Guadeloupe" | "America/Guatemala" | "America/Guayaquil" | "America/Guyana" | "America/Halifax" | "America/Havana" | "America/Hermosillo" | "America/Indiana/Indianapolis" | "America/Indiana/Knox" | "America/Indiana/Marengo" | "America/Indiana/Petersburg" | "America/Indiana/Tell_City" | "America/Indiana/Vevay" | "America/Indiana/Vincennes" | "America/Indiana/Winamac" | "America/Indianapolis" | "America/Inuvik" | "America/Iqaluit" | "America/Jamaica" | "America/Jujuy" | "America/Juneau" | "America/Kentucky/Louisville" | "America/Kentucky/Monticello" | "America/Knox_IN" | "America/Kralendijk" | "America/La_Paz" | "America/Lima" | "America/Los_Angeles" | "America/Louisville" | "America/Lower_Princes" | "America/Maceio" | "America/Managua" | "America/Manaus" | "America/Marigot" | "America/Martinique" | "America/Matamoros" | "America/Mazatlan" | "America/Mendoza" | "America/Menominee" | "America/Merida" | "America/Metlakatla" | "America/Mexico_City" | "America/Miquelon" | "America/Moncton" | "America/Monterrey" | "America/Montevideo" | "America/Montreal" | "America/Montserrat" | "America/Nassau" | "America/New_York" | "America/Nipigon" | "America/Nome" | "America/Noronha" | "America/North_Dakota/Beulah" | "America/North_Dakota/Center" | "America/North_Dakota/New_Salem" | "America/Nuuk" | "America/Ojinaga" | "America/Panama" | "America/Pangnirtung" | "America/Paramaribo" | "America/Phoenix" | "America/Port-au-Prince" | "America/Port_of_Spain" | "America/Porto_Acre" | "America/Porto_Velho" | "America/Puerto_Rico" | "America/Punta_Arenas" | "America/Rainy_River" | "America/Rankin_Inlet" | "America/Recife" | "America/Regina" | "America/Resolute" | "America/Rio_Branco" | "America/Rosario" | "America/Santa_Isabel" | "America/Santarem" | "America/Santiago" | "America/Santo_Domingo" | "America/Sao_Paulo" | "America/Scoresbysund" | "America/Shiprock" | "America/Sitka" | "America/St_Barthelemy" | "America/St_Johns" | "America/St_Kitts" | "America/St_Lucia" | "America/St_Thomas" | "America/St_Vincent" | "America/Swift_Current" | "America/Tegucigalpa" | "America/Thule" | "America/Thunder_Bay" | "America/Tijuana" | "America/Toronto" | "America/Tortola" | "America/Vancouver" | "America/Virgin" | "America/Whitehorse" | "America/Winnipeg" | "America/Yakutat" | "America/Yellowknife" | "Antarctica/Casey" | "Antarctica/Davis" | "Antarctica/DumontDUrville" | "Antarctica/Macquarie" | "Antarctica/Mawson" | "Antarctica/McMurdo" | "Antarctica/Palmer" | "Antarctica/Rothera" | "Antarctica/South_Pole" | "Antarctica/Syowa" | "Antarctica/Troll" | "Antarctica/Vostok" | "Arctic/Longyearbyen" | "Asia/Aden" | "Asia/Almaty" | "Asia/Amman" | "Asia/Anadyr" | "Asia/Aqtau" | "Asia/Aqtobe" | "Asia/Ashgabat" | "Asia/Ashkhabad" | "Asia/Atyrau" | "Asia/Baghdad" | "Asia/Bahrain" | "Asia/Baku" | "Asia/Bangkok" | "Asia/Barnaul" | "Asia/Beirut" | "Asia/Bishkek" | "Asia/Brunei" | "Asia/Calcutta" | "Asia/Chita" | "Asia/Choibalsan" | "Asia/Chongqing" | "Asia/Chungking" | "Asia/Colombo" | "Asia/Dacca" | "Asia/Damascus" | "Asia/Dhaka" | "Asia/Dili" | "Asia/Dubai" | "Asia/Dushanbe" | "Asia/Famagusta" | "Asia/Gaza" | "Asia/Harbin" | "Asia/Hebron" | "Asia/Ho_Chi_Minh" | "Asia/Hong_Kong" | "Asia/Hovd" | "Asia/Irkutsk" | "Asia/Istanbul" | "Asia/Jakarta" | "Asia/Jayapura" | "Asia/Jerusalem" | "Asia/Kabul" | "Asia/Kamchatka" | "Asia/Karachi" | "Asia/Kashgar" | "Asia/Kathmandu" | "Asia/Katmandu" | "Asia/Khandyga" | "Asia/Kolkata" | "Asia/Krasnoyarsk" | "Asia/Kuala_Lumpur" | "Asia/Kuching" | "Asia/Kuwait" | "Asia/Macao" | "Asia/Macau" | "Asia/Magadan" | "Asia/Makassar" | "Asia/Manila" | "Asia/Muscat" | "Asia/Nicosia" | "Asia/Novokuznetsk" | "Asia/Novosibirsk" | "Asia/Omsk" | "Asia/Oral" | "Asia/Phnom_Penh" | "Asia/Pontianak" | "Asia/Pyongyang" | "Asia/Qatar" | "Asia/Qostanay" | "Asia/Qyzylorda" | "Asia/Rangoon" | "Asia/Riyadh" | "Asia/Saigon" | "Asia/Sakhalin" | "Asia/Samarkand" | "Asia/Seoul" | "Asia/Shanghai" | "Asia/Singapore" | "Asia/Srednekolymsk" | "Asia/Taipei" | "Asia/Tashkent" | "Asia/Tbilisi" | "Asia/Tehran" | "Asia/Tel_Aviv" | "Asia/Thimbu" | "Asia/Thimphu" | "Asia/Tokyo" | "Asia/Tomsk" | "Asia/Ujung_Pandang" | "Asia/Ulaanbaatar" | "Asia/Ulan_Bator" | "Asia/Urumqi" | "Asia/Ust-Nera" | "Asia/Vientiane" | "Asia/Vladivostok" | "Asia/Yakutsk" | "Asia/Yangon" | "Asia/Yekaterinburg" | "Asia/Yerevan" | "Atlantic/Azores" | "Atlantic/Bermuda" | "Atlantic/Canary" | "Atlantic/Cape_Verde" | "Atlantic/Faeroe" | "Atlantic/Faroe" | "Atlantic/Jan_Mayen" | "Atlantic/Madeira" | "Atlantic/Reykjavik" | "Atlantic/South_Georgia" | "Atlantic/St_Helena" | "Atlantic/Stanley" | "Australia/ACT" | "Australia/Adelaide" | "Australia/Brisbane" | "Australia/Broken_Hill" | "Australia/Canberra" | "Australia/Currie" | "Australia/Darwin" | "Australia/Eucla" | "Australia/Hobart" | "Australia/LHI" | "Australia/Lindeman" | "Australia/Lord_Howe" | "Australia/Melbourne" | "Australia/NSW" | "Australia/North" | "Australia/Perth" | "Australia/Queensland" | "Australia/South" | "Australia/Sydney" | "Australia/Tasmania" | "Australia/Victoria" | "Australia/West" | "Australia/Yancowinna" | "Brazil/Acre" | "Brazil/DeNoronha" | "Brazil/East" | "Brazil/West" | "CET" | "CST6CDT" | "Canada/Atlantic" | "Canada/Central" | "Canada/Eastern" | "Canada/Mountain" | "Canada/Newfoundland" | "Canada/Pacific" | "Canada/Saskatchewan" | "Canada/Yukon" | "Chile/Continental" | "Chile/EasterIsland" | "Cuba" | "EET" | "EST" | "EST5EDT" | "Egypt" | "Eire" | "Etc/GMT" | "Etc/GMT+0" | "Etc/GMT+1" | "Etc/GMT+10" | "Etc/GMT+11" | "Etc/GMT+12" | "Etc/GMT+2" | "Etc/GMT+3" | "Etc/GMT+4" | "Etc/GMT+5" | "Etc/GMT+6" | "Etc/GMT+7" | "Etc/GMT+8" | "Etc/GMT+9" | "Etc/GMT-0" | "Etc/GMT-1" | "Etc/GMT-10" | "Etc/GMT-11" | "Etc/GMT-12" | "Etc/GMT-13" | "Etc/GMT-14" | "Etc/GMT-2" | "Etc/GMT-3" | "Etc/GMT-4" | "Etc/GMT-5" | "Etc/GMT-6" | "Etc/GMT-7" | "Etc/GMT-8" | "Etc/GMT-9" | "Etc/GMT0" | "Etc/Greenwich" | "Etc/UCT" | "Etc/UTC" | "Etc/Universal" | "Etc/Zulu" | "Europe/Amsterdam" | "Europe/Andorra" | "Europe/Astrakhan" | "Europe/Athens" | "Europe/Belfast" | "Europe/Belgrade" | "Europe/Berlin" | "Europe/Bratislava" | "Europe/Brussels" | "Europe/Bucharest" | "Europe/Budapest" | "Europe/Busingen" | "Europe/Chisinau" | "Europe/Copenhagen" | "Europe/Dublin" | "Europe/Gibraltar" | "Europe/Guernsey" | "Europe/Helsinki" | "Europe/Isle_of_Man" | "Europe/Istanbul" | "Europe/Jersey" | "Europe/Kaliningrad" | "Europe/Kiev" | "Europe/Kirov" | "Europe/Kyiv" | "Europe/Lisbon" | "Europe/Ljubljana" | "Europe/London" | "Europe/Luxembourg" | "Europe/Madrid" | "Europe/Malta" | "Europe/Mariehamn" | "Europe/Minsk" | "Europe/Monaco" | "Europe/Moscow" | "Europe/Nicosia" | "Europe/Oslo" | "Europe/Paris" | "Europe/Podgorica" | "Europe/Prague" | "Europe/Riga" | "Europe/Rome" | "Europe/Samara" | "Europe/San_Marino" | "Europe/Sarajevo" | "Europe/Saratov" | "Europe/Simferopol" | "Europe/Skopje" | "Europe/Sofia" | "Europe/Stockholm" | "Europe/Tallinn" | "Europe/Tirane" | "Europe/Tiraspol" | "Europe/Ulyanovsk" | "Europe/Uzhgorod" | "Europe/Vaduz" | "Europe/Vatican" | "Europe/Vienna" | "Europe/Vilnius" | "Europe/Volgograd" | "Europe/Warsaw" | "Europe/Zagreb" | "Europe/Zaporozhye" | "Europe/Zurich" | "Factory" | "GB" | "GB-Eire" | "GMT" | "GMT+0" | "GMT-0" | "GMT0" | "Greenwich" | "HST" | "Hongkong" | "Iceland" | "Indian/Antananarivo" | "Indian/Chagos" | "Indian/Christmas" | "Indian/Cocos" | "Indian/Comoro" | "Indian/Kerguelen" | "Indian/Mahe" | "Indian/Maldives" | "Indian/Mauritius" | "Indian/Mayotte" | "Indian/Reunion" | "Iran" | "Israel" | "Jamaica" | "Japan" | "Kwajalein" | "Libya" | "MET" | "MST" | "MST7MDT" | "Mexico/BajaNorte" | "Mexico/BajaSur" | "Mexico/General" | "NZ" | "NZ-CHAT" | "Navajo" | "PRC" | "PST8PDT" | "Pacific/Apia" | "Pacific/Auckland" | "Pacific/Bougainville" | "Pacific/Chatham" | "Pacific/Chuuk" | "Pacific/Easter" | "Pacific/Efate" | "Pacific/Enderbury" | "Pacific/Fakaofo" | "Pacific/Fiji" | "Pacific/Funafuti" | "Pacific/Galapagos" | "Pacific/Gambier" | "Pacific/Guadalcanal" | "Pacific/Guam" | "Pacific/Honolulu" | "Pacific/Johnston" | "Pacific/Kanton" | "Pacific/Kiritimati" | "Pacific/Kosrae" | "Pacific/Kwajalein" | "Pacific/Majuro" | "Pacific/Marquesas" | "Pacific/Midway" | "Pacific/Nauru" | "Pacific/Niue" | "Pacific/Norfolk" | "Pacific/Noumea" | "Pacific/Pago_Pago" | "Pacific/Palau" | "Pacific/Pitcairn" | "Pacific/Pohnpei" | "Pacific/Ponape" | "Pacific/Port_Moresby" | "Pacific/Rarotonga" | "Pacific/Saipan" | "Pacific/Samoa" | "Pacific/Tahiti" | "Pacific/Tarawa" | "Pacific/Tongatapu" | "Pacific/Truk" | "Pacific/Wake" | "Pacific/Wallis" | "Pacific/Yap" | "Poland" | "Portugal" | "ROC" | "ROK" | "Singapore" | "Turkey" | "UCT" | "US/Alaska" | "US/Aleutian" | "US/Arizona" | "US/Central" | "US/East-Indiana" | "US/Eastern" | "US/Hawaii" | "US/Indiana-Starke" | "US/Michigan" | "US/Mountain" | "US/Pacific" | "US/Samoa" | "UTC" | "Universal" | "W-SU" | "WET" | "Zulu";
|
|
2198
2638
|
};
|
|
2199
2639
|
alias?: string | undefined;
|
|
2200
2640
|
} | {
|
|
@@ -2660,8 +3100,28 @@ export declare const APIValidators: {
|
|
|
2660
3100
|
identifier: string;
|
|
2661
3101
|
id?: number | undefined;
|
|
2662
3102
|
} | undefined;
|
|
2663
|
-
} | import("../db/consts").DbFilterGeneric<
|
|
2664
|
-
|
|
3103
|
+
} | import("../db/consts").DbFilterGeneric<{
|
|
3104
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
3105
|
+
status?: "open" | "closed" | undefined;
|
|
3106
|
+
identifier?: string | undefined;
|
|
3107
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
3108
|
+
id?: number | undefined;
|
|
3109
|
+
created_at?: string | undefined;
|
|
3110
|
+
updated_at?: string | undefined;
|
|
3111
|
+
transfer_group_id?: number | undefined;
|
|
3112
|
+
reverses_id?: number | undefined;
|
|
3113
|
+
status_finalized_at?: string | null | undefined;
|
|
3114
|
+
transfer_status_finalized_at?: string | null | undefined;
|
|
3115
|
+
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3116
|
+
reverses?: {
|
|
3117
|
+
id: number;
|
|
3118
|
+
identifier?: string | undefined;
|
|
3119
|
+
} | {
|
|
3120
|
+
identifier: string;
|
|
3121
|
+
id?: number | undefined;
|
|
3122
|
+
} | undefined;
|
|
3123
|
+
}, import("zod").ZodObject<{
|
|
3124
|
+
identifier: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
2665
3125
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["open", "closed"]>>;
|
|
2666
3126
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["regular", "exchange", "distribution"]>>;
|
|
2667
3127
|
transfer_status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
@@ -2701,7 +3161,7 @@ export declare const APIValidators: {
|
|
|
2701
3161
|
}, {
|
|
2702
3162
|
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
2703
3163
|
status?: "open" | "closed" | undefined;
|
|
2704
|
-
identifier?: string | undefined;
|
|
3164
|
+
identifier?: string | number | undefined;
|
|
2705
3165
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2706
3166
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
2707
3167
|
reverses?: {
|
|
@@ -2734,6 +3194,7 @@ export declare const APIValidators: {
|
|
|
2734
3194
|
}>;
|
|
2735
3195
|
reverseTransferMany: (input: unknown, options?: unknown, log?: import("../lib/validation").Logger) => import("../lib/validation").WithRequiredOptions<{
|
|
2736
3196
|
transfer: {
|
|
3197
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
2737
3198
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
2738
3199
|
identifier?: string | undefined;
|
|
2739
3200
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
@@ -2745,6 +3206,7 @@ export declare const APIValidators: {
|
|
|
2745
3206
|
foreign: string;
|
|
2746
3207
|
id?: number | undefined;
|
|
2747
3208
|
} | undefined;
|
|
3209
|
+
amount?: number | undefined;
|
|
2748
3210
|
wallet?: {
|
|
2749
3211
|
id: number;
|
|
2750
3212
|
foreign?: string | undefined;
|
|
@@ -2773,9 +3235,73 @@ export declare const APIValidators: {
|
|
|
2773
3235
|
foreign: string;
|
|
2774
3236
|
id?: number | undefined;
|
|
2775
3237
|
} | undefined;
|
|
2776
|
-
|
|
2777
|
-
|
|
2778
|
-
|
|
3238
|
+
reverses?: {
|
|
3239
|
+
id: number;
|
|
3240
|
+
identifier?: string | undefined;
|
|
3241
|
+
} | {
|
|
3242
|
+
identifier: string;
|
|
3243
|
+
id?: number | undefined;
|
|
3244
|
+
} | undefined;
|
|
3245
|
+
} | import("../db/consts").DbFilterGeneric<{
|
|
3246
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
3247
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3248
|
+
identifier?: string | undefined;
|
|
3249
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
3250
|
+
id?: number | undefined;
|
|
3251
|
+
token?: {
|
|
3252
|
+
id: number;
|
|
3253
|
+
foreign?: string | undefined;
|
|
3254
|
+
} | {
|
|
3255
|
+
foreign: string;
|
|
3256
|
+
id?: number | undefined;
|
|
3257
|
+
} | undefined;
|
|
3258
|
+
created_at?: string | undefined;
|
|
3259
|
+
updated_at?: string | undefined;
|
|
3260
|
+
from_wallet_id?: number | undefined;
|
|
3261
|
+
to_wallet_id?: number | undefined;
|
|
3262
|
+
token_id?: number | undefined;
|
|
3263
|
+
amount?: number | undefined;
|
|
3264
|
+
transfer_group_id?: number | undefined;
|
|
3265
|
+
reverses_id?: number | undefined;
|
|
3266
|
+
status_finalized_at?: string | null | undefined;
|
|
3267
|
+
wallet?: {
|
|
3268
|
+
id: number;
|
|
3269
|
+
foreign?: string | undefined;
|
|
3270
|
+
} | {
|
|
3271
|
+
foreign: string;
|
|
3272
|
+
id?: number | undefined;
|
|
3273
|
+
} | undefined;
|
|
3274
|
+
transfer_group?: {
|
|
3275
|
+
id: number;
|
|
3276
|
+
identifier?: string | undefined;
|
|
3277
|
+
} | {
|
|
3278
|
+
identifier: string;
|
|
3279
|
+
id?: number | undefined;
|
|
3280
|
+
} | undefined;
|
|
3281
|
+
from_wallet?: {
|
|
3282
|
+
id: number;
|
|
3283
|
+
foreign?: string | undefined;
|
|
3284
|
+
} | {
|
|
3285
|
+
foreign: string;
|
|
3286
|
+
id?: number | undefined;
|
|
3287
|
+
} | undefined;
|
|
3288
|
+
to_wallet?: {
|
|
3289
|
+
id: number;
|
|
3290
|
+
foreign?: string | undefined;
|
|
3291
|
+
} | {
|
|
3292
|
+
foreign: string;
|
|
3293
|
+
id?: number | undefined;
|
|
3294
|
+
} | undefined;
|
|
3295
|
+
reverses?: {
|
|
3296
|
+
id: number;
|
|
3297
|
+
identifier?: string | undefined;
|
|
3298
|
+
} | {
|
|
3299
|
+
identifier: string;
|
|
3300
|
+
id?: number | undefined;
|
|
3301
|
+
} | undefined;
|
|
3302
|
+
}, import("zod").ZodObject<{
|
|
3303
|
+
id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
3304
|
+
identifier: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
2779
3305
|
from_wallet: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
2780
3306
|
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2781
3307
|
id: import("zod").ZodNumber;
|
|
@@ -2852,6 +3378,7 @@ export declare const APIValidators: {
|
|
|
2852
3378
|
foreign: string;
|
|
2853
3379
|
id?: number | undefined;
|
|
2854
3380
|
}>]>>;
|
|
3381
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<["transfer", "deposit", "withdrawal"]>>;
|
|
2855
3382
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
2856
3383
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
2857
3384
|
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -2872,8 +3399,29 @@ export declare const APIValidators: {
|
|
|
2872
3399
|
identifier: string;
|
|
2873
3400
|
id?: number | undefined;
|
|
2874
3401
|
}>]>>;
|
|
3402
|
+
reverses: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
3403
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3404
|
+
id: import("zod").ZodNumber;
|
|
3405
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
3406
|
+
id: number;
|
|
3407
|
+
identifier?: string | undefined;
|
|
3408
|
+
}, {
|
|
3409
|
+
id: number;
|
|
3410
|
+
identifier?: string | undefined;
|
|
3411
|
+
}>, import("zod").ZodObject<{
|
|
3412
|
+
identifier: import("zod").ZodString;
|
|
3413
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3414
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
3415
|
+
identifier: string;
|
|
3416
|
+
id?: number | undefined;
|
|
3417
|
+
}, {
|
|
3418
|
+
identifier: string;
|
|
3419
|
+
id?: number | undefined;
|
|
3420
|
+
}>]>>;
|
|
2875
3421
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
3422
|
+
amount: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
2876
3423
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3424
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
2877
3425
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
2878
3426
|
identifier?: string | undefined;
|
|
2879
3427
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
@@ -2885,6 +3433,7 @@ export declare const APIValidators: {
|
|
|
2885
3433
|
foreign: string;
|
|
2886
3434
|
id?: number | undefined;
|
|
2887
3435
|
} | undefined;
|
|
3436
|
+
amount?: number | undefined;
|
|
2888
3437
|
wallet?: {
|
|
2889
3438
|
id: number;
|
|
2890
3439
|
foreign?: string | undefined;
|
|
@@ -2913,11 +3462,19 @@ export declare const APIValidators: {
|
|
|
2913
3462
|
foreign: string;
|
|
2914
3463
|
id?: number | undefined;
|
|
2915
3464
|
} | undefined;
|
|
3465
|
+
reverses?: {
|
|
3466
|
+
id: number;
|
|
3467
|
+
identifier?: string | undefined;
|
|
3468
|
+
} | {
|
|
3469
|
+
identifier: string;
|
|
3470
|
+
id?: number | undefined;
|
|
3471
|
+
} | undefined;
|
|
2916
3472
|
}, {
|
|
3473
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
2917
3474
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
2918
|
-
identifier?: string | undefined;
|
|
3475
|
+
identifier?: string | number | undefined;
|
|
2919
3476
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2920
|
-
id?: number | undefined;
|
|
3477
|
+
id?: string | number | undefined;
|
|
2921
3478
|
token?: {
|
|
2922
3479
|
id: number;
|
|
2923
3480
|
foreign?: string | undefined;
|
|
@@ -2925,6 +3482,7 @@ export declare const APIValidators: {
|
|
|
2925
3482
|
foreign: string;
|
|
2926
3483
|
id?: number | undefined;
|
|
2927
3484
|
} | undefined;
|
|
3485
|
+
amount?: string | number | undefined;
|
|
2928
3486
|
wallet?: {
|
|
2929
3487
|
id: number;
|
|
2930
3488
|
foreign?: string | undefined;
|
|
@@ -2953,6 +3511,13 @@ export declare const APIValidators: {
|
|
|
2953
3511
|
foreign: string;
|
|
2954
3512
|
id?: number | undefined;
|
|
2955
3513
|
} | undefined;
|
|
3514
|
+
reverses?: {
|
|
3515
|
+
id: number;
|
|
3516
|
+
identifier?: string | undefined;
|
|
3517
|
+
} | {
|
|
3518
|
+
identifier: string;
|
|
3519
|
+
id?: number | undefined;
|
|
3520
|
+
} | undefined;
|
|
2956
3521
|
}>>[];
|
|
2957
3522
|
options?: {
|
|
2958
3523
|
tracking_id?: string | undefined;
|
|
@@ -3062,8 +3627,28 @@ export declare const APIValidators: {
|
|
|
3062
3627
|
identifier: string;
|
|
3063
3628
|
id?: number | undefined;
|
|
3064
3629
|
} | undefined;
|
|
3065
|
-
} | import("../db/consts").DbFilterGeneric<
|
|
3066
|
-
|
|
3630
|
+
} | import("../db/consts").DbFilterGeneric<{
|
|
3631
|
+
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
3632
|
+
status?: "open" | "closed" | undefined;
|
|
3633
|
+
identifier?: string | undefined;
|
|
3634
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
3635
|
+
id?: number | undefined;
|
|
3636
|
+
created_at?: string | undefined;
|
|
3637
|
+
updated_at?: string | undefined;
|
|
3638
|
+
transfer_group_id?: number | undefined;
|
|
3639
|
+
reverses_id?: number | undefined;
|
|
3640
|
+
status_finalized_at?: string | null | undefined;
|
|
3641
|
+
transfer_status_finalized_at?: string | null | undefined;
|
|
3642
|
+
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3643
|
+
reverses?: {
|
|
3644
|
+
id: number;
|
|
3645
|
+
identifier?: string | undefined;
|
|
3646
|
+
} | {
|
|
3647
|
+
identifier: string;
|
|
3648
|
+
id?: number | undefined;
|
|
3649
|
+
} | undefined;
|
|
3650
|
+
}, import("zod").ZodObject<{
|
|
3651
|
+
identifier: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
3067
3652
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["open", "closed"]>>;
|
|
3068
3653
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["regular", "exchange", "distribution"]>>;
|
|
3069
3654
|
transfer_status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
@@ -3103,7 +3688,7 @@ export declare const APIValidators: {
|
|
|
3103
3688
|
}, {
|
|
3104
3689
|
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
3105
3690
|
status?: "open" | "closed" | undefined;
|
|
3106
|
-
identifier?: string | undefined;
|
|
3691
|
+
identifier?: string | number | undefined;
|
|
3107
3692
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
3108
3693
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3109
3694
|
reverses?: {
|
|
@@ -3131,6 +3716,7 @@ export declare const APIValidators: {
|
|
|
3131
3716
|
}>;
|
|
3132
3717
|
updateTransferMany: (input: unknown, options?: unknown, log?: import("../lib/validation").Logger) => import("../lib/validation").WithRequiredOptions<{
|
|
3133
3718
|
transfer: {
|
|
3719
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
3134
3720
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3135
3721
|
identifier?: string | undefined;
|
|
3136
3722
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
@@ -3142,6 +3728,7 @@ export declare const APIValidators: {
|
|
|
3142
3728
|
foreign: string;
|
|
3143
3729
|
id?: number | undefined;
|
|
3144
3730
|
} | undefined;
|
|
3731
|
+
amount?: number | undefined;
|
|
3145
3732
|
wallet?: {
|
|
3146
3733
|
id: number;
|
|
3147
3734
|
foreign?: string | undefined;
|
|
@@ -3170,9 +3757,73 @@ export declare const APIValidators: {
|
|
|
3170
3757
|
foreign: string;
|
|
3171
3758
|
id?: number | undefined;
|
|
3172
3759
|
} | undefined;
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3760
|
+
reverses?: {
|
|
3761
|
+
id: number;
|
|
3762
|
+
identifier?: string | undefined;
|
|
3763
|
+
} | {
|
|
3764
|
+
identifier: string;
|
|
3765
|
+
id?: number | undefined;
|
|
3766
|
+
} | undefined;
|
|
3767
|
+
} | import("../db/consts").DbFilterGeneric<{
|
|
3768
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
3769
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3770
|
+
identifier?: string | undefined;
|
|
3771
|
+
metadata?: Record<string, string | number | boolean> | undefined;
|
|
3772
|
+
id?: number | undefined;
|
|
3773
|
+
token?: {
|
|
3774
|
+
id: number;
|
|
3775
|
+
foreign?: string | undefined;
|
|
3776
|
+
} | {
|
|
3777
|
+
foreign: string;
|
|
3778
|
+
id?: number | undefined;
|
|
3779
|
+
} | undefined;
|
|
3780
|
+
created_at?: string | undefined;
|
|
3781
|
+
updated_at?: string | undefined;
|
|
3782
|
+
from_wallet_id?: number | undefined;
|
|
3783
|
+
to_wallet_id?: number | undefined;
|
|
3784
|
+
token_id?: number | undefined;
|
|
3785
|
+
amount?: number | undefined;
|
|
3786
|
+
transfer_group_id?: number | undefined;
|
|
3787
|
+
reverses_id?: number | undefined;
|
|
3788
|
+
status_finalized_at?: string | null | undefined;
|
|
3789
|
+
wallet?: {
|
|
3790
|
+
id: number;
|
|
3791
|
+
foreign?: string | undefined;
|
|
3792
|
+
} | {
|
|
3793
|
+
foreign: string;
|
|
3794
|
+
id?: number | undefined;
|
|
3795
|
+
} | undefined;
|
|
3796
|
+
transfer_group?: {
|
|
3797
|
+
id: number;
|
|
3798
|
+
identifier?: string | undefined;
|
|
3799
|
+
} | {
|
|
3800
|
+
identifier: string;
|
|
3801
|
+
id?: number | undefined;
|
|
3802
|
+
} | undefined;
|
|
3803
|
+
from_wallet?: {
|
|
3804
|
+
id: number;
|
|
3805
|
+
foreign?: string | undefined;
|
|
3806
|
+
} | {
|
|
3807
|
+
foreign: string;
|
|
3808
|
+
id?: number | undefined;
|
|
3809
|
+
} | undefined;
|
|
3810
|
+
to_wallet?: {
|
|
3811
|
+
id: number;
|
|
3812
|
+
foreign?: string | undefined;
|
|
3813
|
+
} | {
|
|
3814
|
+
foreign: string;
|
|
3815
|
+
id?: number | undefined;
|
|
3816
|
+
} | undefined;
|
|
3817
|
+
reverses?: {
|
|
3818
|
+
id: number;
|
|
3819
|
+
identifier?: string | undefined;
|
|
3820
|
+
} | {
|
|
3821
|
+
identifier: string;
|
|
3822
|
+
id?: number | undefined;
|
|
3823
|
+
} | undefined;
|
|
3824
|
+
}, import("zod").ZodObject<{
|
|
3825
|
+
id: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
3826
|
+
identifier: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
3176
3827
|
from_wallet: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
3177
3828
|
foreign: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3178
3829
|
id: import("zod").ZodNumber;
|
|
@@ -3249,6 +3900,7 @@ export declare const APIValidators: {
|
|
|
3249
3900
|
foreign: string;
|
|
3250
3901
|
id?: number | undefined;
|
|
3251
3902
|
}>]>>;
|
|
3903
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<["transfer", "deposit", "withdrawal"]>>;
|
|
3252
3904
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
3253
3905
|
transfer_group: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
3254
3906
|
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -3269,8 +3921,29 @@ export declare const APIValidators: {
|
|
|
3269
3921
|
identifier: string;
|
|
3270
3922
|
id?: number | undefined;
|
|
3271
3923
|
}>]>>;
|
|
3924
|
+
reverses: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
3925
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
3926
|
+
id: import("zod").ZodNumber;
|
|
3927
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
3928
|
+
id: number;
|
|
3929
|
+
identifier?: string | undefined;
|
|
3930
|
+
}, {
|
|
3931
|
+
id: number;
|
|
3932
|
+
identifier?: string | undefined;
|
|
3933
|
+
}>, import("zod").ZodObject<{
|
|
3934
|
+
identifier: import("zod").ZodString;
|
|
3935
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
3936
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
3937
|
+
identifier: string;
|
|
3938
|
+
id?: number | undefined;
|
|
3939
|
+
}, {
|
|
3940
|
+
identifier: string;
|
|
3941
|
+
id?: number | undefined;
|
|
3942
|
+
}>]>>;
|
|
3272
3943
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
3944
|
+
amount: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>;
|
|
3273
3945
|
}, "strip", import("zod").ZodTypeAny, {
|
|
3946
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
3274
3947
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3275
3948
|
identifier?: string | undefined;
|
|
3276
3949
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
@@ -3282,6 +3955,7 @@ export declare const APIValidators: {
|
|
|
3282
3955
|
foreign: string;
|
|
3283
3956
|
id?: number | undefined;
|
|
3284
3957
|
} | undefined;
|
|
3958
|
+
amount?: number | undefined;
|
|
3285
3959
|
wallet?: {
|
|
3286
3960
|
id: number;
|
|
3287
3961
|
foreign?: string | undefined;
|
|
@@ -3310,11 +3984,19 @@ export declare const APIValidators: {
|
|
|
3310
3984
|
foreign: string;
|
|
3311
3985
|
id?: number | undefined;
|
|
3312
3986
|
} | undefined;
|
|
3987
|
+
reverses?: {
|
|
3988
|
+
id: number;
|
|
3989
|
+
identifier?: string | undefined;
|
|
3990
|
+
} | {
|
|
3991
|
+
identifier: string;
|
|
3992
|
+
id?: number | undefined;
|
|
3993
|
+
} | undefined;
|
|
3313
3994
|
}, {
|
|
3995
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
3314
3996
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
3315
|
-
identifier?: string | undefined;
|
|
3997
|
+
identifier?: string | number | undefined;
|
|
3316
3998
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
3317
|
-
id?: number | undefined;
|
|
3999
|
+
id?: string | number | undefined;
|
|
3318
4000
|
token?: {
|
|
3319
4001
|
id: number;
|
|
3320
4002
|
foreign?: string | undefined;
|
|
@@ -3322,6 +4004,7 @@ export declare const APIValidators: {
|
|
|
3322
4004
|
foreign: string;
|
|
3323
4005
|
id?: number | undefined;
|
|
3324
4006
|
} | undefined;
|
|
4007
|
+
amount?: string | number | undefined;
|
|
3325
4008
|
wallet?: {
|
|
3326
4009
|
id: number;
|
|
3327
4010
|
foreign?: string | undefined;
|
|
@@ -3350,6 +4033,13 @@ export declare const APIValidators: {
|
|
|
3350
4033
|
foreign: string;
|
|
3351
4034
|
id?: number | undefined;
|
|
3352
4035
|
} | undefined;
|
|
4036
|
+
reverses?: {
|
|
4037
|
+
id: number;
|
|
4038
|
+
identifier?: string | undefined;
|
|
4039
|
+
} | {
|
|
4040
|
+
identifier: string;
|
|
4041
|
+
id?: number | undefined;
|
|
4042
|
+
} | undefined;
|
|
3353
4043
|
}>>[];
|
|
3354
4044
|
update: {
|
|
3355
4045
|
status?: "pending" | "finished" | "cancelled" | undefined;
|