@dfns/sdk 0.2.2 → 0.2.3-rc.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/baseAuthApi.ts +236 -0
- package/codegen/Assets/AssetsClient.ts +137 -0
- package/codegen/Assets/DelegatedAssetsClient.ts +201 -0
- package/codegen/Assets/index.ts +3 -0
- package/codegen/Assets/types.ts +45 -0
- package/codegen/Auth/AuthClient.ts +729 -0
- package/codegen/Auth/DelegatedAuthClient.ts +1508 -0
- package/codegen/Auth/index.ts +3 -0
- package/codegen/Auth/types.ts +262 -0
- package/codegen/Blockchains/BlockchainsClient.ts +25 -0
- package/codegen/Blockchains/DelegatedBlockchainsClient.ts +25 -0
- package/codegen/Blockchains/index.ts +3 -0
- package/codegen/Blockchains/types.ts +8 -0
- package/codegen/Callbacks/CallbacksClient.ts +107 -0
- package/codegen/Callbacks/DelegatedCallbacksClient.ts +172 -0
- package/codegen/Callbacks/index.ts +3 -0
- package/codegen/Callbacks/{types.d.ts → types.ts} +26 -18
- package/codegen/Permissions/DelegatedPermissionsClient.ts +468 -0
- package/codegen/Permissions/PermissionsClient.ts +223 -0
- package/codegen/Permissions/index.ts +3 -0
- package/codegen/Permissions/types.ts +82 -0
- package/codegen/PolicyExecution/DelegatedPolicyExecutionClient.ts +99 -0
- package/codegen/PolicyExecution/PolicyExecutionClient.ts +63 -0
- package/codegen/PolicyExecution/index.ts +3 -0
- package/codegen/PolicyExecution/types.ts +24 -0
- package/codegen/PolicyManagement/DelegatedPolicyManagementClient.ts +384 -0
- package/codegen/PolicyManagement/PolicyManagementClient.ts +205 -0
- package/codegen/PolicyManagement/index.ts +3 -0
- package/codegen/PolicyManagement/{types.d.ts → types.ts} +56 -40
- package/codegen/PublicKeys/DelegatedPublicKeysClient.ts +299 -0
- package/codegen/PublicKeys/PublicKeysClient.ts +179 -0
- package/codegen/PublicKeys/index.ts +3 -0
- package/codegen/PublicKeys/types.ts +68 -0
- package/codegen/Signers/DelegatedSignersClient.ts +22 -0
- package/codegen/Signers/SignersClient.ts +22 -0
- package/codegen/Signers/index.ts +3 -0
- package/codegen/Signers/types.ts +3 -0
- package/codegen/Wallets/DelegatedWalletsClient.ts +511 -0
- package/codegen/Wallets/WalletsClient.ts +310 -0
- package/codegen/Wallets/index.ts +3 -0
- package/codegen/Wallets/types.ts +137 -0
- package/codegen/datamodel/ApiKeys/errors.ts +9 -0
- package/codegen/datamodel/ApiKeys/index.ts +3 -0
- package/codegen/datamodel/ApiKeys/responses.ts +68 -0
- package/codegen/datamodel/ApiKeys/types.ts +81 -0
- package/codegen/datamodel/Assets/errors.ts +24 -0
- package/codegen/datamodel/Assets/index.ts +3 -0
- package/codegen/datamodel/Assets/responses.ts +146 -0
- package/codegen/datamodel/Assets/types.ts +417 -0
- package/codegen/datamodel/Auth/index.ts +2 -0
- package/codegen/datamodel/Auth/responses.ts +1110 -0
- package/codegen/datamodel/Auth/types.ts +1404 -0
- package/codegen/datamodel/BlockchainIndexing/index.ts +1 -0
- package/codegen/datamodel/BlockchainIndexing/{responses.d.ts → responses.ts} +10 -5
- package/codegen/datamodel/Blockchains/index.ts +2 -0
- package/codegen/datamodel/Blockchains/responses.ts +41 -0
- package/codegen/datamodel/Blockchains/types.ts +695 -0
- package/codegen/datamodel/Callbacks/index.ts +2 -0
- package/codegen/datamodel/Callbacks/responses.ts +110 -0
- package/codegen/datamodel/Callbacks/types.ts +100 -0
- package/codegen/datamodel/Foundations/errors.ts +299 -0
- package/codegen/datamodel/Foundations/index.ts +2 -0
- package/codegen/datamodel/Foundations/types.ts +57921 -0
- package/codegen/datamodel/Orgs/index.ts +2 -0
- package/codegen/datamodel/Orgs/responses.ts +104 -0
- package/codegen/datamodel/Orgs/types.ts +322 -0
- package/codegen/datamodel/Permissions/index.ts +2 -0
- package/codegen/datamodel/Permissions/responses.ts +258 -0
- package/codegen/datamodel/Permissions/types.ts +221 -0
- package/codegen/datamodel/PolicyExecution/errors.ts +24 -0
- package/codegen/datamodel/PolicyExecution/index.ts +3 -0
- package/codegen/datamodel/PolicyExecution/responses.ts +59 -0
- package/codegen/datamodel/PolicyExecution/types.ts +122 -0
- package/codegen/datamodel/PolicyManagement/index.ts +2 -0
- package/codegen/datamodel/PolicyManagement/responses.ts +255 -0
- package/codegen/datamodel/PolicyManagement/types.ts +711 -0
- package/codegen/datamodel/PublicKeys/index.ts +2 -0
- package/codegen/datamodel/PublicKeys/responses.ts +190 -0
- package/codegen/datamodel/PublicKeys/types.ts +558 -0
- package/codegen/datamodel/Signers/index.ts +2 -0
- package/codegen/datamodel/Signers/responses.ts +64 -0
- package/codegen/datamodel/Signers/types.ts +31 -0
- package/codegen/datamodel/Wallets/errors.ts +0 -0
- package/codegen/datamodel/Wallets/index.ts +2 -0
- package/codegen/datamodel/Wallets/responses.ts +318 -0
- package/codegen/datamodel/Wallets/types.ts +1268 -0
- package/dfnsApiClient.ts +76 -0
- package/dfnsAuthenticator.ts +59 -0
- package/dfnsDelegatedApiClient.ts +75 -0
- package/dfnsError.ts +5 -0
- package/generated/permissions/client.ts +125 -0
- package/generated/permissions/delegatedClient.ts +266 -0
- package/generated/permissions/index.ts +3 -0
- package/generated/permissions/types.ts +202 -0
- package/generated/policies/client.ts +110 -0
- package/generated/policies/delegatedClient.ts +223 -0
- package/generated/policies/index.ts +3 -0
- package/generated/policies/{types.d.ts → types.ts} +29 -17
- package/generated/signers/client.ts +22 -0
- package/generated/signers/delegatedClient.ts +23 -0
- package/generated/signers/index.ts +3 -0
- package/generated/signers/{types.d.ts → types.ts} +1 -0
- package/generated/wallets/client.ts +282 -0
- package/generated/wallets/delegatedClient.ts +507 -0
- package/generated/wallets/index.ts +3 -0
- package/generated/wallets/{types.d.ts → types.ts} +120 -48
- package/generated/webhooks/client.ts +124 -0
- package/generated/webhooks/delegatedClient.ts +237 -0
- package/generated/webhooks/index.ts +3 -0
- package/generated/webhooks/{types.d.ts → types.ts} +34 -16
- package/index.ts +7 -0
- package/package.json +1 -8
- package/project.json +14 -0
- package/signer.ts +60 -0
- package/store.ts +99 -0
- package/tsconfig.json +7 -0
- package/typedoc.json +21 -0
- package/types/policies.ts +1 -0
- package/types/signers.ts +1 -0
- package/types/wallets.ts +1 -0
- package/types/webhooks.ts +1 -0
- package/utils/base64.ts +19 -0
- package/utils/fetch.ts +130 -0
- package/utils/index.ts +4 -0
- package/utils/nonce.ts +12 -0
- package/utils/url.ts +19 -0
- package/baseAuthApi.d.ts +0 -113
- package/baseAuthApi.js +0 -97
- package/codegen/Assets/AssetsClient.d.ts +0 -13
- package/codegen/Assets/AssetsClient.js +0 -93
- package/codegen/Assets/DelegatedAssetsClient.d.ts +0 -16
- package/codegen/Assets/DelegatedAssetsClient.js +0 -124
- package/codegen/Assets/index.d.ts +0 -3
- package/codegen/Assets/index.js +0 -19
- package/codegen/Assets/types.d.ts +0 -37
- package/codegen/Assets/types.js +0 -2
- package/codegen/Auth/AuthClient.d.ts +0 -50
- package/codegen/Auth/AuthClient.js +0 -518
- package/codegen/Auth/DelegatedAuthClient.d.ts +0 -78
- package/codegen/Auth/DelegatedAuthClient.js +0 -936
- package/codegen/Auth/index.d.ts +0 -3
- package/codegen/Auth/index.js +0 -19
- package/codegen/Auth/types.d.ts +0 -177
- package/codegen/Auth/types.js +0 -2
- package/codegen/Blockchains/BlockchainsClient.d.ts +0 -7
- package/codegen/Blockchains/BlockchainsClient.js +0 -23
- package/codegen/Blockchains/DelegatedBlockchainsClient.d.ts +0 -7
- package/codegen/Blockchains/DelegatedBlockchainsClient.js +0 -23
- package/codegen/Blockchains/index.d.ts +0 -3
- package/codegen/Blockchains/index.js +0 -19
- package/codegen/Blockchains/types.d.ts +0 -6
- package/codegen/Blockchains/types.js +0 -2
- package/codegen/Callbacks/CallbacksClient.d.ts +0 -12
- package/codegen/Callbacks/CallbacksClient.js +0 -78
- package/codegen/Callbacks/DelegatedCallbacksClient.d.ts +0 -15
- package/codegen/Callbacks/DelegatedCallbacksClient.js +0 -110
- package/codegen/Callbacks/index.d.ts +0 -3
- package/codegen/Callbacks/index.js +0 -19
- package/codegen/Callbacks/types.js +0 -2
- package/codegen/Permissions/DelegatedPermissionsClient.d.ts +0 -27
- package/codegen/Permissions/DelegatedPermissionsClient.js +0 -284
- package/codegen/Permissions/PermissionsClient.d.ts +0 -18
- package/codegen/Permissions/PermissionsClient.js +0 -156
- package/codegen/Permissions/index.d.ts +0 -3
- package/codegen/Permissions/index.js +0 -19
- package/codegen/Permissions/types.d.ts +0 -62
- package/codegen/Permissions/types.js +0 -2
- package/codegen/PolicyExecution/DelegatedPolicyExecutionClient.d.ts +0 -11
- package/codegen/PolicyExecution/DelegatedPolicyExecutionClient.js +0 -61
- package/codegen/PolicyExecution/PolicyExecutionClient.d.ts +0 -9
- package/codegen/PolicyExecution/PolicyExecutionClient.js +0 -45
- package/codegen/PolicyExecution/index.d.ts +0 -3
- package/codegen/PolicyExecution/index.js +0 -19
- package/codegen/PolicyExecution/types.d.ts +0 -18
- package/codegen/PolicyExecution/types.js +0 -2
- package/codegen/PolicyManagement/DelegatedPolicyManagementClient.d.ts +0 -25
- package/codegen/PolicyManagement/DelegatedPolicyManagementClient.js +0 -240
- package/codegen/PolicyManagement/PolicyManagementClient.d.ts +0 -18
- package/codegen/PolicyManagement/PolicyManagementClient.js +0 -146
- package/codegen/PolicyManagement/index.d.ts +0 -3
- package/codegen/PolicyManagement/index.js +0 -19
- package/codegen/PolicyManagement/types.js +0 -2
- package/codegen/PublicKeys/DelegatedPublicKeysClient.d.ts +0 -21
- package/codegen/PublicKeys/DelegatedPublicKeysClient.js +0 -189
- package/codegen/PublicKeys/PublicKeysClient.d.ts +0 -16
- package/codegen/PublicKeys/PublicKeysClient.js +0 -128
- package/codegen/PublicKeys/index.d.ts +0 -3
- package/codegen/PublicKeys/index.js +0 -19
- package/codegen/PublicKeys/types.d.ts +0 -51
- package/codegen/PublicKeys/types.js +0 -2
- package/codegen/Signers/DelegatedSignersClient.d.ts +0 -7
- package/codegen/Signers/DelegatedSignersClient.js +0 -22
- package/codegen/Signers/SignersClient.d.ts +0 -7
- package/codegen/Signers/SignersClient.js +0 -22
- package/codegen/Signers/index.d.ts +0 -3
- package/codegen/Signers/index.js +0 -19
- package/codegen/Signers/types.d.ts +0 -2
- package/codegen/Signers/types.js +0 -2
- package/codegen/Wallets/DelegatedWalletsClient.d.ts +0 -32
- package/codegen/Wallets/DelegatedWalletsClient.js +0 -325
- package/codegen/Wallets/WalletsClient.d.ts +0 -24
- package/codegen/Wallets/WalletsClient.js +0 -219
- package/codegen/Wallets/index.d.ts +0 -3
- package/codegen/Wallets/index.js +0 -19
- package/codegen/Wallets/types.d.ts +0 -101
- package/codegen/Wallets/types.js +0 -2
- package/codegen/datamodel/ApiKeys/errors.d.ts +0 -6
- package/codegen/datamodel/ApiKeys/errors.js +0 -15
- package/codegen/datamodel/ApiKeys/index.d.ts +0 -3
- package/codegen/datamodel/ApiKeys/index.js +0 -19
- package/codegen/datamodel/ApiKeys/responses.d.ts +0 -25
- package/codegen/datamodel/ApiKeys/responses.js +0 -2
- package/codegen/datamodel/ApiKeys/types.d.ts +0 -32
- package/codegen/datamodel/ApiKeys/types.js +0 -11
- package/codegen/datamodel/Assets/errors.d.ts +0 -11
- package/codegen/datamodel/Assets/errors.js +0 -17
- package/codegen/datamodel/Assets/index.d.ts +0 -3
- package/codegen/datamodel/Assets/index.js +0 -19
- package/codegen/datamodel/Assets/responses.d.ts +0 -47
- package/codegen/datamodel/Assets/responses.js +0 -2
- package/codegen/datamodel/Assets/types.d.ts +0 -225
- package/codegen/datamodel/Assets/types.js +0 -75
- package/codegen/datamodel/Auth/errors.js +0 -1
- package/codegen/datamodel/Auth/index.d.ts +0 -2
- package/codegen/datamodel/Auth/index.js +0 -18
- package/codegen/datamodel/Auth/responses.d.ts +0 -358
- package/codegen/datamodel/Auth/responses.js +0 -2
- package/codegen/datamodel/Auth/types.d.ts +0 -615
- package/codegen/datamodel/Auth/types.js +0 -127
- package/codegen/datamodel/BlockchainIndexing/errors.js +0 -1
- package/codegen/datamodel/BlockchainIndexing/index.d.ts +0 -1
- package/codegen/datamodel/BlockchainIndexing/index.js +0 -17
- package/codegen/datamodel/BlockchainIndexing/responses.js +0 -2
- package/codegen/datamodel/BlockchainIndexing/types.js +0 -1
- package/codegen/datamodel/Blockchains/errors.js +0 -1
- package/codegen/datamodel/Blockchains/index.d.ts +0 -2
- package/codegen/datamodel/Blockchains/index.js +0 -18
- package/codegen/datamodel/Blockchains/responses.d.ts +0 -12
- package/codegen/datamodel/Blockchains/responses.js +0 -2
- package/codegen/datamodel/Blockchains/types.d.ts +0 -270
- package/codegen/datamodel/Blockchains/types.js +0 -53
- package/codegen/datamodel/Callbacks/errors.js +0 -1
- package/codegen/datamodel/Callbacks/index.d.ts +0 -2
- package/codegen/datamodel/Callbacks/index.js +0 -18
- package/codegen/datamodel/Callbacks/responses.d.ts +0 -36
- package/codegen/datamodel/Callbacks/responses.js +0 -2
- package/codegen/datamodel/Callbacks/types.d.ts +0 -43
- package/codegen/datamodel/Callbacks/types.js +0 -39
- package/codegen/datamodel/Foundations/errors.d.ts +0 -131
- package/codegen/datamodel/Foundations/errors.js +0 -182
- package/codegen/datamodel/Foundations/index.d.ts +0 -2
- package/codegen/datamodel/Foundations/index.js +0 -18
- package/codegen/datamodel/Foundations/responses.js +0 -1
- package/codegen/datamodel/Foundations/types.d.ts +0 -9759
- package/codegen/datamodel/Foundations/types.js +0 -57755
- package/codegen/datamodel/Orgs/errors.js +0 -1
- package/codegen/datamodel/Orgs/index.d.ts +0 -2
- package/codegen/datamodel/Orgs/index.js +0 -18
- package/codegen/datamodel/Orgs/responses.d.ts +0 -45
- package/codegen/datamodel/Orgs/responses.js +0 -2
- package/codegen/datamodel/Orgs/types.d.ts +0 -240
- package/codegen/datamodel/Orgs/types.js +0 -39
- package/codegen/datamodel/Permissions/errors.js +0 -1
- package/codegen/datamodel/Permissions/index.d.ts +0 -2
- package/codegen/datamodel/Permissions/index.js +0 -18
- package/codegen/datamodel/Permissions/responses.d.ts +0 -75
- package/codegen/datamodel/Permissions/responses.js +0 -2
- package/codegen/datamodel/Permissions/types.d.ts +0 -93
- package/codegen/datamodel/Permissions/types.js +0 -43
- package/codegen/datamodel/PolicyExecution/errors.d.ts +0 -11
- package/codegen/datamodel/PolicyExecution/errors.js +0 -17
- package/codegen/datamodel/PolicyExecution/index.d.ts +0 -3
- package/codegen/datamodel/PolicyExecution/index.js +0 -19
- package/codegen/datamodel/PolicyExecution/responses.d.ts +0 -19
- package/codegen/datamodel/PolicyExecution/responses.js +0 -2
- package/codegen/datamodel/PolicyExecution/types.d.ts +0 -60
- package/codegen/datamodel/PolicyExecution/types.js +0 -17
- package/codegen/datamodel/PolicyManagement/errors.js +0 -1
- package/codegen/datamodel/PolicyManagement/index.d.ts +0 -2
- package/codegen/datamodel/PolicyManagement/index.js +0 -18
- package/codegen/datamodel/PolicyManagement/responses.d.ts +0 -83
- package/codegen/datamodel/PolicyManagement/responses.js +0 -2
- package/codegen/datamodel/PolicyManagement/types.d.ts +0 -391
- package/codegen/datamodel/PolicyManagement/types.js +0 -95
- package/codegen/datamodel/PublicKeys/errors.js +0 -1
- package/codegen/datamodel/PublicKeys/index.d.ts +0 -2
- package/codegen/datamodel/PublicKeys/index.js +0 -18
- package/codegen/datamodel/PublicKeys/responses.d.ts +0 -56
- package/codegen/datamodel/PublicKeys/responses.js +0 -2
- package/codegen/datamodel/PublicKeys/types.d.ts +0 -223
- package/codegen/datamodel/PublicKeys/types.js +0 -59
- package/codegen/datamodel/Signers/errors.js +0 -1
- package/codegen/datamodel/Signers/index.d.ts +0 -2
- package/codegen/datamodel/Signers/index.js +0 -18
- package/codegen/datamodel/Signers/responses.d.ts +0 -27
- package/codegen/datamodel/Signers/responses.js +0 -2
- package/codegen/datamodel/Signers/types.d.ts +0 -21
- package/codegen/datamodel/Signers/types.js +0 -2
- package/codegen/datamodel/Wallets/errors.js +0 -1
- package/codegen/datamodel/Wallets/index.d.ts +0 -2
- package/codegen/datamodel/Wallets/index.js +0 -18
- package/codegen/datamodel/Wallets/responses.d.ts +0 -92
- package/codegen/datamodel/Wallets/responses.js +0 -2
- package/codegen/datamodel/Wallets/types.d.ts +0 -677
- package/codegen/datamodel/Wallets/types.js +0 -251
- package/dfnsApiClient.d.ts +0 -39
- package/dfnsApiClient.js +0 -63
- package/dfnsAuthenticator.d.ts +0 -17
- package/dfnsAuthenticator.js +0 -29
- package/dfnsDelegatedApiClient.d.ts +0 -38
- package/dfnsDelegatedApiClient.js +0 -63
- package/dfnsError.d.ts +0 -5
- package/dfnsError.js +0 -11
- package/generated/policies/client.d.ts +0 -13
- package/generated/policies/client.js +0 -92
- package/generated/policies/delegatedClient.d.ts +0 -18
- package/generated/policies/delegatedClient.js +0 -153
- package/generated/policies/index.d.ts +0 -3
- package/generated/policies/index.js +0 -19
- package/generated/policies/types.js +0 -2
- package/generated/signers/client.d.ts +0 -7
- package/generated/signers/client.js +0 -22
- package/generated/signers/delegatedClient.d.ts +0 -7
- package/generated/signers/delegatedClient.js +0 -22
- package/generated/signers/index.d.ts +0 -3
- package/generated/signers/index.js +0 -19
- package/generated/signers/types.js +0 -2
- package/generated/wallets/client.d.ts +0 -25
- package/generated/wallets/client.js +0 -228
- package/generated/wallets/delegatedClient.d.ts +0 -34
- package/generated/wallets/delegatedClient.js +0 -349
- package/generated/wallets/index.d.ts +0 -3
- package/generated/wallets/index.js +0 -19
- package/generated/wallets/types.js +0 -2
- package/generated/webhooks/client.d.ts +0 -14
- package/generated/webhooks/client.js +0 -103
- package/generated/webhooks/delegatedClient.d.ts +0 -19
- package/generated/webhooks/delegatedClient.js +0 -164
- package/generated/webhooks/index.d.ts +0 -3
- package/generated/webhooks/index.js +0 -19
- package/generated/webhooks/types.js +0 -2
- package/index.d.ts +0 -7
- package/index.js +0 -23
- package/signer.d.ts +0 -52
- package/signer.js +0 -2
- package/store.d.ts +0 -79
- package/store.js +0 -2
- package/types/policies.d.ts +0 -1
- package/types/policies.js +0 -17
- package/types/signers.d.ts +0 -1
- package/types/signers.js +0 -17
- package/types/wallets.d.ts +0 -1
- package/types/wallets.js +0 -17
- package/types/webhooks.d.ts +0 -1
- package/types/webhooks.js +0 -17
- package/utils/base64.d.ts +0 -3
- package/utils/base64.js +0 -20
- package/utils/fetch.d.ts +0 -12
- package/utils/fetch.js +0 -94
- package/utils/index.d.ts +0 -4
- package/utils/index.js +0 -20
- package/utils/nonce.d.ts +0 -1
- package/utils/nonce.js +0 -12
- package/utils/url.d.ts +0 -4
- package/utils/url.js +0 -16
- /package/{codegen/datamodel/Auth/errors.d.ts → README.md} +0 -0
- /package/codegen/datamodel/{BlockchainIndexing/errors.d.ts → Auth/errors.ts} +0 -0
- /package/codegen/datamodel/BlockchainIndexing/{types.d.ts → errors.ts} +0 -0
- /package/codegen/datamodel/{Blockchains/errors.d.ts → BlockchainIndexing/types.ts} +0 -0
- /package/codegen/datamodel/{Callbacks/errors.d.ts → Blockchains/errors.ts} +0 -0
- /package/codegen/datamodel/{Foundations/responses.d.ts → Callbacks/errors.ts} +0 -0
- /package/codegen/datamodel/{Orgs/errors.d.ts → Foundations/responses.ts} +0 -0
- /package/codegen/datamodel/{Permissions/errors.d.ts → Orgs/errors.ts} +0 -0
- /package/codegen/datamodel/{PolicyManagement/errors.d.ts → Permissions/errors.ts} +0 -0
- /package/codegen/datamodel/{PublicKeys/errors.d.ts → PolicyManagement/errors.ts} +0 -0
- /package/codegen/datamodel/{Signers/errors.d.ts → PublicKeys/errors.ts} +0 -0
- /package/codegen/datamodel/{Wallets/errors.d.ts → Signers/errors.ts} +0 -0
|
@@ -0,0 +1,558 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Amount,
|
|
3
|
+
BlockchainAddress,
|
|
4
|
+
BlockchainNetwork,
|
|
5
|
+
DocumentSnapshot,
|
|
6
|
+
EntityId,
|
|
7
|
+
Initiator,
|
|
8
|
+
IntegerPositiveStrict,
|
|
9
|
+
IsoDatetime,
|
|
10
|
+
PublicKey,
|
|
11
|
+
Tag,
|
|
12
|
+
} from '../Foundations'
|
|
13
|
+
|
|
14
|
+
// FIXME: Missing documentation for SignatureResponse
|
|
15
|
+
export type SignatureResponse = {
|
|
16
|
+
// FIXME: Missing documentation for r
|
|
17
|
+
r: string
|
|
18
|
+
|
|
19
|
+
// FIXME: Missing documentation for s
|
|
20
|
+
s: string
|
|
21
|
+
|
|
22
|
+
// FIXME: Missing documentation for recid
|
|
23
|
+
recid: number
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
// FIXME: Missing documentation for PublicKeyRecord
|
|
27
|
+
export type PublicKeyRecord = {
|
|
28
|
+
// FIXME: Missing documentation for id
|
|
29
|
+
id: EntityId
|
|
30
|
+
|
|
31
|
+
// FIXME: Missing documentation for externalId
|
|
32
|
+
externalId?: string
|
|
33
|
+
|
|
34
|
+
// FIXME: Missing documentation for orgId
|
|
35
|
+
orgId: EntityId
|
|
36
|
+
|
|
37
|
+
// FIXME: Missing documentation for publicKey
|
|
38
|
+
publicKey: PublicKey
|
|
39
|
+
|
|
40
|
+
// FIXME: Missing documentation for signerIds
|
|
41
|
+
signerIds: string[]
|
|
42
|
+
|
|
43
|
+
// FIXME: Missing documentation for groupThreshold
|
|
44
|
+
groupThreshold: number
|
|
45
|
+
|
|
46
|
+
// FIXME: Missing documentation for groupSize
|
|
47
|
+
groupSize: number
|
|
48
|
+
|
|
49
|
+
// FIXME: Missing documentation for tags
|
|
50
|
+
tags?: Tag[]
|
|
51
|
+
|
|
52
|
+
// FIXME: Missing documentation for isEddsa
|
|
53
|
+
isEddsa: boolean
|
|
54
|
+
|
|
55
|
+
// FIXME: Missing documentation for maxPresigs
|
|
56
|
+
maxPresigs?: number
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
// FIXME: Missing documentation for GetPublicKeyAddressResponse
|
|
60
|
+
export type GetPublicKeyAddressResponse = {
|
|
61
|
+
// FIXME: Missing documentation for publicKeyId
|
|
62
|
+
publicKeyId: string
|
|
63
|
+
|
|
64
|
+
// FIXME: Missing documentation for network
|
|
65
|
+
network: string
|
|
66
|
+
|
|
67
|
+
// FIXME: Missing documentation for address
|
|
68
|
+
address: BlockchainAddress
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
// FIXME: Missing documentation for Signature
|
|
72
|
+
export type Signature = {
|
|
73
|
+
// FIXME: Missing documentation for id
|
|
74
|
+
id: EntityId
|
|
75
|
+
|
|
76
|
+
// FIXME: Missing documentation for orgId
|
|
77
|
+
orgId: EntityId
|
|
78
|
+
|
|
79
|
+
// FIXME: Missing documentation for publicKeyId
|
|
80
|
+
publicKeyId: string
|
|
81
|
+
|
|
82
|
+
// FIXME: Missing documentation for hash
|
|
83
|
+
hash: string
|
|
84
|
+
|
|
85
|
+
// FIXME: Missing documentation for r
|
|
86
|
+
r: string
|
|
87
|
+
|
|
88
|
+
// FIXME: Missing documentation for s
|
|
89
|
+
s: string
|
|
90
|
+
|
|
91
|
+
// FIXME: Missing documentation for recid
|
|
92
|
+
recid: number
|
|
93
|
+
|
|
94
|
+
// FIXME: Missing documentation for status
|
|
95
|
+
status: SignatureStatus
|
|
96
|
+
|
|
97
|
+
// FIXME: Missing documentation for initiator
|
|
98
|
+
initiator: Initiator
|
|
99
|
+
|
|
100
|
+
// FIXME: Missing documentation for dateCreated
|
|
101
|
+
dateCreated: IsoDatetime
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
// FIXME: Missing documentation for CosmosDenomAmount
|
|
105
|
+
export type CosmosDenomAmount = {
|
|
106
|
+
// FIXME: Missing documentation for denom
|
|
107
|
+
denom: string
|
|
108
|
+
|
|
109
|
+
// FIXME: Missing documentation for amount
|
|
110
|
+
amount: string
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
// FIXME: Missing documentation for CosmosTimeoutHeight
|
|
114
|
+
export type CosmosTimeoutHeight = {
|
|
115
|
+
// FIXME: Missing documentation for revisionNumber
|
|
116
|
+
revisionNumber: string
|
|
117
|
+
|
|
118
|
+
// FIXME: Missing documentation for revisionHeight
|
|
119
|
+
revisionHeight: string
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
// FIXME: Missing documentation for EvmGenericTx
|
|
123
|
+
export type EvmGenericTx = {
|
|
124
|
+
// FIXME: Missing documentation for templateKind
|
|
125
|
+
templateKind: TransactionTemplateKind.EvmGenericTx
|
|
126
|
+
|
|
127
|
+
// FIXME: Missing documentation for to
|
|
128
|
+
to: string
|
|
129
|
+
|
|
130
|
+
// FIXME: Missing documentation for gasLimit
|
|
131
|
+
gasLimit: Amount
|
|
132
|
+
|
|
133
|
+
// FIXME: Missing documentation for gasPrice
|
|
134
|
+
gasPrice: Amount
|
|
135
|
+
|
|
136
|
+
// FIXME: Missing documentation for nonce
|
|
137
|
+
nonce?: string
|
|
138
|
+
|
|
139
|
+
// FIXME: Missing documentation for value
|
|
140
|
+
value?: string
|
|
141
|
+
|
|
142
|
+
// FIXME: Missing documentation for data
|
|
143
|
+
data?: string
|
|
144
|
+
|
|
145
|
+
// FIXME: Missing documentation for publicKeyId
|
|
146
|
+
publicKeyId?: string
|
|
147
|
+
|
|
148
|
+
// FIXME: Missing documentation for network
|
|
149
|
+
network: BlockchainNetwork
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* the maximum amount of gas to be included as a tip to the miner
|
|
153
|
+
*/
|
|
154
|
+
maxPriorityFeePerGas?: Amount
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* the maximum amount of gas willing to be paid for the transaction (inclusive of baseFeePerGas and maxPriorityFeePerGas)
|
|
158
|
+
*/
|
|
159
|
+
maxFeePerGas?: Amount
|
|
160
|
+
|
|
161
|
+
// FIXME: Missing documentation for typedData
|
|
162
|
+
typedData?: Eip712TypedData
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
// FIXME: Missing documentation for CosmosIbcTransferTx
|
|
166
|
+
export type CosmosIbcTransferTx = {
|
|
167
|
+
// FIXME: Missing documentation for templateKind
|
|
168
|
+
templateKind: TransactionTemplateKind.CosmosIbcTransfer
|
|
169
|
+
|
|
170
|
+
// FIXME: Missing documentation for sourcePort
|
|
171
|
+
sourcePort: string
|
|
172
|
+
|
|
173
|
+
// FIXME: Missing documentation for sourceChannel
|
|
174
|
+
sourceChannel: string
|
|
175
|
+
|
|
176
|
+
// FIXME: Missing documentation for token
|
|
177
|
+
token: CosmosDenomAmount
|
|
178
|
+
|
|
179
|
+
// FIXME: Missing documentation for sender
|
|
180
|
+
sender: string
|
|
181
|
+
|
|
182
|
+
// FIXME: Missing documentation for receiver
|
|
183
|
+
receiver: string
|
|
184
|
+
|
|
185
|
+
// FIXME: Missing documentation for timeoutHeight
|
|
186
|
+
timeoutHeight: CosmosTimeoutHeight
|
|
187
|
+
|
|
188
|
+
// FIXME: Missing documentation for timeoutTimestamp
|
|
189
|
+
timeoutTimestamp: string
|
|
190
|
+
|
|
191
|
+
// FIXME: Missing documentation for publicKeyId
|
|
192
|
+
publicKeyId?: string
|
|
193
|
+
|
|
194
|
+
// FIXME: Missing documentation for network
|
|
195
|
+
network: BlockchainNetwork
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
// FIXME: Missing documentation for Eip712TypedData
|
|
199
|
+
export type Eip712TypedData = {
|
|
200
|
+
// FIXME: Missing documentation for types
|
|
201
|
+
types: Record<string, unknown>
|
|
202
|
+
|
|
203
|
+
// FIXME: Missing documentation for values
|
|
204
|
+
values: Record<string, unknown>
|
|
205
|
+
|
|
206
|
+
// FIXME: Missing documentation for domain
|
|
207
|
+
domain?: Eip712TypedDataDomain
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
// FIXME: Missing documentation for Eip712TypedDataDomain
|
|
211
|
+
export type Eip712TypedDataDomain = {
|
|
212
|
+
// FIXME: Missing documentation for name
|
|
213
|
+
name?: string
|
|
214
|
+
|
|
215
|
+
// FIXME: Missing documentation for chainId
|
|
216
|
+
chainId?: string
|
|
217
|
+
|
|
218
|
+
// FIXME: Missing documentation for version
|
|
219
|
+
version?: string
|
|
220
|
+
|
|
221
|
+
// FIXME: Missing documentation for verifyingContract
|
|
222
|
+
verifyingContract?: string
|
|
223
|
+
|
|
224
|
+
// FIXME: Missing documentation for salt
|
|
225
|
+
salt?: string
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
// FIXME: Missing documentation for SolanaTxInstruction
|
|
229
|
+
export type SolanaTxInstruction = {
|
|
230
|
+
// FIXME: Missing documentation for data
|
|
231
|
+
data: string
|
|
232
|
+
|
|
233
|
+
// FIXME: Missing documentation for programId
|
|
234
|
+
programId: string
|
|
235
|
+
|
|
236
|
+
// FIXME: Missing documentation for keys
|
|
237
|
+
keys: SolanaTxAccountMeta[]
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
// FIXME: Missing documentation for SolanaTx
|
|
241
|
+
export type SolanaTx = {
|
|
242
|
+
// FIXME: Missing documentation for feePayer
|
|
243
|
+
feePayer?: string
|
|
244
|
+
|
|
245
|
+
// FIXME: Missing documentation for blockhash
|
|
246
|
+
blockhash?: string
|
|
247
|
+
|
|
248
|
+
// FIXME: Missing documentation for lastValidBlockHeight
|
|
249
|
+
lastValidBlockHeight?: IntegerPositiveStrict
|
|
250
|
+
|
|
251
|
+
// FIXME: Missing documentation for minNonceContextSlot
|
|
252
|
+
minNonceContextSlot?: IntegerPositiveStrict
|
|
253
|
+
|
|
254
|
+
// FIXME: Missing documentation for instructions
|
|
255
|
+
instructions: SolanaTxInstruction[]
|
|
256
|
+
|
|
257
|
+
// FIXME: Missing documentation for signatures
|
|
258
|
+
signatures?: SolanaTxSignature[]
|
|
259
|
+
|
|
260
|
+
// FIXME: Missing documentation for templateKind
|
|
261
|
+
templateKind: TransactionTemplateKind.SolanaTx
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
// FIXME: Missing documentation for SolanaTxSignature
|
|
265
|
+
export type SolanaTxSignature = {
|
|
266
|
+
// FIXME: Missing documentation for signature
|
|
267
|
+
signature: string
|
|
268
|
+
|
|
269
|
+
// FIXME: Missing documentation for publicKey
|
|
270
|
+
publicKey: string
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
// FIXME: Missing documentation for SolanaTxAccountMeta
|
|
274
|
+
export type SolanaTxAccountMeta = {
|
|
275
|
+
// FIXME: Missing documentation for pubkey
|
|
276
|
+
pubkey: string
|
|
277
|
+
|
|
278
|
+
// FIXME: Missing documentation for isSigner
|
|
279
|
+
isSigner: boolean
|
|
280
|
+
|
|
281
|
+
// FIXME: Missing documentation for isWritable
|
|
282
|
+
isWritable: boolean
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
// FIXME: Missing documentation for TronTx
|
|
286
|
+
export type TronTx = {
|
|
287
|
+
// FIXME: Missing documentation for visible
|
|
288
|
+
visible?: boolean
|
|
289
|
+
|
|
290
|
+
// FIXME: Missing documentation for txID
|
|
291
|
+
txID?: string
|
|
292
|
+
|
|
293
|
+
// FIXME: Missing documentation for contract_address
|
|
294
|
+
contract_address?: string
|
|
295
|
+
|
|
296
|
+
// FIXME: Missing documentation for raw_data_hex
|
|
297
|
+
raw_data_hex?: string
|
|
298
|
+
|
|
299
|
+
// FIXME: Missing documentation for raw_data
|
|
300
|
+
raw_data: Record<string, unknown>
|
|
301
|
+
|
|
302
|
+
// FIXME: Missing documentation for templateKind
|
|
303
|
+
templateKind: TransactionTemplateKind.TronTx
|
|
304
|
+
}
|
|
305
|
+
|
|
306
|
+
// FIXME: Missing documentation for TezosTx
|
|
307
|
+
export type TezosTx = {
|
|
308
|
+
// FIXME: Missing documentation for protocol
|
|
309
|
+
protocol?: string
|
|
310
|
+
|
|
311
|
+
// FIXME: Missing documentation for chain
|
|
312
|
+
chain?: string
|
|
313
|
+
|
|
314
|
+
// FIXME: Missing documentation for block
|
|
315
|
+
block?: string
|
|
316
|
+
|
|
317
|
+
// FIXME: Missing documentation for payload
|
|
318
|
+
payload: TezosTxPayload
|
|
319
|
+
|
|
320
|
+
// FIXME: Missing documentation for templateKind
|
|
321
|
+
templateKind: TransactionTemplateKind.TezosTx
|
|
322
|
+
}
|
|
323
|
+
|
|
324
|
+
// FIXME: Missing documentation for TezosTxPayload
|
|
325
|
+
export type TezosTxPayload = {
|
|
326
|
+
// FIXME: Missing documentation for branch
|
|
327
|
+
branch?: string
|
|
328
|
+
|
|
329
|
+
// FIXME: Missing documentation for contents
|
|
330
|
+
contents: Record<string, unknown>[]
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
// FIXME: Missing documentation for BroadcastedTransaction
|
|
334
|
+
export type BroadcastedTransaction = {
|
|
335
|
+
// FIXME: Missing documentation for id
|
|
336
|
+
id: EntityId
|
|
337
|
+
|
|
338
|
+
// FIXME: Missing documentation for transaction
|
|
339
|
+
transaction: TransactionPayload
|
|
340
|
+
|
|
341
|
+
// FIXME: Missing documentation for snapshot
|
|
342
|
+
snapshot: DocumentSnapshot
|
|
343
|
+
|
|
344
|
+
// FIXME: Missing documentation for network
|
|
345
|
+
network: BlockchainNetwork
|
|
346
|
+
|
|
347
|
+
// FIXME: Missing documentation for dateCreated
|
|
348
|
+
dateCreated: IsoDatetime
|
|
349
|
+
|
|
350
|
+
// FIXME: Missing documentation for dateUpdated
|
|
351
|
+
dateUpdated: IsoDatetime
|
|
352
|
+
|
|
353
|
+
// FIXME: Missing documentation for status
|
|
354
|
+
status: TransactionStatus
|
|
355
|
+
|
|
356
|
+
// FIXME: Missing documentation for txHash
|
|
357
|
+
txHash?: string
|
|
358
|
+
|
|
359
|
+
// FIXME: Missing documentation for networkResponse
|
|
360
|
+
networkResponse?: string
|
|
361
|
+
|
|
362
|
+
// FIXME: Missing documentation for dateBroadcasted
|
|
363
|
+
dateBroadcasted?: IsoDatetime
|
|
364
|
+
|
|
365
|
+
// FIXME: Missing documentation for dateConfirmed
|
|
366
|
+
dateConfirmed?: IsoDatetime
|
|
367
|
+
|
|
368
|
+
// FIXME: Missing documentation for initiator
|
|
369
|
+
initiator: Initiator
|
|
370
|
+
|
|
371
|
+
// FIXME: Missing documentation for publicKeyId
|
|
372
|
+
publicKeyId: string
|
|
373
|
+
|
|
374
|
+
// FIXME: Missing documentation for orgId
|
|
375
|
+
orgId: EntityId
|
|
376
|
+
|
|
377
|
+
// FIXME: Missing documentation for fee
|
|
378
|
+
fee?: Amount
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
// FIXME: Missing documentation for GetPublicKeyResponse
|
|
382
|
+
export type GetPublicKeyResponse = {
|
|
383
|
+
// FIXME: Missing documentation for id
|
|
384
|
+
id: EntityId
|
|
385
|
+
|
|
386
|
+
// FIXME: Missing documentation for externalId
|
|
387
|
+
externalId?: string
|
|
388
|
+
|
|
389
|
+
// FIXME: Missing documentation for publicKey
|
|
390
|
+
publicKey: PublicKey
|
|
391
|
+
|
|
392
|
+
// FIXME: Missing documentation for groupThreshold
|
|
393
|
+
groupThreshold: number
|
|
394
|
+
|
|
395
|
+
// FIXME: Missing documentation for groupSize
|
|
396
|
+
groupSize: number
|
|
397
|
+
|
|
398
|
+
// FIXME: Missing documentation for tags
|
|
399
|
+
tags?: Tag[]
|
|
400
|
+
|
|
401
|
+
// FIXME: Missing documentation for isEddsa
|
|
402
|
+
isEddsa: boolean
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
// FIXME: Missing documentation for StartWalletConnectSessionOutput
|
|
406
|
+
export type StartWalletConnectSessionOutput = {
|
|
407
|
+
// FIXME: Missing documentation for session
|
|
408
|
+
session: WalletConnectSession
|
|
409
|
+
}
|
|
410
|
+
|
|
411
|
+
// FIXME: Missing documentation for WalletConnectClientMeta
|
|
412
|
+
export type WalletConnectClientMeta = {
|
|
413
|
+
// FIXME: Missing documentation for name
|
|
414
|
+
name: string
|
|
415
|
+
|
|
416
|
+
// FIXME: Missing documentation for description
|
|
417
|
+
description: string
|
|
418
|
+
|
|
419
|
+
// FIXME: Missing documentation for icons
|
|
420
|
+
icons: string[]
|
|
421
|
+
}
|
|
422
|
+
|
|
423
|
+
// FIXME: Missing documentation for WalletConnectSession
|
|
424
|
+
export type WalletConnectSession = {
|
|
425
|
+
// FIXME: Missing documentation for accounts
|
|
426
|
+
accounts: string[]
|
|
427
|
+
|
|
428
|
+
// FIXME: Missing documentation for chainId
|
|
429
|
+
chainId: IntegerPositiveStrict
|
|
430
|
+
|
|
431
|
+
// FIXME: Missing documentation for bridge
|
|
432
|
+
bridge: string
|
|
433
|
+
|
|
434
|
+
// FIXME: Missing documentation for key
|
|
435
|
+
key: string
|
|
436
|
+
|
|
437
|
+
// FIXME: Missing documentation for clientId
|
|
438
|
+
clientId: string
|
|
439
|
+
|
|
440
|
+
// FIXME: Missing documentation for clientMeta
|
|
441
|
+
clientMeta?: WalletConnectClientMeta
|
|
442
|
+
|
|
443
|
+
// FIXME: Missing documentation for peerId
|
|
444
|
+
peerId: string
|
|
445
|
+
|
|
446
|
+
// FIXME: Missing documentation for peerMeta
|
|
447
|
+
peerMeta?: WalletConnectClientMeta
|
|
448
|
+
|
|
449
|
+
// FIXME: Missing documentation for handshakeId
|
|
450
|
+
handshakeId: IntegerPositiveStrict
|
|
451
|
+
|
|
452
|
+
// FIXME: Missing documentation for handshakeTopic
|
|
453
|
+
handshakeTopic: string
|
|
454
|
+
}
|
|
455
|
+
|
|
456
|
+
// FIXME: Missing documentation for CreateSignatureInput
|
|
457
|
+
export type CreateSignatureInput = {
|
|
458
|
+
// FIXME: Missing documentation for hash
|
|
459
|
+
hash: string
|
|
460
|
+
}
|
|
461
|
+
|
|
462
|
+
// FIXME: Missing documentation for CreatePublicKeyInput
|
|
463
|
+
export type CreatePublicKeyInput = {
|
|
464
|
+
// FIXME: Missing documentation for externalId
|
|
465
|
+
externalId?: string
|
|
466
|
+
|
|
467
|
+
// FIXME: Missing documentation for assetAccountId
|
|
468
|
+
assetAccountId?: EntityId
|
|
469
|
+
|
|
470
|
+
// FIXME: Missing documentation for groupSize
|
|
471
|
+
groupSize?: number
|
|
472
|
+
|
|
473
|
+
// FIXME: Missing documentation for groupThreshold
|
|
474
|
+
groupThreshold?: number
|
|
475
|
+
|
|
476
|
+
// FIXME: Missing documentation for isEddsa
|
|
477
|
+
isEddsa: boolean
|
|
478
|
+
|
|
479
|
+
// FIXME: Missing documentation for tags
|
|
480
|
+
tags?: Tag[]
|
|
481
|
+
}
|
|
482
|
+
|
|
483
|
+
// FIXME: Missing documentation for CreateWalletTxInput
|
|
484
|
+
export type CreateWalletTxInput = {
|
|
485
|
+
// FIXME: Missing documentation for to
|
|
486
|
+
to: BlockchainAddress
|
|
487
|
+
|
|
488
|
+
// FIXME: Missing documentation for amount
|
|
489
|
+
amount: Amount
|
|
490
|
+
|
|
491
|
+
// FIXME: Missing documentation for asset
|
|
492
|
+
asset: string
|
|
493
|
+
}
|
|
494
|
+
|
|
495
|
+
// FIXME: Missing documentation for StartWalletConnectSessionInput
|
|
496
|
+
export type StartWalletConnectSessionInput = {
|
|
497
|
+
// FIXME: Missing documentation for wcUri
|
|
498
|
+
wcUri: string
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
// FIXME: Missing documentation for TransactionPayload
|
|
502
|
+
export type TransactionPayload = EvmGenericTx | SolanaTx
|
|
503
|
+
|
|
504
|
+
// FIXME: Missing documentation for PublicKeyStatus
|
|
505
|
+
export enum PublicKeyStatus {
|
|
506
|
+
// FIXME: Missing documentation for Active
|
|
507
|
+
Active = 'Active',
|
|
508
|
+
// FIXME: Missing documentation for Disabled
|
|
509
|
+
Disabled = 'Disabled',
|
|
510
|
+
// FIXME: Missing documentation for Compromised
|
|
511
|
+
Compromised = 'Compromised',
|
|
512
|
+
}
|
|
513
|
+
|
|
514
|
+
// FIXME: Missing documentation for SignatureStatus
|
|
515
|
+
export enum SignatureStatus {
|
|
516
|
+
// FIXME: Missing documentation for Pending
|
|
517
|
+
Pending = 'Pending',
|
|
518
|
+
// FIXME: Missing documentation for Executed
|
|
519
|
+
Executed = 'Executed',
|
|
520
|
+
// FIXME: Missing documentation for Rejected
|
|
521
|
+
Rejected = 'Rejected',
|
|
522
|
+
// FIXME: Missing documentation for Failed
|
|
523
|
+
Failed = 'Failed',
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
// FIXME: Missing documentation for TransactionTemplateKind
|
|
527
|
+
export enum TransactionTemplateKind {
|
|
528
|
+
// FIXME: Missing documentation for EvmGenericTx
|
|
529
|
+
EvmGenericTx = 'EvmGenericTx',
|
|
530
|
+
// FIXME: Missing documentation for CosmosIbcTransfer
|
|
531
|
+
CosmosIbcTransfer = 'CosmosIbcTransfer',
|
|
532
|
+
// FIXME: Missing documentation for SolanaTx
|
|
533
|
+
SolanaTx = 'SolanaTx',
|
|
534
|
+
// FIXME: Missing documentation for TronTx
|
|
535
|
+
TronTx = 'TronTx',
|
|
536
|
+
// FIXME: Missing documentation for TezosTx
|
|
537
|
+
TezosTx = 'TezosTx',
|
|
538
|
+
}
|
|
539
|
+
|
|
540
|
+
// FIXME: Missing documentation for TransactionStatus
|
|
541
|
+
export enum TransactionStatus {
|
|
542
|
+
// FIXME: Missing documentation for Initiated
|
|
543
|
+
Initiated = 'Initiated',
|
|
544
|
+
// FIXME: Missing documentation for PolicyAccepted
|
|
545
|
+
PolicyAccepted = 'PolicyAccepted',
|
|
546
|
+
// FIXME: Missing documentation for PolicyRejected
|
|
547
|
+
PolicyRejected = 'PolicyRejected',
|
|
548
|
+
// FIXME: Missing documentation for BroadcastPending
|
|
549
|
+
BroadcastPending = 'BroadcastPending',
|
|
550
|
+
// FIXME: Missing documentation for BroadcastRejected
|
|
551
|
+
BroadcastRejected = 'BroadcastRejected',
|
|
552
|
+
// FIXME: Missing documentation for Broadcasted
|
|
553
|
+
Broadcasted = 'Broadcasted',
|
|
554
|
+
// FIXME: Missing documentation for Confirmed
|
|
555
|
+
Confirmed = 'Confirmed',
|
|
556
|
+
// FIXME: Missing documentation for Failed
|
|
557
|
+
Failed = 'Failed',
|
|
558
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import {
|
|
2
|
+
BadRequestError,
|
|
3
|
+
ForbiddenError,
|
|
4
|
+
UnauthorizedError,
|
|
5
|
+
} from '../Foundations'
|
|
6
|
+
import { ClusterList } from './types'
|
|
7
|
+
|
|
8
|
+
// Response for ListSigners
|
|
9
|
+
|
|
10
|
+
export type ListSignersSuccess = ClusterList
|
|
11
|
+
|
|
12
|
+
export type ListSignersError = {
|
|
13
|
+
error: ForbiddenError | UnauthorizedError | BadRequestError
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
export type ListSignersResponse = ListSignersSuccess | ListSignersError
|
|
17
|
+
|
|
18
|
+
// Response for GetLatestClusterHealth
|
|
19
|
+
|
|
20
|
+
export type GetLatestClusterHealthSuccess = String
|
|
21
|
+
|
|
22
|
+
export type GetLatestClusterHealthError = {
|
|
23
|
+
error: ForbiddenError
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
export type GetLatestClusterHealthResponse =
|
|
27
|
+
| GetLatestClusterHealthSuccess
|
|
28
|
+
| GetLatestClusterHealthError
|
|
29
|
+
|
|
30
|
+
// Response for ListClustersHealth
|
|
31
|
+
|
|
32
|
+
export type ListClustersHealthSuccess = String
|
|
33
|
+
|
|
34
|
+
export type ListClustersHealthError = {
|
|
35
|
+
error: ForbiddenError
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
export type ListClustersHealthResponse =
|
|
39
|
+
| ListClustersHealthSuccess
|
|
40
|
+
| ListClustersHealthError
|
|
41
|
+
|
|
42
|
+
// Response for SetKeyMaxPresigs
|
|
43
|
+
|
|
44
|
+
export type SetKeyMaxPresigsSuccess = String
|
|
45
|
+
|
|
46
|
+
export type SetKeyMaxPresigsError = {
|
|
47
|
+
error: ForbiddenError
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
export type SetKeyMaxPresigsResponse =
|
|
51
|
+
| SetKeyMaxPresigsSuccess
|
|
52
|
+
| SetKeyMaxPresigsError
|
|
53
|
+
|
|
54
|
+
// Response for TriggerClusterProvisioning
|
|
55
|
+
|
|
56
|
+
export type TriggerClusterProvisioningSuccess = String
|
|
57
|
+
|
|
58
|
+
export type TriggerClusterProvisioningError = {
|
|
59
|
+
error: ForbiddenError
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
export type TriggerClusterProvisioningResponse =
|
|
63
|
+
| TriggerClusterProvisioningSuccess
|
|
64
|
+
| TriggerClusterProvisioningError
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { EntityId } from '../Foundations'
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/signers' instead
|
|
5
|
+
*/
|
|
6
|
+
export type Cluster = {
|
|
7
|
+
// FIXME: Missing documentation for clusterId
|
|
8
|
+
clusterId: EntityId
|
|
9
|
+
|
|
10
|
+
// FIXME: Missing documentation for signers
|
|
11
|
+
signers: Signer[]
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/signers' instead
|
|
16
|
+
*/
|
|
17
|
+
export type Signer = {
|
|
18
|
+
// FIXME: Missing documentation for signerId
|
|
19
|
+
signerId: string
|
|
20
|
+
|
|
21
|
+
// FIXME: Missing documentation for encryptionKey
|
|
22
|
+
encryptionKey: string
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* @deprecated import equivalent type from '@dfns/sdk/types/signers' instead
|
|
27
|
+
*/
|
|
28
|
+
export type ClusterList = {
|
|
29
|
+
// FIXME: Missing documentation for clusters
|
|
30
|
+
clusters: Cluster[]
|
|
31
|
+
}
|
|
File without changes
|