@dfns/sdk 0.2.3-rc.1 → 0.2.3

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.
Files changed (377) hide show
  1. package/baseAuthApi.d.ts +113 -0
  2. package/baseAuthApi.js +97 -0
  3. package/codegen/Assets/AssetsClient.d.ts +13 -0
  4. package/codegen/Assets/AssetsClient.js +93 -0
  5. package/codegen/Assets/DelegatedAssetsClient.d.ts +16 -0
  6. package/codegen/Assets/DelegatedAssetsClient.js +124 -0
  7. package/codegen/Assets/index.d.ts +3 -0
  8. package/codegen/Assets/index.js +19 -0
  9. package/codegen/Assets/types.d.ts +37 -0
  10. package/codegen/Assets/types.js +2 -0
  11. package/codegen/Auth/AuthClient.d.ts +50 -0
  12. package/codegen/Auth/AuthClient.js +518 -0
  13. package/codegen/Auth/DelegatedAuthClient.d.ts +78 -0
  14. package/codegen/Auth/DelegatedAuthClient.js +936 -0
  15. package/codegen/Auth/index.d.ts +3 -0
  16. package/codegen/Auth/index.js +19 -0
  17. package/codegen/Auth/types.d.ts +177 -0
  18. package/codegen/Auth/types.js +2 -0
  19. package/codegen/Blockchains/BlockchainsClient.d.ts +7 -0
  20. package/codegen/Blockchains/BlockchainsClient.js +23 -0
  21. package/codegen/Blockchains/DelegatedBlockchainsClient.d.ts +7 -0
  22. package/codegen/Blockchains/DelegatedBlockchainsClient.js +23 -0
  23. package/codegen/Blockchains/index.d.ts +3 -0
  24. package/codegen/Blockchains/index.js +19 -0
  25. package/codegen/Blockchains/types.d.ts +6 -0
  26. package/codegen/Blockchains/types.js +2 -0
  27. package/codegen/Callbacks/CallbacksClient.d.ts +12 -0
  28. package/codegen/Callbacks/CallbacksClient.js +78 -0
  29. package/codegen/Callbacks/DelegatedCallbacksClient.d.ts +15 -0
  30. package/codegen/Callbacks/DelegatedCallbacksClient.js +110 -0
  31. package/codegen/Callbacks/index.d.ts +3 -0
  32. package/codegen/Callbacks/index.js +19 -0
  33. package/codegen/Callbacks/{types.ts → types.d.ts} +18 -26
  34. package/codegen/Callbacks/types.js +2 -0
  35. package/codegen/Permissions/DelegatedPermissionsClient.d.ts +27 -0
  36. package/codegen/Permissions/DelegatedPermissionsClient.js +284 -0
  37. package/codegen/Permissions/PermissionsClient.d.ts +18 -0
  38. package/codegen/Permissions/PermissionsClient.js +156 -0
  39. package/codegen/Permissions/index.d.ts +3 -0
  40. package/codegen/Permissions/index.js +19 -0
  41. package/codegen/Permissions/types.d.ts +62 -0
  42. package/codegen/Permissions/types.js +2 -0
  43. package/codegen/PolicyExecution/DelegatedPolicyExecutionClient.d.ts +11 -0
  44. package/codegen/PolicyExecution/DelegatedPolicyExecutionClient.js +61 -0
  45. package/codegen/PolicyExecution/PolicyExecutionClient.d.ts +9 -0
  46. package/codegen/PolicyExecution/PolicyExecutionClient.js +45 -0
  47. package/codegen/PolicyExecution/index.d.ts +3 -0
  48. package/codegen/PolicyExecution/index.js +19 -0
  49. package/codegen/PolicyExecution/types.d.ts +18 -0
  50. package/codegen/PolicyExecution/types.js +2 -0
  51. package/codegen/PolicyManagement/DelegatedPolicyManagementClient.d.ts +25 -0
  52. package/codegen/PolicyManagement/DelegatedPolicyManagementClient.js +240 -0
  53. package/codegen/PolicyManagement/PolicyManagementClient.d.ts +18 -0
  54. package/codegen/PolicyManagement/PolicyManagementClient.js +146 -0
  55. package/codegen/PolicyManagement/index.d.ts +3 -0
  56. package/codegen/PolicyManagement/index.js +19 -0
  57. package/codegen/PolicyManagement/{types.ts → types.d.ts} +40 -56
  58. package/codegen/PolicyManagement/types.js +2 -0
  59. package/codegen/PublicKeys/DelegatedPublicKeysClient.d.ts +21 -0
  60. package/codegen/PublicKeys/DelegatedPublicKeysClient.js +189 -0
  61. package/codegen/PublicKeys/PublicKeysClient.d.ts +16 -0
  62. package/codegen/PublicKeys/PublicKeysClient.js +128 -0
  63. package/codegen/PublicKeys/index.d.ts +3 -0
  64. package/codegen/PublicKeys/index.js +19 -0
  65. package/codegen/PublicKeys/types.d.ts +51 -0
  66. package/codegen/PublicKeys/types.js +2 -0
  67. package/codegen/Signers/DelegatedSignersClient.d.ts +7 -0
  68. package/codegen/Signers/DelegatedSignersClient.js +22 -0
  69. package/codegen/Signers/SignersClient.d.ts +7 -0
  70. package/codegen/Signers/SignersClient.js +22 -0
  71. package/codegen/Signers/index.d.ts +3 -0
  72. package/codegen/Signers/index.js +19 -0
  73. package/codegen/Signers/types.d.ts +2 -0
  74. package/codegen/Signers/types.js +2 -0
  75. package/codegen/Wallets/DelegatedWalletsClient.d.ts +32 -0
  76. package/codegen/Wallets/DelegatedWalletsClient.js +325 -0
  77. package/codegen/Wallets/WalletsClient.d.ts +24 -0
  78. package/codegen/Wallets/WalletsClient.js +219 -0
  79. package/codegen/Wallets/index.d.ts +3 -0
  80. package/codegen/Wallets/index.js +19 -0
  81. package/codegen/Wallets/types.d.ts +101 -0
  82. package/codegen/Wallets/types.js +2 -0
  83. package/codegen/datamodel/ApiKeys/errors.d.ts +6 -0
  84. package/codegen/datamodel/ApiKeys/errors.js +15 -0
  85. package/codegen/datamodel/ApiKeys/index.d.ts +3 -0
  86. package/codegen/datamodel/ApiKeys/index.js +19 -0
  87. package/codegen/datamodel/ApiKeys/responses.d.ts +25 -0
  88. package/codegen/datamodel/ApiKeys/responses.js +2 -0
  89. package/codegen/datamodel/ApiKeys/types.d.ts +32 -0
  90. package/codegen/datamodel/ApiKeys/types.js +11 -0
  91. package/codegen/datamodel/Assets/errors.d.ts +11 -0
  92. package/codegen/datamodel/Assets/errors.js +17 -0
  93. package/codegen/datamodel/Assets/index.d.ts +3 -0
  94. package/codegen/datamodel/Assets/index.js +19 -0
  95. package/codegen/datamodel/Assets/responses.d.ts +47 -0
  96. package/codegen/datamodel/Assets/responses.js +2 -0
  97. package/codegen/datamodel/Assets/types.d.ts +225 -0
  98. package/codegen/datamodel/Assets/types.js +75 -0
  99. package/codegen/datamodel/Auth/errors.js +1 -0
  100. package/codegen/datamodel/Auth/index.d.ts +2 -0
  101. package/codegen/datamodel/Auth/index.js +18 -0
  102. package/codegen/datamodel/Auth/responses.d.ts +358 -0
  103. package/codegen/datamodel/Auth/responses.js +2 -0
  104. package/codegen/datamodel/Auth/types.d.ts +615 -0
  105. package/codegen/datamodel/Auth/types.js +127 -0
  106. package/codegen/datamodel/BlockchainIndexing/errors.js +1 -0
  107. package/codegen/datamodel/BlockchainIndexing/index.d.ts +1 -0
  108. package/codegen/datamodel/BlockchainIndexing/index.js +17 -0
  109. package/codegen/datamodel/BlockchainIndexing/{responses.ts → responses.d.ts} +5 -10
  110. package/codegen/datamodel/BlockchainIndexing/responses.js +2 -0
  111. package/codegen/datamodel/BlockchainIndexing/types.js +1 -0
  112. package/codegen/datamodel/Blockchains/errors.js +1 -0
  113. package/codegen/datamodel/Blockchains/index.d.ts +2 -0
  114. package/codegen/datamodel/Blockchains/index.js +18 -0
  115. package/codegen/datamodel/Blockchains/responses.d.ts +12 -0
  116. package/codegen/datamodel/Blockchains/responses.js +2 -0
  117. package/codegen/datamodel/Blockchains/types.d.ts +270 -0
  118. package/codegen/datamodel/Blockchains/types.js +53 -0
  119. package/codegen/datamodel/Callbacks/errors.js +1 -0
  120. package/codegen/datamodel/Callbacks/index.d.ts +2 -0
  121. package/codegen/datamodel/Callbacks/index.js +18 -0
  122. package/codegen/datamodel/Callbacks/responses.d.ts +36 -0
  123. package/codegen/datamodel/Callbacks/responses.js +2 -0
  124. package/codegen/datamodel/Callbacks/types.d.ts +43 -0
  125. package/codegen/datamodel/Callbacks/types.js +39 -0
  126. package/codegen/datamodel/Foundations/errors.d.ts +131 -0
  127. package/codegen/datamodel/Foundations/errors.js +182 -0
  128. package/codegen/datamodel/Foundations/index.d.ts +2 -0
  129. package/codegen/datamodel/Foundations/index.js +18 -0
  130. package/codegen/datamodel/Foundations/responses.js +1 -0
  131. package/codegen/datamodel/Foundations/types.d.ts +9759 -0
  132. package/codegen/datamodel/Foundations/types.js +57755 -0
  133. package/codegen/datamodel/Orgs/errors.js +1 -0
  134. package/codegen/datamodel/Orgs/index.d.ts +2 -0
  135. package/codegen/datamodel/Orgs/index.js +18 -0
  136. package/codegen/datamodel/Orgs/responses.d.ts +45 -0
  137. package/codegen/datamodel/Orgs/responses.js +2 -0
  138. package/codegen/datamodel/Orgs/types.d.ts +240 -0
  139. package/codegen/datamodel/Orgs/types.js +39 -0
  140. package/codegen/datamodel/Permissions/errors.js +1 -0
  141. package/codegen/datamodel/Permissions/index.d.ts +2 -0
  142. package/codegen/datamodel/Permissions/index.js +18 -0
  143. package/codegen/datamodel/Permissions/responses.d.ts +75 -0
  144. package/codegen/datamodel/Permissions/responses.js +2 -0
  145. package/codegen/datamodel/Permissions/types.d.ts +93 -0
  146. package/codegen/datamodel/Permissions/types.js +43 -0
  147. package/codegen/datamodel/PolicyExecution/errors.d.ts +11 -0
  148. package/codegen/datamodel/PolicyExecution/errors.js +17 -0
  149. package/codegen/datamodel/PolicyExecution/index.d.ts +3 -0
  150. package/codegen/datamodel/PolicyExecution/index.js +19 -0
  151. package/codegen/datamodel/PolicyExecution/responses.d.ts +19 -0
  152. package/codegen/datamodel/PolicyExecution/responses.js +2 -0
  153. package/codegen/datamodel/PolicyExecution/types.d.ts +60 -0
  154. package/codegen/datamodel/PolicyExecution/types.js +17 -0
  155. package/codegen/datamodel/PolicyManagement/errors.js +1 -0
  156. package/codegen/datamodel/PolicyManagement/index.d.ts +2 -0
  157. package/codegen/datamodel/PolicyManagement/index.js +18 -0
  158. package/codegen/datamodel/PolicyManagement/responses.d.ts +83 -0
  159. package/codegen/datamodel/PolicyManagement/responses.js +2 -0
  160. package/codegen/datamodel/PolicyManagement/types.d.ts +391 -0
  161. package/codegen/datamodel/PolicyManagement/types.js +95 -0
  162. package/codegen/datamodel/PublicKeys/errors.js +1 -0
  163. package/codegen/datamodel/PublicKeys/index.d.ts +2 -0
  164. package/codegen/datamodel/PublicKeys/index.js +18 -0
  165. package/codegen/datamodel/PublicKeys/responses.d.ts +56 -0
  166. package/codegen/datamodel/PublicKeys/responses.js +2 -0
  167. package/codegen/datamodel/PublicKeys/types.d.ts +223 -0
  168. package/codegen/datamodel/PublicKeys/types.js +59 -0
  169. package/codegen/datamodel/Signers/errors.js +1 -0
  170. package/codegen/datamodel/Signers/index.d.ts +2 -0
  171. package/codegen/datamodel/Signers/index.js +18 -0
  172. package/codegen/datamodel/Signers/responses.d.ts +27 -0
  173. package/codegen/datamodel/Signers/responses.js +2 -0
  174. package/codegen/datamodel/Signers/types.d.ts +21 -0
  175. package/codegen/datamodel/Signers/types.js +2 -0
  176. package/codegen/datamodel/Wallets/errors.js +1 -0
  177. package/codegen/datamodel/Wallets/index.d.ts +2 -0
  178. package/codegen/datamodel/Wallets/index.js +18 -0
  179. package/codegen/datamodel/Wallets/responses.d.ts +92 -0
  180. package/codegen/datamodel/Wallets/responses.js +2 -0
  181. package/codegen/datamodel/Wallets/types.d.ts +677 -0
  182. package/codegen/datamodel/Wallets/types.js +251 -0
  183. package/dfnsApiClient.d.ts +39 -0
  184. package/dfnsApiClient.js +63 -0
  185. package/dfnsAuthenticator.d.ts +17 -0
  186. package/dfnsAuthenticator.js +29 -0
  187. package/dfnsDelegatedApiClient.d.ts +38 -0
  188. package/dfnsDelegatedApiClient.js +63 -0
  189. package/dfnsError.d.ts +5 -0
  190. package/dfnsError.js +11 -0
  191. package/generated/policies/client.d.ts +13 -0
  192. package/generated/policies/client.js +92 -0
  193. package/generated/policies/delegatedClient.d.ts +18 -0
  194. package/generated/policies/delegatedClient.js +153 -0
  195. package/generated/policies/index.d.ts +3 -0
  196. package/generated/policies/index.js +19 -0
  197. package/generated/policies/{types.ts → types.d.ts} +17 -29
  198. package/generated/policies/types.js +2 -0
  199. package/generated/signers/client.d.ts +7 -0
  200. package/generated/signers/client.js +22 -0
  201. package/generated/signers/delegatedClient.d.ts +7 -0
  202. package/generated/signers/delegatedClient.js +22 -0
  203. package/generated/signers/index.d.ts +3 -0
  204. package/generated/signers/index.js +19 -0
  205. package/generated/signers/{types.ts → types.d.ts} +0 -1
  206. package/generated/signers/types.js +2 -0
  207. package/generated/wallets/client.d.ts +25 -0
  208. package/generated/wallets/client.js +228 -0
  209. package/generated/wallets/delegatedClient.d.ts +34 -0
  210. package/generated/wallets/delegatedClient.js +349 -0
  211. package/generated/wallets/index.d.ts +3 -0
  212. package/generated/wallets/index.js +19 -0
  213. package/generated/wallets/{types.ts → types.d.ts} +45 -86
  214. package/generated/wallets/types.js +2 -0
  215. package/generated/webhooks/client.d.ts +14 -0
  216. package/generated/webhooks/client.js +103 -0
  217. package/generated/webhooks/delegatedClient.d.ts +19 -0
  218. package/generated/webhooks/delegatedClient.js +164 -0
  219. package/generated/webhooks/index.d.ts +3 -0
  220. package/generated/webhooks/index.js +19 -0
  221. package/generated/webhooks/{types.ts → types.d.ts} +16 -34
  222. package/generated/webhooks/types.js +2 -0
  223. package/index.d.ts +7 -0
  224. package/index.js +23 -0
  225. package/package.json +8 -1
  226. package/signer.d.ts +52 -0
  227. package/signer.js +2 -0
  228. package/store.d.ts +79 -0
  229. package/store.js +2 -0
  230. package/types/policies.d.ts +1 -0
  231. package/types/policies.js +17 -0
  232. package/types/signers.d.ts +1 -0
  233. package/types/signers.js +17 -0
  234. package/types/wallets.d.ts +1 -0
  235. package/types/wallets.js +17 -0
  236. package/types/webhooks.d.ts +1 -0
  237. package/types/webhooks.js +17 -0
  238. package/utils/base64.d.ts +3 -0
  239. package/utils/base64.js +20 -0
  240. package/utils/fetch.d.ts +12 -0
  241. package/utils/fetch.js +94 -0
  242. package/utils/index.d.ts +4 -0
  243. package/utils/index.js +20 -0
  244. package/utils/nonce.d.ts +1 -0
  245. package/utils/nonce.js +12 -0
  246. package/utils/url.d.ts +4 -0
  247. package/utils/url.js +16 -0
  248. package/baseAuthApi.ts +0 -236
  249. package/codegen/Assets/AssetsClient.ts +0 -137
  250. package/codegen/Assets/DelegatedAssetsClient.ts +0 -201
  251. package/codegen/Assets/index.ts +0 -3
  252. package/codegen/Assets/types.ts +0 -45
  253. package/codegen/Auth/AuthClient.ts +0 -729
  254. package/codegen/Auth/DelegatedAuthClient.ts +0 -1508
  255. package/codegen/Auth/index.ts +0 -3
  256. package/codegen/Auth/types.ts +0 -262
  257. package/codegen/Blockchains/BlockchainsClient.ts +0 -25
  258. package/codegen/Blockchains/DelegatedBlockchainsClient.ts +0 -25
  259. package/codegen/Blockchains/index.ts +0 -3
  260. package/codegen/Blockchains/types.ts +0 -8
  261. package/codegen/Callbacks/CallbacksClient.ts +0 -107
  262. package/codegen/Callbacks/DelegatedCallbacksClient.ts +0 -172
  263. package/codegen/Callbacks/index.ts +0 -3
  264. package/codegen/Permissions/DelegatedPermissionsClient.ts +0 -468
  265. package/codegen/Permissions/PermissionsClient.ts +0 -223
  266. package/codegen/Permissions/index.ts +0 -3
  267. package/codegen/Permissions/types.ts +0 -82
  268. package/codegen/PolicyExecution/DelegatedPolicyExecutionClient.ts +0 -99
  269. package/codegen/PolicyExecution/PolicyExecutionClient.ts +0 -63
  270. package/codegen/PolicyExecution/index.ts +0 -3
  271. package/codegen/PolicyExecution/types.ts +0 -24
  272. package/codegen/PolicyManagement/DelegatedPolicyManagementClient.ts +0 -384
  273. package/codegen/PolicyManagement/PolicyManagementClient.ts +0 -205
  274. package/codegen/PolicyManagement/index.ts +0 -3
  275. package/codegen/PublicKeys/DelegatedPublicKeysClient.ts +0 -299
  276. package/codegen/PublicKeys/PublicKeysClient.ts +0 -179
  277. package/codegen/PublicKeys/index.ts +0 -3
  278. package/codegen/PublicKeys/types.ts +0 -68
  279. package/codegen/Signers/DelegatedSignersClient.ts +0 -22
  280. package/codegen/Signers/SignersClient.ts +0 -22
  281. package/codegen/Signers/index.ts +0 -3
  282. package/codegen/Signers/types.ts +0 -3
  283. package/codegen/Wallets/DelegatedWalletsClient.ts +0 -511
  284. package/codegen/Wallets/WalletsClient.ts +0 -310
  285. package/codegen/Wallets/index.ts +0 -3
  286. package/codegen/Wallets/types.ts +0 -137
  287. package/codegen/datamodel/ApiKeys/errors.ts +0 -9
  288. package/codegen/datamodel/ApiKeys/index.ts +0 -3
  289. package/codegen/datamodel/ApiKeys/responses.ts +0 -68
  290. package/codegen/datamodel/ApiKeys/types.ts +0 -81
  291. package/codegen/datamodel/Assets/errors.ts +0 -24
  292. package/codegen/datamodel/Assets/index.ts +0 -3
  293. package/codegen/datamodel/Assets/responses.ts +0 -146
  294. package/codegen/datamodel/Assets/types.ts +0 -417
  295. package/codegen/datamodel/Auth/index.ts +0 -2
  296. package/codegen/datamodel/Auth/responses.ts +0 -1110
  297. package/codegen/datamodel/Auth/types.ts +0 -1404
  298. package/codegen/datamodel/BlockchainIndexing/index.ts +0 -1
  299. package/codegen/datamodel/Blockchains/index.ts +0 -2
  300. package/codegen/datamodel/Blockchains/responses.ts +0 -41
  301. package/codegen/datamodel/Blockchains/types.ts +0 -695
  302. package/codegen/datamodel/Callbacks/index.ts +0 -2
  303. package/codegen/datamodel/Callbacks/responses.ts +0 -110
  304. package/codegen/datamodel/Callbacks/types.ts +0 -100
  305. package/codegen/datamodel/Foundations/errors.ts +0 -299
  306. package/codegen/datamodel/Foundations/index.ts +0 -2
  307. package/codegen/datamodel/Foundations/types.ts +0 -57921
  308. package/codegen/datamodel/Orgs/index.ts +0 -2
  309. package/codegen/datamodel/Orgs/responses.ts +0 -104
  310. package/codegen/datamodel/Orgs/types.ts +0 -322
  311. package/codegen/datamodel/Permissions/index.ts +0 -2
  312. package/codegen/datamodel/Permissions/responses.ts +0 -258
  313. package/codegen/datamodel/Permissions/types.ts +0 -221
  314. package/codegen/datamodel/PolicyExecution/errors.ts +0 -24
  315. package/codegen/datamodel/PolicyExecution/index.ts +0 -3
  316. package/codegen/datamodel/PolicyExecution/responses.ts +0 -59
  317. package/codegen/datamodel/PolicyExecution/types.ts +0 -122
  318. package/codegen/datamodel/PolicyManagement/index.ts +0 -2
  319. package/codegen/datamodel/PolicyManagement/responses.ts +0 -255
  320. package/codegen/datamodel/PolicyManagement/types.ts +0 -711
  321. package/codegen/datamodel/PublicKeys/index.ts +0 -2
  322. package/codegen/datamodel/PublicKeys/responses.ts +0 -190
  323. package/codegen/datamodel/PublicKeys/types.ts +0 -558
  324. package/codegen/datamodel/Signers/index.ts +0 -2
  325. package/codegen/datamodel/Signers/responses.ts +0 -64
  326. package/codegen/datamodel/Signers/types.ts +0 -31
  327. package/codegen/datamodel/Wallets/errors.ts +0 -0
  328. package/codegen/datamodel/Wallets/index.ts +0 -2
  329. package/codegen/datamodel/Wallets/responses.ts +0 -318
  330. package/codegen/datamodel/Wallets/types.ts +0 -1268
  331. package/dfnsApiClient.ts +0 -76
  332. package/dfnsAuthenticator.ts +0 -59
  333. package/dfnsDelegatedApiClient.ts +0 -75
  334. package/dfnsError.ts +0 -5
  335. package/generated/permissions/client.ts +0 -125
  336. package/generated/permissions/delegatedClient.ts +0 -266
  337. package/generated/permissions/index.ts +0 -3
  338. package/generated/permissions/types.ts +0 -202
  339. package/generated/policies/client.ts +0 -110
  340. package/generated/policies/delegatedClient.ts +0 -223
  341. package/generated/policies/index.ts +0 -3
  342. package/generated/signers/client.ts +0 -22
  343. package/generated/signers/delegatedClient.ts +0 -23
  344. package/generated/signers/index.ts +0 -3
  345. package/generated/wallets/client.ts +0 -282
  346. package/generated/wallets/delegatedClient.ts +0 -507
  347. package/generated/wallets/index.ts +0 -3
  348. package/generated/webhooks/client.ts +0 -124
  349. package/generated/webhooks/delegatedClient.ts +0 -237
  350. package/generated/webhooks/index.ts +0 -3
  351. package/index.ts +0 -7
  352. package/project.json +0 -14
  353. package/signer.ts +0 -60
  354. package/store.ts +0 -99
  355. package/tsconfig.json +0 -7
  356. package/typedoc.json +0 -21
  357. package/types/policies.ts +0 -1
  358. package/types/signers.ts +0 -1
  359. package/types/wallets.ts +0 -1
  360. package/types/webhooks.ts +0 -1
  361. package/utils/base64.ts +0 -19
  362. package/utils/fetch.ts +0 -130
  363. package/utils/index.ts +0 -4
  364. package/utils/nonce.ts +0 -12
  365. package/utils/url.ts +0 -19
  366. /package/{README.md → codegen/datamodel/Auth/errors.d.ts} +0 -0
  367. /package/codegen/datamodel/{Auth/errors.ts → BlockchainIndexing/errors.d.ts} +0 -0
  368. /package/codegen/datamodel/BlockchainIndexing/{errors.ts → types.d.ts} +0 -0
  369. /package/codegen/datamodel/{BlockchainIndexing/types.ts → Blockchains/errors.d.ts} +0 -0
  370. /package/codegen/datamodel/{Blockchains/errors.ts → Callbacks/errors.d.ts} +0 -0
  371. /package/codegen/datamodel/{Callbacks/errors.ts → Foundations/responses.d.ts} +0 -0
  372. /package/codegen/datamodel/{Foundations/responses.ts → Orgs/errors.d.ts} +0 -0
  373. /package/codegen/datamodel/{Orgs/errors.ts → Permissions/errors.d.ts} +0 -0
  374. /package/codegen/datamodel/{Permissions/errors.ts → PolicyManagement/errors.d.ts} +0 -0
  375. /package/codegen/datamodel/{PolicyManagement/errors.ts → PublicKeys/errors.d.ts} +0 -0
  376. /package/codegen/datamodel/{PublicKeys/errors.ts → Signers/errors.d.ts} +0 -0
  377. /package/codegen/datamodel/{Signers/errors.ts → Wallets/errors.d.ts} +0 -0
