@aeternity/aepp-sdk 13.2.2 → 13.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/bin/aesophia_cli +0 -0
- package/bin/aesophia_cli_8 +0 -0
- package/dist/aepp-sdk.browser-script.js +1 -1
- package/dist/aepp-sdk.browser-script.js.map +1 -1
- package/dist/aepp-sdk.browser.js +1 -1
- package/dist/aepp-sdk.browser.js.map +1 -1
- package/dist/aepp-sdk.js +9171 -7086
- package/dist/aepp-sdk.js.map +1 -1
- package/es/AeSdk.d.ts +3 -0
- package/es/AeSdk.mjs +12 -12
- package/es/AeSdk.mjs.map +1 -1
- package/es/AeSdkAepp.d.ts +0 -1
- package/es/AeSdkAepp.mjs +12 -16
- package/es/AeSdkAepp.mjs.map +1 -1
- package/es/AeSdkBase.d.ts +61 -6
- package/es/AeSdkBase.mjs +150 -69
- package/es/AeSdkBase.mjs.map +1 -1
- package/es/AeSdkMethods.d.ts +19 -7
- package/es/AeSdkMethods.mjs +39 -38
- package/es/AeSdkMethods.mjs.map +1 -1
- package/es/AeSdkWallet.mjs +86 -55
- package/es/AeSdkWallet.mjs.map +1 -1
- package/es/Middleware.mjs +31 -27
- package/es/Middleware.mjs.map +1 -1
- package/es/MiddlewareSubscriber.mjs +5 -14
- package/es/MiddlewareSubscriber.mjs.map +1 -1
- package/es/Node.d.ts +10 -2
- package/es/Node.mjs +53 -54
- package/es/Node.mjs.map +1 -1
- package/es/account/Base.d.ts +39 -3
- package/es/account/Base.mjs +35 -1
- package/es/account/Base.mjs.map +1 -1
- package/es/account/Generalized.d.ts +2 -0
- package/es/account/Generalized.mjs +15 -6
- package/es/account/Generalized.mjs.map +1 -1
- package/es/account/Ledger.d.ts +2 -0
- package/es/account/Ledger.mjs +14 -5
- package/es/account/Ledger.mjs.map +1 -1
- package/es/account/LedgerFactory.mjs +4 -6
- package/es/account/LedgerFactory.mjs.map +1 -1
- package/es/account/Memory.d.ts +15 -4
- package/es/account/Memory.mjs +96 -31
- package/es/account/Memory.mjs.map +1 -1
- package/es/account/Rpc.d.ts +16 -5
- package/es/account/Rpc.mjs +94 -21
- package/es/account/Rpc.mjs.map +1 -1
- package/es/aens.d.ts +17 -44
- package/es/aens.mjs +32 -71
- package/es/aens.mjs.map +1 -1
- package/es/aepp-wallet-communication/connection/Browser.mjs +3 -4
- package/es/aepp-wallet-communication/connection/Browser.mjs.map +1 -1
- package/es/aepp-wallet-communication/connection/BrowserRuntime.d.ts +3 -0
- package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs +7 -5
- package/es/aepp-wallet-communication/connection/BrowserRuntime.mjs.map +1 -1
- package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs +8 -9
- package/es/aepp-wallet-communication/connection/BrowserWindowMessage.mjs.map +1 -1
- package/es/aepp-wallet-communication/rpc/RpcClient.mjs +7 -7
- package/es/aepp-wallet-communication/rpc/RpcClient.mjs.map +1 -1
- package/es/aepp-wallet-communication/rpc/types.d.ts +14 -0
- package/es/aepp-wallet-communication/rpc/types.mjs.map +1 -1
- package/es/aepp-wallet-communication/schema.d.ts +2 -0
- package/es/aepp-wallet-communication/schema.mjs +2 -0
- package/es/aepp-wallet-communication/schema.mjs.map +1 -1
- package/es/aepp-wallet-communication/wallet-detector.mjs +4 -5
- package/es/aepp-wallet-communication/wallet-detector.mjs.map +1 -1
- package/es/apis/compiler/compiler.mjs.map +1 -1
- package/es/apis/compiler/models/index.d.ts +1 -0
- package/es/apis/compiler/models/index.mjs.map +1 -1
- package/es/apis/compiler/models/mappers.mjs +13 -0
- package/es/apis/compiler/models/mappers.mjs.map +1 -1
- package/es/apis/compiler/models/parameters.mjs.map +1 -1
- package/es/apis/middleware/middleware.d.ts +23 -5
- package/es/apis/middleware/middleware.mjs +114 -18
- package/es/apis/middleware/middleware.mjs.map +1 -1
- package/es/apis/middleware/models/index.d.ts +164 -15
- package/es/apis/middleware/models/index.mjs +53 -3
- package/es/apis/middleware/models/index.mjs.map +1 -1
- package/es/apis/middleware/models/mappers.d.ts +8 -1
- package/es/apis/middleware/models/mappers.mjs +376 -3
- package/es/apis/middleware/models/mappers.mjs.map +1 -1
- package/es/apis/middleware/models/parameters.d.ts +6 -3
- package/es/apis/middleware/models/parameters.mjs +38 -11
- package/es/apis/middleware/models/parameters.mjs.map +1 -1
- package/es/apis/node/models/index.d.ts +66 -2
- package/es/apis/node/models/index.mjs.map +1 -1
- package/es/apis/node/models/mappers.d.ts +5 -1
- package/es/apis/node/models/mappers.mjs +229 -7
- package/es/apis/node/models/mappers.mjs.map +1 -1
- package/es/apis/node/models/parameters.d.ts +2 -2
- package/es/apis/node/models/parameters.mjs +2 -2
- package/es/apis/node/models/parameters.mjs.map +1 -1
- package/es/apis/node/node.d.ts +24 -3
- package/es/apis/node/node.mjs +135 -3
- package/es/apis/node/node.mjs.map +1 -1
- package/es/chain.d.ts +14 -44
- package/es/chain.mjs +125 -219
- package/es/chain.mjs.map +1 -1
- package/es/channel/Base.d.ts +3 -47
- package/es/channel/Base.mjs +21 -54
- package/es/channel/Base.mjs.map +1 -1
- package/es/channel/Contract.d.ts +16 -25
- package/es/channel/Contract.mjs +39 -63
- package/es/channel/Contract.mjs.map +1 -1
- package/es/channel/Spend.d.ts +0 -8
- package/es/channel/Spend.mjs +17 -29
- package/es/channel/Spend.mjs.map +1 -1
- package/es/channel/handlers.mjs +1 -1
- package/es/channel/handlers.mjs.map +1 -1
- package/es/channel/internal.d.ts +104 -5
- package/es/channel/internal.mjs +26 -34
- package/es/channel/internal.mjs.map +1 -1
- package/es/contract/Contract.d.ts +9 -1
- package/es/contract/Contract.mjs +67 -73
- package/es/contract/Contract.mjs.map +1 -1
- package/es/contract/compiler/Base.d.ts +14 -8
- package/es/contract/compiler/Base.mjs.map +1 -1
- package/es/contract/compiler/Cli.d.ts +5 -9
- package/es/contract/compiler/Cli.mjs +45 -23
- package/es/contract/compiler/Cli.mjs.map +1 -1
- package/es/contract/compiler/Cli8.d.ts +13 -0
- package/es/contract/compiler/Cli8.mjs +22 -0
- package/es/contract/compiler/Cli8.mjs.map +1 -0
- package/es/contract/compiler/Http.d.ts +3 -9
- package/es/contract/compiler/Http.mjs +28 -16
- package/es/contract/compiler/Http.mjs.map +1 -1
- package/es/contract/compiler/HttpNode.d.ts +2 -5
- package/es/contract/compiler/HttpNode.mjs.map +1 -1
- package/es/contract/delegation-signature.d.ts +2 -1
- package/es/contract/delegation-signature.mjs +18 -14
- package/es/contract/delegation-signature.mjs.map +1 -1
- package/es/contract/ga.d.ts +1 -2
- package/es/contract/ga.mjs +23 -25
- package/es/contract/ga.mjs.map +1 -1
- package/es/deprecated.d.ts +38 -0
- package/es/deprecated.mjs +45 -0
- package/es/deprecated.mjs.map +1 -1
- package/es/index-browser.d.ts +10 -5
- package/es/index-browser.mjs +9 -5
- package/es/index-browser.mjs.map +1 -1
- package/es/index.d.ts +1 -0
- package/es/index.mjs +1 -0
- package/es/index.mjs.map +1 -1
- package/es/oracle.d.ts +6 -37
- package/es/oracle.mjs +32 -66
- package/es/oracle.mjs.map +1 -1
- package/es/send-transaction.d.ts +53 -0
- package/es/send-transaction.mjs +109 -0
- package/es/send-transaction.mjs.map +1 -0
- package/es/spend.d.ts +4 -3
- package/es/spend.mjs +6 -1
- package/es/spend.mjs.map +1 -1
- package/es/tx/builder/common.d.ts +29 -0
- package/es/tx/builder/common.mjs +42 -0
- package/es/tx/builder/common.mjs.map +1 -0
- package/es/tx/builder/constants.d.ts +4 -4
- package/es/tx/builder/constants.mjs +6 -15
- package/es/tx/builder/constants.mjs.map +1 -1
- package/es/tx/builder/delegation/index.d.ts +20 -0
- package/es/tx/builder/delegation/index.mjs +24 -0
- package/es/tx/builder/delegation/index.mjs.map +1 -0
- package/es/tx/builder/delegation/schema.d.ts +130 -0
- package/es/tx/builder/delegation/schema.generated.d.ts +141 -0
- package/es/tx/builder/delegation/schema.generated.mjs +2 -0
- package/es/tx/builder/delegation/schema.generated.mjs.map +1 -0
- package/es/tx/builder/delegation/schema.mjs +54 -0
- package/es/tx/builder/delegation/schema.mjs.map +1 -0
- package/es/tx/builder/field-types/abi-version.mjs +8 -11
- package/es/tx/builder/field-types/abi-version.mjs.map +1 -1
- package/es/tx/builder/field-types/address.mjs +1 -4
- package/es/tx/builder/field-types/address.mjs.map +1 -1
- package/es/tx/builder/field-types/coin-amount.d.ts +2 -2
- package/es/tx/builder/field-types/coin-amount.mjs +6 -6
- package/es/tx/builder/field-types/coin-amount.mjs.map +1 -1
- package/es/tx/builder/field-types/ct-version.mjs +3 -4
- package/es/tx/builder/field-types/ct-version.mjs.map +1 -1
- package/es/tx/builder/field-types/entry.mjs +7 -13
- package/es/tx/builder/field-types/entry.mjs.map +1 -1
- package/es/tx/builder/field-types/fee.d.ts +19 -11
- package/es/tx/builder/field-types/fee.mjs +56 -38
- package/es/tx/builder/field-types/fee.mjs.map +1 -1
- package/es/tx/builder/field-types/gas-limit.mjs +13 -15
- package/es/tx/builder/field-types/gas-limit.mjs.map +1 -1
- package/es/tx/builder/field-types/gas-price.d.ts +10 -2
- package/es/tx/builder/field-types/gas-price.mjs +52 -3
- package/es/tx/builder/field-types/gas-price.mjs.map +1 -1
- package/es/tx/builder/field-types/index.d.ts +31 -29
- package/es/tx/builder/field-types/index.mjs +31 -29
- package/es/tx/builder/field-types/index.mjs.map +1 -1
- package/es/tx/builder/field-types/map.mjs +20 -31
- package/es/tx/builder/field-types/map.mjs.map +1 -1
- package/es/tx/builder/field-types/mptree.mjs +14 -29
- package/es/tx/builder/field-types/mptree.mjs.map +1 -1
- package/es/tx/builder/field-types/name-fee.d.ts +1 -1
- package/es/tx/builder/field-types/name-fee.mjs +1 -1
- package/es/tx/builder/field-types/name-fee.mjs.map +1 -1
- package/es/tx/builder/field-types/nonce.d.ts +1 -0
- package/es/tx/builder/field-types/nonce.mjs +2 -0
- package/es/tx/builder/field-types/nonce.mjs.map +1 -1
- package/es/tx/builder/field-types/pointers.mjs +4 -7
- package/es/tx/builder/field-types/pointers.mjs.map +1 -1
- package/es/tx/builder/field-types/pointers2.d.ts +23 -0
- package/es/tx/builder/field-types/pointers2.mjs +65 -0
- package/es/tx/builder/field-types/pointers2.mjs.map +1 -0
- package/es/tx/builder/field-types/query-fee.d.ts +19 -0
- package/es/tx/builder/field-types/query-fee.mjs +20 -0
- package/es/tx/builder/field-types/query-fee.mjs.map +1 -0
- package/es/tx/builder/field-types/ttl.d.ts +9 -1
- package/es/tx/builder/field-types/ttl.mjs +19 -8
- package/es/tx/builder/field-types/ttl.mjs.map +1 -1
- package/es/tx/builder/field-types/with-default.d.ts +7 -0
- package/es/tx/builder/field-types/with-default.mjs +9 -0
- package/es/tx/builder/field-types/with-default.mjs.map +1 -0
- package/es/tx/builder/field-types/with-formatting.d.ts +7 -0
- package/es/tx/builder/field-types/with-formatting.mjs +9 -0
- package/es/tx/builder/field-types/with-formatting.mjs.map +1 -0
- package/es/tx/builder/field-types/wrapped.mjs +6 -8
- package/es/tx/builder/field-types/wrapped.mjs.map +1 -1
- package/es/tx/builder/helpers.d.ts +2 -2
- package/es/tx/builder/helpers.mjs +12 -21
- package/es/tx/builder/helpers.mjs.map +1 -1
- package/es/tx/builder/index.d.ts +17 -10
- package/es/tx/builder/index.mjs +39 -65
- package/es/tx/builder/index.mjs.map +1 -1
- package/es/tx/builder/schema.d.ts +478 -257
- package/es/tx/builder/schema.generated.d.ts +39 -3
- package/es/tx/builder/schema.generated.mjs.map +1 -1
- package/es/tx/builder/schema.mjs +48 -36
- package/es/tx/builder/schema.mjs.map +1 -1
- package/es/tx/execution-cost.d.ts +6 -5
- package/es/tx/execution-cost.mjs +16 -17
- package/es/tx/execution-cost.mjs.map +1 -1
- package/es/tx/transaction-signer.mjs +1 -4
- package/es/tx/transaction-signer.mjs.map +1 -1
- package/es/tx/validator.mjs +61 -42
- package/es/tx/validator.mjs.map +1 -1
- package/es/utils/amount-formatter.mjs +15 -22
- package/es/utils/amount-formatter.mjs.map +1 -1
- package/es/utils/autorest.d.ts +2 -3
- package/es/utils/autorest.mjs +40 -24
- package/es/utils/autorest.mjs.map +1 -1
- package/es/utils/bytes.mjs +1 -2
- package/es/utils/bytes.mjs.map +1 -1
- package/es/utils/crypto.d.ts +8 -4
- package/es/utils/crypto.mjs +17 -13
- package/es/utils/crypto.mjs.map +1 -1
- package/es/utils/errors.d.ts +6 -0
- package/es/utils/errors.mjs +12 -6
- package/es/utils/errors.mjs.map +1 -1
- package/es/utils/hd-wallet.d.ts +2 -0
- package/es/utils/hd-wallet.mjs +6 -5
- package/es/utils/hd-wallet.mjs.map +1 -1
- package/es/utils/json-big.mjs +2 -10
- package/es/utils/json-big.mjs.map +1 -1
- package/es/utils/jwt.d.ts +53 -0
- package/es/utils/jwt.mjs +120 -0
- package/es/utils/jwt.mjs.map +1 -0
- package/es/utils/keystore.d.ts +6 -2
- package/es/utils/keystore.mjs +8 -16
- package/es/utils/keystore.mjs.map +1 -1
- package/es/utils/typed-data.mjs +1 -0
- package/es/utils/typed-data.mjs.map +1 -1
- package/es/utils/wrap-proxy.d.ts +2 -0
- package/es/utils/wrap-proxy.mjs +15 -0
- package/es/utils/wrap-proxy.mjs.map +1 -0
- package/package.json +57 -51
- package/src/AeSdk.ts +3 -0
- package/src/AeSdkAepp.ts +0 -1
- package/src/AeSdkBase.ts +97 -10
- package/src/AeSdkMethods.ts +37 -33
- package/src/AeSdkWallet.ts +22 -3
- package/src/Middleware.ts +16 -8
- package/src/MiddlewareSubscriber.ts +1 -1
- package/src/Node.ts +37 -18
- package/src/account/Base.ts +62 -3
- package/src/account/Generalized.ts +10 -0
- package/src/account/Ledger.ts +10 -0
- package/src/account/Memory.ts +83 -9
- package/src/account/Rpc.ts +69 -6
- package/src/aens.ts +35 -56
- package/src/aepp-wallet-communication/connection/BrowserRuntime.ts +3 -0
- package/src/aepp-wallet-communication/connection/BrowserWindowMessage.ts +2 -2
- package/src/aepp-wallet-communication/rpc/RpcClient.ts +4 -2
- package/src/aepp-wallet-communication/rpc/types.ts +13 -0
- package/src/aepp-wallet-communication/schema.ts +2 -0
- package/src/apis/compiler/compiler.ts +93 -93
- package/src/apis/compiler/models/index.ts +1 -0
- package/src/apis/compiler/models/mappers.ts +178 -165
- package/src/apis/compiler/models/parameters.ts +18 -18
- package/src/apis/middleware/middleware.ts +462 -341
- package/src/apis/middleware/models/index.ts +258 -56
- package/src/apis/middleware/models/mappers.ts +2357 -1919
- package/src/apis/middleware/models/parameters.ts +172 -142
- package/src/apis/node/models/index.ts +79 -2
- package/src/apis/node/models/mappers.ts +1529 -1302
- package/src/apis/node/models/parameters.ts +51 -51
- package/src/apis/node/node.ts +420 -275
- package/src/chain.ts +42 -128
- package/src/channel/Base.ts +14 -47
- package/src/channel/Contract.ts +18 -26
- package/src/channel/Spend.ts +0 -8
- package/src/channel/internal.ts +115 -13
- package/src/contract/Contract.ts +26 -8
- package/src/contract/compiler/Base.ts +15 -8
- package/src/contract/compiler/Cli.ts +37 -21
- package/src/contract/compiler/Cli8.ts +17 -0
- package/src/contract/compiler/Http.ts +24 -14
- package/src/contract/compiler/HttpNode.ts +2 -2
- package/src/contract/delegation-signature.ts +11 -5
- package/src/contract/ga.ts +4 -3
- package/src/deprecated.ts +36 -0
- package/src/index-browser.ts +14 -7
- package/src/index.ts +1 -0
- package/src/oracle.ts +11 -54
- package/src/send-transaction.ts +136 -0
- package/src/spend.ts +25 -11
- package/src/tx/builder/common.ts +74 -0
- package/src/tx/builder/constants.ts +6 -9
- package/src/tx/builder/delegation/index.ts +28 -0
- package/src/tx/builder/delegation/schema.generated.ts +143 -0
- package/src/tx/builder/delegation/schema.ts +61 -0
- package/src/tx/builder/field-types/coin-amount.ts +3 -2
- package/src/tx/builder/field-types/entry.ts +1 -4
- package/src/tx/builder/field-types/fee.ts +71 -43
- package/src/tx/builder/field-types/gas-limit.ts +4 -4
- package/src/tx/builder/field-types/gas-price.ts +70 -14
- package/src/tx/builder/field-types/index.ts +31 -59
- package/src/tx/builder/field-types/name-fee.ts +1 -1
- package/src/tx/builder/field-types/nonce.ts +7 -1
- package/src/tx/builder/field-types/pointers2.ts +62 -0
- package/src/tx/builder/field-types/query-fee.ts +25 -0
- package/src/tx/builder/field-types/ttl.ts +13 -3
- package/src/tx/builder/field-types/with-default.ts +18 -0
- package/src/tx/builder/field-types/with-formatting.ts +18 -0
- package/src/tx/builder/helpers.ts +2 -2
- package/src/tx/builder/index.ts +42 -59
- package/src/tx/builder/schema.generated.ts +39 -3
- package/src/tx/builder/schema.ts +55 -29
- package/src/tx/execution-cost.ts +6 -5
- package/src/tx/validator.ts +31 -5
- package/src/utils/autorest.ts +36 -27
- package/src/utils/crypto.ts +23 -13
- package/src/utils/errors.ts +10 -0
- package/src/utils/hd-wallet.ts +2 -0
- package/src/utils/jwt.ts +126 -0
- package/src/utils/keystore.ts +6 -2
- package/src/utils/wrap-proxy.ts +24 -0
- package/types-legacy/ts4.2/AeSdk.d.ts +3 -0
- package/types-legacy/ts4.2/AeSdkAepp.d.ts +0 -1
- package/types-legacy/ts4.2/AeSdkBase.d.ts +61 -6
- package/types-legacy/ts4.2/AeSdkMethods.d.ts +19 -7
- package/types-legacy/ts4.2/Node.d.ts +14 -1
- package/types-legacy/ts4.2/account/Base.d.ts +39 -3
- package/types-legacy/ts4.2/account/Generalized.d.ts +2 -0
- package/types-legacy/ts4.2/account/Ledger.d.ts +2 -0
- package/types-legacy/ts4.2/account/Memory.d.ts +15 -4
- package/types-legacy/ts4.2/account/Rpc.d.ts +16 -5
- package/types-legacy/ts4.2/aens.d.ts +17 -44
- package/types-legacy/ts4.2/aepp-wallet-communication/connection/BrowserRuntime.d.ts +3 -0
- package/types-legacy/ts4.2/aepp-wallet-communication/rpc/types.d.ts +14 -0
- package/types-legacy/ts4.2/aepp-wallet-communication/schema.d.ts +2 -0
- package/types-legacy/ts4.2/apis/compiler/models/index.d.ts +1 -0
- package/types-legacy/ts4.2/apis/middleware/middleware.d.ts +23 -5
- package/types-legacy/ts4.2/apis/middleware/models/index.d.ts +164 -15
- package/types-legacy/ts4.2/apis/middleware/models/mappers.d.ts +8 -1
- package/types-legacy/ts4.2/apis/middleware/models/parameters.d.ts +6 -3
- package/types-legacy/ts4.2/apis/node/models/index.d.ts +66 -2
- package/types-legacy/ts4.2/apis/node/models/mappers.d.ts +5 -1
- package/types-legacy/ts4.2/apis/node/models/parameters.d.ts +2 -2
- package/types-legacy/ts4.2/apis/node/node.d.ts +24 -3
- package/types-legacy/ts4.2/chain.d.ts +14 -44
- package/types-legacy/ts4.2/channel/Base.d.ts +3 -47
- package/types-legacy/ts4.2/channel/Contract.d.ts +16 -25
- package/types-legacy/ts4.2/channel/Spend.d.ts +0 -8
- package/types-legacy/ts4.2/channel/internal.d.ts +104 -5
- package/types-legacy/ts4.2/contract/Contract.d.ts +9 -1
- package/types-legacy/ts4.2/contract/compiler/Base.d.ts +14 -8
- package/types-legacy/ts4.2/contract/compiler/Cli.d.ts +5 -9
- package/types-legacy/ts4.2/contract/compiler/Cli8.d.ts +13 -0
- package/types-legacy/ts4.2/contract/compiler/Http.d.ts +3 -9
- package/types-legacy/ts4.2/contract/compiler/HttpNode.d.ts +2 -5
- package/types-legacy/ts4.2/contract/delegation-signature.d.ts +2 -1
- package/types-legacy/ts4.2/contract/ga.d.ts +1 -2
- package/types-legacy/ts4.2/deprecated.d.ts +38 -0
- package/types-legacy/ts4.2/index-browser.d.ts +10 -5
- package/types-legacy/ts4.2/index.d.ts +1 -0
- package/types-legacy/ts4.2/oracle.d.ts +6 -37
- package/types-legacy/ts4.2/send-transaction.d.ts +53 -0
- package/types-legacy/ts4.2/spend.d.ts +4 -3
- package/types-legacy/ts4.2/tx/builder/common.d.ts +32 -0
- package/types-legacy/ts4.2/tx/builder/constants.d.ts +4 -4
- package/types-legacy/ts4.2/tx/builder/delegation/index.d.ts +20 -0
- package/types-legacy/ts4.2/tx/builder/delegation/schema.d.ts +136 -0
- package/types-legacy/ts4.2/tx/builder/delegation/schema.generated.d.ts +141 -0
- package/types-legacy/ts4.2/tx/builder/field-types/coin-amount.d.ts +2 -2
- package/types-legacy/ts4.2/tx/builder/field-types/fee.d.ts +19 -11
- package/types-legacy/ts4.2/tx/builder/field-types/gas-price.d.ts +10 -2
- package/types-legacy/ts4.2/tx/builder/field-types/index.d.ts +31 -29
- package/types-legacy/ts4.2/tx/builder/field-types/name-fee.d.ts +1 -1
- package/types-legacy/ts4.2/tx/builder/field-types/nonce.d.ts +1 -0
- package/types-legacy/ts4.2/tx/builder/field-types/pointers2.d.ts +26 -0
- package/types-legacy/ts4.2/tx/builder/field-types/query-fee.d.ts +19 -0
- package/types-legacy/ts4.2/tx/builder/field-types/ttl.d.ts +9 -1
- package/types-legacy/ts4.2/tx/builder/field-types/with-default.d.ts +7 -0
- package/types-legacy/ts4.2/tx/builder/field-types/with-formatting.d.ts +7 -0
- package/types-legacy/ts4.2/tx/builder/helpers.d.ts +2 -2
- package/types-legacy/ts4.2/tx/builder/index.d.ts +17 -10
- package/types-legacy/ts4.2/tx/builder/schema.d.ts +482 -257
- package/types-legacy/ts4.2/tx/builder/schema.generated.d.ts +39 -3
- package/types-legacy/ts4.2/tx/execution-cost.d.ts +6 -5
- package/types-legacy/ts4.2/utils/autorest.d.ts +2 -3
- package/types-legacy/ts4.2/utils/crypto.d.ts +8 -4
- package/types-legacy/ts4.2/utils/errors.d.ts +6 -0
- package/types-legacy/ts4.2/utils/hd-wallet.d.ts +2 -0
- package/types-legacy/ts4.2/utils/jwt.d.ts +53 -0
- package/types-legacy/ts4.2/utils/keystore.d.ts +6 -2
- package/types-legacy/ts4.2/utils/wrap-proxy.d.ts +2 -0
- package/types-legacy/ts4.5/AeSdk.d.ts +3 -0
- package/types-legacy/ts4.5/AeSdkAepp.d.ts +0 -1
- package/types-legacy/ts4.5/AeSdkBase.d.ts +61 -6
- package/types-legacy/ts4.5/AeSdkMethods.d.ts +19 -7
- package/types-legacy/ts4.5/Node.d.ts +14 -1
- package/types-legacy/ts4.5/account/Base.d.ts +39 -3
- package/types-legacy/ts4.5/account/Generalized.d.ts +2 -0
- package/types-legacy/ts4.5/account/Ledger.d.ts +2 -0
- package/types-legacy/ts4.5/account/Memory.d.ts +15 -4
- package/types-legacy/ts4.5/account/Rpc.d.ts +16 -5
- package/types-legacy/ts4.5/aens.d.ts +17 -44
- package/types-legacy/ts4.5/aepp-wallet-communication/connection/BrowserRuntime.d.ts +3 -0
- package/types-legacy/ts4.5/aepp-wallet-communication/rpc/types.d.ts +14 -0
- package/types-legacy/ts4.5/aepp-wallet-communication/schema.d.ts +2 -0
- package/types-legacy/ts4.5/apis/compiler/models/index.d.ts +1 -0
- package/types-legacy/ts4.5/apis/middleware/middleware.d.ts +23 -5
- package/types-legacy/ts4.5/apis/middleware/models/index.d.ts +164 -15
- package/types-legacy/ts4.5/apis/middleware/models/mappers.d.ts +8 -1
- package/types-legacy/ts4.5/apis/middleware/models/parameters.d.ts +6 -3
- package/types-legacy/ts4.5/apis/node/models/index.d.ts +66 -2
- package/types-legacy/ts4.5/apis/node/models/mappers.d.ts +5 -1
- package/types-legacy/ts4.5/apis/node/models/parameters.d.ts +2 -2
- package/types-legacy/ts4.5/apis/node/node.d.ts +24 -3
- package/types-legacy/ts4.5/chain.d.ts +14 -44
- package/types-legacy/ts4.5/channel/Base.d.ts +3 -47
- package/types-legacy/ts4.5/channel/Contract.d.ts +16 -25
- package/types-legacy/ts4.5/channel/Spend.d.ts +0 -8
- package/types-legacy/ts4.5/channel/internal.d.ts +104 -5
- package/types-legacy/ts4.5/contract/Contract.d.ts +9 -1
- package/types-legacy/ts4.5/contract/compiler/Base.d.ts +14 -8
- package/types-legacy/ts4.5/contract/compiler/Cli.d.ts +5 -9
- package/types-legacy/ts4.5/contract/compiler/Cli8.d.ts +13 -0
- package/types-legacy/ts4.5/contract/compiler/Http.d.ts +3 -9
- package/types-legacy/ts4.5/contract/compiler/HttpNode.d.ts +2 -5
- package/types-legacy/ts4.5/contract/delegation-signature.d.ts +2 -1
- package/types-legacy/ts4.5/contract/ga.d.ts +1 -2
- package/types-legacy/ts4.5/deprecated.d.ts +38 -0
- package/types-legacy/ts4.5/index-browser.d.ts +10 -5
- package/types-legacy/ts4.5/index.d.ts +1 -0
- package/types-legacy/ts4.5/oracle.d.ts +6 -37
- package/types-legacy/ts4.5/send-transaction.d.ts +53 -0
- package/types-legacy/ts4.5/spend.d.ts +4 -3
- package/types-legacy/ts4.5/tx/builder/common.d.ts +32 -0
- package/types-legacy/ts4.5/tx/builder/constants.d.ts +4 -4
- package/types-legacy/ts4.5/tx/builder/delegation/index.d.ts +20 -0
- package/types-legacy/ts4.5/tx/builder/delegation/schema.d.ts +136 -0
- package/types-legacy/ts4.5/tx/builder/delegation/schema.generated.d.ts +141 -0
- package/types-legacy/ts4.5/tx/builder/field-types/coin-amount.d.ts +2 -2
- package/types-legacy/ts4.5/tx/builder/field-types/fee.d.ts +19 -11
- package/types-legacy/ts4.5/tx/builder/field-types/gas-price.d.ts +10 -2
- package/types-legacy/ts4.5/tx/builder/field-types/index.d.ts +31 -29
- package/types-legacy/ts4.5/tx/builder/field-types/name-fee.d.ts +1 -1
- package/types-legacy/ts4.5/tx/builder/field-types/nonce.d.ts +1 -0
- package/types-legacy/ts4.5/tx/builder/field-types/pointers2.d.ts +26 -0
- package/types-legacy/ts4.5/tx/builder/field-types/query-fee.d.ts +19 -0
- package/types-legacy/ts4.5/tx/builder/field-types/ttl.d.ts +9 -1
- package/types-legacy/ts4.5/tx/builder/field-types/with-default.d.ts +7 -0
- package/types-legacy/ts4.5/tx/builder/field-types/with-formatting.d.ts +7 -0
- package/types-legacy/ts4.5/tx/builder/helpers.d.ts +2 -2
- package/types-legacy/ts4.5/tx/builder/index.d.ts +17 -10
- package/types-legacy/ts4.5/tx/builder/schema.d.ts +482 -257
- package/types-legacy/ts4.5/tx/builder/schema.generated.d.ts +39 -3
- package/types-legacy/ts4.5/tx/execution-cost.d.ts +6 -5
- package/types-legacy/ts4.5/utils/autorest.d.ts +2 -3
- package/types-legacy/ts4.5/utils/crypto.d.ts +8 -4
- package/types-legacy/ts4.5/utils/errors.d.ts +6 -0
- package/types-legacy/ts4.5/utils/hd-wallet.d.ts +2 -0
- package/types-legacy/ts4.5/utils/jwt.d.ts +53 -0
- package/types-legacy/ts4.5/utils/keystore.d.ts +6 -2
- package/types-legacy/ts4.5/utils/wrap-proxy.d.ts +2 -0
- package/es/tx/builder/field-types/deposit.d.ts +0 -15
- package/es/tx/builder/field-types/deposit.mjs +0 -18
- package/es/tx/builder/field-types/deposit.mjs.map +0 -1
- package/src/tx/builder/field-types/deposit.ts +0 -23
- package/types-legacy/ts4.2/tx/builder/field-types/deposit.d.ts +0 -15
- package/types-legacy/ts4.5/tx/builder/field-types/deposit.d.ts +0 -15
|
@@ -56,6 +56,8 @@ import {
|
|
|
56
56
|
GetContractsCallsResponse,
|
|
57
57
|
GetContractsLogsOptionalParams,
|
|
58
58
|
GetContractsLogsResponse,
|
|
59
|
+
GetContractOptionalParams,
|
|
60
|
+
GetContractResponse,
|
|
59
61
|
GetDeltastatsOptionalParams,
|
|
60
62
|
GetDeltastatsResponse,
|
|
61
63
|
GetKeyBlocksOptionalParams,
|
|
@@ -88,10 +90,14 @@ import {
|
|
|
88
90
|
GetNameTransfersResponse,
|
|
89
91
|
GetNameUpdatesOptionalParams,
|
|
90
92
|
GetNameUpdatesResponse,
|
|
91
|
-
GetOracleOptionalParams,
|
|
92
|
-
GetOracleResponse,
|
|
93
93
|
GetOraclesOptionalParams,
|
|
94
94
|
GetOraclesResponse,
|
|
95
|
+
GetOracleOptionalParams,
|
|
96
|
+
GetOracleResponse,
|
|
97
|
+
GetOracleQueriesOptionalParams,
|
|
98
|
+
GetOracleQueriesResponse,
|
|
99
|
+
GetOracleResponsesOptionalParams,
|
|
100
|
+
GetOracleResponsesResponse,
|
|
95
101
|
GetStatusOptionalParams,
|
|
96
102
|
GetStatusResponse,
|
|
97
103
|
GetTotalstatsOptionalParams,
|
|
@@ -105,7 +111,7 @@ import {
|
|
|
105
111
|
GetTxCountByIdOptionalParams,
|
|
106
112
|
GetTxCountByIdResponse,
|
|
107
113
|
GetTxOptionalParams,
|
|
108
|
-
GetTxResponse
|
|
114
|
+
GetTxResponse,
|
|
109
115
|
} from "./models";
|
|
110
116
|
|
|
111
117
|
export class Middleware extends coreClient.ServiceClient {
|
|
@@ -129,7 +135,7 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
129
135
|
options = {};
|
|
130
136
|
}
|
|
131
137
|
const defaults: MiddlewareOptionalParams = {
|
|
132
|
-
requestContentType: "application/json; charset=utf-8"
|
|
138
|
+
requestContentType: "application/json; charset=utf-8",
|
|
133
139
|
};
|
|
134
140
|
|
|
135
141
|
const packageDetails = `azsdk-js-middleware/1.0.0-beta.1`;
|
|
@@ -142,9 +148,9 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
142
148
|
...defaults,
|
|
143
149
|
...options,
|
|
144
150
|
userAgentOptions: {
|
|
145
|
-
userAgentPrefix
|
|
151
|
+
userAgentPrefix,
|
|
146
152
|
},
|
|
147
|
-
endpoint: options.endpoint ?? options.baseUri ?? "{$host}"
|
|
153
|
+
endpoint: options.endpoint ?? options.baseUri ?? "{$host}",
|
|
148
154
|
};
|
|
149
155
|
super(optionsWithDefaults);
|
|
150
156
|
// Parameter assignments
|
|
@@ -158,24 +164,24 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
158
164
|
*/
|
|
159
165
|
getAccountActivities(
|
|
160
166
|
id: string,
|
|
161
|
-
options?: GetAccountActivitiesOptionalParams
|
|
167
|
+
options?: GetAccountActivitiesOptionalParams,
|
|
162
168
|
): Promise<GetAccountActivitiesResponse> {
|
|
163
169
|
return this.sendOperationRequest(
|
|
164
170
|
{ id, options },
|
|
165
|
-
getAccountActivitiesOperationSpec
|
|
171
|
+
getAccountActivitiesOperationSpec,
|
|
166
172
|
);
|
|
167
173
|
}
|
|
168
174
|
|
|
169
175
|
/**
|
|
170
|
-
* Get AEX141 contracts sorted by name or symbol.
|
|
176
|
+
* Get AEX141 contracts sorted by creation time, name or symbol.
|
|
171
177
|
* @param options The options parameters.
|
|
172
178
|
*/
|
|
173
179
|
getSortedAex141Contracts(
|
|
174
|
-
options?: GetSortedAex141ContractsOptionalParams
|
|
180
|
+
options?: GetSortedAex141ContractsOptionalParams,
|
|
175
181
|
): Promise<GetSortedAex141ContractsResponse> {
|
|
176
182
|
return this.sendOperationRequest(
|
|
177
183
|
{ options },
|
|
178
|
-
getSortedAex141ContractsOperationSpec
|
|
184
|
+
getSortedAex141ContractsOperationSpec,
|
|
179
185
|
);
|
|
180
186
|
}
|
|
181
187
|
|
|
@@ -186,11 +192,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
186
192
|
*/
|
|
187
193
|
getAex141OwnedTokens(
|
|
188
194
|
accountId: string,
|
|
189
|
-
options?: GetAex141OwnedTokensOptionalParams
|
|
195
|
+
options?: GetAex141OwnedTokensOptionalParams,
|
|
190
196
|
): Promise<GetAex141OwnedTokensResponse> {
|
|
191
197
|
return this.sendOperationRequest(
|
|
192
198
|
{ accountId, options },
|
|
193
|
-
getAex141OwnedTokensOperationSpec
|
|
199
|
+
getAex141OwnedTokensOperationSpec,
|
|
194
200
|
);
|
|
195
201
|
}
|
|
196
202
|
|
|
@@ -203,11 +209,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
203
209
|
getAex141TokenOwner(
|
|
204
210
|
contractId: string,
|
|
205
211
|
tokenId: number,
|
|
206
|
-
options?: GetAex141TokenOwnerOptionalParams
|
|
212
|
+
options?: GetAex141TokenOwnerOptionalParams,
|
|
207
213
|
): Promise<GetAex141TokenOwnerResponse> {
|
|
208
214
|
return this.sendOperationRequest(
|
|
209
215
|
{ contractId, tokenId, options },
|
|
210
|
-
getAex141TokenOwnerOperationSpec
|
|
216
|
+
getAex141TokenOwnerOperationSpec,
|
|
211
217
|
);
|
|
212
218
|
}
|
|
213
219
|
|
|
@@ -218,11 +224,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
218
224
|
*/
|
|
219
225
|
getAex141ContractOwners(
|
|
220
226
|
contractId: string,
|
|
221
|
-
options?: GetAex141ContractOwnersOptionalParams
|
|
227
|
+
options?: GetAex141ContractOwnersOptionalParams,
|
|
222
228
|
): Promise<GetAex141ContractOwnersResponse> {
|
|
223
229
|
return this.sendOperationRequest(
|
|
224
230
|
{ contractId, options },
|
|
225
|
-
getAex141ContractOwnersOperationSpec
|
|
231
|
+
getAex141ContractOwnersOperationSpec,
|
|
226
232
|
);
|
|
227
233
|
}
|
|
228
234
|
|
|
@@ -233,11 +239,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
233
239
|
*/
|
|
234
240
|
getAex141ContractTemplates(
|
|
235
241
|
contractId: string,
|
|
236
|
-
options?: GetAex141ContractTemplatesOptionalParams
|
|
242
|
+
options?: GetAex141ContractTemplatesOptionalParams,
|
|
237
243
|
): Promise<GetAex141ContractTemplatesResponse> {
|
|
238
244
|
return this.sendOperationRequest(
|
|
239
245
|
{ contractId, options },
|
|
240
|
-
getAex141ContractTemplatesOperationSpec
|
|
246
|
+
getAex141ContractTemplatesOperationSpec,
|
|
241
247
|
);
|
|
242
248
|
}
|
|
243
249
|
|
|
@@ -250,11 +256,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
250
256
|
getAex141TemplateTokens(
|
|
251
257
|
contractId: string,
|
|
252
258
|
templateId: number,
|
|
253
|
-
options?: GetAex141TemplateTokensOptionalParams
|
|
259
|
+
options?: GetAex141TemplateTokensOptionalParams,
|
|
254
260
|
): Promise<GetAex141TemplateTokensResponse> {
|
|
255
261
|
return this.sendOperationRequest(
|
|
256
262
|
{ contractId, templateId, options },
|
|
257
|
-
getAex141TemplateTokensOperationSpec
|
|
263
|
+
getAex141TemplateTokensOperationSpec,
|
|
258
264
|
);
|
|
259
265
|
}
|
|
260
266
|
|
|
@@ -265,24 +271,24 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
265
271
|
*/
|
|
266
272
|
getAex141ByContract(
|
|
267
273
|
id: string,
|
|
268
|
-
options?: GetAex141ByContractOptionalParams
|
|
274
|
+
options?: GetAex141ByContractOptionalParams,
|
|
269
275
|
): Promise<GetAex141ByContractResponse> {
|
|
270
276
|
return this.sendOperationRequest(
|
|
271
277
|
{ id, options },
|
|
272
|
-
getAex141ByContractOperationSpec
|
|
278
|
+
getAex141ByContractOperationSpec,
|
|
273
279
|
);
|
|
274
280
|
}
|
|
275
281
|
|
|
276
282
|
/**
|
|
277
|
-
* Get AEX9 tokens sorted by name or symbol.
|
|
283
|
+
* Get AEX9 tokens sorted by creation time, name or symbol.
|
|
278
284
|
* @param options The options parameters.
|
|
279
285
|
*/
|
|
280
286
|
getSortedAex9Tokens(
|
|
281
|
-
options?: GetSortedAex9TokensOptionalParams
|
|
287
|
+
options?: GetSortedAex9TokensOptionalParams,
|
|
282
288
|
): Promise<GetSortedAex9TokensResponse> {
|
|
283
289
|
return this.sendOperationRequest(
|
|
284
290
|
{ options },
|
|
285
|
-
getSortedAex9TokensOperationSpec
|
|
291
|
+
getSortedAex9TokensOperationSpec,
|
|
286
292
|
);
|
|
287
293
|
}
|
|
288
294
|
|
|
@@ -293,11 +299,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
293
299
|
*/
|
|
294
300
|
getAex9AccountBalances(
|
|
295
301
|
accountId: string,
|
|
296
|
-
options?: GetAex9AccountBalancesOptionalParams
|
|
302
|
+
options?: GetAex9AccountBalancesOptionalParams,
|
|
297
303
|
): Promise<GetAex9AccountBalancesResponse> {
|
|
298
304
|
return this.sendOperationRequest(
|
|
299
305
|
{ accountId, options },
|
|
300
|
-
getAex9AccountBalancesOperationSpec
|
|
306
|
+
getAex9AccountBalancesOperationSpec,
|
|
301
307
|
);
|
|
302
308
|
}
|
|
303
309
|
|
|
@@ -306,11 +312,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
306
312
|
* @param options The options parameters.
|
|
307
313
|
*/
|
|
308
314
|
getAex9TokensCount(
|
|
309
|
-
options?: GetAex9TokensCountOptionalParams
|
|
315
|
+
options?: GetAex9TokensCountOptionalParams,
|
|
310
316
|
): Promise<GetAex9TokensCountResponse> {
|
|
311
317
|
return this.sendOperationRequest(
|
|
312
318
|
{ options },
|
|
313
|
-
getAex9TokensCountOperationSpec
|
|
319
|
+
getAex9TokensCountOperationSpec,
|
|
314
320
|
);
|
|
315
321
|
}
|
|
316
322
|
|
|
@@ -323,11 +329,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
323
329
|
getAex9PairTransfers(
|
|
324
330
|
sender: string,
|
|
325
331
|
recipient: string,
|
|
326
|
-
options?: GetAex9PairTransfersOptionalParams
|
|
332
|
+
options?: GetAex9PairTransfersOptionalParams,
|
|
327
333
|
): Promise<GetAex9PairTransfersResponse> {
|
|
328
334
|
return this.sendOperationRequest(
|
|
329
335
|
{ sender, recipient, options },
|
|
330
|
-
getAex9PairTransfersOperationSpec
|
|
336
|
+
getAex9PairTransfersOperationSpec,
|
|
331
337
|
);
|
|
332
338
|
}
|
|
333
339
|
|
|
@@ -338,11 +344,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
338
344
|
*/
|
|
339
345
|
getAex9SenderTransfers(
|
|
340
346
|
id: string,
|
|
341
|
-
options?: GetAex9SenderTransfersOptionalParams
|
|
347
|
+
options?: GetAex9SenderTransfersOptionalParams,
|
|
342
348
|
): Promise<GetAex9SenderTransfersResponse> {
|
|
343
349
|
return this.sendOperationRequest(
|
|
344
350
|
{ id, options },
|
|
345
|
-
getAex9SenderTransfersOperationSpec
|
|
351
|
+
getAex9SenderTransfersOperationSpec,
|
|
346
352
|
);
|
|
347
353
|
}
|
|
348
354
|
|
|
@@ -353,11 +359,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
353
359
|
*/
|
|
354
360
|
getAex9RecipientTransfers(
|
|
355
361
|
id: string,
|
|
356
|
-
options?: GetAex9RecipientTransfersOptionalParams
|
|
362
|
+
options?: GetAex9RecipientTransfersOptionalParams,
|
|
357
363
|
): Promise<GetAex9RecipientTransfersResponse> {
|
|
358
364
|
return this.sendOperationRequest(
|
|
359
365
|
{ id, options },
|
|
360
|
-
getAex9RecipientTransfersOperationSpec
|
|
366
|
+
getAex9RecipientTransfersOperationSpec,
|
|
361
367
|
);
|
|
362
368
|
}
|
|
363
369
|
|
|
@@ -368,11 +374,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
368
374
|
*/
|
|
369
375
|
getAex9ContractBalances(
|
|
370
376
|
contractId: string,
|
|
371
|
-
options?: GetAex9ContractBalancesOptionalParams
|
|
377
|
+
options?: GetAex9ContractBalancesOptionalParams,
|
|
372
378
|
): Promise<GetAex9ContractBalancesResponse> {
|
|
373
379
|
return this.sendOperationRequest(
|
|
374
380
|
{ contractId, options },
|
|
375
|
-
getAex9ContractBalancesOperationSpec
|
|
381
|
+
getAex9ContractBalancesOperationSpec,
|
|
376
382
|
);
|
|
377
383
|
}
|
|
378
384
|
|
|
@@ -387,11 +393,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
387
393
|
contractId: string,
|
|
388
394
|
accountId: string,
|
|
389
395
|
hash: string,
|
|
390
|
-
options?: GetAex9ContractAccountBalanceOptionalParams
|
|
396
|
+
options?: GetAex9ContractAccountBalanceOptionalParams,
|
|
391
397
|
): Promise<GetAex9ContractAccountBalanceResponse> {
|
|
392
398
|
return this.sendOperationRequest(
|
|
393
399
|
{ contractId, accountId, hash, options },
|
|
394
|
-
getAex9ContractAccountBalanceOperationSpec
|
|
400
|
+
getAex9ContractAccountBalanceOperationSpec,
|
|
395
401
|
);
|
|
396
402
|
}
|
|
397
403
|
|
|
@@ -404,11 +410,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
404
410
|
getAex9ContractAccountBalanceHistory(
|
|
405
411
|
contractId: string,
|
|
406
412
|
accountId: string,
|
|
407
|
-
options?: GetAex9ContractAccountBalanceHistoryOptionalParams
|
|
413
|
+
options?: GetAex9ContractAccountBalanceHistoryOptionalParams,
|
|
408
414
|
): Promise<GetAex9ContractAccountBalanceHistoryResponse> {
|
|
409
415
|
return this.sendOperationRequest(
|
|
410
416
|
{ contractId, accountId, options },
|
|
411
|
-
getAex9ContractAccountBalanceHistoryOperationSpec
|
|
417
|
+
getAex9ContractAccountBalanceHistoryOperationSpec,
|
|
412
418
|
);
|
|
413
419
|
}
|
|
414
420
|
|
|
@@ -419,11 +425,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
419
425
|
*/
|
|
420
426
|
getAex9LogsCount(
|
|
421
427
|
contractId: string,
|
|
422
|
-
options?: GetAex9LogsCountOptionalParams
|
|
428
|
+
options?: GetAex9LogsCountOptionalParams,
|
|
423
429
|
): Promise<GetAex9LogsCountResponse> {
|
|
424
430
|
return this.sendOperationRequest(
|
|
425
431
|
{ contractId, options },
|
|
426
|
-
getAex9LogsCountOperationSpec
|
|
432
|
+
getAex9LogsCountOperationSpec,
|
|
427
433
|
);
|
|
428
434
|
}
|
|
429
435
|
|
|
@@ -434,11 +440,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
434
440
|
*/
|
|
435
441
|
getAex9ByContract(
|
|
436
442
|
id: string,
|
|
437
|
-
options?: GetAex9ByContractOptionalParams
|
|
443
|
+
options?: GetAex9ByContractOptionalParams,
|
|
438
444
|
): Promise<GetAex9ByContractResponse> {
|
|
439
445
|
return this.sendOperationRequest(
|
|
440
446
|
{ id, options },
|
|
441
|
-
getAex9ByContractOperationSpec
|
|
447
|
+
getAex9ByContractOperationSpec,
|
|
442
448
|
);
|
|
443
449
|
}
|
|
444
450
|
|
|
@@ -457,11 +463,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
457
463
|
*/
|
|
458
464
|
getBlock(
|
|
459
465
|
hashOrKbi: string,
|
|
460
|
-
options?: GetBlockOptionalParams
|
|
466
|
+
options?: GetBlockOptionalParams,
|
|
461
467
|
): Promise<GetBlockResponse> {
|
|
462
468
|
return this.sendOperationRequest(
|
|
463
469
|
{ hashOrKbi, options },
|
|
464
|
-
getBlockOperationSpec
|
|
470
|
+
getBlockOperationSpec,
|
|
465
471
|
);
|
|
466
472
|
}
|
|
467
473
|
|
|
@@ -474,11 +480,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
474
480
|
getBlockByMbi(
|
|
475
481
|
kbi: number,
|
|
476
482
|
mbi: number,
|
|
477
|
-
options?: GetBlockByMbiOptionalParams
|
|
483
|
+
options?: GetBlockByMbiOptionalParams,
|
|
478
484
|
): Promise<GetBlockByMbiResponse> {
|
|
479
485
|
return this.sendOperationRequest(
|
|
480
486
|
{ kbi, mbi, options },
|
|
481
|
-
getBlockByMbiOperationSpec
|
|
487
|
+
getBlockByMbiOperationSpec,
|
|
482
488
|
);
|
|
483
489
|
}
|
|
484
490
|
|
|
@@ -487,7 +493,7 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
487
493
|
* @param options The options parameters.
|
|
488
494
|
*/
|
|
489
495
|
getChannels(
|
|
490
|
-
options?: GetChannelsOptionalParams
|
|
496
|
+
options?: GetChannelsOptionalParams,
|
|
491
497
|
): Promise<GetChannelsResponse> {
|
|
492
498
|
return this.sendOperationRequest({ options }, getChannelsOperationSpec);
|
|
493
499
|
}
|
|
@@ -499,7 +505,7 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
499
505
|
*/
|
|
500
506
|
getChannel(
|
|
501
507
|
id: string,
|
|
502
|
-
options?: GetChannelOptionalParams
|
|
508
|
+
options?: GetChannelOptionalParams,
|
|
503
509
|
): Promise<GetChannelResponse> {
|
|
504
510
|
return this.sendOperationRequest({ id, options }, getChannelOperationSpec);
|
|
505
511
|
}
|
|
@@ -509,11 +515,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
509
515
|
* @param options The options parameters.
|
|
510
516
|
*/
|
|
511
517
|
getContractsCalls(
|
|
512
|
-
options?: GetContractsCallsOptionalParams
|
|
518
|
+
options?: GetContractsCallsOptionalParams,
|
|
513
519
|
): Promise<GetContractsCallsResponse> {
|
|
514
520
|
return this.sendOperationRequest(
|
|
515
521
|
{ options },
|
|
516
|
-
getContractsCallsOperationSpec
|
|
522
|
+
getContractsCallsOperationSpec,
|
|
517
523
|
);
|
|
518
524
|
}
|
|
519
525
|
|
|
@@ -522,20 +528,32 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
522
528
|
* @param options The options parameters.
|
|
523
529
|
*/
|
|
524
530
|
getContractsLogs(
|
|
525
|
-
options?: GetContractsLogsOptionalParams
|
|
531
|
+
options?: GetContractsLogsOptionalParams,
|
|
526
532
|
): Promise<GetContractsLogsResponse> {
|
|
527
533
|
return this.sendOperationRequest(
|
|
528
534
|
{ options },
|
|
529
|
-
getContractsLogsOperationSpec
|
|
535
|
+
getContractsLogsOperationSpec,
|
|
530
536
|
);
|
|
531
537
|
}
|
|
532
538
|
|
|
539
|
+
/**
|
|
540
|
+
* Gets contract creation info.
|
|
541
|
+
* @param id Contract that emitted the logs
|
|
542
|
+
* @param options The options parameters.
|
|
543
|
+
*/
|
|
544
|
+
getContract(
|
|
545
|
+
id: string,
|
|
546
|
+
options?: GetContractOptionalParams,
|
|
547
|
+
): Promise<GetContractResponse> {
|
|
548
|
+
return this.sendOperationRequest({ id, options }, getContractOperationSpec);
|
|
549
|
+
}
|
|
550
|
+
|
|
533
551
|
/**
|
|
534
552
|
* Get delta stats.
|
|
535
553
|
* @param options The options parameters.
|
|
536
554
|
*/
|
|
537
555
|
getDeltastats(
|
|
538
|
-
options?: GetDeltastatsOptionalParams
|
|
556
|
+
options?: GetDeltastatsOptionalParams,
|
|
539
557
|
): Promise<GetDeltastatsResponse> {
|
|
540
558
|
return this.sendOperationRequest({ options }, getDeltastatsOperationSpec);
|
|
541
559
|
}
|
|
@@ -545,7 +563,7 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
545
563
|
* @param options The options parameters.
|
|
546
564
|
*/
|
|
547
565
|
getKeyBlocks(
|
|
548
|
-
options?: GetKeyBlocksOptionalParams
|
|
566
|
+
options?: GetKeyBlocksOptionalParams,
|
|
549
567
|
): Promise<GetKeyBlocksResponse> {
|
|
550
568
|
return this.sendOperationRequest({ options }, getKeyBlocksOperationSpec);
|
|
551
569
|
}
|
|
@@ -557,11 +575,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
557
575
|
*/
|
|
558
576
|
getKeyBlock(
|
|
559
577
|
hashOrKbi: string,
|
|
560
|
-
options?: GetKeyBlockOptionalParams
|
|
578
|
+
options?: GetKeyBlockOptionalParams,
|
|
561
579
|
): Promise<GetKeyBlockResponse> {
|
|
562
580
|
return this.sendOperationRequest(
|
|
563
581
|
{ hashOrKbi, options },
|
|
564
|
-
getKeyBlockOperationSpec
|
|
582
|
+
getKeyBlockOperationSpec,
|
|
565
583
|
);
|
|
566
584
|
}
|
|
567
585
|
|
|
@@ -572,11 +590,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
572
590
|
*/
|
|
573
591
|
getKeyBlockMicroBlocks(
|
|
574
592
|
hashOrKbi: string,
|
|
575
|
-
options?: GetKeyBlockMicroBlocksOptionalParams
|
|
593
|
+
options?: GetKeyBlockMicroBlocksOptionalParams,
|
|
576
594
|
): Promise<GetKeyBlockMicroBlocksResponse> {
|
|
577
595
|
return this.sendOperationRequest(
|
|
578
596
|
{ hashOrKbi, options },
|
|
579
|
-
getKeyBlockMicroBlocksOperationSpec
|
|
597
|
+
getKeyBlockMicroBlocksOperationSpec,
|
|
580
598
|
);
|
|
581
599
|
}
|
|
582
600
|
|
|
@@ -587,11 +605,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
587
605
|
*/
|
|
588
606
|
getMicroBlock(
|
|
589
607
|
hash: string,
|
|
590
|
-
options?: GetMicroBlockOptionalParams
|
|
608
|
+
options?: GetMicroBlockOptionalParams,
|
|
591
609
|
): Promise<GetMicroBlockResponse> {
|
|
592
610
|
return this.sendOperationRequest(
|
|
593
611
|
{ hash, options },
|
|
594
|
-
getMicroBlockOperationSpec
|
|
612
|
+
getMicroBlockOperationSpec,
|
|
595
613
|
);
|
|
596
614
|
}
|
|
597
615
|
|
|
@@ -602,11 +620,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
602
620
|
*/
|
|
603
621
|
getMicroBlockTransactions(
|
|
604
622
|
hash: string,
|
|
605
|
-
options?: GetMicroBlockTransactionsOptionalParams
|
|
623
|
+
options?: GetMicroBlockTransactionsOptionalParams,
|
|
606
624
|
): Promise<GetMicroBlockTransactionsResponse> {
|
|
607
625
|
return this.sendOperationRequest(
|
|
608
626
|
{ hash, options },
|
|
609
|
-
getMicroBlockTransactionsOperationSpec
|
|
627
|
+
getMicroBlockTransactionsOperationSpec,
|
|
610
628
|
);
|
|
611
629
|
}
|
|
612
630
|
|
|
@@ -623,11 +641,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
623
641
|
* @param options The options parameters.
|
|
624
642
|
*/
|
|
625
643
|
getNamesAuctions(
|
|
626
|
-
options?: GetNamesAuctionsOptionalParams
|
|
644
|
+
options?: GetNamesAuctionsOptionalParams,
|
|
627
645
|
): Promise<GetNamesAuctionsResponse> {
|
|
628
646
|
return this.sendOperationRequest(
|
|
629
647
|
{ options },
|
|
630
|
-
getNamesAuctionsOperationSpec
|
|
648
|
+
getNamesAuctionsOperationSpec,
|
|
631
649
|
);
|
|
632
650
|
}
|
|
633
651
|
|
|
@@ -636,7 +654,7 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
636
654
|
* @param options The options parameters.
|
|
637
655
|
*/
|
|
638
656
|
searchNames(
|
|
639
|
-
options?: SearchNamesOptionalParams
|
|
657
|
+
options?: SearchNamesOptionalParams,
|
|
640
658
|
): Promise<SearchNamesResponse> {
|
|
641
659
|
return this.sendOperationRequest({ options }, searchNamesOperationSpec);
|
|
642
660
|
}
|
|
@@ -648,7 +666,7 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
648
666
|
*/
|
|
649
667
|
getName(
|
|
650
668
|
id: string,
|
|
651
|
-
options?: GetNameOptionalParams
|
|
669
|
+
options?: GetNameOptionalParams,
|
|
652
670
|
): Promise<GetNameResponse> {
|
|
653
671
|
return this.sendOperationRequest({ id, options }, getNameOperationSpec);
|
|
654
672
|
}
|
|
@@ -660,11 +678,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
660
678
|
*/
|
|
661
679
|
getNameAuction(
|
|
662
680
|
id: string,
|
|
663
|
-
options?: GetNameAuctionOptionalParams
|
|
681
|
+
options?: GetNameAuctionOptionalParams,
|
|
664
682
|
): Promise<GetNameAuctionResponse> {
|
|
665
683
|
return this.sendOperationRequest(
|
|
666
684
|
{ id, options },
|
|
667
|
-
getNameAuctionOperationSpec
|
|
685
|
+
getNameAuctionOperationSpec,
|
|
668
686
|
);
|
|
669
687
|
}
|
|
670
688
|
|
|
@@ -675,11 +693,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
675
693
|
*/
|
|
676
694
|
getNameClaims(
|
|
677
695
|
id: string,
|
|
678
|
-
options?: GetNameClaimsOptionalParams
|
|
696
|
+
options?: GetNameClaimsOptionalParams,
|
|
679
697
|
): Promise<GetNameClaimsResponse> {
|
|
680
698
|
return this.sendOperationRequest(
|
|
681
699
|
{ id, options },
|
|
682
|
-
getNameClaimsOperationSpec
|
|
700
|
+
getNameClaimsOperationSpec,
|
|
683
701
|
);
|
|
684
702
|
}
|
|
685
703
|
|
|
@@ -690,11 +708,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
690
708
|
*/
|
|
691
709
|
getNamePointees(
|
|
692
710
|
id: string,
|
|
693
|
-
options?: GetNamePointeesOptionalParams
|
|
711
|
+
options?: GetNamePointeesOptionalParams,
|
|
694
712
|
): Promise<GetNamePointeesResponse> {
|
|
695
713
|
return this.sendOperationRequest(
|
|
696
714
|
{ id, options },
|
|
697
|
-
getNamePointeesOperationSpec
|
|
715
|
+
getNamePointeesOperationSpec,
|
|
698
716
|
);
|
|
699
717
|
}
|
|
700
718
|
|
|
@@ -705,11 +723,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
705
723
|
*/
|
|
706
724
|
getNamePointers(
|
|
707
725
|
id: string,
|
|
708
|
-
options?: GetNamePointersOptionalParams
|
|
726
|
+
options?: GetNamePointersOptionalParams,
|
|
709
727
|
): Promise<GetNamePointersResponse> {
|
|
710
728
|
return this.sendOperationRequest(
|
|
711
729
|
{ id, options },
|
|
712
|
-
getNamePointersOperationSpec
|
|
730
|
+
getNamePointersOperationSpec,
|
|
713
731
|
);
|
|
714
732
|
}
|
|
715
733
|
|
|
@@ -720,11 +738,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
720
738
|
*/
|
|
721
739
|
getNameTransfers(
|
|
722
740
|
id: string,
|
|
723
|
-
options?: GetNameTransfersOptionalParams
|
|
741
|
+
options?: GetNameTransfersOptionalParams,
|
|
724
742
|
): Promise<GetNameTransfersResponse> {
|
|
725
743
|
return this.sendOperationRequest(
|
|
726
744
|
{ id, options },
|
|
727
|
-
getNameTransfersOperationSpec
|
|
745
|
+
getNameTransfersOperationSpec,
|
|
728
746
|
);
|
|
729
747
|
}
|
|
730
748
|
|
|
@@ -735,14 +753,22 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
735
753
|
*/
|
|
736
754
|
getNameUpdates(
|
|
737
755
|
id: string,
|
|
738
|
-
options?: GetNameUpdatesOptionalParams
|
|
756
|
+
options?: GetNameUpdatesOptionalParams,
|
|
739
757
|
): Promise<GetNameUpdatesResponse> {
|
|
740
758
|
return this.sendOperationRequest(
|
|
741
759
|
{ id, options },
|
|
742
|
-
getNameUpdatesOperationSpec
|
|
760
|
+
getNameUpdatesOperationSpec,
|
|
743
761
|
);
|
|
744
762
|
}
|
|
745
763
|
|
|
764
|
+
/**
|
|
765
|
+
* Get multiple oracles.
|
|
766
|
+
* @param options The options parameters.
|
|
767
|
+
*/
|
|
768
|
+
getOracles(options?: GetOraclesOptionalParams): Promise<GetOraclesResponse> {
|
|
769
|
+
return this.sendOperationRequest({ options }, getOraclesOperationSpec);
|
|
770
|
+
}
|
|
771
|
+
|
|
746
772
|
/**
|
|
747
773
|
* Get a single oracle.
|
|
748
774
|
* @param id The oracle
|
|
@@ -750,17 +776,39 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
750
776
|
*/
|
|
751
777
|
getOracle(
|
|
752
778
|
id: string,
|
|
753
|
-
options?: GetOracleOptionalParams
|
|
779
|
+
options?: GetOracleOptionalParams,
|
|
754
780
|
): Promise<GetOracleResponse> {
|
|
755
781
|
return this.sendOperationRequest({ id, options }, getOracleOperationSpec);
|
|
756
782
|
}
|
|
757
783
|
|
|
758
784
|
/**
|
|
759
|
-
* Get
|
|
785
|
+
* Get an oracle's queries.
|
|
786
|
+
* @param id The oracle
|
|
760
787
|
* @param options The options parameters.
|
|
761
788
|
*/
|
|
762
|
-
|
|
763
|
-
|
|
789
|
+
getOracleQueries(
|
|
790
|
+
id: string,
|
|
791
|
+
options?: GetOracleQueriesOptionalParams,
|
|
792
|
+
): Promise<GetOracleQueriesResponse> {
|
|
793
|
+
return this.sendOperationRequest(
|
|
794
|
+
{ id, options },
|
|
795
|
+
getOracleQueriesOperationSpec,
|
|
796
|
+
);
|
|
797
|
+
}
|
|
798
|
+
|
|
799
|
+
/**
|
|
800
|
+
* Get an oracle's responses.
|
|
801
|
+
* @param id The oracle
|
|
802
|
+
* @param options The options parameters.
|
|
803
|
+
*/
|
|
804
|
+
getOracleResponses(
|
|
805
|
+
id: string,
|
|
806
|
+
options?: GetOracleResponsesOptionalParams,
|
|
807
|
+
): Promise<GetOracleResponsesResponse> {
|
|
808
|
+
return this.sendOperationRequest(
|
|
809
|
+
{ id, options },
|
|
810
|
+
getOracleResponsesOperationSpec,
|
|
811
|
+
);
|
|
764
812
|
}
|
|
765
813
|
|
|
766
814
|
/**
|
|
@@ -776,7 +824,7 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
776
824
|
* @param options The options parameters.
|
|
777
825
|
*/
|
|
778
826
|
getTotalstats(
|
|
779
|
-
options?: GetTotalstatsOptionalParams
|
|
827
|
+
options?: GetTotalstatsOptionalParams,
|
|
780
828
|
): Promise<GetTotalstatsResponse> {
|
|
781
829
|
return this.sendOperationRequest({ options }, getTotalstatsOperationSpec);
|
|
782
830
|
}
|
|
@@ -786,7 +834,7 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
786
834
|
* @param options The options parameters.
|
|
787
835
|
*/
|
|
788
836
|
getTransfers(
|
|
789
|
-
options?: GetTransfersOptionalParams
|
|
837
|
+
options?: GetTransfersOptionalParams,
|
|
790
838
|
): Promise<GetTransfersResponse> {
|
|
791
839
|
return this.sendOperationRequest({ options }, getTransfersOperationSpec);
|
|
792
840
|
}
|
|
@@ -814,11 +862,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
814
862
|
*/
|
|
815
863
|
getTxCountById(
|
|
816
864
|
id: string,
|
|
817
|
-
options?: GetTxCountByIdOptionalParams
|
|
865
|
+
options?: GetTxCountByIdOptionalParams,
|
|
818
866
|
): Promise<GetTxCountByIdResponse> {
|
|
819
867
|
return this.sendOperationRequest(
|
|
820
868
|
{ id, options },
|
|
821
|
-
getTxCountByIdOperationSpec
|
|
869
|
+
getTxCountByIdOperationSpec,
|
|
822
870
|
);
|
|
823
871
|
}
|
|
824
872
|
|
|
@@ -829,11 +877,11 @@ export class Middleware extends coreClient.ServiceClient {
|
|
|
829
877
|
*/
|
|
830
878
|
getTx(
|
|
831
879
|
hashOrIndex: string,
|
|
832
|
-
options?: GetTxOptionalParams
|
|
880
|
+
options?: GetTxOptionalParams,
|
|
833
881
|
): Promise<GetTxResponse> {
|
|
834
882
|
return this.sendOperationRequest(
|
|
835
883
|
{ hashOrIndex, options },
|
|
836
|
-
getTxOperationSpec
|
|
884
|
+
getTxOperationSpec,
|
|
837
885
|
);
|
|
838
886
|
}
|
|
839
887
|
}
|
|
@@ -846,23 +894,23 @@ const getAccountActivitiesOperationSpec: coreClient.OperationSpec = {
|
|
|
846
894
|
responses: {
|
|
847
895
|
200: {
|
|
848
896
|
bodyMapper:
|
|
849
|
-
Mappers.PathsKlr2M2V2AccountsIdActivitiesGetResponses200ContentApplicationJsonSchema
|
|
897
|
+
Mappers.PathsKlr2M2V2AccountsIdActivitiesGetResponses200ContentApplicationJsonSchema,
|
|
850
898
|
},
|
|
851
899
|
400: {
|
|
852
900
|
bodyMapper: Mappers.ErrorResponse,
|
|
853
|
-
isError: true
|
|
854
|
-
}
|
|
901
|
+
isError: true,
|
|
902
|
+
},
|
|
855
903
|
},
|
|
856
904
|
queryParameters: [
|
|
857
905
|
Parameters.ownedOnly,
|
|
858
|
-
Parameters.
|
|
906
|
+
Parameters.typeParam,
|
|
859
907
|
Parameters.limit,
|
|
860
908
|
Parameters.scope,
|
|
861
|
-
Parameters.direction
|
|
909
|
+
Parameters.direction,
|
|
862
910
|
],
|
|
863
911
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
864
912
|
headerParameters: [Parameters.accept],
|
|
865
|
-
serializer
|
|
913
|
+
serializer,
|
|
866
914
|
};
|
|
867
915
|
const getSortedAex141ContractsOperationSpec: coreClient.OperationSpec = {
|
|
868
916
|
path: "/v2/aex141",
|
|
@@ -870,22 +918,22 @@ const getSortedAex141ContractsOperationSpec: coreClient.OperationSpec = {
|
|
|
870
918
|
responses: {
|
|
871
919
|
200: {
|
|
872
920
|
bodyMapper:
|
|
873
|
-
Mappers.PathsFlc7UjV2Aex141GetResponses200ContentApplicationJsonSchema
|
|
921
|
+
Mappers.PathsFlc7UjV2Aex141GetResponses200ContentApplicationJsonSchema,
|
|
874
922
|
},
|
|
875
923
|
400: {
|
|
876
924
|
bodyMapper: Mappers.ErrorResponse,
|
|
877
|
-
isError: true
|
|
878
|
-
}
|
|
925
|
+
isError: true,
|
|
926
|
+
},
|
|
879
927
|
},
|
|
880
928
|
queryParameters: [
|
|
881
929
|
Parameters.limit,
|
|
882
930
|
Parameters.direction,
|
|
883
931
|
Parameters.by,
|
|
884
|
-
Parameters.prefix
|
|
932
|
+
Parameters.prefix,
|
|
885
933
|
],
|
|
886
934
|
urlParameters: [Parameters.$host],
|
|
887
935
|
headerParameters: [Parameters.accept],
|
|
888
|
-
serializer
|
|
936
|
+
serializer,
|
|
889
937
|
};
|
|
890
938
|
const getAex141OwnedTokensOperationSpec: coreClient.OperationSpec = {
|
|
891
939
|
path: "/v2/aex141/owned-nfts/{accountId}",
|
|
@@ -893,33 +941,37 @@ const getAex141OwnedTokensOperationSpec: coreClient.OperationSpec = {
|
|
|
893
941
|
responses: {
|
|
894
942
|
200: {
|
|
895
943
|
bodyMapper:
|
|
896
|
-
Mappers.PathsSs61ZgV2Aex141OwnedNftsAccountidGetResponses200ContentApplicationJsonSchema
|
|
944
|
+
Mappers.PathsSs61ZgV2Aex141OwnedNftsAccountidGetResponses200ContentApplicationJsonSchema,
|
|
897
945
|
},
|
|
898
946
|
400: {
|
|
899
947
|
bodyMapper: Mappers.ErrorResponse,
|
|
900
|
-
isError: true
|
|
901
|
-
}
|
|
948
|
+
isError: true,
|
|
949
|
+
},
|
|
902
950
|
},
|
|
903
|
-
queryParameters: [
|
|
951
|
+
queryParameters: [
|
|
952
|
+
Parameters.limit,
|
|
953
|
+
Parameters.direction,
|
|
954
|
+
Parameters.contract,
|
|
955
|
+
],
|
|
904
956
|
urlParameters: [Parameters.$host, Parameters.accountId],
|
|
905
957
|
headerParameters: [Parameters.accept],
|
|
906
|
-
serializer
|
|
958
|
+
serializer,
|
|
907
959
|
};
|
|
908
960
|
const getAex141TokenOwnerOperationSpec: coreClient.OperationSpec = {
|
|
909
961
|
path: "/v2/aex141/{contractId}/owner/{tokenId}",
|
|
910
962
|
httpMethod: "GET",
|
|
911
963
|
responses: {
|
|
912
964
|
200: {
|
|
913
|
-
bodyMapper: { type: { name: "String" } }
|
|
965
|
+
bodyMapper: { type: { name: "String" } },
|
|
914
966
|
},
|
|
915
967
|
400: {
|
|
916
968
|
bodyMapper: Mappers.ErrorResponse,
|
|
917
|
-
isError: true
|
|
918
|
-
}
|
|
969
|
+
isError: true,
|
|
970
|
+
},
|
|
919
971
|
},
|
|
920
972
|
urlParameters: [Parameters.$host, Parameters.contractId, Parameters.tokenId],
|
|
921
973
|
headerParameters: [Parameters.accept],
|
|
922
|
-
serializer
|
|
974
|
+
serializer,
|
|
923
975
|
};
|
|
924
976
|
const getAex141ContractOwnersOperationSpec: coreClient.OperationSpec = {
|
|
925
977
|
path: "/v2/aex141/{contractId}/owners",
|
|
@@ -927,17 +979,17 @@ const getAex141ContractOwnersOperationSpec: coreClient.OperationSpec = {
|
|
|
927
979
|
responses: {
|
|
928
980
|
200: {
|
|
929
981
|
bodyMapper:
|
|
930
|
-
Mappers.Paths1Ilysy5V2Aex141ContractidOwnersGetResponses200ContentApplicationJsonSchema
|
|
982
|
+
Mappers.Paths1Ilysy5V2Aex141ContractidOwnersGetResponses200ContentApplicationJsonSchema,
|
|
931
983
|
},
|
|
932
984
|
400: {
|
|
933
985
|
bodyMapper: Mappers.ErrorResponse,
|
|
934
|
-
isError: true
|
|
935
|
-
}
|
|
986
|
+
isError: true,
|
|
987
|
+
},
|
|
936
988
|
},
|
|
937
989
|
queryParameters: [Parameters.limit, Parameters.direction],
|
|
938
990
|
urlParameters: [Parameters.$host, Parameters.contractId],
|
|
939
991
|
headerParameters: [Parameters.accept],
|
|
940
|
-
serializer
|
|
992
|
+
serializer,
|
|
941
993
|
};
|
|
942
994
|
const getAex141ContractTemplatesOperationSpec: coreClient.OperationSpec = {
|
|
943
995
|
path: "/v2/aex141/{contractId}/templates",
|
|
@@ -945,17 +997,17 @@ const getAex141ContractTemplatesOperationSpec: coreClient.OperationSpec = {
|
|
|
945
997
|
responses: {
|
|
946
998
|
200: {
|
|
947
999
|
bodyMapper:
|
|
948
|
-
Mappers.Paths17O9Fn6V2Aex141ContractidTemplatesGetResponses200ContentApplicationJsonSchema
|
|
1000
|
+
Mappers.Paths17O9Fn6V2Aex141ContractidTemplatesGetResponses200ContentApplicationJsonSchema,
|
|
949
1001
|
},
|
|
950
1002
|
400: {
|
|
951
1003
|
bodyMapper: Mappers.ErrorResponse,
|
|
952
|
-
isError: true
|
|
953
|
-
}
|
|
1004
|
+
isError: true,
|
|
1005
|
+
},
|
|
954
1006
|
},
|
|
955
1007
|
queryParameters: [Parameters.limit, Parameters.direction],
|
|
956
1008
|
urlParameters: [Parameters.$host, Parameters.contractId],
|
|
957
1009
|
headerParameters: [Parameters.accept],
|
|
958
|
-
serializer
|
|
1010
|
+
serializer,
|
|
959
1011
|
};
|
|
960
1012
|
const getAex141TemplateTokensOperationSpec: coreClient.OperationSpec = {
|
|
961
1013
|
path: "/v2/aex141/{contractId}/templates/{templateId}/tokens",
|
|
@@ -963,37 +1015,37 @@ const getAex141TemplateTokensOperationSpec: coreClient.OperationSpec = {
|
|
|
963
1015
|
responses: {
|
|
964
1016
|
200: {
|
|
965
1017
|
bodyMapper:
|
|
966
|
-
Mappers.PathsNuoourV2Aex141ContractidTemplatesTemplateidTokensGetResponses200ContentApplicationJsonSchema
|
|
1018
|
+
Mappers.PathsNuoourV2Aex141ContractidTemplatesTemplateidTokensGetResponses200ContentApplicationJsonSchema,
|
|
967
1019
|
},
|
|
968
1020
|
400: {
|
|
969
1021
|
bodyMapper: Mappers.ErrorResponse,
|
|
970
|
-
isError: true
|
|
971
|
-
}
|
|
1022
|
+
isError: true,
|
|
1023
|
+
},
|
|
972
1024
|
},
|
|
973
1025
|
queryParameters: [Parameters.limit, Parameters.direction],
|
|
974
1026
|
urlParameters: [
|
|
975
1027
|
Parameters.$host,
|
|
976
1028
|
Parameters.contractId,
|
|
977
|
-
Parameters.templateId
|
|
1029
|
+
Parameters.templateId,
|
|
978
1030
|
],
|
|
979
1031
|
headerParameters: [Parameters.accept],
|
|
980
|
-
serializer
|
|
1032
|
+
serializer,
|
|
981
1033
|
};
|
|
982
1034
|
const getAex141ByContractOperationSpec: coreClient.OperationSpec = {
|
|
983
1035
|
path: "/v2/aex141/{id}",
|
|
984
1036
|
httpMethod: "GET",
|
|
985
1037
|
responses: {
|
|
986
1038
|
200: {
|
|
987
|
-
bodyMapper: Mappers.Aex141Response
|
|
1039
|
+
bodyMapper: Mappers.Aex141Response,
|
|
988
1040
|
},
|
|
989
1041
|
400: {
|
|
990
1042
|
bodyMapper: Mappers.ErrorResponse,
|
|
991
|
-
isError: true
|
|
992
|
-
}
|
|
1043
|
+
isError: true,
|
|
1044
|
+
},
|
|
993
1045
|
},
|
|
994
1046
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
995
1047
|
headerParameters: [Parameters.accept],
|
|
996
|
-
serializer
|
|
1048
|
+
serializer,
|
|
997
1049
|
};
|
|
998
1050
|
const getSortedAex9TokensOperationSpec: coreClient.OperationSpec = {
|
|
999
1051
|
path: "/v2/aex9",
|
|
@@ -1001,22 +1053,22 @@ const getSortedAex9TokensOperationSpec: coreClient.OperationSpec = {
|
|
|
1001
1053
|
responses: {
|
|
1002
1054
|
200: {
|
|
1003
1055
|
bodyMapper:
|
|
1004
|
-
Mappers.Paths1Wbogg8V2Aex9GetResponses200ContentApplicationJsonSchema
|
|
1056
|
+
Mappers.Paths1Wbogg8V2Aex9GetResponses200ContentApplicationJsonSchema,
|
|
1005
1057
|
},
|
|
1006
1058
|
400: {
|
|
1007
1059
|
bodyMapper: Mappers.ErrorResponse,
|
|
1008
|
-
isError: true
|
|
1009
|
-
}
|
|
1060
|
+
isError: true,
|
|
1061
|
+
},
|
|
1010
1062
|
},
|
|
1011
1063
|
queryParameters: [
|
|
1012
1064
|
Parameters.limit,
|
|
1013
1065
|
Parameters.direction,
|
|
1014
|
-
Parameters.
|
|
1015
|
-
Parameters.
|
|
1066
|
+
Parameters.prefix,
|
|
1067
|
+
Parameters.by1,
|
|
1016
1068
|
],
|
|
1017
1069
|
urlParameters: [Parameters.$host],
|
|
1018
1070
|
headerParameters: [Parameters.accept],
|
|
1019
|
-
serializer
|
|
1071
|
+
serializer,
|
|
1020
1072
|
};
|
|
1021
1073
|
const getAex9AccountBalancesOperationSpec: coreClient.OperationSpec = {
|
|
1022
1074
|
path: "/v2/aex9/account-balances/{account_id}",
|
|
@@ -1024,28 +1076,28 @@ const getAex9AccountBalancesOperationSpec: coreClient.OperationSpec = {
|
|
|
1024
1076
|
responses: {
|
|
1025
1077
|
200: {
|
|
1026
1078
|
bodyMapper:
|
|
1027
|
-
Mappers.Paths1BsirxgV2Aex9AccountBalancesAccountIdGetResponses200ContentApplicationJsonSchema
|
|
1079
|
+
Mappers.Paths1BsirxgV2Aex9AccountBalancesAccountIdGetResponses200ContentApplicationJsonSchema,
|
|
1028
1080
|
},
|
|
1029
1081
|
400: {
|
|
1030
1082
|
bodyMapper: Mappers.ErrorResponse,
|
|
1031
|
-
isError: true
|
|
1032
|
-
}
|
|
1083
|
+
isError: true,
|
|
1084
|
+
},
|
|
1033
1085
|
},
|
|
1034
1086
|
urlParameters: [Parameters.$host, Parameters.accountId1],
|
|
1035
1087
|
headerParameters: [Parameters.accept],
|
|
1036
|
-
serializer
|
|
1088
|
+
serializer,
|
|
1037
1089
|
};
|
|
1038
1090
|
const getAex9TokensCountOperationSpec: coreClient.OperationSpec = {
|
|
1039
1091
|
path: "/v2/aex9/count",
|
|
1040
1092
|
httpMethod: "GET",
|
|
1041
1093
|
responses: {
|
|
1042
1094
|
200: {
|
|
1043
|
-
bodyMapper: { type: { name: "Number" } }
|
|
1044
|
-
}
|
|
1095
|
+
bodyMapper: { type: { name: "Number" } },
|
|
1096
|
+
},
|
|
1045
1097
|
},
|
|
1046
1098
|
urlParameters: [Parameters.$host],
|
|
1047
1099
|
headerParameters: [Parameters.accept],
|
|
1048
|
-
serializer
|
|
1100
|
+
serializer,
|
|
1049
1101
|
};
|
|
1050
1102
|
const getAex9PairTransfersOperationSpec: coreClient.OperationSpec = {
|
|
1051
1103
|
path: "/v2/aex9/transfers/from-to/{sender}/{recipient}",
|
|
@@ -1053,17 +1105,17 @@ const getAex9PairTransfersOperationSpec: coreClient.OperationSpec = {
|
|
|
1053
1105
|
responses: {
|
|
1054
1106
|
200: {
|
|
1055
1107
|
bodyMapper:
|
|
1056
|
-
Mappers.Paths1V0FiznV2Aex9TransfersFromToSenderRecipientGetResponses200ContentApplicationJsonSchema
|
|
1108
|
+
Mappers.Paths1V0FiznV2Aex9TransfersFromToSenderRecipientGetResponses200ContentApplicationJsonSchema,
|
|
1057
1109
|
},
|
|
1058
1110
|
400: {
|
|
1059
1111
|
bodyMapper: Mappers.ErrorResponse,
|
|
1060
|
-
isError: true
|
|
1061
|
-
}
|
|
1112
|
+
isError: true,
|
|
1113
|
+
},
|
|
1062
1114
|
},
|
|
1063
1115
|
queryParameters: [Parameters.limit, Parameters.direction],
|
|
1064
1116
|
urlParameters: [Parameters.$host, Parameters.sender, Parameters.recipient],
|
|
1065
1117
|
headerParameters: [Parameters.accept],
|
|
1066
|
-
serializer
|
|
1118
|
+
serializer,
|
|
1067
1119
|
};
|
|
1068
1120
|
const getAex9SenderTransfersOperationSpec: coreClient.OperationSpec = {
|
|
1069
1121
|
path: "/v2/aex9/transfers/from/{id}",
|
|
@@ -1071,17 +1123,17 @@ const getAex9SenderTransfersOperationSpec: coreClient.OperationSpec = {
|
|
|
1071
1123
|
responses: {
|
|
1072
1124
|
200: {
|
|
1073
1125
|
bodyMapper:
|
|
1074
|
-
Mappers.Paths1X48QgjV2Aex9TransfersFromIdGetResponses200ContentApplicationJsonSchema
|
|
1126
|
+
Mappers.Paths1X48QgjV2Aex9TransfersFromIdGetResponses200ContentApplicationJsonSchema,
|
|
1075
1127
|
},
|
|
1076
1128
|
400: {
|
|
1077
1129
|
bodyMapper: Mappers.ErrorResponse,
|
|
1078
|
-
isError: true
|
|
1079
|
-
}
|
|
1130
|
+
isError: true,
|
|
1131
|
+
},
|
|
1080
1132
|
},
|
|
1081
1133
|
queryParameters: [Parameters.limit, Parameters.direction],
|
|
1082
1134
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
1083
1135
|
headerParameters: [Parameters.accept],
|
|
1084
|
-
serializer
|
|
1136
|
+
serializer,
|
|
1085
1137
|
};
|
|
1086
1138
|
const getAex9RecipientTransfersOperationSpec: coreClient.OperationSpec = {
|
|
1087
1139
|
path: "/v2/aex9/transfers/to/{id}",
|
|
@@ -1089,17 +1141,17 @@ const getAex9RecipientTransfersOperationSpec: coreClient.OperationSpec = {
|
|
|
1089
1141
|
responses: {
|
|
1090
1142
|
200: {
|
|
1091
1143
|
bodyMapper:
|
|
1092
|
-
Mappers.Paths1DkkopqV2Aex9TransfersToIdGetResponses200ContentApplicationJsonSchema
|
|
1144
|
+
Mappers.Paths1DkkopqV2Aex9TransfersToIdGetResponses200ContentApplicationJsonSchema,
|
|
1093
1145
|
},
|
|
1094
1146
|
400: {
|
|
1095
1147
|
bodyMapper: Mappers.ErrorResponse,
|
|
1096
|
-
isError: true
|
|
1097
|
-
}
|
|
1148
|
+
isError: true,
|
|
1149
|
+
},
|
|
1098
1150
|
},
|
|
1099
1151
|
queryParameters: [Parameters.limit, Parameters.direction],
|
|
1100
1152
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
1101
1153
|
headerParameters: [Parameters.accept],
|
|
1102
|
-
serializer
|
|
1154
|
+
serializer,
|
|
1103
1155
|
};
|
|
1104
1156
|
const getAex9ContractBalancesOperationSpec: coreClient.OperationSpec = {
|
|
1105
1157
|
path: "/v2/aex9/{contractId}/balances",
|
|
@@ -1107,17 +1159,17 @@ const getAex9ContractBalancesOperationSpec: coreClient.OperationSpec = {
|
|
|
1107
1159
|
responses: {
|
|
1108
1160
|
200: {
|
|
1109
1161
|
bodyMapper:
|
|
1110
|
-
Mappers.PathsNi359V2Aex9ContractidBalancesGetResponses200ContentApplicationJsonSchema
|
|
1162
|
+
Mappers.PathsNi359V2Aex9ContractidBalancesGetResponses200ContentApplicationJsonSchema,
|
|
1111
1163
|
},
|
|
1112
1164
|
400: {
|
|
1113
1165
|
bodyMapper: Mappers.ErrorResponse,
|
|
1114
|
-
isError: true
|
|
1115
|
-
}
|
|
1166
|
+
isError: true,
|
|
1167
|
+
},
|
|
1116
1168
|
},
|
|
1117
|
-
queryParameters: [Parameters.limit, Parameters.direction, Parameters.
|
|
1169
|
+
queryParameters: [Parameters.limit, Parameters.direction, Parameters.by2],
|
|
1118
1170
|
urlParameters: [Parameters.$host, Parameters.contractId],
|
|
1119
1171
|
headerParameters: [Parameters.accept],
|
|
1120
|
-
serializer
|
|
1172
|
+
serializer,
|
|
1121
1173
|
};
|
|
1122
1174
|
const getAex9ContractAccountBalanceOperationSpec: coreClient.OperationSpec = {
|
|
1123
1175
|
path: "/v2/aex9/{contractId}/balances/{accountId}",
|
|
@@ -1125,75 +1177,76 @@ const getAex9ContractAccountBalanceOperationSpec: coreClient.OperationSpec = {
|
|
|
1125
1177
|
responses: {
|
|
1126
1178
|
200: {
|
|
1127
1179
|
bodyMapper:
|
|
1128
|
-
Mappers.Paths1R02SlwV2Aex9ContractidBalancesAccountidGetResponses200ContentApplicationJsonSchema
|
|
1180
|
+
Mappers.Paths1R02SlwV2Aex9ContractidBalancesAccountidGetResponses200ContentApplicationJsonSchema,
|
|
1129
1181
|
},
|
|
1130
1182
|
400: {
|
|
1131
1183
|
bodyMapper: Mappers.ErrorResponse,
|
|
1132
|
-
isError: true
|
|
1133
|
-
}
|
|
1184
|
+
isError: true,
|
|
1185
|
+
},
|
|
1134
1186
|
},
|
|
1135
1187
|
queryParameters: [Parameters.hash],
|
|
1136
1188
|
urlParameters: [
|
|
1137
1189
|
Parameters.$host,
|
|
1138
1190
|
Parameters.accountId,
|
|
1139
|
-
Parameters.contractId
|
|
1191
|
+
Parameters.contractId,
|
|
1140
1192
|
],
|
|
1141
1193
|
headerParameters: [Parameters.accept],
|
|
1142
|
-
serializer
|
|
1194
|
+
serializer,
|
|
1143
1195
|
};
|
|
1144
|
-
const getAex9ContractAccountBalanceHistoryOperationSpec: coreClient.OperationSpec =
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
|
|
1196
|
+
const getAex9ContractAccountBalanceHistoryOperationSpec: coreClient.OperationSpec =
|
|
1197
|
+
{
|
|
1198
|
+
path: "/v2/aex9/{contractId}/balances/{accountId}/history",
|
|
1199
|
+
httpMethod: "GET",
|
|
1200
|
+
responses: {
|
|
1201
|
+
200: {
|
|
1202
|
+
bodyMapper:
|
|
1203
|
+
Mappers.Paths1T9RwnyV2Aex9ContractidBalancesAccountidHistoryGetResponses200ContentApplicationJsonSchema,
|
|
1204
|
+
},
|
|
1205
|
+
400: {
|
|
1206
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
1207
|
+
isError: true,
|
|
1208
|
+
},
|
|
1151
1209
|
},
|
|
1152
|
-
|
|
1153
|
-
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1157
|
-
|
|
1158
|
-
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
Parameters.contractId
|
|
1162
|
-
],
|
|
1163
|
-
headerParameters: [Parameters.accept],
|
|
1164
|
-
serializer
|
|
1165
|
-
};
|
|
1210
|
+
queryParameters: [Parameters.limit, Parameters.scope, Parameters.direction],
|
|
1211
|
+
urlParameters: [
|
|
1212
|
+
Parameters.$host,
|
|
1213
|
+
Parameters.accountId,
|
|
1214
|
+
Parameters.contractId,
|
|
1215
|
+
],
|
|
1216
|
+
headerParameters: [Parameters.accept],
|
|
1217
|
+
serializer,
|
|
1218
|
+
};
|
|
1166
1219
|
const getAex9LogsCountOperationSpec: coreClient.OperationSpec = {
|
|
1167
1220
|
path: "/v2/aex9/{contractId}/logs-count",
|
|
1168
1221
|
httpMethod: "GET",
|
|
1169
1222
|
responses: {
|
|
1170
1223
|
200: {
|
|
1171
|
-
bodyMapper: { type: { name: "Number" } }
|
|
1224
|
+
bodyMapper: { type: { name: "Number" } },
|
|
1172
1225
|
},
|
|
1173
1226
|
400: {
|
|
1174
1227
|
bodyMapper: Mappers.ErrorResponse,
|
|
1175
|
-
isError: true
|
|
1176
|
-
}
|
|
1228
|
+
isError: true,
|
|
1229
|
+
},
|
|
1177
1230
|
},
|
|
1178
1231
|
urlParameters: [Parameters.$host, Parameters.contractId],
|
|
1179
1232
|
headerParameters: [Parameters.accept],
|
|
1180
|
-
serializer
|
|
1233
|
+
serializer,
|
|
1181
1234
|
};
|
|
1182
1235
|
const getAex9ByContractOperationSpec: coreClient.OperationSpec = {
|
|
1183
1236
|
path: "/v2/aex9/{id}",
|
|
1184
1237
|
httpMethod: "GET",
|
|
1185
1238
|
responses: {
|
|
1186
1239
|
200: {
|
|
1187
|
-
bodyMapper: Mappers.Aex9Response
|
|
1240
|
+
bodyMapper: Mappers.Aex9Response,
|
|
1188
1241
|
},
|
|
1189
1242
|
400: {
|
|
1190
1243
|
bodyMapper: Mappers.ErrorResponse,
|
|
1191
|
-
isError: true
|
|
1192
|
-
}
|
|
1244
|
+
isError: true,
|
|
1245
|
+
},
|
|
1193
1246
|
},
|
|
1194
1247
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
1195
1248
|
headerParameters: [Parameters.accept],
|
|
1196
|
-
serializer
|
|
1249
|
+
serializer,
|
|
1197
1250
|
};
|
|
1198
1251
|
const getBlocksOperationSpec: coreClient.OperationSpec = {
|
|
1199
1252
|
path: "/v2/blocks",
|
|
@@ -1201,57 +1254,57 @@ const getBlocksOperationSpec: coreClient.OperationSpec = {
|
|
|
1201
1254
|
responses: {
|
|
1202
1255
|
200: {
|
|
1203
1256
|
bodyMapper:
|
|
1204
|
-
Mappers.Paths15Ih6XV2BlocksGetResponses200ContentApplicationJsonSchema
|
|
1257
|
+
Mappers.Paths15Ih6XV2BlocksGetResponses200ContentApplicationJsonSchema,
|
|
1205
1258
|
},
|
|
1206
1259
|
400: {
|
|
1207
1260
|
bodyMapper: Mappers.ErrorResponse,
|
|
1208
|
-
isError: true
|
|
1209
|
-
}
|
|
1261
|
+
isError: true,
|
|
1262
|
+
},
|
|
1210
1263
|
},
|
|
1211
1264
|
queryParameters: [Parameters.limit, Parameters.scope, Parameters.direction],
|
|
1212
1265
|
urlParameters: [Parameters.$host],
|
|
1213
1266
|
headerParameters: [Parameters.accept],
|
|
1214
|
-
serializer
|
|
1267
|
+
serializer,
|
|
1215
1268
|
};
|
|
1216
1269
|
const getBlockOperationSpec: coreClient.OperationSpec = {
|
|
1217
1270
|
path: "/v2/blocks/{hash_or_kbi}",
|
|
1218
1271
|
httpMethod: "GET",
|
|
1219
1272
|
responses: {
|
|
1220
1273
|
200: {
|
|
1221
|
-
bodyMapper: Mappers.Block
|
|
1274
|
+
bodyMapper: Mappers.Block,
|
|
1222
1275
|
},
|
|
1223
1276
|
400: {
|
|
1224
1277
|
bodyMapper: Mappers.ErrorResponse,
|
|
1225
|
-
isError: true
|
|
1278
|
+
isError: true,
|
|
1226
1279
|
},
|
|
1227
1280
|
404: {
|
|
1228
1281
|
bodyMapper: Mappers.NotFoundResponse,
|
|
1229
|
-
isError: true
|
|
1230
|
-
}
|
|
1282
|
+
isError: true,
|
|
1283
|
+
},
|
|
1231
1284
|
},
|
|
1232
1285
|
urlParameters: [Parameters.$host, Parameters.hashOrKbi],
|
|
1233
1286
|
headerParameters: [Parameters.accept],
|
|
1234
|
-
serializer
|
|
1287
|
+
serializer,
|
|
1235
1288
|
};
|
|
1236
1289
|
const getBlockByMbiOperationSpec: coreClient.OperationSpec = {
|
|
1237
1290
|
path: "/v2/blocks/{kbi}/{mbi}",
|
|
1238
1291
|
httpMethod: "GET",
|
|
1239
1292
|
responses: {
|
|
1240
1293
|
200: {
|
|
1241
|
-
bodyMapper: Mappers.Block
|
|
1294
|
+
bodyMapper: Mappers.Block,
|
|
1242
1295
|
},
|
|
1243
1296
|
400: {
|
|
1244
1297
|
bodyMapper: Mappers.ErrorResponse,
|
|
1245
|
-
isError: true
|
|
1298
|
+
isError: true,
|
|
1246
1299
|
},
|
|
1247
1300
|
404: {
|
|
1248
1301
|
bodyMapper: Mappers.NotFoundResponse,
|
|
1249
|
-
isError: true
|
|
1250
|
-
}
|
|
1302
|
+
isError: true,
|
|
1303
|
+
},
|
|
1251
1304
|
},
|
|
1252
1305
|
urlParameters: [Parameters.$host, Parameters.kbi, Parameters.mbi],
|
|
1253
1306
|
headerParameters: [Parameters.accept],
|
|
1254
|
-
serializer
|
|
1307
|
+
serializer,
|
|
1255
1308
|
};
|
|
1256
1309
|
const getChannelsOperationSpec: coreClient.OperationSpec = {
|
|
1257
1310
|
path: "/v2/channels",
|
|
@@ -1259,42 +1312,42 @@ const getChannelsOperationSpec: coreClient.OperationSpec = {
|
|
|
1259
1312
|
responses: {
|
|
1260
1313
|
200: {
|
|
1261
1314
|
bodyMapper:
|
|
1262
|
-
Mappers.Paths1Txl2A9V2ChannelsGetResponses200ContentApplicationJsonSchema
|
|
1315
|
+
Mappers.Paths1Txl2A9V2ChannelsGetResponses200ContentApplicationJsonSchema,
|
|
1263
1316
|
},
|
|
1264
1317
|
400: {
|
|
1265
1318
|
bodyMapper: Mappers.ErrorResponse,
|
|
1266
|
-
isError: true
|
|
1267
|
-
}
|
|
1319
|
+
isError: true,
|
|
1320
|
+
},
|
|
1268
1321
|
},
|
|
1269
1322
|
queryParameters: [
|
|
1270
1323
|
Parameters.limit,
|
|
1271
1324
|
Parameters.scope,
|
|
1272
1325
|
Parameters.direction,
|
|
1273
|
-
Parameters.state
|
|
1326
|
+
Parameters.state,
|
|
1274
1327
|
],
|
|
1275
1328
|
urlParameters: [Parameters.$host],
|
|
1276
1329
|
headerParameters: [Parameters.accept],
|
|
1277
|
-
serializer
|
|
1330
|
+
serializer,
|
|
1278
1331
|
};
|
|
1279
1332
|
const getChannelOperationSpec: coreClient.OperationSpec = {
|
|
1280
1333
|
path: "/v2/channels/{id}",
|
|
1281
1334
|
httpMethod: "GET",
|
|
1282
1335
|
responses: {
|
|
1283
1336
|
200: {
|
|
1284
|
-
bodyMapper: Mappers.Channel
|
|
1337
|
+
bodyMapper: Mappers.Channel,
|
|
1285
1338
|
},
|
|
1286
1339
|
400: {
|
|
1287
1340
|
bodyMapper: Mappers.ErrorResponse,
|
|
1288
|
-
isError: true
|
|
1341
|
+
isError: true,
|
|
1289
1342
|
},
|
|
1290
1343
|
404: {
|
|
1291
1344
|
bodyMapper: Mappers.NotFoundResponse,
|
|
1292
|
-
isError: true
|
|
1293
|
-
}
|
|
1345
|
+
isError: true,
|
|
1346
|
+
},
|
|
1294
1347
|
},
|
|
1295
1348
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
1296
1349
|
headerParameters: [Parameters.accept],
|
|
1297
|
-
serializer
|
|
1350
|
+
serializer,
|
|
1298
1351
|
};
|
|
1299
1352
|
const getContractsCallsOperationSpec: coreClient.OperationSpec = {
|
|
1300
1353
|
path: "/v2/contracts/calls",
|
|
@@ -1302,17 +1355,17 @@ const getContractsCallsOperationSpec: coreClient.OperationSpec = {
|
|
|
1302
1355
|
responses: {
|
|
1303
1356
|
200: {
|
|
1304
1357
|
bodyMapper:
|
|
1305
|
-
Mappers.Paths187U0XzV2ContractsCallsGetResponses200ContentApplicationJsonSchema
|
|
1358
|
+
Mappers.Paths187U0XzV2ContractsCallsGetResponses200ContentApplicationJsonSchema,
|
|
1306
1359
|
},
|
|
1307
1360
|
400: {
|
|
1308
1361
|
bodyMapper: Mappers.ErrorResponse,
|
|
1309
|
-
isError: true
|
|
1310
|
-
}
|
|
1362
|
+
isError: true,
|
|
1363
|
+
},
|
|
1311
1364
|
},
|
|
1312
1365
|
queryParameters: [Parameters.limit, Parameters.scope, Parameters.direction],
|
|
1313
1366
|
urlParameters: [Parameters.$host],
|
|
1314
1367
|
headerParameters: [Parameters.accept],
|
|
1315
|
-
serializer
|
|
1368
|
+
serializer,
|
|
1316
1369
|
};
|
|
1317
1370
|
const getContractsLogsOperationSpec: coreClient.OperationSpec = {
|
|
1318
1371
|
path: "/v2/contracts/logs",
|
|
@@ -1320,12 +1373,12 @@ const getContractsLogsOperationSpec: coreClient.OperationSpec = {
|
|
|
1320
1373
|
responses: {
|
|
1321
1374
|
200: {
|
|
1322
1375
|
bodyMapper:
|
|
1323
|
-
Mappers.PathsB246H1V2ContractsLogsGetResponses200ContentApplicationJsonSchema
|
|
1376
|
+
Mappers.PathsB246H1V2ContractsLogsGetResponses200ContentApplicationJsonSchema,
|
|
1324
1377
|
},
|
|
1325
1378
|
400: {
|
|
1326
1379
|
bodyMapper: Mappers.ErrorResponse,
|
|
1327
|
-
isError: true
|
|
1328
|
-
}
|
|
1380
|
+
isError: true,
|
|
1381
|
+
},
|
|
1329
1382
|
},
|
|
1330
1383
|
queryParameters: [
|
|
1331
1384
|
Parameters.limit,
|
|
@@ -1333,13 +1386,34 @@ const getContractsLogsOperationSpec: coreClient.OperationSpec = {
|
|
|
1333
1386
|
Parameters.direction,
|
|
1334
1387
|
Parameters.contractId1,
|
|
1335
1388
|
Parameters.event,
|
|
1389
|
+
Parameters.functionParam,
|
|
1336
1390
|
Parameters.functionPrefix,
|
|
1337
1391
|
Parameters.data,
|
|
1338
|
-
Parameters.aexnArgs
|
|
1392
|
+
Parameters.aexnArgs,
|
|
1339
1393
|
],
|
|
1340
1394
|
urlParameters: [Parameters.$host],
|
|
1341
1395
|
headerParameters: [Parameters.accept],
|
|
1342
|
-
serializer
|
|
1396
|
+
serializer,
|
|
1397
|
+
};
|
|
1398
|
+
const getContractOperationSpec: coreClient.OperationSpec = {
|
|
1399
|
+
path: "/v2/contracts/{id}",
|
|
1400
|
+
httpMethod: "GET",
|
|
1401
|
+
responses: {
|
|
1402
|
+
200: {
|
|
1403
|
+
bodyMapper: Mappers.Contract,
|
|
1404
|
+
},
|
|
1405
|
+
400: {
|
|
1406
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
1407
|
+
isError: true,
|
|
1408
|
+
},
|
|
1409
|
+
404: {
|
|
1410
|
+
bodyMapper: Mappers.NotFoundResponse,
|
|
1411
|
+
isError: true,
|
|
1412
|
+
},
|
|
1413
|
+
},
|
|
1414
|
+
urlParameters: [Parameters.$host, Parameters.id],
|
|
1415
|
+
headerParameters: [Parameters.accept],
|
|
1416
|
+
serializer,
|
|
1343
1417
|
};
|
|
1344
1418
|
const getDeltastatsOperationSpec: coreClient.OperationSpec = {
|
|
1345
1419
|
path: "/v2/deltastats",
|
|
@@ -1347,17 +1421,17 @@ const getDeltastatsOperationSpec: coreClient.OperationSpec = {
|
|
|
1347
1421
|
responses: {
|
|
1348
1422
|
200: {
|
|
1349
1423
|
bodyMapper:
|
|
1350
|
-
Mappers.Paths7Pbec0V2DeltastatsGetResponses200ContentApplicationJsonSchema
|
|
1424
|
+
Mappers.Paths7Pbec0V2DeltastatsGetResponses200ContentApplicationJsonSchema,
|
|
1351
1425
|
},
|
|
1352
1426
|
400: {
|
|
1353
1427
|
bodyMapper: Mappers.ErrorResponse,
|
|
1354
|
-
isError: true
|
|
1355
|
-
}
|
|
1428
|
+
isError: true,
|
|
1429
|
+
},
|
|
1356
1430
|
},
|
|
1357
1431
|
queryParameters: [Parameters.limit, Parameters.scope, Parameters.direction],
|
|
1358
1432
|
urlParameters: [Parameters.$host],
|
|
1359
1433
|
headerParameters: [Parameters.accept],
|
|
1360
|
-
serializer
|
|
1434
|
+
serializer,
|
|
1361
1435
|
};
|
|
1362
1436
|
const getKeyBlocksOperationSpec: coreClient.OperationSpec = {
|
|
1363
1437
|
path: "/v2/key-blocks",
|
|
@@ -1365,37 +1439,37 @@ const getKeyBlocksOperationSpec: coreClient.OperationSpec = {
|
|
|
1365
1439
|
responses: {
|
|
1366
1440
|
200: {
|
|
1367
1441
|
bodyMapper:
|
|
1368
|
-
Mappers.Paths1Ulxr59V2KeyBlocksGetResponses200ContentApplicationJsonSchema
|
|
1442
|
+
Mappers.Paths1Ulxr59V2KeyBlocksGetResponses200ContentApplicationJsonSchema,
|
|
1369
1443
|
},
|
|
1370
1444
|
400: {
|
|
1371
1445
|
bodyMapper: Mappers.ErrorResponse,
|
|
1372
|
-
isError: true
|
|
1373
|
-
}
|
|
1446
|
+
isError: true,
|
|
1447
|
+
},
|
|
1374
1448
|
},
|
|
1375
1449
|
queryParameters: [Parameters.limit, Parameters.scope, Parameters.direction],
|
|
1376
1450
|
urlParameters: [Parameters.$host],
|
|
1377
1451
|
headerParameters: [Parameters.accept],
|
|
1378
|
-
serializer
|
|
1452
|
+
serializer,
|
|
1379
1453
|
};
|
|
1380
1454
|
const getKeyBlockOperationSpec: coreClient.OperationSpec = {
|
|
1381
1455
|
path: "/v2/key-blocks/{hash_or_kbi}",
|
|
1382
1456
|
httpMethod: "GET",
|
|
1383
1457
|
responses: {
|
|
1384
1458
|
200: {
|
|
1385
|
-
bodyMapper: Mappers.KeyBlock
|
|
1459
|
+
bodyMapper: Mappers.KeyBlock,
|
|
1386
1460
|
},
|
|
1387
1461
|
400: {
|
|
1388
1462
|
bodyMapper: Mappers.ErrorResponse,
|
|
1389
|
-
isError: true
|
|
1463
|
+
isError: true,
|
|
1390
1464
|
},
|
|
1391
1465
|
404: {
|
|
1392
1466
|
bodyMapper: Mappers.NotFoundResponse,
|
|
1393
|
-
isError: true
|
|
1394
|
-
}
|
|
1467
|
+
isError: true,
|
|
1468
|
+
},
|
|
1395
1469
|
},
|
|
1396
1470
|
urlParameters: [Parameters.$host, Parameters.hashOrKbi],
|
|
1397
1471
|
headerParameters: [Parameters.accept],
|
|
1398
|
-
serializer
|
|
1472
|
+
serializer,
|
|
1399
1473
|
};
|
|
1400
1474
|
const getKeyBlockMicroBlocksOperationSpec: coreClient.OperationSpec = {
|
|
1401
1475
|
path: "/v2/key-blocks/{hash_or_kbi}/micro-blocks",
|
|
@@ -1403,37 +1477,37 @@ const getKeyBlockMicroBlocksOperationSpec: coreClient.OperationSpec = {
|
|
|
1403
1477
|
responses: {
|
|
1404
1478
|
200: {
|
|
1405
1479
|
bodyMapper:
|
|
1406
|
-
Mappers.PathsO99PhzV2KeyBlocksHashOrKbiMicroBlocksGetResponses200ContentApplicationJsonSchema
|
|
1480
|
+
Mappers.PathsO99PhzV2KeyBlocksHashOrKbiMicroBlocksGetResponses200ContentApplicationJsonSchema,
|
|
1407
1481
|
},
|
|
1408
1482
|
400: {
|
|
1409
1483
|
bodyMapper: Mappers.ErrorResponse,
|
|
1410
|
-
isError: true
|
|
1411
|
-
}
|
|
1484
|
+
isError: true,
|
|
1485
|
+
},
|
|
1412
1486
|
},
|
|
1413
1487
|
queryParameters: [Parameters.limit, Parameters.scope, Parameters.direction],
|
|
1414
1488
|
urlParameters: [Parameters.$host, Parameters.hashOrKbi],
|
|
1415
1489
|
headerParameters: [Parameters.accept],
|
|
1416
|
-
serializer
|
|
1490
|
+
serializer,
|
|
1417
1491
|
};
|
|
1418
1492
|
const getMicroBlockOperationSpec: coreClient.OperationSpec = {
|
|
1419
1493
|
path: "/v2/micro-blocks/{hash}",
|
|
1420
1494
|
httpMethod: "GET",
|
|
1421
1495
|
responses: {
|
|
1422
1496
|
200: {
|
|
1423
|
-
bodyMapper: Mappers.MicroBlock
|
|
1497
|
+
bodyMapper: Mappers.MicroBlock,
|
|
1424
1498
|
},
|
|
1425
1499
|
400: {
|
|
1426
1500
|
bodyMapper: Mappers.ErrorResponse,
|
|
1427
|
-
isError: true
|
|
1501
|
+
isError: true,
|
|
1428
1502
|
},
|
|
1429
1503
|
404: {
|
|
1430
1504
|
bodyMapper: Mappers.NotFoundResponse,
|
|
1431
|
-
isError: true
|
|
1432
|
-
}
|
|
1505
|
+
isError: true,
|
|
1506
|
+
},
|
|
1433
1507
|
},
|
|
1434
1508
|
urlParameters: [Parameters.$host, Parameters.hash1],
|
|
1435
1509
|
headerParameters: [Parameters.accept],
|
|
1436
|
-
serializer
|
|
1510
|
+
serializer,
|
|
1437
1511
|
};
|
|
1438
1512
|
const getMicroBlockTransactionsOperationSpec: coreClient.OperationSpec = {
|
|
1439
1513
|
path: "/v2/micro-blocks/{hash}/txs",
|
|
@@ -1441,16 +1515,16 @@ const getMicroBlockTransactionsOperationSpec: coreClient.OperationSpec = {
|
|
|
1441
1515
|
responses: {
|
|
1442
1516
|
200: {
|
|
1443
1517
|
bodyMapper:
|
|
1444
|
-
Mappers.PathsGuqvhdV2MicroBlocksHashTxsGetResponses200ContentApplicationJsonSchema
|
|
1518
|
+
Mappers.PathsGuqvhdV2MicroBlocksHashTxsGetResponses200ContentApplicationJsonSchema,
|
|
1445
1519
|
},
|
|
1446
1520
|
400: {
|
|
1447
1521
|
bodyMapper: Mappers.ErrorResponse,
|
|
1448
|
-
isError: true
|
|
1449
|
-
}
|
|
1522
|
+
isError: true,
|
|
1523
|
+
},
|
|
1450
1524
|
},
|
|
1451
1525
|
urlParameters: [Parameters.$host, Parameters.hash1],
|
|
1452
1526
|
headerParameters: [Parameters.accept],
|
|
1453
|
-
serializer
|
|
1527
|
+
serializer,
|
|
1454
1528
|
};
|
|
1455
1529
|
const getNamesOperationSpec: coreClient.OperationSpec = {
|
|
1456
1530
|
path: "/v2/names",
|
|
@@ -1458,40 +1532,40 @@ const getNamesOperationSpec: coreClient.OperationSpec = {
|
|
|
1458
1532
|
responses: {
|
|
1459
1533
|
200: {
|
|
1460
1534
|
bodyMapper:
|
|
1461
|
-
Mappers.PathsK9TkttV2NamesGetResponses200ContentApplicationJsonSchema
|
|
1535
|
+
Mappers.PathsK9TkttV2NamesGetResponses200ContentApplicationJsonSchema,
|
|
1462
1536
|
},
|
|
1463
1537
|
400: {
|
|
1464
1538
|
bodyMapper: Mappers.ErrorResponse,
|
|
1465
|
-
isError: true
|
|
1466
|
-
}
|
|
1539
|
+
isError: true,
|
|
1540
|
+
},
|
|
1467
1541
|
},
|
|
1468
1542
|
queryParameters: [
|
|
1469
1543
|
Parameters.limit,
|
|
1470
1544
|
Parameters.direction,
|
|
1471
|
-
Parameters.
|
|
1545
|
+
Parameters.by2,
|
|
1472
1546
|
Parameters.ownedBy,
|
|
1473
|
-
Parameters.state1
|
|
1547
|
+
Parameters.state1,
|
|
1474
1548
|
],
|
|
1475
1549
|
urlParameters: [Parameters.$host],
|
|
1476
1550
|
headerParameters: [Parameters.accept],
|
|
1477
|
-
serializer
|
|
1551
|
+
serializer,
|
|
1478
1552
|
};
|
|
1479
1553
|
const getNamesAuctionsOperationSpec: coreClient.OperationSpec = {
|
|
1480
1554
|
path: "/v2/names/auctions",
|
|
1481
1555
|
httpMethod: "GET",
|
|
1482
1556
|
responses: {
|
|
1483
1557
|
200: {
|
|
1484
|
-
bodyMapper: Mappers.Auction
|
|
1558
|
+
bodyMapper: Mappers.Auction,
|
|
1485
1559
|
},
|
|
1486
1560
|
400: {
|
|
1487
1561
|
bodyMapper: Mappers.ErrorResponse,
|
|
1488
|
-
isError: true
|
|
1489
|
-
}
|
|
1562
|
+
isError: true,
|
|
1563
|
+
},
|
|
1490
1564
|
},
|
|
1491
1565
|
queryParameters: [Parameters.limit, Parameters.scope, Parameters.direction],
|
|
1492
1566
|
urlParameters: [Parameters.$host],
|
|
1493
1567
|
headerParameters: [Parameters.accept],
|
|
1494
|
-
serializer
|
|
1568
|
+
serializer,
|
|
1495
1569
|
};
|
|
1496
1570
|
const searchNamesOperationSpec: coreClient.OperationSpec = {
|
|
1497
1571
|
path: "/v2/names/search",
|
|
@@ -1499,75 +1573,75 @@ const searchNamesOperationSpec: coreClient.OperationSpec = {
|
|
|
1499
1573
|
responses: {
|
|
1500
1574
|
200: {
|
|
1501
1575
|
bodyMapper:
|
|
1502
|
-
Mappers.Paths3Msq0DV2NamesSearchGetResponses200ContentApplicationJsonSchema
|
|
1576
|
+
Mappers.Paths3Msq0DV2NamesSearchGetResponses200ContentApplicationJsonSchema,
|
|
1503
1577
|
},
|
|
1504
1578
|
400: {
|
|
1505
1579
|
bodyMapper: Mappers.ErrorResponse,
|
|
1506
|
-
isError: true
|
|
1507
|
-
}
|
|
1580
|
+
isError: true,
|
|
1581
|
+
},
|
|
1508
1582
|
},
|
|
1509
1583
|
queryParameters: [Parameters.limit, Parameters.scope, Parameters.direction],
|
|
1510
1584
|
urlParameters: [Parameters.$host],
|
|
1511
1585
|
headerParameters: [Parameters.accept],
|
|
1512
|
-
serializer
|
|
1586
|
+
serializer,
|
|
1513
1587
|
};
|
|
1514
1588
|
const getNameOperationSpec: coreClient.OperationSpec = {
|
|
1515
1589
|
path: "/v2/names/{id}",
|
|
1516
1590
|
httpMethod: "GET",
|
|
1517
1591
|
responses: {
|
|
1518
1592
|
200: {
|
|
1519
|
-
bodyMapper: Mappers.Name
|
|
1593
|
+
bodyMapper: Mappers.Name,
|
|
1520
1594
|
},
|
|
1521
1595
|
400: {
|
|
1522
1596
|
bodyMapper: Mappers.ErrorResponse,
|
|
1523
|
-
isError: true
|
|
1597
|
+
isError: true,
|
|
1524
1598
|
},
|
|
1525
1599
|
404: {
|
|
1526
1600
|
bodyMapper: Mappers.NotFoundResponse,
|
|
1527
|
-
isError: true
|
|
1528
|
-
}
|
|
1601
|
+
isError: true,
|
|
1602
|
+
},
|
|
1529
1603
|
},
|
|
1530
1604
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
1531
1605
|
headerParameters: [Parameters.accept],
|
|
1532
|
-
serializer
|
|
1606
|
+
serializer,
|
|
1533
1607
|
};
|
|
1534
1608
|
const getNameAuctionOperationSpec: coreClient.OperationSpec = {
|
|
1535
1609
|
path: "/v2/names/{id}/auction",
|
|
1536
1610
|
httpMethod: "GET",
|
|
1537
1611
|
responses: {
|
|
1538
1612
|
200: {
|
|
1539
|
-
bodyMapper: Mappers.Auction
|
|
1613
|
+
bodyMapper: Mappers.Auction,
|
|
1540
1614
|
},
|
|
1541
1615
|
400: {
|
|
1542
1616
|
bodyMapper: Mappers.ErrorResponse,
|
|
1543
|
-
isError: true
|
|
1617
|
+
isError: true,
|
|
1544
1618
|
},
|
|
1545
1619
|
404: {
|
|
1546
1620
|
bodyMapper: Mappers.NotFoundResponse,
|
|
1547
|
-
isError: true
|
|
1548
|
-
}
|
|
1621
|
+
isError: true,
|
|
1622
|
+
},
|
|
1549
1623
|
},
|
|
1550
1624
|
queryParameters: [Parameters.limit, Parameters.scope, Parameters.direction],
|
|
1551
1625
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
1552
1626
|
headerParameters: [Parameters.accept],
|
|
1553
|
-
serializer
|
|
1627
|
+
serializer,
|
|
1554
1628
|
};
|
|
1555
1629
|
const getNameClaimsOperationSpec: coreClient.OperationSpec = {
|
|
1556
1630
|
path: "/v2/names/{id}/claims",
|
|
1557
1631
|
httpMethod: "GET",
|
|
1558
1632
|
responses: {
|
|
1559
1633
|
200: {
|
|
1560
|
-
bodyMapper: Mappers.NameClaim
|
|
1634
|
+
bodyMapper: Mappers.NameClaim,
|
|
1561
1635
|
},
|
|
1562
1636
|
404: {
|
|
1563
1637
|
bodyMapper: Mappers.NotFoundResponse,
|
|
1564
|
-
isError: true
|
|
1565
|
-
}
|
|
1638
|
+
isError: true,
|
|
1639
|
+
},
|
|
1566
1640
|
},
|
|
1567
1641
|
queryParameters: [Parameters.limit, Parameters.scope, Parameters.direction],
|
|
1568
1642
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
1569
1643
|
headerParameters: [Parameters.accept],
|
|
1570
|
-
serializer
|
|
1644
|
+
serializer,
|
|
1571
1645
|
};
|
|
1572
1646
|
const getNamePointeesOperationSpec: coreClient.OperationSpec = {
|
|
1573
1647
|
path: "/v2/names/{id}/pointees",
|
|
@@ -1575,16 +1649,16 @@ const getNamePointeesOperationSpec: coreClient.OperationSpec = {
|
|
|
1575
1649
|
responses: {
|
|
1576
1650
|
200: {
|
|
1577
1651
|
bodyMapper:
|
|
1578
|
-
Mappers.PathsDjelzuV2NamesIdPointeesGetResponses200ContentApplicationJsonSchema
|
|
1652
|
+
Mappers.PathsDjelzuV2NamesIdPointeesGetResponses200ContentApplicationJsonSchema,
|
|
1579
1653
|
},
|
|
1580
1654
|
404: {
|
|
1581
1655
|
bodyMapper: Mappers.NotFoundResponse,
|
|
1582
|
-
isError: true
|
|
1583
|
-
}
|
|
1656
|
+
isError: true,
|
|
1657
|
+
},
|
|
1584
1658
|
},
|
|
1585
1659
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
1586
1660
|
headerParameters: [Parameters.accept],
|
|
1587
|
-
serializer
|
|
1661
|
+
serializer,
|
|
1588
1662
|
};
|
|
1589
1663
|
const getNamePointersOperationSpec: coreClient.OperationSpec = {
|
|
1590
1664
|
path: "/v2/names/{id}/pointers",
|
|
@@ -1592,101 +1666,148 @@ const getNamePointersOperationSpec: coreClient.OperationSpec = {
|
|
|
1592
1666
|
responses: {
|
|
1593
1667
|
200: {
|
|
1594
1668
|
bodyMapper: {
|
|
1595
|
-
type: { name: "Dictionary", value: { type: { name: "any" } } }
|
|
1596
|
-
}
|
|
1669
|
+
type: { name: "Dictionary", value: { type: { name: "any" } } },
|
|
1670
|
+
},
|
|
1597
1671
|
},
|
|
1598
1672
|
404: {
|
|
1599
1673
|
bodyMapper: Mappers.NotFoundResponse,
|
|
1600
|
-
isError: true
|
|
1601
|
-
}
|
|
1674
|
+
isError: true,
|
|
1675
|
+
},
|
|
1602
1676
|
},
|
|
1603
1677
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
1604
1678
|
headerParameters: [Parameters.accept],
|
|
1605
|
-
serializer
|
|
1679
|
+
serializer,
|
|
1606
1680
|
};
|
|
1607
1681
|
const getNameTransfersOperationSpec: coreClient.OperationSpec = {
|
|
1608
1682
|
path: "/v2/names/{id}/transfers",
|
|
1609
1683
|
httpMethod: "GET",
|
|
1610
1684
|
responses: {
|
|
1611
1685
|
200: {
|
|
1612
|
-
bodyMapper: Mappers.NameTransfer
|
|
1686
|
+
bodyMapper: Mappers.NameTransfer,
|
|
1613
1687
|
},
|
|
1614
1688
|
404: {
|
|
1615
1689
|
bodyMapper: Mappers.NotFoundResponse,
|
|
1616
|
-
isError: true
|
|
1617
|
-
}
|
|
1690
|
+
isError: true,
|
|
1691
|
+
},
|
|
1618
1692
|
},
|
|
1619
1693
|
queryParameters: [Parameters.limit, Parameters.scope, Parameters.direction],
|
|
1620
1694
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
1621
1695
|
headerParameters: [Parameters.accept],
|
|
1622
|
-
serializer
|
|
1696
|
+
serializer,
|
|
1623
1697
|
};
|
|
1624
1698
|
const getNameUpdatesOperationSpec: coreClient.OperationSpec = {
|
|
1625
1699
|
path: "/v2/names/{id}/updates",
|
|
1626
1700
|
httpMethod: "GET",
|
|
1627
1701
|
responses: {
|
|
1628
1702
|
200: {
|
|
1629
|
-
bodyMapper: Mappers.NameUpdate
|
|
1703
|
+
bodyMapper: Mappers.NameUpdate,
|
|
1630
1704
|
},
|
|
1631
1705
|
404: {
|
|
1632
1706
|
bodyMapper: Mappers.NotFoundResponse,
|
|
1633
|
-
isError: true
|
|
1634
|
-
}
|
|
1707
|
+
isError: true,
|
|
1708
|
+
},
|
|
1635
1709
|
},
|
|
1636
1710
|
queryParameters: [Parameters.limit, Parameters.scope, Parameters.direction],
|
|
1637
1711
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
1638
1712
|
headerParameters: [Parameters.accept],
|
|
1639
|
-
serializer
|
|
1713
|
+
serializer,
|
|
1714
|
+
};
|
|
1715
|
+
const getOraclesOperationSpec: coreClient.OperationSpec = {
|
|
1716
|
+
path: "/v2/oracles",
|
|
1717
|
+
httpMethod: "GET",
|
|
1718
|
+
responses: {
|
|
1719
|
+
200: {
|
|
1720
|
+
bodyMapper:
|
|
1721
|
+
Mappers.PathsB0YvynV2OraclesGetResponses200ContentApplicationJsonSchema,
|
|
1722
|
+
},
|
|
1723
|
+
400: {
|
|
1724
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
1725
|
+
isError: true,
|
|
1726
|
+
},
|
|
1727
|
+
},
|
|
1728
|
+
queryParameters: [
|
|
1729
|
+
Parameters.limit,
|
|
1730
|
+
Parameters.scope,
|
|
1731
|
+
Parameters.direction,
|
|
1732
|
+
Parameters.state1,
|
|
1733
|
+
],
|
|
1734
|
+
urlParameters: [Parameters.$host],
|
|
1735
|
+
headerParameters: [Parameters.accept],
|
|
1736
|
+
serializer,
|
|
1640
1737
|
};
|
|
1641
1738
|
const getOracleOperationSpec: coreClient.OperationSpec = {
|
|
1642
|
-
path: "/v2/
|
|
1739
|
+
path: "/v2/oracles/{id}",
|
|
1643
1740
|
httpMethod: "GET",
|
|
1644
1741
|
responses: {
|
|
1645
1742
|
200: {
|
|
1646
|
-
bodyMapper: Mappers.Oracle
|
|
1743
|
+
bodyMapper: Mappers.Oracle,
|
|
1647
1744
|
},
|
|
1648
1745
|
400: {
|
|
1649
1746
|
bodyMapper: Mappers.ErrorResponse,
|
|
1650
|
-
isError: true
|
|
1747
|
+
isError: true,
|
|
1651
1748
|
},
|
|
1652
1749
|
404: {
|
|
1653
1750
|
bodyMapper: Mappers.NotFoundResponse,
|
|
1654
|
-
isError: true
|
|
1655
|
-
}
|
|
1751
|
+
isError: true,
|
|
1752
|
+
},
|
|
1656
1753
|
},
|
|
1657
1754
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
1658
1755
|
headerParameters: [Parameters.accept],
|
|
1659
|
-
serializer
|
|
1756
|
+
serializer,
|
|
1660
1757
|
};
|
|
1661
|
-
const
|
|
1662
|
-
path: "/v2/oracles",
|
|
1758
|
+
const getOracleQueriesOperationSpec: coreClient.OperationSpec = {
|
|
1759
|
+
path: "/v2/oracles/{id}/queries",
|
|
1663
1760
|
httpMethod: "GET",
|
|
1664
1761
|
responses: {
|
|
1665
1762
|
200: {
|
|
1666
1763
|
bodyMapper:
|
|
1667
|
-
Mappers.
|
|
1764
|
+
Mappers.Paths4Bbr8KV2OraclesIdQueriesGetResponses200ContentApplicationJsonSchema,
|
|
1668
1765
|
},
|
|
1669
1766
|
400: {
|
|
1670
1767
|
bodyMapper: Mappers.ErrorResponse,
|
|
1671
|
-
isError: true
|
|
1672
|
-
}
|
|
1768
|
+
isError: true,
|
|
1769
|
+
},
|
|
1770
|
+
404: {
|
|
1771
|
+
bodyMapper: Mappers.NotFoundResponse,
|
|
1772
|
+
isError: true,
|
|
1773
|
+
},
|
|
1673
1774
|
},
|
|
1674
|
-
|
|
1675
|
-
urlParameters: [Parameters.$host],
|
|
1775
|
+
urlParameters: [Parameters.$host, Parameters.id],
|
|
1676
1776
|
headerParameters: [Parameters.accept],
|
|
1677
|
-
serializer
|
|
1777
|
+
serializer,
|
|
1778
|
+
};
|
|
1779
|
+
const getOracleResponsesOperationSpec: coreClient.OperationSpec = {
|
|
1780
|
+
path: "/v2/oracles/{id}/responses",
|
|
1781
|
+
httpMethod: "GET",
|
|
1782
|
+
responses: {
|
|
1783
|
+
200: {
|
|
1784
|
+
bodyMapper:
|
|
1785
|
+
Mappers.Paths1Ky8Ew4V2OraclesIdResponsesGetResponses200ContentApplicationJsonSchema,
|
|
1786
|
+
},
|
|
1787
|
+
400: {
|
|
1788
|
+
bodyMapper: Mappers.ErrorResponse,
|
|
1789
|
+
isError: true,
|
|
1790
|
+
},
|
|
1791
|
+
404: {
|
|
1792
|
+
bodyMapper: Mappers.NotFoundResponse,
|
|
1793
|
+
isError: true,
|
|
1794
|
+
},
|
|
1795
|
+
},
|
|
1796
|
+
urlParameters: [Parameters.$host, Parameters.id],
|
|
1797
|
+
headerParameters: [Parameters.accept],
|
|
1798
|
+
serializer,
|
|
1678
1799
|
};
|
|
1679
1800
|
const getStatusOperationSpec: coreClient.OperationSpec = {
|
|
1680
1801
|
path: "/v2/status",
|
|
1681
1802
|
httpMethod: "GET",
|
|
1682
1803
|
responses: {
|
|
1683
1804
|
200: {
|
|
1684
|
-
bodyMapper: Mappers.Status
|
|
1685
|
-
}
|
|
1805
|
+
bodyMapper: Mappers.Status,
|
|
1806
|
+
},
|
|
1686
1807
|
},
|
|
1687
1808
|
urlParameters: [Parameters.$host],
|
|
1688
1809
|
headerParameters: [Parameters.accept],
|
|
1689
|
-
serializer
|
|
1810
|
+
serializer,
|
|
1690
1811
|
};
|
|
1691
1812
|
const getTotalstatsOperationSpec: coreClient.OperationSpec = {
|
|
1692
1813
|
path: "/v2/totalstats",
|
|
@@ -1694,17 +1815,17 @@ const getTotalstatsOperationSpec: coreClient.OperationSpec = {
|
|
|
1694
1815
|
responses: {
|
|
1695
1816
|
200: {
|
|
1696
1817
|
bodyMapper:
|
|
1697
|
-
Mappers.Paths15PsutbV2TotalstatsGetResponses200ContentApplicationJsonSchema
|
|
1818
|
+
Mappers.Paths15PsutbV2TotalstatsGetResponses200ContentApplicationJsonSchema,
|
|
1698
1819
|
},
|
|
1699
1820
|
400: {
|
|
1700
1821
|
bodyMapper: Mappers.ErrorResponse,
|
|
1701
|
-
isError: true
|
|
1702
|
-
}
|
|
1822
|
+
isError: true,
|
|
1823
|
+
},
|
|
1703
1824
|
},
|
|
1704
1825
|
queryParameters: [Parameters.limit, Parameters.scope, Parameters.direction],
|
|
1705
1826
|
urlParameters: [Parameters.$host],
|
|
1706
1827
|
headerParameters: [Parameters.accept],
|
|
1707
|
-
serializer
|
|
1828
|
+
serializer,
|
|
1708
1829
|
};
|
|
1709
1830
|
const getTransfersOperationSpec: coreClient.OperationSpec = {
|
|
1710
1831
|
path: "/v2/transfers",
|
|
@@ -1712,17 +1833,17 @@ const getTransfersOperationSpec: coreClient.OperationSpec = {
|
|
|
1712
1833
|
responses: {
|
|
1713
1834
|
200: {
|
|
1714
1835
|
bodyMapper:
|
|
1715
|
-
Mappers.PathsIgs9Z1V2TransfersGetResponses200ContentApplicationJsonSchema
|
|
1836
|
+
Mappers.PathsIgs9Z1V2TransfersGetResponses200ContentApplicationJsonSchema,
|
|
1716
1837
|
},
|
|
1717
1838
|
400: {
|
|
1718
1839
|
bodyMapper: Mappers.ErrorResponse,
|
|
1719
|
-
isError: true
|
|
1720
|
-
}
|
|
1840
|
+
isError: true,
|
|
1841
|
+
},
|
|
1721
1842
|
},
|
|
1722
1843
|
queryParameters: [Parameters.limit, Parameters.scope, Parameters.direction],
|
|
1723
1844
|
urlParameters: [Parameters.$host],
|
|
1724
1845
|
headerParameters: [Parameters.accept],
|
|
1725
|
-
serializer
|
|
1846
|
+
serializer,
|
|
1726
1847
|
};
|
|
1727
1848
|
const getTxsOperationSpec: coreClient.OperationSpec = {
|
|
1728
1849
|
path: "/v2/txs",
|
|
@@ -1730,43 +1851,43 @@ const getTxsOperationSpec: coreClient.OperationSpec = {
|
|
|
1730
1851
|
responses: {
|
|
1731
1852
|
200: {
|
|
1732
1853
|
bodyMapper:
|
|
1733
|
-
Mappers.PathsFclv4TV2TxsGetResponses200ContentApplicationJsonSchema
|
|
1854
|
+
Mappers.PathsFclv4TV2TxsGetResponses200ContentApplicationJsonSchema,
|
|
1734
1855
|
},
|
|
1735
1856
|
400: {
|
|
1736
1857
|
bodyMapper: Mappers.ErrorResponse,
|
|
1737
|
-
isError: true
|
|
1738
|
-
}
|
|
1858
|
+
isError: true,
|
|
1859
|
+
},
|
|
1739
1860
|
},
|
|
1740
1861
|
queryParameters: [
|
|
1741
1862
|
Parameters.limit,
|
|
1742
1863
|
Parameters.scope,
|
|
1743
1864
|
Parameters.direction,
|
|
1744
|
-
Parameters.
|
|
1865
|
+
Parameters.contract,
|
|
1866
|
+
Parameters.typeParam1,
|
|
1745
1867
|
Parameters.typeGroup,
|
|
1746
1868
|
Parameters.account,
|
|
1747
|
-
Parameters.contract,
|
|
1748
1869
|
Parameters.channel,
|
|
1749
1870
|
Parameters.oracle,
|
|
1750
1871
|
Parameters.senderId,
|
|
1751
1872
|
Parameters.recipientId,
|
|
1752
|
-
Parameters.entrypoint
|
|
1873
|
+
Parameters.entrypoint,
|
|
1753
1874
|
],
|
|
1754
1875
|
urlParameters: [Parameters.$host],
|
|
1755
1876
|
headerParameters: [Parameters.accept],
|
|
1756
|
-
serializer
|
|
1877
|
+
serializer,
|
|
1757
1878
|
};
|
|
1758
1879
|
const getTxCountOperationSpec: coreClient.OperationSpec = {
|
|
1759
1880
|
path: "/v2/txs/count",
|
|
1760
1881
|
httpMethod: "GET",
|
|
1761
1882
|
responses: {
|
|
1762
1883
|
200: {
|
|
1763
|
-
bodyMapper: { type: { name: "Number" } }
|
|
1764
|
-
}
|
|
1884
|
+
bodyMapper: { type: { name: "Number" } },
|
|
1885
|
+
},
|
|
1765
1886
|
},
|
|
1766
1887
|
queryParameters: [Parameters.scope, Parameters.txType, Parameters.id1],
|
|
1767
1888
|
urlParameters: [Parameters.$host],
|
|
1768
1889
|
headerParameters: [Parameters.accept],
|
|
1769
|
-
serializer
|
|
1890
|
+
serializer,
|
|
1770
1891
|
};
|
|
1771
1892
|
const getTxCountByIdOperationSpec: coreClient.OperationSpec = {
|
|
1772
1893
|
path: "/v2/txs/count/{id}",
|
|
@@ -1774,34 +1895,34 @@ const getTxCountByIdOperationSpec: coreClient.OperationSpec = {
|
|
|
1774
1895
|
responses: {
|
|
1775
1896
|
200: {
|
|
1776
1897
|
bodyMapper:
|
|
1777
|
-
Mappers.Paths16Tt677V2TxsCountIdGetResponses200ContentApplicationJsonSchema
|
|
1898
|
+
Mappers.Paths16Tt677V2TxsCountIdGetResponses200ContentApplicationJsonSchema,
|
|
1778
1899
|
},
|
|
1779
1900
|
400: {
|
|
1780
1901
|
bodyMapper: Mappers.ErrorResponse,
|
|
1781
|
-
isError: true
|
|
1782
|
-
}
|
|
1902
|
+
isError: true,
|
|
1903
|
+
},
|
|
1783
1904
|
},
|
|
1784
1905
|
urlParameters: [Parameters.$host, Parameters.id],
|
|
1785
1906
|
headerParameters: [Parameters.accept],
|
|
1786
|
-
serializer
|
|
1907
|
+
serializer,
|
|
1787
1908
|
};
|
|
1788
1909
|
const getTxOperationSpec: coreClient.OperationSpec = {
|
|
1789
1910
|
path: "/v2/txs/{hash_or_index}",
|
|
1790
1911
|
httpMethod: "GET",
|
|
1791
1912
|
responses: {
|
|
1792
1913
|
200: {
|
|
1793
|
-
bodyMapper: Mappers.Tx
|
|
1914
|
+
bodyMapper: Mappers.Tx,
|
|
1794
1915
|
},
|
|
1795
1916
|
400: {
|
|
1796
1917
|
bodyMapper: Mappers.ErrorResponse,
|
|
1797
|
-
isError: true
|
|
1918
|
+
isError: true,
|
|
1798
1919
|
},
|
|
1799
1920
|
404: {
|
|
1800
1921
|
bodyMapper: Mappers.NotFoundResponse,
|
|
1801
|
-
isError: true
|
|
1802
|
-
}
|
|
1922
|
+
isError: true,
|
|
1923
|
+
},
|
|
1803
1924
|
},
|
|
1804
1925
|
urlParameters: [Parameters.$host, Parameters.hashOrIndex],
|
|
1805
1926
|
headerParameters: [Parameters.accept],
|
|
1806
|
-
serializer
|
|
1927
|
+
serializer,
|
|
1807
1928
|
};
|