@paimaexample/wallets 0.3.117

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 (700) hide show
  1. package/README.md +1 -0
  2. package/esm/chain-types/src/hash.d.ts +28 -0
  3. package/esm/chain-types/src/hash.d.ts.map +1 -0
  4. package/esm/chain-types/src/hash.js +29 -0
  5. package/esm/chain-types/src/mod.d.ts +3 -0
  6. package/esm/chain-types/src/mod.d.ts.map +1 -0
  7. package/esm/chain-types/src/mod.js +2 -0
  8. package/esm/chain-types/src/types.d.ts +70 -0
  9. package/esm/chain-types/src/types.d.ts.map +1 -0
  10. package/esm/chain-types/src/types.js +1 -0
  11. package/esm/concise/src/batcher.d.ts +40 -0
  12. package/esm/concise/src/batcher.d.ts.map +1 -0
  13. package/esm/concise/src/batcher.js +117 -0
  14. package/esm/concise/src/delegate.d.ts +18 -0
  15. package/esm/concise/src/delegate.d.ts.map +1 -0
  16. package/esm/concise/src/delegate.js +118 -0
  17. package/esm/concise/src/mod.d.ts +5 -0
  18. package/esm/concise/src/mod.d.ts.map +1 -0
  19. package/esm/concise/src/mod.js +3 -0
  20. package/esm/concise/src/v2/builtins/batcher.d.ts +27 -0
  21. package/esm/concise/src/v2/builtins/batcher.d.ts.map +1 -0
  22. package/esm/concise/src/v2/builtins/batcher.js +51 -0
  23. package/esm/concise/src/v2/builtins/grammar.d.ts +25 -0
  24. package/esm/concise/src/v2/builtins/grammar.d.ts.map +1 -0
  25. package/esm/concise/src/v2/builtins/grammar.js +40 -0
  26. package/esm/concise/src/v2/builtins/index.d.ts +3 -0
  27. package/esm/concise/src/v2/builtins/index.d.ts.map +1 -0
  28. package/esm/concise/src/v2/builtins/index.js +3 -0
  29. package/esm/concise/src/v2/grammar.d.ts +8 -0
  30. package/esm/concise/src/v2/grammar.d.ts.map +1 -0
  31. package/esm/concise/src/v2/grammar.js +19 -0
  32. package/esm/concise/src/v2/inputs.d.ts +7 -0
  33. package/esm/concise/src/v2/inputs.d.ts.map +1 -0
  34. package/esm/concise/src/v2/inputs.js +37 -0
  35. package/esm/concise/src/v2/mod.d.ts +5 -0
  36. package/esm/concise/src/v2/mod.d.ts.map +1 -0
  37. package/esm/concise/src/v2/mod.js +4 -0
  38. package/esm/concise/src/v2/types.d.ts +23 -0
  39. package/esm/concise/src/v2/types.d.ts.map +1 -0
  40. package/esm/concise/src/v2/types.js +1 -0
  41. package/esm/config/src/config/builder.d.ts +33 -0
  42. package/esm/config/src/config/builder.d.ts.map +1 -0
  43. package/esm/config/src/config/builder.js +82 -0
  44. package/esm/config/src/config/configCheck.d.ts +32 -0
  45. package/esm/config/src/config/configCheck.d.ts.map +1 -0
  46. package/esm/config/src/config/configCheck.js +67 -0
  47. package/esm/config/src/config/context.d.ts +23 -0
  48. package/esm/config/src/config/context.d.ts.map +1 -0
  49. package/esm/config/src/config/context.js +25 -0
  50. package/esm/config/src/config/mod.d.ts +7 -0
  51. package/esm/config/src/config/mod.d.ts.map +1 -0
  52. package/esm/config/src/config/mod.js +4 -0
  53. package/esm/config/src/config/parts/deployedAddresses.d.ts +17 -0
  54. package/esm/config/src/config/parts/deployedAddresses.d.ts.map +1 -0
  55. package/esm/config/src/config/parts/deployedAddresses.js +24 -0
  56. package/esm/config/src/config/parts/network.d.ts +19 -0
  57. package/esm/config/src/config/parts/network.d.ts.map +1 -0
  58. package/esm/config/src/config/parts/network.js +29 -0
  59. package/esm/config/src/config/parts/primitive.d.ts +31 -0
  60. package/esm/config/src/config/parts/primitive.d.ts.map +1 -0
  61. package/esm/config/src/config/parts/primitive.js +28 -0
  62. package/esm/config/src/config/parts/securityNamespace.d.ts +14 -0
  63. package/esm/config/src/config/parts/securityNamespace.d.ts.map +1 -0
  64. package/esm/config/src/config/parts/securityNamespace.js +26 -0
  65. package/esm/config/src/config/parts/syncProtocols.d.ts +43 -0
  66. package/esm/config/src/config/parts/syncProtocols.d.ts.map +1 -0
  67. package/esm/config/src/config/parts/syncProtocols.js +66 -0
  68. package/esm/config/src/config/utils.d.ts +40 -0
  69. package/esm/config/src/config/utils.d.ts.map +1 -0
  70. package/esm/config/src/config/utils.js +55 -0
  71. package/esm/config/src/mod.d.ts +3 -0
  72. package/esm/config/src/mod.d.ts.map +1 -0
  73. package/esm/config/src/mod.js +2 -0
  74. package/esm/config/src/schema/common.d.ts +26 -0
  75. package/esm/config/src/schema/common.d.ts.map +1 -0
  76. package/esm/config/src/schema/common.js +51 -0
  77. package/esm/config/src/schema/mod.d.ts +7 -0
  78. package/esm/config/src/schema/mod.d.ts.map +1 -0
  79. package/esm/config/src/schema/mod.js +6 -0
  80. package/esm/config/src/schema/namespace.d.ts +39 -0
  81. package/esm/config/src/schema/namespace.d.ts.map +1 -0
  82. package/esm/config/src/schema/namespace.js +34 -0
  83. package/esm/config/src/schema/network/algorand.d.ts +12 -0
  84. package/esm/config/src/schema/network/algorand.d.ts.map +1 -0
  85. package/esm/config/src/schema/network/algorand.js +23 -0
  86. package/esm/config/src/schema/network/all.d.ts +175 -0
  87. package/esm/config/src/schema/network/all.d.ts.map +1 -0
  88. package/esm/config/src/schema/network/all.js +24 -0
  89. package/esm/config/src/schema/network/bitcoin.d.ts +19 -0
  90. package/esm/config/src/schema/network/bitcoin.d.ts.map +1 -0
  91. package/esm/config/src/schema/network/bitcoin.js +21 -0
  92. package/esm/config/src/schema/network/cardano.d.ts +12 -0
  93. package/esm/config/src/schema/network/cardano.d.ts.map +1 -0
  94. package/esm/config/src/schema/network/cardano.js +27 -0
  95. package/esm/config/src/schema/network/evm.d.ts +68 -0
  96. package/esm/config/src/schema/network/evm.d.ts.map +1 -0
  97. package/esm/config/src/schema/network/evm.js +70 -0
  98. package/esm/config/src/schema/network/mina.d.ts +14 -0
  99. package/esm/config/src/schema/network/mina.d.ts.map +1 -0
  100. package/esm/config/src/schema/network/mina.js +25 -0
  101. package/esm/config/src/schema/network/mod.d.ts +9 -0
  102. package/esm/config/src/schema/network/mod.d.ts.map +1 -0
  103. package/esm/config/src/schema/network/mod.js +8 -0
  104. package/esm/config/src/schema/network/ntp.d.ts +32 -0
  105. package/esm/config/src/schema/network/ntp.d.ts.map +1 -0
  106. package/esm/config/src/schema/network/ntp.js +39 -0
  107. package/esm/config/src/schema/network/substrate/avail.d.ts +14 -0
  108. package/esm/config/src/schema/network/substrate/avail.d.ts.map +1 -0
  109. package/esm/config/src/schema/network/substrate/avail.js +26 -0
  110. package/esm/config/src/schema/network/substrate/common.d.ts +18 -0
  111. package/esm/config/src/schema/network/substrate/common.d.ts.map +1 -0
  112. package/esm/config/src/schema/network/substrate/common.js +32 -0
  113. package/esm/config/src/schema/network/substrate/midnight.d.ts +20 -0
  114. package/esm/config/src/schema/network/substrate/midnight.d.ts.map +1 -0
  115. package/esm/config/src/schema/network/substrate/midnight.js +32 -0
  116. package/esm/config/src/schema/network/substrate/mod.d.ts +4 -0
  117. package/esm/config/src/schema/network/substrate/mod.d.ts.map +1 -0
  118. package/esm/config/src/schema/network/substrate/mod.js +3 -0
  119. package/esm/config/src/schema/network/types.d.ts +13 -0
  120. package/esm/config/src/schema/network/types.d.ts.map +1 -0
  121. package/esm/config/src/schema/network/types.js +13 -0
  122. package/esm/config/src/schema/network/utils.d.ts +5 -0
  123. package/esm/config/src/schema/network/utils.d.ts.map +1 -0
  124. package/esm/config/src/schema/network/utils.js +73 -0
  125. package/esm/config/src/schema/primitive/mod.d.ts +2 -0
  126. package/esm/config/src/schema/primitive/mod.d.ts.map +1 -0
  127. package/esm/config/src/schema/primitive/mod.js +1 -0
  128. package/esm/config/src/schema/primitive/types.d.ts +58 -0
  129. package/esm/config/src/schema/primitive/types.d.ts.map +1 -0
  130. package/esm/config/src/schema/primitive/types.js +1 -0
  131. package/esm/config/src/schema/sync-protocols/all.d.ts +583 -0
  132. package/esm/config/src/schema/sync-protocols/all.d.ts.map +1 -0
  133. package/esm/config/src/schema/sync-protocols/all.js +55 -0
  134. package/esm/config/src/schema/sync-protocols/avail/rpc.d.ts +76 -0
  135. package/esm/config/src/schema/sync-protocols/avail/rpc.d.ts.map +1 -0
  136. package/esm/config/src/schema/sync-protocols/avail/rpc.js +56 -0
  137. package/esm/config/src/schema/sync-protocols/bitcoin/rpc.d.ts +76 -0
  138. package/esm/config/src/schema/sync-protocols/bitcoin/rpc.d.ts.map +1 -0
  139. package/esm/config/src/schema/sync-protocols/bitcoin/rpc.js +47 -0
  140. package/esm/config/src/schema/sync-protocols/cardano/carp.d.ts +80 -0
  141. package/esm/config/src/schema/sync-protocols/cardano/carp.d.ts.map +1 -0
  142. package/esm/config/src/schema/sync-protocols/cardano/carp.js +62 -0
  143. package/esm/config/src/schema/sync-protocols/cardano/mod.d.ts +2 -0
  144. package/esm/config/src/schema/sync-protocols/cardano/mod.d.ts.map +1 -0
  145. package/esm/config/src/schema/sync-protocols/cardano/mod.js +1 -0
  146. package/esm/config/src/schema/sync-protocols/cardano/utxorpc.d.ts +56 -0
  147. package/esm/config/src/schema/sync-protocols/cardano/utxorpc.d.ts.map +1 -0
  148. package/esm/config/src/schema/sync-protocols/cardano/utxorpc.js +56 -0
  149. package/esm/config/src/schema/sync-protocols/common.d.ts +60 -0
  150. package/esm/config/src/schema/sync-protocols/common.d.ts.map +1 -0
  151. package/esm/config/src/schema/sync-protocols/common.js +54 -0
  152. package/esm/config/src/schema/sync-protocols/decorators/all.d.ts +17 -0
  153. package/esm/config/src/schema/sync-protocols/decorators/all.d.ts.map +1 -0
  154. package/esm/config/src/schema/sync-protocols/decorators/all.js +8 -0
  155. package/esm/config/src/schema/sync-protocols/decorators/emulated.d.ts +8 -0
  156. package/esm/config/src/schema/sync-protocols/decorators/emulated.d.ts.map +1 -0
  157. package/esm/config/src/schema/sync-protocols/decorators/emulated.js +12 -0
  158. package/esm/config/src/schema/sync-protocols/decorators/mod.d.ts +4 -0
  159. package/esm/config/src/schema/sync-protocols/decorators/mod.d.ts.map +1 -0
  160. package/esm/config/src/schema/sync-protocols/decorators/mod.js +3 -0
  161. package/esm/config/src/schema/sync-protocols/decorators/types.d.ts +4 -0
  162. package/esm/config/src/schema/sync-protocols/decorators/types.d.ts.map +1 -0
  163. package/esm/config/src/schema/sync-protocols/decorators/types.js +4 -0
  164. package/esm/config/src/schema/sync-protocols/evm/rpc.d.ts +68 -0
  165. package/esm/config/src/schema/sync-protocols/evm/rpc.d.ts.map +1 -0
  166. package/esm/config/src/schema/sync-protocols/evm/rpc.js +44 -0
  167. package/esm/config/src/schema/sync-protocols/midnight/graphql.d.ts +66 -0
  168. package/esm/config/src/schema/sync-protocols/midnight/graphql.d.ts.map +1 -0
  169. package/esm/config/src/schema/sync-protocols/midnight/graphql.js +50 -0
  170. package/esm/config/src/schema/sync-protocols/mina/graphql.d.ts +73 -0
  171. package/esm/config/src/schema/sync-protocols/mina/graphql.d.ts.map +1 -0
  172. package/esm/config/src/schema/sync-protocols/mina/graphql.js +59 -0
  173. package/esm/config/src/schema/sync-protocols/mod.d.ts +10 -0
  174. package/esm/config/src/schema/sync-protocols/mod.d.ts.map +1 -0
  175. package/esm/config/src/schema/sync-protocols/mod.js +9 -0
  176. package/esm/config/src/schema/sync-protocols/ntp/rpc.d.ts +45 -0
  177. package/esm/config/src/schema/sync-protocols/ntp/rpc.d.ts.map +1 -0
  178. package/esm/config/src/schema/sync-protocols/ntp/rpc.js +33 -0
  179. package/esm/config/src/schema/sync-protocols/types.d.ts +125 -0
  180. package/esm/config/src/schema/sync-protocols/types.d.ts.map +1 -0
  181. package/esm/config/src/schema/sync-protocols/types.js +22 -0
  182. package/esm/config/src/schema/utils.d.ts +53 -0
  183. package/esm/config/src/schema/utils.d.ts.map +1 -0
  184. package/esm/config/src/schema/utils.js +58 -0
  185. package/esm/events/src/app-events.d.ts +65 -0
  186. package/esm/events/src/app-events.d.ts.map +1 -0
  187. package/esm/events/src/app-events.js +51 -0
  188. package/esm/events/src/asyncapi.d.ts +1173 -0
  189. package/esm/events/src/asyncapi.d.ts.map +1 -0
  190. package/esm/events/src/asyncapi.js +7 -0
  191. package/esm/events/src/builtin-event-utils.d.ts +5 -0
  192. package/esm/events/src/builtin-event-utils.d.ts.map +1 -0
  193. package/esm/events/src/builtin-event-utils.js +58 -0
  194. package/esm/events/src/builtin-events.d.ts +106 -0
  195. package/esm/events/src/builtin-events.d.ts.map +1 -0
  196. package/esm/events/src/builtin-events.js +198 -0
  197. package/esm/events/src/event-connect.d.ts +15 -0
  198. package/esm/events/src/event-connect.d.ts.map +1 -0
  199. package/esm/events/src/event-connect.js +75 -0
  200. package/esm/events/src/event-manager.d.ts +54 -0
  201. package/esm/events/src/event-manager.d.ts.map +1 -0
  202. package/esm/events/src/event-manager.js +129 -0
  203. package/esm/events/src/evm.d.ts +6 -0
  204. package/esm/events/src/evm.d.ts.map +1 -0
  205. package/esm/events/src/evm.js +55 -0
  206. package/esm/events/src/mod.d.ts +10 -0
  207. package/esm/events/src/mod.d.ts.map +1 -0
  208. package/esm/events/src/mod.js +9 -0
  209. package/esm/events/src/types.d.ts +255 -0
  210. package/esm/events/src/types.d.ts.map +1 -0
  211. package/esm/events/src/types.js +103 -0
  212. package/esm/events/src/utils.d.ts +16 -0
  213. package/esm/events/src/utils.d.ts.map +1 -0
  214. package/esm/events/src/utils.js +93 -0
  215. package/esm/package.json +3 -0
  216. package/esm/utils/src/binary-search.d.ts +7 -0
  217. package/esm/utils/src/binary-search.d.ts.map +1 -0
  218. package/esm/utils/src/binary-search.js +38 -0
  219. package/esm/utils/src/captcha.d.ts +9 -0
  220. package/esm/utils/src/captcha.d.ts.map +1 -0
  221. package/esm/utils/src/captcha.js +19 -0
  222. package/esm/utils/src/concurrency/condVar.d.ts +25 -0
  223. package/esm/utils/src/concurrency/condVar.d.ts.map +1 -0
  224. package/esm/utils/src/concurrency/condVar.js +39 -0
  225. package/esm/utils/src/concurrency/latch.d.ts +25 -0
  226. package/esm/utils/src/concurrency/latch.d.ts.map +1 -0
  227. package/esm/utils/src/concurrency/latch.js +51 -0
  228. package/esm/utils/src/concurrency/mod.d.ts +5 -0
  229. package/esm/utils/src/concurrency/mod.d.ts.map +1 -0
  230. package/esm/utils/src/concurrency/mod.js +4 -0
  231. package/esm/utils/src/concurrency/retry.d.ts +14 -0
  232. package/esm/utils/src/concurrency/retry.d.ts.map +1 -0
  233. package/esm/utils/src/concurrency/retry.js +26 -0
  234. package/esm/utils/src/concurrency/utils.d.ts +27 -0
  235. package/esm/utils/src/concurrency/utils.d.ts.map +1 -0
  236. package/esm/utils/src/concurrency/utils.js +27 -0
  237. package/esm/utils/src/constants.d.ts +4 -0
  238. package/esm/utils/src/constants.d.ts.map +1 -0
  239. package/esm/utils/src/constants.js +7 -0
  240. package/esm/utils/src/decorators/bound.d.ts +10 -0
  241. package/esm/utils/src/decorators/bound.d.ts.map +1 -0
  242. package/esm/utils/src/decorators/bound.js +17 -0
  243. package/esm/utils/src/decorators/mod.d.ts +2 -0
  244. package/esm/utils/src/decorators/mod.d.ts.map +1 -0
  245. package/esm/utils/src/decorators/mod.js +1 -0
  246. package/esm/utils/src/mod.d.ts +8 -0
  247. package/esm/utils/src/mod.d.ts.map +1 -0
  248. package/esm/utils/src/mod.js +7 -0
  249. package/esm/utils/src/types/json-query.d.ts +30 -0
  250. package/esm/utils/src/types/json-query.d.ts.map +1 -0
  251. package/esm/utils/src/types/json-query.js +1 -0
  252. package/esm/utils/src/types/misc.d.ts +109 -0
  253. package/esm/utils/src/types/misc.d.ts.map +1 -0
  254. package/esm/utils/src/types/misc.js +2 -0
  255. package/esm/utils/src/types/mod.d.ts +7 -0
  256. package/esm/utils/src/types/mod.d.ts.map +1 -0
  257. package/esm/utils/src/types/mod.js +3 -0
  258. package/esm/utils/src/types/nominal.d.ts +87 -0
  259. package/esm/utils/src/types/nominal.d.ts.map +1 -0
  260. package/esm/utils/src/types/nominal.js +1 -0
  261. package/esm/utils/src/types/typebox-helpers.d.ts +183 -0
  262. package/esm/utils/src/types/typebox-helpers.d.ts.map +1 -0
  263. package/esm/utils/src/types/typebox-helpers.js +235 -0
  264. package/esm/utils/src/types/utils.d.ts +37 -0
  265. package/esm/utils/src/types/utils.d.ts.map +1 -0
  266. package/esm/utils/src/types/utils.js +46 -0
  267. package/esm/utils/src/types/validators/algorand.d.ts +31 -0
  268. package/esm/utils/src/types/validators/algorand.d.ts.map +1 -0
  269. package/esm/utils/src/types/validators/algorand.js +90 -0
  270. package/esm/utils/src/types/validators/cardano.d.ts +26 -0
  271. package/esm/utils/src/types/validators/cardano.d.ts.map +1 -0
  272. package/esm/utils/src/types/validators/cardano.js +113 -0
  273. package/esm/utils/src/types/validators/mina.d.ts +15 -0
  274. package/esm/utils/src/types/validators/mina.d.ts.map +1 -0
  275. package/esm/utils/src/types/validators/mina.js +43 -0
  276. package/esm/utils/src/types/validators/minicbor.d.ts +98 -0
  277. package/esm/utils/src/types/validators/minicbor.d.ts.map +1 -0
  278. package/esm/utils/src/types/validators/minicbor.js +332 -0
  279. package/esm/utils/src/types/validators/mod.d.ts +3 -0
  280. package/esm/utils/src/types/validators/mod.d.ts.map +1 -0
  281. package/esm/utils/src/types/validators/mod.js +2 -0
  282. package/esm/utils/src/types/validators/utils.d.ts +6 -0
  283. package/esm/utils/src/types/validators/utils.d.ts.map +1 -0
  284. package/esm/utils/src/types/validators/utils.js +24 -0
  285. package/esm/utils/src/viem.d.ts +6 -0
  286. package/esm/utils/src/viem.d.ts.map +1 -0
  287. package/esm/utils/src/viem.js +15 -0
  288. package/esm/wallets/src/IProvider.d.ts +48 -0
  289. package/esm/wallets/src/IProvider.d.ts.map +1 -0
  290. package/esm/wallets/src/IProvider.js +7 -0
  291. package/esm/wallets/src/avail/avail.d.ts +28 -0
  292. package/esm/wallets/src/avail/avail.d.ts.map +1 -0
  293. package/esm/wallets/src/avail/avail.js +65 -0
  294. package/esm/wallets/src/avail/wrapper.d.ts +6 -0
  295. package/esm/wallets/src/avail/wrapper.d.ts.map +1 -0
  296. package/esm/wallets/src/avail/wrapper.js +31 -0
  297. package/esm/wallets/src/cardano/cardano.d.ts +30 -0
  298. package/esm/wallets/src/cardano/cardano.d.ts.map +1 -0
  299. package/esm/wallets/src/cardano/cardano.js +158 -0
  300. package/esm/wallets/src/cardano/wrapper.d.ts +7 -0
  301. package/esm/wallets/src/cardano/wrapper.d.ts.map +1 -0
  302. package/esm/wallets/src/cardano/wrapper.js +22 -0
  303. package/esm/wallets/src/evm/ethers.d.ts +28 -0
  304. package/esm/wallets/src/evm/ethers.d.ts.map +1 -0
  305. package/esm/wallets/src/evm/ethers.js +79 -0
  306. package/esm/wallets/src/evm/injected.d.ts +74 -0
  307. package/esm/wallets/src/evm/injected.d.ts.map +1 -0
  308. package/esm/wallets/src/evm/injected.js +322 -0
  309. package/esm/wallets/src/evm/types.d.ts +3 -0
  310. package/esm/wallets/src/evm/types.d.ts.map +1 -0
  311. package/esm/wallets/src/evm/types.js +1 -0
  312. package/esm/wallets/src/evm/wrapper-ethers.d.ts +6 -0
  313. package/esm/wallets/src/evm/wrapper-ethers.d.ts.map +1 -0
  314. package/esm/wallets/src/evm/wrapper-ethers.js +38 -0
  315. package/esm/wallets/src/evm/wrapper-injected.d.ts +7 -0
  316. package/esm/wallets/src/evm/wrapper-injected.d.ts.map +1 -0
  317. package/esm/wallets/src/evm/wrapper-injected.js +80 -0
  318. package/esm/wallets/src/midnight/midnight.d.ts +26 -0
  319. package/esm/wallets/src/midnight/midnight.d.ts.map +1 -0
  320. package/esm/wallets/src/midnight/midnight.js +112 -0
  321. package/esm/wallets/src/midnight/wrapper.d.ts +7 -0
  322. package/esm/wallets/src/midnight/wrapper.d.ts.map +1 -0
  323. package/esm/wallets/src/midnight/wrapper.js +22 -0
  324. package/esm/wallets/src/mina/mina.d.ts +28 -0
  325. package/esm/wallets/src/mina/mina.d.ts.map +1 -0
  326. package/esm/wallets/src/mina/mina.js +133 -0
  327. package/esm/wallets/src/mina/wrapper.d.ts +6 -0
  328. package/esm/wallets/src/mina/wrapper.d.ts.map +1 -0
  329. package/esm/wallets/src/mina/wrapper.js +12 -0
  330. package/esm/wallets/src/mod.d.ts +8 -0
  331. package/esm/wallets/src/mod.d.ts.map +1 -0
  332. package/esm/wallets/src/mod.js +5 -0
  333. package/esm/wallets/src/paima.d.ts +104 -0
  334. package/esm/wallets/src/paima.d.ts.map +1 -0
  335. package/esm/wallets/src/paima.js +244 -0
  336. package/esm/wallets/src/types.d.ts +49 -0
  337. package/esm/wallets/src/types.d.ts.map +1 -0
  338. package/esm/wallets/src/types.js +1 -0
  339. package/esm/wallets/src/utils.d.ts +41 -0
  340. package/esm/wallets/src/utils.d.ts.map +1 -0
  341. package/esm/wallets/src/utils.js +75 -0
  342. package/esm/wallets/src/wallet-modes.d.ts +49 -0
  343. package/esm/wallets/src/wallet-modes.d.ts.map +1 -0
  344. package/esm/wallets/src/wallet-modes.js +26 -0
  345. package/esm/wallets/src/wallets.d.ts +5 -0
  346. package/esm/wallets/src/wallets.d.ts.map +1 -0
  347. package/esm/wallets/src/wallets.js +55 -0
  348. package/esm/wallets/src/windows.d.ts +5 -0
  349. package/esm/wallets/src/windows.d.ts.map +1 -0
  350. package/esm/wallets/src/windows.js +9 -0
  351. package/package.json +51 -0
  352. package/script/chain-types/src/hash.d.ts +28 -0
  353. package/script/chain-types/src/hash.d.ts.map +1 -0
  354. package/script/chain-types/src/hash.js +36 -0
  355. package/script/chain-types/src/mod.d.ts +3 -0
  356. package/script/chain-types/src/mod.d.ts.map +1 -0
  357. package/script/chain-types/src/mod.js +18 -0
  358. package/script/chain-types/src/types.d.ts +70 -0
  359. package/script/chain-types/src/types.d.ts.map +1 -0
  360. package/script/chain-types/src/types.js +2 -0
  361. package/script/concise/src/batcher.d.ts +40 -0
  362. package/script/concise/src/batcher.d.ts.map +1 -0
  363. package/script/concise/src/batcher.js +122 -0
  364. package/script/concise/src/delegate.d.ts +18 -0
  365. package/script/concise/src/delegate.d.ts.map +1 -0
  366. package/script/concise/src/delegate.js +123 -0
  367. package/script/concise/src/mod.d.ts +5 -0
  368. package/script/concise/src/mod.d.ts.map +1 -0
  369. package/script/concise/src/mod.js +19 -0
  370. package/script/concise/src/v2/builtins/batcher.d.ts +27 -0
  371. package/script/concise/src/v2/builtins/batcher.d.ts.map +1 -0
  372. package/script/concise/src/v2/builtins/batcher.js +54 -0
  373. package/script/concise/src/v2/builtins/grammar.d.ts +25 -0
  374. package/script/concise/src/v2/builtins/grammar.d.ts.map +1 -0
  375. package/script/concise/src/v2/builtins/grammar.js +43 -0
  376. package/script/concise/src/v2/builtins/index.d.ts +3 -0
  377. package/script/concise/src/v2/builtins/index.d.ts.map +1 -0
  378. package/script/concise/src/v2/builtins/index.js +19 -0
  379. package/script/concise/src/v2/grammar.d.ts +8 -0
  380. package/script/concise/src/v2/grammar.d.ts.map +1 -0
  381. package/script/concise/src/v2/grammar.js +24 -0
  382. package/script/concise/src/v2/inputs.d.ts +7 -0
  383. package/script/concise/src/v2/inputs.d.ts.map +1 -0
  384. package/script/concise/src/v2/inputs.js +43 -0
  385. package/script/concise/src/v2/mod.d.ts +5 -0
  386. package/script/concise/src/v2/mod.d.ts.map +1 -0
  387. package/script/concise/src/v2/mod.js +20 -0
  388. package/script/concise/src/v2/types.d.ts +23 -0
  389. package/script/concise/src/v2/types.d.ts.map +1 -0
  390. package/script/concise/src/v2/types.js +2 -0
  391. package/script/config/src/config/builder.d.ts +33 -0
  392. package/script/config/src/config/builder.d.ts.map +1 -0
  393. package/script/config/src/config/builder.js +86 -0
  394. package/script/config/src/config/configCheck.d.ts +32 -0
  395. package/script/config/src/config/configCheck.d.ts.map +1 -0
  396. package/script/config/src/config/configCheck.js +70 -0
  397. package/script/config/src/config/context.d.ts +23 -0
  398. package/script/config/src/config/context.d.ts.map +1 -0
  399. package/script/config/src/config/context.js +31 -0
  400. package/script/config/src/config/mod.d.ts +7 -0
  401. package/script/config/src/config/mod.d.ts.map +1 -0
  402. package/script/config/src/config/mod.js +22 -0
  403. package/script/config/src/config/parts/deployedAddresses.d.ts +17 -0
  404. package/script/config/src/config/parts/deployedAddresses.d.ts.map +1 -0
  405. package/script/config/src/config/parts/deployedAddresses.js +28 -0
  406. package/script/config/src/config/parts/network.d.ts +19 -0
  407. package/script/config/src/config/parts/network.d.ts.map +1 -0
  408. package/script/config/src/config/parts/network.js +33 -0
  409. package/script/config/src/config/parts/primitive.d.ts +31 -0
  410. package/script/config/src/config/parts/primitive.d.ts.map +1 -0
  411. package/script/config/src/config/parts/primitive.js +32 -0
  412. package/script/config/src/config/parts/securityNamespace.d.ts +14 -0
  413. package/script/config/src/config/parts/securityNamespace.d.ts.map +1 -0
  414. package/script/config/src/config/parts/securityNamespace.js +30 -0
  415. package/script/config/src/config/parts/syncProtocols.d.ts +43 -0
  416. package/script/config/src/config/parts/syncProtocols.d.ts.map +1 -0
  417. package/script/config/src/config/parts/syncProtocols.js +70 -0
  418. package/script/config/src/config/utils.d.ts +40 -0
  419. package/script/config/src/config/utils.d.ts.map +1 -0
  420. package/script/config/src/config/utils.js +62 -0
  421. package/script/config/src/mod.d.ts +3 -0
  422. package/script/config/src/mod.d.ts.map +1 -0
  423. package/script/config/src/mod.js +18 -0
  424. package/script/config/src/schema/common.d.ts +26 -0
  425. package/script/config/src/schema/common.d.ts.map +1 -0
  426. package/script/config/src/schema/common.js +54 -0
  427. package/script/config/src/schema/mod.d.ts +7 -0
  428. package/script/config/src/schema/mod.d.ts.map +1 -0
  429. package/script/config/src/schema/mod.js +22 -0
  430. package/script/config/src/schema/namespace.d.ts +39 -0
  431. package/script/config/src/schema/namespace.d.ts.map +1 -0
  432. package/script/config/src/schema/namespace.js +38 -0
  433. package/script/config/src/schema/network/algorand.d.ts +12 -0
  434. package/script/config/src/schema/network/algorand.d.ts.map +1 -0
  435. package/script/config/src/schema/network/algorand.js +26 -0
  436. package/script/config/src/schema/network/all.d.ts +175 -0
  437. package/script/config/src/schema/network/all.d.ts.map +1 -0
  438. package/script/config/src/schema/network/all.js +28 -0
  439. package/script/config/src/schema/network/bitcoin.d.ts +19 -0
  440. package/script/config/src/schema/network/bitcoin.d.ts.map +1 -0
  441. package/script/config/src/schema/network/bitcoin.js +24 -0
  442. package/script/config/src/schema/network/cardano.d.ts +12 -0
  443. package/script/config/src/schema/network/cardano.d.ts.map +1 -0
  444. package/script/config/src/schema/network/cardano.js +30 -0
  445. package/script/config/src/schema/network/evm.d.ts +68 -0
  446. package/script/config/src/schema/network/evm.d.ts.map +1 -0
  447. package/script/config/src/schema/network/evm.js +75 -0
  448. package/script/config/src/schema/network/mina.d.ts +14 -0
  449. package/script/config/src/schema/network/mina.d.ts.map +1 -0
  450. package/script/config/src/schema/network/mina.js +28 -0
  451. package/script/config/src/schema/network/mod.d.ts +9 -0
  452. package/script/config/src/schema/network/mod.d.ts.map +1 -0
  453. package/script/config/src/schema/network/mod.js +24 -0
  454. package/script/config/src/schema/network/ntp.d.ts +32 -0
  455. package/script/config/src/schema/network/ntp.d.ts.map +1 -0
  456. package/script/config/src/schema/network/ntp.js +42 -0
  457. package/script/config/src/schema/network/substrate/avail.d.ts +14 -0
  458. package/script/config/src/schema/network/substrate/avail.d.ts.map +1 -0
  459. package/script/config/src/schema/network/substrate/avail.js +29 -0
  460. package/script/config/src/schema/network/substrate/common.d.ts +18 -0
  461. package/script/config/src/schema/network/substrate/common.d.ts.map +1 -0
  462. package/script/config/src/schema/network/substrate/common.js +35 -0
  463. package/script/config/src/schema/network/substrate/midnight.d.ts +20 -0
  464. package/script/config/src/schema/network/substrate/midnight.d.ts.map +1 -0
  465. package/script/config/src/schema/network/substrate/midnight.js +35 -0
  466. package/script/config/src/schema/network/substrate/mod.d.ts +4 -0
  467. package/script/config/src/schema/network/substrate/mod.d.ts.map +1 -0
  468. package/script/config/src/schema/network/substrate/mod.js +19 -0
  469. package/script/config/src/schema/network/types.d.ts +13 -0
  470. package/script/config/src/schema/network/types.d.ts.map +1 -0
  471. package/script/config/src/schema/network/types.js +16 -0
  472. package/script/config/src/schema/network/utils.d.ts +5 -0
  473. package/script/config/src/schema/network/utils.d.ts.map +1 -0
  474. package/script/config/src/schema/network/utils.js +76 -0
  475. package/script/config/src/schema/primitive/mod.d.ts +2 -0
  476. package/script/config/src/schema/primitive/mod.d.ts.map +1 -0
  477. package/script/config/src/schema/primitive/mod.js +17 -0
  478. package/script/config/src/schema/primitive/types.d.ts +58 -0
  479. package/script/config/src/schema/primitive/types.d.ts.map +1 -0
  480. package/script/config/src/schema/primitive/types.js +2 -0
  481. package/script/config/src/schema/sync-protocols/all.d.ts +583 -0
  482. package/script/config/src/schema/sync-protocols/all.d.ts.map +1 -0
  483. package/script/config/src/schema/sync-protocols/all.js +62 -0
  484. package/script/config/src/schema/sync-protocols/avail/rpc.d.ts +76 -0
  485. package/script/config/src/schema/sync-protocols/avail/rpc.d.ts.map +1 -0
  486. package/script/config/src/schema/sync-protocols/avail/rpc.js +59 -0
  487. package/script/config/src/schema/sync-protocols/bitcoin/rpc.d.ts +76 -0
  488. package/script/config/src/schema/sync-protocols/bitcoin/rpc.d.ts.map +1 -0
  489. package/script/config/src/schema/sync-protocols/bitcoin/rpc.js +50 -0
  490. package/script/config/src/schema/sync-protocols/cardano/carp.d.ts +80 -0
  491. package/script/config/src/schema/sync-protocols/cardano/carp.d.ts.map +1 -0
  492. package/script/config/src/schema/sync-protocols/cardano/carp.js +65 -0
  493. package/script/config/src/schema/sync-protocols/cardano/mod.d.ts +2 -0
  494. package/script/config/src/schema/sync-protocols/cardano/mod.d.ts.map +1 -0
  495. package/script/config/src/schema/sync-protocols/cardano/mod.js +17 -0
  496. package/script/config/src/schema/sync-protocols/cardano/utxorpc.d.ts +56 -0
  497. package/script/config/src/schema/sync-protocols/cardano/utxorpc.d.ts.map +1 -0
  498. package/script/config/src/schema/sync-protocols/cardano/utxorpc.js +59 -0
  499. package/script/config/src/schema/sync-protocols/common.d.ts +60 -0
  500. package/script/config/src/schema/sync-protocols/common.d.ts.map +1 -0
  501. package/script/config/src/schema/sync-protocols/common.js +61 -0
  502. package/script/config/src/schema/sync-protocols/decorators/all.d.ts +17 -0
  503. package/script/config/src/schema/sync-protocols/decorators/all.d.ts.map +1 -0
  504. package/script/config/src/schema/sync-protocols/decorators/all.js +12 -0
  505. package/script/config/src/schema/sync-protocols/decorators/emulated.d.ts +8 -0
  506. package/script/config/src/schema/sync-protocols/decorators/emulated.d.ts.map +1 -0
  507. package/script/config/src/schema/sync-protocols/decorators/emulated.js +15 -0
  508. package/script/config/src/schema/sync-protocols/decorators/mod.d.ts +4 -0
  509. package/script/config/src/schema/sync-protocols/decorators/mod.d.ts.map +1 -0
  510. package/script/config/src/schema/sync-protocols/decorators/mod.js +19 -0
  511. package/script/config/src/schema/sync-protocols/decorators/types.d.ts +4 -0
  512. package/script/config/src/schema/sync-protocols/decorators/types.d.ts.map +1 -0
  513. package/script/config/src/schema/sync-protocols/decorators/types.js +7 -0
  514. package/script/config/src/schema/sync-protocols/evm/rpc.d.ts +68 -0
  515. package/script/config/src/schema/sync-protocols/evm/rpc.d.ts.map +1 -0
  516. package/script/config/src/schema/sync-protocols/evm/rpc.js +47 -0
  517. package/script/config/src/schema/sync-protocols/midnight/graphql.d.ts +66 -0
  518. package/script/config/src/schema/sync-protocols/midnight/graphql.d.ts.map +1 -0
  519. package/script/config/src/schema/sync-protocols/midnight/graphql.js +53 -0
  520. package/script/config/src/schema/sync-protocols/mina/graphql.d.ts +73 -0
  521. package/script/config/src/schema/sync-protocols/mina/graphql.d.ts.map +1 -0
  522. package/script/config/src/schema/sync-protocols/mina/graphql.js +62 -0
  523. package/script/config/src/schema/sync-protocols/mod.d.ts +10 -0
  524. package/script/config/src/schema/sync-protocols/mod.d.ts.map +1 -0
  525. package/script/config/src/schema/sync-protocols/mod.js +25 -0
  526. package/script/config/src/schema/sync-protocols/ntp/rpc.d.ts +45 -0
  527. package/script/config/src/schema/sync-protocols/ntp/rpc.d.ts.map +1 -0
  528. package/script/config/src/schema/sync-protocols/ntp/rpc.js +36 -0
  529. package/script/config/src/schema/sync-protocols/types.d.ts +125 -0
  530. package/script/config/src/schema/sync-protocols/types.d.ts.map +1 -0
  531. package/script/config/src/schema/sync-protocols/types.js +25 -0
  532. package/script/config/src/schema/utils.d.ts +53 -0
  533. package/script/config/src/schema/utils.d.ts.map +1 -0
  534. package/script/config/src/schema/utils.js +62 -0
  535. package/script/events/src/app-events.d.ts +65 -0
  536. package/script/events/src/app-events.d.ts.map +1 -0
  537. package/script/events/src/app-events.js +62 -0
  538. package/script/events/src/asyncapi.d.ts +1173 -0
  539. package/script/events/src/asyncapi.d.ts.map +1 -0
  540. package/script/events/src/asyncapi.js +8 -0
  541. package/script/events/src/builtin-event-utils.d.ts +5 -0
  542. package/script/events/src/builtin-event-utils.d.ts.map +1 -0
  543. package/script/events/src/builtin-event-utils.js +63 -0
  544. package/script/events/src/builtin-events.d.ts +106 -0
  545. package/script/events/src/builtin-events.d.ts.map +1 -0
  546. package/script/events/src/builtin-events.js +204 -0
  547. package/script/events/src/event-connect.d.ts +15 -0
  548. package/script/events/src/event-connect.d.ts.map +1 -0
  549. package/script/events/src/event-connect.js +82 -0
  550. package/script/events/src/event-manager.d.ts +54 -0
  551. package/script/events/src/event-manager.d.ts.map +1 -0
  552. package/script/events/src/event-manager.js +133 -0
  553. package/script/events/src/evm.d.ts +6 -0
  554. package/script/events/src/evm.d.ts.map +1 -0
  555. package/script/events/src/evm.js +59 -0
  556. package/script/events/src/mod.d.ts +10 -0
  557. package/script/events/src/mod.d.ts.map +1 -0
  558. package/script/events/src/mod.js +25 -0
  559. package/script/events/src/types.d.ts +255 -0
  560. package/script/events/src/types.d.ts.map +1 -0
  561. package/script/events/src/types.js +111 -0
  562. package/script/events/src/utils.d.ts +16 -0
  563. package/script/events/src/utils.d.ts.map +1 -0
  564. package/script/events/src/utils.js +98 -0
  565. package/script/package.json +3 -0
  566. package/script/utils/src/binary-search.d.ts +7 -0
  567. package/script/utils/src/binary-search.d.ts.map +1 -0
  568. package/script/utils/src/binary-search.js +41 -0
  569. package/script/utils/src/captcha.d.ts +9 -0
  570. package/script/utils/src/captcha.d.ts.map +1 -0
  571. package/script/utils/src/captcha.js +22 -0
  572. package/script/utils/src/concurrency/condVar.d.ts +25 -0
  573. package/script/utils/src/concurrency/condVar.d.ts.map +1 -0
  574. package/script/utils/src/concurrency/condVar.js +42 -0
  575. package/script/utils/src/concurrency/latch.d.ts +25 -0
  576. package/script/utils/src/concurrency/latch.d.ts.map +1 -0
  577. package/script/utils/src/concurrency/latch.js +54 -0
  578. package/script/utils/src/concurrency/mod.d.ts +5 -0
  579. package/script/utils/src/concurrency/mod.d.ts.map +1 -0
  580. package/script/utils/src/concurrency/mod.js +20 -0
  581. package/script/utils/src/concurrency/retry.d.ts +14 -0
  582. package/script/utils/src/concurrency/retry.d.ts.map +1 -0
  583. package/script/utils/src/concurrency/retry.js +30 -0
  584. package/script/utils/src/concurrency/utils.d.ts +27 -0
  585. package/script/utils/src/concurrency/utils.d.ts.map +1 -0
  586. package/script/utils/src/concurrency/utils.js +30 -0
  587. package/script/utils/src/constants.d.ts +4 -0
  588. package/script/utils/src/constants.d.ts.map +1 -0
  589. package/script/utils/src/constants.js +12 -0
  590. package/script/utils/src/decorators/bound.d.ts +10 -0
  591. package/script/utils/src/decorators/bound.d.ts.map +1 -0
  592. package/script/utils/src/decorators/bound.js +20 -0
  593. package/script/utils/src/decorators/mod.d.ts +2 -0
  594. package/script/utils/src/decorators/mod.d.ts.map +1 -0
  595. package/script/utils/src/decorators/mod.js +17 -0
  596. package/script/utils/src/mod.d.ts +8 -0
  597. package/script/utils/src/mod.d.ts.map +1 -0
  598. package/script/utils/src/mod.js +23 -0
  599. package/script/utils/src/types/json-query.d.ts +30 -0
  600. package/script/utils/src/types/json-query.d.ts.map +1 -0
  601. package/script/utils/src/types/json-query.js +2 -0
  602. package/script/utils/src/types/misc.d.ts +109 -0
  603. package/script/utils/src/types/misc.d.ts.map +1 -0
  604. package/script/utils/src/types/misc.js +3 -0
  605. package/script/utils/src/types/mod.d.ts +7 -0
  606. package/script/utils/src/types/mod.d.ts.map +1 -0
  607. package/script/utils/src/types/mod.js +19 -0
  608. package/script/utils/src/types/nominal.d.ts +87 -0
  609. package/script/utils/src/types/nominal.d.ts.map +1 -0
  610. package/script/utils/src/types/nominal.js +2 -0
  611. package/script/utils/src/types/typebox-helpers.d.ts +183 -0
  612. package/script/utils/src/types/typebox-helpers.d.ts.map +1 -0
  613. package/script/utils/src/types/typebox-helpers.js +277 -0
  614. package/script/utils/src/types/utils.d.ts +37 -0
  615. package/script/utils/src/types/utils.d.ts.map +1 -0
  616. package/script/utils/src/types/utils.js +52 -0
  617. package/script/utils/src/types/validators/algorand.d.ts +31 -0
  618. package/script/utils/src/types/validators/algorand.d.ts.map +1 -0
  619. package/script/utils/src/types/validators/algorand.js +98 -0
  620. package/script/utils/src/types/validators/cardano.d.ts +26 -0
  621. package/script/utils/src/types/validators/cardano.d.ts.map +1 -0
  622. package/script/utils/src/types/validators/cardano.js +121 -0
  623. package/script/utils/src/types/validators/mina.d.ts +15 -0
  624. package/script/utils/src/types/validators/mina.d.ts.map +1 -0
  625. package/script/utils/src/types/validators/mina.js +51 -0
  626. package/script/utils/src/types/validators/minicbor.d.ts +98 -0
  627. package/script/utils/src/types/validators/minicbor.d.ts.map +1 -0
  628. package/script/utils/src/types/validators/minicbor.js +337 -0
  629. package/script/utils/src/types/validators/mod.d.ts +3 -0
  630. package/script/utils/src/types/validators/mod.d.ts.map +1 -0
  631. package/script/utils/src/types/validators/mod.js +18 -0
  632. package/script/utils/src/types/validators/utils.d.ts +6 -0
  633. package/script/utils/src/types/validators/utils.d.ts.map +1 -0
  634. package/script/utils/src/types/validators/utils.js +31 -0
  635. package/script/utils/src/viem.d.ts +6 -0
  636. package/script/utils/src/viem.d.ts.map +1 -0
  637. package/script/utils/src/viem.js +19 -0
  638. package/script/wallets/src/IProvider.d.ts +48 -0
  639. package/script/wallets/src/IProvider.d.ts.map +1 -0
  640. package/script/wallets/src/IProvider.js +10 -0
  641. package/script/wallets/src/avail/avail.d.ts +28 -0
  642. package/script/wallets/src/avail/avail.d.ts.map +1 -0
  643. package/script/wallets/src/avail/avail.js +70 -0
  644. package/script/wallets/src/avail/wrapper.d.ts +6 -0
  645. package/script/wallets/src/avail/wrapper.d.ts.map +1 -0
  646. package/script/wallets/src/avail/wrapper.js +34 -0
  647. package/script/wallets/src/cardano/cardano.d.ts +30 -0
  648. package/script/wallets/src/cardano/cardano.d.ts.map +1 -0
  649. package/script/wallets/src/cardano/cardano.js +163 -0
  650. package/script/wallets/src/cardano/wrapper.d.ts +7 -0
  651. package/script/wallets/src/cardano/wrapper.d.ts.map +1 -0
  652. package/script/wallets/src/cardano/wrapper.js +26 -0
  653. package/script/wallets/src/evm/ethers.d.ts +28 -0
  654. package/script/wallets/src/evm/ethers.d.ts.map +1 -0
  655. package/script/wallets/src/evm/ethers.js +84 -0
  656. package/script/wallets/src/evm/injected.d.ts +74 -0
  657. package/script/wallets/src/evm/injected.d.ts.map +1 -0
  658. package/script/wallets/src/evm/injected.js +360 -0
  659. package/script/wallets/src/evm/types.d.ts +3 -0
  660. package/script/wallets/src/evm/types.d.ts.map +1 -0
  661. package/script/wallets/src/evm/types.js +4 -0
  662. package/script/wallets/src/evm/wrapper-ethers.d.ts +6 -0
  663. package/script/wallets/src/evm/wrapper-ethers.d.ts.map +1 -0
  664. package/script/wallets/src/evm/wrapper-ethers.js +41 -0
  665. package/script/wallets/src/evm/wrapper-injected.d.ts +7 -0
  666. package/script/wallets/src/evm/wrapper-injected.d.ts.map +1 -0
  667. package/script/wallets/src/evm/wrapper-injected.js +84 -0
  668. package/script/wallets/src/midnight/midnight.d.ts +26 -0
  669. package/script/wallets/src/midnight/midnight.d.ts.map +1 -0
  670. package/script/wallets/src/midnight/midnight.js +117 -0
  671. package/script/wallets/src/midnight/wrapper.d.ts +7 -0
  672. package/script/wallets/src/midnight/wrapper.d.ts.map +1 -0
  673. package/script/wallets/src/midnight/wrapper.js +26 -0
  674. package/script/wallets/src/mina/mina.d.ts +28 -0
  675. package/script/wallets/src/mina/mina.d.ts.map +1 -0
  676. package/script/wallets/src/mina/mina.js +138 -0
  677. package/script/wallets/src/mina/wrapper.d.ts +6 -0
  678. package/script/wallets/src/mina/wrapper.d.ts.map +1 -0
  679. package/script/wallets/src/mina/wrapper.js +15 -0
  680. package/script/wallets/src/mod.d.ts +8 -0
  681. package/script/wallets/src/mod.d.ts.map +1 -0
  682. package/script/wallets/src/mod.js +26 -0
  683. package/script/wallets/src/paima.d.ts +104 -0
  684. package/script/wallets/src/paima.d.ts.map +1 -0
  685. package/script/wallets/src/paima.js +253 -0
  686. package/script/wallets/src/types.d.ts +49 -0
  687. package/script/wallets/src/types.d.ts.map +1 -0
  688. package/script/wallets/src/types.js +2 -0
  689. package/script/wallets/src/utils.d.ts +41 -0
  690. package/script/wallets/src/utils.d.ts.map +1 -0
  691. package/script/wallets/src/utils.js +81 -0
  692. package/script/wallets/src/wallet-modes.d.ts +49 -0
  693. package/script/wallets/src/wallet-modes.d.ts.map +1 -0
  694. package/script/wallets/src/wallet-modes.js +29 -0
  695. package/script/wallets/src/wallets.d.ts +5 -0
  696. package/script/wallets/src/wallets.d.ts.map +1 -0
  697. package/script/wallets/src/wallets.js +58 -0
  698. package/script/wallets/src/windows.d.ts +5 -0
  699. package/script/wallets/src/windows.d.ts.map +1 -0
  700. package/script/wallets/src/windows.js +12 -0