@@ -0,0 +1,677 @@
1
+ import { Amount, BlockchainAddress, EntityId, IntegerPositiveStrict, IsoDatetime, Tag } from '../Foundations';
2
+ /**
3
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
4
+ */
5
+ export type TransferNativeAsset = {
6
+ kind: TransferKind.Native;
7
+ to: BlockchainAddress;
8
+ amount: Amount;
9
+ };
10
+ /**
11
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
12
+ */
13
+ export type TransferErc20Asset = {
14
+ kind: TransferKind.Erc20;
15
+ contract: BlockchainAddress;
16
+ to: BlockchainAddress;
17
+ amount: Amount;
18
+ };
19
+ /**
20
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
21
+ */
22
+ export type TransferErc721Asset = {
23
+ kind: TransferKind.Erc721;
24
+ contract: BlockchainAddress;
25
+ to: BlockchainAddress;
26
+ tokenId: string;
27
+ };
28
+ /**
29
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
30
+ */
31
+ export type BroadcastTransaction = {
32
+ kind: TransactionKind.Transaction;
33
+ transaction: string;
34
+ };
35
+ /**
36
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
37
+ */
38
+ export type BroadcastEvmTransaction = {
39
+ kind: TransactionKind.Evm;
40
+ to?: BlockchainAddress;
41
+ value?: Amount;
42
+ data?: string;
43
+ nonce?: number;
44
+ };
45
+ /**
46
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
47
+ */
48
+ export type BroadcastEip1559Transaction = {
49
+ kind: TransactionKind.Eip1559;
50
+ to?: BlockchainAddress;
51
+ value?: Amount;
52
+ data?: string;
53
+ nonce?: number;
54
+ gasLimit?: Amount;
55
+ maxPriorityFeePerGas?: Amount;
56
+ maxFeePerGas?: Amount;
57
+ };
58
+ /**
59
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
60
+ */
61
+ export type BroadcastEvmLegacyTransaction = {
62
+ kind: TransactionKind.EvmLegacy;
63
+ to?: BlockchainAddress;
64
+ value?: Amount;
65
+ data?: string;
66
+ nonce?: number;
67
+ gasLimit?: Amount;
68
+ gasPrice?: Amount;
69
+ };
70
+ /**
71
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
72
+ */
73
+ export type BroadcastPsbt = {
74
+ kind: TransactionKind.Psbt;
75
+ psbt: string;
76
+ };
77
+ /**
78
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
79
+ */
80
+ export type SignHash = {
81
+ kind: SignatureKind.Hash;
82
+ hash: string;
83
+ };
84
+ /**
85
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
86
+ */
87
+ export type SignMessage = {
88
+ kind: SignatureKind.Message;
89
+ message: string;
90
+ };
91
+ /**
92
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
93
+ */
94
+ export type SignTransaction = {
95
+ kind: SignatureKind.Transaction;
96
+ transaction: string;
97
+ };
98
+ /**
99
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
100
+ */
101
+ export type Eip712Domain = {
102
+ name?: string;
103
+ version?: string;
104
+ chainId?: number;
105
+ verifyingContract?: BlockchainAddress;
106
+ salt?: string;
107
+ };
108
+ /**
109
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
110
+ */
111
+ export type SignEip712TypedData = {
112
+ kind: SignatureKind.Eip712;
113
+ types: Record<string, unknown>;
114
+ domain: Eip712Domain;
115
+ message: Record<string, unknown>;
116
+ };
117
+ /**
118
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
119
+ */
120
+ export type SignPsbt = {
121
+ kind: SignatureKind.Psbt;
122
+ psbt: string;
123
+ };
124
+ /**
125
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
126
+ */
127
+ export type EncryptedKeyShare = {
128
+ /**
129
+ * Base64-encoded ID of the signer where the encrypted key share comes from.
130
+ */
131
+ signerId: string;
132
+ /**
133
+ * Base64-encoded key share.
134
+ */
135
+ encryptedKeyShare: string;
136
+ };
137
+ /**
138
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
139
+ */
140
+ export type SupportedExportScheme = {
141
+ /**
142
+ * Base64-encoded ID of the signer where the encrypted key share comes from.
143
+ */
144
+ curve: KeyCurve;
145
+ /**
146
+ * Base64-encoded key share.
147
+ */
148
+ protocol: KeyProtocol;
149
+ };
150
+ /**
151
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
152
+ */
153
+ export type TransferTrc10Asset = {
154
+ kind: TransferKind.Trc10;
155
+ tokenId: string;
156
+ to: BlockchainAddress;
157
+ amount: Amount;
158
+ };
159
+ /**
160
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
161
+ */
162
+ export type TransferTrc20Asset = {
163
+ kind: TransferKind.Trc20;
164
+ contract: BlockchainAddress;
165
+ to: BlockchainAddress;
166
+ amount: Amount;
167
+ };
168
+ /**
169
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
170
+ */
171
+ export type TransferTrc721Asset = {
172
+ kind: TransferKind.Trc721;
173
+ contract: BlockchainAddress;
174
+ to: BlockchainAddress;
175
+ tokenId: string;
176
+ };
177
+ /**
178
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
179
+ */
180
+ export type Wallet = {
181
+ id: EntityId;
182
+ network: BlockchainNetwork;
183
+ status: WalletStatus;
184
+ signingKey: SigningKey;
185
+ address?: string;
186
+ name?: string;
187
+ externalId?: string;
188
+ tags: Tag[];
189
+ dateCreated: IsoDatetime;
190
+ /**
191
+ * If present, represents the moment when the wallet was exported for the first time.
192
+ */
193
+ dateExported?: IsoDatetime;
194
+ /**
195
+ * Whether the wallet was imported, or if it was generated on Dfns side.
196
+ */
197
+ imported?: boolean;
198
+ /**
199
+ * Whether the wallet was ever exported.
200
+ */
201
+ exported?: boolean;
202
+ };
203
+ /**
204
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
205
+ */
206
+ export type SigningKey = {
207
+ scheme: KeyScheme;
208
+ curve: KeyCurve;
209
+ publicKey: string;
210
+ };
211
+ /**
212
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
213
+ */
214
+ export type WalletAssets = {
215
+ walletId: EntityId;
216
+ network: BlockchainNetwork;
217
+ assets: WalletAsset[];
218
+ };
219
+ /**
220
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
221
+ */
222
+ export type WalletAsset = {
223
+ kind: BalanceKind;
224
+ contract?: string;
225
+ symbol?: string;
226
+ decimals: number;
227
+ verified?: boolean;
228
+ balance: Amount;
229
+ };
230
+ /**
231
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
232
+ */
233
+ export type WalletNfts = {
234
+ walletId: EntityId;
235
+ network: BlockchainNetwork;
236
+ nfts: WalletNft[];
237
+ };
238
+ /**
239
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
240
+ */
241
+ export type WalletNft = {
242
+ kind: BalanceKind;
243
+ contract?: string;
244
+ symbol?: string;
245
+ verified?: boolean;
246
+ tokenIds: string[];
247
+ count: number;
248
+ };
249
+ /**
250
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
251
+ */
252
+ export type PaginatedWalletList = {
253
+ items: Wallet[];
254
+ nextPageToken?: string;
255
+ };
256
+ /**
257
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
258
+ */
259
+ export type NativeTransferEvent = {
260
+ kind: EventKind.NativeTransfer;
261
+ walletId: EntityId;
262
+ network: BlockchainNetwork;
263
+ blockNumber: number;
264
+ txHash: string;
265
+ index?: string;
266
+ timestamp: IsoDatetime;
267
+ fee?: Amount;
268
+ direction: TransferDirection;
269
+ symbol: string;
270
+ decimals: number;
271
+ verified?: boolean;
272
+ from: BlockchainAddress;
273
+ to: BlockchainAddress;
274
+ value: Amount;
275
+ };
276
+ /**
277
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
278
+ */
279
+ export type Erc20TransferEvent = {
280
+ kind: EventKind.Erc20Transfer;
281
+ walletId: EntityId;
282
+ network: BlockchainNetwork;
283
+ blockNumber: number;
284
+ txHash: string;
285
+ index?: string;
286
+ timestamp: IsoDatetime;
287
+ fee?: Amount;
288
+ direction: TransferDirection;
289
+ contract: BlockchainAddress;
290
+ symbol?: string;
291
+ decimals: number;
292
+ verified?: boolean;
293
+ from: BlockchainAddress;
294
+ to: BlockchainAddress;
295
+ value: Amount;
296
+ };
297
+ /**
298
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
299
+ */
300
+ export type Erc721TransferEvent = {
301
+ kind: EventKind.Erc721Transfer;
302
+ walletId: EntityId;
303
+ network: BlockchainNetwork;
304
+ blockNumber: number;
305
+ txHash: string;
306
+ index?: string;
307
+ timestamp: IsoDatetime;
308
+ fee?: Amount;
309
+ direction: TransferDirection;
310
+ contract: BlockchainAddress;
311
+ symbol?: string;
312
+ verified?: boolean;
313
+ from: BlockchainAddress;
314
+ to: BlockchainAddress;
315
+ tokenId: string;
316
+ };
317
+ /**
318
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
319
+ */
320
+ export type PaginatedEventHistory = {
321
+ walletId: EntityId;
322
+ network: BlockchainNetwork;
323
+ items: BlockchainEvent[];
324
+ nextPageToken?: string;
325
+ };
326
+ /**
327
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
328
+ */
329
+ export type TransferRequest = {
330
+ id: EntityId;
331
+ walletId: EntityId;
332
+ network: BlockchainNetwork;
333
+ requester: RequesterIdentity;
334
+ requestBody: TransferAssetBody;
335
+ status: TransferStatus;
336
+ txHash?: string;
337
+ fee?: Amount;
338
+ dateRequested: IsoDatetime;
339
+ datePolicyEvaluated?: IsoDatetime;
340
+ dateBroadcasted?: IsoDatetime;
341
+ dateConfirmed?: IsoDatetime;
342
+ reason?: string;
343
+ metadata: TransferRequestMetadata;
344
+ };
345
+ /**
346
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
347
+ */
348
+ export type PaginatedTransferList = {
349
+ walletId: EntityId;
350
+ items: TransferRequest[];
351
+ nextPageToken?: string;
352
+ };
353
+ /**
354
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
355
+ */
356
+ export type TransactionRequest = {
357
+ id: EntityId;
358
+ walletId: EntityId;
359
+ network: BlockchainNetwork;
360
+ requester: RequesterIdentity;
361
+ requestBody: BroadcastTransactionBody;
362
+ status: TransactionStatus;
363
+ txHash?: string;
364
+ fee?: Amount;
365
+ dateRequested: IsoDatetime;
366
+ datePolicyEvaluated?: IsoDatetime;
367
+ dateBroadcasted?: IsoDatetime;
368
+ dateConfirmed?: IsoDatetime;
369
+ reason?: string;
370
+ };
371
+ /**
372
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
373
+ */
374
+ export type PaginatedTransactionList = {
375
+ walletId: EntityId;
376
+ items: TransactionRequest[];
377
+ nextPageToken?: string;
378
+ };
379
+ /**
380
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
381
+ */
382
+ export type Signature = {
383
+ r: string;
384
+ s: string;
385
+ recid?: number;
386
+ encoded?: string;
387
+ };
388
+ /**
389
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
390
+ */
391
+ export type SignatureRequest = {
392
+ id: EntityId;
393
+ walletId: EntityId;
394
+ network: BlockchainNetwork;
395
+ requester: RequesterIdentity;
396
+ requestBody: GenerateSignatureBody;
397
+ signature?: Signature;
398
+ signatures?: Signature[];
399
+ signedData?: string;
400
+ status: SignatureStatus;
401
+ txHash?: string;
402
+ fee?: Amount;
403
+ dateRequested: IsoDatetime;
404
+ datePolicyEvaluated?: IsoDatetime;
405
+ dateSigned?: IsoDatetime;
406
+ dateConfirmed?: IsoDatetime;
407
+ reason?: string;
408
+ };
409
+ /**
410
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
411
+ */
412
+ export type PaginatedSignatureList = {
413
+ walletId: EntityId;
414
+ items: SignatureRequest[];
415
+ nextPageToken?: string;
416
+ };
417
+ /**
418
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
419
+ */
420
+ export type RequesterIdentity = {
421
+ userId: EntityId;
422
+ tokenId?: EntityId;
423
+ appId?: EntityId;
424
+ };
425
+ /**
426
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
427
+ */
428
+ export type TransferRequestMetadata = {
429
+ asset: AssetMetadata;
430
+ };
431
+ /**
432
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
433
+ */
434
+ export type AssetMetadata = {
435
+ symbol?: string;
436
+ decimals?: number;
437
+ verified?: boolean;
438
+ };
439
+ /**
440
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
441
+ */
442
+ export type ExportedSigningKey = {
443
+ publicKey: string;
444
+ /**
445
+ * The TSS threshold parameter of this wallet private signing key shares.
446
+ */
447
+ minSigners: IntegerPositiveStrict;
448
+ curve: KeyCurve;
449
+ protocol: KeyProtocol;
450
+ /**
451
+ * Key shares of the exported wallet. These key shares are encrypted with the provided encryption key. The wallet private key must then be re-constructed from them.
452
+ */
453
+ encryptedKeyShares: EncryptedKeyShare[];
454
+ };
455
+ /**
456
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
457
+ */
458
+ export type DelegateWalletResult = {
459
+ walletId: EntityId;
460
+ status: string;
461
+ };
462
+ /**
463
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
464
+ */
465
+ export type CreateWalletBody = {
466
+ network: BlockchainNetwork;
467
+ /**
468
+ * If delayDelegation is true, the wallet will be marked as "delegable". Meaning that later, you will be able to "delegate" (transfer) this wallet's ownership to an end-user, by calling the "Delegated Wallet" endpoint .
469
+ */
470
+ delayDelegation?: string;
471
+ externalId?: string;
472
+ tags?: Tag[];
473
+ name?: string;
474
+ };
475
+ /**
476
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
477
+ */
478
+ export type ImportWalletBody = {
479
+ network: BlockchainNetwork;
480
+ externalId?: string;
481
+ tags?: Tag[];
482
+ name?: string;
483
+ minSigners: IntegerPositiveStrict;
484
+ protocol: KeyProtocol;
485
+ curve: KeyCurve;
486
+ encryptedKeyShares: EncryptedKeyShare[];
487
+ };
488
+ /**
489
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
490
+ */
491
+ export type ExportWalletBody = {
492
+ /**
493
+ * Encryption public key that will be used by signers to encrypt the exported wallet key shares. The purpose of encrypting key shares is to have them extra-safe and not usable in any place in the system until they are safely returned back to the client issuing the export command.
494
+ */
495
+ encryptionKey: string;
496
+ /**
497
+ * The schemes supported by the client issuing the export request, for private key reconstruction.
498
+ */
499
+ supportedSchemes: SupportedExportScheme[];
500
+ };
501
+ /**
502
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
503
+ */
504
+ export type DelegateWalletBody = {
505
+ /**
506
+ * Encryption public key that will be used by signers to encrypt the exported wallet key shares. The purpose of encrypting key shares is to have them extra-safe and not usable in any place in the system until they are safely returned back to the client issuing the export command.
507
+ */
508
+ userId: EntityId;
509
+ };
510
+ /**
511
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
512
+ */
513
+ export type TransferAssetBody = TransferNativeAsset | TransferErc20Asset | TransferErc721Asset | TransferTrc10Asset | TransferTrc20Asset | TransferTrc721Asset;
514
+ /**
515
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
516
+ */
517
+ export type BroadcastTransactionBody = BroadcastTransaction | BroadcastEvmTransaction | BroadcastEip1559Transaction | BroadcastEvmLegacyTransaction | BroadcastPsbt;
518
+ /**
519
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
520
+ */
521
+ export type GenerateSignatureBody = SignHash | SignMessage | SignTransaction | SignEip712TypedData | SignPsbt;
522
+ /**
523
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
524
+ */
525
+ export type BlockchainEvent = NativeTransferEvent | Erc20TransferEvent | Erc721TransferEvent;
526
+ /**
527
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
528
+ */
529
+ export declare enum TransferKind {
530
+ Native = "Native",
531
+ Erc20 = "Erc20",
532
+ Erc721 = "Erc721",
533
+ Trc10 = "Trc10",
534
+ Trc20 = "Trc20",
535
+ Trc721 = "Trc721"
536
+ }
537
+ /**
538
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
539
+ */
540
+ export declare enum TransactionKind {
541
+ Transaction = "Transaction",
542
+ Evm = "Evm",
543
+ Eip1559 = "Eip1559",
544
+ EvmLegacy = "EvmLegacy",
545
+ Psbt = "Psbt"
546
+ }
547
+ /**
548
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
549
+ */
550
+ export declare enum SignatureKind {
551
+ Hash = "Hash",
552
+ Message = "Message",
553
+ Transaction = "Transaction",
554
+ Eip712 = "Eip712",
555
+ Psbt = "Psbt"
556
+ }
557
+ /**
558
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
559
+ */
560
+ export declare enum WalletStatus {
561
+ Active = "Active",
562
+ Archived = "Archived"
563
+ }
564
+ /**
565
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
566
+ */
567
+ export declare enum KeyScheme {
568
+ ECDSA = "ECDSA",
569
+ EdDSA = "EdDSA"
570
+ }
571
+ /**
572
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
573
+ */
574
+ export declare enum KeyCurve {
575
+ ed25519 = "ed25519",
576
+ secp256k1 = "secp256k1",
577
+ stark = "stark"
578
+ }
579
+ /**
580
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
581
+ */
582
+ export declare enum KeyProtocol {
583
+ CGGMP21 = "CGGMP21",
584
+ BINANCE_EDDSA = "BINANCE_EDDSA"
585
+ }
586
+ /**
587
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
588
+ */
589
+ export declare enum BalanceKind {
590
+ Native = "Native",
591
+ Erc20 = "Erc20",
592
+ Erc721 = "Erc721"
593
+ }
594
+ /**
595
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
596
+ */
597
+ export declare enum EventKind {
598
+ NativeTransfer = "NativeTransfer",
599
+ Erc20Transfer = "Erc20Transfer",
600
+ Erc721Transfer = "Erc721Transfer"
601
+ }
602
+ /**
603
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
604
+ */
605
+ export declare enum TransferDirection {
606
+ In = "In",
607
+ Out = "Out"
608
+ }
609
+ /**
610
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
611
+ */
612
+ export declare enum TransferStatus {
613
+ Pending = "Pending",
614
+ Executing = "Executing",
615
+ Broadcasted = "Broadcasted",
616
+ Confirmed = "Confirmed",
617
+ Failed = "Failed",
618
+ Rejected = "Rejected"
619
+ }
620
+ /**
621
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
622
+ */
623
+ export declare enum TransactionStatus {
624
+ Pending = "Pending",
625
+ Executing = "Executing",
626
+ Broadcasted = "Broadcasted",
627
+ Confirmed = "Confirmed",
628
+ Failed = "Failed",
629
+ Rejected = "Rejected"
630
+ }
631
+ /**
632
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
633
+ */
634
+ export declare enum SignatureStatus {
635
+ Pending = "Pending",
636
+ Executing = "Executing",
637
+ Signed = "Signed",
638
+ Confirmed = "Confirmed",
639
+ Failed = "Failed",
640
+ Rejected = "Rejected"
641
+ }
642
+ /**
643
+ * @deprecated import equivalent type from '@dfns/sdk/types/wallets' instead
644
+ */
645
+ export declare enum BlockchainNetwork {
646
+ ArbitrumOne = "ArbitrumOne",
647
+ ArbitrumGoerli = "ArbitrumGoerli",
648
+ ArbitrumSepolia = "ArbitrumSepolia",
649
+ AvalancheC = "AvalancheC",
650
+ AvalancheCFuji = "AvalancheCFuji",
651
+ Base = "Base",
652
+ BaseGoerli = "BaseGoerli",
653
+ Bitcoin = "Bitcoin",
654
+ BitcoinTestnet3 = "BitcoinTestnet3",
655
+ Bsc = "Bsc",
656
+ BscTestnet = "BscTestnet",
657
+ Ethereum = "Ethereum",
658
+ EthereumGoerli = "EthereumGoerli",
659
+ EthereumSepolia = "EthereumSepolia",
660
+ FantomOpera = "FantomOpera",
661
+ FantomTestnet = "FantomTestnet",
662
+ Optimism = "Optimism",
663
+ OptimismGoerli = "OptimismGoerli",
664
+ Polygon = "Polygon",
665
+ PolygonMumbai = "PolygonMumbai",
666
+ Ripple = "Ripple",
667
+ RippleTestnet = "RippleTestnet",
668
+ Solana = "Solana",
669
+ SolanaDevnet = "SolanaDevnet",
670
+ Tezos = "Tezos",
671
+ TezosGhostnet = "TezosGhostnet",
672
+ Tron = "Tron",
673
+ TronNile = "TronNile",
674
+ KeyECDSA = "KeyECDSA",
675
+ KeyEdDSA = "KeyEdDSA",
676
+ KeyECDSAStark = "KeyECDSAStark"
677
+ }