wapi-client 0.12.5-beta.3 → 0.12.5-beta.6
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/http-client.browser.cjs +2 -2
- package/dist/api/http-client.browser.js +2 -2
- package/dist/api/ws-client.browser.cjs +1 -1
- package/dist/api/ws-client.browser.js +1 -1
- package/dist/client-options.schema.zod.browser.cjs +1 -1
- package/dist/client-options.schema.zod.browser.js +1 -1
- package/dist/client.browser.cjs +12 -36
- package/dist/client.browser.js +12 -36
- package/dist/client.cjs +12 -36
- package/dist/client.d.ts +49 -59
- package/dist/client.js +12 -36
- package/dist/db/consts.browser.cjs +1 -1
- package/dist/db/consts.browser.js +1 -1
- package/dist/db/index.d.ts +5 -0
- package/dist/db/token/token.schema.zod.browser.cjs +1 -1
- package/dist/db/token/token.schema.zod.browser.js +1 -1
- package/dist/db/transfer/transfer.schema.zod.browser.cjs +1 -1
- package/dist/db/transfer/transfer.schema.zod.browser.js +1 -1
- package/dist/db/transfer-group/transfer-group.schema.zod.browser.cjs +7 -9
- package/dist/db/transfer-group/transfer-group.schema.zod.browser.js +7 -9
- package/dist/db/transfer-group/transfer-group.schema.zod.cjs +6 -8
- package/dist/db/transfer-group/transfer-group.schema.zod.js +6 -8
- package/dist/db/transfer-log/transfer-log.schema.zod.browser.cjs +2 -2
- package/dist/db/transfer-log/transfer-log.schema.zod.browser.js +2 -2
- package/dist/db/transfer-log/transfer-log.schema.zod.cjs +1 -1
- package/dist/db/transfer-log/transfer-log.schema.zod.js +1 -1
- package/dist/db/wallet/wallet.schema.zod.browser.cjs +1 -1
- package/dist/db/wallet/wallet.schema.zod.browser.js +1 -1
- package/dist/db/wallet-token-setting/wallet-token-setting.schema.zod.browser.cjs +1 -1
- package/dist/db/wallet-token-setting/wallet-token-setting.schema.zod.browser.js +1 -1
- package/dist/db/wapi-setting/wapi-setting.schema.zod.browser.cjs +1 -1
- package/dist/db/wapi-setting/wapi-setting.schema.zod.browser.js +1 -1
- package/dist/db/wapi-statistic/wapi-statistic.schema.zod.browser.cjs +1 -1
- package/dist/db/wapi-statistic/wapi-statistic.schema.zod.browser.js +1 -1
- package/dist/fns/aggregate-transfers/aggregate-transfers.d.ts +9 -10
- package/dist/fns/aggregate-transfers/aggregate-transfers.schema.zod.browser.cjs +1 -1
- package/dist/fns/aggregate-transfers/aggregate-transfers.schema.zod.browser.js +1 -1
- package/dist/fns/aggregate-transfers/aggregate-transfers.schema.zod.d.ts +9 -9
- package/dist/fns/consts.browser.cjs +1 -1
- package/dist/fns/consts.browser.js +1 -1
- package/dist/fns/consts.d.ts +4 -4
- package/dist/fns/create-access-token/create-access-token.schema.zod.browser.cjs +1 -1
- package/dist/fns/create-access-token/create-access-token.schema.zod.browser.js +1 -1
- package/dist/fns/create-access-token/create-access-token.schema.zod.d.ts +6 -8
- package/dist/fns/create-contract/create-contract.schema.zod.browser.cjs +1 -1
- package/dist/fns/create-contract/create-contract.schema.zod.browser.js +1 -1
- package/dist/fns/create-contract/create-contract.schema.zod.d.ts +15 -15
- package/dist/fns/create-deposit/create-deposit.schema.zod.browser.cjs +1 -1
- package/dist/fns/create-deposit/create-deposit.schema.zod.browser.js +1 -1
- package/dist/fns/create-deposit/create-deposit.schema.zod.d.ts +6 -6
- package/dist/fns/create-exchange/create-exchange.schema.zod.browser.cjs +1 -1
- package/dist/fns/create-exchange/create-exchange.schema.zod.browser.js +1 -1
- package/dist/fns/create-exchange/create-exchange.schema.zod.d.ts +11 -11
- package/dist/fns/create-token/create-token.schema.zod.d.ts +3 -3
- package/dist/fns/create-transfer/create-transfer.schema.zod.browser.cjs +1 -1
- package/dist/fns/create-transfer/create-transfer.schema.zod.browser.js +1 -1
- package/dist/fns/create-transfer/create-transfer.schema.zod.d.ts +3 -3
- package/dist/fns/create-transfer-group/create-transfer-group.schema.zod.browser.cjs +1 -1
- package/dist/fns/create-transfer-group/create-transfer-group.schema.zod.browser.js +1 -1
- package/dist/fns/create-transfer-group/create-transfer-group.schema.zod.d.ts +11 -11
- package/dist/fns/create-transfers/create-transfers.schema.zod.browser.cjs +1 -1
- package/dist/fns/create-transfers/create-transfers.schema.zod.browser.js +1 -1
- package/dist/fns/create-transfers/create-transfers.schema.zod.d.ts +3 -3
- package/dist/fns/create-wallet/create-wallet.schema.zod.d.ts +3 -3
- package/dist/fns/create-withdrawal/create-withdrawal.schema.zod.browser.cjs +1 -1
- package/dist/fns/create-withdrawal/create-withdrawal.schema.zod.browser.js +1 -1
- package/dist/fns/create-withdrawal/create-withdrawal.schema.zod.d.ts +6 -6
- package/dist/fns/export-balance-history/export-balance-history.schema.zod.browser.cjs +1 -1
- package/dist/fns/export-balance-history/export-balance-history.schema.zod.browser.js +1 -1
- package/dist/fns/export-balance-history/export-balance-history.schema.zod.d.ts +3 -3
- package/dist/fns/export-tokens/export-tokens.d.ts +3 -4
- package/dist/fns/export-tokens/export-tokens.schema.zod.d.ts +9 -11
- package/dist/fns/export-transfer-groups/export-transfer-groups.d.ts +3 -4
- package/dist/fns/export-transfer-groups/export-transfer-groups.schema.zod.d.ts +9 -11
- package/dist/fns/export-transfers/export-transfers.d.ts +3 -4
- package/dist/fns/export-transfers/export-transfers.schema.zod.d.ts +9 -11
- package/dist/fns/export-wallets/export-wallets.d.ts +3 -4
- package/dist/fns/export-wallets/export-wallets.schema.zod.d.ts +9 -11
- package/dist/fns/find-balances/find-balances.d.ts +3 -4
- package/dist/fns/find-balances/find-balances.schema.zod.browser.cjs +1 -1
- package/dist/fns/find-balances/find-balances.schema.zod.browser.js +1 -1
- package/dist/fns/find-balances/find-balances.schema.zod.d.ts +9 -11
- package/dist/fns/find-tokens/find-tokens.d.ts +3 -4
- package/dist/fns/find-tokens/find-tokens.schema.zod.browser.cjs +1 -1
- package/dist/fns/find-tokens/find-tokens.schema.zod.browser.js +1 -1
- package/dist/fns/find-tokens/find-tokens.schema.zod.d.ts +9 -11
- package/dist/fns/find-transfer-groups/find-transfer-groups.d.ts +3 -4
- package/dist/fns/find-transfer-groups/find-transfer-groups.schema.zod.browser.cjs +1 -1
- package/dist/fns/find-transfer-groups/find-transfer-groups.schema.zod.browser.js +1 -1
- package/dist/fns/find-transfer-groups/find-transfer-groups.schema.zod.d.ts +9 -11
- package/dist/fns/find-transfers/find-transfers.d.ts +3 -4
- package/dist/fns/find-transfers/find-transfers.schema.zod.browser.cjs +1 -1
- package/dist/fns/find-transfers/find-transfers.schema.zod.browser.js +1 -1
- package/dist/fns/find-transfers/find-transfers.schema.zod.d.ts +16 -18
- package/dist/fns/find-wallets/find-wallets.d.ts +3 -4
- package/dist/fns/find-wallets/find-wallets.schema.zod.browser.cjs +1 -1
- package/dist/fns/find-wallets/find-wallets.schema.zod.browser.js +1 -1
- package/dist/fns/find-wallets/find-wallets.schema.zod.d.ts +9 -11
- package/dist/fns/get-balance/get-balance.schema.zod.browser.cjs +1 -1
- package/dist/fns/get-balance/get-balance.schema.zod.browser.js +1 -1
- package/dist/fns/get-balance/get-balance.schema.zod.d.ts +3 -3
- package/dist/fns/get-balance-history/get-balance-history.schema.zod.browser.cjs +1 -1
- package/dist/fns/get-balance-history/get-balance-history.schema.zod.browser.js +1 -1
- package/dist/fns/get-balance-history/get-balance-history.schema.zod.d.ts +3 -3
- package/dist/fns/get-export/get-export.schema.zod.browser.cjs +1 -1
- package/dist/fns/get-export/get-export.schema.zod.browser.js +1 -1
- package/dist/fns/get-export/get-export.schema.zod.d.ts +3 -3
- package/dist/fns/get-flags/get-flags.schema.zod.browser.cjs +1 -1
- package/dist/fns/get-flags/get-flags.schema.zod.browser.js +1 -1
- package/dist/fns/get-statistics/get-statistics.schema.zod.browser.cjs +1 -1
- package/dist/fns/get-statistics/get-statistics.schema.zod.browser.js +1 -1
- package/dist/fns/get-token/get-token.schema.zod.browser.cjs +1 -1
- package/dist/fns/get-token/get-token.schema.zod.browser.js +1 -1
- package/dist/fns/get-token/get-token.schema.zod.d.ts +3 -3
- package/dist/fns/get-transfer/get-transfer.schema.zod.browser.cjs +1 -1
- package/dist/fns/get-transfer/get-transfer.schema.zod.browser.js +1 -1
- package/dist/fns/get-transfer/get-transfer.schema.zod.d.ts +6 -6
- package/dist/fns/get-transfer-group/get-transfer-group.schema.zod.browser.cjs +1 -1
- package/dist/fns/get-transfer-group/get-transfer-group.schema.zod.browser.js +1 -1
- package/dist/fns/get-transfer-group/get-transfer-group.schema.zod.d.ts +3 -3
- package/dist/fns/get-wallet/get-wallet.schema.zod.browser.cjs +1 -1
- package/dist/fns/get-wallet/get-wallet.schema.zod.browser.js +1 -1
- package/dist/fns/get-wallet/get-wallet.schema.zod.d.ts +3 -3
- package/dist/fns/healthcheck/healthcheck.schema.zod.browser.cjs +1 -1
- package/dist/fns/healthcheck/healthcheck.schema.zod.browser.js +1 -1
- package/dist/fns/index.d.ts +143 -154
- package/dist/fns/list-exports/list-exports.schema.zod.browser.cjs +1 -1
- package/dist/fns/list-exports/list-exports.schema.zod.browser.js +1 -1
- package/dist/fns/list-exports/list-exports.schema.zod.d.ts +9 -11
- package/dist/fns/reverse-transfer/reverse-transfer.schema.zod.browser.cjs +1 -1
- package/dist/fns/reverse-transfer/reverse-transfer.schema.zod.browser.js +1 -1
- package/dist/fns/reverse-transfer/reverse-transfer.schema.zod.d.ts +6 -6
- package/dist/fns/reverse-transfer-group/reverse-transfer-group.schema.zod.browser.cjs +1 -1
- package/dist/fns/reverse-transfer-group/reverse-transfer-group.schema.zod.browser.js +1 -1
- package/dist/fns/reverse-transfer-group/reverse-transfer-group.schema.zod.d.ts +6 -6
- package/dist/fns/reverse-transfers/reverse-transfers.d.ts +2 -2
- package/dist/fns/reverse-transfers/reverse-transfers.schema.zod.d.ts +11 -11
- package/dist/fns/set-flags/set-flags.schema.zod.d.ts +3 -3
- package/dist/fns/update-token/update-token.schema.zod.browser.cjs +1 -1
- package/dist/fns/update-token/update-token.schema.zod.browser.js +1 -1
- package/dist/fns/update-token/update-token.schema.zod.d.ts +9 -9
- package/dist/fns/update-transfer/update-transfer.schema.zod.browser.cjs +1 -1
- package/dist/fns/update-transfer/update-transfer.schema.zod.browser.js +1 -1
- package/dist/fns/update-transfer/update-transfer.schema.zod.d.ts +6 -6
- package/dist/fns/update-transfer-group/update-transfer-group.schema.zod.browser.cjs +1 -1
- package/dist/fns/update-transfer-group/update-transfer-group.schema.zod.browser.js +1 -1
- package/dist/fns/update-transfer-group/update-transfer-group.schema.zod.d.ts +6 -6
- package/dist/fns/update-transfer-groups/update-transfer-groups.d.ts +5 -5
- package/dist/fns/update-transfer-groups/update-transfer-groups.schema.zod.browser.cjs +1 -1
- package/dist/fns/update-transfer-groups/update-transfer-groups.schema.zod.browser.js +1 -1
- package/dist/fns/update-transfer-groups/update-transfer-groups.schema.zod.d.ts +24 -24
- package/dist/fns/update-transfers/update-transfers.d.ts +3 -3
- package/dist/fns/update-transfers/update-transfers.schema.zod.browser.cjs +1 -1
- package/dist/fns/update-transfers/update-transfers.schema.zod.browser.js +1 -1
- package/dist/fns/update-transfers/update-transfers.schema.zod.d.ts +18 -18
- package/dist/fns/update-wallet/update-wallet.schema.zod.browser.cjs +1 -1
- package/dist/fns/update-wallet/update-wallet.schema.zod.browser.js +1 -1
- package/dist/fns/update-wallet/update-wallet.schema.zod.d.ts +3 -3
- package/dist/lib/env.browser.cjs +1 -1
- package/dist/lib/env.browser.js +1 -1
- package/dist/lib/env.cjs +1 -1
- package/dist/lib/env.js +1 -1
- package/dist/lib/query-builder/aggregate-query-builder.d.ts +6 -6
- package/dist/lib/query-builder/find-query-builder.d.ts +9 -12
- package/dist/lib/query-builder/query-builder.d.ts +6 -6
- package/dist/lib/query-builder/reverse-query-builder.d.ts +6 -6
- package/dist/lib/query-builder/update-query-builder.d.ts +6 -6
- package/dist/lib/utils.browser.cjs +4 -4
- package/dist/lib/utils.browser.js +4 -4
- package/dist/lib/utils.cjs +4 -4
- package/dist/lib/utils.js +4 -4
- 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 +1 -1
- package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.schema.zod.d.ts +15 -17
- package/dist/txs/aggregate-transfer-many/aggregate-transfer-many.schema.zod.js +1 -1
- package/dist/txs/authentication-check/authentication-check.schema.zod.browser.cjs +1 -1
- package/dist/txs/authentication-check/authentication-check.schema.zod.browser.js +1 -1
- package/dist/txs/consts.browser.cjs +1 -1
- package/dist/txs/consts.browser.js +1 -1
- package/dist/txs/consts.d.ts +14 -19
- package/dist/txs/create-access-token/create-access-token.schema.zod.browser.cjs +1 -1
- package/dist/txs/create-access-token/create-access-token.schema.zod.browser.js +1 -1
- package/dist/txs/create-contract/create-contract.schema.zod.browser.cjs +1 -1
- package/dist/txs/create-contract/create-contract.schema.zod.browser.js +1 -1
- package/dist/txs/create-contract/create-contract.schema.zod.d.ts +12 -12
- package/dist/txs/create-deposit/create-deposit.schema.zod.browser.cjs +1 -1
- package/dist/txs/create-deposit/create-deposit.schema.zod.browser.js +1 -1
- package/dist/txs/create-deposit/create-deposit.schema.zod.d.ts +6 -7
- package/dist/txs/create-distribution/create-distribution.schema.zod.browser.cjs +1 -1
- package/dist/txs/create-distribution/create-distribution.schema.zod.browser.js +1 -1
- package/dist/txs/create-distribution/create-distribution.schema.zod.d.ts +3 -3
- package/dist/txs/create-token/create-token.schema.zod.browser.cjs +1 -1
- package/dist/txs/create-token/create-token.schema.zod.browser.js +1 -1
- package/dist/txs/create-transfer/create-transfer.schema.zod.browser.cjs +1 -1
- package/dist/txs/create-transfer/create-transfer.schema.zod.browser.js +1 -1
- package/dist/txs/create-transfer/create-transfer.schema.zod.d.ts +3 -3
- package/dist/txs/create-transfer-group/create-transfer-group.schema.zod.browser.cjs +1 -3
- package/dist/txs/create-transfer-group/create-transfer-group.schema.zod.browser.js +1 -3
- package/dist/txs/create-transfer-group/create-transfer-group.schema.zod.cjs +0 -2
- package/dist/txs/create-transfer-group/create-transfer-group.schema.zod.d.ts +8 -8
- package/dist/txs/create-transfer-group/create-transfer-group.schema.zod.js +0 -2
- package/dist/txs/create-transfer-many/create-transfer-many.schema.zod.browser.cjs +1 -1
- package/dist/txs/create-transfer-many/create-transfer-many.schema.zod.browser.js +1 -1
- package/dist/txs/create-transfer-many/create-transfer-many.schema.zod.d.ts +3 -3
- package/dist/txs/create-wallet/create-wallet.schema.zod.browser.cjs +1 -1
- package/dist/txs/create-wallet/create-wallet.schema.zod.browser.js +1 -1
- package/dist/txs/create-withdrawal/create-withdrawal.schema.zod.browser.cjs +1 -1
- package/dist/txs/create-withdrawal/create-withdrawal.schema.zod.browser.js +1 -1
- package/dist/txs/create-withdrawal/create-withdrawal.schema.zod.d.ts +6 -7
- package/dist/txs/export-balance-history/export-balance-history.schema.zod.browser.cjs +1 -1
- package/dist/txs/export-balance-history/export-balance-history.schema.zod.browser.js +1 -1
- package/dist/txs/export-token-many/export-token-many.schema.zod.d.ts +9 -64
- package/dist/txs/export-transfer-group-many/export-transfer-group-many.schema.zod.d.ts +6 -8
- package/dist/txs/export-transfer-many/export-transfer-many.schema.zod.d.ts +9 -127
- package/dist/txs/export-wallet-many/export-wallet-many.schema.zod.d.ts +8 -93
- package/dist/txs/find-balance-many/find-balance-many.schema.zod.browser.cjs +1 -1
- package/dist/txs/find-balance-many/find-balance-many.schema.zod.browser.js +1 -1
- package/dist/txs/find-balance-many/find-balance-many.schema.zod.d.ts +6 -8
- package/dist/txs/find-token-many/find-token-many.schema.zod.browser.cjs +1 -1
- package/dist/txs/find-token-many/find-token-many.schema.zod.browser.js +1 -1
- package/dist/txs/find-token-many/find-token-many.schema.zod.d.ts +6 -8
- package/dist/txs/find-transfer-group-many/find-transfer-group-many.schema.zod.browser.cjs +1 -1
- package/dist/txs/find-transfer-group-many/find-transfer-group-many.schema.zod.browser.js +1 -1
- package/dist/txs/find-transfer-group-many/find-transfer-group-many.schema.zod.d.ts +9 -11
- package/dist/txs/find-transfer-many/find-transfer-many.schema.zod.browser.cjs +1 -1
- package/dist/txs/find-transfer-many/find-transfer-many.schema.zod.browser.js +1 -1
- package/dist/txs/find-transfer-many/find-transfer-many.schema.zod.d.ts +13 -15
- package/dist/txs/find-wallet-many/find-wallet-many.schema.zod.browser.cjs +1 -1
- package/dist/txs/find-wallet-many/find-wallet-many.schema.zod.browser.js +1 -1
- package/dist/txs/find-wallet-many/find-wallet-many.schema.zod.d.ts +6 -8
- package/dist/txs/finish-transaction/finish-transaction.schema.zod.browser.cjs +1 -1
- package/dist/txs/finish-transaction/finish-transaction.schema.zod.browser.js +1 -1
- package/dist/txs/get-balance/get-balance.schema.zod.browser.cjs +1 -1
- package/dist/txs/get-balance/get-balance.schema.zod.browser.js +1 -1
- package/dist/txs/get-balance-history/get-balance-history.schema.zod.browser.cjs +1 -1
- package/dist/txs/get-balance-history/get-balance-history.schema.zod.browser.js +1 -1
- package/dist/txs/get-export/get-export.schema.zod.browser.cjs +1 -1
- package/dist/txs/get-export/get-export.schema.zod.browser.js +1 -1
- package/dist/txs/get-flags/get-flags.schema.zod.browser.cjs +1 -1
- package/dist/txs/get-flags/get-flags.schema.zod.browser.js +1 -1
- package/dist/txs/get-statistics/get-statistics.schema.zod.browser.cjs +1 -1
- package/dist/txs/get-statistics/get-statistics.schema.zod.browser.js +1 -1
- package/dist/txs/get-statistics/get-statistics.schema.zod.d.ts +9 -12
- package/dist/txs/get-token/get-token.schema.zod.browser.cjs +1 -1
- package/dist/txs/get-token/get-token.schema.zod.browser.js +1 -1
- package/dist/txs/get-token/get-token.schema.zod.d.ts +3 -3
- package/dist/txs/get-token-many/get-token-many.schema.zod.browser.cjs +1 -1
- package/dist/txs/get-token-many/get-token-many.schema.zod.browser.js +1 -1
- package/dist/txs/get-transfer/get-transfer.schema.zod.browser.cjs +1 -1
- package/dist/txs/get-transfer/get-transfer.schema.zod.browser.js +1 -1
- package/dist/txs/get-transfer/get-transfer.schema.zod.d.ts +16 -18
- package/dist/txs/get-transfer-group/get-transfer-group.schema.zod.browser.cjs +1 -1
- package/dist/txs/get-transfer-group/get-transfer-group.schema.zod.browser.js +1 -1
- package/dist/txs/get-wallet/get-wallet.schema.zod.browser.cjs +1 -1
- package/dist/txs/get-wallet/get-wallet.schema.zod.browser.js +1 -1
- package/dist/txs/get-wallet/get-wallet.schema.zod.d.ts +3 -3
- package/dist/txs/get-wallet-many/get-wallet-many.schema.zod.browser.cjs +1 -1
- package/dist/txs/get-wallet-many/get-wallet-many.schema.zod.browser.js +1 -1
- package/dist/txs/healthcheck/healthcheck.schema.zod.browser.cjs +1 -1
- package/dist/txs/healthcheck/healthcheck.schema.zod.browser.js +1 -1
- package/dist/txs/import-actions/import-actions.schema.zod.browser.cjs +1 -1
- package/dist/txs/import-actions/import-actions.schema.zod.browser.js +1 -1
- package/dist/txs/import-actions/import-actions.schema.zod.d.ts +12 -12
- package/dist/txs/list-export-many/list-export-many.schema.zod.browser.cjs +1 -1
- package/dist/txs/list-export-many/list-export-many.schema.zod.browser.js +1 -1
- package/dist/txs/list-export-many/list-export-many.schema.zod.d.ts +9 -12
- package/dist/txs/query-logs/query-logs.schema.zod.browser.cjs +1 -1
- package/dist/txs/query-logs/query-logs.schema.zod.browser.js +1 -1
- package/dist/txs/reset-database/reset-database.schema.zod.browser.cjs +1 -1
- package/dist/txs/reset-database/reset-database.schema.zod.browser.js +1 -1
- package/dist/txs/reverse-transfer/reverse-transfer.schema.zod.browser.cjs +1 -1
- package/dist/txs/reverse-transfer/reverse-transfer.schema.zod.browser.js +1 -1
- package/dist/txs/reverse-transfer/reverse-transfer.schema.zod.d.ts +3 -3
- package/dist/txs/reverse-transfer-group/reverse-transfer-group.schema.zod.browser.cjs +1 -1
- package/dist/txs/reverse-transfer-group/reverse-transfer-group.schema.zod.browser.js +1 -1
- package/dist/txs/reverse-transfer-group/reverse-transfer-group.schema.zod.d.ts +3 -3
- package/dist/txs/reverse-transfer-group-many/reverse-transfer-group-many.schema.zod.browser.cjs +2 -2
- package/dist/txs/reverse-transfer-group-many/reverse-transfer-group-many.schema.zod.browser.js +2 -2
- package/dist/txs/reverse-transfer-group-many/reverse-transfer-group-many.schema.zod.cjs +1 -1
- package/dist/txs/reverse-transfer-group-many/reverse-transfer-group-many.schema.zod.d.ts +14 -14
- package/dist/txs/reverse-transfer-group-many/reverse-transfer-group-many.schema.zod.js +1 -1
- package/dist/txs/reverse-transfer-many/reverse-transfer-many.schema.zod.browser.cjs +2 -2
- package/dist/txs/reverse-transfer-many/reverse-transfer-many.schema.zod.browser.js +2 -2
- package/dist/txs/reverse-transfer-many/reverse-transfer-many.schema.zod.cjs +1 -1
- package/dist/txs/reverse-transfer-many/reverse-transfer-many.schema.zod.d.ts +8 -8
- package/dist/txs/reverse-transfer-many/reverse-transfer-many.schema.zod.js +1 -1
- package/dist/txs/set-flags/set-flags.schema.zod.browser.cjs +1 -1
- package/dist/txs/set-flags/set-flags.schema.zod.browser.js +1 -1
- package/dist/txs/start-transaction/start-transaction.schema.zod.browser.cjs +1 -1
- package/dist/txs/start-transaction/start-transaction.schema.zod.browser.js +1 -1
- package/dist/txs/update-token/update-token.schema.zod.browser.cjs +1 -1
- package/dist/txs/update-token/update-token.schema.zod.browser.js +1 -1
- package/dist/txs/update-token/update-token.schema.zod.d.ts +6 -6
- package/dist/txs/update-transfer/update-transfer.schema.zod.browser.cjs +1 -1
- package/dist/txs/update-transfer/update-transfer.schema.zod.browser.js +1 -1
- package/dist/txs/update-transfer/update-transfer.schema.zod.d.ts +3 -3
- package/dist/txs/update-transfer-group/update-transfer-group.schema.zod.browser.cjs +1 -1
- package/dist/txs/update-transfer-group/update-transfer-group.schema.zod.browser.js +1 -1
- package/dist/txs/update-transfer-group/update-transfer-group.schema.zod.d.ts +3 -3
- package/dist/txs/update-transfer-group-many/update-transfer-group-many.schema.zod.browser.cjs +2 -2
- package/dist/txs/update-transfer-group-many/update-transfer-group-many.schema.zod.browser.js +2 -2
- package/dist/txs/update-transfer-group-many/update-transfer-group-many.schema.zod.cjs +1 -1
- package/dist/txs/update-transfer-group-many/update-transfer-group-many.schema.zod.d.ts +17 -17
- package/dist/txs/update-transfer-group-many/update-transfer-group-many.schema.zod.js +1 -1
- package/dist/txs/update-transfer-many/update-transfer-many.schema.zod.browser.cjs +2 -2
- package/dist/txs/update-transfer-many/update-transfer-many.schema.zod.browser.js +2 -2
- package/dist/txs/update-transfer-many/update-transfer-many.schema.zod.cjs +1 -1
- package/dist/txs/update-transfer-many/update-transfer-many.schema.zod.d.ts +11 -11
- package/dist/txs/update-transfer-many/update-transfer-many.schema.zod.js +1 -1
- package/dist/txs/update-wallet/update-wallet.schema.zod.browser.cjs +1 -1
- package/dist/txs/update-wallet/update-wallet.schema.zod.browser.js +1 -1
- package/dist/types/wapi-client.d.ts +854 -1192
- package/dist/wapi-client-web.iife.js +2 -2
- package/dist/wapi-client.d.ts +3 -3
- package/dist/wapi-client.iife.js +2 -2
- package/dist/wapi-client.js +3 -3
- package/package.json +1 -1
- package/dist/db/token/token.schema.input.json +0 -44
- package/dist/db/token/token.schema.json +0 -124
- package/dist/db/token/token.schema.optional.json +0 -62
|
@@ -43,7 +43,7 @@ export declare const createDepositInputSchema: z.ZodObject<{
|
|
|
43
43
|
created_at?: string | undefined;
|
|
44
44
|
transfer_group?: string | number | undefined;
|
|
45
45
|
}>;
|
|
46
|
-
export declare const createDepositFnInputSchema: z.ZodObject<
|
|
46
|
+
export declare const createDepositFnInputSchema: z.ZodObject<{
|
|
47
47
|
status: z.ZodOptional<z.ZodEnum<["pending", "finished"]>>;
|
|
48
48
|
identifier: z.ZodOptional<z.ZodString>;
|
|
49
49
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodType<import("../../db/consts").Metadata, z.ZodTypeDef, import("../../db/consts").Metadata>>>;
|
|
@@ -52,7 +52,7 @@ export declare const createDepositFnInputSchema: z.ZodObject<z.objectUtil.extend
|
|
|
52
52
|
amount: z.ZodUnion<[z.ZodNumber, z.ZodString]>;
|
|
53
53
|
wallet: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
54
54
|
transfer_group: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
55
|
-
}
|
|
55
|
+
} & {
|
|
56
56
|
options: z.ZodOptional<z.ZodObject<{
|
|
57
57
|
tracking_id: z.ZodOptional<z.ZodString>;
|
|
58
58
|
transaction_id: z.ZodOptional<z.ZodString>;
|
|
@@ -69,7 +69,7 @@ export declare const createDepositFnInputSchema: z.ZodObject<z.objectUtil.extend
|
|
|
69
69
|
create_wallet_if_not_exists?: boolean | undefined;
|
|
70
70
|
return_balance?: boolean | undefined;
|
|
71
71
|
}>>;
|
|
72
|
-
}
|
|
72
|
+
}, "strict", z.ZodTypeAny, {
|
|
73
73
|
amount: string | number;
|
|
74
74
|
wallet: string | number;
|
|
75
75
|
options?: {
|
|
@@ -101,7 +101,7 @@ export declare const createDepositFnInputSchema: z.ZodObject<z.objectUtil.extend
|
|
|
101
101
|
transfer_group?: string | number | undefined;
|
|
102
102
|
}>;
|
|
103
103
|
export declare const createDepositFnOutputSchema: z.ZodObject<{
|
|
104
|
-
transfer: z.ZodObject<
|
|
104
|
+
transfer: z.ZodObject<{
|
|
105
105
|
id: z.ZodNumber;
|
|
106
106
|
identifier: z.ZodString;
|
|
107
107
|
control_hash: z.ZodNullable<z.ZodString>;
|
|
@@ -120,13 +120,13 @@ export declare const createDepositFnOutputSchema: z.ZodObject<{
|
|
|
120
120
|
reverses_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
121
121
|
status_finalized_at: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString]>>>;
|
|
122
122
|
group_validate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
123
|
-
}
|
|
123
|
+
} & {
|
|
124
124
|
from_wallet_foreign: z.ZodString;
|
|
125
125
|
to_wallet_foreign: z.ZodString;
|
|
126
126
|
token_foreign: z.ZodString;
|
|
127
127
|
transfer_group_identifier: z.ZodNullable<z.ZodString>;
|
|
128
128
|
reverses_identifier: z.ZodNullable<z.ZodString>;
|
|
129
|
-
}
|
|
129
|
+
}, "strict", z.ZodTypeAny, {
|
|
130
130
|
type: "transfer" | "deposit" | "withdrawal";
|
|
131
131
|
status: "pending" | "finished" | "cancelled";
|
|
132
132
|
identifier: string;
|
|
@@ -65,7 +65,7 @@ __export(create_exchange_schema_zod_exports, {
|
|
|
65
65
|
});
|
|
66
66
|
module.exports = __toCommonJS(create_exchange_schema_zod_exports);
|
|
67
67
|
|
|
68
|
-
// node_modules
|
|
68
|
+
// node_modules/zod/lib/index.mjs
|
|
69
69
|
var util;
|
|
70
70
|
(function(util2) {
|
|
71
71
|
util2.assertEqual = (val) => val;
|
|
@@ -49,7 +49,7 @@ export declare const createExchangeInputSchema: z.ZodObject<{
|
|
|
49
49
|
to_identifier?: string | undefined;
|
|
50
50
|
to_amount?: number | undefined;
|
|
51
51
|
}>;
|
|
52
|
-
export declare const createExchangeFnInputSchema: z.ZodObject<
|
|
52
|
+
export declare const createExchangeFnInputSchema: z.ZodObject<{
|
|
53
53
|
status: z.ZodOptional<z.ZodEnum<["pending", "finished"]>>;
|
|
54
54
|
identifier: z.ZodOptional<z.ZodString>;
|
|
55
55
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodType<import("../../db/consts").Metadata, z.ZodTypeDef, import("../../db/consts").Metadata>>>;
|
|
@@ -62,7 +62,7 @@ export declare const createExchangeFnInputSchema: z.ZodObject<z.objectUtil.exten
|
|
|
62
62
|
to_identifier: z.ZodOptional<z.ZodString>;
|
|
63
63
|
to_token: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
64
64
|
to_amount: z.ZodOptional<z.ZodNumber>;
|
|
65
|
-
}
|
|
65
|
+
} & {
|
|
66
66
|
options: z.ZodOptional<z.ZodObject<{
|
|
67
67
|
tracking_id: z.ZodOptional<z.ZodString>;
|
|
68
68
|
transaction_id: z.ZodOptional<z.ZodString>;
|
|
@@ -73,7 +73,7 @@ export declare const createExchangeFnInputSchema: z.ZodObject<z.objectUtil.exten
|
|
|
73
73
|
tracking_id?: string | undefined;
|
|
74
74
|
transaction_id?: string | undefined;
|
|
75
75
|
}>>;
|
|
76
|
-
}
|
|
76
|
+
}, "strict", z.ZodTypeAny, {
|
|
77
77
|
from_wallet: string | number;
|
|
78
78
|
to_wallet: string | number;
|
|
79
79
|
from_token: string | number;
|
|
@@ -152,7 +152,7 @@ export declare const createExchangeFnOutputSchema: z.ZodObject<{
|
|
|
152
152
|
validate_final_balance_only?: boolean | null | undefined;
|
|
153
153
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
154
154
|
}>;
|
|
155
|
-
transfers: z.
|
|
155
|
+
transfers: z.ZodArray<z.ZodOptional<z.ZodObject<{
|
|
156
156
|
id: z.ZodNumber;
|
|
157
157
|
identifier: z.ZodString;
|
|
158
158
|
control_hash: z.ZodNullable<z.ZodString>;
|
|
@@ -171,13 +171,13 @@ export declare const createExchangeFnOutputSchema: z.ZodObject<{
|
|
|
171
171
|
reverses_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
172
172
|
status_finalized_at: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString]>>>;
|
|
173
173
|
group_validate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
174
|
-
}
|
|
174
|
+
} & {
|
|
175
175
|
from_wallet_foreign: z.ZodString;
|
|
176
176
|
to_wallet_foreign: z.ZodString;
|
|
177
177
|
token_foreign: z.ZodString;
|
|
178
178
|
transfer_group_identifier: z.ZodNullable<z.ZodString>;
|
|
179
179
|
reverses_identifier: z.ZodNullable<z.ZodString>;
|
|
180
|
-
}
|
|
180
|
+
}, "strict", z.ZodTypeAny, {
|
|
181
181
|
type: "transfer" | "deposit" | "withdrawal";
|
|
182
182
|
status: "pending" | "finished" | "cancelled";
|
|
183
183
|
identifier: string;
|
|
@@ -225,7 +225,7 @@ export declare const createExchangeFnOutputSchema: z.ZodObject<{
|
|
|
225
225
|
reverses_id?: number | null | undefined;
|
|
226
226
|
status_finalized_at?: string | null | undefined;
|
|
227
227
|
group_validate?: boolean | null | undefined;
|
|
228
|
-
}>>, "many"
|
|
228
|
+
}>>, "many">;
|
|
229
229
|
}, "strip", z.ZodTypeAny, {
|
|
230
230
|
transfer_group: {
|
|
231
231
|
type: "regular" | "exchange" | "distribution";
|
|
@@ -242,7 +242,7 @@ export declare const createExchangeFnOutputSchema: z.ZodObject<{
|
|
|
242
242
|
transfer_status_finalized_at?: string | null | undefined;
|
|
243
243
|
validate_final_balance_only?: boolean | null | undefined;
|
|
244
244
|
};
|
|
245
|
-
transfers
|
|
245
|
+
transfers: ({
|
|
246
246
|
type: "transfer" | "deposit" | "withdrawal";
|
|
247
247
|
status: "pending" | "finished" | "cancelled";
|
|
248
248
|
identifier: string;
|
|
@@ -266,7 +266,7 @@ export declare const createExchangeFnOutputSchema: z.ZodObject<{
|
|
|
266
266
|
reverses_id?: number | null | undefined;
|
|
267
267
|
status_finalized_at?: string | null | undefined;
|
|
268
268
|
group_validate?: boolean | null | undefined;
|
|
269
|
-
} | undefined)[]
|
|
269
|
+
} | undefined)[];
|
|
270
270
|
}, {
|
|
271
271
|
transfer_group: {
|
|
272
272
|
identifier: string;
|
|
@@ -283,7 +283,7 @@ export declare const createExchangeFnOutputSchema: z.ZodObject<{
|
|
|
283
283
|
validate_final_balance_only?: boolean | null | undefined;
|
|
284
284
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
285
285
|
};
|
|
286
|
-
transfers
|
|
286
|
+
transfers: ({
|
|
287
287
|
identifier: string;
|
|
288
288
|
id: number;
|
|
289
289
|
created_at: string;
|
|
@@ -307,6 +307,6 @@ export declare const createExchangeFnOutputSchema: z.ZodObject<{
|
|
|
307
307
|
reverses_id?: number | null | undefined;
|
|
308
308
|
status_finalized_at?: string | null | undefined;
|
|
309
309
|
group_validate?: boolean | null | undefined;
|
|
310
|
-
} | undefined)[]
|
|
310
|
+
} | undefined)[];
|
|
311
311
|
}>;
|
|
312
312
|
export declare const config: {};
|
|
@@ -30,14 +30,14 @@ export declare const createTokenInputSchema: import("zod").ZodObject<{
|
|
|
30
30
|
belongs_to?: string | number | undefined;
|
|
31
31
|
divisor?: number | null | undefined;
|
|
32
32
|
}>;
|
|
33
|
-
export declare const createTokenFnInputSchema: import("zod").ZodObject<
|
|
33
|
+
export declare const createTokenFnInputSchema: import("zod").ZodObject<{
|
|
34
34
|
foreign: import("zod").ZodString;
|
|
35
35
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../../db/consts").Metadata, import("zod").ZodTypeDef, import("../../db/consts").Metadata>>>;
|
|
36
36
|
limit: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>>;
|
|
37
37
|
public: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodBoolean>>;
|
|
38
38
|
belongs_to: import("zod").ZodOptional<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>>;
|
|
39
39
|
divisor: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodNumber>>>;
|
|
40
|
-
}
|
|
40
|
+
} & {
|
|
41
41
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
42
42
|
tracking_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
43
43
|
transaction_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -48,7 +48,7 @@ export declare const createTokenFnInputSchema: import("zod").ZodObject<import("z
|
|
|
48
48
|
tracking_id?: string | undefined;
|
|
49
49
|
transaction_id?: string | undefined;
|
|
50
50
|
}>>;
|
|
51
|
-
}
|
|
51
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
52
52
|
foreign: string;
|
|
53
53
|
options?: {
|
|
54
54
|
tracking_id?: string | undefined;
|
|
@@ -69,7 +69,7 @@ __export(create_transfer_schema_zod_exports, {
|
|
|
69
69
|
});
|
|
70
70
|
module.exports = __toCommonJS(create_transfer_schema_zod_exports);
|
|
71
71
|
|
|
72
|
-
// node_modules
|
|
72
|
+
// node_modules/zod/lib/index.mjs
|
|
73
73
|
var util;
|
|
74
74
|
(function(util2) {
|
|
75
75
|
util2.assertEqual = (val) => val;
|
|
@@ -403,7 +403,7 @@ export declare const createTransferFnInputSchema: z.ZodIntersection<z.ZodUnion<[
|
|
|
403
403
|
} | undefined;
|
|
404
404
|
}>>;
|
|
405
405
|
export declare const createTransferFnOutputSchema: z.ZodObject<{
|
|
406
|
-
transfer: z.ZodObject<
|
|
406
|
+
transfer: z.ZodObject<{
|
|
407
407
|
id: z.ZodNumber;
|
|
408
408
|
identifier: z.ZodString;
|
|
409
409
|
control_hash: z.ZodNullable<z.ZodString>;
|
|
@@ -422,13 +422,13 @@ export declare const createTransferFnOutputSchema: z.ZodObject<{
|
|
|
422
422
|
reverses_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
423
423
|
status_finalized_at: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString]>>>;
|
|
424
424
|
group_validate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
425
|
-
}
|
|
425
|
+
} & {
|
|
426
426
|
from_wallet_foreign: z.ZodString;
|
|
427
427
|
to_wallet_foreign: z.ZodString;
|
|
428
428
|
token_foreign: z.ZodString;
|
|
429
429
|
transfer_group_identifier: z.ZodNullable<z.ZodString>;
|
|
430
430
|
reverses_identifier: z.ZodNullable<z.ZodString>;
|
|
431
|
-
}
|
|
431
|
+
}, "strict", z.ZodTypeAny, {
|
|
432
432
|
type: "transfer" | "deposit" | "withdrawal";
|
|
433
433
|
status: "pending" | "finished" | "cancelled";
|
|
434
434
|
identifier: string;
|
|
@@ -69,7 +69,7 @@ __export(create_transfer_group_schema_zod_exports, {
|
|
|
69
69
|
});
|
|
70
70
|
module.exports = __toCommonJS(create_transfer_group_schema_zod_exports);
|
|
71
71
|
|
|
72
|
-
// node_modules
|
|
72
|
+
// node_modules/zod/lib/index.mjs
|
|
73
73
|
var util;
|
|
74
74
|
(function(util2) {
|
|
75
75
|
util2.assertEqual = (val) => val;
|
|
@@ -388,7 +388,7 @@ export declare const createTransferGroupInput: z.ZodObject<{
|
|
|
388
388
|
latest_control_hash?: string | null | undefined;
|
|
389
389
|
})[] | undefined;
|
|
390
390
|
}>;
|
|
391
|
-
export declare const createTransferGroupFnInputSchema: z.ZodObject<
|
|
391
|
+
export declare const createTransferGroupFnInputSchema: z.ZodObject<{
|
|
392
392
|
status: z.ZodOptional<z.ZodDefault<z.ZodEnum<["open", "closed"]>>>;
|
|
393
393
|
identifier: z.ZodOptional<z.ZodString>;
|
|
394
394
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodType<import("../../db/consts").Metadata, z.ZodTypeDef, import("../../db/consts").Metadata>>>;
|
|
@@ -490,7 +490,7 @@ export declare const createTransferGroupFnInputSchema: z.ZodObject<z.objectUtil.
|
|
|
490
490
|
created_at?: string | undefined;
|
|
491
491
|
latest_control_hash?: string | null | undefined;
|
|
492
492
|
}>]>, "many">>;
|
|
493
|
-
}
|
|
493
|
+
} & {
|
|
494
494
|
options: z.ZodOptional<z.ZodOptional<z.ZodObject<{
|
|
495
495
|
tracking_id: z.ZodOptional<z.ZodString>;
|
|
496
496
|
transaction_id: z.ZodOptional<z.ZodString>;
|
|
@@ -507,7 +507,7 @@ export declare const createTransferGroupFnInputSchema: z.ZodObject<z.objectUtil.
|
|
|
507
507
|
validate_final_balance_only?: boolean | undefined;
|
|
508
508
|
create_to_wallet_if_not_exists?: boolean | undefined;
|
|
509
509
|
}>>>;
|
|
510
|
-
}
|
|
510
|
+
}, "strict", z.ZodTypeAny, {
|
|
511
511
|
options?: {
|
|
512
512
|
tracking_id?: string | undefined;
|
|
513
513
|
transaction_id?: string | undefined;
|
|
@@ -638,7 +638,7 @@ export declare const createTransferGroupFnOutputSchema: z.ZodObject<{
|
|
|
638
638
|
validate_final_balance_only?: boolean | null | undefined;
|
|
639
639
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
640
640
|
}>;
|
|
641
|
-
transfers: z.
|
|
641
|
+
transfers: z.ZodArray<z.ZodOptional<z.ZodObject<{
|
|
642
642
|
id: z.ZodNumber;
|
|
643
643
|
identifier: z.ZodString;
|
|
644
644
|
control_hash: z.ZodNullable<z.ZodString>;
|
|
@@ -657,13 +657,13 @@ export declare const createTransferGroupFnOutputSchema: z.ZodObject<{
|
|
|
657
657
|
reverses_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
658
658
|
status_finalized_at: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString]>>>;
|
|
659
659
|
group_validate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
660
|
-
}
|
|
660
|
+
} & {
|
|
661
661
|
from_wallet_foreign: z.ZodString;
|
|
662
662
|
to_wallet_foreign: z.ZodString;
|
|
663
663
|
token_foreign: z.ZodString;
|
|
664
664
|
transfer_group_identifier: z.ZodNullable<z.ZodString>;
|
|
665
665
|
reverses_identifier: z.ZodNullable<z.ZodString>;
|
|
666
|
-
}
|
|
666
|
+
}, "strict", z.ZodTypeAny, {
|
|
667
667
|
type: "transfer" | "deposit" | "withdrawal";
|
|
668
668
|
status: "pending" | "finished" | "cancelled";
|
|
669
669
|
identifier: string;
|
|
@@ -711,7 +711,7 @@ export declare const createTransferGroupFnOutputSchema: z.ZodObject<{
|
|
|
711
711
|
reverses_id?: number | null | undefined;
|
|
712
712
|
status_finalized_at?: string | null | undefined;
|
|
713
713
|
group_validate?: boolean | null | undefined;
|
|
714
|
-
}>>, "many"
|
|
714
|
+
}>>, "many">;
|
|
715
715
|
}, "strip", z.ZodTypeAny, {
|
|
716
716
|
transfer_group: {
|
|
717
717
|
type: "regular" | "exchange" | "distribution";
|
|
@@ -728,7 +728,7 @@ export declare const createTransferGroupFnOutputSchema: z.ZodObject<{
|
|
|
728
728
|
transfer_status_finalized_at?: string | null | undefined;
|
|
729
729
|
validate_final_balance_only?: boolean | null | undefined;
|
|
730
730
|
};
|
|
731
|
-
transfers
|
|
731
|
+
transfers: ({
|
|
732
732
|
type: "transfer" | "deposit" | "withdrawal";
|
|
733
733
|
status: "pending" | "finished" | "cancelled";
|
|
734
734
|
identifier: string;
|
|
@@ -752,7 +752,7 @@ export declare const createTransferGroupFnOutputSchema: z.ZodObject<{
|
|
|
752
752
|
reverses_id?: number | null | undefined;
|
|
753
753
|
status_finalized_at?: string | null | undefined;
|
|
754
754
|
group_validate?: boolean | null | undefined;
|
|
755
|
-
} | undefined)[]
|
|
755
|
+
} | undefined)[];
|
|
756
756
|
}, {
|
|
757
757
|
transfer_group: {
|
|
758
758
|
identifier: string;
|
|
@@ -769,7 +769,7 @@ export declare const createTransferGroupFnOutputSchema: z.ZodObject<{
|
|
|
769
769
|
validate_final_balance_only?: boolean | null | undefined;
|
|
770
770
|
transfer_status?: "pending" | "finished" | "cancelled" | undefined;
|
|
771
771
|
};
|
|
772
|
-
transfers
|
|
772
|
+
transfers: ({
|
|
773
773
|
identifier: string;
|
|
774
774
|
id: number;
|
|
775
775
|
created_at: string;
|
|
@@ -793,6 +793,6 @@ export declare const createTransferGroupFnOutputSchema: z.ZodObject<{
|
|
|
793
793
|
reverses_id?: number | null | undefined;
|
|
794
794
|
status_finalized_at?: string | null | undefined;
|
|
795
795
|
group_validate?: boolean | null | undefined;
|
|
796
|
-
} | undefined)[]
|
|
796
|
+
} | undefined)[];
|
|
797
797
|
}>;
|
|
798
798
|
export declare const config: {};
|
|
@@ -64,7 +64,7 @@ __export(create_transfers_schema_zod_exports, {
|
|
|
64
64
|
});
|
|
65
65
|
module.exports = __toCommonJS(create_transfers_schema_zod_exports);
|
|
66
66
|
|
|
67
|
-
// node_modules
|
|
67
|
+
// node_modules/zod/lib/index.mjs
|
|
68
68
|
var util;
|
|
69
69
|
(function(util2) {
|
|
70
70
|
util2.assertEqual = (val) => val;
|
|
@@ -229,7 +229,7 @@ export declare const createTransfersFnInputSchema: z.ZodObject<{
|
|
|
229
229
|
} | undefined;
|
|
230
230
|
}>;
|
|
231
231
|
export declare const createTransfersFnOutputSchema: z.ZodObject<{
|
|
232
|
-
transfers: z.ZodArray<z.ZodOptional<z.ZodObject<
|
|
232
|
+
transfers: z.ZodArray<z.ZodOptional<z.ZodObject<{
|
|
233
233
|
id: z.ZodNumber;
|
|
234
234
|
identifier: z.ZodString;
|
|
235
235
|
control_hash: z.ZodNullable<z.ZodString>;
|
|
@@ -248,13 +248,13 @@ export declare const createTransfersFnOutputSchema: z.ZodObject<{
|
|
|
248
248
|
reverses_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
249
249
|
status_finalized_at: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString]>>>;
|
|
250
250
|
group_validate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
251
|
-
}
|
|
251
|
+
} & {
|
|
252
252
|
from_wallet_foreign: z.ZodString;
|
|
253
253
|
to_wallet_foreign: z.ZodString;
|
|
254
254
|
token_foreign: z.ZodString;
|
|
255
255
|
transfer_group_identifier: z.ZodNullable<z.ZodString>;
|
|
256
256
|
reverses_identifier: z.ZodNullable<z.ZodString>;
|
|
257
|
-
}
|
|
257
|
+
}, "strict", z.ZodTypeAny, {
|
|
258
258
|
type: "transfer" | "deposit" | "withdrawal";
|
|
259
259
|
status: "pending" | "finished" | "cancelled";
|
|
260
260
|
identifier: string;
|
|
@@ -24,12 +24,12 @@ export declare const createWalletInputSchema: import("zod").ZodObject<{
|
|
|
24
24
|
metadata?: import("../../db/consts").Metadata | undefined;
|
|
25
25
|
name?: string | null | undefined;
|
|
26
26
|
}>;
|
|
27
|
-
export declare const createWalletFnInputSchema: import("zod").ZodObject<
|
|
27
|
+
export declare const createWalletFnInputSchema: import("zod").ZodObject<{
|
|
28
28
|
status: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["active", "disabled"]>>>;
|
|
29
29
|
foreign: import("zod").ZodString;
|
|
30
30
|
metadata: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodType<import("../../db/consts").Metadata, import("zod").ZodTypeDef, import("../../db/consts").Metadata>>>;
|
|
31
31
|
name: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodOptional<import("zod").ZodString>>>;
|
|
32
|
-
}
|
|
32
|
+
} & {
|
|
33
33
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
34
34
|
tracking_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
35
35
|
transaction_id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -40,7 +40,7 @@ export declare const createWalletFnInputSchema: import("zod").ZodObject<import("
|
|
|
40
40
|
tracking_id?: string | undefined;
|
|
41
41
|
transaction_id?: string | undefined;
|
|
42
42
|
}>>;
|
|
43
|
-
}
|
|
43
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
44
44
|
foreign: string;
|
|
45
45
|
options?: {
|
|
46
46
|
tracking_id?: string | undefined;
|
|
@@ -65,7 +65,7 @@ __export(create_withdrawal_schema_zod_exports, {
|
|
|
65
65
|
});
|
|
66
66
|
module.exports = __toCommonJS(create_withdrawal_schema_zod_exports);
|
|
67
67
|
|
|
68
|
-
// node_modules
|
|
68
|
+
// node_modules/zod/lib/index.mjs
|
|
69
69
|
var util;
|
|
70
70
|
(function(util2) {
|
|
71
71
|
util2.assertEqual = (val) => val;
|
|
@@ -43,7 +43,7 @@ export declare const createWithdrawalInputSchema: z.ZodObject<{
|
|
|
43
43
|
latest_control_hash?: string | null | undefined;
|
|
44
44
|
transfer_group?: string | number | undefined;
|
|
45
45
|
}>;
|
|
46
|
-
export declare const createWithdrawalFnInputSchema: z.ZodObject<
|
|
46
|
+
export declare const createWithdrawalFnInputSchema: z.ZodObject<{
|
|
47
47
|
status: z.ZodOptional<z.ZodEnum<["pending", "finished"]>>;
|
|
48
48
|
identifier: z.ZodOptional<z.ZodString>;
|
|
49
49
|
metadata: z.ZodOptional<z.ZodOptional<z.ZodType<import("../../db/consts").Metadata, z.ZodTypeDef, import("../../db/consts").Metadata>>>;
|
|
@@ -53,7 +53,7 @@ export declare const createWithdrawalFnInputSchema: z.ZodObject<z.objectUtil.ext
|
|
|
53
53
|
latest_control_hash: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
54
54
|
wallet: z.ZodUnion<[z.ZodString, z.ZodNumber]>;
|
|
55
55
|
transfer_group: z.ZodOptional<z.ZodUnion<[z.ZodString, z.ZodNumber]>>;
|
|
56
|
-
}
|
|
56
|
+
} & {
|
|
57
57
|
options: z.ZodOptional<z.ZodObject<{
|
|
58
58
|
tracking_id: z.ZodOptional<z.ZodString>;
|
|
59
59
|
transaction_id: z.ZodOptional<z.ZodString>;
|
|
@@ -67,7 +67,7 @@ export declare const createWithdrawalFnInputSchema: z.ZodObject<z.objectUtil.ext
|
|
|
67
67
|
transaction_id?: string | undefined;
|
|
68
68
|
return_balance?: boolean | undefined;
|
|
69
69
|
}>>;
|
|
70
|
-
}
|
|
70
|
+
}, "strict", z.ZodTypeAny, {
|
|
71
71
|
amount: string | number;
|
|
72
72
|
wallet: string | number;
|
|
73
73
|
options?: {
|
|
@@ -99,7 +99,7 @@ export declare const createWithdrawalFnInputSchema: z.ZodObject<z.objectUtil.ext
|
|
|
99
99
|
transfer_group?: string | number | undefined;
|
|
100
100
|
}>;
|
|
101
101
|
export declare const createWithdrawalFnOutputSchema: z.ZodObject<{
|
|
102
|
-
transfer: z.ZodObject<
|
|
102
|
+
transfer: z.ZodObject<{
|
|
103
103
|
id: z.ZodNumber;
|
|
104
104
|
identifier: z.ZodString;
|
|
105
105
|
control_hash: z.ZodNullable<z.ZodString>;
|
|
@@ -118,13 +118,13 @@ export declare const createWithdrawalFnOutputSchema: z.ZodObject<{
|
|
|
118
118
|
reverses_id: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
119
119
|
status_finalized_at: z.ZodOptional<z.ZodNullable<z.ZodUnion<[z.ZodString, z.ZodString, z.ZodString]>>>;
|
|
120
120
|
group_validate: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
121
|
-
}
|
|
121
|
+
} & {
|
|
122
122
|
from_wallet_foreign: z.ZodString;
|
|
123
123
|
to_wallet_foreign: z.ZodString;
|
|
124
124
|
token_foreign: z.ZodString;
|
|
125
125
|
transfer_group_identifier: z.ZodNullable<z.ZodString>;
|
|
126
126
|
reverses_identifier: z.ZodNullable<z.ZodString>;
|
|
127
|
-
}
|
|
127
|
+
}, "strict", z.ZodTypeAny, {
|
|
128
128
|
type: "transfer" | "deposit" | "withdrawal";
|
|
129
129
|
status: "pending" | "finished" | "cancelled";
|
|
130
130
|
identifier: string;
|
|
@@ -65,7 +65,7 @@ __export(export_balance_history_schema_zod_exports, {
|
|
|
65
65
|
});
|
|
66
66
|
module.exports = __toCommonJS(export_balance_history_schema_zod_exports);
|
|
67
67
|
|
|
68
|
-
// node_modules
|
|
68
|
+
// node_modules/zod/lib/index.mjs
|
|
69
69
|
var util;
|
|
70
70
|
(function(util2) {
|
|
71
71
|
util2.assertEqual = (val) => val;
|
|
@@ -42,14 +42,14 @@ export declare const exportBalanceHistoryInputSchema: z.ZodObject<{
|
|
|
42
42
|
wallet: string | number;
|
|
43
43
|
token?: string | number | undefined;
|
|
44
44
|
}>;
|
|
45
|
-
export declare const exportBalanceHistoryFnInputSchema: z.ZodObject<
|
|
45
|
+
export declare const exportBalanceHistoryFnInputSchema: z.ZodObject<{
|
|
46
46
|
token: z.ZodOptional<z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, {
|
|
47
47
|
foreign: string;
|
|
48
48
|
}, string | number>>;
|
|
49
49
|
wallet: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodNumber]>, {
|
|
50
50
|
foreign: string;
|
|
51
51
|
}, string | number>;
|
|
52
|
-
}
|
|
52
|
+
} & {
|
|
53
53
|
options: z.ZodOptional<z.ZodObject<{
|
|
54
54
|
tracking_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
55
55
|
transaction_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
@@ -75,7 +75,7 @@ export declare const exportBalanceHistoryFnInputSchema: z.ZodObject<z.objectUtil
|
|
|
75
75
|
order?: "asc" | "desc" | undefined;
|
|
76
76
|
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;
|
|
77
77
|
}>>;
|
|
78
|
-
}
|
|
78
|
+
}, "strict", z.ZodTypeAny, {
|
|
79
79
|
wallet: {
|
|
80
80
|
foreign: string;
|
|
81
81
|
};
|
|
@@ -93,13 +93,12 @@ export declare function exportTokens(options: ClientFunctionOptions, input?: Exp
|
|
|
93
93
|
offset: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
94
94
|
return_metadata_total: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
95
95
|
include_balance: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
96
|
-
order: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<
|
|
97
|
-
field: import("zod").ZodString;
|
|
96
|
+
order: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
98
97
|
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["asc", "desc"]>>>;
|
|
99
98
|
nulls: import("zod").ZodOptional<import("zod").ZodEnum<["first", "last"]>>;
|
|
100
|
-
}
|
|
99
|
+
} & {
|
|
101
100
|
field: import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "created_at", "updated_at", "limit", "public", "belongs_to", "divisor"]>;
|
|
102
|
-
}
|
|
101
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
103
102
|
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
104
103
|
direction?: "asc" | "desc" | undefined;
|
|
105
104
|
nulls?: "first" | "last" | undefined;
|
|
@@ -5,13 +5,12 @@ export declare const exportTokensFnOptionsSchema: import("zod").ZodObject<{
|
|
|
5
5
|
offset: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
6
6
|
return_metadata_total: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
7
7
|
include_balance: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
8
|
-
order: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<
|
|
9
|
-
field: import("zod").ZodString;
|
|
8
|
+
order: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
10
9
|
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["asc", "desc"]>>>;
|
|
11
10
|
nulls: import("zod").ZodOptional<import("zod").ZodEnum<["first", "last"]>>;
|
|
12
|
-
}
|
|
11
|
+
} & {
|
|
13
12
|
field: import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "created_at", "updated_at", "limit", "public", "belongs_to", "divisor"]>;
|
|
14
|
-
}
|
|
13
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
15
14
|
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
16
15
|
direction?: "asc" | "desc" | undefined;
|
|
17
16
|
nulls?: "first" | "last" | undefined;
|
|
@@ -74,14 +73,14 @@ export declare const exportTokensInputSchema: import("zod").ZodObject<{
|
|
|
74
73
|
metadata?: Record<string, string | number | boolean> | undefined;
|
|
75
74
|
belongs_to?: string | number | undefined;
|
|
76
75
|
}>;
|
|
77
|
-
export declare const exportTokensFnInputSchema: import("zod").ZodObject<
|
|
76
|
+
export declare const exportTokensFnInputSchema: import("zod").ZodObject<{
|
|
78
77
|
foreign: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, string, string | number>>;
|
|
79
78
|
type: import("zod").ZodOptional<import("zod").ZodEnum<["value", "share", "group", "contract"]>>;
|
|
80
79
|
belongs_to: import("zod").ZodOptional<import("zod").ZodEffects<import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodNumber]>, {
|
|
81
80
|
foreign: string;
|
|
82
81
|
}, string | number>>;
|
|
83
82
|
metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<[import("zod").ZodString, import("zod").ZodBoolean, import("zod").ZodNumber]>>>;
|
|
84
|
-
}
|
|
83
|
+
} & {
|
|
85
84
|
options: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
86
85
|
tracking_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
87
86
|
transaction_id: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodString>>;
|
|
@@ -89,13 +88,12 @@ export declare const exportTokensFnInputSchema: import("zod").ZodObject<import("
|
|
|
89
88
|
offset: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodNumber>>>;
|
|
90
89
|
return_metadata_total: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
91
90
|
include_balance: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodBoolean>>;
|
|
92
|
-
order: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<
|
|
93
|
-
field: import("zod").ZodString;
|
|
91
|
+
order: import("zod").ZodOptional<import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
94
92
|
direction: import("zod").ZodOptional<import("zod").ZodDefault<import("zod").ZodEnum<["asc", "desc"]>>>;
|
|
95
93
|
nulls: import("zod").ZodOptional<import("zod").ZodEnum<["first", "last"]>>;
|
|
96
|
-
}
|
|
94
|
+
} & {
|
|
97
95
|
field: import("zod").ZodEnum<["type", "status", "foreign", "metadata", "id", "created_at", "updated_at", "limit", "public", "belongs_to", "divisor"]>;
|
|
98
|
-
}
|
|
96
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
99
97
|
field: "type" | "status" | "foreign" | "metadata" | "id" | "limit" | "created_at" | "updated_at" | "public" | "belongs_to" | "divisor";
|
|
100
98
|
direction?: "asc" | "desc" | undefined;
|
|
101
99
|
nulls?: "first" | "last" | undefined;
|
|
@@ -138,7 +136,7 @@ export declare const exportTokensFnInputSchema: import("zod").ZodObject<import("
|
|
|
138
136
|
order_by?: string | undefined;
|
|
139
137
|
include_balance?: boolean | undefined;
|
|
140
138
|
}>>;
|
|
141
|
-
}
|
|
139
|
+
}, "strict", import("zod").ZodTypeAny, {
|
|
142
140
|
options?: {
|
|
143
141
|
offset?: number | undefined;
|
|
144
142
|
tracking_id?: string | undefined;
|