@otim/utils 0.0.4 → 0.0.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/index.d.mts +1858 -7
- package/dist/api/index.d.mts.map +1 -0
- package/dist/api/index.d.ts +1857 -6
- package/dist/api/index.d.ts.map +1 -1
- package/dist/api/index.js +1514 -1994
- package/dist/api/index.js.map +1 -7
- package/dist/api/index.mjs +1394 -1962
- package/dist/api/index.mjs.map +1 -7
- package/dist/api-urls-B-GTEiT3.d.mts +49 -0
- package/dist/api-urls-B-GTEiT3.d.mts.map +1 -0
- package/dist/api-urls-Cd20DG4i.js +171 -0
- package/dist/api-urls-Cd20DG4i.js.map +1 -0
- package/dist/api-urls-DJcIKBCy.mjs +135 -0
- package/dist/api-urls-DJcIKBCy.mjs.map +1 -0
- package/dist/api-urls-SKeIQMoZ.d.ts +49 -0
- package/dist/api-urls-SKeIQMoZ.d.ts.map +1 -0
- package/dist/chains/index.d.mts +13568 -16
- package/dist/chains/index.d.mts.map +1 -0
- package/dist/chains/index.d.ts +13567 -15
- package/dist/chains/index.d.ts.map +1 -1
- package/dist/chains/index.js +3615 -424
- package/dist/chains/index.js.map +1 -7
- package/dist/chains/index.mjs +3561 -440
- package/dist/chains/index.mjs.map +1 -7
- package/dist/chunk-kSYXY2_d.js +34 -0
- package/dist/client-factory-7xUSPC9I.mjs +42 -0
- package/dist/client-factory-7xUSPC9I.mjs.map +1 -0
- package/dist/client-factory-C3A4RPdj.d.ts +22 -0
- package/dist/client-factory-C3A4RPdj.d.ts.map +1 -0
- package/dist/client-factory-CTI_Nt35.js +49 -0
- package/dist/client-factory-CTI_Nt35.js.map +1 -0
- package/dist/client-factory-DOL0ZTWy.d.mts +22 -0
- package/dist/client-factory-DOL0ZTWy.d.mts.map +1 -0
- package/dist/constants.d.mts +14 -24
- package/dist/constants.d.mts.map +1 -0
- package/dist/constants.d.ts +13 -23
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +31 -46
- package/dist/constants.js.map +1 -7
- package/dist/constants.mjs +22 -26
- package/dist/constants.mjs.map +1 -7
- package/dist/date-CFzrYcjE.js +536 -0
- package/dist/date-CFzrYcjE.js.map +1 -0
- package/dist/date-gBac-Om9.mjs +313 -0
- package/dist/date-gBac-Om9.mjs.map +1 -0
- package/dist/defineProperty-DbMdhrDE.js +49 -0
- package/dist/defineProperty-DzhmunJg.mjs +43 -0
- package/dist/formatters/index.d.mts +1 -2
- package/dist/formatters/index.d.ts +1 -2
- package/dist/formatters/index.js +0 -19
- package/dist/formatters/index.mjs +1 -1
- package/dist/helpers/index.d.mts +562 -19
- package/dist/helpers/index.d.mts.map +1 -0
- package/dist/helpers/index.d.ts +561 -18
- package/dist/helpers/index.d.ts.map +1 -1
- package/dist/helpers/index.js +106 -1344
- package/dist/helpers/index.mjs +3 -1315
- package/dist/helpers-BNiSxjGq.mjs +895 -0
- package/dist/helpers-BNiSxjGq.mjs.map +1 -0
- package/dist/helpers-DoC7Xl12.js +1291 -0
- package/dist/helpers-DoC7Xl12.js.map +1 -0
- package/dist/index-Bv0kUz4w.d.ts +540 -0
- package/dist/index-Bv0kUz4w.d.ts.map +1 -0
- package/dist/index-DartTKk2.d.mts +540 -0
- package/dist/index-DartTKk2.d.mts.map +1 -0
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +0 -2
- package/dist/index.mjs +1 -1
- package/dist/instructions/index.d.mts +687 -6
- package/dist/instructions/index.d.mts.map +1 -0
- package/dist/instructions/index.d.ts +686 -5
- package/dist/instructions/index.d.ts.map +1 -1
- package/dist/instructions/index.js +1912 -1091
- package/dist/instructions/index.js.map +1 -7
- package/dist/instructions/index.mjs +1887 -1058
- package/dist/instructions/index.mjs.map +1 -7
- package/dist/payments/index.d.mts +322 -16
- package/dist/payments/index.d.mts.map +1 -0
- package/dist/payments/index.d.ts +321 -15
- package/dist/payments/index.d.ts.map +1 -1
- package/dist/payments/index.js +616 -1258
- package/dist/payments/index.js.map +1 -7
- package/dist/payments/index.mjs +594 -1236
- package/dist/payments/index.mjs.map +1 -7
- package/dist/schemas/index.d.mts +2 -10
- package/dist/schemas/index.d.ts +2 -10
- package/dist/schemas/index.js +350 -393
- package/dist/schemas/index.js.map +1 -7
- package/dist/schemas/index.mjs +283 -371
- package/dist/schemas/index.mjs.map +1 -7
- package/dist/server/index.d.mts +354 -3
- package/dist/server/index.d.mts.map +1 -0
- package/dist/server/index.d.ts +353 -2
- package/dist/server/index.d.ts.map +1 -1
- package/dist/server/index.js +248 -435
- package/dist/server/index.js.map +1 -7
- package/dist/server/index.mjs +199 -404
- package/dist/server/index.mjs.map +1 -7
- package/dist/server/react.d.mts +16 -0
- package/dist/server/react.d.mts.map +1 -0
- package/dist/server/react.d.ts +16 -0
- package/dist/server/react.d.ts.map +1 -0
- package/dist/server/react.js +30 -0
- package/dist/server/react.js.map +1 -0
- package/dist/server/react.mjs +28 -0
- package/dist/server/react.mjs.map +1 -0
- package/dist/wallet/wagmi/index.d.mts +23 -2
- package/dist/wallet/wagmi/index.d.mts.map +1 -0
- package/dist/wallet/wagmi/index.d.ts +22 -1
- package/dist/wallet/wagmi/index.d.ts.map +1 -1
- package/dist/wallet/wagmi/index.js +86 -417
- package/dist/wallet/wagmi/index.js.map +1 -7
- package/dist/wallet/wagmi/index.mjs +82 -418
- package/dist/wallet/wagmi/index.mjs.map +1 -7
- package/package.json +39 -28
- package/dist/api/api.d.mts +0 -18
- package/dist/api/api.d.ts +0 -18
- package/dist/api/api.d.ts.map +0 -1
- package/dist/api/core/error.d.mts +0 -74
- package/dist/api/core/error.d.ts +0 -74
- package/dist/api/core/error.d.ts.map +0 -1
- package/dist/api/core/index.d.mts +0 -4
- package/dist/api/core/index.d.ts +0 -4
- package/dist/api/core/index.d.ts.map +0 -1
- package/dist/api/core/instance.d.mts +0 -13
- package/dist/api/core/instance.d.ts +0 -13
- package/dist/api/core/instance.d.ts.map +0 -1
- package/dist/api/core/service.d.mts +0 -51
- package/dist/api/core/service.d.ts +0 -51
- package/dist/api/core/service.d.ts.map +0 -1
- package/dist/api/schemas/account.d.mts +0 -44
- package/dist/api/schemas/account.d.ts +0 -44
- package/dist/api/schemas/account.d.ts.map +0 -1
- package/dist/api/schemas/activity.d.mts +0 -277
- package/dist/api/schemas/activity.d.ts +0 -277
- package/dist/api/schemas/activity.d.ts.map +0 -1
- package/dist/api/schemas/auth.d.mts +0 -127
- package/dist/api/schemas/auth.d.ts +0 -127
- package/dist/api/schemas/auth.d.ts.map +0 -1
- package/dist/api/schemas/chain.d.mts +0 -15
- package/dist/api/schemas/chain.d.ts +0 -15
- package/dist/api/schemas/chain.d.ts.map +0 -1
- package/dist/api/schemas/config.d.mts +0 -33
- package/dist/api/schemas/config.d.ts +0 -33
- package/dist/api/schemas/config.d.ts.map +0 -1
- package/dist/api/schemas/contacts.d.mts +0 -27
- package/dist/api/schemas/contacts.d.ts +0 -27
- package/dist/api/schemas/contacts.d.ts.map +0 -1
- package/dist/api/schemas/index.d.mts +0 -12
- package/dist/api/schemas/index.d.ts +0 -12
- package/dist/api/schemas/index.d.ts.map +0 -1
- package/dist/api/schemas/instruction.d.mts +0 -446
- package/dist/api/schemas/instruction.d.ts +0 -446
- package/dist/api/schemas/instruction.d.ts.map +0 -1
- package/dist/api/schemas/integration.d.mts +0 -166
- package/dist/api/schemas/integration.d.ts +0 -166
- package/dist/api/schemas/integration.d.ts.map +0 -1
- package/dist/api/schemas/operating-account.d.mts +0 -11
- package/dist/api/schemas/operating-account.d.ts +0 -11
- package/dist/api/schemas/operating-account.d.ts.map +0 -1
- package/dist/api/schemas/payments.d.mts +0 -234
- package/dist/api/schemas/payments.d.ts +0 -234
- package/dist/api/schemas/payments.d.ts.map +0 -1
- package/dist/api/schemas/transaction.d.mts +0 -37
- package/dist/api/schemas/transaction.d.ts +0 -37
- package/dist/api/schemas/transaction.d.ts.map +0 -1
- package/dist/api/services/account.d.mts +0 -8
- package/dist/api/services/account.d.ts +0 -8
- package/dist/api/services/account.d.ts.map +0 -1
- package/dist/api/services/activity.d.mts +0 -7
- package/dist/api/services/activity.d.ts +0 -7
- package/dist/api/services/activity.d.ts.map +0 -1
- package/dist/api/services/auth.d.mts +0 -12
- package/dist/api/services/auth.d.ts +0 -12
- package/dist/api/services/auth.d.ts.map +0 -1
- package/dist/api/services/base.d.mts +0 -10
- package/dist/api/services/base.d.ts +0 -10
- package/dist/api/services/base.d.ts.map +0 -1
- package/dist/api/services/config.d.mts +0 -10
- package/dist/api/services/config.d.ts +0 -10
- package/dist/api/services/config.d.ts.map +0 -1
- package/dist/api/services/contacts.d.mts +0 -8
- package/dist/api/services/contacts.d.ts +0 -8
- package/dist/api/services/contacts.d.ts.map +0 -1
- package/dist/api/services/developer.d.mts +0 -6
- package/dist/api/services/developer.d.ts +0 -6
- package/dist/api/services/developer.d.ts.map +0 -1
- package/dist/api/services/index.d.mts +0 -13
- package/dist/api/services/index.d.ts +0 -13
- package/dist/api/services/index.d.ts.map +0 -1
- package/dist/api/services/instruction.d.mts +0 -12
- package/dist/api/services/instruction.d.ts +0 -12
- package/dist/api/services/instruction.d.ts.map +0 -1
- package/dist/api/services/integration.d.mts +0 -8
- package/dist/api/services/integration.d.ts +0 -8
- package/dist/api/services/integration.d.ts.map +0 -1
- package/dist/api/services/operating-account.d.mts +0 -8
- package/dist/api/services/operating-account.d.ts +0 -8
- package/dist/api/services/operating-account.d.ts.map +0 -1
- package/dist/api/services/payments.d.mts +0 -14
- package/dist/api/services/payments.d.ts +0 -14
- package/dist/api/services/payments.d.ts.map +0 -1
- package/dist/api/services/transaction.d.mts +0 -8
- package/dist/api/services/transaction.d.ts +0 -8
- package/dist/api/services/transaction.d.ts.map +0 -1
- package/dist/api/services/uniswap-token-list-service.d.mts +0 -66
- package/dist/api/services/uniswap-token-list-service.d.ts +0 -66
- package/dist/api/services/uniswap-token-list-service.d.ts.map +0 -1
- package/dist/api/utils/index.d.mts +0 -2
- package/dist/api/utils/index.d.ts +0 -2
- package/dist/api/utils/index.d.ts.map +0 -1
- package/dist/api/utils/pagination.d.mts +0 -32
- package/dist/api/utils/pagination.d.ts +0 -32
- package/dist/api/utils/pagination.d.ts.map +0 -1
- package/dist/chains/config/all-chains.d.mts +0 -4243
- package/dist/chains/config/all-chains.d.ts +0 -4243
- package/dist/chains/config/all-chains.d.ts.map +0 -1
- package/dist/chains/config/custom-chains.d.mts +0 -49
- package/dist/chains/config/custom-chains.d.ts +0 -49
- package/dist/chains/config/custom-chains.d.ts.map +0 -1
- package/dist/chains/config/mainnet-chains.d.mts +0 -1063
- package/dist/chains/config/mainnet-chains.d.ts +0 -1063
- package/dist/chains/config/mainnet-chains.d.ts.map +0 -1
- package/dist/chains/config/supported-chains.d.mts +0 -2172
- package/dist/chains/config/supported-chains.d.ts +0 -2172
- package/dist/chains/config/supported-chains.d.ts.map +0 -1
- package/dist/chains/config/testnet-chains.d.mts +0 -1110
- package/dist/chains/config/testnet-chains.d.ts +0 -1110
- package/dist/chains/config/testnet-chains.d.ts.map +0 -1
- package/dist/chains/lambda/chain-mapping.d.mts +0 -55
- package/dist/chains/lambda/chain-mapping.d.ts +0 -55
- package/dist/chains/lambda/chain-mapping.d.ts.map +0 -1
- package/dist/chains/lambda/index.d.mts +0 -2
- package/dist/chains/lambda/index.d.ts +0 -2
- package/dist/chains/lambda/index.d.ts.map +0 -1
- package/dist/chains/tokens/chain-tokens.d.mts +0 -6
- package/dist/chains/tokens/chain-tokens.d.ts +0 -6
- package/dist/chains/tokens/chain-tokens.d.ts.map +0 -1
- package/dist/chains/tokens/token-addresses.d.mts +0 -8
- package/dist/chains/tokens/token-addresses.d.ts +0 -8
- package/dist/chains/tokens/token-addresses.d.ts.map +0 -1
- package/dist/chains/tokens/token-metadata.d.mts +0 -5
- package/dist/chains/tokens/token-metadata.d.ts +0 -5
- package/dist/chains/tokens/token-metadata.d.ts.map +0 -1
- package/dist/chains/types.d.mts +0 -23
- package/dist/chains/types.d.ts +0 -23
- package/dist/chains/types.d.ts.map +0 -1
- package/dist/chains/utils/filter-tokens.d.mts +0 -3
- package/dist/chains/utils/filter-tokens.d.ts +0 -3
- package/dist/chains/utils/filter-tokens.d.ts.map +0 -1
- package/dist/chains/utils/stablecoin.d.mts +0 -7
- package/dist/chains/utils/stablecoin.d.ts +0 -7
- package/dist/chains/utils/stablecoin.d.ts.map +0 -1
- package/dist/chains/utils/token-maps.d.mts +0 -10
- package/dist/chains/utils/token-maps.d.ts +0 -10
- package/dist/chains/utils/token-maps.d.ts.map +0 -1
- package/dist/env.d.mts +0 -17
- package/dist/env.d.ts +0 -17
- package/dist/env.d.ts.map +0 -1
- package/dist/formatters/index.d.ts.map +0 -1
- package/dist/formatters/index.js.map +0 -7
- package/dist/formatters/index.mjs.map +0 -7
- package/dist/helpers/address.d.mts +0 -7
- package/dist/helpers/address.d.ts +0 -7
- package/dist/helpers/address.d.ts.map +0 -1
- package/dist/helpers/blockchain.d.mts +0 -41
- package/dist/helpers/blockchain.d.ts +0 -41
- package/dist/helpers/blockchain.d.ts.map +0 -1
- package/dist/helpers/date.d.mts +0 -70
- package/dist/helpers/date.d.ts +0 -70
- package/dist/helpers/date.d.ts.map +0 -1
- package/dist/helpers/datetime.d.mts +0 -57
- package/dist/helpers/datetime.d.ts +0 -57
- package/dist/helpers/datetime.d.ts.map +0 -1
- package/dist/helpers/domain.d.mts +0 -2
- package/dist/helpers/domain.d.ts +0 -2
- package/dist/helpers/domain.d.ts.map +0 -1
- package/dist/helpers/index.js.map +0 -7
- package/dist/helpers/index.mjs.map +0 -7
- package/dist/helpers/intl.d.mts +0 -20
- package/dist/helpers/intl.d.ts +0 -20
- package/dist/helpers/intl.d.ts.map +0 -1
- package/dist/helpers/logger.d.mts +0 -26
- package/dist/helpers/logger.d.ts +0 -26
- package/dist/helpers/logger.d.ts.map +0 -1
- package/dist/helpers/mask-options.d.mts +0 -10
- package/dist/helpers/mask-options.d.ts +0 -10
- package/dist/helpers/mask-options.d.ts.map +0 -1
- package/dist/helpers/num-formatter.d.mts +0 -3
- package/dist/helpers/num-formatter.d.ts +0 -3
- package/dist/helpers/num-formatter.d.ts.map +0 -1
- package/dist/helpers/polling.d.mts +0 -39
- package/dist/helpers/polling.d.ts +0 -39
- package/dist/helpers/polling.d.ts.map +0 -1
- package/dist/helpers/random.d.mts +0 -10
- package/dist/helpers/random.d.ts +0 -10
- package/dist/helpers/random.d.ts.map +0 -1
- package/dist/helpers/sdk-loader.d.mts +0 -25
- package/dist/helpers/sdk-loader.d.ts +0 -25
- package/dist/helpers/sdk-loader.d.ts.map +0 -1
- package/dist/helpers/signatures.d.mts +0 -17
- package/dist/helpers/signatures.d.ts +0 -17
- package/dist/helpers/signatures.d.ts.map +0 -1
- package/dist/helpers/string.d.mts +0 -17
- package/dist/helpers/string.d.ts +0 -17
- package/dist/helpers/string.d.ts.map +0 -1
- package/dist/helpers/types.d.mts +0 -39
- package/dist/helpers/types.d.ts +0 -39
- package/dist/helpers/types.d.ts.map +0 -1
- package/dist/helpers/url.d.mts +0 -11
- package/dist/helpers/url.d.ts +0 -11
- package/dist/helpers/url.d.ts.map +0 -1
- package/dist/helpers/window.d.mts +0 -37
- package/dist/helpers/window.d.ts +0 -37
- package/dist/helpers/window.d.ts.map +0 -1
- package/dist/helpers/zod.d.mts +0 -51
- package/dist/helpers/zod.d.ts +0 -51
- package/dist/helpers/zod.d.ts.map +0 -1
- package/dist/index.d.ts.map +0 -1
- package/dist/index.js.map +0 -7
- package/dist/index.mjs.map +0 -7
- package/dist/instructions/actions/index.d.mts +0 -5
- package/dist/instructions/actions/index.d.ts +0 -5
- package/dist/instructions/actions/index.d.ts.map +0 -1
- package/dist/instructions/actions/refuel/index.d.mts +0 -15
- package/dist/instructions/actions/refuel/index.d.ts +0 -15
- package/dist/instructions/actions/refuel/index.d.ts.map +0 -1
- package/dist/instructions/actions/swap/index.d.mts +0 -19
- package/dist/instructions/actions/swap/index.d.ts +0 -19
- package/dist/instructions/actions/swap/index.d.ts.map +0 -1
- package/dist/instructions/actions/sweep/index.d.mts +0 -16
- package/dist/instructions/actions/sweep/index.d.ts +0 -16
- package/dist/instructions/actions/sweep/index.d.ts.map +0 -1
- package/dist/instructions/actions/transfer/index.d.mts +0 -13
- package/dist/instructions/actions/transfer/index.d.ts +0 -13
- package/dist/instructions/actions/transfer/index.d.ts.map +0 -1
- package/dist/instructions/activate.d.mts +0 -84
- package/dist/instructions/activate.d.ts +0 -84
- package/dist/instructions/activate.d.ts.map +0 -1
- package/dist/instructions/build.d.mts +0 -146
- package/dist/instructions/build.d.ts +0 -146
- package/dist/instructions/build.d.ts.map +0 -1
- package/dist/instructions/constants.d.mts +0 -9
- package/dist/instructions/constants.d.ts +0 -9
- package/dist/instructions/constants.d.ts.map +0 -1
- package/dist/instructions/contracts/artifacts/abi/build-instruction-action-arguments-abi.d.mts +0 -609
- package/dist/instructions/contracts/artifacts/abi/build-instruction-action-arguments-abi.d.ts +0 -609
- package/dist/instructions/contracts/artifacts/abi/build-instruction-action-arguments-abi.d.ts.map +0 -1
- package/dist/instructions/types.d.mts +0 -289
- package/dist/instructions/types.d.ts +0 -289
- package/dist/instructions/types.d.ts.map +0 -1
- package/dist/payments/action-names.d.mts +0 -16
- package/dist/payments/action-names.d.ts +0 -16
- package/dist/payments/action-names.d.ts.map +0 -1
- package/dist/payments/actions/index.d.mts +0 -5
- package/dist/payments/actions/index.d.ts +0 -5
- package/dist/payments/actions/index.d.ts.map +0 -1
- package/dist/payments/actions/sweep-cctp.d.mts +0 -15
- package/dist/payments/actions/sweep-cctp.d.ts +0 -15
- package/dist/payments/actions/sweep-cctp.d.ts.map +0 -1
- package/dist/payments/actions/sweep-erc20.d.mts +0 -12
- package/dist/payments/actions/sweep-erc20.d.ts +0 -12
- package/dist/payments/actions/sweep-erc20.d.ts.map +0 -1
- package/dist/payments/actions/sweep-uniswap-v3.d.mts +0 -17
- package/dist/payments/actions/sweep-uniswap-v3.d.ts +0 -17
- package/dist/payments/actions/sweep-uniswap-v3.d.ts.map +0 -1
- package/dist/payments/actions/sweep.d.mts +0 -12
- package/dist/payments/actions/sweep.d.ts +0 -12
- package/dist/payments/actions/sweep.d.ts.map +0 -1
- package/dist/payments/build.d.mts +0 -28
- package/dist/payments/build.d.ts +0 -28
- package/dist/payments/build.d.ts.map +0 -1
- package/dist/payments/chain-token-config-builder.d.mts +0 -10
- package/dist/payments/chain-token-config-builder.d.ts +0 -10
- package/dist/payments/chain-token-config-builder.d.ts.map +0 -1
- package/dist/payments/comprehensive-payment-request.d.mts +0 -26
- package/dist/payments/comprehensive-payment-request.d.ts +0 -26
- package/dist/payments/comprehensive-payment-request.d.ts.map +0 -1
- package/dist/payments/config/cctp.d.mts +0 -14
- package/dist/payments/config/cctp.d.ts +0 -14
- package/dist/payments/config/cctp.d.ts.map +0 -1
- package/dist/payments/config/index.d.mts +0 -3
- package/dist/payments/config/index.d.ts +0 -3
- package/dist/payments/config/index.d.ts.map +0 -1
- package/dist/payments/config/tokens.d.mts +0 -14
- package/dist/payments/config/tokens.d.ts +0 -14
- package/dist/payments/config/tokens.d.ts.map +0 -1
- package/dist/payments/instruction-registry.d.mts +0 -19
- package/dist/payments/instruction-registry.d.ts +0 -19
- package/dist/payments/instruction-registry.d.ts.map +0 -1
- package/dist/payments/payment-metadata-builder.d.mts +0 -56
- package/dist/payments/payment-metadata-builder.d.ts +0 -56
- package/dist/payments/payment-metadata-builder.d.ts.map +0 -1
- package/dist/payments/payment-metadata.d.mts +0 -15
- package/dist/payments/payment-metadata.d.ts +0 -15
- package/dist/payments/payment-metadata.d.ts.map +0 -1
- package/dist/payments/payment-request-token-resolver.d.mts +0 -25
- package/dist/payments/payment-request-token-resolver.d.ts +0 -25
- package/dist/payments/payment-request-token-resolver.d.ts.map +0 -1
- package/dist/payments/types.d.mts +0 -40
- package/dist/payments/types.d.ts +0 -40
- package/dist/payments/types.d.ts.map +0 -1
- package/dist/payments/validation.d.mts +0 -19
- package/dist/payments/validation.d.ts +0 -19
- package/dist/payments/validation.d.ts.map +0 -1
- package/dist/schemas/account.d.mts +0 -9
- package/dist/schemas/account.d.ts +0 -9
- package/dist/schemas/account.d.ts.map +0 -1
- package/dist/schemas/brand.d.mts +0 -7
- package/dist/schemas/brand.d.ts +0 -7
- package/dist/schemas/brand.d.ts.map +0 -1
- package/dist/schemas/contact.d.mts +0 -18
- package/dist/schemas/contact.d.ts +0 -18
- package/dist/schemas/contact.d.ts.map +0 -1
- package/dist/schemas/index.d.ts.map +0 -1
- package/dist/schemas/instruction.d.mts +0 -248
- package/dist/schemas/instruction.d.ts +0 -248
- package/dist/schemas/instruction.d.ts.map +0 -1
- package/dist/schemas/misc.d.mts +0 -36
- package/dist/schemas/misc.d.ts +0 -36
- package/dist/schemas/misc.d.ts.map +0 -1
- package/dist/schemas/payment.d.mts +0 -64
- package/dist/schemas/payment.d.ts +0 -64
- package/dist/schemas/payment.d.ts.map +0 -1
- package/dist/schemas/token.d.mts +0 -17
- package/dist/schemas/token.d.ts +0 -17
- package/dist/schemas/token.d.ts.map +0 -1
- package/dist/schemas/transaction.d.mts +0 -65
- package/dist/schemas/transaction.d.ts +0 -65
- package/dist/schemas/transaction.d.ts.map +0 -1
- package/dist/schemas/user.d.mts +0 -24
- package/dist/schemas/user.d.ts +0 -24
- package/dist/schemas/user.d.ts.map +0 -1
- package/dist/server/client.d.mts +0 -3
- package/dist/server/client.d.ts +0 -3
- package/dist/server/client.d.ts.map +0 -1
- package/dist/server/routes/account.d.mts +0 -4
- package/dist/server/routes/account.d.ts +0 -4
- package/dist/server/routes/account.d.ts.map +0 -1
- package/dist/server/routes/auth.d.mts +0 -28
- package/dist/server/routes/auth.d.ts +0 -28
- package/dist/server/routes/auth.d.ts.map +0 -1
- package/dist/server/routes/bridge.d.mts +0 -254
- package/dist/server/routes/bridge.d.ts +0 -254
- package/dist/server/routes/bridge.d.ts.map +0 -1
- package/dist/server/routes/config.d.mts +0 -3
- package/dist/server/routes/config.d.ts +0 -3
- package/dist/server/routes/config.d.ts.map +0 -1
- package/dist/server/routes/index.d.mts +0 -8
- package/dist/server/routes/index.d.ts +0 -8
- package/dist/server/routes/index.d.ts.map +0 -1
- package/dist/server/routes/instruction.d.mts +0 -4
- package/dist/server/routes/instruction.d.ts +0 -4
- package/dist/server/routes/instruction.d.ts.map +0 -1
- package/dist/server/routes/integration.d.mts +0 -4
- package/dist/server/routes/integration.d.ts +0 -4
- package/dist/server/routes/integration.d.ts.map +0 -1
- package/dist/server/routes/payments.d.mts +0 -5
- package/dist/server/routes/payments.d.ts +0 -5
- package/dist/server/routes/payments.d.ts.map +0 -1
- package/dist/server/routes/verify.d.mts +0 -3
- package/dist/server/routes/verify.d.ts +0 -3
- package/dist/server/routes/verify.d.ts.map +0 -1
- package/dist/wallet/wagmi/config.d.mts +0 -18
- package/dist/wallet/wagmi/config.d.ts +0 -18
- package/dist/wallet/wagmi/config.d.ts.map +0 -1
|
@@ -1,166 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const IntegrationType: {
|
|
3
|
-
readonly Bank: "Bank";
|
|
4
|
-
readonly Clio: "Clio";
|
|
5
|
-
readonly Stripe: "Stripe";
|
|
6
|
-
readonly QuickBooks: "QuickBooks";
|
|
7
|
-
readonly Bill: "Bill";
|
|
8
|
-
readonly Zoho: "Zoho";
|
|
9
|
-
};
|
|
10
|
-
export type IntegrationType = (typeof IntegrationType)[keyof typeof IntegrationType];
|
|
11
|
-
export declare const integrationTypeValues: readonly ["Bank", "Clio", "Stripe", "QuickBooks", "Bill", "Zoho"];
|
|
12
|
-
export declare const integrationTypeSchema: z.ZodEnum<{
|
|
13
|
-
Bank: "Bank";
|
|
14
|
-
Bill: "Bill";
|
|
15
|
-
Stripe: "Stripe";
|
|
16
|
-
Clio: "Clio";
|
|
17
|
-
QuickBooks: "QuickBooks";
|
|
18
|
-
Zoho: "Zoho";
|
|
19
|
-
}>;
|
|
20
|
-
export type IntegrationTypeEnum = z.infer<typeof integrationTypeSchema>;
|
|
21
|
-
export declare const updateIntegrationRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
22
|
-
integrationType: z.ZodLiteral<"QuickBooks">;
|
|
23
|
-
details: z.ZodObject<{
|
|
24
|
-
accessToken: z.ZodOptional<z.ZodString>;
|
|
25
|
-
refreshToken: z.ZodOptional<z.ZodString>;
|
|
26
|
-
realmId: z.ZodOptional<z.ZodString>;
|
|
27
|
-
tokenType: z.ZodOptional<z.ZodString>;
|
|
28
|
-
expiresIn: z.ZodOptional<z.ZodNumber>;
|
|
29
|
-
xRefreshTokenExpiresIn: z.ZodOptional<z.ZodNumber>;
|
|
30
|
-
}, z.core.$strip>;
|
|
31
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
32
|
-
integrationType: z.ZodLiteral<"Bank">;
|
|
33
|
-
details: z.ZodObject<{
|
|
34
|
-
plaid: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
35
|
-
accessToken: z.ZodString;
|
|
36
|
-
itemId: z.ZodString;
|
|
37
|
-
institutionId: z.ZodOptional<z.ZodString>;
|
|
38
|
-
institutionName: z.ZodOptional<z.ZodString>;
|
|
39
|
-
accounts: z.ZodArray<z.ZodObject<{
|
|
40
|
-
accountId: z.ZodString;
|
|
41
|
-
name: z.ZodOptional<z.ZodString>;
|
|
42
|
-
mask: z.ZodOptional<z.ZodString>;
|
|
43
|
-
subtype: z.ZodOptional<z.ZodString>;
|
|
44
|
-
externalAccountId: z.ZodOptional<z.ZodString>;
|
|
45
|
-
liquidationAddress: z.ZodOptional<z.ZodObject<{
|
|
46
|
-
liquidationAddressId: z.ZodString;
|
|
47
|
-
address: z.ZodString;
|
|
48
|
-
chain: z.ZodString;
|
|
49
|
-
currency: z.ZodString;
|
|
50
|
-
blockchainMemo: z.ZodOptional<z.ZodString>;
|
|
51
|
-
}, z.core.$strip>>;
|
|
52
|
-
}, z.core.$strip>>;
|
|
53
|
-
}, z.core.$strip>>>;
|
|
54
|
-
bridge: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
55
|
-
customerId: z.ZodString;
|
|
56
|
-
kycLinkId: z.ZodOptional<z.ZodString>;
|
|
57
|
-
kycLink: z.ZodOptional<z.ZodString>;
|
|
58
|
-
tosLink: z.ZodOptional<z.ZodString>;
|
|
59
|
-
completedSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
60
|
-
}, z.core.$strip>>>;
|
|
61
|
-
}, z.core.$strip>;
|
|
62
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
63
|
-
integrationType: z.ZodLiteral<"Clio">;
|
|
64
|
-
details: z.ZodUnknown;
|
|
65
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
66
|
-
integrationType: z.ZodLiteral<"Stripe">;
|
|
67
|
-
details: z.ZodObject<{
|
|
68
|
-
clientId: z.ZodOptional<z.ZodString>;
|
|
69
|
-
clientSecret: z.ZodOptional<z.ZodString>;
|
|
70
|
-
tokens: z.ZodOptional<z.ZodObject<{
|
|
71
|
-
accessToken: z.ZodString;
|
|
72
|
-
refreshToken: z.ZodOptional<z.ZodString>;
|
|
73
|
-
}, z.core.$strip>>;
|
|
74
|
-
}, z.core.$strip>;
|
|
75
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
76
|
-
integrationType: z.ZodLiteral<"Bill">;
|
|
77
|
-
details: z.ZodObject<{
|
|
78
|
-
devKey: z.ZodOptional<z.ZodString>;
|
|
79
|
-
sessionId: z.ZodOptional<z.ZodString>;
|
|
80
|
-
orgId: z.ZodOptional<z.ZodString>;
|
|
81
|
-
rememberMeId: z.ZodOptional<z.ZodString>;
|
|
82
|
-
}, z.core.$strip>;
|
|
83
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
84
|
-
integrationType: z.ZodLiteral<"Zoho">;
|
|
85
|
-
details: z.ZodUnknown;
|
|
86
|
-
}, z.core.$strip>], "integrationType">;
|
|
87
|
-
export type UpdateIntegrationRequest = z.infer<typeof updateIntegrationRequestSchema>;
|
|
88
|
-
export declare const getIntegrationRequestSchema: z.ZodObject<{
|
|
89
|
-
integrationType: z.ZodEnum<{
|
|
90
|
-
Bank: "Bank";
|
|
91
|
-
Bill: "Bill";
|
|
92
|
-
Stripe: "Stripe";
|
|
93
|
-
Clio: "Clio";
|
|
94
|
-
QuickBooks: "QuickBooks";
|
|
95
|
-
Zoho: "Zoho";
|
|
96
|
-
}>;
|
|
97
|
-
}, z.core.$strip>;
|
|
98
|
-
export type GetIntegrationRequest = z.infer<typeof getIntegrationRequestSchema>;
|
|
99
|
-
export declare const integrationResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
100
|
-
integrationType: z.ZodLiteral<"QuickBooks">;
|
|
101
|
-
details: z.ZodObject<{
|
|
102
|
-
accessToken: z.ZodOptional<z.ZodString>;
|
|
103
|
-
refreshToken: z.ZodOptional<z.ZodString>;
|
|
104
|
-
realmId: z.ZodOptional<z.ZodString>;
|
|
105
|
-
tokenType: z.ZodOptional<z.ZodString>;
|
|
106
|
-
expiresIn: z.ZodOptional<z.ZodNumber>;
|
|
107
|
-
xRefreshTokenExpiresIn: z.ZodOptional<z.ZodNumber>;
|
|
108
|
-
}, z.core.$strip>;
|
|
109
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
110
|
-
integrationType: z.ZodLiteral<"Bank">;
|
|
111
|
-
details: z.ZodObject<{
|
|
112
|
-
plaid: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
113
|
-
accessToken: z.ZodString;
|
|
114
|
-
itemId: z.ZodString;
|
|
115
|
-
institutionId: z.ZodOptional<z.ZodString>;
|
|
116
|
-
institutionName: z.ZodOptional<z.ZodString>;
|
|
117
|
-
accounts: z.ZodArray<z.ZodObject<{
|
|
118
|
-
accountId: z.ZodString;
|
|
119
|
-
name: z.ZodOptional<z.ZodString>;
|
|
120
|
-
mask: z.ZodOptional<z.ZodString>;
|
|
121
|
-
subtype: z.ZodOptional<z.ZodString>;
|
|
122
|
-
externalAccountId: z.ZodOptional<z.ZodString>;
|
|
123
|
-
liquidationAddress: z.ZodOptional<z.ZodObject<{
|
|
124
|
-
liquidationAddressId: z.ZodString;
|
|
125
|
-
address: z.ZodString;
|
|
126
|
-
chain: z.ZodString;
|
|
127
|
-
currency: z.ZodString;
|
|
128
|
-
blockchainMemo: z.ZodOptional<z.ZodString>;
|
|
129
|
-
}, z.core.$strip>>;
|
|
130
|
-
}, z.core.$strip>>;
|
|
131
|
-
}, z.core.$strip>>>;
|
|
132
|
-
bridge: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
133
|
-
customerId: z.ZodString;
|
|
134
|
-
kycLinkId: z.ZodOptional<z.ZodString>;
|
|
135
|
-
kycLink: z.ZodOptional<z.ZodString>;
|
|
136
|
-
tosLink: z.ZodOptional<z.ZodString>;
|
|
137
|
-
completedSteps: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
138
|
-
}, z.core.$strip>>>;
|
|
139
|
-
}, z.core.$strip>;
|
|
140
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
141
|
-
integrationType: z.ZodLiteral<"Clio">;
|
|
142
|
-
details: z.ZodUnknown;
|
|
143
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
144
|
-
integrationType: z.ZodLiteral<"Stripe">;
|
|
145
|
-
details: z.ZodObject<{
|
|
146
|
-
clientId: z.ZodOptional<z.ZodString>;
|
|
147
|
-
clientSecret: z.ZodOptional<z.ZodString>;
|
|
148
|
-
tokens: z.ZodOptional<z.ZodObject<{
|
|
149
|
-
accessToken: z.ZodString;
|
|
150
|
-
refreshToken: z.ZodOptional<z.ZodString>;
|
|
151
|
-
}, z.core.$strip>>;
|
|
152
|
-
}, z.core.$strip>;
|
|
153
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
154
|
-
integrationType: z.ZodLiteral<"Bill">;
|
|
155
|
-
details: z.ZodObject<{
|
|
156
|
-
devKey: z.ZodOptional<z.ZodString>;
|
|
157
|
-
sessionId: z.ZodOptional<z.ZodString>;
|
|
158
|
-
orgId: z.ZodOptional<z.ZodString>;
|
|
159
|
-
rememberMeId: z.ZodOptional<z.ZodString>;
|
|
160
|
-
}, z.core.$strip>;
|
|
161
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
162
|
-
integrationType: z.ZodLiteral<"Zoho">;
|
|
163
|
-
details: z.ZodUnknown;
|
|
164
|
-
}, z.core.$strip>], "integrationType">;
|
|
165
|
-
export type IntegrationResponse = z.infer<typeof integrationResponseSchema>;
|
|
166
|
-
//# sourceMappingURL=integration.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"integration.d.ts","sourceRoot":"","sources":["../../../src/api/schemas/integration.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,eAAe;;;;;;;CAOlB,CAAC;AACX,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AACzD,eAAO,MAAM,qBAAqB,mEAOxB,CAAC;AAmEX,eAAO,MAAM,qBAAqB;;;;;;;EAAgC,CAAC;AACnE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAExE,eAAO,MAAM,8BAA8B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCA4B1C,CAAC;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,KAAK,CAC5C,OAAO,8BAA8B,CACtC,CAAC;AAEF,eAAO,MAAM,2BAA2B;;;;;;;;;iBAEtC,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAC;AAEhF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;sCA4BrC,CAAC;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const newOperatingAccountSubOrgResponseSchema: z.ZodObject<{
|
|
3
|
-
subOrganizationId: z.ZodString;
|
|
4
|
-
endUserId: z.ZodString;
|
|
5
|
-
}, z.core.$strip>;
|
|
6
|
-
export type NewOperatingAccountSubOrgResponse = z.infer<typeof newOperatingAccountSubOrgResponseSchema>;
|
|
7
|
-
export declare const getOperatingAccountSubOrgResponseSchema: z.ZodObject<{
|
|
8
|
-
subOrganizationId: z.ZodString;
|
|
9
|
-
}, z.core.$strip>;
|
|
10
|
-
export type GetOperatingAccountSubOrgResponse = z.infer<typeof getOperatingAccountSubOrgResponseSchema>;
|
|
11
|
-
//# sourceMappingURL=operating-account.d.ts.map
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
export declare const newOperatingAccountSubOrgResponseSchema: z.ZodObject<{
|
|
3
|
-
subOrganizationId: z.ZodString;
|
|
4
|
-
endUserId: z.ZodString;
|
|
5
|
-
}, z.core.$strip>;
|
|
6
|
-
export type NewOperatingAccountSubOrgResponse = z.infer<typeof newOperatingAccountSubOrgResponseSchema>;
|
|
7
|
-
export declare const getOperatingAccountSubOrgResponseSchema: z.ZodObject<{
|
|
8
|
-
subOrganizationId: z.ZodString;
|
|
9
|
-
}, z.core.$strip>;
|
|
10
|
-
export type GetOperatingAccountSubOrgResponse = z.infer<typeof getOperatingAccountSubOrgResponseSchema>;
|
|
11
|
-
//# sourceMappingURL=operating-account.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"operating-account.d.ts","sourceRoot":"","sources":["../../../src/api/schemas/operating-account.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAExB,eAAO,MAAM,uCAAuC;;;iBAGlD,CAAC;AACH,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,uCAAuC,CAC/C,CAAC;AAEF,eAAO,MAAM,uCAAuC;;iBAElD,CAAC;AACH,MAAM,MAAM,iCAAiC,GAAG,CAAC,CAAC,KAAK,CACrD,OAAO,uCAAuC,CAC/C,CAAC"}
|
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
import type { PaginatedRequest } from "../core";
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
export declare const paymentRequestsDirectionSchema: z.ZodEnum<{
|
|
4
|
-
from: "from";
|
|
5
|
-
to: "to";
|
|
6
|
-
}>;
|
|
7
|
-
export declare const getPaymentRequestsRequestSchema: z.ZodObject<{
|
|
8
|
-
direction: z.ZodEnum<{
|
|
9
|
-
from: "from";
|
|
10
|
-
to: "to";
|
|
11
|
-
}>;
|
|
12
|
-
statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
13
|
-
paid: "paid";
|
|
14
|
-
pending: "pending";
|
|
15
|
-
inProgress: "inProgress";
|
|
16
|
-
cancelled: "cancelled";
|
|
17
|
-
draft: "draft";
|
|
18
|
-
}>>>;
|
|
19
|
-
perPage: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
20
|
-
page: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
21
|
-
}, z.core.$strip>;
|
|
22
|
-
export type GetPaymentRequestsRequest = z.infer<typeof getPaymentRequestsRequestSchema>;
|
|
23
|
-
export declare const paymentRequestStatusSchema: z.ZodEnum<{
|
|
24
|
-
paid: "paid";
|
|
25
|
-
pending: "pending";
|
|
26
|
-
inProgress: "inProgress";
|
|
27
|
-
cancelled: "cancelled";
|
|
28
|
-
draft: "draft";
|
|
29
|
-
}>;
|
|
30
|
-
export declare const paymentRequestSchema: z.ZodObject<{
|
|
31
|
-
id: z.ZodString;
|
|
32
|
-
fromUserId: z.ZodString;
|
|
33
|
-
toUserId: z.ZodNullable<z.ZodString>;
|
|
34
|
-
payerAddress: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
35
|
-
ephemeralWalletAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
36
|
-
instructions: z.ZodObject<{
|
|
37
|
-
ids: z.ZodArray<z.ZodString>;
|
|
38
|
-
completionIds: z.ZodArray<z.ZodString>;
|
|
39
|
-
}, z.core.$strip>;
|
|
40
|
-
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
41
|
-
status: z.ZodEnum<{
|
|
42
|
-
paid: "paid";
|
|
43
|
-
pending: "pending";
|
|
44
|
-
inProgress: "inProgress";
|
|
45
|
-
cancelled: "cancelled";
|
|
46
|
-
draft: "draft";
|
|
47
|
-
}>;
|
|
48
|
-
createdAt: z.ZodString;
|
|
49
|
-
updatedAt: z.ZodString;
|
|
50
|
-
}, z.core.$strip>;
|
|
51
|
-
export declare const getPaymentRequestsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
52
|
-
id: z.ZodString;
|
|
53
|
-
fromUserId: z.ZodString;
|
|
54
|
-
toUserId: z.ZodNullable<z.ZodString>;
|
|
55
|
-
payerAddress: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
56
|
-
ephemeralWalletAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
57
|
-
instructions: z.ZodObject<{
|
|
58
|
-
ids: z.ZodArray<z.ZodString>;
|
|
59
|
-
completionIds: z.ZodArray<z.ZodString>;
|
|
60
|
-
}, z.core.$strip>;
|
|
61
|
-
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
62
|
-
status: z.ZodEnum<{
|
|
63
|
-
paid: "paid";
|
|
64
|
-
pending: "pending";
|
|
65
|
-
inProgress: "inProgress";
|
|
66
|
-
cancelled: "cancelled";
|
|
67
|
-
draft: "draft";
|
|
68
|
-
}>;
|
|
69
|
-
createdAt: z.ZodString;
|
|
70
|
-
updatedAt: z.ZodString;
|
|
71
|
-
}, z.core.$strip>>;
|
|
72
|
-
export type GetPaymentRequestsResponse = z.infer<typeof getPaymentRequestsResponseSchema>;
|
|
73
|
-
export declare const buildEphemeralInstructionSchema: z.ZodObject<{
|
|
74
|
-
chainId: z.ZodNumber;
|
|
75
|
-
salt: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
76
|
-
maxExecutions: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
77
|
-
actionArguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
78
|
-
setEphemeralTarget: z.ZodOptional<z.ZodBoolean>;
|
|
79
|
-
}, z.core.$strip>;
|
|
80
|
-
export declare const paymentRequestBuildRequestSchema: z.ZodObject<{
|
|
81
|
-
payerAddress: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>;
|
|
82
|
-
completionInstructions: z.ZodArray<z.ZodObject<{
|
|
83
|
-
chainId: z.ZodNumber;
|
|
84
|
-
salt: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
85
|
-
maxExecutions: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
86
|
-
actionArguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
87
|
-
setEphemeralTarget: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
-
}, z.core.$strip>>;
|
|
89
|
-
instructions: z.ZodArray<z.ZodObject<{
|
|
90
|
-
chainId: z.ZodNumber;
|
|
91
|
-
salt: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
92
|
-
maxExecutions: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
93
|
-
actionArguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
94
|
-
setEphemeralTarget: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
-
}, z.core.$strip>>;
|
|
96
|
-
metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
97
|
-
maxRuns: z.ZodOptional<z.ZodNumber>;
|
|
98
|
-
}, z.core.$strip>;
|
|
99
|
-
export type PaymentRequestBuildRequest = z.infer<typeof paymentRequestBuildRequestSchema>;
|
|
100
|
-
export declare const feeResponseSchema: z.ZodObject<{
|
|
101
|
-
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
102
|
-
executionFee: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
103
|
-
maxBaseFeePerGas: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
104
|
-
maxPriorityFeePerGas: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
105
|
-
}, z.core.$strip>;
|
|
106
|
-
export declare const paymentRequestBuildResponseSchema: z.ZodObject<{
|
|
107
|
-
requestId: z.ZodString;
|
|
108
|
-
subOrgId: z.ZodString;
|
|
109
|
-
walletId: z.ZodString;
|
|
110
|
-
ephemeralWalletAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
111
|
-
completionInstructions: z.ZodArray<z.ZodObject<{
|
|
112
|
-
address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
113
|
-
chainId: z.ZodNumber;
|
|
114
|
-
salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
115
|
-
maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
116
|
-
action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
117
|
-
arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
118
|
-
}, z.core.$strip>>;
|
|
119
|
-
instructions: z.ZodArray<z.ZodObject<{
|
|
120
|
-
address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
121
|
-
chainId: z.ZodNumber;
|
|
122
|
-
salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
123
|
-
maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
124
|
-
action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
125
|
-
arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
126
|
-
}, z.core.$strip>>;
|
|
127
|
-
}, z.core.$strip>;
|
|
128
|
-
export type PaymentRequestBuildResponse = z.infer<typeof paymentRequestBuildResponseSchema>;
|
|
129
|
-
export declare const newInstructionRequestSchema: z.ZodObject<{
|
|
130
|
-
nickname: z.ZodOptional<z.ZodString>;
|
|
131
|
-
address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
132
|
-
chainId: z.ZodNumber;
|
|
133
|
-
salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
134
|
-
maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
135
|
-
action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
136
|
-
arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
137
|
-
activationSignature: z.ZodObject<{
|
|
138
|
-
yParity: z.ZodNumber;
|
|
139
|
-
r: z.ZodString;
|
|
140
|
-
s: z.ZodString;
|
|
141
|
-
}, z.core.$strip>;
|
|
142
|
-
}, z.core.$strip>;
|
|
143
|
-
export declare const paymentRequestNewRequestSchema: z.ZodObject<{
|
|
144
|
-
requestId: z.ZodString;
|
|
145
|
-
signedAuthorization: z.ZodString;
|
|
146
|
-
completionInstructions: z.ZodArray<z.ZodObject<{
|
|
147
|
-
nickname: z.ZodOptional<z.ZodString>;
|
|
148
|
-
address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
149
|
-
chainId: z.ZodNumber;
|
|
150
|
-
salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
151
|
-
maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
152
|
-
action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
153
|
-
arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
154
|
-
activationSignature: z.ZodObject<{
|
|
155
|
-
yParity: z.ZodNumber;
|
|
156
|
-
r: z.ZodString;
|
|
157
|
-
s: z.ZodString;
|
|
158
|
-
}, z.core.$strip>;
|
|
159
|
-
}, z.core.$strip>>;
|
|
160
|
-
instructions: z.ZodArray<z.ZodObject<{
|
|
161
|
-
nickname: z.ZodOptional<z.ZodString>;
|
|
162
|
-
address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
163
|
-
chainId: z.ZodNumber;
|
|
164
|
-
salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
165
|
-
maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
166
|
-
action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
167
|
-
arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
168
|
-
activationSignature: z.ZodObject<{
|
|
169
|
-
yParity: z.ZodNumber;
|
|
170
|
-
r: z.ZodString;
|
|
171
|
-
s: z.ZodString;
|
|
172
|
-
}, z.core.$strip>;
|
|
173
|
-
}, z.core.$strip>>;
|
|
174
|
-
}, z.core.$strip>;
|
|
175
|
-
export type PaymentRequestNewRequest = z.infer<typeof paymentRequestNewRequestSchema>;
|
|
176
|
-
export declare const paymentRequestDetailsRequestSchema: z.ZodObject<{
|
|
177
|
-
requestId: z.ZodString;
|
|
178
|
-
}, z.core.$strip>;
|
|
179
|
-
export type PaymentRequestDetailsRequest = z.infer<typeof paymentRequestDetailsRequestSchema>;
|
|
180
|
-
export declare const paymentRequestDetailsResponseSchema: z.ZodObject<{
|
|
181
|
-
requestId: z.ZodString;
|
|
182
|
-
ephemeralWalletAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
183
|
-
ephemeralWalletId: z.ZodOptional<z.ZodString>;
|
|
184
|
-
status: z.ZodEnum<{
|
|
185
|
-
paid: "paid";
|
|
186
|
-
pending: "pending";
|
|
187
|
-
inProgress: "inProgress";
|
|
188
|
-
cancelled: "cancelled";
|
|
189
|
-
draft: "draft";
|
|
190
|
-
}>;
|
|
191
|
-
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
192
|
-
numRuns: z.ZodNumber;
|
|
193
|
-
maxRuns: z.ZodOptional<z.ZodNumber>;
|
|
194
|
-
}, z.core.$strip>;
|
|
195
|
-
export type PaymentRequestDetailsResponse = z.infer<typeof paymentRequestDetailsResponseSchema>;
|
|
196
|
-
export interface PaymentsListRequest extends PaginatedRequest {
|
|
197
|
-
tab: "active" | "completed";
|
|
198
|
-
}
|
|
199
|
-
export declare const buildSettlementRequestSchema: z.ZodObject<{
|
|
200
|
-
acceptedTokens: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>;
|
|
201
|
-
settlementChain: z.ZodNumber;
|
|
202
|
-
settlementToken: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
203
|
-
settlementAmount: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
204
|
-
recipientAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
205
|
-
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
206
|
-
payerAddress: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>;
|
|
207
|
-
dueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
208
|
-
maxRuns: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
209
|
-
}, z.core.$strip>;
|
|
210
|
-
export type BuildSettlementRequest = z.infer<typeof buildSettlementRequestSchema>;
|
|
211
|
-
export declare const buildSettlementResponseSchema: z.ZodObject<{
|
|
212
|
-
requestId: z.ZodString;
|
|
213
|
-
subOrgId: z.ZodString;
|
|
214
|
-
walletId: z.ZodString;
|
|
215
|
-
ephemeralWalletAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
216
|
-
completionInstructions: z.ZodArray<z.ZodObject<{
|
|
217
|
-
address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
218
|
-
chainId: z.ZodNumber;
|
|
219
|
-
salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
220
|
-
maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
221
|
-
action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
222
|
-
arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
223
|
-
}, z.core.$strip>>;
|
|
224
|
-
instructions: z.ZodArray<z.ZodObject<{
|
|
225
|
-
address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
226
|
-
chainId: z.ZodNumber;
|
|
227
|
-
salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
228
|
-
maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
229
|
-
action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
230
|
-
arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
231
|
-
}, z.core.$strip>>;
|
|
232
|
-
}, z.core.$strip>;
|
|
233
|
-
export type BuildSettlementResponse = z.infer<typeof buildSettlementResponseSchema>;
|
|
234
|
-
//# sourceMappingURL=payments.d.ts.map
|
|
@@ -1,234 +0,0 @@
|
|
|
1
|
-
import type { PaginatedRequest } from "../core";
|
|
2
|
-
import { z } from "zod";
|
|
3
|
-
export declare const paymentRequestsDirectionSchema: z.ZodEnum<{
|
|
4
|
-
from: "from";
|
|
5
|
-
to: "to";
|
|
6
|
-
}>;
|
|
7
|
-
export declare const getPaymentRequestsRequestSchema: z.ZodObject<{
|
|
8
|
-
direction: z.ZodEnum<{
|
|
9
|
-
from: "from";
|
|
10
|
-
to: "to";
|
|
11
|
-
}>;
|
|
12
|
-
statuses: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
13
|
-
paid: "paid";
|
|
14
|
-
pending: "pending";
|
|
15
|
-
inProgress: "inProgress";
|
|
16
|
-
cancelled: "cancelled";
|
|
17
|
-
draft: "draft";
|
|
18
|
-
}>>>;
|
|
19
|
-
perPage: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
20
|
-
page: z.ZodOptional<z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>>;
|
|
21
|
-
}, z.core.$strip>;
|
|
22
|
-
export type GetPaymentRequestsRequest = z.infer<typeof getPaymentRequestsRequestSchema>;
|
|
23
|
-
export declare const paymentRequestStatusSchema: z.ZodEnum<{
|
|
24
|
-
paid: "paid";
|
|
25
|
-
pending: "pending";
|
|
26
|
-
inProgress: "inProgress";
|
|
27
|
-
cancelled: "cancelled";
|
|
28
|
-
draft: "draft";
|
|
29
|
-
}>;
|
|
30
|
-
export declare const paymentRequestSchema: z.ZodObject<{
|
|
31
|
-
id: z.ZodString;
|
|
32
|
-
fromUserId: z.ZodString;
|
|
33
|
-
toUserId: z.ZodNullable<z.ZodString>;
|
|
34
|
-
payerAddress: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
35
|
-
ephemeralWalletAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
36
|
-
instructions: z.ZodObject<{
|
|
37
|
-
ids: z.ZodArray<z.ZodString>;
|
|
38
|
-
completionIds: z.ZodArray<z.ZodString>;
|
|
39
|
-
}, z.core.$strip>;
|
|
40
|
-
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
41
|
-
status: z.ZodEnum<{
|
|
42
|
-
paid: "paid";
|
|
43
|
-
pending: "pending";
|
|
44
|
-
inProgress: "inProgress";
|
|
45
|
-
cancelled: "cancelled";
|
|
46
|
-
draft: "draft";
|
|
47
|
-
}>;
|
|
48
|
-
createdAt: z.ZodString;
|
|
49
|
-
updatedAt: z.ZodString;
|
|
50
|
-
}, z.core.$strip>;
|
|
51
|
-
export declare const getPaymentRequestsResponseSchema: z.ZodArray<z.ZodObject<{
|
|
52
|
-
id: z.ZodString;
|
|
53
|
-
fromUserId: z.ZodString;
|
|
54
|
-
toUserId: z.ZodNullable<z.ZodString>;
|
|
55
|
-
payerAddress: z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>;
|
|
56
|
-
ephemeralWalletAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
57
|
-
instructions: z.ZodObject<{
|
|
58
|
-
ids: z.ZodArray<z.ZodString>;
|
|
59
|
-
completionIds: z.ZodArray<z.ZodString>;
|
|
60
|
-
}, z.core.$strip>;
|
|
61
|
-
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
62
|
-
status: z.ZodEnum<{
|
|
63
|
-
paid: "paid";
|
|
64
|
-
pending: "pending";
|
|
65
|
-
inProgress: "inProgress";
|
|
66
|
-
cancelled: "cancelled";
|
|
67
|
-
draft: "draft";
|
|
68
|
-
}>;
|
|
69
|
-
createdAt: z.ZodString;
|
|
70
|
-
updatedAt: z.ZodString;
|
|
71
|
-
}, z.core.$strip>>;
|
|
72
|
-
export type GetPaymentRequestsResponse = z.infer<typeof getPaymentRequestsResponseSchema>;
|
|
73
|
-
export declare const buildEphemeralInstructionSchema: z.ZodObject<{
|
|
74
|
-
chainId: z.ZodNumber;
|
|
75
|
-
salt: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
76
|
-
maxExecutions: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
77
|
-
actionArguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
78
|
-
setEphemeralTarget: z.ZodOptional<z.ZodBoolean>;
|
|
79
|
-
}, z.core.$strip>;
|
|
80
|
-
export declare const paymentRequestBuildRequestSchema: z.ZodObject<{
|
|
81
|
-
payerAddress: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>;
|
|
82
|
-
completionInstructions: z.ZodArray<z.ZodObject<{
|
|
83
|
-
chainId: z.ZodNumber;
|
|
84
|
-
salt: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
85
|
-
maxExecutions: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
86
|
-
actionArguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
87
|
-
setEphemeralTarget: z.ZodOptional<z.ZodBoolean>;
|
|
88
|
-
}, z.core.$strip>>;
|
|
89
|
-
instructions: z.ZodArray<z.ZodObject<{
|
|
90
|
-
chainId: z.ZodNumber;
|
|
91
|
-
salt: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
92
|
-
maxExecutions: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
93
|
-
actionArguments: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
94
|
-
setEphemeralTarget: z.ZodOptional<z.ZodBoolean>;
|
|
95
|
-
}, z.core.$strip>>;
|
|
96
|
-
metadata: z.ZodDefault<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
97
|
-
maxRuns: z.ZodOptional<z.ZodNumber>;
|
|
98
|
-
}, z.core.$strip>;
|
|
99
|
-
export type PaymentRequestBuildRequest = z.infer<typeof paymentRequestBuildRequestSchema>;
|
|
100
|
-
export declare const feeResponseSchema: z.ZodObject<{
|
|
101
|
-
token: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
102
|
-
executionFee: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
103
|
-
maxBaseFeePerGas: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
104
|
-
maxPriorityFeePerGas: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
105
|
-
}, z.core.$strip>;
|
|
106
|
-
export declare const paymentRequestBuildResponseSchema: z.ZodObject<{
|
|
107
|
-
requestId: z.ZodString;
|
|
108
|
-
subOrgId: z.ZodString;
|
|
109
|
-
walletId: z.ZodString;
|
|
110
|
-
ephemeralWalletAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
111
|
-
completionInstructions: z.ZodArray<z.ZodObject<{
|
|
112
|
-
address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
113
|
-
chainId: z.ZodNumber;
|
|
114
|
-
salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
115
|
-
maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
116
|
-
action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
117
|
-
arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
118
|
-
}, z.core.$strip>>;
|
|
119
|
-
instructions: z.ZodArray<z.ZodObject<{
|
|
120
|
-
address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
121
|
-
chainId: z.ZodNumber;
|
|
122
|
-
salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
123
|
-
maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
124
|
-
action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
125
|
-
arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
126
|
-
}, z.core.$strip>>;
|
|
127
|
-
}, z.core.$strip>;
|
|
128
|
-
export type PaymentRequestBuildResponse = z.infer<typeof paymentRequestBuildResponseSchema>;
|
|
129
|
-
export declare const newInstructionRequestSchema: z.ZodObject<{
|
|
130
|
-
nickname: z.ZodOptional<z.ZodString>;
|
|
131
|
-
address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
132
|
-
chainId: z.ZodNumber;
|
|
133
|
-
salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
134
|
-
maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
135
|
-
action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
136
|
-
arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
137
|
-
activationSignature: z.ZodObject<{
|
|
138
|
-
yParity: z.ZodNumber;
|
|
139
|
-
r: z.ZodString;
|
|
140
|
-
s: z.ZodString;
|
|
141
|
-
}, z.core.$strip>;
|
|
142
|
-
}, z.core.$strip>;
|
|
143
|
-
export declare const paymentRequestNewRequestSchema: z.ZodObject<{
|
|
144
|
-
requestId: z.ZodString;
|
|
145
|
-
signedAuthorization: z.ZodString;
|
|
146
|
-
completionInstructions: z.ZodArray<z.ZodObject<{
|
|
147
|
-
nickname: z.ZodOptional<z.ZodString>;
|
|
148
|
-
address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
149
|
-
chainId: z.ZodNumber;
|
|
150
|
-
salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
151
|
-
maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
152
|
-
action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
153
|
-
arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
154
|
-
activationSignature: z.ZodObject<{
|
|
155
|
-
yParity: z.ZodNumber;
|
|
156
|
-
r: z.ZodString;
|
|
157
|
-
s: z.ZodString;
|
|
158
|
-
}, z.core.$strip>;
|
|
159
|
-
}, z.core.$strip>>;
|
|
160
|
-
instructions: z.ZodArray<z.ZodObject<{
|
|
161
|
-
nickname: z.ZodOptional<z.ZodString>;
|
|
162
|
-
address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
163
|
-
chainId: z.ZodNumber;
|
|
164
|
-
salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
165
|
-
maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
166
|
-
action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
167
|
-
arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
168
|
-
activationSignature: z.ZodObject<{
|
|
169
|
-
yParity: z.ZodNumber;
|
|
170
|
-
r: z.ZodString;
|
|
171
|
-
s: z.ZodString;
|
|
172
|
-
}, z.core.$strip>;
|
|
173
|
-
}, z.core.$strip>>;
|
|
174
|
-
}, z.core.$strip>;
|
|
175
|
-
export type PaymentRequestNewRequest = z.infer<typeof paymentRequestNewRequestSchema>;
|
|
176
|
-
export declare const paymentRequestDetailsRequestSchema: z.ZodObject<{
|
|
177
|
-
requestId: z.ZodString;
|
|
178
|
-
}, z.core.$strip>;
|
|
179
|
-
export type PaymentRequestDetailsRequest = z.infer<typeof paymentRequestDetailsRequestSchema>;
|
|
180
|
-
export declare const paymentRequestDetailsResponseSchema: z.ZodObject<{
|
|
181
|
-
requestId: z.ZodString;
|
|
182
|
-
ephemeralWalletAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
183
|
-
ephemeralWalletId: z.ZodOptional<z.ZodString>;
|
|
184
|
-
status: z.ZodEnum<{
|
|
185
|
-
paid: "paid";
|
|
186
|
-
pending: "pending";
|
|
187
|
-
inProgress: "inProgress";
|
|
188
|
-
cancelled: "cancelled";
|
|
189
|
-
draft: "draft";
|
|
190
|
-
}>;
|
|
191
|
-
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
192
|
-
numRuns: z.ZodNumber;
|
|
193
|
-
maxRuns: z.ZodOptional<z.ZodNumber>;
|
|
194
|
-
}, z.core.$strip>;
|
|
195
|
-
export type PaymentRequestDetailsResponse = z.infer<typeof paymentRequestDetailsResponseSchema>;
|
|
196
|
-
export interface PaymentsListRequest extends PaginatedRequest {
|
|
197
|
-
tab: "active" | "completed";
|
|
198
|
-
}
|
|
199
|
-
export declare const buildSettlementRequestSchema: z.ZodObject<{
|
|
200
|
-
acceptedTokens: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>;
|
|
201
|
-
settlementChain: z.ZodNumber;
|
|
202
|
-
settlementToken: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
203
|
-
settlementAmount: z.ZodUnion<readonly [z.ZodNumber, z.ZodPipe<z.ZodString, z.ZodTransform<number, string>>]>;
|
|
204
|
-
recipientAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
205
|
-
metadata: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
206
|
-
payerAddress: z.ZodOptional<z.ZodNullable<z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>>>;
|
|
207
|
-
dueDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
208
|
-
maxRuns: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
209
|
-
}, z.core.$strip>;
|
|
210
|
-
export type BuildSettlementRequest = z.infer<typeof buildSettlementRequestSchema>;
|
|
211
|
-
export declare const buildSettlementResponseSchema: z.ZodObject<{
|
|
212
|
-
requestId: z.ZodString;
|
|
213
|
-
subOrgId: z.ZodString;
|
|
214
|
-
walletId: z.ZodString;
|
|
215
|
-
ephemeralWalletAddress: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
216
|
-
completionInstructions: z.ZodArray<z.ZodObject<{
|
|
217
|
-
address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
218
|
-
chainId: z.ZodNumber;
|
|
219
|
-
salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
220
|
-
maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
221
|
-
action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
222
|
-
arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
223
|
-
}, z.core.$strip>>;
|
|
224
|
-
instructions: z.ZodArray<z.ZodObject<{
|
|
225
|
-
address: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
226
|
-
chainId: z.ZodNumber;
|
|
227
|
-
salt: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
228
|
-
maxExecutions: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
229
|
-
action: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
230
|
-
arguments: z.ZodPipe<z.ZodString, z.ZodTransform<`0x${string}`, string>>;
|
|
231
|
-
}, z.core.$strip>>;
|
|
232
|
-
}, z.core.$strip>;
|
|
233
|
-
export type BuildSettlementResponse = z.infer<typeof buildSettlementResponseSchema>;
|
|
234
|
-
//# sourceMappingURL=payments.d.ts.map
|