@@ -0,0 +1,1173 @@
1
+ /**
2
+ * This file was automatically generated by json-schema-to-typescript.
3
+ * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file,
4
+ * and run json-schema-to-typescript to regenerate this file.
5
+ */
6
+ /**
7
+ * The object provides metadata about the API. The metadata can be used by the clients if needed.
8
+ */
9
+ export type Info = {
10
+ /**
11
+ * A unique and precise title of the API.
12
+ */
13
+ title: string;
14
+ /**
15
+ * A semantic version number of the API.
16
+ */
17
+ version: string;
18
+ /**
19
+ * A longer description of the API. Should be different from the title. CommonMark is allowed.
20
+ */
21
+ description?: string;
22
+ /**
23
+ * A URL to the Terms of Service for the API. MUST be in the format of a URL.
24
+ */
25
+ termsOfService?: string;
26
+ contact?: Contact;
27
+ license?: License;
28
+ /**
29
+ * A list of tags for application API documentation control. Tags can be used for logical grouping of applications.
30
+ */
31
+ tags?: (Reference | Tag)[];
32
+ externalDocs?: Reference | ExternalDocs;
33
+ } & InfoExtensions;
34
+ /**
35
+ * This extension allows you to provide the Twitter username of the account representing the team/company of the API.
36
+ */
37
+ export type ExtensionsX010Schema = string;
38
+ /**
39
+ * This extension allows you to provide the Linkedin profile URL of the account representing the team/company of the API.
40
+ */
41
+ export type ExtensionsLinkedin010Schema = string;
42
+ /**
43
+ * Defines a security scheme that can be used by the operations.
44
+ */
45
+ export type SecurityScheme = UserPassword | ApiKey | X509 | SymmetricEncryption | AsymmetricEncryption | HTTPSecurityScheme | Oauth2Flows | OpenIdConnect | SaslSecurityScheme;
46
+ export type HTTPSecurityScheme = NonBearerHTTPSecurityScheme | BearerHTTPSecurityScheme | APIKeyHTTPSecurityScheme;
47
+ export type SaslSecurityScheme = SaslPlainSecurityScheme | SaslScramSecurityScheme | SaslGssapiSecurityScheme;
48
+ /**
49
+ * An array representing security requirements.
50
+ */
51
+ export type SecurityRequirements = (Reference | SecurityScheme)[];
52
+ export type MessageExampleObject = MessageExampleObject1 & {
53
+ /**
54
+ * Machine readable name of the message example.
55
+ */
56
+ name?: string;
57
+ /**
58
+ * A brief summary of the message example.
59
+ */
60
+ summary?: string;
61
+ /**
62
+ * Example of the application headers. It can be of any type.
63
+ */
64
+ headers?: {
65
+ [k: string]: unknown;
66
+ };
67
+ /**
68
+ * Example of the message payload. It can be of any type.
69
+ */
70
+ payload?: {
71
+ [k: string]: unknown;
72
+ };
73
+ };
74
+ export type MessageExampleObject1 = {
75
+ [k: string]: unknown;
76
+ };
77
+ /**
78
+ * A declaration of which security schemes are associated with this operation. Only one of the security scheme objects MUST be satisfied to authorize an operation. In cases where Server Security also applies, it MUST also be satisfied.
79
+ */
80
+ export type Security = (Reference | SecurityScheme)[];
81
+ /**
82
+ * A list of tags for logical grouping and categorization of operations.
83
+ */
84
+ export type Tags = (Reference | Tag)[];
85
+ /**
86
+ * !!Auto generated!!
87
+ * Do not manually edit.
88
+ */
89
+ export interface AsyncAPI300Schema {
90
+ /**
91
+ * The AsyncAPI specification version of this document.
92
+ */
93
+ asyncapi: '3.0.0';
94
+ /**
95
+ * A unique id representing the application.
96
+ */
97
+ id?: string;
98
+ info: Info;
99
+ servers?: Servers;
100
+ /**
101
+ * Default content type to use when encoding/decoding a message's payload.
102
+ */
103
+ defaultContentType?: string;
104
+ channels?: Channels;
105
+ operations?: Operations;
106
+ components?: Components;
107
+ }
108
+ /**
109
+ * Contact information for the exposed API.
110
+ */
111
+ export interface Contact {
112
+ /**
113
+ * The identifying name of the contact person/organization.
114
+ */
115
+ name?: string;
116
+ /**
117
+ * The URL pointing to the contact information.
118
+ */
119
+ url?: string;
120
+ /**
121
+ * The email address of the contact person/organization.
122
+ */
123
+ email?: string;
124
+ }
125
+ /**
126
+ * Any property starting with x- is valid.
127
+ *
128
+ * This interface was referenced by `Contact`'s JSON-Schema definition
129
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
130
+ *
131
+ * This interface was referenced by `License`'s JSON-Schema definition
132
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
133
+ *
134
+ * This interface was referenced by `ExternalDocs`'s JSON-Schema definition
135
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
136
+ *
137
+ * This interface was referenced by `Tag`'s JSON-Schema definition
138
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
139
+ *
140
+ * This interface was referenced by `undefined`'s JSON-Schema definition
141
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
142
+ *
143
+ * This interface was referenced by `ServerVariable`'s JSON-Schema definition
144
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
145
+ *
146
+ * This interface was referenced by `UserPassword`'s JSON-Schema definition
147
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
148
+ *
149
+ * This interface was referenced by `ApiKey`'s JSON-Schema definition
150
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
151
+ *
152
+ * This interface was referenced by `X509`'s JSON-Schema definition
153
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
154
+ *
155
+ * This interface was referenced by `SymmetricEncryption`'s JSON-Schema definition
156
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
157
+ *
158
+ * This interface was referenced by `AsymmetricEncryption`'s JSON-Schema definition
159
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
160
+ *
161
+ * This interface was referenced by `NonBearerHTTPSecurityScheme`'s JSON-Schema definition
162
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
163
+ *
164
+ * This interface was referenced by `BearerHTTPSecurityScheme`'s JSON-Schema definition
165
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
166
+ *
167
+ * This interface was referenced by `APIKeyHTTPSecurityScheme`'s JSON-Schema definition
168
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
169
+ *
170
+ * This interface was referenced by `Oauth2Flow`'s JSON-Schema definition
171
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
172
+ *
173
+ * This interface was referenced by `Oauth2Flows`'s JSON-Schema definition
174
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
175
+ *
176
+ * This interface was referenced by `OpenIdConnect`'s JSON-Schema definition
177
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
178
+ *
179
+ * This interface was referenced by `SaslPlainSecurityScheme`'s JSON-Schema definition
180
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
181
+ *
182
+ * This interface was referenced by `SaslScramSecurityScheme`'s JSON-Schema definition
183
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
184
+ *
185
+ * This interface was referenced by `SaslGssapiSecurityScheme`'s JSON-Schema definition
186
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
187
+ *
188
+ * This interface was referenced by `ServerBindingsObject`'s JSON-Schema definition
189
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
190
+ *
191
+ * This interface was referenced by `Server`'s JSON-Schema definition
192
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
193
+ *
194
+ * This interface was referenced by `CorrelationId`'s JSON-Schema definition
195
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
196
+ *
197
+ * This interface was referenced by `MessageBindingsObject`'s JSON-Schema definition
198
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
199
+ *
200
+ * This interface was referenced by `MessageTrait`'s JSON-Schema definition
201
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
202
+ *
203
+ * This interface was referenced by `MessageObject`'s JSON-Schema definition
204
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
205
+ *
206
+ * This interface was referenced by `Parameter`'s JSON-Schema definition
207
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
208
+ *
209
+ * This interface was referenced by `ChannelBindingsObject`'s JSON-Schema definition
210
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
211
+ *
212
+ * This interface was referenced by `Channel`'s JSON-Schema definition
213
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
214
+ *
215
+ * This interface was referenced by `OperationReplyAddress`'s JSON-Schema definition
216
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
217
+ *
218
+ * This interface was referenced by `OperationReply`'s JSON-Schema definition
219
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
220
+ *
221
+ * This interface was referenced by `OperationBindingsObject`'s JSON-Schema definition
222
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
223
+ *
224
+ * This interface was referenced by `OperationTrait`'s JSON-Schema definition
225
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
226
+ *
227
+ * This interface was referenced by `Operation`'s JSON-Schema definition
228
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
229
+ *
230
+ * This interface was referenced by `Components`'s JSON-Schema definition
231
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
232
+ *
233
+ * This interface was referenced by `AsyncAPI300Schema`'s JSON-Schema definition
234
+ * via the `patternProperty` "^x-[\w\d\.\x2d_]+$".
235
+ */
236
+ export interface SpecificationExtension {
237
+ [k: string]: unknown;
238
+ }
239
+ export interface License {
240
+ /**
241
+ * The name of the license type. It's encouraged to use an OSI compatible license.
242
+ */
243
+ name: string;
244
+ /**
245
+ * The URL pointing to the license.
246
+ */
247
+ url?: string;
248
+ }
249
+ /**
250
+ * A simple object to allow referencing other components in the specification, internally and externally.
251
+ */
252
+ export interface Reference {
253
+ /**
254
+ * The reference string.
255
+ */
256
+ $ref: string;
257
+ }
258
+ /**
259
+ * Allows adding metadata to a single tag.
260
+ */
261
+ export interface Tag {
262
+ /**
263
+ * The name of the tag.
264
+ */
265
+ name: string;
266
+ /**
267
+ * A short description for the tag. CommonMark syntax can be used for rich text representation.
268
+ */
269
+ description?: string;
270
+ externalDocs?: Reference | ExternalDocs;
271
+ }
272
+ /**
273
+ * Allows referencing an external resource for extended documentation.
274
+ */
275
+ export interface ExternalDocs {
276
+ /**
277
+ * A short description of the target documentation. CommonMark syntax can be used for rich text representation.
278
+ */
279
+ description?: string;
280
+ /**
281
+ * The URL for the target documentation. This MUST be in the form of an absolute URL.
282
+ */
283
+ url: string;
284
+ }
285
+ /**
286
+ * The object that lists all the extensions of Info
287
+ */
288
+ export interface InfoExtensions {
289
+ 'x-x'?: ExtensionsX010Schema;
290
+ 'x-linkedin'?: ExtensionsLinkedin010Schema;
291
+ [k: string]: unknown;
292
+ }
293
+ /**
294
+ * An object representing multiple servers.
295
+ */
296
+ export interface Servers {
297
+ [k: string]: Reference | Server;
298
+ }
299
+ /**
300
+ * An object representing a message broker, a server or any other kind of computer program capable of sending and/or receiving data.
301
+ */
302
+ export interface Server {
303
+ /**
304
+ * The server host name. It MAY include the port. This field supports Server Variables. Variable substitutions will be made when a variable is named in {braces}.
305
+ */
306
+ host: string;
307
+ /**
308
+ * The path to a resource in the host. This field supports Server Variables. Variable substitutions will be made when a variable is named in {braces}.
309
+ */
310
+ pathname?: string;
311
+ /**
312
+ * A human-friendly title for the server.
313
+ */
314
+ title?: string;
315
+ /**
316
+ * A brief summary of the server.
317
+ */
318
+ summary?: string;
319
+ /**
320
+ * A longer description of the server. CommonMark is allowed.
321
+ */
322
+ description?: string;
323
+ /**
324
+ * The protocol this server supports for connection.
325
+ */
326
+ protocol: string;
327
+ /**
328
+ * An optional string describing the server. CommonMark syntax MAY be used for rich text representation.
329
+ */
330
+ protocolVersion?: string;
331
+ variables?: ServerVariables;
332
+ security?: SecurityRequirements;
333
+ tags?: (Reference | Tag)[];
334
+ externalDocs?: Reference | ExternalDocs;
335
+ bindings?: Reference | ServerBindingsObject;
336
+ }
337
+ export interface ServerVariables {
338
+ [k: string]: Reference | ServerVariable;
339
+ }
340
+ /**
341
+ * An object representing a Server Variable for server URL template substitution.
342
+ */
343
+ export interface ServerVariable {
344
+ /**
345
+ * An enumeration of string values to be used if the substitution options are from a limited set.
346
+ */
347
+ enum?: string[];
348
+ /**
349
+ * The default value to use for substitution, and to send, if an alternate value is not supplied.
350
+ */
351
+ default?: string;
352
+ /**
353
+ * An optional description for the server variable. CommonMark syntax MAY be used for rich text representation.
354
+ */
355
+ description?: string;
356
+ /**
357
+ * An array of examples of the server variable.
358
+ */
359
+ examples?: string[];
360
+ }
361
+ export interface UserPassword {
362
+ type: 'userPassword';
363
+ description?: string;
364
+ }
365
+ export interface ApiKey {
366
+ /**
367
+ * The type of the security scheme
368
+ */
369
+ type: 'apiKey';
370
+ /**
371
+ * The location of the API key.
372
+ */
373
+ in: 'user' | 'password';
374
+ /**
375
+ * A short description for security scheme. CommonMark syntax MAY be used for rich text representation.
376
+ */
377
+ description?: string;
378
+ }
379
+ export interface X509 {
380
+ type: 'X509';
381
+ description?: string;
382
+ }
383
+ export interface SymmetricEncryption {
384
+ type: 'symmetricEncryption';
385
+ description?: string;
386
+ }
387
+ export interface AsymmetricEncryption {
388
+ /**
389
+ * The type of the security scheme.
390
+ */
391
+ type: 'asymmetricEncryption';
392
+ /**
393
+ * A short description for security scheme.
394
+ */
395
+ description?: string;
396
+ }
397
+ export interface NonBearerHTTPSecurityScheme {
398
+ /**
399
+ * The name of the HTTP Authorization scheme to be used in the Authorization header as defined in RFC7235.
400
+ */
401
+ scheme: string;
402
+ /**
403
+ * A short description for security scheme.
404
+ */
405
+ description?: string;
406
+ /**
407
+ * The type of the security scheme.
408
+ */
409
+ type: 'http';
410
+ }
411
+ export interface BearerHTTPSecurityScheme {
412
+ /**
413
+ * The name of the HTTP Authorization scheme to be used in the Authorization header as defined in RFC7235.
414
+ */
415
+ scheme: 'bearer';
416
+ /**
417
+ * A hint to the client to identify how the bearer token is formatted. Bearer tokens are usually generated by an authorization server, so this information is primarily for documentation purposes.
418
+ */
419
+ bearerFormat?: string;
420
+ /**
421
+ * The type of the security scheme.
422
+ */
423
+ type: 'http';
424
+ /**
425
+ * A short description for security scheme. CommonMark syntax MAY be used for rich text representation.
426
+ */
427
+ description?: string;
428
+ }
429
+ export interface APIKeyHTTPSecurityScheme {
430
+ /**
431
+ * The type of the security scheme.
432
+ */
433
+ type: 'httpApiKey';
434
+ /**
435
+ * The name of the header, query or cookie parameter to be used.
436
+ */
437
+ name: string;
438
+ /**
439
+ * The location of the API key
440
+ */
441
+ in: 'header' | 'query' | 'cookie';
442
+ /**
443
+ * A short description for security scheme. CommonMark syntax MAY be used for rich text representation.
444
+ */
445
+ description?: string;
446
+ }
447
+ /**
448
+ * Allows configuration of the supported OAuth Flows.
449
+ */
450
+ export interface Oauth2Flows {
451
+ /**
452
+ * The type of the security scheme.
453
+ */
454
+ type: 'oauth2';
455
+ /**
456
+ * A short description for security scheme.
457
+ */
458
+ description?: string;
459
+ flows: {
460
+ /**
461
+ * Configuration for the OAuth Implicit flow.
462
+ */
463
+ implicit?: Oauth2Flow & {
464
+ [k: string]: unknown;
465
+ };
466
+ /**
467
+ * Configuration for the OAuth Resource Owner Protected Credentials flow.
468
+ */
469
+ password?: Oauth2Flow & {
470
+ [k: string]: unknown;
471
+ };
472
+ /**
473
+ * Configuration for the OAuth Client Credentials flow.
474
+ */
475
+ clientCredentials?: Oauth2Flow & {
476
+ [k: string]: unknown;
477
+ };
478
+ /**
479
+ * Configuration for the OAuth Authorization Code flow.
480
+ */
481
+ authorizationCode?: Oauth2Flow & {
482
+ [k: string]: unknown;
483
+ };
484
+ };
485
+ /**
486
+ * List of the needed scope names.
487
+ */
488
+ scopes?: string[];
489
+ }
490
+ /**
491
+ * Configuration details for a supported OAuth Flow
492
+ */
493
+ export interface Oauth2Flow {
494
+ /**
495
+ * The authorization URL to be used for this flow. This MUST be in the form of an absolute URL.
496
+ */
497
+ authorizationUrl?: string;
498
+ /**
499
+ * The token URL to be used for this flow. This MUST be in the form of an absolute URL.
500
+ */
501
+ tokenUrl?: string;
502
+ /**
503
+ * The URL to be used for obtaining refresh tokens. This MUST be in the form of an absolute URL.
504
+ */
505
+ refreshUrl?: string;
506
+ availableScopes?: Oauth2Scopes;
507
+ }
508
+ /**
509
+ * The available scopes for the OAuth2 security scheme. A map between the scope name and a short description for it.
510
+ */
511
+ export interface Oauth2Scopes {
512
+ [k: string]: string;
513
+ }
514
+ export interface OpenIdConnect {
515
+ /**
516
+ * The type of the security scheme.
517
+ */
518
+ type: 'openIdConnect';
519
+ /**
520
+ * A short description for security scheme. CommonMark syntax MAY be used for rich text representation.
521
+ */
522
+ description?: string;
523
+ /**
524
+ * OpenId Connect URL to discover OAuth2 configuration values. This MUST be in the form of an absolute URL.
525
+ */
526
+ openIdConnectUrl: string;
527
+ /**
528
+ * List of the needed scope names. An empty array means no scopes are needed.
529
+ */
530
+ scopes?: string[];
531
+ }
532
+ export interface SaslPlainSecurityScheme {
533
+ /**
534
+ * The type of the security scheme. Valid values
535
+ */
536
+ type: 'plain';
537
+ /**
538
+ * A short description for security scheme.
539
+ */
540
+ description?: string;
541
+ }
542
+ export interface SaslScramSecurityScheme {
543
+ /**
544
+ * The type of the security scheme.
545
+ */
546
+ type: 'scramSha256' | 'scramSha512';
547
+ /**
548
+ * A short description for security scheme.
549
+ */
550
+ description?: string;
551
+ }
552
+ export interface SaslGssapiSecurityScheme {
553
+ /**
554
+ * The type of the security scheme.
555
+ */
556
+ type: 'gssapi';
557
+ /**
558
+ * A short description for security scheme.
559
+ */
560
+ description?: string;
561
+ }
562
+ /**
563
+ * Map describing protocol-specific definitions for a server.
564
+ */
565
+ export interface ServerBindingsObject {
566
+ http?: unknown;
567
+ ws?: unknown;
568
+ amqp?: unknown;
569
+ amqp1?: unknown;
570
+ mqtt?: {
571
+ [k: string]: unknown;
572
+ };
573
+ kafka?: {
574
+ [k: string]: unknown;
575
+ };
576
+ anypointmq?: unknown;
577
+ nats?: unknown;
578
+ jms?: {
579
+ [k: string]: unknown;
580
+ };
581
+ sns?: unknown;
582
+ sqs?: unknown;
583
+ stomp?: unknown;
584
+ redis?: unknown;
585
+ ibmmq?: {
586
+ [k: string]: unknown;
587
+ };
588
+ solace?: {
589
+ [k: string]: unknown;
590
+ };
591
+ googlepubsub?: unknown;
592
+ pulsar?: {
593
+ [k: string]: unknown;
594
+ };
595
+ }
596
+ /**
597
+ * An object containing all the Channel Object definitions the Application MUST use during runtime.
598
+ */
599
+ export interface Channels {
600
+ [k: string]: Reference | Channel;
601
+ }
602
+ /**
603
+ * Describes a shared communication channel.
604
+ */
605
+ export interface Channel {
606
+ /**
607
+ * An optional string representation of this channel's address. The address is typically the "topic name", "routing key", "event type", or "path". When `null` or absent, it MUST be interpreted as unknown. This is useful when the address is generated dynamically at runtime or can't be known upfront. It MAY contain Channel Address Expressions.
608
+ */
609
+ address?: string | null;
610
+ messages?: ChannelMessages;
611
+ parameters?: Parameters;
612
+ /**
613
+ * A human-friendly title for the channel.
614
+ */
615
+ title?: string;
616
+ /**
617
+ * A brief summary of the channel.
618
+ */
619
+ summary?: string;
620
+ /**
621
+ * A longer description of the channel. CommonMark is allowed.
622
+ */
623
+ description?: string;
624
+ /**
625
+ * The references of the servers on which this channel is available. If absent or empty then this channel must be available on all servers.
626
+ */
627
+ servers?: Reference[];
628
+ /**
629
+ * A list of tags for logical grouping of channels.
630
+ */
631
+ tags?: (Reference | Tag)[];
632
+ externalDocs?: Reference | ExternalDocs;
633
+ bindings?: Reference | ChannelBindingsObject;
634
+ }
635
+ /**
636
+ * A map of the messages that will be sent to this channel by any application at any time. **Every message sent to this channel MUST be valid against one, and only one, of the message objects defined in this map.**
637
+ */
638
+ export interface ChannelMessages {
639
+ [k: string]: Reference | MessageObject;
640
+ }
641
+ /**
642
+ * Describes a message received on a given channel and operation.
643
+ */
644
+ export interface MessageObject {
645
+ /**
646
+ * The content type to use when encoding/decoding a message's payload. The value MUST be a specific media type (e.g. application/json). When omitted, the value MUST be the one specified on the defaultContentType field.
647
+ */
648
+ contentType?: string;
649
+ headers?: AnySchema;
650
+ payload?: AnySchema;
651
+ correlationId?: Reference | CorrelationId;
652
+ tags?: (Reference | Tag)[];
653
+ /**
654
+ * A brief summary of the message.
655
+ */
656
+ summary?: string;
657
+ /**
658
+ * Name of the message.
659
+ */
660
+ name?: string;
661
+ /**
662
+ * A human-friendly title for the message.
663
+ */
664
+ title?: string;
665
+ /**
666
+ * A longer description of the message. CommonMark is allowed.
667
+ */
668
+ description?: string;
669
+ externalDocs?: Reference | ExternalDocs;
670
+ deprecated?: boolean;
671
+ /**
672
+ * List of examples.
673
+ */
674
+ examples?: MessageExampleObject[];
675
+ bindings?: Reference | MessageBindingsObject;
676
+ /**
677
+ * A list of traits to apply to the message object. Traits MUST be merged using traits merge mechanism. The resulting object MUST be a valid Message Object.
678
+ */
679
+ traits?: (Reference | MessageTrait | [] | [Reference | MessageTrait] | [
680
+ Reference | MessageTrait,
681
+ {
682
+ [k: string]: unknown;
683
+ }
684
+ ])[];
685
+ }
686
+ /**
687
+ * An object representing either a schema or a multiFormatSchema based on the existence of the 'schema' property. If the property 'schema' is present, use the multi-format schema. Use the default AsyncAPI Schema otherwise.
688
+ *
689
+ * This interface was referenced by `undefined`'s JSON-Schema definition
690
+ * via the `patternProperty` "^[\w\d\.\-_]+$".
691
+ */
692
+ export interface AnySchema {
693
+ [k: string]: unknown;
694
+ }
695
+ /**
696
+ * An object that specifies an identifier at design time that can used for message tracing and correlation.
697
+ */
698
+ export interface CorrelationId {
699
+ /**
700
+ * A optional description of the correlation ID. GitHub Flavored Markdown is allowed.
701
+ */
702
+ description?: string;
703
+ /**
704
+ * A runtime expression that specifies the location of the correlation ID
705
+ */
706
+ location: string;
707
+ }
708
+ /**
709
+ * Map describing protocol-specific definitions for a message.
710
+ */
711
+ export interface MessageBindingsObject {
712
+ http?: {
713
+ [k: string]: unknown;
714
+ };
715
+ ws?: unknown;
716
+ amqp?: {
717
+ [k: string]: unknown;
718
+ };
719
+ amqp1?: unknown;
720
+ mqtt?: {
721
+ [k: string]: unknown;
722
+ };
723
+ kafka?: {
724
+ [k: string]: unknown;
725
+ };
726
+ anypointmq?: {
727
+ [k: string]: unknown;
728
+ };
729
+ nats?: unknown;
730
+ jms?: {
731
+ [k: string]: unknown;
732
+ };
733
+ sns?: unknown;
734
+ sqs?: unknown;
735
+ stomp?: unknown;
736
+ redis?: unknown;
737
+ ibmmq?: {
738
+ [k: string]: unknown;
739
+ };
740
+ solace?: unknown;
741
+ googlepubsub?: {
742
+ [k: string]: unknown;
743
+ };
744
+ }
745
+ /**
746
+ * Describes a trait that MAY be applied to a Message Object. This object MAY contain any property from the Message Object, except payload and traits.
747
+ */
748
+ export interface MessageTrait {
749
+ /**
750
+ * The content type to use when encoding/decoding a message's payload. The value MUST be a specific media type (e.g. application/json). When omitted, the value MUST be the one specified on the defaultContentType field.
751
+ */
752
+ contentType?: string;
753
+ headers?: AnySchema;
754
+ correlationId?: Reference | CorrelationId;
755
+ tags?: (Reference | Tag)[];
756
+ /**
757
+ * A brief summary of the message.
758
+ */
759
+ summary?: string;
760
+ /**
761
+ * Name of the message.
762
+ */
763
+ name?: string;
764
+ /**
765
+ * A human-friendly title for the message.
766
+ */
767
+ title?: string;
768
+ /**
769
+ * A longer description of the message. CommonMark is allowed.
770
+ */
771
+ description?: string;
772
+ externalDocs?: Reference | ExternalDocs;
773
+ deprecated?: boolean;
774
+ /**
775
+ * List of examples.
776
+ */
777
+ examples?: MessageExampleObject[];
778
+ bindings?: Reference | MessageBindingsObject;
779
+ }
780
+ /**
781
+ * JSON objects describing re-usable channel parameters.
782
+ */
783
+ export interface Parameters {
784
+ [k: string]: Reference | Parameter;
785
+ }
786
+ /**
787
+ * Describes a parameter included in a channel address.
788
+ */
789
+ export interface Parameter {
790
+ /**
791
+ * A brief description of the parameter. This could contain examples of use. GitHub Flavored Markdown is allowed.
792
+ */
793
+ description?: string;
794
+ /**
795
+ * An enumeration of string values to be used if the substitution options are from a limited set.
796
+ */
797
+ enum?: string[];
798
+ /**
799
+ * The default value to use for substitution, and to send, if an alternate value is not supplied.
800
+ */
801
+ default?: string;
802
+ /**
803
+ * An array of examples of the parameter value.
804
+ */
805
+ examples?: string[];
806
+ /**
807
+ * A runtime expression that specifies the location of the parameter value
808
+ */
809
+ location?: string;
810
+ }
811
+ /**
812
+ * Map describing protocol-specific definitions for a channel.
813
+ */
814
+ export interface ChannelBindingsObject {
815
+ http?: unknown;
816
+ ws?: {
817
+ [k: string]: unknown;
818
+ };
819
+ amqp?: {
820
+ [k: string]: unknown;
821
+ };
822
+ amqp1?: unknown;
823
+ mqtt?: unknown;
824
+ kafka?: {
825
+ [k: string]: unknown;
826
+ };
827
+ anypointmq?: {
828
+ [k: string]: unknown;
829
+ };
830
+ nats?: unknown;
831
+ jms?: {
832
+ [k: string]: unknown;
833
+ };
834
+ sns?: {
835
+ [k: string]: unknown;
836
+ };
837
+ sqs?: {
838
+ [k: string]: unknown;
839
+ };
840
+ stomp?: unknown;
841
+ redis?: unknown;
842
+ ibmmq?: {
843
+ [k: string]: unknown;
844
+ };
845
+ solace?: unknown;
846
+ googlepubsub?: {
847
+ [k: string]: unknown;
848
+ };
849
+ pulsar?: {
850
+ [k: string]: unknown;
851
+ };
852
+ }
853
+ /**
854
+ * Holds a dictionary with all the operations this application MUST implement.
855
+ */
856
+ export interface Operations {
857
+ [k: string]: Reference | Operation;
858
+ }
859
+ /**
860
+ * Describes a specific operation.
861
+ */
862
+ export interface Operation {
863
+ /**
864
+ * Allowed values are send and receive. Use send when it's expected that the application will send a message to the given channel, and receive when the application should expect receiving messages from the given channel.
865
+ */
866
+ action: 'send' | 'receive';
867
+ channel: Reference;
868
+ /**
869
+ * A list of $ref pointers pointing to the supported Message Objects that can be processed by this operation. It MUST contain a subset of the messages defined in the channel referenced in this operation. Every message processed by this operation MUST be valid against one, and only one, of the message objects referenced in this list. Please note the messages property value MUST be a list of Reference Objects and, therefore, MUST NOT contain Message Objects. However, it is RECOMMENDED that parsers (or other software) dereference this property for a better development experience.
870
+ */
871
+ messages?: Reference[];
872
+ reply?: Reference | OperationReply;
873
+ /**
874
+ * A list of traits to apply to the operation object. Traits MUST be merged using traits merge mechanism. The resulting object MUST be a valid Operation Object.
875
+ */
876
+ traits?: (Reference | OperationTrait)[];
877
+ /**
878
+ * A human-friendly title for the operation.
879
+ */
880
+ title?: string;
881
+ /**
882
+ * A brief summary of the operation.
883
+ */
884
+ summary?: string;
885
+ /**
886
+ * A longer description of the operation. CommonMark is allowed.
887
+ */
888
+ description?: string;
889
+ security?: SecurityRequirements;
890
+ /**
891
+ * A list of tags for logical grouping and categorization of operations.
892
+ */
893
+ tags?: (Reference | Tag)[];
894
+ externalDocs?: Reference | ExternalDocs;
895
+ bindings?: Reference | OperationBindingsObject;
896
+ }
897
+ /**
898
+ * Describes the reply part that MAY be applied to an Operation Object. If an operation implements the request/reply pattern, the reply object represents the response message.
899
+ */
900
+ export interface OperationReply {
901
+ address?: Reference | OperationReplyAddress;
902
+ channel?: Reference;
903
+ /**
904
+ * A list of $ref pointers pointing to the supported Message Objects that can be processed by this operation as reply. It MUST contain a subset of the messages defined in the channel referenced in this operation reply. Every message processed by this operation MUST be valid against one, and only one, of the message objects referenced in this list. Please note the messages property value MUST be a list of Reference Objects and, therefore, MUST NOT contain Message Objects. However, it is RECOMMENDED that parsers (or other software) dereference this property for a better development experience.
905
+ */
906
+ messages?: Reference[];
907
+ }
908
+ /**
909
+ * An object that specifies where an operation has to send the reply
910
+ */
911
+ export interface OperationReplyAddress {
912
+ /**
913
+ * A runtime expression that specifies the location of the reply address.
914
+ */
915
+ location: string;
916
+ /**
917
+ * An optional description of the address. CommonMark is allowed.
918
+ */
919
+ description?: string;
920
+ }
921
+ /**
922
+ * Describes a trait that MAY be applied to an Operation Object. This object MAY contain any property from the Operation Object, except the action, channel and traits ones.
923
+ */
924
+ export interface OperationTrait {
925
+ /**
926
+ * A human-friendly title for the operation.
927
+ */
928
+ title?: string;
929
+ /**
930
+ * A short summary of what the operation is about.
931
+ */
932
+ summary?: string;
933
+ /**
934
+ * A verbose explanation of the operation. CommonMark syntax can be used for rich text representation.
935
+ */
936
+ description?: string;
937
+ security?: Security;
938
+ tags?: Tags;
939
+ /**
940
+ * Additional external documentation for this operation.
941
+ */
942
+ externalDocs?: Reference | ExternalDocs;
943
+ /**
944
+ * A map where the keys describe the name of the protocol and the values describe protocol-specific definitions for the operation.
945
+ */
946
+ bindings?: Reference | OperationBindingsObject;
947
+ }
948
+ /**
949
+ * Map describing protocol-specific definitions for an operation.
950
+ */
951
+ export interface OperationBindingsObject {
952
+ http?: {
953
+ [k: string]: unknown;
954
+ };
955
+ ws?: unknown;
956
+ amqp?: {
957
+ [k: string]: unknown;
958
+ };
959
+ amqp1?: unknown;
960
+ mqtt?: {
961
+ [k: string]: unknown;
962
+ };
963
+ kafka?: {
964
+ [k: string]: unknown;
965
+ };
966
+ anypointmq?: unknown;
967
+ nats?: {
968
+ [k: string]: unknown;
969
+ };
970
+ jms?: unknown;
971
+ sns?: {
972
+ [k: string]: unknown;
973
+ };
974
+ sqs?: {
975
+ [k: string]: unknown;
976
+ };
977
+ stomp?: unknown;
978
+ redis?: unknown;
979
+ ibmmq?: unknown;
980
+ solace?: {
981
+ [k: string]: unknown;
982
+ };
983
+ googlepubsub?: unknown;
984
+ }
985
+ /**
986
+ * An object to hold a set of reusable objects for different aspects of the AsyncAPI specification. All objects defined within the components object will have no effect on the API unless they are explicitly referenced from properties outside the components object.
987
+ */
988
+ export interface Components {
989
+ /**
990
+ * An object to hold reusable Schema Object. If this is a Schema Object, then the schemaFormat will be assumed to be 'application/vnd.aai.asyncapi+json;version=asyncapi' where the version is equal to the AsyncAPI Version String.
991
+ */
992
+ schemas?: {
993
+ [k: string]: AnySchema;
994
+ };
995
+ /**
996
+ * An object to hold reusable Server Objects.
997
+ */
998
+ servers?: {
999
+ /**
1000
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1001
+ * via the `patternProperty` "^[\w\d\.\-_]+$".
1002
+ */
1003
+ [k: string]: Reference | Server;
1004
+ };
1005
+ /**
1006
+ * An object to hold reusable Channel Objects.
1007
+ */
1008
+ channels?: {
1009
+ /**
1010
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1011
+ * via the `patternProperty` "^[\w\d\.\-_]+$".
1012
+ */
1013
+ [k: string]: Reference | Channel;
1014
+ };
1015
+ /**
1016
+ * An object to hold reusable Server Variable Objects.
1017
+ */
1018
+ serverVariables?: {
1019
+ /**
1020
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1021
+ * via the `patternProperty` "^[\w\d\.\-_]+$".
1022
+ */
1023
+ [k: string]: Reference | ServerVariable;
1024
+ };
1025
+ operations?: {
1026
+ /**
1027
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1028
+ * via the `patternProperty` "^[\w\d\.\-_]+$".
1029
+ */
1030
+ [k: string]: Reference | Operation;
1031
+ };
1032
+ /**
1033
+ * An object to hold reusable Message Objects.
1034
+ */
1035
+ messages?: {
1036
+ /**
1037
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1038
+ * via the `patternProperty` "^[\w\d\.\-_]+$".
1039
+ */
1040
+ [k: string]: Reference | MessageObject;
1041
+ };
1042
+ /**
1043
+ * An object to hold reusable Security Scheme Objects.
1044
+ */
1045
+ securitySchemes?: {
1046
+ /**
1047
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1048
+ * via the `patternProperty` "^[\w\d\.\-_]+$".
1049
+ */
1050
+ [k: string]: Reference | SecurityScheme;
1051
+ };
1052
+ /**
1053
+ * An object to hold reusable Parameter Objects.
1054
+ */
1055
+ parameters?: {
1056
+ /**
1057
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1058
+ * via the `patternProperty` "^[\w\d\.\-_]+$".
1059
+ */
1060
+ [k: string]: Reference | Parameter;
1061
+ };
1062
+ /**
1063
+ * An object to hold reusable Correlation ID Objects.
1064
+ */
1065
+ correlationIds?: {
1066
+ /**
1067
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1068
+ * via the `patternProperty` "^[\w\d\.\-_]+$".
1069
+ */
1070
+ [k: string]: Reference | CorrelationId;
1071
+ };
1072
+ /**
1073
+ * An object to hold reusable Operation Trait Objects.
1074
+ */
1075
+ operationTraits?: {
1076
+ /**
1077
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1078
+ * via the `patternProperty` "^[\w\d\.\-_]+$".
1079
+ */
1080
+ [k: string]: Reference | OperationTrait;
1081
+ };
1082
+ /**
1083
+ * An object to hold reusable Message Trait Objects.
1084
+ */
1085
+ messageTraits?: {
1086
+ /**
1087
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1088
+ * via the `patternProperty` "^[\w\d\.\-_]+$".
1089
+ */
1090
+ [k: string]: Reference | MessageTrait;
1091
+ };
1092
+ /**
1093
+ * An object to hold reusable Operation Reply Objects.
1094
+ */
1095
+ replies?: {
1096
+ /**
1097
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1098
+ * via the `patternProperty` "^[\w\d\.\-_]+$".
1099
+ */
1100
+ [k: string]: Reference | OperationReply;
1101
+ };
1102
+ /**
1103
+ * An object to hold reusable Operation Reply Address Objects.
1104
+ */
1105
+ replyAddresses?: {
1106
+ /**
1107
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1108
+ * via the `patternProperty` "^[\w\d\.\-_]+$".
1109
+ */
1110
+ [k: string]: Reference | OperationReplyAddress;
1111
+ };
1112
+ /**
1113
+ * An object to hold reusable Server Bindings Objects.
1114
+ */
1115
+ serverBindings?: {
1116
+ /**
1117
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1118
+ * via the `patternProperty` "^[\w\d\.\-_]+$".
1119
+ */
1120
+ [k: string]: Reference | ServerBindingsObject;
1121
+ };
1122
+ /**
1123
+ * An object to hold reusable Channel Bindings Objects.
1124
+ */
1125
+ channelBindings?: {
1126
+ /**
1127
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1128
+ * via the `patternProperty` "^[\w\d\.\-_]+$".
1129
+ */
1130
+ [k: string]: Reference | ChannelBindingsObject;
1131
+ };
1132
+ /**
1133
+ * An object to hold reusable Operation Bindings Objects.
1134
+ */
1135
+ operationBindings?: {
1136
+ /**
1137
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1138
+ * via the `patternProperty` "^[\w\d\.\-_]+$".
1139
+ */
1140
+ [k: string]: Reference | OperationBindingsObject;
1141
+ };
1142
+ /**
1143
+ * An object to hold reusable Message Bindings Objects.
1144
+ */
1145
+ messageBindings?: {
1146
+ /**
1147
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1148
+ * via the `patternProperty` "^[\w\d\.\-_]+$".
1149
+ */
1150
+ [k: string]: Reference | MessageBindingsObject;
1151
+ };
1152
+ /**
1153
+ * An object to hold reusable Tag Objects.
1154
+ */
1155
+ tags?: {
1156
+ /**
1157
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1158
+ * via the `patternProperty` "^[\w\d\.\-_]+$".
1159
+ */
1160
+ [k: string]: Reference | Tag;
1161
+ };
1162
+ /**
1163
+ * An object to hold reusable External Documentation Objects.
1164
+ */
1165
+ externalDocs?: {
1166
+ /**
1167
+ * This interface was referenced by `undefined`'s JSON-Schema definition
1168
+ * via the `patternProperty` "^[\w\d\.\-_]+$".
1169
+ */
1170
+ [k: string]: Reference | ExternalDocs;
1171
+ };
1172
+ }
1173
+ //# sourceMappingURL=asyncapi.d.ts.map