wapi-client 0.12.0-beta.3 → 0.12.5-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/ws-client.cjs +1 -1
- package/dist/api/ws-client.js +1 -1
- package/dist/client.browser.cjs +515 -166
- package/dist/client.browser.js +515 -166
- package/dist/client.cjs +516 -167
- package/dist/client.d.ts +3497 -221
- package/dist/client.js +516 -167
- package/dist/db/consts.browser.cjs +32 -27
- package/dist/db/consts.browser.js +32 -27
- package/dist/db/consts.cjs +35 -29
- package/dist/db/consts.d.ts +76 -53
- package/dist/db/consts.enums.d.ts +1 -3
- package/dist/db/consts.js +35 -27
- package/dist/db/token/token.enums.d.ts +1 -6
- package/dist/db/token/token.schema.zod.browser.cjs +0 -11
- package/dist/db/token/token.schema.zod.browser.js +0 -11
- package/dist/db/token/token.schema.zod.cjs +0 -12
- package/dist/db/token/token.schema.zod.d.ts +2 -12
- package/dist/db/token/token.schema.zod.js +0 -11
- package/dist/db/transfer/transfer.enums.d.ts +1 -6
- package/dist/db/transfer/transfer.schema.zod.browser.cjs +0 -19
- package/dist/db/transfer/transfer.schema.zod.browser.js +0 -19
- package/dist/db/transfer/transfer.schema.zod.cjs +0 -20
- package/dist/db/transfer/transfer.schema.zod.d.ts +0 -10
- package/dist/db/transfer/transfer.schema.zod.js +0 -19
- package/dist/db/transfer-group/transfer-group.enums.d.ts +1 -6
- package/dist/db/transfer-group/transfer-group.schema.zod.browser.cjs +0 -22
- package/dist/db/transfer-group/transfer-group.schema.zod.browser.js +0 -22
- package/dist/db/transfer-group/transfer-group.schema.zod.cjs +0 -23
- package/dist/db/transfer-group/transfer-group.schema.zod.d.ts +0 -10
- package/dist/db/transfer-group/transfer-group.schema.zod.js +0 -22
- package/dist/db/transfer-log/transfer-log.enums.d.ts +1 -6
- package/dist/db/transfer-log/transfer-log.schema.zod.browser.cjs +0 -30
- package/dist/db/transfer-log/transfer-log.schema.zod.browser.js +0 -30
- package/dist/db/transfer-log/transfer-log.schema.zod.cjs +0 -31
- package/dist/db/transfer-log/transfer-log.schema.zod.d.ts +0 -10
- package/dist/db/transfer-log/transfer-log.schema.zod.js +0 -30
- package/dist/db/wallet/wallet.enums.d.ts +1 -6
- package/dist/db/wallet/wallet.schema.zod.browser.cjs +0 -18
- package/dist/db/wallet/wallet.schema.zod.browser.js +0 -18
- package/dist/db/wallet/wallet.schema.zod.cjs +0 -19
- package/dist/db/wallet/wallet.schema.zod.d.ts +0 -10
- package/dist/db/wallet/wallet.schema.zod.js +0 -18
- package/dist/db/wallet-token-setting/wallet-token-setting.enums.d.ts +1 -6
- package/dist/db/wallet-token-setting/wallet-token-setting.schema.zod.browser.cjs +0 -11
- package/dist/db/wallet-token-setting/wallet-token-setting.schema.zod.browser.js +0 -11
- package/dist/db/wallet-token-setting/wallet-token-setting.schema.zod.cjs +0 -12
- package/dist/db/wallet-token-setting/wallet-token-setting.schema.zod.d.ts +0 -10
- package/dist/db/wallet-token-setting/wallet-token-setting.schema.zod.js +0 -11
- package/dist/db/wapi-setting/wapi-setting.enums.d.ts +1 -6
- package/dist/db/wapi-setting/wapi-setting.schema.zod.browser.cjs +0 -11
- package/dist/db/wapi-setting/wapi-setting.schema.zod.browser.js +0 -11
- package/dist/db/wapi-setting/wapi-setting.schema.zod.cjs +0 -12
- package/dist/db/wapi-setting/wapi-setting.schema.zod.d.ts +0 -10
- package/dist/db/wapi-setting/wapi-setting.schema.zod.js +0 -11
- package/dist/db/wapi-statistic/wapi-statistic.enums.d.ts +1 -6
- package/dist/db/wapi-statistic/wapi-statistic.schema.zod.browser.cjs +0 -11
- package/dist/db/wapi-statistic/wapi-statistic.schema.zod.browser.js +0 -11
- package/dist/db/wapi-statistic/wapi-statistic.schema.zod.cjs +0 -12
- package/dist/db/wapi-statistic/wapi-statistic.schema.zod.d.ts +0 -10
- package/dist/db/wapi-statistic/wapi-statistic.schema.zod.js +0 -11
- package/dist/fns/aggregate-transfers/aggregate-transfers.browser.cjs +40 -48
- package/dist/fns/aggregate-transfers/aggregate-transfers.browser.js +47 -50
- package/dist/fns/aggregate-transfers/aggregate-transfers.cjs +40 -48
- package/dist/fns/aggregate-transfers/aggregate-transfers.d.ts +461 -11
- package/dist/fns/aggregate-transfers/aggregate-transfers.enums.d.ts +2 -2
- package/dist/fns/aggregate-transfers/aggregate-transfers.js +47 -50
- package/dist/fns/aggregate-transfers/aggregate-transfers.schema.zod.browser.cjs +7 -7
- package/dist/fns/aggregate-transfers/aggregate-transfers.schema.zod.browser.js +8 -10
- package/dist/fns/aggregate-transfers/aggregate-transfers.schema.zod.cjs +7 -7
- package/dist/fns/aggregate-transfers/aggregate-transfers.schema.zod.d.ts +30 -119
- package/dist/fns/aggregate-transfers/aggregate-transfers.schema.zod.js +8 -10
- package/dist/fns/consts.browser.cjs +11 -0
- package/dist/fns/consts.browser.js +11 -0
- package/dist/fns/consts.cjs +12 -0
- package/dist/fns/consts.d.ts +3 -0
- package/dist/fns/consts.enums.d.ts +2 -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 -33
- package/dist/fns/export-tokens/export-tokens.browser.js +24 -34
- package/dist/fns/export-tokens/export-tokens.cjs +18 -33
- 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 -34
- 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 -36
- package/dist/fns/export-transfer-groups/export-transfer-groups.browser.js +24 -37
- package/dist/fns/export-transfer-groups/export-transfer-groups.cjs +18 -36
- 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 -37
- 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 -46
- package/dist/fns/export-transfers/export-transfers.browser.js +23 -50
- package/dist/fns/export-transfers/export-transfers.cjs +18 -46
- 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 -50
- package/dist/fns/export-transfers/export-transfers.schema.zod.d.ts +96 -30
- package/dist/fns/export-wallets/export-wallets.browser.cjs +19 -53
- package/dist/fns/export-wallets/export-wallets.browser.js +22 -57
- package/dist/fns/export-wallets/export-wallets.cjs +19 -53
- 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 -57
- 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 -31
- package/dist/fns/find-balances/find-balances.browser.js +24 -33
- package/dist/fns/find-balances/find-balances.cjs +17 -31
- 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 -33
- 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 -33
- package/dist/fns/find-tokens/find-tokens.browser.js +24 -34
- package/dist/fns/find-tokens/find-tokens.cjs +18 -33
- 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 -34
- 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 -35
- package/dist/fns/find-transfer-groups/find-transfer-groups.browser.js +24 -37
- package/dist/fns/find-transfer-groups/find-transfer-groups.cjs +17 -35
- 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 -37
- 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 -109
- package/dist/fns/find-transfers/find-transfers.browser.js +45 -116
- package/dist/fns/find-transfers/find-transfers.cjs +40 -109
- 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 -116
- 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 -53
- package/dist/fns/find-wallets/find-wallets.browser.js +24 -57
- package/dist/fns/find-wallets/find-wallets.cjs +18 -53
- 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 -57
- 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/fn-types.d.ts +43 -43
- package/dist/fns/get-balance/get-balance.enums.d.ts +3 -3
- package/dist/fns/get-balance-history/get-balance-history.enums.d.ts +3 -3
- package/dist/fns/get-export/get-export.enums.d.ts +3 -3
- package/dist/fns/get-flags/get-flags.enums.d.ts +2 -2
- package/dist/fns/get-statistics/get-statistics.enums.d.ts +2 -2
- package/dist/fns/get-token/get-token.enums.d.ts +3 -3
- package/dist/fns/get-token/get-token.schema.zod.d.ts +1 -1
- package/dist/fns/get-transfer/get-transfer.enums.d.ts +3 -3
- package/dist/fns/get-transfer-group/get-transfer-group.enums.d.ts +3 -3
- package/dist/fns/get-wallet/get-wallet.enums.d.ts +3 -3
- package/dist/fns/healthcheck/healthcheck.enums.d.ts +2 -2
- package/dist/fns/import-data/import-data.enums.d.ts +14 -14
- package/dist/fns/index.d.ts +426 -273
- package/dist/fns/list-exports/list-exports.enums.d.ts +3 -3
- 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 +3 -3
- package/dist/index.browser.js +3 -3
- package/dist/index.cjs +4 -5
- package/dist/index.d.ts +2 -3
- package/dist/index.js +3 -3
- package/dist/lib/polyfill.browser.cjs +43 -0
- package/dist/lib/polyfill.browser.js +23 -0
- package/dist/lib/polyfill.cjs +47 -0
- package/dist/lib/polyfill.d.ts +1 -0
- package/dist/lib/polyfill.js +23 -0
- 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/utils.browser.cjs +24 -3
- package/dist/lib/utils.browser.js +25 -3
- package/dist/lib/utils.cjs +69 -610
- package/dist/lib/utils.d.ts +8 -0
- package/dist/lib/utils.js +61 -619
- package/dist/lib/validation.browser.cjs +5 -1
- package/dist/lib/validation.browser.js +5 -1
- package/dist/lib/validation.cjs +10 -2
- package/dist/lib/validation.d.ts +4 -0
- package/dist/lib/validation.js +5 -1
- package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.schema.zod.browser.cjs +2 -2
- package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.schema.zod.browser.js +2 -2
- package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.schema.zod.cjs +2 -2
- package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.schema.zod.d.ts +461 -20
- package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.schema.zod.js +2 -2
- package/dist/txs/consts.browser.cjs +19 -3
- package/dist/txs/consts.browser.js +19 -3
- package/dist/txs/consts.cjs +25 -4
- package/dist/txs/consts.d.ts +5 -0
- package/dist/txs/consts.enums.d.ts +6 -1
- package/dist/txs/consts.js +19 -3
- package/dist/txs/export-token-many/export-token-many.schema.zod.d.ts +106 -42
- package/dist/txs/export-transfer-group-many/export-transfer-group-many.schema.zod.d.ts +92 -12
- package/dist/txs/export-transfer-many/export-transfer-many.schema.zod.d.ts +461 -20
- package/dist/txs/export-wallet-many/export-wallet-many.schema.zod.d.ts +60 -12
- package/dist/txs/find-balance-many/find-balance-many.enums.d.ts +3 -9
- package/dist/txs/find-balance-many/find-balance-many.schema.zod.browser.cjs +12 -19
- package/dist/txs/find-balance-many/find-balance-many.schema.zod.browser.js +15 -24
- package/dist/txs/find-balance-many/find-balance-many.schema.zod.cjs +14 -21
- package/dist/txs/find-balance-many/find-balance-many.schema.zod.d.ts +413 -68
- package/dist/txs/find-balance-many/find-balance-many.schema.zod.js +15 -24
- package/dist/txs/find-token-many/find-token-many.enums.d.ts +3 -9
- package/dist/txs/find-token-many/find-token-many.schema.zod.browser.cjs +17 -8
- package/dist/txs/find-token-many/find-token-many.schema.zod.browser.js +22 -14
- package/dist/txs/find-token-many/find-token-many.schema.zod.cjs +19 -10
- package/dist/txs/find-token-many/find-token-many.schema.zod.d.ts +240 -62
- package/dist/txs/find-token-many/find-token-many.schema.zod.js +22 -14
- package/dist/txs/find-transfer-group-many/find-transfer-group-many.enums.d.ts +3 -9
- package/dist/txs/find-transfer-group-many/find-transfer-group-many.schema.zod.browser.cjs +21 -14
- package/dist/txs/find-transfer-group-many/find-transfer-group-many.schema.zod.browser.js +25 -20
- package/dist/txs/find-transfer-group-many/find-transfer-group-many.schema.zod.cjs +23 -33
- package/dist/txs/find-transfer-group-many/find-transfer-group-many.schema.zod.d.ts +258 -36
- package/dist/txs/find-transfer-group-many/find-transfer-group-many.schema.zod.js +25 -40
- package/dist/txs/find-transfer-many/find-transfer-many.enums.d.ts +3 -9
- package/dist/txs/find-transfer-many/find-transfer-many.schema.zod.browser.cjs +27 -13
- package/dist/txs/find-transfer-many/find-transfer-many.schema.zod.browser.js +36 -21
- package/dist/txs/find-transfer-many/find-transfer-many.schema.zod.cjs +29 -32
- package/dist/txs/find-transfer-many/find-transfer-many.schema.zod.d.ts +1210 -74
- package/dist/txs/find-transfer-many/find-transfer-many.schema.zod.js +36 -41
- package/dist/txs/find-wallet-many/find-wallet-many.enums.d.ts +3 -9
- package/dist/txs/find-wallet-many/find-wallet-many.schema.zod.browser.cjs +18 -22
- package/dist/txs/find-wallet-many/find-wallet-many.schema.zod.browser.js +23 -27
- package/dist/txs/find-wallet-many/find-wallet-many.schema.zod.cjs +20 -24
- package/dist/txs/find-wallet-many/find-wallet-many.schema.zod.d.ts +158 -36
- package/dist/txs/find-wallet-many/find-wallet-many.schema.zod.js +23 -27
- package/dist/txs/get-token/get-token.schema.zod.d.ts +3 -3
- package/dist/txs/get-token-many/get-token-many.schema.zod.d.ts +1 -1
- package/dist/txs/index.d.ts +766 -76
- package/dist/txs/reverse-transfer-group-many/reverse-transfer-group-many.schema.zod.d.ts +92 -12
- package/dist/txs/reverse-transfer-many/reverse-transfer-many.schema.zod.d.ts +461 -20
- package/dist/txs/tx-types.d.ts +51 -51
- 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 +17585 -5230
- 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/fns/index.d.ts
CHANGED
|
@@ -142,80 +142,23 @@ export declare const ClientFunctions: {
|
|
|
142
142
|
*/
|
|
143
143
|
export declare const ClientValidators: {
|
|
144
144
|
aggregateTransfers: import("../lib/validation").ZodValidator<import("zod").ZodObject<{
|
|
145
|
-
wallet: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
145
|
+
wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
146
|
+
foreign: string;
|
|
147
|
+
}, string | number>>;
|
|
148
|
+
token: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
149
|
+
foreign: string;
|
|
150
|
+
}, string | number>>;
|
|
151
|
+
from_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
152
|
+
foreign: string;
|
|
153
|
+
}, string | number>>;
|
|
154
|
+
to_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
155
|
+
foreign: string;
|
|
156
|
+
}, string | number>>;
|
|
157
|
+
transfer_group: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
158
|
+
foreign: string;
|
|
159
|
+
}, string | number>>;
|
|
150
160
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
151
161
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
152
|
-
aggregators: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
153
|
-
function: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["count", "countDistinct", "sum", "average", "min", "max"]>>>>;
|
|
154
|
-
alias: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
155
|
-
field: import("zod").ZodOptional<import("zod").ZodEnum<["from.amount", "to.amount", "amount", "abs.amount", "transfer_group", "from_wallet", "to_wallet", "wallet", "token", "id"]>>;
|
|
156
|
-
}, "strip", import("zod").ZodTypeAny, {
|
|
157
|
-
function?: "count" | "countDistinct" | "sum" | "average" | "min" | "max" | undefined;
|
|
158
|
-
field?: "id" | "token" | "amount" | "wallet" | "transfer_group" | "from_wallet" | "to_wallet" | "from.amount" | "to.amount" | "abs.amount" | undefined;
|
|
159
|
-
alias?: string | undefined;
|
|
160
|
-
}, {
|
|
161
|
-
function?: "count" | "countDistinct" | "sum" | "average" | "min" | "max" | undefined;
|
|
162
|
-
field?: "id" | "token" | "amount" | "wallet" | "transfer_group" | "from_wallet" | "to_wallet" | "from.amount" | "to.amount" | "abs.amount" | undefined;
|
|
163
|
-
alias?: string | undefined;
|
|
164
|
-
}>, import("zod").ZodDefault<import("zod").ZodEnum<["count", "countDistinct", "sum", "average", "min", "max"]>>]>, "many">>;
|
|
165
|
-
groups: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
166
|
-
type: import("zod").ZodLiteral<"period">;
|
|
167
|
-
field: import("zod").ZodUnion<[import("zod").ZodEnum<["year", "month", "week", "day", "hour", "minute"]>, import("zod").ZodObject<{
|
|
168
|
-
period: import("zod").ZodDefault<import("zod").ZodEnum<["year", "month", "week", "day", "hour", "minute"]>>;
|
|
169
|
-
timezone: import("zod").ZodString;
|
|
170
|
-
}, "strict", import("zod").ZodTypeAny, {
|
|
171
|
-
period: "year" | "month" | "week" | "day" | "hour" | "minute";
|
|
172
|
-
timezone: string;
|
|
173
|
-
}, {
|
|
174
|
-
timezone: string;
|
|
175
|
-
period?: "year" | "month" | "week" | "day" | "hour" | "minute" | undefined;
|
|
176
|
-
}>]>;
|
|
177
|
-
alias: import("zod").ZodOptional<import("zod").ZodString>;
|
|
178
|
-
}, "strict", import("zod").ZodTypeAny, {
|
|
179
|
-
type: "period";
|
|
180
|
-
field: "year" | "month" | "week" | "day" | "hour" | "minute" | {
|
|
181
|
-
period: "year" | "month" | "week" | "day" | "hour" | "minute";
|
|
182
|
-
timezone: string;
|
|
183
|
-
};
|
|
184
|
-
alias?: string | undefined;
|
|
185
|
-
}, {
|
|
186
|
-
type: "period";
|
|
187
|
-
field: "year" | "month" | "week" | "day" | "hour" | "minute" | {
|
|
188
|
-
timezone: string;
|
|
189
|
-
period?: "year" | "month" | "week" | "day" | "hour" | "minute" | undefined;
|
|
190
|
-
};
|
|
191
|
-
alias?: string | undefined;
|
|
192
|
-
}>, import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
193
|
-
type: import("zod").ZodLiteral<"field">;
|
|
194
|
-
field: import("zod").ZodString;
|
|
195
|
-
alias: import("zod").ZodOptional<import("zod").ZodString>;
|
|
196
|
-
}, {
|
|
197
|
-
field: import("zod").ZodEnum<["type", "status", "from_wallet", "to_wallet", "wallet", "token", "transfer_group"]>;
|
|
198
|
-
}>, "strict", import("zod").ZodTypeAny, {
|
|
199
|
-
type: "field";
|
|
200
|
-
field: "type" | "status" | "token" | "wallet" | "transfer_group" | "from_wallet" | "to_wallet";
|
|
201
|
-
alias?: string | undefined;
|
|
202
|
-
}, {
|
|
203
|
-
type: "field";
|
|
204
|
-
field: "type" | "status" | "token" | "wallet" | "transfer_group" | "from_wallet" | "to_wallet";
|
|
205
|
-
alias?: string | undefined;
|
|
206
|
-
}>, import("zod").ZodObject<{
|
|
207
|
-
type: import("zod").ZodLiteral<"metadata_field">;
|
|
208
|
-
field: import("zod").ZodString;
|
|
209
|
-
alias: import("zod").ZodOptional<import("zod").ZodString>;
|
|
210
|
-
}, "strict", import("zod").ZodTypeAny, {
|
|
211
|
-
type: "metadata_field";
|
|
212
|
-
field: string;
|
|
213
|
-
alias?: string | undefined;
|
|
214
|
-
}, {
|
|
215
|
-
type: "metadata_field";
|
|
216
|
-
field: string;
|
|
217
|
-
alias?: string | undefined;
|
|
218
|
-
}>]>, "many">>;
|
|
219
162
|
options: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodObject<{
|
|
220
163
|
tracking_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
221
164
|
transaction_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -255,32 +198,21 @@ export declare const ClientValidators: {
|
|
|
255
198
|
} | undefined;
|
|
256
199
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
257
200
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
alias?: string | undefined;
|
|
274
|
-
} | {
|
|
275
|
-
type: "field";
|
|
276
|
-
field: "type" | "status" | "token" | "wallet" | "transfer_group" | "from_wallet" | "to_wallet";
|
|
277
|
-
alias?: string | undefined;
|
|
278
|
-
})[] | undefined;
|
|
279
|
-
token?: string | number | undefined;
|
|
280
|
-
wallet?: string | number | undefined;
|
|
281
|
-
transfer_group?: string | number | undefined;
|
|
282
|
-
from_wallet?: string | number | undefined;
|
|
283
|
-
to_wallet?: string | number | undefined;
|
|
201
|
+
token?: {
|
|
202
|
+
foreign: string;
|
|
203
|
+
} | undefined;
|
|
204
|
+
wallet?: {
|
|
205
|
+
foreign: string;
|
|
206
|
+
} | undefined;
|
|
207
|
+
transfer_group?: {
|
|
208
|
+
foreign: string;
|
|
209
|
+
} | undefined;
|
|
210
|
+
from_wallet?: {
|
|
211
|
+
foreign: string;
|
|
212
|
+
} | undefined;
|
|
213
|
+
to_wallet?: {
|
|
214
|
+
foreign: string;
|
|
215
|
+
} | undefined;
|
|
284
216
|
}, {
|
|
285
217
|
options?: {
|
|
286
218
|
tracking_id?: string | undefined;
|
|
@@ -292,27 +224,6 @@ export declare const ClientValidators: {
|
|
|
292
224
|
} | undefined;
|
|
293
225
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
294
226
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
295
|
-
aggregators?: ("count" | "countDistinct" | "sum" | "average" | "min" | "max" | {
|
|
296
|
-
function?: "count" | "countDistinct" | "sum" | "average" | "min" | "max" | undefined;
|
|
297
|
-
field?: "id" | "token" | "amount" | "wallet" | "transfer_group" | "from_wallet" | "to_wallet" | "from.amount" | "to.amount" | "abs.amount" | undefined;
|
|
298
|
-
alias?: string | undefined;
|
|
299
|
-
} | undefined)[] | undefined;
|
|
300
|
-
groups?: ({
|
|
301
|
-
type: "period";
|
|
302
|
-
field: "year" | "month" | "week" | "day" | "hour" | "minute" | {
|
|
303
|
-
timezone: string;
|
|
304
|
-
period?: "year" | "month" | "week" | "day" | "hour" | "minute" | undefined;
|
|
305
|
-
};
|
|
306
|
-
alias?: string | undefined;
|
|
307
|
-
} | {
|
|
308
|
-
type: "metadata_field";
|
|
309
|
-
field: string;
|
|
310
|
-
alias?: string | undefined;
|
|
311
|
-
} | {
|
|
312
|
-
type: "field";
|
|
313
|
-
field: "type" | "status" | "token" | "wallet" | "transfer_group" | "from_wallet" | "to_wallet";
|
|
314
|
-
alias?: string | undefined;
|
|
315
|
-
})[] | undefined;
|
|
316
227
|
token?: string | number | undefined;
|
|
317
228
|
wallet?: string | number | undefined;
|
|
318
229
|
transfer_group?: string | number | undefined;
|
|
@@ -1321,8 +1232,12 @@ export declare const ClientValidators: {
|
|
|
1321
1232
|
transfer_group?: string | number | undefined;
|
|
1322
1233
|
}>>;
|
|
1323
1234
|
exportBalanceHistory: import("../lib/validation").ZodValidator<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
1324
|
-
token: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]
|
|
1325
|
-
|
|
1235
|
+
token: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1236
|
+
foreign: string;
|
|
1237
|
+
}, string | number>>;
|
|
1238
|
+
wallet: import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1239
|
+
foreign: string;
|
|
1240
|
+
}, string | number>;
|
|
1326
1241
|
}, {
|
|
1327
1242
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1328
1243
|
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
@@ -1350,7 +1265,9 @@ export declare const ClientValidators: {
|
|
|
1350
1265
|
select?: ("status" | "updated_at" | "token_id" | "amount" | "transfer_id" | "wallet_id" | "pending_amount" | "finished_amount" | "latest_control_hash" | "pending_amount_to" | "pending_amount_from" | "available_balance" | "transfer_status_finalized_at" | "transfer_status" | "token_foreign" | "balance_id" | "wallet_foreign" | "transfer_identifier" | "transfer_control_hash" | "transfer_from_wallet_id" | "transfer_from_wallet_foreign" | "transfer_to_wallet_id" | "transfer_to_wallet_foreign" | "transfer_amount" | "transfer_type" | "transfer_force" | "transfer_created_at" | "transfer_updated_at" | "transfer_metadata" | "transfer_transfer_group_id" | "transfer_transfer_group_identifier" | "transfer_reverses_id" | "transfer_reverses_identifier")[] | undefined;
|
|
1351
1266
|
}>>;
|
|
1352
1267
|
}>, "strict", import("zod").ZodTypeAny, {
|
|
1353
|
-
wallet:
|
|
1268
|
+
wallet: {
|
|
1269
|
+
foreign: string;
|
|
1270
|
+
};
|
|
1354
1271
|
options?: {
|
|
1355
1272
|
offset?: number | undefined;
|
|
1356
1273
|
tracking_id?: string | undefined;
|
|
@@ -1360,7 +1277,9 @@ export declare const ClientValidators: {
|
|
|
1360
1277
|
order?: "asc" | "desc" | undefined;
|
|
1361
1278
|
select?: ("status" | "updated_at" | "token_id" | "amount" | "transfer_id" | "wallet_id" | "pending_amount" | "finished_amount" | "latest_control_hash" | "pending_amount_to" | "pending_amount_from" | "available_balance" | "transfer_status_finalized_at" | "transfer_status" | "token_foreign" | "balance_id" | "wallet_foreign" | "transfer_identifier" | "transfer_control_hash" | "transfer_from_wallet_id" | "transfer_from_wallet_foreign" | "transfer_to_wallet_id" | "transfer_to_wallet_foreign" | "transfer_amount" | "transfer_type" | "transfer_force" | "transfer_created_at" | "transfer_updated_at" | "transfer_metadata" | "transfer_transfer_group_id" | "transfer_transfer_group_identifier" | "transfer_reverses_id" | "transfer_reverses_identifier")[] | undefined;
|
|
1362
1279
|
} | undefined;
|
|
1363
|
-
token?:
|
|
1280
|
+
token?: {
|
|
1281
|
+
foreign: string;
|
|
1282
|
+
} | undefined;
|
|
1364
1283
|
}, {
|
|
1365
1284
|
wallet: string | number;
|
|
1366
1285
|
options?: {
|
|
@@ -1375,9 +1294,11 @@ export declare const ClientValidators: {
|
|
|
1375
1294
|
token?: string | number | undefined;
|
|
1376
1295
|
}>>;
|
|
1377
1296
|
exportTokens: import("../lib/validation").ZodValidator<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
1378
|
-
foreign: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1297
|
+
foreign: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
1379
1298
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["value", "share", "group", "contract"]>>;
|
|
1380
|
-
belongs_to: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]
|
|
1299
|
+
belongs_to: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1300
|
+
foreign: string;
|
|
1301
|
+
}, string | number>>;
|
|
1381
1302
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
1382
1303
|
}, {
|
|
1383
1304
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -1394,11 +1315,11 @@ export declare const ClientValidators: {
|
|
|
1394
1315
|
}, {
|
|
1395
1316
|
field: import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "created_at", "updated_at", "limit", "public", "belongs_to", "divisor"]>;
|
|
1396
1317
|
}>, "strict", import("zod").ZodTypeAny, {
|
|
1397
|
-
field: "type" | "status" | "foreign" | "metadata" | "
|
|
1318
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
1398
1319
|
direction?: "asc" | "desc" | undefined;
|
|
1399
1320
|
nulls?: "first" | "last" | undefined;
|
|
1400
1321
|
}, {
|
|
1401
|
-
field: "type" | "status" | "foreign" | "metadata" | "
|
|
1322
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
1402
1323
|
direction?: "asc" | "desc" | undefined;
|
|
1403
1324
|
nulls?: "first" | "last" | undefined;
|
|
1404
1325
|
}>, "many">>>;
|
|
@@ -1412,12 +1333,12 @@ export declare const ClientValidators: {
|
|
|
1412
1333
|
limit?: number | undefined;
|
|
1413
1334
|
return_metadata_total?: boolean | undefined;
|
|
1414
1335
|
order?: {
|
|
1415
|
-
field: "type" | "status" | "foreign" | "metadata" | "
|
|
1336
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
1416
1337
|
direction?: "asc" | "desc" | undefined;
|
|
1417
1338
|
nulls?: "first" | "last" | undefined;
|
|
1418
1339
|
}[] | undefined;
|
|
1419
|
-
select?: ("type" | "status" | "foreign" | "metadata" | "
|
|
1420
|
-
deselect?: ("type" | "status" | "foreign" | "metadata" | "
|
|
1340
|
+
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;
|
|
1341
|
+
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;
|
|
1421
1342
|
order_by?: string | undefined;
|
|
1422
1343
|
include_balance?: boolean | undefined;
|
|
1423
1344
|
}, {
|
|
@@ -1427,12 +1348,12 @@ export declare const ClientValidators: {
|
|
|
1427
1348
|
limit?: number | undefined;
|
|
1428
1349
|
return_metadata_total?: boolean | undefined;
|
|
1429
1350
|
order?: {
|
|
1430
|
-
field: "type" | "status" | "foreign" | "metadata" | "
|
|
1351
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
1431
1352
|
direction?: "asc" | "desc" | undefined;
|
|
1432
1353
|
nulls?: "first" | "last" | undefined;
|
|
1433
1354
|
}[] | undefined;
|
|
1434
|
-
select?: ("type" | "status" | "foreign" | "metadata" | "
|
|
1435
|
-
deselect?: ("type" | "status" | "foreign" | "metadata" | "
|
|
1355
|
+
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;
|
|
1356
|
+
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;
|
|
1436
1357
|
order_by?: string | undefined;
|
|
1437
1358
|
include_balance?: boolean | undefined;
|
|
1438
1359
|
}>>;
|
|
@@ -1444,19 +1365,21 @@ export declare const ClientValidators: {
|
|
|
1444
1365
|
limit?: number | undefined;
|
|
1445
1366
|
return_metadata_total?: boolean | undefined;
|
|
1446
1367
|
order?: {
|
|
1447
|
-
field: "type" | "status" | "foreign" | "metadata" | "
|
|
1368
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
1448
1369
|
direction?: "asc" | "desc" | undefined;
|
|
1449
1370
|
nulls?: "first" | "last" | undefined;
|
|
1450
1371
|
}[] | undefined;
|
|
1451
|
-
select?: ("type" | "status" | "foreign" | "metadata" | "
|
|
1452
|
-
deselect?: ("type" | "status" | "foreign" | "metadata" | "
|
|
1372
|
+
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;
|
|
1373
|
+
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;
|
|
1453
1374
|
order_by?: string | undefined;
|
|
1454
1375
|
include_balance?: boolean | undefined;
|
|
1455
1376
|
} | undefined;
|
|
1456
1377
|
type?: "value" | "group" | "share" | "contract" | undefined;
|
|
1457
|
-
foreign?: string |
|
|
1378
|
+
foreign?: string | undefined;
|
|
1458
1379
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1459
|
-
belongs_to?:
|
|
1380
|
+
belongs_to?: {
|
|
1381
|
+
foreign: string;
|
|
1382
|
+
} | undefined;
|
|
1460
1383
|
}, {
|
|
1461
1384
|
options?: {
|
|
1462
1385
|
offset?: number | undefined;
|
|
@@ -1465,12 +1388,12 @@ export declare const ClientValidators: {
|
|
|
1465
1388
|
limit?: number | undefined;
|
|
1466
1389
|
return_metadata_total?: boolean | undefined;
|
|
1467
1390
|
order?: {
|
|
1468
|
-
field: "type" | "status" | "foreign" | "metadata" | "
|
|
1391
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
1469
1392
|
direction?: "asc" | "desc" | undefined;
|
|
1470
1393
|
nulls?: "first" | "last" | undefined;
|
|
1471
1394
|
}[] | undefined;
|
|
1472
|
-
select?: ("type" | "status" | "foreign" | "metadata" | "
|
|
1473
|
-
deselect?: ("type" | "status" | "foreign" | "metadata" | "
|
|
1395
|
+
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;
|
|
1396
|
+
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;
|
|
1474
1397
|
order_by?: string | undefined;
|
|
1475
1398
|
include_balance?: boolean | undefined;
|
|
1476
1399
|
} | undefined;
|
|
@@ -1480,10 +1403,12 @@ export declare const ClientValidators: {
|
|
|
1480
1403
|
belongs_to?: string | number | undefined;
|
|
1481
1404
|
}>>;
|
|
1482
1405
|
exportTransferGroups: import("../lib/validation").ZodValidator<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
1483
|
-
identifier: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>>;
|
|
1406
|
+
identifier: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>>;
|
|
1484
1407
|
transfer_status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>>>;
|
|
1485
1408
|
status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["open", "closed"]>>>>;
|
|
1486
|
-
reverses: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]
|
|
1409
|
+
reverses: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1410
|
+
identifier: string;
|
|
1411
|
+
}, string | number>>>;
|
|
1487
1412
|
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["regular", "exchange", "distribution"]>>>;
|
|
1488
1413
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>>;
|
|
1489
1414
|
}, {
|
|
@@ -1562,10 +1487,12 @@ export declare const ClientValidators: {
|
|
|
1562
1487
|
} | undefined;
|
|
1563
1488
|
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
1564
1489
|
status?: "open" | "closed" | undefined;
|
|
1565
|
-
identifier?: string |
|
|
1490
|
+
identifier?: string | undefined;
|
|
1566
1491
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1567
1492
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1568
|
-
reverses?:
|
|
1493
|
+
reverses?: {
|
|
1494
|
+
identifier: string;
|
|
1495
|
+
} | undefined;
|
|
1569
1496
|
}, {
|
|
1570
1497
|
options?: {
|
|
1571
1498
|
offset?: number | undefined;
|
|
@@ -1591,11 +1518,22 @@ export declare const ClientValidators: {
|
|
|
1591
1518
|
reverses?: string | number | undefined;
|
|
1592
1519
|
}>>;
|
|
1593
1520
|
exportTransfers: import("../lib/validation").ZodValidator<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
1594
|
-
wallet: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]
|
|
1595
|
-
|
|
1596
|
-
|
|
1597
|
-
|
|
1598
|
-
|
|
1521
|
+
wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1522
|
+
foreign: string;
|
|
1523
|
+
}, string | number>>;
|
|
1524
|
+
token: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1525
|
+
foreign: string;
|
|
1526
|
+
}, string | number>>;
|
|
1527
|
+
from_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1528
|
+
foreign: string;
|
|
1529
|
+
}, string | number>>;
|
|
1530
|
+
to_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1531
|
+
foreign: string;
|
|
1532
|
+
}, string | number>>;
|
|
1533
|
+
transfer_group: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1534
|
+
foreign: string;
|
|
1535
|
+
}, string | number>>;
|
|
1536
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<["transfer", "deposit", "withdrawal"]>>;
|
|
1599
1537
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
1600
1538
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
1601
1539
|
}, {
|
|
@@ -1624,8 +1562,12 @@ export declare const ClientValidators: {
|
|
|
1624
1562
|
deselect: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "metadata", "id", "created_at", "updated_at", "identifier", "control_hash", "from_wallet_id", "to_wallet_id", "token_id", "amount", "force", "auto_hash", "transfer_group_id", "reverses_id", "status_finalized_at", "group_validate", "from_wallet_foreign", "to_wallet_foreign", "token_foreign", "transfer_group_identifier", "reverses_identifier"]>, "many">>>>;
|
|
1625
1563
|
return_running_balance: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
1626
1564
|
return_signed_amount: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
1627
|
-
return_running_balance_for_wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]
|
|
1628
|
-
|
|
1565
|
+
return_running_balance_for_wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1566
|
+
foreign: string;
|
|
1567
|
+
}, string | number>>>;
|
|
1568
|
+
return_signed_amount_for_wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1569
|
+
foreign: string;
|
|
1570
|
+
}, string | number>>>;
|
|
1629
1571
|
order_by: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
1630
1572
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1631
1573
|
offset?: number | undefined;
|
|
@@ -1641,8 +1583,12 @@ export declare const ClientValidators: {
|
|
|
1641
1583
|
select?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate" | "from_wallet_foreign" | "to_wallet_foreign" | "token_foreign" | "transfer_group_identifier" | "reverses_identifier")[] | undefined;
|
|
1642
1584
|
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;
|
|
1643
1585
|
order_by?: string | undefined;
|
|
1644
|
-
return_running_balance_for_wallet?:
|
|
1645
|
-
|
|
1586
|
+
return_running_balance_for_wallet?: {
|
|
1587
|
+
foreign: string;
|
|
1588
|
+
} | undefined;
|
|
1589
|
+
return_signed_amount_for_wallet?: {
|
|
1590
|
+
foreign: string;
|
|
1591
|
+
} | undefined;
|
|
1646
1592
|
return_running_balance?: boolean | undefined;
|
|
1647
1593
|
return_signed_amount?: boolean | undefined;
|
|
1648
1594
|
}, {
|
|
@@ -1679,18 +1625,33 @@ export declare const ClientValidators: {
|
|
|
1679
1625
|
select?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate" | "from_wallet_foreign" | "to_wallet_foreign" | "token_foreign" | "transfer_group_identifier" | "reverses_identifier")[] | undefined;
|
|
1680
1626
|
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;
|
|
1681
1627
|
order_by?: string | undefined;
|
|
1682
|
-
return_running_balance_for_wallet?:
|
|
1683
|
-
|
|
1628
|
+
return_running_balance_for_wallet?: {
|
|
1629
|
+
foreign: string;
|
|
1630
|
+
} | undefined;
|
|
1631
|
+
return_signed_amount_for_wallet?: {
|
|
1632
|
+
foreign: string;
|
|
1633
|
+
} | undefined;
|
|
1684
1634
|
return_running_balance?: boolean | undefined;
|
|
1685
1635
|
return_signed_amount?: boolean | undefined;
|
|
1686
1636
|
} | undefined;
|
|
1637
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
1687
1638
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1688
1639
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1689
|
-
token?:
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1640
|
+
token?: {
|
|
1641
|
+
foreign: string;
|
|
1642
|
+
} | undefined;
|
|
1643
|
+
wallet?: {
|
|
1644
|
+
foreign: string;
|
|
1645
|
+
} | undefined;
|
|
1646
|
+
transfer_group?: {
|
|
1647
|
+
foreign: string;
|
|
1648
|
+
} | undefined;
|
|
1649
|
+
from_wallet?: {
|
|
1650
|
+
foreign: string;
|
|
1651
|
+
} | undefined;
|
|
1652
|
+
to_wallet?: {
|
|
1653
|
+
foreign: string;
|
|
1654
|
+
} | undefined;
|
|
1694
1655
|
}, {
|
|
1695
1656
|
options?: {
|
|
1696
1657
|
offset?: number | undefined;
|
|
@@ -1711,6 +1672,7 @@ export declare const ClientValidators: {
|
|
|
1711
1672
|
return_running_balance?: boolean | undefined;
|
|
1712
1673
|
return_signed_amount?: boolean | undefined;
|
|
1713
1674
|
} | undefined;
|
|
1675
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
1714
1676
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
1715
1677
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1716
1678
|
token?: string | number | undefined;
|
|
@@ -1720,10 +1682,10 @@ export declare const ClientValidators: {
|
|
|
1720
1682
|
to_wallet?: string | number | undefined;
|
|
1721
1683
|
}>>;
|
|
1722
1684
|
exportWallets: import("../lib/validation").ZodValidator<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
|
-
|
|
1726
|
-
|
|
1685
|
+
foreign: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>>;
|
|
1686
|
+
name: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>>;
|
|
1687
|
+
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["token", "house", "regular"]>>>;
|
|
1688
|
+
status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["active", "disabled"]>>>;
|
|
1727
1689
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>>;
|
|
1728
1690
|
}, {
|
|
1729
1691
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -1750,7 +1712,9 @@ export declare const ClientValidators: {
|
|
|
1750
1712
|
select: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "name", "default_allow_negative", "default_allow_positive", "created_at", "updated_at", "default_dtw_to", "default_dtw_from", "balance_token_id", "balance_token_foreign", "balance_transfer_id", "balance_pending_amount", "balance_pending_amount_to", "balance_pending_amount_from", "balance_finished_amount", "balance_amount", "balance_available_balance", "balance_latest_control_hash", "balance_updated_at"]>, "many">>>>;
|
|
1751
1713
|
deselect: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "name", "default_allow_negative", "default_allow_positive", "created_at", "updated_at", "default_dtw_to", "default_dtw_from", "balance_token_id", "balance_token_foreign", "balance_transfer_id", "balance_pending_amount", "balance_pending_amount_to", "balance_pending_amount_from", "balance_finished_amount", "balance_amount", "balance_available_balance", "balance_latest_control_hash", "balance_updated_at"]>, "many">>>>;
|
|
1752
1714
|
order_by: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
1753
|
-
include_balance_for_token: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]
|
|
1715
|
+
include_balance_for_token: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1716
|
+
foreign: string;
|
|
1717
|
+
}, string | number>>>;
|
|
1754
1718
|
}, "strip", import("zod").ZodTypeAny, {
|
|
1755
1719
|
offset?: number | undefined;
|
|
1756
1720
|
tracking_id?: string | undefined;
|
|
@@ -1765,7 +1729,9 @@ export declare const ClientValidators: {
|
|
|
1765
1729
|
select?: ("type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at")[] | undefined;
|
|
1766
1730
|
deselect?: ("type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at")[] | undefined;
|
|
1767
1731
|
order_by?: string | undefined;
|
|
1768
|
-
include_balance_for_token?:
|
|
1732
|
+
include_balance_for_token?: {
|
|
1733
|
+
foreign: string;
|
|
1734
|
+
} | undefined;
|
|
1769
1735
|
}, {
|
|
1770
1736
|
offset?: number | undefined;
|
|
1771
1737
|
tracking_id?: string | undefined;
|
|
@@ -1797,13 +1763,15 @@ export declare const ClientValidators: {
|
|
|
1797
1763
|
select?: ("type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at")[] | undefined;
|
|
1798
1764
|
deselect?: ("type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at")[] | undefined;
|
|
1799
1765
|
order_by?: string | undefined;
|
|
1800
|
-
include_balance_for_token?:
|
|
1766
|
+
include_balance_for_token?: {
|
|
1767
|
+
foreign: string;
|
|
1768
|
+
} | undefined;
|
|
1801
1769
|
} | undefined;
|
|
1802
1770
|
type?: "token" | "house" | "regular" | undefined;
|
|
1803
1771
|
status?: "active" | "disabled" | undefined;
|
|
1804
1772
|
foreign?: string | undefined;
|
|
1805
1773
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1806
|
-
name?: string |
|
|
1774
|
+
name?: string | undefined;
|
|
1807
1775
|
}, {
|
|
1808
1776
|
options?: {
|
|
1809
1777
|
offset?: number | undefined;
|
|
@@ -1823,13 +1791,17 @@ export declare const ClientValidators: {
|
|
|
1823
1791
|
} | undefined;
|
|
1824
1792
|
type?: "token" | "house" | "regular" | undefined;
|
|
1825
1793
|
status?: "active" | "disabled" | undefined;
|
|
1826
|
-
foreign?: string | undefined;
|
|
1794
|
+
foreign?: string | number | undefined;
|
|
1827
1795
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
1828
|
-
name?: string |
|
|
1796
|
+
name?: string | number | undefined;
|
|
1829
1797
|
}>>;
|
|
1830
1798
|
findBalances: import("../lib/validation").ZodValidator<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
1831
|
-
token: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]
|
|
1832
|
-
|
|
1799
|
+
token: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1800
|
+
foreign: string;
|
|
1801
|
+
}, string | number>>;
|
|
1802
|
+
wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1803
|
+
foreign: string;
|
|
1804
|
+
}, string | number>>;
|
|
1833
1805
|
}, {
|
|
1834
1806
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
1835
1807
|
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
@@ -1900,8 +1872,12 @@ export declare const ClientValidators: {
|
|
|
1900
1872
|
deselect?: ("updated_at" | "token_id" | "amount" | "transfer_id" | "wallet_id" | "pending_amount" | "finished_amount" | "latest_control_hash" | "pending_amount_to" | "pending_amount_from" | "available_balance" | "token_foreign" | "wallet_foreign")[] | undefined;
|
|
1901
1873
|
order_by?: string | undefined;
|
|
1902
1874
|
} | undefined;
|
|
1903
|
-
token?:
|
|
1904
|
-
|
|
1875
|
+
token?: {
|
|
1876
|
+
foreign: string;
|
|
1877
|
+
} | undefined;
|
|
1878
|
+
wallet?: {
|
|
1879
|
+
foreign: string;
|
|
1880
|
+
} | undefined;
|
|
1905
1881
|
}, {
|
|
1906
1882
|
options?: {
|
|
1907
1883
|
offset?: number | undefined;
|
|
@@ -1922,9 +1898,11 @@ export declare const ClientValidators: {
|
|
|
1922
1898
|
wallet?: string | number | undefined;
|
|
1923
1899
|
}>>;
|
|
1924
1900
|
findTokens: import("../lib/validation").ZodValidator<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
1925
|
-
foreign: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
1901
|
+
foreign: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
1926
1902
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["value", "share", "group", "contract"]>>;
|
|
1927
|
-
belongs_to: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]
|
|
1903
|
+
belongs_to: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
1904
|
+
foreign: string;
|
|
1905
|
+
}, string | number>>;
|
|
1928
1906
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
1929
1907
|
}, {
|
|
1930
1908
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -1941,11 +1919,11 @@ export declare const ClientValidators: {
|
|
|
1941
1919
|
}, {
|
|
1942
1920
|
field: import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "created_at", "updated_at", "limit", "public", "belongs_to", "divisor"]>;
|
|
1943
1921
|
}>, "strict", import("zod").ZodTypeAny, {
|
|
1944
|
-
field: "type" | "status" | "foreign" | "metadata" | "
|
|
1922
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
1945
1923
|
direction?: "asc" | "desc" | undefined;
|
|
1946
1924
|
nulls?: "first" | "last" | undefined;
|
|
1947
1925
|
}, {
|
|
1948
|
-
field: "type" | "status" | "foreign" | "metadata" | "
|
|
1926
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
1949
1927
|
direction?: "asc" | "desc" | undefined;
|
|
1950
1928
|
nulls?: "first" | "last" | undefined;
|
|
1951
1929
|
}>, "many">>>;
|
|
@@ -1959,12 +1937,12 @@ export declare const ClientValidators: {
|
|
|
1959
1937
|
limit?: number | undefined;
|
|
1960
1938
|
return_metadata_total?: boolean | undefined;
|
|
1961
1939
|
order?: {
|
|
1962
|
-
field: "type" | "status" | "foreign" | "metadata" | "
|
|
1940
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
1963
1941
|
direction?: "asc" | "desc" | undefined;
|
|
1964
1942
|
nulls?: "first" | "last" | undefined;
|
|
1965
1943
|
}[] | undefined;
|
|
1966
|
-
select?: ("type" | "status" | "foreign" | "metadata" | "
|
|
1967
|
-
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;
|
|
1968
1946
|
order_by?: string | undefined;
|
|
1969
1947
|
include_balance?: boolean | undefined;
|
|
1970
1948
|
}, {
|
|
@@ -1974,12 +1952,12 @@ export declare const ClientValidators: {
|
|
|
1974
1952
|
limit?: number | undefined;
|
|
1975
1953
|
return_metadata_total?: boolean | undefined;
|
|
1976
1954
|
order?: {
|
|
1977
|
-
field: "type" | "status" | "foreign" | "metadata" | "
|
|
1955
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
1978
1956
|
direction?: "asc" | "desc" | undefined;
|
|
1979
1957
|
nulls?: "first" | "last" | undefined;
|
|
1980
1958
|
}[] | undefined;
|
|
1981
|
-
select?: ("type" | "status" | "foreign" | "metadata" | "
|
|
1982
|
-
deselect?: ("type" | "status" | "foreign" | "metadata" | "
|
|
1959
|
+
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;
|
|
1960
|
+
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;
|
|
1983
1961
|
order_by?: string | undefined;
|
|
1984
1962
|
include_balance?: boolean | undefined;
|
|
1985
1963
|
}>>;
|
|
@@ -1991,19 +1969,21 @@ export declare const ClientValidators: {
|
|
|
1991
1969
|
limit?: number | undefined;
|
|
1992
1970
|
return_metadata_total?: boolean | undefined;
|
|
1993
1971
|
order?: {
|
|
1994
|
-
field: "type" | "status" | "foreign" | "metadata" | "
|
|
1972
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
1995
1973
|
direction?: "asc" | "desc" | undefined;
|
|
1996
1974
|
nulls?: "first" | "last" | undefined;
|
|
1997
1975
|
}[] | undefined;
|
|
1998
|
-
select?: ("type" | "status" | "foreign" | "metadata" | "
|
|
1999
|
-
deselect?: ("type" | "status" | "foreign" | "metadata" | "
|
|
1976
|
+
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;
|
|
1977
|
+
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;
|
|
2000
1978
|
order_by?: string | undefined;
|
|
2001
1979
|
include_balance?: boolean | undefined;
|
|
2002
1980
|
} | undefined;
|
|
2003
1981
|
type?: "value" | "group" | "share" | "contract" | undefined;
|
|
2004
|
-
foreign?: string |
|
|
1982
|
+
foreign?: string | undefined;
|
|
2005
1983
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2006
|
-
belongs_to?:
|
|
1984
|
+
belongs_to?: {
|
|
1985
|
+
foreign: string;
|
|
1986
|
+
} | undefined;
|
|
2007
1987
|
}, {
|
|
2008
1988
|
options?: {
|
|
2009
1989
|
offset?: number | undefined;
|
|
@@ -2012,12 +1992,12 @@ export declare const ClientValidators: {
|
|
|
2012
1992
|
limit?: number | undefined;
|
|
2013
1993
|
return_metadata_total?: boolean | undefined;
|
|
2014
1994
|
order?: {
|
|
2015
|
-
field: "type" | "status" | "foreign" | "metadata" | "
|
|
1995
|
+
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
2016
1996
|
direction?: "asc" | "desc" | undefined;
|
|
2017
1997
|
nulls?: "first" | "last" | undefined;
|
|
2018
1998
|
}[] | undefined;
|
|
2019
|
-
select?: ("type" | "status" | "foreign" | "metadata" | "
|
|
2020
|
-
deselect?: ("type" | "status" | "foreign" | "metadata" | "
|
|
1999
|
+
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;
|
|
2000
|
+
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;
|
|
2021
2001
|
order_by?: string | undefined;
|
|
2022
2002
|
include_balance?: boolean | undefined;
|
|
2023
2003
|
} | undefined;
|
|
@@ -2027,10 +2007,12 @@ export declare const ClientValidators: {
|
|
|
2027
2007
|
belongs_to?: string | number | undefined;
|
|
2028
2008
|
}>>;
|
|
2029
2009
|
findTransferGroups: import("../lib/validation").ZodValidator<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
2030
|
-
identifier: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
2010
|
+
identifier: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
2031
2011
|
transfer_status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>>;
|
|
2032
2012
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["open", "closed"]>>>;
|
|
2033
|
-
reverses: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]
|
|
2013
|
+
reverses: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
2014
|
+
identifier: string;
|
|
2015
|
+
}, string | number>>;
|
|
2034
2016
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["regular", "exchange", "distribution"]>>;
|
|
2035
2017
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
2036
2018
|
}, {
|
|
@@ -2109,10 +2091,12 @@ export declare const ClientValidators: {
|
|
|
2109
2091
|
} | undefined;
|
|
2110
2092
|
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
2111
2093
|
status?: "open" | "closed" | undefined;
|
|
2112
|
-
identifier?: string |
|
|
2094
|
+
identifier?: string | undefined;
|
|
2113
2095
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2114
2096
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
2115
|
-
reverses?:
|
|
2097
|
+
reverses?: {
|
|
2098
|
+
identifier: string;
|
|
2099
|
+
} | undefined;
|
|
2116
2100
|
}, {
|
|
2117
2101
|
options?: {
|
|
2118
2102
|
offset?: number | undefined;
|
|
@@ -2138,11 +2122,22 @@ export declare const ClientValidators: {
|
|
|
2138
2122
|
reverses?: string | number | undefined;
|
|
2139
2123
|
}>>;
|
|
2140
2124
|
findTransfers: import("../lib/validation").ZodValidator<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
2141
|
-
wallet: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2145
|
-
|
|
2125
|
+
wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
2126
|
+
foreign: string;
|
|
2127
|
+
}, string | number>>;
|
|
2128
|
+
token: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
2129
|
+
foreign: string;
|
|
2130
|
+
}, string | number>>;
|
|
2131
|
+
from_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
2132
|
+
foreign: string;
|
|
2133
|
+
}, string | number>>;
|
|
2134
|
+
to_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
2135
|
+
foreign: string;
|
|
2136
|
+
}, string | number>>;
|
|
2137
|
+
transfer_group: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
2138
|
+
foreign: string;
|
|
2139
|
+
}, string | number>>;
|
|
2140
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<["transfer", "deposit", "withdrawal"]>>;
|
|
2146
2141
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
2147
2142
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
2148
2143
|
}, {
|
|
@@ -2171,8 +2166,12 @@ export declare const ClientValidators: {
|
|
|
2171
2166
|
deselect: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "metadata", "id", "created_at", "updated_at", "identifier", "control_hash", "from_wallet_id", "to_wallet_id", "token_id", "amount", "force", "auto_hash", "transfer_group_id", "reverses_id", "status_finalized_at", "group_validate", "from_wallet_foreign", "to_wallet_foreign", "token_foreign", "transfer_group_identifier", "reverses_identifier"]>, "many">>>;
|
|
2172
2167
|
return_running_balance: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2173
2168
|
return_signed_amount: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
2174
|
-
return_running_balance_for_wallet: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]
|
|
2175
|
-
|
|
2169
|
+
return_running_balance_for_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
2170
|
+
foreign: string;
|
|
2171
|
+
}, string | number>>;
|
|
2172
|
+
return_signed_amount_for_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
2173
|
+
foreign: string;
|
|
2174
|
+
}, string | number>>;
|
|
2176
2175
|
order_by: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2177
2176
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2178
2177
|
offset?: number | undefined;
|
|
@@ -2188,8 +2187,12 @@ export declare const ClientValidators: {
|
|
|
2188
2187
|
select?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate" | "from_wallet_foreign" | "to_wallet_foreign" | "token_foreign" | "transfer_group_identifier" | "reverses_identifier")[] | undefined;
|
|
2189
2188
|
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;
|
|
2190
2189
|
order_by?: string | undefined;
|
|
2191
|
-
return_running_balance_for_wallet?:
|
|
2192
|
-
|
|
2190
|
+
return_running_balance_for_wallet?: {
|
|
2191
|
+
foreign: string;
|
|
2192
|
+
} | undefined;
|
|
2193
|
+
return_signed_amount_for_wallet?: {
|
|
2194
|
+
foreign: string;
|
|
2195
|
+
} | undefined;
|
|
2193
2196
|
return_running_balance?: boolean | undefined;
|
|
2194
2197
|
return_signed_amount?: boolean | undefined;
|
|
2195
2198
|
}, {
|
|
@@ -2226,18 +2229,33 @@ export declare const ClientValidators: {
|
|
|
2226
2229
|
select?: ("type" | "status" | "identifier" | "metadata" | "id" | "created_at" | "updated_at" | "control_hash" | "from_wallet_id" | "to_wallet_id" | "token_id" | "amount" | "force" | "auto_hash" | "transfer_group_id" | "reverses_id" | "status_finalized_at" | "group_validate" | "from_wallet_foreign" | "to_wallet_foreign" | "token_foreign" | "transfer_group_identifier" | "reverses_identifier")[] | undefined;
|
|
2227
2230
|
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;
|
|
2228
2231
|
order_by?: string | undefined;
|
|
2229
|
-
return_running_balance_for_wallet?:
|
|
2230
|
-
|
|
2232
|
+
return_running_balance_for_wallet?: {
|
|
2233
|
+
foreign: string;
|
|
2234
|
+
} | undefined;
|
|
2235
|
+
return_signed_amount_for_wallet?: {
|
|
2236
|
+
foreign: string;
|
|
2237
|
+
} | undefined;
|
|
2231
2238
|
return_running_balance?: boolean | undefined;
|
|
2232
2239
|
return_signed_amount?: boolean | undefined;
|
|
2233
2240
|
} | undefined;
|
|
2241
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
2234
2242
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
2235
2243
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2236
|
-
token?:
|
|
2237
|
-
|
|
2238
|
-
|
|
2239
|
-
|
|
2240
|
-
|
|
2244
|
+
token?: {
|
|
2245
|
+
foreign: string;
|
|
2246
|
+
} | undefined;
|
|
2247
|
+
wallet?: {
|
|
2248
|
+
foreign: string;
|
|
2249
|
+
} | undefined;
|
|
2250
|
+
transfer_group?: {
|
|
2251
|
+
foreign: string;
|
|
2252
|
+
} | undefined;
|
|
2253
|
+
from_wallet?: {
|
|
2254
|
+
foreign: string;
|
|
2255
|
+
} | undefined;
|
|
2256
|
+
to_wallet?: {
|
|
2257
|
+
foreign: string;
|
|
2258
|
+
} | undefined;
|
|
2241
2259
|
}, {
|
|
2242
2260
|
options?: {
|
|
2243
2261
|
offset?: number | undefined;
|
|
@@ -2258,6 +2276,7 @@ export declare const ClientValidators: {
|
|
|
2258
2276
|
return_running_balance?: boolean | undefined;
|
|
2259
2277
|
return_signed_amount?: boolean | undefined;
|
|
2260
2278
|
} | undefined;
|
|
2279
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
2261
2280
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
2262
2281
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2263
2282
|
token?: string | number | undefined;
|
|
@@ -2267,10 +2286,10 @@ export declare const ClientValidators: {
|
|
|
2267
2286
|
to_wallet?: string | number | undefined;
|
|
2268
2287
|
}>>;
|
|
2269
2288
|
findWallets: import("../lib/validation").ZodValidator<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
2270
|
-
|
|
2271
|
-
|
|
2272
|
-
|
|
2273
|
-
|
|
2289
|
+
foreign: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
2290
|
+
name: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
2291
|
+
type: import("zod").ZodOptional<import("zod").ZodEnum<["token", "house", "regular"]>>;
|
|
2292
|
+
status: import("zod").ZodOptional<import("zod").ZodEnum<["active", "disabled"]>>;
|
|
2274
2293
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
2275
2294
|
}, {
|
|
2276
2295
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
@@ -2297,7 +2316,9 @@ export declare const ClientValidators: {
|
|
|
2297
2316
|
select: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "name", "default_allow_negative", "default_allow_positive", "created_at", "updated_at", "default_dtw_to", "default_dtw_from", "balance_token_id", "balance_token_foreign", "balance_transfer_id", "balance_pending_amount", "balance_pending_amount_to", "balance_pending_amount_from", "balance_finished_amount", "balance_amount", "balance_available_balance", "balance_latest_control_hash", "balance_updated_at"]>, "many">>>;
|
|
2298
2317
|
deselect: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "name", "default_allow_negative", "default_allow_positive", "created_at", "updated_at", "default_dtw_to", "default_dtw_from", "balance_token_id", "balance_token_foreign", "balance_transfer_id", "balance_pending_amount", "balance_pending_amount_to", "balance_pending_amount_from", "balance_finished_amount", "balance_amount", "balance_available_balance", "balance_latest_control_hash", "balance_updated_at"]>, "many">>>;
|
|
2299
2318
|
order_by: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2300
|
-
include_balance_for_token: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]
|
|
2319
|
+
include_balance_for_token: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
2320
|
+
foreign: string;
|
|
2321
|
+
}, string | number>>;
|
|
2301
2322
|
}, "strip", import("zod").ZodTypeAny, {
|
|
2302
2323
|
offset?: number | undefined;
|
|
2303
2324
|
tracking_id?: string | undefined;
|
|
@@ -2312,7 +2333,9 @@ export declare const ClientValidators: {
|
|
|
2312
2333
|
select?: ("type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at")[] | undefined;
|
|
2313
2334
|
deselect?: ("type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at")[] | undefined;
|
|
2314
2335
|
order_by?: string | undefined;
|
|
2315
|
-
include_balance_for_token?:
|
|
2336
|
+
include_balance_for_token?: {
|
|
2337
|
+
foreign: string;
|
|
2338
|
+
} | undefined;
|
|
2316
2339
|
}, {
|
|
2317
2340
|
offset?: number | undefined;
|
|
2318
2341
|
tracking_id?: string | undefined;
|
|
@@ -2344,13 +2367,15 @@ export declare const ClientValidators: {
|
|
|
2344
2367
|
select?: ("type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at")[] | undefined;
|
|
2345
2368
|
deselect?: ("type" | "status" | "foreign" | "metadata" | "id" | "name" | "default_allow_negative" | "default_allow_positive" | "created_at" | "updated_at" | "default_dtw_to" | "default_dtw_from" | "balance_token_id" | "balance_token_foreign" | "balance_transfer_id" | "balance_pending_amount" | "balance_pending_amount_to" | "balance_pending_amount_from" | "balance_finished_amount" | "balance_amount" | "balance_available_balance" | "balance_latest_control_hash" | "balance_updated_at")[] | undefined;
|
|
2346
2369
|
order_by?: string | undefined;
|
|
2347
|
-
include_balance_for_token?:
|
|
2370
|
+
include_balance_for_token?: {
|
|
2371
|
+
foreign: string;
|
|
2372
|
+
} | undefined;
|
|
2348
2373
|
} | undefined;
|
|
2349
2374
|
type?: "token" | "house" | "regular" | undefined;
|
|
2350
2375
|
status?: "active" | "disabled" | undefined;
|
|
2351
2376
|
foreign?: string | undefined;
|
|
2352
2377
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2353
|
-
name?: string |
|
|
2378
|
+
name?: string | undefined;
|
|
2354
2379
|
}, {
|
|
2355
2380
|
options?: {
|
|
2356
2381
|
offset?: number | undefined;
|
|
@@ -2370,9 +2395,9 @@ export declare const ClientValidators: {
|
|
|
2370
2395
|
} | undefined;
|
|
2371
2396
|
type?: "token" | "house" | "regular" | undefined;
|
|
2372
2397
|
status?: "active" | "disabled" | undefined;
|
|
2373
|
-
foreign?: string | undefined;
|
|
2398
|
+
foreign?: string | number | undefined;
|
|
2374
2399
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
2375
|
-
name?: string |
|
|
2400
|
+
name?: string | number | undefined;
|
|
2376
2401
|
}>>;
|
|
2377
2402
|
getBalance: import("../lib/validation").ZodValidator<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
2378
2403
|
datetime: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
@@ -4120,13 +4145,53 @@ export declare const ClientValidators: {
|
|
|
4120
4145
|
transfer_extend_metadata?: import("../db/consts").Metadata | undefined;
|
|
4121
4146
|
}>>;
|
|
4122
4147
|
reverseTransfers: import("../lib/validation").ZodValidator<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
4123
|
-
|
|
4124
|
-
|
|
4125
|
-
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
|
|
4129
|
-
|
|
4148
|
+
type: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["transfer", "deposit", "withdrawal"]>>>>>;
|
|
4149
|
+
identifier: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>>>>;
|
|
4150
|
+
id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>>>;
|
|
4151
|
+
created_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>>>;
|
|
4152
|
+
updated_at: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>>>;
|
|
4153
|
+
from_wallet_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>>;
|
|
4154
|
+
to_wallet_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>>;
|
|
4155
|
+
token_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>>;
|
|
4156
|
+
amount: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>>>;
|
|
4157
|
+
transfer_group_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>>;
|
|
4158
|
+
reverses_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, number, string | number>>>>;
|
|
4159
|
+
reverses: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodObject<{
|
|
4160
|
+
identifier: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4161
|
+
id: import("zod").ZodNumber;
|
|
4162
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4163
|
+
id: number;
|
|
4164
|
+
identifier?: string | undefined;
|
|
4165
|
+
}, {
|
|
4166
|
+
id: number;
|
|
4167
|
+
identifier?: string | undefined;
|
|
4168
|
+
}>, import("zod").ZodObject<{
|
|
4169
|
+
identifier: import("zod").ZodString;
|
|
4170
|
+
id: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
4171
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
4172
|
+
identifier: string;
|
|
4173
|
+
id?: number | undefined;
|
|
4174
|
+
}, {
|
|
4175
|
+
identifier: string;
|
|
4176
|
+
id?: number | undefined;
|
|
4177
|
+
}>]>>>>>;
|
|
4178
|
+
wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
4179
|
+
foreign: string;
|
|
4180
|
+
}, string | number>>>;
|
|
4181
|
+
token: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
4182
|
+
foreign: string;
|
|
4183
|
+
}, string | number>>>;
|
|
4184
|
+
from_wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
4185
|
+
foreign: string;
|
|
4186
|
+
}, string | number>>>;
|
|
4187
|
+
to_wallet: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
4188
|
+
foreign: string;
|
|
4189
|
+
}, string | number>>>;
|
|
4190
|
+
transfer_group: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
4191
|
+
foreign: string;
|
|
4192
|
+
}, string | number>>>;
|
|
4193
|
+
status: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>>;
|
|
4194
|
+
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>>;
|
|
4130
4195
|
reverse: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4131
4196
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished"]>>;
|
|
4132
4197
|
force: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
@@ -4168,18 +4233,46 @@ export declare const ClientValidators: {
|
|
|
4168
4233
|
reverse_deposit?: boolean | undefined;
|
|
4169
4234
|
reverse_withdrawal?: boolean | undefined;
|
|
4170
4235
|
} | undefined;
|
|
4236
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
4171
4237
|
reverse?: {
|
|
4172
4238
|
status?: "pending" | "finished" | undefined;
|
|
4173
4239
|
metadata?: import("../db/consts").Metadata | undefined;
|
|
4174
4240
|
force?: boolean | undefined;
|
|
4175
4241
|
} | undefined;
|
|
4176
4242
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
4243
|
+
identifier?: string | undefined;
|
|
4177
4244
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
4178
|
-
|
|
4179
|
-
|
|
4180
|
-
|
|
4181
|
-
|
|
4182
|
-
|
|
4245
|
+
id?: number | undefined;
|
|
4246
|
+
token?: {
|
|
4247
|
+
foreign: string;
|
|
4248
|
+
} | undefined;
|
|
4249
|
+
created_at?: string | undefined;
|
|
4250
|
+
updated_at?: string | undefined;
|
|
4251
|
+
from_wallet_id?: number | undefined;
|
|
4252
|
+
to_wallet_id?: number | undefined;
|
|
4253
|
+
token_id?: number | undefined;
|
|
4254
|
+
amount?: number | undefined;
|
|
4255
|
+
transfer_group_id?: number | undefined;
|
|
4256
|
+
reverses_id?: number | undefined;
|
|
4257
|
+
wallet?: {
|
|
4258
|
+
foreign: string;
|
|
4259
|
+
} | undefined;
|
|
4260
|
+
transfer_group?: {
|
|
4261
|
+
foreign: string;
|
|
4262
|
+
} | undefined;
|
|
4263
|
+
from_wallet?: {
|
|
4264
|
+
foreign: string;
|
|
4265
|
+
} | undefined;
|
|
4266
|
+
to_wallet?: {
|
|
4267
|
+
foreign: string;
|
|
4268
|
+
} | undefined;
|
|
4269
|
+
reverses?: {
|
|
4270
|
+
id: number;
|
|
4271
|
+
identifier?: string | undefined;
|
|
4272
|
+
} | {
|
|
4273
|
+
identifier: string;
|
|
4274
|
+
id?: number | undefined;
|
|
4275
|
+
} | undefined;
|
|
4183
4276
|
}, {
|
|
4184
4277
|
options?: {
|
|
4185
4278
|
tracking_id?: string | undefined;
|
|
@@ -4188,18 +4281,36 @@ export declare const ClientValidators: {
|
|
|
4188
4281
|
reverse_deposit?: boolean | undefined;
|
|
4189
4282
|
reverse_withdrawal?: boolean | undefined;
|
|
4190
4283
|
} | undefined;
|
|
4284
|
+
type?: "transfer" | "deposit" | "withdrawal" | undefined;
|
|
4191
4285
|
reverse?: {
|
|
4192
4286
|
status?: "pending" | "finished" | undefined;
|
|
4193
4287
|
metadata?: import("../db/consts").Metadata | undefined;
|
|
4194
4288
|
force?: boolean | undefined;
|
|
4195
4289
|
} | undefined;
|
|
4196
4290
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
4291
|
+
identifier?: string | number | undefined;
|
|
4197
4292
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
4293
|
+
id?: string | number | undefined;
|
|
4198
4294
|
token?: string | number | undefined;
|
|
4295
|
+
created_at?: string | undefined;
|
|
4296
|
+
updated_at?: string | undefined;
|
|
4297
|
+
from_wallet_id?: string | number | undefined;
|
|
4298
|
+
to_wallet_id?: string | number | undefined;
|
|
4299
|
+
token_id?: string | number | undefined;
|
|
4300
|
+
amount?: string | number | undefined;
|
|
4301
|
+
transfer_group_id?: string | number | undefined;
|
|
4302
|
+
reverses_id?: string | number | undefined;
|
|
4199
4303
|
wallet?: string | number | undefined;
|
|
4200
4304
|
transfer_group?: string | number | undefined;
|
|
4201
4305
|
from_wallet?: string | number | undefined;
|
|
4202
4306
|
to_wallet?: string | number | undefined;
|
|
4307
|
+
reverses?: {
|
|
4308
|
+
id: number;
|
|
4309
|
+
identifier?: string | undefined;
|
|
4310
|
+
} | {
|
|
4311
|
+
identifier: string;
|
|
4312
|
+
id?: number | undefined;
|
|
4313
|
+
} | undefined;
|
|
4203
4314
|
}>>;
|
|
4204
4315
|
setFlags: import("../lib/validation").ZodValidator<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
4205
4316
|
allow_timestamps: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
@@ -4381,13 +4492,17 @@ export declare const ClientValidators: {
|
|
|
4381
4492
|
metadata?: import("../db/consts").Metadata | undefined;
|
|
4382
4493
|
transfer_status?: "finished" | "cancelled" | undefined;
|
|
4383
4494
|
}>>;
|
|
4384
|
-
updateTransferGroups: import("../lib/validation").ZodValidator<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
4495
|
+
updateTransferGroups: import("../lib/validation").ZodValidator<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
|
|
4496
|
+
identifier: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
4385
4497
|
transfer_status: import("zod").ZodOptional<import("zod").ZodEnum<["finished", "cancelled"]>>;
|
|
4386
4498
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["open", "closed"]>>>;
|
|
4387
|
-
reverses: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]
|
|
4499
|
+
reverses: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
4500
|
+
foreign: string;
|
|
4501
|
+
}, string | number>>;
|
|
4388
4502
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["regular", "exchange", "distribution"]>>;
|
|
4389
4503
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
4390
|
-
|
|
4504
|
+
}, {
|
|
4505
|
+
update: import("zod").ZodEffects<import("zod").ZodObject<{
|
|
4391
4506
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["open", "closed"]>>;
|
|
4392
4507
|
transfer_status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
4393
4508
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../db/consts").Metadata, import("zod").ZodTypeDef, import("../db/consts").Metadata>>>;
|
|
@@ -4412,8 +4527,8 @@ export declare const ClientValidators: {
|
|
|
4412
4527
|
metadata?: import("../db/consts").Metadata | undefined;
|
|
4413
4528
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
4414
4529
|
transfer_metadata?: import("../db/consts").Metadata | undefined;
|
|
4415
|
-
}
|
|
4416
|
-
}
|
|
4530
|
+
}>;
|
|
4531
|
+
}>, {
|
|
4417
4532
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4418
4533
|
tracking_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4419
4534
|
transaction_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -4437,6 +4552,12 @@ export declare const ClientValidators: {
|
|
|
4437
4552
|
transfer_metadata_action?: "replace" | "extend" | undefined;
|
|
4438
4553
|
}>>;
|
|
4439
4554
|
}>, "strict", import("zod").ZodTypeAny, {
|
|
4555
|
+
update: {
|
|
4556
|
+
status?: "open" | "closed" | undefined;
|
|
4557
|
+
metadata?: import("../db/consts").Metadata | undefined;
|
|
4558
|
+
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
4559
|
+
transfer_metadata?: import("../db/consts").Metadata | undefined;
|
|
4560
|
+
};
|
|
4440
4561
|
options?: {
|
|
4441
4562
|
tracking_id?: string | undefined;
|
|
4442
4563
|
transaction_id?: string | undefined;
|
|
@@ -4447,16 +4568,19 @@ export declare const ClientValidators: {
|
|
|
4447
4568
|
} | undefined;
|
|
4448
4569
|
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
4449
4570
|
status?: "open" | "closed" | undefined;
|
|
4571
|
+
identifier?: string | number | undefined;
|
|
4450
4572
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
4451
4573
|
transfer_status?: "finished" | "cancelled" | undefined;
|
|
4452
|
-
reverses?:
|
|
4453
|
-
|
|
4574
|
+
reverses?: {
|
|
4575
|
+
foreign: string;
|
|
4576
|
+
} | undefined;
|
|
4577
|
+
}, {
|
|
4578
|
+
update: {
|
|
4454
4579
|
status?: "open" | "closed" | undefined;
|
|
4455
4580
|
metadata?: import("../db/consts").Metadata | undefined;
|
|
4456
4581
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
4457
4582
|
transfer_metadata?: import("../db/consts").Metadata | undefined;
|
|
4458
|
-
}
|
|
4459
|
-
}, {
|
|
4583
|
+
};
|
|
4460
4584
|
options?: {
|
|
4461
4585
|
tracking_id?: string | undefined;
|
|
4462
4586
|
transaction_id?: string | undefined;
|
|
@@ -4467,25 +4591,32 @@ export declare const ClientValidators: {
|
|
|
4467
4591
|
} | undefined;
|
|
4468
4592
|
type?: "regular" | "exchange" | "distribution" | undefined;
|
|
4469
4593
|
status?: "open" | "closed" | undefined;
|
|
4594
|
+
identifier?: string | number | undefined;
|
|
4470
4595
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
4471
4596
|
transfer_status?: "finished" | "cancelled" | undefined;
|
|
4472
4597
|
reverses?: string | number | undefined;
|
|
4473
|
-
update?: {
|
|
4474
|
-
status?: "open" | "closed" | undefined;
|
|
4475
|
-
metadata?: import("../db/consts").Metadata | undefined;
|
|
4476
|
-
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
4477
|
-
transfer_metadata?: import("../db/consts").Metadata | undefined;
|
|
4478
|
-
} | undefined;
|
|
4479
4598
|
}>>;
|
|
4480
|
-
updateTransfers: import("../lib/validation").ZodValidator<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
4481
|
-
|
|
4482
|
-
|
|
4483
|
-
|
|
4484
|
-
|
|
4485
|
-
|
|
4599
|
+
updateTransfers: import("../lib/validation").ZodValidator<import("zod").ZodObject<import("zod").objectUtil.extendShape<import("zod").objectUtil.extendShape<{
|
|
4600
|
+
identifier: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
4601
|
+
wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
4602
|
+
foreign: string;
|
|
4603
|
+
}, string | number>>;
|
|
4604
|
+
token: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
4605
|
+
foreign: string;
|
|
4606
|
+
}, string | number>>;
|
|
4607
|
+
from_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
4608
|
+
foreign: string;
|
|
4609
|
+
}, string | number>>;
|
|
4610
|
+
to_wallet: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
4611
|
+
foreign: string;
|
|
4612
|
+
}, string | number>>;
|
|
4613
|
+
transfer_group: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
4614
|
+
foreign: string;
|
|
4615
|
+
}, string | number>>;
|
|
4486
4616
|
status: import("zod").ZodOptional<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>;
|
|
4487
4617
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
4488
|
-
|
|
4618
|
+
}, {
|
|
4619
|
+
update: import("zod").ZodEffects<import("zod").ZodObject<{
|
|
4489
4620
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["pending", "finished", "cancelled"]>>>;
|
|
4490
4621
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../db/consts").Metadata, import("zod").ZodTypeDef, import("../db/consts").Metadata>>>;
|
|
4491
4622
|
updated_at: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodString, import("zod").ZodString]>>;
|
|
@@ -4500,8 +4631,18 @@ export declare const ClientValidators: {
|
|
|
4500
4631
|
metadata?: import("../db/consts").Metadata | undefined;
|
|
4501
4632
|
updated_at?: string | undefined;
|
|
4502
4633
|
extend_metadata?: import("../db/consts").Metadata | undefined;
|
|
4503
|
-
}
|
|
4504
|
-
|
|
4634
|
+
}>, {
|
|
4635
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
4636
|
+
metadata?: import("../db/consts").Metadata | undefined;
|
|
4637
|
+
updated_at?: string | undefined;
|
|
4638
|
+
extend_metadata?: import("../db/consts").Metadata | undefined;
|
|
4639
|
+
}, {
|
|
4640
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
4641
|
+
metadata?: import("../db/consts").Metadata | undefined;
|
|
4642
|
+
updated_at?: string | undefined;
|
|
4643
|
+
extend_metadata?: import("../db/consts").Metadata | undefined;
|
|
4644
|
+
}>;
|
|
4645
|
+
}>, {
|
|
4505
4646
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
4506
4647
|
tracking_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
4507
4648
|
transaction_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -4516,43 +4657,55 @@ export declare const ClientValidators: {
|
|
|
4516
4657
|
metadata_action?: "replace" | "extend" | undefined;
|
|
4517
4658
|
}>>;
|
|
4518
4659
|
}>, "strict", import("zod").ZodTypeAny, {
|
|
4660
|
+
update: {
|
|
4661
|
+
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
4662
|
+
metadata?: import("../db/consts").Metadata | undefined;
|
|
4663
|
+
updated_at?: string | undefined;
|
|
4664
|
+
extend_metadata?: import("../db/consts").Metadata | undefined;
|
|
4665
|
+
};
|
|
4519
4666
|
options?: {
|
|
4520
4667
|
tracking_id?: string | undefined;
|
|
4521
4668
|
transaction_id?: string | undefined;
|
|
4522
4669
|
metadata_action?: "replace" | "extend" | undefined;
|
|
4523
4670
|
} | undefined;
|
|
4524
4671
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
4672
|
+
identifier?: string | number | undefined;
|
|
4525
4673
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
4526
|
-
token?:
|
|
4527
|
-
|
|
4528
|
-
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
|
|
4674
|
+
token?: {
|
|
4675
|
+
foreign: string;
|
|
4676
|
+
} | undefined;
|
|
4677
|
+
wallet?: {
|
|
4678
|
+
foreign: string;
|
|
4679
|
+
} | undefined;
|
|
4680
|
+
transfer_group?: {
|
|
4681
|
+
foreign: string;
|
|
4682
|
+
} | undefined;
|
|
4683
|
+
from_wallet?: {
|
|
4684
|
+
foreign: string;
|
|
4685
|
+
} | undefined;
|
|
4686
|
+
to_wallet?: {
|
|
4687
|
+
foreign: string;
|
|
4688
|
+
} | undefined;
|
|
4689
|
+
}, {
|
|
4690
|
+
update: {
|
|
4532
4691
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
4533
4692
|
metadata?: import("../db/consts").Metadata | undefined;
|
|
4534
4693
|
updated_at?: string | undefined;
|
|
4535
4694
|
extend_metadata?: import("../db/consts").Metadata | undefined;
|
|
4536
|
-
}
|
|
4537
|
-
}, {
|
|
4695
|
+
};
|
|
4538
4696
|
options?: {
|
|
4539
4697
|
tracking_id?: string | undefined;
|
|
4540
4698
|
transaction_id?: string | undefined;
|
|
4541
4699
|
metadata_action?: "replace" | "extend" | undefined;
|
|
4542
4700
|
} | undefined;
|
|
4543
4701
|
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
4702
|
+
identifier?: string | number | undefined;
|
|
4544
4703
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
4545
4704
|
token?: string | number | undefined;
|
|
4546
4705
|
wallet?: string | number | undefined;
|
|
4547
4706
|
transfer_group?: string | number | undefined;
|
|
4548
4707
|
from_wallet?: string | number | undefined;
|
|
4549
4708
|
to_wallet?: string | number | undefined;
|
|
4550
|
-
update?: {
|
|
4551
|
-
status?: "pending" | "finished" | "cancelled" | undefined;
|
|
4552
|
-
metadata?: import("../db/consts").Metadata | undefined;
|
|
4553
|
-
updated_at?: string | undefined;
|
|
4554
|
-
extend_metadata?: import("../db/consts").Metadata | undefined;
|
|
4555
|
-
} | undefined;
|
|
4556
4709
|
}>>;
|
|
4557
4710
|
updateWallet: import("../lib/validation").ZodValidator<import("zod").ZodObject<import("zod").objectUtil.extendShape<{
|
|
4558
4711
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["active", "disabled"]>>>;
|