@dfns/sdk 0.8.11 → 0.8.12
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/dfnsApiClient.d.ts +10 -8
- package/dfnsApiClient.js +16 -12
- package/dfnsDelegatedApiClient.d.ts +12 -2
- package/dfnsDelegatedApiClient.js +23 -3
- package/generated/keys/types.d.ts +4 -4
- package/generated/payouts/client.d.ts +10 -0
- package/generated/payouts/client.js +60 -0
- package/generated/payouts/delegatedClient.d.ts +13 -0
- package/generated/payouts/delegatedClient.js +89 -0
- package/generated/payouts/index.d.ts +3 -0
- package/generated/payouts/index.js +19 -0
- package/generated/payouts/types.d.ts +324 -0
- package/generated/payouts/types.js +2 -0
- package/generated/permissions/types.d.ts +2 -2
- package/generated/policies/types.d.ts +36 -30
- package/generated/wallets/types.d.ts +53 -45
- package/generated/webhooks/types.d.ts +9 -9
- package/package.json +1 -1
- package/types/agreements.d.ts +1 -0
- package/types/agreements.js +17 -0
- package/types/allocations.d.ts +1 -0
- package/types/allocations.js +17 -0
- package/types/payouts.d.ts +1 -0
- package/types/payouts.js +17 -0
- package/types/staking.d.ts +1 -0
- package/types/staking.js +17 -0
- package/types/swaps.d.ts +1 -0
- package/types/swaps.js +17 -0
|
@@ -67,7 +67,7 @@ export type ActivateWalletResponse = {
|
|
|
67
67
|
};
|
|
68
68
|
requestBody: {
|
|
69
69
|
kind: "Transaction";
|
|
70
|
-
/** The unsigned hex encoded transaction
|
|
70
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
71
71
|
transaction: string | {};
|
|
72
72
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
73
73
|
externalId?: string | undefined;
|
|
@@ -167,7 +167,7 @@ export type ActivateWalletRequest = ActivateWalletParams & {
|
|
|
167
167
|
};
|
|
168
168
|
export type BroadcastTransactionBody = {
|
|
169
169
|
kind: "Transaction";
|
|
170
|
-
/** The unsigned hex encoded transaction
|
|
170
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
171
171
|
transaction: string | {};
|
|
172
172
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
173
173
|
externalId?: string | undefined;
|
|
@@ -247,7 +247,7 @@ export type BroadcastTransactionResponse = {
|
|
|
247
247
|
};
|
|
248
248
|
requestBody: {
|
|
249
249
|
kind: "Transaction";
|
|
250
|
-
/** The unsigned hex encoded transaction
|
|
250
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
251
251
|
transaction: string | {};
|
|
252
252
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
253
253
|
externalId?: string | undefined;
|
|
@@ -366,7 +366,7 @@ export type CancelTransactionResponse = {
|
|
|
366
366
|
};
|
|
367
367
|
requestBody: {
|
|
368
368
|
kind: "Transaction";
|
|
369
|
-
/** The unsigned hex encoded transaction
|
|
369
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
370
370
|
transaction: string | {};
|
|
371
371
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
372
372
|
externalId?: string | undefined;
|
|
@@ -483,7 +483,7 @@ export type CancelTransferResponse = {
|
|
|
483
483
|
};
|
|
484
484
|
requestBody: {
|
|
485
485
|
kind: "Transaction";
|
|
486
|
-
/** The unsigned hex encoded transaction
|
|
486
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
487
487
|
transaction: string | {};
|
|
488
488
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
489
489
|
externalId?: string | undefined;
|
|
@@ -711,7 +711,7 @@ export type GenerateSignatureBody = {
|
|
|
711
711
|
externalId?: string | undefined;
|
|
712
712
|
} | {
|
|
713
713
|
kind: "Transaction";
|
|
714
|
-
/** The unsigned hex
|
|
714
|
+
/** The unsigned hex encoded transaction or JSON object for compatible networks */
|
|
715
715
|
transaction: string | {};
|
|
716
716
|
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
717
717
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
@@ -920,7 +920,7 @@ export type GenerateSignatureResponse = {
|
|
|
920
920
|
externalId?: string | undefined;
|
|
921
921
|
} | {
|
|
922
922
|
kind: "Transaction";
|
|
923
|
-
/** The unsigned hex
|
|
923
|
+
/** The unsigned hex encoded transaction or JSON object for compatible networks */
|
|
924
924
|
transaction: string | {};
|
|
925
925
|
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
926
926
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
@@ -1203,7 +1203,7 @@ export type GetSignatureResponse = {
|
|
|
1203
1203
|
externalId?: string | undefined;
|
|
1204
1204
|
} | {
|
|
1205
1205
|
kind: "Transaction";
|
|
1206
|
-
/** The unsigned hex
|
|
1206
|
+
/** The unsigned hex encoded transaction or JSON object for compatible networks */
|
|
1207
1207
|
transaction: string | {};
|
|
1208
1208
|
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
1209
1209
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
@@ -1423,7 +1423,7 @@ export type GetTransactionResponse = {
|
|
|
1423
1423
|
};
|
|
1424
1424
|
requestBody: {
|
|
1425
1425
|
kind: "Transaction";
|
|
1426
|
-
/** The unsigned hex encoded transaction
|
|
1426
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
1427
1427
|
transaction: string | {};
|
|
1428
1428
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
1429
1429
|
externalId?: string | undefined;
|
|
@@ -1607,7 +1607,7 @@ export type GetTransferResponse = {
|
|
|
1607
1607
|
to: string;
|
|
1608
1608
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
1609
1609
|
amount: string;
|
|
1610
|
-
/** The memo. */
|
|
1610
|
+
/** The memo or destination tag. */
|
|
1611
1611
|
memo?: (string | "") | undefined;
|
|
1612
1612
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
1613
1613
|
externalId?: string | undefined;
|
|
@@ -1826,7 +1826,7 @@ export type GetTransferResponse = {
|
|
|
1826
1826
|
serialNumber: string;
|
|
1827
1827
|
/** The destination address. */
|
|
1828
1828
|
to: string;
|
|
1829
|
-
/** The memo. */
|
|
1829
|
+
/** The memo or destination tag. */
|
|
1830
1830
|
memo?: (string | "") | undefined;
|
|
1831
1831
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
1832
1832
|
externalId?: string | undefined;
|
|
@@ -1884,8 +1884,8 @@ export type GetTransferResponse = {
|
|
|
1884
1884
|
to: string;
|
|
1885
1885
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
1886
1886
|
amount: string;
|
|
1887
|
-
/** The memo or destination tag
|
|
1888
|
-
memo?: string | undefined;
|
|
1887
|
+
/** The memo or destination tag. */
|
|
1888
|
+
memo?: (string | "") | undefined;
|
|
1889
1889
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
1890
1890
|
externalId?: string | undefined;
|
|
1891
1891
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -1936,7 +1936,7 @@ export type GetTransferResponse = {
|
|
|
1936
1936
|
feeSponsorId?: string | undefined;
|
|
1937
1937
|
} | {
|
|
1938
1938
|
kind: "Snip2";
|
|
1939
|
-
/** The
|
|
1939
|
+
/** The SNIP-2 (ERC-20-like) contract address. */
|
|
1940
1940
|
contract: string;
|
|
1941
1941
|
/** The destination address. */
|
|
1942
1942
|
to: string;
|
|
@@ -1962,7 +1962,7 @@ export type GetTransferResponse = {
|
|
|
1962
1962
|
feeSponsorId?: string | undefined;
|
|
1963
1963
|
} | {
|
|
1964
1964
|
kind: "Snip3";
|
|
1965
|
-
/** The
|
|
1965
|
+
/** The SNIP-3 (ERC-721) contract address. */
|
|
1966
1966
|
contract: string;
|
|
1967
1967
|
/** The destination address. */
|
|
1968
1968
|
to: string;
|
|
@@ -1994,6 +1994,8 @@ export type GetTransferResponse = {
|
|
|
1994
1994
|
amount: string;
|
|
1995
1995
|
/** The mint account address. */
|
|
1996
1996
|
mint: string;
|
|
1997
|
+
/** The memo or destination tag. */
|
|
1998
|
+
memo?: (string | "") | undefined;
|
|
1997
1999
|
/** If `true`, pay to create the associated token account for the recipient if it doesn't exist. Defaults to `false`. */
|
|
1998
2000
|
createDestinationAccount?: boolean | undefined;
|
|
1999
2001
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
@@ -2128,8 +2130,8 @@ export type GetTransferResponse = {
|
|
|
2128
2130
|
to: string;
|
|
2129
2131
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
2130
2132
|
amount: string;
|
|
2131
|
-
/** The memo or destination tag
|
|
2132
|
-
memo?: string | undefined;
|
|
2133
|
+
/** The memo or destination tag. */
|
|
2134
|
+
memo?: (string | "") | undefined;
|
|
2133
2135
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
2134
2136
|
externalId?: string | undefined;
|
|
2135
2137
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -3495,7 +3497,7 @@ export type ListSignaturesResponse = {
|
|
|
3495
3497
|
externalId?: string | undefined;
|
|
3496
3498
|
} | {
|
|
3497
3499
|
kind: "Transaction";
|
|
3498
|
-
/** The unsigned hex
|
|
3500
|
+
/** The unsigned hex encoded transaction or JSON object for compatible networks */
|
|
3499
3501
|
transaction: string | {};
|
|
3500
3502
|
network?: ("Algorand" | "AlgorandTestnet" | "Aptos" | "AptosTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "ArcTestnet" | "AvalancheC" | "AvalancheCFuji" | "Adi" | "AdiTestnet" | "AdiTestnetAb" | "BabylonGenesis" | "BabylonTestnet5" | "Base" | "BaseGoerli" | "BaseSepolia" | "Berachain" | "BerachainBArtio" | "BerachainBepolia" | "Bitcoin" | "BitcoinSignet" | "BitcoinTestnet3" | "BitcoinCash" | "BitcoinCashTestnet" | "Bob" | "BobSepolia" | "Bsc" | "BscTestnet" | "Canton" | "CantonDevnet" | "CantonTestnet" | "Cardano" | "CardanoPreprod" | "Concordium" | "ConcordiumTestnet" | "Celo" | "CeloAlfajores" | "Codex" | "CodexSepolia" | "CosmosHub4" | "CosmosIcsTestnet" | "Dogecoin" | "DogecoinTestnet" | "Ethereum" | "EthereumClassic" | "EthereumClassicMordor" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "EthereumHoodi" | "FantomOpera" | "FantomTestnet" | "FlareC" | "FlareCCoston2" | "FlowEvm" | "FlowEvmTestnet" | "Hedera" | "HederaTestnet" | "Ink" | "InkSepolia" | "InternetComputer" | "Ion" | "IonTestnet" | "Iota" | "IotaTestnet" | "IotaZodianet" | "Kaspa" | "KaspaTestnet11" | "Kusama" | "KusamaAssetHub" | "Litecoin" | "LitecoinTestnet" | "Near" | "NearTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Origyn" | "Plasma" | "PlasmaTestnet" | "Plume" | "PlumeSepolia" | "Paseo" | "PaseoAssetHub" | "Polkadot" | "PolkadotAssetHub" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Polymesh" | "PolymeshTestnet" | "Race" | "RaceSepolia" | "SeiAtlantic2" | "SeiPacific1" | "Solana" | "SolanaDevnet" | "Sonic" | "SonicTestnet" | "Starknet" | "StarknetSepolia" | "Stellar" | "StellarTestnet" | "Sui" | "SuiTestnet" | "Tezos" | "TezosGhostnet" | "Tempo" | "TempoAndantino" | "TempoModerato" | "Tsc" | "TscTestnet1" | "Ton" | "TonTestnet" | "Tron" | "TronNile" | "Westend" | "WestendAssetHub" | "XrpLedger" | "XrpLedgerTestnet") | undefined;
|
|
3501
3503
|
blockchainKind?: ("Algorand" | "Aptos" | "Bitcoin" | "BitcoinCash" | "Canton" | "Cardano" | "Concordium" | "Cosmos" | "Evm" | "Hedera" | "Icp" | "Iota" | "Kaspa" | "Near" | "Polymesh" | "Solana" | "Starknet" | "Stellar" | "Substrate" | "Sui" | "Tezos" | "Ton" | "Tron" | "Xrpl") | undefined;
|
|
@@ -3728,7 +3730,7 @@ export type ListTransactionsResponse = {
|
|
|
3728
3730
|
};
|
|
3729
3731
|
requestBody: {
|
|
3730
3732
|
kind: "Transaction";
|
|
3731
|
-
/** The unsigned hex encoded transaction
|
|
3733
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
3732
3734
|
transaction: string | {};
|
|
3733
3735
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
3734
3736
|
externalId?: string | undefined;
|
|
@@ -3925,7 +3927,7 @@ export type ListTransfersResponse = {
|
|
|
3925
3927
|
to: string;
|
|
3926
3928
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
3927
3929
|
amount: string;
|
|
3928
|
-
/** The memo. */
|
|
3930
|
+
/** The memo or destination tag. */
|
|
3929
3931
|
memo?: (string | "") | undefined;
|
|
3930
3932
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
3931
3933
|
externalId?: string | undefined;
|
|
@@ -4144,7 +4146,7 @@ export type ListTransfersResponse = {
|
|
|
4144
4146
|
serialNumber: string;
|
|
4145
4147
|
/** The destination address. */
|
|
4146
4148
|
to: string;
|
|
4147
|
-
/** The memo. */
|
|
4149
|
+
/** The memo or destination tag. */
|
|
4148
4150
|
memo?: (string | "") | undefined;
|
|
4149
4151
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
4150
4152
|
externalId?: string | undefined;
|
|
@@ -4202,8 +4204,8 @@ export type ListTransfersResponse = {
|
|
|
4202
4204
|
to: string;
|
|
4203
4205
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
4204
4206
|
amount: string;
|
|
4205
|
-
/** The memo or destination tag
|
|
4206
|
-
memo?: string | undefined;
|
|
4207
|
+
/** The memo or destination tag. */
|
|
4208
|
+
memo?: (string | "") | undefined;
|
|
4207
4209
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
4208
4210
|
externalId?: string | undefined;
|
|
4209
4211
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -4254,7 +4256,7 @@ export type ListTransfersResponse = {
|
|
|
4254
4256
|
feeSponsorId?: string | undefined;
|
|
4255
4257
|
} | {
|
|
4256
4258
|
kind: "Snip2";
|
|
4257
|
-
/** The
|
|
4259
|
+
/** The SNIP-2 (ERC-20-like) contract address. */
|
|
4258
4260
|
contract: string;
|
|
4259
4261
|
/** The destination address. */
|
|
4260
4262
|
to: string;
|
|
@@ -4280,7 +4282,7 @@ export type ListTransfersResponse = {
|
|
|
4280
4282
|
feeSponsorId?: string | undefined;
|
|
4281
4283
|
} | {
|
|
4282
4284
|
kind: "Snip3";
|
|
4283
|
-
/** The
|
|
4285
|
+
/** The SNIP-3 (ERC-721) contract address. */
|
|
4284
4286
|
contract: string;
|
|
4285
4287
|
/** The destination address. */
|
|
4286
4288
|
to: string;
|
|
@@ -4312,6 +4314,8 @@ export type ListTransfersResponse = {
|
|
|
4312
4314
|
amount: string;
|
|
4313
4315
|
/** The mint account address. */
|
|
4314
4316
|
mint: string;
|
|
4317
|
+
/** The memo or destination tag. */
|
|
4318
|
+
memo?: (string | "") | undefined;
|
|
4315
4319
|
/** If `true`, pay to create the associated token account for the recipient if it doesn't exist. Defaults to `false`. */
|
|
4316
4320
|
createDestinationAccount?: boolean | undefined;
|
|
4317
4321
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
@@ -4446,8 +4450,8 @@ export type ListTransfersResponse = {
|
|
|
4446
4450
|
to: string;
|
|
4447
4451
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
4448
4452
|
amount: string;
|
|
4449
|
-
/** The memo or destination tag
|
|
4450
|
-
memo?: string | undefined;
|
|
4453
|
+
/** The memo or destination tag. */
|
|
4454
|
+
memo?: (string | "") | undefined;
|
|
4451
4455
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
4452
4456
|
externalId?: string | undefined;
|
|
4453
4457
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -4636,7 +4640,7 @@ export type SpeedUpTransactionResponse = {
|
|
|
4636
4640
|
};
|
|
4637
4641
|
requestBody: {
|
|
4638
4642
|
kind: "Transaction";
|
|
4639
|
-
/** The unsigned hex encoded transaction
|
|
4643
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
4640
4644
|
transaction: string | {};
|
|
4641
4645
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
4642
4646
|
externalId?: string | undefined;
|
|
@@ -4753,7 +4757,7 @@ export type SpeedUpTransferResponse = {
|
|
|
4753
4757
|
};
|
|
4754
4758
|
requestBody: {
|
|
4755
4759
|
kind: "Transaction";
|
|
4756
|
-
/** The unsigned hex encoded transaction
|
|
4760
|
+
/** The unsigned hex encoded transaction or JSON transactions for compatible networks. */
|
|
4757
4761
|
transaction: string | {};
|
|
4758
4762
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key (read more [here](https://docs.dfns.co/api-reference/idempotency)). */
|
|
4759
4763
|
externalId?: string | undefined;
|
|
@@ -4927,7 +4931,7 @@ export type TransferAssetBody = {
|
|
|
4927
4931
|
to: string;
|
|
4928
4932
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
4929
4933
|
amount: string;
|
|
4930
|
-
/** The memo. */
|
|
4934
|
+
/** The memo or destination tag. */
|
|
4931
4935
|
memo?: (string | "") | undefined;
|
|
4932
4936
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
4933
4937
|
externalId?: string | undefined;
|
|
@@ -5146,7 +5150,7 @@ export type TransferAssetBody = {
|
|
|
5146
5150
|
serialNumber: string;
|
|
5147
5151
|
/** The destination address. */
|
|
5148
5152
|
to: string;
|
|
5149
|
-
/** The memo. */
|
|
5153
|
+
/** The memo or destination tag. */
|
|
5150
5154
|
memo?: (string | "") | undefined;
|
|
5151
5155
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
5152
5156
|
externalId?: string | undefined;
|
|
@@ -5204,8 +5208,8 @@ export type TransferAssetBody = {
|
|
|
5204
5208
|
to: string;
|
|
5205
5209
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
5206
5210
|
amount: string;
|
|
5207
|
-
/** The memo or destination tag
|
|
5208
|
-
memo?: string | undefined;
|
|
5211
|
+
/** The memo or destination tag. */
|
|
5212
|
+
memo?: (string | "") | undefined;
|
|
5209
5213
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
5210
5214
|
externalId?: string | undefined;
|
|
5211
5215
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -5256,7 +5260,7 @@ export type TransferAssetBody = {
|
|
|
5256
5260
|
feeSponsorId?: string | undefined;
|
|
5257
5261
|
} | {
|
|
5258
5262
|
kind: "Snip2";
|
|
5259
|
-
/** The
|
|
5263
|
+
/** The SNIP-2 (ERC-20-like) contract address. */
|
|
5260
5264
|
contract: string;
|
|
5261
5265
|
/** The destination address. */
|
|
5262
5266
|
to: string;
|
|
@@ -5282,7 +5286,7 @@ export type TransferAssetBody = {
|
|
|
5282
5286
|
feeSponsorId?: string | undefined;
|
|
5283
5287
|
} | {
|
|
5284
5288
|
kind: "Snip3";
|
|
5285
|
-
/** The
|
|
5289
|
+
/** The SNIP-3 (ERC-721) contract address. */
|
|
5286
5290
|
contract: string;
|
|
5287
5291
|
/** The destination address. */
|
|
5288
5292
|
to: string;
|
|
@@ -5314,6 +5318,8 @@ export type TransferAssetBody = {
|
|
|
5314
5318
|
amount: string;
|
|
5315
5319
|
/** The mint account address. */
|
|
5316
5320
|
mint: string;
|
|
5321
|
+
/** The memo or destination tag. */
|
|
5322
|
+
memo?: (string | "") | undefined;
|
|
5317
5323
|
/** If `true`, pay to create the associated token account for the recipient if it doesn't exist. Defaults to `false`. */
|
|
5318
5324
|
createDestinationAccount?: boolean | undefined;
|
|
5319
5325
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
@@ -5448,8 +5454,8 @@ export type TransferAssetBody = {
|
|
|
5448
5454
|
to: string;
|
|
5449
5455
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
5450
5456
|
amount: string;
|
|
5451
|
-
/** The memo or destination tag
|
|
5452
|
-
memo?: string | undefined;
|
|
5457
|
+
/** The memo or destination tag. */
|
|
5458
|
+
memo?: (string | "") | undefined;
|
|
5453
5459
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
5454
5460
|
externalId?: string | undefined;
|
|
5455
5461
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -5555,7 +5561,7 @@ export type TransferAssetResponse = {
|
|
|
5555
5561
|
to: string;
|
|
5556
5562
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
5557
5563
|
amount: string;
|
|
5558
|
-
/** The memo. */
|
|
5564
|
+
/** The memo or destination tag. */
|
|
5559
5565
|
memo?: (string | "") | undefined;
|
|
5560
5566
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
5561
5567
|
externalId?: string | undefined;
|
|
@@ -5774,7 +5780,7 @@ export type TransferAssetResponse = {
|
|
|
5774
5780
|
serialNumber: string;
|
|
5775
5781
|
/** The destination address. */
|
|
5776
5782
|
to: string;
|
|
5777
|
-
/** The memo. */
|
|
5783
|
+
/** The memo or destination tag. */
|
|
5778
5784
|
memo?: (string | "") | undefined;
|
|
5779
5785
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
5780
5786
|
externalId?: string | undefined;
|
|
@@ -5832,8 +5838,8 @@ export type TransferAssetResponse = {
|
|
|
5832
5838
|
to: string;
|
|
5833
5839
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
5834
5840
|
amount: string;
|
|
5835
|
-
/** The memo or destination tag
|
|
5836
|
-
memo?: string | undefined;
|
|
5841
|
+
/** The memo or destination tag. */
|
|
5842
|
+
memo?: (string | "") | undefined;
|
|
5837
5843
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
5838
5844
|
externalId?: string | undefined;
|
|
5839
5845
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -5884,7 +5890,7 @@ export type TransferAssetResponse = {
|
|
|
5884
5890
|
feeSponsorId?: string | undefined;
|
|
5885
5891
|
} | {
|
|
5886
5892
|
kind: "Snip2";
|
|
5887
|
-
/** The
|
|
5893
|
+
/** The SNIP-2 (ERC-20-like) contract address. */
|
|
5888
5894
|
contract: string;
|
|
5889
5895
|
/** The destination address. */
|
|
5890
5896
|
to: string;
|
|
@@ -5910,7 +5916,7 @@ export type TransferAssetResponse = {
|
|
|
5910
5916
|
feeSponsorId?: string | undefined;
|
|
5911
5917
|
} | {
|
|
5912
5918
|
kind: "Snip3";
|
|
5913
|
-
/** The
|
|
5919
|
+
/** The SNIP-3 (ERC-721) contract address. */
|
|
5914
5920
|
contract: string;
|
|
5915
5921
|
/** The destination address. */
|
|
5916
5922
|
to: string;
|
|
@@ -5942,6 +5948,8 @@ export type TransferAssetResponse = {
|
|
|
5942
5948
|
amount: string;
|
|
5943
5949
|
/** The mint account address. */
|
|
5944
5950
|
mint: string;
|
|
5951
|
+
/** The memo or destination tag. */
|
|
5952
|
+
memo?: (string | "") | undefined;
|
|
5945
5953
|
/** If `true`, pay to create the associated token account for the recipient if it doesn't exist. Defaults to `false`. */
|
|
5946
5954
|
createDestinationAccount?: boolean | undefined;
|
|
5947
5955
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
@@ -6076,8 +6084,8 @@ export type TransferAssetResponse = {
|
|
|
6076
6084
|
to: string;
|
|
6077
6085
|
/** The amount of tokens to transfer in minimum denomination. */
|
|
6078
6086
|
amount: string;
|
|
6079
|
-
/** The memo or destination tag
|
|
6080
|
-
memo?: string | undefined;
|
|
6087
|
+
/** The memo or destination tag. */
|
|
6088
|
+
memo?: (string | "") | undefined;
|
|
6081
6089
|
/** A unique ID from your system. It can be leveraged to be used as an idempotency key. (read more [here](https://docs.dfns.co/api-reference/idempotency)) */
|
|
6082
6090
|
externalId?: string | undefined;
|
|
6083
6091
|
/** A travel rule payload to associate with the transfer. (read more [here](https://docs.dfns.co/features/travel-rule)) */
|
|
@@ -3,7 +3,7 @@ export type CreateWebhookBody = {
|
|
|
3
3
|
/** Webhook status */
|
|
4
4
|
status?: ("Enabled" | "Disabled") | undefined;
|
|
5
5
|
description?: string | undefined;
|
|
6
|
-
events: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.deleted" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.activated" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.offer.received" | "wallet.offer.accepted" | "wallet.offer.rejected" | "wallet.tags.modified") | "*")[];
|
|
6
|
+
events: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.deleted" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.activated" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.offer.received" | "wallet.offer.accepted" | "wallet.offer.rejected" | "wallet.offer.withdrawn" | "wallet.tags.modified" | "payout.action.required") | "*")[];
|
|
7
7
|
};
|
|
8
8
|
export type CreateWebhookResponse = {
|
|
9
9
|
/** Webhook ID */
|
|
@@ -11,7 +11,7 @@ export type CreateWebhookResponse = {
|
|
|
11
11
|
/** Webhook url */
|
|
12
12
|
url: string;
|
|
13
13
|
/** All events this webhook is subscribed to. */
|
|
14
|
-
events: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.deleted" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.activated" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.offer.received" | "wallet.offer.accepted" | "wallet.offer.rejected" | "wallet.tags.modified") | "*")[];
|
|
14
|
+
events: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.deleted" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.activated" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.offer.received" | "wallet.offer.accepted" | "wallet.offer.rejected" | "wallet.offer.withdrawn" | "wallet.tags.modified" | "payout.action.required") | "*")[];
|
|
15
15
|
/** Webhook status */
|
|
16
16
|
status: "Enabled" | "Disabled";
|
|
17
17
|
/** Short description this webhook's purpose */
|
|
@@ -42,7 +42,7 @@ export type GetWebhookResponse = {
|
|
|
42
42
|
/** Webhook url */
|
|
43
43
|
url: string;
|
|
44
44
|
/** All events this webhook is subscribed to. */
|
|
45
|
-
events: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.deleted" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.activated" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.offer.received" | "wallet.offer.accepted" | "wallet.offer.rejected" | "wallet.tags.modified") | "*")[];
|
|
45
|
+
events: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.deleted" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.activated" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.offer.received" | "wallet.offer.accepted" | "wallet.offer.rejected" | "wallet.offer.withdrawn" | "wallet.tags.modified" | "payout.action.required") | "*")[];
|
|
46
46
|
/** Webhook status */
|
|
47
47
|
status: "Enabled" | "Disabled";
|
|
48
48
|
/** Short description this webhook's purpose */
|
|
@@ -63,7 +63,7 @@ export type GetWebhookEventResponse = {
|
|
|
63
63
|
/** ISO date string when event was raised */
|
|
64
64
|
date: string;
|
|
65
65
|
/** Webhook event */
|
|
66
|
-
kind: "policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.deleted" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.activated" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.offer.received" | "wallet.offer.accepted" | "wallet.offer.rejected" | "wallet.tags.modified";
|
|
66
|
+
kind: "policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.deleted" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.activated" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.offer.received" | "wallet.offer.accepted" | "wallet.offer.rejected" | "wallet.offer.withdrawn" | "wallet.tags.modified" | "payout.action.required";
|
|
67
67
|
data: {
|
|
68
68
|
[x: string]: any;
|
|
69
69
|
};
|
|
@@ -79,7 +79,7 @@ export type ListWebhookEventsParams = {
|
|
|
79
79
|
webhookId: string;
|
|
80
80
|
};
|
|
81
81
|
export type ListWebhookEventsQuery = {
|
|
82
|
-
kind?: ("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.deleted" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.activated" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.offer.received" | "wallet.offer.accepted" | "wallet.offer.rejected" | "wallet.tags.modified") | undefined;
|
|
82
|
+
kind?: ("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.deleted" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.activated" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.offer.received" | "wallet.offer.accepted" | "wallet.offer.rejected" | "wallet.offer.withdrawn" | "wallet.tags.modified" | "payout.action.required") | undefined;
|
|
83
83
|
deliveryFailed?: ("true" | "false") | undefined;
|
|
84
84
|
limit?: number | undefined;
|
|
85
85
|
paginationToken?: string | undefined;
|
|
@@ -91,7 +91,7 @@ export type ListWebhookEventsResponse = {
|
|
|
91
91
|
/** ISO date string when event was raised */
|
|
92
92
|
date: string;
|
|
93
93
|
/** Webhook event */
|
|
94
|
-
kind: "policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.deleted" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.activated" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.offer.received" | "wallet.offer.accepted" | "wallet.offer.rejected" | "wallet.tags.modified";
|
|
94
|
+
kind: "policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.deleted" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.activated" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.offer.received" | "wallet.offer.accepted" | "wallet.offer.rejected" | "wallet.offer.withdrawn" | "wallet.tags.modified" | "payout.action.required";
|
|
95
95
|
data: {
|
|
96
96
|
[x: string]: any;
|
|
97
97
|
};
|
|
@@ -118,7 +118,7 @@ export type ListWebhooksResponse = {
|
|
|
118
118
|
/** Webhook url */
|
|
119
119
|
url: string;
|
|
120
120
|
/** All events this webhook is subscribed to. */
|
|
121
|
-
events: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.deleted" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.activated" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.offer.received" | "wallet.offer.accepted" | "wallet.offer.rejected" | "wallet.tags.modified") | "*")[];
|
|
121
|
+
events: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.deleted" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.activated" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.offer.received" | "wallet.offer.accepted" | "wallet.offer.rejected" | "wallet.offer.withdrawn" | "wallet.tags.modified" | "payout.action.required") | "*")[];
|
|
122
122
|
/** Webhook status */
|
|
123
123
|
status: "Enabled" | "Disabled";
|
|
124
124
|
/** Short description this webhook's purpose */
|
|
@@ -144,7 +144,7 @@ export type PingWebhookRequest = PingWebhookParams;
|
|
|
144
144
|
export type UpdateWebhookBody = {
|
|
145
145
|
url?: string | undefined;
|
|
146
146
|
description?: (string | undefined) | undefined;
|
|
147
|
-
events?: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.deleted" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.activated" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.offer.received" | "wallet.offer.accepted" | "wallet.offer.rejected" | "wallet.tags.modified") | "*")[] | undefined;
|
|
147
|
+
events?: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.deleted" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.activated" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.offer.received" | "wallet.offer.accepted" | "wallet.offer.rejected" | "wallet.offer.withdrawn" | "wallet.tags.modified" | "payout.action.required") | "*")[] | undefined;
|
|
148
148
|
/** Webhook status */
|
|
149
149
|
status?: (("Enabled" | "Disabled") | undefined) | undefined;
|
|
150
150
|
};
|
|
@@ -157,7 +157,7 @@ export type UpdateWebhookResponse = {
|
|
|
157
157
|
/** Webhook url */
|
|
158
158
|
url: string;
|
|
159
159
|
/** All events this webhook is subscribed to. */
|
|
160
|
-
events: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.deleted" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.activated" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.offer.received" | "wallet.offer.accepted" | "wallet.offer.rejected" | "wallet.tags.modified") | "*")[];
|
|
160
|
+
events: (("policy.triggered" | "policy.approval.pending" | "policy.approval.resolved" | "key.created" | "key.deleted" | "key.delegated" | "key.exported" | "wallet.blockchainevent.detected" | "wallet.created" | "wallet.activated" | "wallet.delegated" | "wallet.exported" | "wallet.signature.failed" | "wallet.signature.rejected" | "wallet.signature.requested" | "wallet.signature.signed" | "wallet.transaction.broadcasted" | "wallet.transaction.confirmed" | "wallet.transaction.failed" | "wallet.transaction.rejected" | "wallet.transaction.requested" | "wallet.transfer.broadcasted" | "wallet.transfer.confirmed" | "wallet.transfer.failed" | "wallet.transfer.rejected" | "wallet.transfer.requested" | "wallet.offer.received" | "wallet.offer.accepted" | "wallet.offer.rejected" | "wallet.offer.withdrawn" | "wallet.tags.modified" | "payout.action.required") | "*")[];
|
|
161
161
|
/** Webhook status */
|
|
162
162
|
status: "Enabled" | "Disabled";
|
|
163
163
|
/** Short description this webhook's purpose */
|
package/package.json
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../generated/agreements';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("../generated/agreements"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../generated/allocations';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("../generated/allocations"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../generated/payouts';
|
package/types/payouts.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("../generated/payouts"), exports);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../generated/staking';
|
package/types/staking.js
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("../generated/staking"), exports);
|
package/types/swaps.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../generated/swaps';
|