bitbadgesjs-sdk 0.3.85 → 0.3.87

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 (917) hide show
  1. package/dist/address-converter/converter.js +54 -39
  2. package/dist/address-converter/converter.js.map +1 -1
  3. package/dist/address-converter/index.js +17 -1
  4. package/dist/address-converter/index.js.map +1 -1
  5. package/dist/api-indexer/BitBadgesAddressList.js +36 -25
  6. package/dist/api-indexer/BitBadgesAddressList.js.map +1 -1
  7. package/dist/api-indexer/BitBadgesApi.js +577 -565
  8. package/dist/api-indexer/BitBadgesApi.js.map +1 -1
  9. package/dist/api-indexer/BitBadgesCollection.js +138 -130
  10. package/dist/api-indexer/BitBadgesCollection.js.map +1 -1
  11. package/dist/api-indexer/BitBadgesUserInfo.js +45 -36
  12. package/dist/api-indexer/BitBadgesUserInfo.js.map +1 -1
  13. package/dist/api-indexer/base.js +14 -6
  14. package/dist/api-indexer/base.js.map +1 -1
  15. package/dist/api-indexer/docs/activity.js +24 -16
  16. package/dist/api-indexer/docs/activity.js.map +1 -1
  17. package/dist/api-indexer/docs/docs.d.ts +1 -1
  18. package/dist/api-indexer/docs/docs.d.ts.map +1 -1
  19. package/dist/api-indexer/docs/docs.js +159 -122
  20. package/dist/api-indexer/docs/docs.js.map +1 -1
  21. package/dist/api-indexer/docs/index.js +20 -4
  22. package/dist/api-indexer/docs/index.js.map +1 -1
  23. package/dist/api-indexer/docs/interfaces.js +5 -2
  24. package/dist/api-indexer/docs/interfaces.js.map +1 -1
  25. package/dist/api-indexer/index.js +24 -8
  26. package/dist/api-indexer/index.js.map +1 -1
  27. package/dist/api-indexer/metadata/badgeMetadata.js +51 -23
  28. package/dist/api-indexer/metadata/badgeMetadata.js.map +1 -1
  29. package/dist/api-indexer/metadata/index.js +19 -3
  30. package/dist/api-indexer/metadata/index.js.map +1 -1
  31. package/dist/api-indexer/metadata/metadata.js +10 -6
  32. package/dist/api-indexer/metadata/metadata.js.map +1 -1
  33. package/dist/api-indexer/metadata/metadataIds.js +26 -18
  34. package/dist/api-indexer/metadata/metadataIds.js.map +1 -1
  35. package/dist/api-indexer/requests/blockin.js +23 -15
  36. package/dist/api-indexer/requests/blockin.js.map +1 -1
  37. package/dist/api-indexer/requests/collections.js +40 -28
  38. package/dist/api-indexer/requests/collections.js.map +1 -1
  39. package/dist/api-indexer/requests/index.js +20 -4
  40. package/dist/api-indexer/requests/index.js.map +1 -1
  41. package/dist/api-indexer/requests/maps.js +20 -14
  42. package/dist/api-indexer/requests/maps.js.map +1 -1
  43. package/dist/api-indexer/requests/requests.d.ts +3 -3
  44. package/dist/api-indexer/requests/requests.d.ts.map +1 -1
  45. package/dist/api-indexer/requests/requests.js +164 -105
  46. package/dist/api-indexer/requests/requests.js.map +1 -1
  47. package/dist/api-indexer/requests/routes.js +5 -1
  48. package/dist/api-indexer/requests/routes.js.map +1 -1
  49. package/dist/auth/auth.js +6 -2
  50. package/dist/auth/auth.js.map +1 -1
  51. package/dist/auth/index.js +17 -1
  52. package/dist/auth/index.js.map +1 -1
  53. package/dist/chain-drivers/BtcDriver.js +6 -3
  54. package/dist/chain-drivers/BtcDriver.js.map +1 -1
  55. package/dist/chain-drivers/CosmosDriver.js +9 -6
  56. package/dist/chain-drivers/CosmosDriver.js.map +1 -1
  57. package/dist/chain-drivers/EthDriver.js +8 -5
  58. package/dist/chain-drivers/EthDriver.js.map +1 -1
  59. package/dist/chain-drivers/SolDriver.js +11 -5
  60. package/dist/chain-drivers/SolDriver.js.map +1 -1
  61. package/dist/chain-drivers/verifySig.d.ts +1 -1
  62. package/dist/chain-drivers/verifySig.js +19 -11
  63. package/dist/chain-drivers/verifySig.js.map +1 -1
  64. package/dist/common/base.js +26 -14
  65. package/dist/common/base.js.map +1 -1
  66. package/dist/common/constants.js +7 -4
  67. package/dist/common/constants.js.map +1 -1
  68. package/dist/common/index.js +21 -5
  69. package/dist/common/index.js.map +1 -1
  70. package/dist/common/math.js +28 -13
  71. package/dist/common/math.js.map +1 -1
  72. package/dist/common/string-numbers.js +11 -4
  73. package/dist/common/string-numbers.js.map +1 -1
  74. package/dist/common/typed-arrays.js +5 -1
  75. package/dist/common/typed-arrays.js.map +1 -1
  76. package/dist/common/types.js +5 -2
  77. package/dist/common/types.js.map +1 -1
  78. package/dist/core/addressLists.js +18 -14
  79. package/dist/core/addressLists.js.map +1 -1
  80. package/dist/core/addressLists.spec.js +28 -24
  81. package/dist/core/addressLists.spec.js.map +1 -1
  82. package/dist/core/aliases.js +20 -10
  83. package/dist/core/aliases.js.map +1 -1
  84. package/dist/core/approval-utils.js +43 -33
  85. package/dist/core/approval-utils.js.map +1 -1
  86. package/dist/core/approvals.js +204 -153
  87. package/dist/core/approvals.js.map +1 -1
  88. package/dist/core/balances.js +140 -93
  89. package/dist/core/balances.js.map +1 -1
  90. package/dist/core/balances.spec.js +36 -34
  91. package/dist/core/balances.spec.js.map +1 -1
  92. package/dist/core/batch-utils.js +19 -14
  93. package/dist/core/batch-utils.js.map +1 -1
  94. package/dist/core/batch-utils.spec.js +13 -11
  95. package/dist/core/batch-utils.spec.js.map +1 -1
  96. package/dist/core/blockin.d.ts +0 -1
  97. package/dist/core/blockin.d.ts.map +1 -1
  98. package/dist/core/blockin.js +29 -38
  99. package/dist/core/blockin.js.map +1 -1
  100. package/dist/core/coin.js +7 -3
  101. package/dist/core/coin.js.map +1 -1
  102. package/dist/core/index.js +32 -16
  103. package/dist/core/index.js.map +1 -1
  104. package/dist/core/misc.js +317 -255
  105. package/dist/core/misc.js.map +1 -1
  106. package/dist/core/overlaps.js +70 -58
  107. package/dist/core/overlaps.js.map +1 -1
  108. package/dist/core/permission-utils.js +26 -22
  109. package/dist/core/permission-utils.js.map +1 -1
  110. package/dist/core/permissions.d.ts +1 -1
  111. package/dist/core/permissions.d.ts.map +1 -1
  112. package/dist/core/permissions.js +211 -171
  113. package/dist/core/permissions.js.map +1 -1
  114. package/dist/core/secrets.js +12 -7
  115. package/dist/core/secrets.js.map +1 -1
  116. package/dist/core/timelines.js +31 -17
  117. package/dist/core/timelines.js.map +1 -1
  118. package/dist/core/transfers.js +104 -69
  119. package/dist/core/transfers.js.map +1 -1
  120. package/dist/core/transfers.spec.js +17 -15
  121. package/dist/core/transfers.spec.js.map +1 -1
  122. package/dist/core/uintRanges.js +53 -25
  123. package/dist/core/uintRanges.js.map +1 -1
  124. package/dist/core/uintRanges.spec.js +12 -10
  125. package/dist/core/uintRanges.spec.js.map +1 -1
  126. package/dist/core/userBalances.js +51 -23
  127. package/dist/core/userBalances.js.map +1 -1
  128. package/dist/core/validate-utils.js +38 -33
  129. package/dist/core/validate-utils.js.map +1 -1
  130. package/dist/index.d.ts +0 -1
  131. package/dist/index.d.ts.map +1 -1
  132. package/dist/index.js +23 -8
  133. package/dist/index.js.map +1 -1
  134. package/dist/interfaces/badges/approvals.js +2 -1
  135. package/dist/interfaces/badges/core.js +2 -1
  136. package/dist/interfaces/badges/index.js +20 -4
  137. package/dist/interfaces/badges/index.js.map +1 -1
  138. package/dist/interfaces/badges/permissions.js +2 -1
  139. package/dist/interfaces/badges/userBalances.js +2 -1
  140. package/dist/interfaces/index.js +18 -2
  141. package/dist/interfaces/index.js.map +1 -1
  142. package/dist/node-rest-api/account.js +5 -1
  143. package/dist/node-rest-api/account.js.map +1 -1
  144. package/dist/node-rest-api/balances.js +5 -1
  145. package/dist/node-rest-api/balances.js.map +1 -1
  146. package/dist/node-rest-api/broadcast.js +9 -4
  147. package/dist/node-rest-api/broadcast.js.map +1 -1
  148. package/dist/node-rest-api/gov.js +9 -4
  149. package/dist/node-rest-api/gov.js.map +1 -1
  150. package/dist/node-rest-api/ibc.js +5 -1
  151. package/dist/node-rest-api/ibc.js.map +1 -1
  152. package/dist/node-rest-api/index.js +22 -6
  153. package/dist/node-rest-api/index.js.map +1 -1
  154. package/dist/node-rest-api/staking.js +11 -4
  155. package/dist/node-rest-api/staking.js.map +1 -1
  156. package/dist/proto/amino/amino_pb.js +9 -6
  157. package/dist/proto/amino/amino_pb.js.map +1 -1
  158. package/dist/proto/anchor/genesis_pb.js +14 -10
  159. package/dist/proto/anchor/genesis_pb.js.map +1 -1
  160. package/dist/proto/anchor/index.js +21 -5
  161. package/dist/proto/anchor/index.js.map +1 -1
  162. package/dist/proto/anchor/packet_pb.js +16 -11
  163. package/dist/proto/anchor/packet_pb.js.map +1 -1
  164. package/dist/proto/anchor/params_pb.js +10 -6
  165. package/dist/proto/anchor/params_pb.js.map +1 -1
  166. package/dist/proto/anchor/query_pb.js +32 -25
  167. package/dist/proto/anchor/query_pb.js.map +1 -1
  168. package/dist/proto/anchor/tx_pb.js +28 -21
  169. package/dist/proto/anchor/tx_pb.js.map +1 -1
  170. package/dist/proto/badges/address_lists_pb.js +10 -6
  171. package/dist/proto/badges/address_lists_pb.js.map +1 -1
  172. package/dist/proto/badges/balances_pb.js +22 -16
  173. package/dist/proto/badges/balances_pb.js.map +1 -1
  174. package/dist/proto/badges/collections_pb.js +23 -19
  175. package/dist/proto/badges/collections_pb.js.map +1 -1
  176. package/dist/proto/badges/genesis_pb.js +19 -15
  177. package/dist/proto/badges/genesis_pb.js.map +1 -1
  178. package/dist/proto/badges/index.js +29 -13
  179. package/dist/proto/badges/index.js.map +1 -1
  180. package/dist/proto/badges/legacytx_pb.js +164 -142
  181. package/dist/proto/badges/legacytx_pb.js.map +1 -1
  182. package/dist/proto/badges/metadata_pb.js +24 -18
  183. package/dist/proto/badges/metadata_pb.js.map +1 -1
  184. package/dist/proto/badges/packet_pb.js +16 -11
  185. package/dist/proto/badges/packet_pb.js.map +1 -1
  186. package/dist/proto/badges/params_pb.js +10 -6
  187. package/dist/proto/badges/params_pb.js.map +1 -1
  188. package/dist/proto/badges/permissions_pb.js +87 -75
  189. package/dist/proto/badges/permissions_pb.js.map +1 -1
  190. package/dist/proto/badges/query_pb.js +85 -70
  191. package/dist/proto/badges/query_pb.js.map +1 -1
  192. package/dist/proto/badges/timelines_pb.js +65 -54
  193. package/dist/proto/badges/timelines_pb.js.map +1 -1
  194. package/dist/proto/badges/transfers_pb.js +158 -133
  195. package/dist/proto/badges/transfers_pb.js.map +1 -1
  196. package/dist/proto/badges/tx_pb.js +148 -128
  197. package/dist/proto/badges/tx_pb.js.map +1 -1
  198. package/dist/proto/bitcoin/index.js +17 -1
  199. package/dist/proto/bitcoin/index.js.map +1 -1
  200. package/dist/proto/bitcoin/web3_pb.js +11 -7
  201. package/dist/proto/bitcoin/web3_pb.js.map +1 -1
  202. package/dist/proto/cosmos/app/index.js +28 -2
  203. package/dist/proto/cosmos/app/index.js.map +1 -1
  204. package/dist/proto/cosmos/app/runtime/index.js +27 -1
  205. package/dist/proto/cosmos/app/runtime/index.js.map +1 -1
  206. package/dist/proto/cosmos/app/runtime/v1alpha1/index.js +17 -1
  207. package/dist/proto/cosmos/app/runtime/v1alpha1/index.js.map +1 -1
  208. package/dist/proto/cosmos/app/runtime/v1alpha1/module_pb.js +16 -11
  209. package/dist/proto/cosmos/app/runtime/v1alpha1/module_pb.js.map +1 -1
  210. package/dist/proto/cosmos/app/v1alpha1/config_pb.js +23 -17
  211. package/dist/proto/cosmos/app/v1alpha1/config_pb.js.map +1 -1
  212. package/dist/proto/cosmos/app/v1alpha1/index.js +19 -3
  213. package/dist/proto/cosmos/app/v1alpha1/index.js.map +1 -1
  214. package/dist/proto/cosmos/app/v1alpha1/module_pb.js +23 -17
  215. package/dist/proto/cosmos/app/v1alpha1/module_pb.js.map +1 -1
  216. package/dist/proto/cosmos/app/v1alpha1/query_pb.js +18 -13
  217. package/dist/proto/cosmos/app/v1alpha1/query_pb.js.map +1 -1
  218. package/dist/proto/cosmos/auth/index.js +28 -2
  219. package/dist/proto/cosmos/auth/index.js.map +1 -1
  220. package/dist/proto/cosmos/auth/module/index.js +27 -1
  221. package/dist/proto/cosmos/auth/module/index.js.map +1 -1
  222. package/dist/proto/cosmos/auth/module/v1/index.js +17 -1
  223. package/dist/proto/cosmos/auth/module/v1/index.js.map +1 -1
  224. package/dist/proto/cosmos/auth/module/v1/module_pb.js +16 -11
  225. package/dist/proto/cosmos/auth/module/v1/module_pb.js.map +1 -1
  226. package/dist/proto/cosmos/auth/v1beta1/auth_pb.js +36 -29
  227. package/dist/proto/cosmos/auth/v1beta1/auth_pb.js.map +1 -1
  228. package/dist/proto/cosmos/auth/v1beta1/genesis_pb.js +13 -9
  229. package/dist/proto/cosmos/auth/v1beta1/genesis_pb.js.map +1 -1
  230. package/dist/proto/cosmos/auth/v1beta1/index.js +20 -4
  231. package/dist/proto/cosmos/auth/v1beta1/index.js.map +1 -1
  232. package/dist/proto/cosmos/auth/v1beta1/query_pb.js +136 -113
  233. package/dist/proto/cosmos/auth/v1beta1/query_pb.js.map +1 -1
  234. package/dist/proto/cosmos/auth/v1beta1/tx_pb.js +18 -13
  235. package/dist/proto/cosmos/auth/v1beta1/tx_pb.js.map +1 -1
  236. package/dist/proto/cosmos/authz/index.js +28 -2
  237. package/dist/proto/cosmos/authz/index.js.map +1 -1
  238. package/dist/proto/cosmos/authz/module/index.js +27 -1
  239. package/dist/proto/cosmos/authz/module/index.js.map +1 -1
  240. package/dist/proto/cosmos/authz/module/v1/index.js +17 -1
  241. package/dist/proto/cosmos/authz/module/v1/index.js.map +1 -1
  242. package/dist/proto/cosmos/authz/module/v1/module_pb.js +10 -6
  243. package/dist/proto/cosmos/authz/module/v1/module_pb.js.map +1 -1
  244. package/dist/proto/cosmos/authz/v1beta1/authz_pb.js +32 -25
  245. package/dist/proto/cosmos/authz/v1beta1/authz_pb.js.map +1 -1
  246. package/dist/proto/cosmos/authz/v1beta1/event_pb.js +16 -11
  247. package/dist/proto/cosmos/authz/v1beta1/event_pb.js.map +1 -1
  248. package/dist/proto/cosmos/authz/v1beta1/genesis_pb.js +12 -8
  249. package/dist/proto/cosmos/authz/v1beta1/genesis_pb.js.map +1 -1
  250. package/dist/proto/cosmos/authz/v1beta1/index.js +21 -5
  251. package/dist/proto/cosmos/authz/v1beta1/index.js.map +1 -1
  252. package/dist/proto/cosmos/authz/v1beta1/query_pb.js +51 -42
  253. package/dist/proto/cosmos/authz/v1beta1/query_pb.js.map +1 -1
  254. package/dist/proto/cosmos/authz/v1beta1/tx_pb.js +43 -34
  255. package/dist/proto/cosmos/authz/v1beta1/tx_pb.js.map +1 -1
  256. package/dist/proto/cosmos/autocli/index.js +27 -1
  257. package/dist/proto/cosmos/autocli/index.js.map +1 -1
  258. package/dist/proto/cosmos/autocli/v1/index.js +18 -2
  259. package/dist/proto/cosmos/autocli/v1/index.js.map +1 -1
  260. package/dist/proto/cosmos/autocli/v1/options_pb.js +34 -26
  261. package/dist/proto/cosmos/autocli/v1/options_pb.js.map +1 -1
  262. package/dist/proto/cosmos/autocli/v1/query_pb.js +18 -13
  263. package/dist/proto/cosmos/autocli/v1/query_pb.js.map +1 -1
  264. package/dist/proto/cosmos/bank/index.js +28 -2
  265. package/dist/proto/cosmos/bank/index.js.map +1 -1
  266. package/dist/proto/cosmos/bank/module/index.js +27 -1
  267. package/dist/proto/cosmos/bank/module/index.js.map +1 -1
  268. package/dist/proto/cosmos/bank/module/v1/index.js +17 -1
  269. package/dist/proto/cosmos/bank/module/v1/index.js.map +1 -1
  270. package/dist/proto/cosmos/bank/module/v1/module_pb.js +10 -6
  271. package/dist/proto/cosmos/bank/module/v1/module_pb.js.map +1 -1
  272. package/dist/proto/cosmos/bank/v1beta1/authz_pb.js +12 -8
  273. package/dist/proto/cosmos/bank/v1beta1/authz_pb.js.map +1 -1
  274. package/dist/proto/cosmos/bank/v1beta1/bank_pb.js +50 -40
  275. package/dist/proto/cosmos/bank/v1beta1/bank_pb.js.map +1 -1
  276. package/dist/proto/cosmos/bank/v1beta1/genesis_pb.js +23 -18
  277. package/dist/proto/cosmos/bank/v1beta1/genesis_pb.js.map +1 -1
  278. package/dist/proto/cosmos/bank/v1beta1/index.js +21 -5
  279. package/dist/proto/cosmos/bank/v1beta1/index.js.map +1 -1
  280. package/dist/proto/cosmos/bank/v1beta1/query_pb.js +168 -142
  281. package/dist/proto/cosmos/bank/v1beta1/query_pb.js.map +1 -1
  282. package/dist/proto/cosmos/bank/v1beta1/tx_pb.js +59 -48
  283. package/dist/proto/cosmos/bank/v1beta1/tx_pb.js.map +1 -1
  284. package/dist/proto/cosmos/base/abci/index.js +27 -1
  285. package/dist/proto/cosmos/base/abci/index.js.map +1 -1
  286. package/dist/proto/cosmos/base/abci/v1beta1/abci_pb.js +80 -67
  287. package/dist/proto/cosmos/base/abci/v1beta1/abci_pb.js.map +1 -1
  288. package/dist/proto/cosmos/base/abci/v1beta1/index.js +17 -1
  289. package/dist/proto/cosmos/base/abci/v1beta1/index.js.map +1 -1
  290. package/dist/proto/cosmos/base/index.js +35 -9
  291. package/dist/proto/cosmos/base/index.js.map +1 -1
  292. package/dist/proto/cosmos/base/kv/index.js +27 -1
  293. package/dist/proto/cosmos/base/kv/index.js.map +1 -1
  294. package/dist/proto/cosmos/base/kv/v1beta1/index.js +17 -1
  295. package/dist/proto/cosmos/base/kv/v1beta1/index.js.map +1 -1
  296. package/dist/proto/cosmos/base/kv/v1beta1/kv_pb.js +16 -11
  297. package/dist/proto/cosmos/base/kv/v1beta1/kv_pb.js.map +1 -1
  298. package/dist/proto/cosmos/base/node/index.js +27 -1
  299. package/dist/proto/cosmos/base/node/index.js.map +1 -1
  300. package/dist/proto/cosmos/base/node/v1beta1/index.js +17 -1
  301. package/dist/proto/cosmos/base/node/v1beta1/index.js.map +1 -1
  302. package/dist/proto/cosmos/base/node/v1beta1/query_pb.js +16 -11
  303. package/dist/proto/cosmos/base/node/v1beta1/query_pb.js.map +1 -1
  304. package/dist/proto/cosmos/base/query/index.js +27 -1
  305. package/dist/proto/cosmos/base/query/index.js.map +1 -1
  306. package/dist/proto/cosmos/base/query/v1beta1/index.js +17 -1
  307. package/dist/proto/cosmos/base/query/v1beta1/index.js.map +1 -1
  308. package/dist/proto/cosmos/base/query/v1beta1/pagination_pb.js +19 -14
  309. package/dist/proto/cosmos/base/query/v1beta1/pagination_pb.js.map +1 -1
  310. package/dist/proto/cosmos/base/reflection/index.js +28 -2
  311. package/dist/proto/cosmos/base/reflection/index.js.map +1 -1
  312. package/dist/proto/cosmos/base/reflection/v1beta1/index.js +17 -1
  313. package/dist/proto/cosmos/base/reflection/v1beta1/index.js.map +1 -1
  314. package/dist/proto/cosmos/base/reflection/v1beta1/reflection_pb.js +28 -21
  315. package/dist/proto/cosmos/base/reflection/v1beta1/reflection_pb.js.map +1 -1
  316. package/dist/proto/cosmos/base/reflection/v2alpha1/index.js +17 -1
  317. package/dist/proto/cosmos/base/reflection/v2alpha1/index.js.map +1 -1
  318. package/dist/proto/cosmos/base/reflection/v2alpha1/reflection_pb.js +160 -131
  319. package/dist/proto/cosmos/base/reflection/v2alpha1/reflection_pb.js.map +1 -1
  320. package/dist/proto/cosmos/base/snapshots/index.js +27 -1
  321. package/dist/proto/cosmos/base/snapshots/index.js.map +1 -1
  322. package/dist/proto/cosmos/base/snapshots/v1beta1/index.js +17 -1
  323. package/dist/proto/cosmos/base/snapshots/v1beta1/index.js.map +1 -1
  324. package/dist/proto/cosmos/base/snapshots/v1beta1/snapshot_pb.js +60 -48
  325. package/dist/proto/cosmos/base/snapshots/v1beta1/snapshot_pb.js.map +1 -1
  326. package/dist/proto/cosmos/base/store/index.js +27 -1
  327. package/dist/proto/cosmos/base/store/index.js.map +1 -1
  328. package/dist/proto/cosmos/base/store/v1beta1/commit_info_pb.js +25 -19
  329. package/dist/proto/cosmos/base/store/v1beta1/commit_info_pb.js.map +1 -1
  330. package/dist/proto/cosmos/base/store/v1beta1/index.js +19 -3
  331. package/dist/proto/cosmos/base/store/v1beta1/index.js.map +1 -1
  332. package/dist/proto/cosmos/base/store/v1beta1/listening_pb.js +30 -24
  333. package/dist/proto/cosmos/base/store/v1beta1/listening_pb.js.map +1 -1
  334. package/dist/proto/cosmos/base/store/v1beta1/snapshot_pb.js +23 -17
  335. package/dist/proto/cosmos/base/store/v1beta1/snapshot_pb.js.map +1 -1
  336. package/dist/proto/cosmos/base/tendermint/index.js +27 -1
  337. package/dist/proto/cosmos/base/tendermint/index.js.map +1 -1
  338. package/dist/proto/cosmos/base/tendermint/v1beta1/index.js +18 -2
  339. package/dist/proto/cosmos/base/tendermint/v1beta1/index.js.map +1 -1
  340. package/dist/proto/cosmos/base/tendermint/v1beta1/query_pb.js +144 -122
  341. package/dist/proto/cosmos/base/tendermint/v1beta1/query_pb.js.map +1 -1
  342. package/dist/proto/cosmos/base/tendermint/v1beta1/types_pb.js +26 -21
  343. package/dist/proto/cosmos/base/tendermint/v1beta1/types_pb.js.map +1 -1
  344. package/dist/proto/cosmos/base/v1beta1/coin_pb.js +28 -21
  345. package/dist/proto/cosmos/base/v1beta1/coin_pb.js.map +1 -1
  346. package/dist/proto/cosmos/base/v1beta1/index.js +17 -1
  347. package/dist/proto/cosmos/base/v1beta1/index.js.map +1 -1
  348. package/dist/proto/cosmos/capability/index.js +28 -2
  349. package/dist/proto/cosmos/capability/index.js.map +1 -1
  350. package/dist/proto/cosmos/capability/module/index.js +27 -1
  351. package/dist/proto/cosmos/capability/module/index.js.map +1 -1
  352. package/dist/proto/cosmos/capability/module/v1/index.js +17 -1
  353. package/dist/proto/cosmos/capability/module/v1/index.js.map +1 -1
  354. package/dist/proto/cosmos/capability/module/v1/module_pb.js +10 -6
  355. package/dist/proto/cosmos/capability/module/v1/module_pb.js.map +1 -1
  356. package/dist/proto/cosmos/capability/v1beta1/capability_pb.js +23 -17
  357. package/dist/proto/cosmos/capability/v1beta1/capability_pb.js.map +1 -1
  358. package/dist/proto/cosmos/capability/v1beta1/genesis_pb.js +20 -15
  359. package/dist/proto/cosmos/capability/v1beta1/genesis_pb.js.map +1 -1
  360. package/dist/proto/cosmos/capability/v1beta1/index.js +18 -2
  361. package/dist/proto/cosmos/capability/v1beta1/index.js.map +1 -1
  362. package/dist/proto/cosmos/consensus/index.js +28 -2
  363. package/dist/proto/cosmos/consensus/index.js.map +1 -1
  364. package/dist/proto/cosmos/consensus/module/index.js +27 -1
  365. package/dist/proto/cosmos/consensus/module/index.js.map +1 -1
  366. package/dist/proto/cosmos/consensus/module/v1/index.js +17 -1
  367. package/dist/proto/cosmos/consensus/module/v1/index.js.map +1 -1
  368. package/dist/proto/cosmos/consensus/module/v1/module_pb.js +10 -6
  369. package/dist/proto/cosmos/consensus/module/v1/module_pb.js.map +1 -1
  370. package/dist/proto/cosmos/consensus/v1/index.js +18 -2
  371. package/dist/proto/cosmos/consensus/v1/index.js.map +1 -1
  372. package/dist/proto/cosmos/consensus/v1/query_pb.js +18 -13
  373. package/dist/proto/cosmos/consensus/v1/query_pb.js.map +1 -1
  374. package/dist/proto/cosmos/consensus/v1/tx_pb.js +20 -15
  375. package/dist/proto/cosmos/consensus/v1/tx_pb.js.map +1 -1
  376. package/dist/proto/cosmos/crisis/index.js +28 -2
  377. package/dist/proto/cosmos/crisis/index.js.map +1 -1
  378. package/dist/proto/cosmos/crisis/module/index.js +27 -1
  379. package/dist/proto/cosmos/crisis/module/index.js.map +1 -1
  380. package/dist/proto/cosmos/crisis/module/v1/index.js +17 -1
  381. package/dist/proto/cosmos/crisis/module/v1/index.js.map +1 -1
  382. package/dist/proto/cosmos/crisis/module/v1/module_pb.js +10 -6
  383. package/dist/proto/cosmos/crisis/module/v1/module_pb.js.map +1 -1
  384. package/dist/proto/cosmos/crisis/v1beta1/genesis_pb.js +12 -8
  385. package/dist/proto/cosmos/crisis/v1beta1/genesis_pb.js.map +1 -1
  386. package/dist/proto/cosmos/crisis/v1beta1/index.js +18 -2
  387. package/dist/proto/cosmos/crisis/v1beta1/index.js.map +1 -1
  388. package/dist/proto/cosmos/crisis/v1beta1/tx_pb.js +30 -23
  389. package/dist/proto/cosmos/crisis/v1beta1/tx_pb.js.map +1 -1
  390. package/dist/proto/cosmos/crypto/ed25519/index.js +17 -1
  391. package/dist/proto/cosmos/crypto/ed25519/index.js.map +1 -1
  392. package/dist/proto/cosmos/crypto/ed25519/keys_pb.js +16 -11
  393. package/dist/proto/cosmos/crypto/ed25519/keys_pb.js.map +1 -1
  394. package/dist/proto/cosmos/crypto/hd/index.js +27 -1
  395. package/dist/proto/cosmos/crypto/hd/index.js.map +1 -1
  396. package/dist/proto/cosmos/crypto/hd/v1/hd_pb.js +10 -6
  397. package/dist/proto/cosmos/crypto/hd/v1/hd_pb.js.map +1 -1
  398. package/dist/proto/cosmos/crypto/hd/v1/index.js +17 -1
  399. package/dist/proto/cosmos/crypto/hd/v1/index.js.map +1 -1
  400. package/dist/proto/cosmos/crypto/index.js +32 -6
  401. package/dist/proto/cosmos/crypto/index.js.map +1 -1
  402. package/dist/proto/cosmos/crypto/keyring/index.js +27 -1
  403. package/dist/proto/cosmos/crypto/keyring/index.js.map +1 -1
  404. package/dist/proto/cosmos/crypto/keyring/v1/index.js +17 -1
  405. package/dist/proto/cosmos/crypto/keyring/v1/index.js.map +1 -1
  406. package/dist/proto/cosmos/crypto/keyring/v1/record_pb.js +38 -30
  407. package/dist/proto/cosmos/crypto/keyring/v1/record_pb.js.map +1 -1
  408. package/dist/proto/cosmos/crypto/multisig/index.js +31 -2
  409. package/dist/proto/cosmos/crypto/multisig/index.js.map +1 -1
  410. package/dist/proto/cosmos/crypto/multisig/keys_pb.js +11 -7
  411. package/dist/proto/cosmos/crypto/multisig/keys_pb.js.map +1 -1
  412. package/dist/proto/cosmos/crypto/multisig/v1beta1/index.js +17 -1
  413. package/dist/proto/cosmos/crypto/multisig/v1beta1/index.js.map +1 -1
  414. package/dist/proto/cosmos/crypto/multisig/v1beta1/multisig_pb.js +16 -11
  415. package/dist/proto/cosmos/crypto/multisig/v1beta1/multisig_pb.js.map +1 -1
  416. package/dist/proto/cosmos/crypto/secp256k1/index.js +17 -1
  417. package/dist/proto/cosmos/crypto/secp256k1/index.js.map +1 -1
  418. package/dist/proto/cosmos/crypto/secp256k1/keys_pb.js +16 -11
  419. package/dist/proto/cosmos/crypto/secp256k1/keys_pb.js.map +1 -1
  420. package/dist/proto/cosmos/crypto/secp256r1/index.js +17 -1
  421. package/dist/proto/cosmos/crypto/secp256r1/index.js.map +1 -1
  422. package/dist/proto/cosmos/crypto/secp256r1/keys_pb.js +16 -11
  423. package/dist/proto/cosmos/crypto/secp256r1/keys_pb.js.map +1 -1
  424. package/dist/proto/cosmos/distribution/index.js +28 -2
  425. package/dist/proto/cosmos/distribution/index.js.map +1 -1
  426. package/dist/proto/cosmos/distribution/module/index.js +27 -1
  427. package/dist/proto/cosmos/distribution/module/index.js.map +1 -1
  428. package/dist/proto/cosmos/distribution/module/v1/index.js +17 -1
  429. package/dist/proto/cosmos/distribution/module/v1/index.js.map +1 -1
  430. package/dist/proto/cosmos/distribution/module/v1/module_pb.js +10 -6
  431. package/dist/proto/cosmos/distribution/module/v1/module_pb.js.map +1 -1
  432. package/dist/proto/cosmos/distribution/v1beta1/distribution_pb.js +88 -73
  433. package/dist/proto/cosmos/distribution/v1beta1/distribution_pb.js.map +1 -1
  434. package/dist/proto/cosmos/distribution/v1beta1/genesis_pb.js +65 -54
  435. package/dist/proto/cosmos/distribution/v1beta1/genesis_pb.js.map +1 -1
  436. package/dist/proto/cosmos/distribution/v1beta1/index.js +20 -4
  437. package/dist/proto/cosmos/distribution/v1beta1/index.js.map +1 -1
  438. package/dist/proto/cosmos/distribution/v1beta1/query_pb.js +141 -118
  439. package/dist/proto/cosmos/distribution/v1beta1/query_pb.js.map +1 -1
  440. package/dist/proto/cosmos/distribution/v1beta1/tx_pb.js +83 -68
  441. package/dist/proto/cosmos/distribution/v1beta1/tx_pb.js.map +1 -1
  442. package/dist/proto/cosmos/evidence/index.js +28 -2
  443. package/dist/proto/cosmos/evidence/index.js.map +1 -1
  444. package/dist/proto/cosmos/evidence/module/index.js +27 -1
  445. package/dist/proto/cosmos/evidence/module/index.js.map +1 -1
  446. package/dist/proto/cosmos/evidence/module/v1/index.js +17 -1
  447. package/dist/proto/cosmos/evidence/module/v1/index.js.map +1 -1
  448. package/dist/proto/cosmos/evidence/module/v1/module_pb.js +10 -6
  449. package/dist/proto/cosmos/evidence/module/v1/module_pb.js.map +1 -1
  450. package/dist/proto/cosmos/evidence/v1beta1/evidence_pb.js +13 -9
  451. package/dist/proto/cosmos/evidence/v1beta1/evidence_pb.js.map +1 -1
  452. package/dist/proto/cosmos/evidence/v1beta1/genesis_pb.js +11 -7
  453. package/dist/proto/cosmos/evidence/v1beta1/genesis_pb.js.map +1 -1
  454. package/dist/proto/cosmos/evidence/v1beta1/index.js +20 -4
  455. package/dist/proto/cosmos/evidence/v1beta1/index.js.map +1 -1
  456. package/dist/proto/cosmos/evidence/v1beta1/query_pb.js +33 -26
  457. package/dist/proto/cosmos/evidence/v1beta1/query_pb.js.map +1 -1
  458. package/dist/proto/cosmos/evidence/v1beta1/tx_pb.js +17 -12
  459. package/dist/proto/cosmos/evidence/v1beta1/tx_pb.js.map +1 -1
  460. package/dist/proto/cosmos/feegrant/index.js +28 -2
  461. package/dist/proto/cosmos/feegrant/index.js.map +1 -1
  462. package/dist/proto/cosmos/feegrant/module/index.js +27 -1
  463. package/dist/proto/cosmos/feegrant/module/index.js.map +1 -1
  464. package/dist/proto/cosmos/feegrant/module/v1/index.js +17 -1
  465. package/dist/proto/cosmos/feegrant/module/v1/index.js.map +1 -1
  466. package/dist/proto/cosmos/feegrant/module/v1/module_pb.js +10 -6
  467. package/dist/proto/cosmos/feegrant/module/v1/module_pb.js.map +1 -1
  468. package/dist/proto/cosmos/feegrant/v1beta1/feegrant_pb.js +37 -30
  469. package/dist/proto/cosmos/feegrant/v1beta1/feegrant_pb.js.map +1 -1
  470. package/dist/proto/cosmos/feegrant/v1beta1/genesis_pb.js +12 -8
  471. package/dist/proto/cosmos/feegrant/v1beta1/genesis_pb.js.map +1 -1
  472. package/dist/proto/cosmos/feegrant/v1beta1/index.js +20 -4
  473. package/dist/proto/cosmos/feegrant/v1beta1/index.js.map +1 -1
  474. package/dist/proto/cosmos/feegrant/v1beta1/query_pb.js +49 -40
  475. package/dist/proto/cosmos/feegrant/v1beta1/query_pb.js.map +1 -1
  476. package/dist/proto/cosmos/feegrant/v1beta1/tx_pb.js +29 -22
  477. package/dist/proto/cosmos/feegrant/v1beta1/tx_pb.js.map +1 -1
  478. package/dist/proto/cosmos/genutil/index.js +28 -2
  479. package/dist/proto/cosmos/genutil/index.js.map +1 -1
  480. package/dist/proto/cosmos/genutil/module/index.js +27 -1
  481. package/dist/proto/cosmos/genutil/module/index.js.map +1 -1
  482. package/dist/proto/cosmos/genutil/module/v1/index.js +17 -1
  483. package/dist/proto/cosmos/genutil/module/v1/index.js.map +1 -1
  484. package/dist/proto/cosmos/genutil/module/v1/module_pb.js +10 -6
  485. package/dist/proto/cosmos/genutil/module/v1/module_pb.js.map +1 -1
  486. package/dist/proto/cosmos/genutil/v1beta1/genesis_pb.js +10 -6
  487. package/dist/proto/cosmos/genutil/v1beta1/genesis_pb.js.map +1 -1
  488. package/dist/proto/cosmos/genutil/v1beta1/index.js +17 -1
  489. package/dist/proto/cosmos/genutil/v1beta1/index.js.map +1 -1
  490. package/dist/proto/cosmos/gov/index.js +29 -3
  491. package/dist/proto/cosmos/gov/index.js.map +1 -1
  492. package/dist/proto/cosmos/gov/module/index.js +27 -1
  493. package/dist/proto/cosmos/gov/module/index.js.map +1 -1
  494. package/dist/proto/cosmos/gov/module/v1/index.js +17 -1
  495. package/dist/proto/cosmos/gov/module/v1/index.js.map +1 -1
  496. package/dist/proto/cosmos/gov/module/v1/module_pb.js +11 -7
  497. package/dist/proto/cosmos/gov/module/v1/module_pb.js.map +1 -1
  498. package/dist/proto/cosmos/gov/v1/genesis_pb.js +19 -15
  499. package/dist/proto/cosmos/gov/v1/genesis_pb.js.map +1 -1
  500. package/dist/proto/cosmos/gov/v1/gov_pb.js +83 -71
  501. package/dist/proto/cosmos/gov/v1/gov_pb.js.map +1 -1
  502. package/dist/proto/cosmos/gov/v1/index.js +20 -4
  503. package/dist/proto/cosmos/gov/v1/index.js.map +1 -1
  504. package/dist/proto/cosmos/gov/v1/query_pb.js +127 -108
  505. package/dist/proto/cosmos/gov/v1/query_pb.js.map +1 -1
  506. package/dist/proto/cosmos/gov/v1/tx_pb.js +90 -75
  507. package/dist/proto/cosmos/gov/v1/tx_pb.js.map +1 -1
  508. package/dist/proto/cosmos/gov/v1beta1/genesis_pb.js +18 -14
  509. package/dist/proto/cosmos/gov/v1beta1/genesis_pb.js.map +1 -1
  510. package/dist/proto/cosmos/gov/v1beta1/gov_pb.js +81 -69
  511. package/dist/proto/cosmos/gov/v1beta1/gov_pb.js.map +1 -1
  512. package/dist/proto/cosmos/gov/v1beta1/index.js +20 -4
  513. package/dist/proto/cosmos/gov/v1beta1/index.js.map +1 -1
  514. package/dist/proto/cosmos/gov/v1beta1/query_pb.js +126 -107
  515. package/dist/proto/cosmos/gov/v1beta1/query_pb.js.map +1 -1
  516. package/dist/proto/cosmos/gov/v1beta1/tx_pb.js +64 -53
  517. package/dist/proto/cosmos/gov/v1beta1/tx_pb.js.map +1 -1
  518. package/dist/proto/cosmos/group/index.js +28 -2
  519. package/dist/proto/cosmos/group/index.js.map +1 -1
  520. package/dist/proto/cosmos/group/module/index.js +27 -1
  521. package/dist/proto/cosmos/group/module/index.js.map +1 -1
  522. package/dist/proto/cosmos/group/module/v1/index.js +17 -1
  523. package/dist/proto/cosmos/group/module/v1/index.js.map +1 -1
  524. package/dist/proto/cosmos/group/module/v1/module_pb.js +12 -8
  525. package/dist/proto/cosmos/group/module/v1/module_pb.js.map +1 -1
  526. package/dist/proto/cosmos/group/v1/events_pb.js +78 -65
  527. package/dist/proto/cosmos/group/v1/events_pb.js.map +1 -1
  528. package/dist/proto/cosmos/group/v1/genesis_pb.js +19 -15
  529. package/dist/proto/cosmos/group/v1/genesis_pb.js.map +1 -1
  530. package/dist/proto/cosmos/group/v1/index.js +21 -5
  531. package/dist/proto/cosmos/group/v1/index.js.map +1 -1
  532. package/dist/proto/cosmos/group/v1/query_pb.js +213 -182
  533. package/dist/proto/cosmos/group/v1/query_pb.js.map +1 -1
  534. package/dist/proto/cosmos/group/v1/tx_pb.js +200 -169
  535. package/dist/proto/cosmos/group/v1/tx_pb.js.map +1 -1
  536. package/dist/proto/cosmos/group/v1/types_pb.js +101 -87
  537. package/dist/proto/cosmos/group/v1/types_pb.js.map +1 -1
  538. package/dist/proto/cosmos/index.js +52 -26
  539. package/dist/proto/cosmos/index.js.map +1 -1
  540. package/dist/proto/cosmos/mint/index.js +28 -2
  541. package/dist/proto/cosmos/mint/index.js.map +1 -1
  542. package/dist/proto/cosmos/mint/module/index.js +27 -1
  543. package/dist/proto/cosmos/mint/module/index.js.map +1 -1
  544. package/dist/proto/cosmos/mint/module/v1/index.js +17 -1
  545. package/dist/proto/cosmos/mint/module/v1/index.js.map +1 -1
  546. package/dist/proto/cosmos/mint/module/v1/module_pb.js +10 -6
  547. package/dist/proto/cosmos/mint/module/v1/module_pb.js.map +1 -1
  548. package/dist/proto/cosmos/mint/v1beta1/genesis_pb.js +13 -9
  549. package/dist/proto/cosmos/mint/v1beta1/genesis_pb.js.map +1 -1
  550. package/dist/proto/cosmos/mint/v1beta1/index.js +20 -4
  551. package/dist/proto/cosmos/mint/v1beta1/index.js.map +1 -1
  552. package/dist/proto/cosmos/mint/v1beta1/mint_pb.js +17 -12
  553. package/dist/proto/cosmos/mint/v1beta1/mint_pb.js.map +1 -1
  554. package/dist/proto/cosmos/mint/v1beta1/query_pb.js +42 -33
  555. package/dist/proto/cosmos/mint/v1beta1/query_pb.js.map +1 -1
  556. package/dist/proto/cosmos/mint/v1beta1/tx_pb.js +18 -13
  557. package/dist/proto/cosmos/mint/v1beta1/tx_pb.js.map +1 -1
  558. package/dist/proto/cosmos/msg/v1/msg_pb.js +6 -3
  559. package/dist/proto/cosmos/msg/v1/msg_pb.js.map +1 -1
  560. package/dist/proto/cosmos/nft/index.js +28 -2
  561. package/dist/proto/cosmos/nft/index.js.map +1 -1
  562. package/dist/proto/cosmos/nft/module/index.js +27 -1
  563. package/dist/proto/cosmos/nft/module/index.js.map +1 -1
  564. package/dist/proto/cosmos/nft/module/v1/index.js +17 -1
  565. package/dist/proto/cosmos/nft/module/v1/index.js.map +1 -1
  566. package/dist/proto/cosmos/nft/module/v1/module_pb.js +10 -6
  567. package/dist/proto/cosmos/nft/module/v1/module_pb.js.map +1 -1
  568. package/dist/proto/cosmos/nft/v1beta1/event_pb.js +22 -16
  569. package/dist/proto/cosmos/nft/v1beta1/event_pb.js.map +1 -1
  570. package/dist/proto/cosmos/nft/v1beta1/genesis_pb.js +19 -14
  571. package/dist/proto/cosmos/nft/v1beta1/genesis_pb.js.map +1 -1
  572. package/dist/proto/cosmos/nft/v1beta1/index.js +21 -5
  573. package/dist/proto/cosmos/nft/v1beta1/index.js.map +1 -1
  574. package/dist/proto/cosmos/nft/v1beta1/nft_pb.js +18 -13
  575. package/dist/proto/cosmos/nft/v1beta1/nft_pb.js.map +1 -1
  576. package/dist/proto/cosmos/nft/v1beta1/query_pb.js +100 -83
  577. package/dist/proto/cosmos/nft/v1beta1/query_pb.js.map +1 -1
  578. package/dist/proto/cosmos/nft/v1beta1/tx_pb.js +16 -11
  579. package/dist/proto/cosmos/nft/v1beta1/tx_pb.js.map +1 -1
  580. package/dist/proto/cosmos/orm/index.js +30 -4
  581. package/dist/proto/cosmos/orm/index.js.map +1 -1
  582. package/dist/proto/cosmos/orm/module/index.js +27 -1
  583. package/dist/proto/cosmos/orm/module/index.js.map +1 -1
  584. package/dist/proto/cosmos/orm/module/v1alpha1/index.js +17 -1
  585. package/dist/proto/cosmos/orm/module/v1alpha1/index.js.map +1 -1
  586. package/dist/proto/cosmos/orm/module/v1alpha1/module_pb.js +10 -6
  587. package/dist/proto/cosmos/orm/module/v1alpha1/module_pb.js.map +1 -1
  588. package/dist/proto/cosmos/orm/query/index.js +27 -1
  589. package/dist/proto/cosmos/orm/query/index.js.map +1 -1
  590. package/dist/proto/cosmos/orm/query/v1alpha1/index.js +17 -1
  591. package/dist/proto/cosmos/orm/query/v1alpha1/index.js.map +1 -1
  592. package/dist/proto/cosmos/orm/query/v1alpha1/query_pb.js +53 -43
  593. package/dist/proto/cosmos/orm/query/v1alpha1/query_pb.js.map +1 -1
  594. package/dist/proto/cosmos/orm/v1/index.js +17 -1
  595. package/dist/proto/cosmos/orm/v1/index.js.map +1 -1
  596. package/dist/proto/cosmos/orm/v1/orm_pb.js +30 -23
  597. package/dist/proto/cosmos/orm/v1/orm_pb.js.map +1 -1
  598. package/dist/proto/cosmos/orm/v1alpha1/index.js +17 -1
  599. package/dist/proto/cosmos/orm/v1alpha1/index.js.map +1 -1
  600. package/dist/proto/cosmos/orm/v1alpha1/schema_pb.js +21 -16
  601. package/dist/proto/cosmos/orm/v1alpha1/schema_pb.js.map +1 -1
  602. package/dist/proto/cosmos/params/index.js +28 -2
  603. package/dist/proto/cosmos/params/index.js.map +1 -1
  604. package/dist/proto/cosmos/params/module/index.js +27 -1
  605. package/dist/proto/cosmos/params/module/index.js.map +1 -1
  606. package/dist/proto/cosmos/params/module/v1/index.js +17 -1
  607. package/dist/proto/cosmos/params/module/v1/index.js.map +1 -1
  608. package/dist/proto/cosmos/params/module/v1/module_pb.js +10 -6
  609. package/dist/proto/cosmos/params/module/v1/module_pb.js.map +1 -1
  610. package/dist/proto/cosmos/params/v1beta1/index.js +18 -2
  611. package/dist/proto/cosmos/params/v1beta1/index.js.map +1 -1
  612. package/dist/proto/cosmos/params/v1beta1/params_pb.js +16 -11
  613. package/dist/proto/cosmos/params/v1beta1/params_pb.js.map +1 -1
  614. package/dist/proto/cosmos/params/v1beta1/query_pb.js +36 -28
  615. package/dist/proto/cosmos/params/v1beta1/query_pb.js.map +1 -1
  616. package/dist/proto/cosmos/query/v1/query_pb.js +5 -2
  617. package/dist/proto/cosmos/query/v1/query_pb.js.map +1 -1
  618. package/dist/proto/cosmos/reflection/index.js +27 -1
  619. package/dist/proto/cosmos/reflection/index.js.map +1 -1
  620. package/dist/proto/cosmos/reflection/v1/index.js +17 -1
  621. package/dist/proto/cosmos/reflection/v1/index.js.map +1 -1
  622. package/dist/proto/cosmos/reflection/v1/reflection_pb.js +17 -12
  623. package/dist/proto/cosmos/reflection/v1/reflection_pb.js.map +1 -1
  624. package/dist/proto/cosmos/slashing/index.js +28 -2
  625. package/dist/proto/cosmos/slashing/index.js.map +1 -1
  626. package/dist/proto/cosmos/slashing/module/index.js +27 -1
  627. package/dist/proto/cosmos/slashing/module/index.js.map +1 -1
  628. package/dist/proto/cosmos/slashing/module/v1/index.js +17 -1
  629. package/dist/proto/cosmos/slashing/module/v1/index.js.map +1 -1
  630. package/dist/proto/cosmos/slashing/module/v1/module_pb.js +10 -6
  631. package/dist/proto/cosmos/slashing/module/v1/module_pb.js.map +1 -1
  632. package/dist/proto/cosmos/slashing/v1beta1/genesis_pb.js +32 -25
  633. package/dist/proto/cosmos/slashing/v1beta1/genesis_pb.js.map +1 -1
  634. package/dist/proto/cosmos/slashing/v1beta1/index.js +20 -4
  635. package/dist/proto/cosmos/slashing/v1beta1/index.js.map +1 -1
  636. package/dist/proto/cosmos/slashing/v1beta1/query_pb.js +47 -38
  637. package/dist/proto/cosmos/slashing/v1beta1/query_pb.js.map +1 -1
  638. package/dist/proto/cosmos/slashing/v1beta1/slashing_pb.js +22 -17
  639. package/dist/proto/cosmos/slashing/v1beta1/slashing_pb.js.map +1 -1
  640. package/dist/proto/cosmos/slashing/v1beta1/tx_pb.js +30 -23
  641. package/dist/proto/cosmos/slashing/v1beta1/tx_pb.js.map +1 -1
  642. package/dist/proto/cosmos/staking/index.js +28 -2
  643. package/dist/proto/cosmos/staking/index.js.map +1 -1
  644. package/dist/proto/cosmos/staking/module/index.js +27 -1
  645. package/dist/proto/cosmos/staking/module/index.js.map +1 -1
  646. package/dist/proto/cosmos/staking/module/v1/index.js +17 -1
  647. package/dist/proto/cosmos/staking/module/v1/index.js.map +1 -1
  648. package/dist/proto/cosmos/staking/module/v1/module_pb.js +10 -6
  649. package/dist/proto/cosmos/staking/module/v1/module_pb.js.map +1 -1
  650. package/dist/proto/cosmos/staking/v1beta1/authz_pb.js +22 -17
  651. package/dist/proto/cosmos/staking/v1beta1/authz_pb.js.map +1 -1
  652. package/dist/proto/cosmos/staking/v1beta1/genesis_pb.js +23 -18
  653. package/dist/proto/cosmos/staking/v1beta1/genesis_pb.js.map +1 -1
  654. package/dist/proto/cosmos/staking/v1beta1/index.js +21 -5
  655. package/dist/proto/cosmos/staking/v1beta1/index.js.map +1 -1
  656. package/dist/proto/cosmos/staking/v1beta1/query_pb.js +203 -172
  657. package/dist/proto/cosmos/staking/v1beta1/query_pb.js.map +1 -1
  658. package/dist/proto/cosmos/staking/v1beta1/staking_pb.js +157 -133
  659. package/dist/proto/cosmos/staking/v1beta1/staking_pb.js.map +1 -1
  660. package/dist/proto/cosmos/staking/v1beta1/tx_pb.js +103 -86
  661. package/dist/proto/cosmos/staking/v1beta1/tx_pb.js.map +1 -1
  662. package/dist/proto/cosmos/tx/config/index.js +27 -1
  663. package/dist/proto/cosmos/tx/config/index.js.map +1 -1
  664. package/dist/proto/cosmos/tx/config/v1/config_pb.js +10 -6
  665. package/dist/proto/cosmos/tx/config/v1/config_pb.js.map +1 -1
  666. package/dist/proto/cosmos/tx/config/v1/index.js +17 -1
  667. package/dist/proto/cosmos/tx/config/v1/index.js.map +1 -1
  668. package/dist/proto/cosmos/tx/index.js +29 -3
  669. package/dist/proto/cosmos/tx/index.js.map +1 -1
  670. package/dist/proto/cosmos/tx/signing/index.js +27 -1
  671. package/dist/proto/cosmos/tx/signing/index.js.map +1 -1
  672. package/dist/proto/cosmos/tx/signing/v1beta1/index.js +17 -1
  673. package/dist/proto/cosmos/tx/signing/v1beta1/index.js.map +1 -1
  674. package/dist/proto/cosmos/tx/signing/v1beta1/signing_pb.js +42 -34
  675. package/dist/proto/cosmos/tx/signing/v1beta1/signing_pb.js.map +1 -1
  676. package/dist/proto/cosmos/tx/v1beta1/index.js +18 -2
  677. package/dist/proto/cosmos/tx/v1beta1/index.js.map +1 -1
  678. package/dist/proto/cosmos/tx/v1beta1/service_pb.js +146 -125
  679. package/dist/proto/cosmos/tx/v1beta1/service_pb.js.map +1 -1
  680. package/dist/proto/cosmos/tx/v1beta1/tx_pb.js +103 -87
  681. package/dist/proto/cosmos/tx/v1beta1/tx_pb.js.map +1 -1
  682. package/dist/proto/cosmos/upgrade/index.js +28 -2
  683. package/dist/proto/cosmos/upgrade/index.js.map +1 -1
  684. package/dist/proto/cosmos/upgrade/module/index.js +27 -1
  685. package/dist/proto/cosmos/upgrade/module/index.js.map +1 -1
  686. package/dist/proto/cosmos/upgrade/module/v1/index.js +17 -1
  687. package/dist/proto/cosmos/upgrade/module/v1/index.js.map +1 -1
  688. package/dist/proto/cosmos/upgrade/module/v1/module_pb.js +10 -6
  689. package/dist/proto/cosmos/upgrade/module/v1/module_pb.js.map +1 -1
  690. package/dist/proto/cosmos/upgrade/v1beta1/index.js +19 -3
  691. package/dist/proto/cosmos/upgrade/v1beta1/index.js.map +1 -1
  692. package/dist/proto/cosmos/upgrade/v1beta1/query_pb.js +69 -56
  693. package/dist/proto/cosmos/upgrade/v1beta1/query_pb.js.map +1 -1
  694. package/dist/proto/cosmos/upgrade/v1beta1/tx_pb.js +30 -23
  695. package/dist/proto/cosmos/upgrade/v1beta1/tx_pb.js.map +1 -1
  696. package/dist/proto/cosmos/upgrade/v1beta1/upgrade_pb.js +32 -25
  697. package/dist/proto/cosmos/upgrade/v1beta1/upgrade_pb.js.map +1 -1
  698. package/dist/proto/cosmos/vesting/index.js +28 -2
  699. package/dist/proto/cosmos/vesting/index.js.map +1 -1
  700. package/dist/proto/cosmos/vesting/module/index.js +27 -1
  701. package/dist/proto/cosmos/vesting/module/index.js.map +1 -1
  702. package/dist/proto/cosmos/vesting/module/v1/index.js +17 -1
  703. package/dist/proto/cosmos/vesting/module/v1/index.js.map +1 -1
  704. package/dist/proto/cosmos/vesting/module/v1/module_pb.js +10 -6
  705. package/dist/proto/cosmos/vesting/module/v1/module_pb.js.map +1 -1
  706. package/dist/proto/cosmos/vesting/v1beta1/index.js +18 -2
  707. package/dist/proto/cosmos/vesting/v1beta1/index.js.map +1 -1
  708. package/dist/proto/cosmos/vesting/v1beta1/tx_pb.js +47 -38
  709. package/dist/proto/cosmos/vesting/v1beta1/tx_pb.js.map +1 -1
  710. package/dist/proto/cosmos/vesting/v1beta1/vesting_pb.js +51 -42
  711. package/dist/proto/cosmos/vesting/v1beta1/vesting_pb.js.map +1 -1
  712. package/dist/proto/cosmos_proto/cosmos_pb.js +25 -20
  713. package/dist/proto/cosmos_proto/cosmos_pb.js.map +1 -1
  714. package/dist/proto/cosmos_proto/index.js +17 -1
  715. package/dist/proto/cosmos_proto/index.js.map +1 -1
  716. package/dist/proto/cosmwasm/index.js +27 -1
  717. package/dist/proto/cosmwasm/index.js.map +1 -1
  718. package/dist/proto/cosmwasm/wasm/index.js +27 -1
  719. package/dist/proto/cosmwasm/wasm/index.js.map +1 -1
  720. package/dist/proto/cosmwasm/wasm/v1/authz_pb.js +79 -65
  721. package/dist/proto/cosmwasm/wasm/v1/authz_pb.js.map +1 -1
  722. package/dist/proto/cosmwasm/wasm/v1/genesis_pb.js +36 -29
  723. package/dist/proto/cosmwasm/wasm/v1/genesis_pb.js.map +1 -1
  724. package/dist/proto/cosmwasm/wasm/v1/ibc_pb.js +25 -19
  725. package/dist/proto/cosmwasm/wasm/v1/ibc_pb.js.map +1 -1
  726. package/dist/proto/cosmwasm/wasm/v1/index.js +22 -6
  727. package/dist/proto/cosmwasm/wasm/v1/index.js.map +1 -1
  728. package/dist/proto/cosmwasm/wasm/v1/query_pb.js +164 -138
  729. package/dist/proto/cosmwasm/wasm/v1/query_pb.js.map +1 -1
  730. package/dist/proto/cosmwasm/wasm/v1/tx_pb.js +233 -195
  731. package/dist/proto/cosmwasm/wasm/v1/tx_pb.js.map +1 -1
  732. package/dist/proto/cosmwasm/wasm/v1/types_pb.js +67 -56
  733. package/dist/proto/cosmwasm/wasm/v1/types_pb.js.map +1 -1
  734. package/dist/proto/ethereum/ethsecp256k1/index.js +17 -1
  735. package/dist/proto/ethereum/ethsecp256k1/index.js.map +1 -1
  736. package/dist/proto/ethereum/ethsecp256k1/keys_pb.js +16 -11
  737. package/dist/proto/ethereum/ethsecp256k1/keys_pb.js.map +1 -1
  738. package/dist/proto/ethereum/index.js +31 -2
  739. package/dist/proto/ethereum/index.js.map +1 -1
  740. package/dist/proto/ethereum/web3_pb.js +11 -7
  741. package/dist/proto/ethereum/web3_pb.js.map +1 -1
  742. package/dist/proto/gogoproto/gogo_pb.js +82 -78
  743. package/dist/proto/gogoproto/gogo_pb.js.map +1 -1
  744. package/dist/proto/google/api/annotations_pb.js +6 -3
  745. package/dist/proto/google/api/annotations_pb.js.map +1 -1
  746. package/dist/proto/google/api/http_pb.js +22 -16
  747. package/dist/proto/google/api/http_pb.js.map +1 -1
  748. package/dist/proto/google/api/httpbody_pb.js +11 -7
  749. package/dist/proto/google/api/httpbody_pb.js.map +1 -1
  750. package/dist/proto/google/api/index.js +18 -2
  751. package/dist/proto/google/api/index.js.map +1 -1
  752. package/dist/proto/google/index.js +28 -2
  753. package/dist/proto/google/index.js.map +1 -1
  754. package/dist/proto/google/protobuf/any_pb.js +10 -6
  755. package/dist/proto/google/protobuf/any_pb.js.map +1 -1
  756. package/dist/proto/google/protobuf/descriptor_pb.js +190 -160
  757. package/dist/proto/google/protobuf/descriptor_pb.js.map +1 -1
  758. package/dist/proto/google/protobuf/index.js +18 -2
  759. package/dist/proto/google/protobuf/index.js.map +1 -1
  760. package/dist/proto/index.js +43 -14
  761. package/dist/proto/index.js.map +1 -1
  762. package/dist/proto/maps/balances_pb.js +10 -6
  763. package/dist/proto/maps/balances_pb.js.map +1 -1
  764. package/dist/proto/maps/genesis_pb.js +15 -11
  765. package/dist/proto/maps/genesis_pb.js.map +1 -1
  766. package/dist/proto/maps/index.js +25 -9
  767. package/dist/proto/maps/index.js.map +1 -1
  768. package/dist/proto/maps/metadata_pb.js +10 -6
  769. package/dist/proto/maps/metadata_pb.js.map +1 -1
  770. package/dist/proto/maps/packet_pb.js +16 -11
  771. package/dist/proto/maps/packet_pb.js.map +1 -1
  772. package/dist/proto/maps/params_pb.js +10 -6
  773. package/dist/proto/maps/params_pb.js.map +1 -1
  774. package/dist/proto/maps/permissions_pb.js +22 -17
  775. package/dist/proto/maps/permissions_pb.js.map +1 -1
  776. package/dist/proto/maps/query_pb.js +45 -36
  777. package/dist/proto/maps/query_pb.js.map +1 -1
  778. package/dist/proto/maps/timelines_pb.js +21 -16
  779. package/dist/proto/maps/timelines_pb.js.map +1 -1
  780. package/dist/proto/maps/tx_pb.js +105 -87
  781. package/dist/proto/maps/tx_pb.js.map +1 -1
  782. package/dist/proto/proofs_pb.js +94 -78
  783. package/dist/proto/proofs_pb.js.map +1 -1
  784. package/dist/proto/protocols/genesis_pb.js +14 -10
  785. package/dist/proto/protocols/genesis_pb.js.map +1 -1
  786. package/dist/proto/protocols/index.js +21 -5
  787. package/dist/proto/protocols/index.js.map +1 -1
  788. package/dist/proto/protocols/packet_pb.js +16 -11
  789. package/dist/proto/protocols/packet_pb.js.map +1 -1
  790. package/dist/proto/protocols/params_pb.js +10 -6
  791. package/dist/proto/protocols/params_pb.js.map +1 -1
  792. package/dist/proto/protocols/query_pb.js +44 -35
  793. package/dist/proto/protocols/query_pb.js.map +1 -1
  794. package/dist/proto/protocols/tx_pb.js +76 -61
  795. package/dist/proto/protocols/tx_pb.js.map +1 -1
  796. package/dist/proto/solana/index.js +17 -1
  797. package/dist/proto/solana/index.js.map +1 -1
  798. package/dist/proto/solana/web3_pb.js +11 -7
  799. package/dist/proto/solana/web3_pb.js.map +1 -1
  800. package/dist/proto/tendermint/abci/index.js +17 -1
  801. package/dist/proto/tendermint/abci/index.js.map +1 -1
  802. package/dist/proto/tendermint/abci/types_pb.js +340 -290
  803. package/dist/proto/tendermint/abci/types_pb.js.map +1 -1
  804. package/dist/proto/tendermint/crypto/index.js +18 -2
  805. package/dist/proto/tendermint/crypto/index.js.map +1 -1
  806. package/dist/proto/tendermint/crypto/keys_pb.js +10 -6
  807. package/dist/proto/tendermint/crypto/keys_pb.js.map +1 -1
  808. package/dist/proto/tendermint/crypto/proof_pb.js +36 -28
  809. package/dist/proto/tendermint/crypto/proof_pb.js.map +1 -1
  810. package/dist/proto/tendermint/index.js +32 -6
  811. package/dist/proto/tendermint/index.js.map +1 -1
  812. package/dist/proto/tendermint/libs/bits/index.js +17 -1
  813. package/dist/proto/tendermint/libs/bits/index.js.map +1 -1
  814. package/dist/proto/tendermint/libs/bits/types_pb.js +11 -7
  815. package/dist/proto/tendermint/libs/bits/types_pb.js.map +1 -1
  816. package/dist/proto/tendermint/libs/index.js +27 -1
  817. package/dist/proto/tendermint/libs/index.js.map +1 -1
  818. package/dist/proto/tendermint/p2p/index.js +17 -1
  819. package/dist/proto/tendermint/p2p/index.js.map +1 -1
  820. package/dist/proto/tendermint/p2p/types_pb.js +31 -24
  821. package/dist/proto/tendermint/p2p/types_pb.js.map +1 -1
  822. package/dist/proto/tendermint/types/block_pb.js +16 -12
  823. package/dist/proto/tendermint/types/block_pb.js.map +1 -1
  824. package/dist/proto/tendermint/types/evidence_pb.js +40 -33
  825. package/dist/proto/tendermint/types/evidence_pb.js.map +1 -1
  826. package/dist/proto/tendermint/types/index.js +21 -5
  827. package/dist/proto/tendermint/types/index.js.map +1 -1
  828. package/dist/proto/tendermint/types/params_pb.js +48 -39
  829. package/dist/proto/tendermint/types/params_pb.js.map +1 -1
  830. package/dist/proto/tendermint/types/types_pb.js +108 -92
  831. package/dist/proto/tendermint/types/types_pb.js.map +1 -1
  832. package/dist/proto/tendermint/types/validator_pb.js +29 -23
  833. package/dist/proto/tendermint/types/validator_pb.js.map +1 -1
  834. package/dist/proto/tendermint/version/index.js +17 -1
  835. package/dist/proto/tendermint/version/index.js.map +1 -1
  836. package/dist/proto/tendermint/version/types_pb.js +19 -14
  837. package/dist/proto/tendermint/version/types_pb.js.map +1 -1
  838. package/dist/proto/wasmx/genesis_pb.js +12 -8
  839. package/dist/proto/wasmx/genesis_pb.js.map +1 -1
  840. package/dist/proto/wasmx/index.js +20 -4
  841. package/dist/proto/wasmx/index.js.map +1 -1
  842. package/dist/proto/wasmx/query_pb.js +32 -25
  843. package/dist/proto/wasmx/query_pb.js.map +1 -1
  844. package/dist/proto/wasmx/tx_pb.js +28 -21
  845. package/dist/proto/wasmx/tx_pb.js.map +1 -1
  846. package/dist/proto/wasmx/wasmx_pb.js +13 -9
  847. package/dist/proto/wasmx/wasmx_pb.js.map +1 -1
  848. package/dist/transactions/amino/objectConverter.js +20 -10
  849. package/dist/transactions/amino/objectConverter.js.map +1 -1
  850. package/dist/transactions/amino/registry.js +63 -53
  851. package/dist/transactions/amino/registry.js.map +1 -1
  852. package/dist/transactions/eip712/payload/createDomain.js +12 -9
  853. package/dist/transactions/eip712/payload/createDomain.js.map +1 -1
  854. package/dist/transactions/eip712/payload/createTypedData.js +16 -9
  855. package/dist/transactions/eip712/payload/createTypedData.js.map +1 -1
  856. package/dist/transactions/eip712/payload/createTypes/index.js +8 -1
  857. package/dist/transactions/eip712/payload/createTypes/index.js.map +1 -1
  858. package/dist/transactions/eip712/payload/createTypes/parseMessage.js +14 -11
  859. package/dist/transactions/eip712/payload/createTypes/parseMessage.js.map +1 -1
  860. package/dist/transactions/eip712/payload/createTypes/parsePayload.js +18 -11
  861. package/dist/transactions/eip712/payload/createTypes/parsePayload.js.map +1 -1
  862. package/dist/transactions/eip712/payload/eip712Types.js +9 -3
  863. package/dist/transactions/eip712/payload/eip712Types.js.map +1 -1
  864. package/dist/transactions/eip712/payload/flattenPayload.js +7 -3
  865. package/dist/transactions/eip712/payload/flattenPayload.js.map +1 -1
  866. package/dist/transactions/eip712/payload/samples/getSampleMsg.js +237 -228
  867. package/dist/transactions/eip712/payload/samples/getSampleMsg.js.map +1 -1
  868. package/dist/transactions/eip712/payload/types.js +2 -1
  869. package/dist/transactions/index.js +17 -1
  870. package/dist/transactions/index.js.map +1 -1
  871. package/dist/transactions/messages/base.js +48 -40
  872. package/dist/transactions/messages/base.js.map +1 -1
  873. package/dist/transactions/messages/bitbadges/badges/index.js +24 -8
  874. package/dist/transactions/messages/bitbadges/badges/index.js.map +1 -1
  875. package/dist/transactions/messages/bitbadges/badges/interfaces.js +2 -1
  876. package/dist/transactions/messages/bitbadges/badges/msgCreateAddressLists.js +33 -6
  877. package/dist/transactions/messages/bitbadges/badges/msgCreateAddressLists.js.map +1 -1
  878. package/dist/transactions/messages/bitbadges/badges/msgCreateCollection.js +60 -33
  879. package/dist/transactions/messages/bitbadges/badges/msgCreateCollection.js.map +1 -1
  880. package/dist/transactions/messages/bitbadges/badges/msgDeleteCollection.js +33 -6
  881. package/dist/transactions/messages/bitbadges/badges/msgDeleteCollection.js.map +1 -1
  882. package/dist/transactions/messages/bitbadges/badges/msgTransferBadges.js +36 -9
  883. package/dist/transactions/messages/bitbadges/badges/msgTransferBadges.js.map +1 -1
  884. package/dist/transactions/messages/bitbadges/badges/msgUniversalUpdateCollection.js +60 -33
  885. package/dist/transactions/messages/bitbadges/badges/msgUniversalUpdateCollection.js.map +1 -1
  886. package/dist/transactions/messages/bitbadges/badges/msgUpdateCollection.js +57 -30
  887. package/dist/transactions/messages/bitbadges/badges/msgUpdateCollection.js.map +1 -1
  888. package/dist/transactions/messages/bitbadges/badges/msgUpdateUserApprovals.js +42 -15
  889. package/dist/transactions/messages/bitbadges/badges/msgUpdateUserApprovals.js.map +1 -1
  890. package/dist/transactions/messages/bitbadges/index.js +19 -3
  891. package/dist/transactions/messages/bitbadges/index.js.map +1 -1
  892. package/dist/transactions/messages/bitbadges/maps/index.js +17 -1
  893. package/dist/transactions/messages/bitbadges/maps/index.js.map +1 -1
  894. package/dist/transactions/messages/bitbadges/maps/interfaces.js +66 -30
  895. package/dist/transactions/messages/bitbadges/maps/interfaces.js.map +1 -1
  896. package/dist/transactions/messages/bitbadges/wasmx/index.js +19 -3
  897. package/dist/transactions/messages/bitbadges/wasmx/index.js.map +1 -1
  898. package/dist/transactions/messages/bitbadges/wasmx/interfaces.js +2 -1
  899. package/dist/transactions/messages/bitbadges/wasmx/msgExecuteContractCompat.js +30 -3
  900. package/dist/transactions/messages/bitbadges/wasmx/msgExecuteContractCompat.js.map +1 -1
  901. package/dist/transactions/messages/bitbadges/wasmx/msgInstantiateContractCompat.js +30 -3
  902. package/dist/transactions/messages/bitbadges/wasmx/msgInstantiateContractCompat.js.map +1 -1
  903. package/dist/transactions/messages/common.js +2 -1
  904. package/dist/transactions/messages/index.js +19 -3
  905. package/dist/transactions/messages/index.js.map +1 -1
  906. package/dist/transactions/messages/signDoc.js +13 -5
  907. package/dist/transactions/messages/signDoc.js.map +1 -1
  908. package/dist/transactions/messages/transaction.js +62 -46
  909. package/dist/transactions/messages/transaction.js.map +1 -1
  910. package/dist/transactions/messages/txRaw.js +22 -14
  911. package/dist/transactions/messages/txRaw.js.map +1 -1
  912. package/dist/transactions/messages/utils.js +7 -3
  913. package/dist/transactions/messages/utils.js.map +1 -1
  914. package/dist/transactions/messages/web3Extension.js +41 -9
  915. package/dist/transactions/messages/web3Extension.js.map +1 -1
  916. package/dist/tsconfig.build.tsbuildinfo +1 -1
  917. package/package.json +3 -3
@@ -1,13 +1,19 @@
1
- import { BitBadgesCollection } from './BitBadgesCollection';
2
- import typia from 'typia';
3
- import { BitBadgesAddressList } from './BitBadgesAddressList';
4
- import { BitBadgesUserInfo } from './BitBadgesUserInfo';
5
- import { BaseBitBadgesApi } from './base';
6
- import { FilterSuggestionsSuccessResponse } from './requests/collections';
7
- import { GetMapValuesSuccessResponse, GetMapsSuccessResponse } from './requests/maps';
8
- import { AddApprovalDetailsToOffChainStorageSuccessResponse, AddBalancesToOffChainStorageSuccessResponse, AddReviewSuccessResponse, AddToIpfsSuccessResponse, BroadcastTxSuccessResponse, CheckSignInStatusSuccessResponse, CompleteClaimSuccessResponse, CreateAttestationProofSuccessResponse, CreateAttestationSuccessResponse, CreateClaimSuccessResponse, CreateDeveloperAppSuccessResponse, CreatePluginSuccessResponse, CreateSIWBBRequestSuccessResponse, DeleteAttestationProofSuccessResponse, DeleteAttestationSuccessResponse, DeleteClaimSuccessResponse, DeleteDeveloperAppSuccessResponse, DeletePluginSuccessResponse, DeleteReviewSuccessResponse, DeleteSIWBBRequestSuccessResponse, ExchangeSIWBBAuthorizationCodeSuccessResponse, FetchMetadataDirectlySuccessResponse, GenerateAppleWalletPassSuccessResponse, GenerateGoogleWalletSuccessResponse, GenericBlockinVerifySuccessResponse, GenericVerifyAssetsSuccessResponse, GetActiveAuthorizationsSuccessResponse, GetAttestationProofSuccessResponse, GetAttestationSuccessResponse, GetBrowseCollectionsSuccessResponse, GetClaimAlertsForCollectionSuccessResponse, GetClaimAttemptStatusSuccessResponse, GetClaimsSuccessResponse, GetDeveloperAppSuccessResponse, GetPluginSuccessResponse, GetReservedClaimCodesSuccessResponse, GetSIWBBRequestsForDeveloperAppSuccessResponse, GetSearchSuccessResponse, GetSignInChallengeSuccessResponse, GetStatusSuccessResponse, GetTokensFromFaucetSuccessResponse, OauthRevokeSuccessResponse, RotateSIWBBRequestSuccessResponse, SendClaimAlertsSuccessResponse, SignOutSuccessResponse, SimulateClaimSuccessResponse, SimulateTxSuccessResponse, UpdateAccountInfoSuccessResponse, UpdateAttestationSuccessResponse, UpdateClaimSuccessResponse, UpdateDeveloperAppSuccessResponse, UpdatePluginSuccessResponse, VerifySignInSuccessResponse } from './requests/requests';
9
- import { BitBadgesApiRoutes } from './requests/routes';
10
- export class BitBadgesAPI extends BaseBitBadgesApi {
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.BitBadgesAdminAPI = exports.BitBadgesAPI = void 0;
7
+ const BitBadgesCollection_1 = require("./BitBadgesCollection");
8
+ const typia_1 = __importDefault(require("typia"));
9
+ const BitBadgesAddressList_1 = require("./BitBadgesAddressList");
10
+ const BitBadgesUserInfo_1 = require("./BitBadgesUserInfo");
11
+ const base_1 = require("./base");
12
+ const collections_1 = require("./requests/collections");
13
+ const maps_1 = require("./requests/maps");
14
+ const requests_1 = require("./requests/requests");
15
+ const routes_1 = require("./requests/routes");
16
+ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
11
17
  constructor(apiDetails) {
12
18
  super(apiDetails);
13
19
  }
@@ -19,7 +25,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
19
25
  return "object" === typeof input && null !== input && true;
20
26
  };
21
27
  if (false === __is(input)) {
22
- const $report = typia.validate.report(errors);
28
+ const $report = typia_1.default.validate.report(errors);
23
29
  ((input, _path, _exceptionable = true) => {
24
30
  const $vo0 = (input, _path, _exceptionable = true) => true;
25
31
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
@@ -43,8 +49,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
43
49
  if (!validateRes.success) {
44
50
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
45
51
  }
46
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetStatusRoute()}`);
47
- return new GetStatusSuccessResponse(response.data).convert(this.ConvertFunction);
52
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GetStatusRoute()}`);
53
+ return new requests_1.GetStatusSuccessResponse(response.data).convert(this.ConvertFunction);
48
54
  }
49
55
  catch (error) {
50
56
  await this.handleApiError(error);
@@ -60,7 +66,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
60
66
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
61
67
  };
62
68
  if (false === __is(input)) {
63
- const $report = typia.validate.report(errors);
69
+ const $report = typia_1.default.validate.report(errors);
64
70
  ((input, _path, _exceptionable = true) => {
65
71
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.noCollections || "boolean" === typeof input.noCollections || $report(_exceptionable, {
66
72
  path: _path + ".noCollections",
@@ -104,8 +110,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
104
110
  if (!validateRes.success) {
105
111
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
106
112
  }
107
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.SearchRoute(searchValue)}`, payload);
108
- return new GetSearchSuccessResponse(response.data).convert(this.ConvertFunction);
113
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.SearchRoute(searchValue)}`, payload);
114
+ return new requests_1.GetSearchSuccessResponse(response.data).convert(this.ConvertFunction);
109
115
  }
110
116
  catch (error) {
111
117
  await this.handleApiError(error);
@@ -113,19 +119,19 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
113
119
  }
114
120
  }
115
121
  async getCollections(payload) {
116
- return await BitBadgesCollection.GetCollections(this, payload);
122
+ return await BitBadgesCollection_1.BitBadgesCollection.GetCollections(this, payload);
117
123
  }
118
124
  async getOwnersForBadge(collectionId, badgeId, payload) {
119
- return await BitBadgesCollection.GetOwnersForBadge(this, collectionId, badgeId, payload);
125
+ return await BitBadgesCollection_1.BitBadgesCollection.GetOwnersForBadge(this, collectionId, badgeId, payload);
120
126
  }
121
127
  async getBadgeBalanceByAddress(collectionId, address, payload) {
122
- return await BitBadgesCollection.GetBadgeBalanceByAddress(this, collectionId, address, payload);
128
+ return await BitBadgesCollection_1.BitBadgesCollection.GetBadgeBalanceByAddress(this, collectionId, address, payload);
123
129
  }
124
130
  async getBadgeActivity(collectionId, badgeId, payload) {
125
- return await BitBadgesCollection.GetBadgeActivity(this, collectionId, badgeId, payload);
131
+ return await BitBadgesCollection_1.BitBadgesCollection.GetBadgeActivity(this, collectionId, badgeId, payload);
126
132
  }
127
133
  async refreshMetadata(collectionId, payload) {
128
- return await BitBadgesCollection.RefreshMetadata(this, collectionId, payload);
134
+ return await BitBadgesCollection_1.BitBadgesCollection.RefreshMetadata(this, collectionId, payload);
129
135
  }
130
136
  async completeClaim(claimId, cosmosAddress, payload) {
131
137
  try {
@@ -143,9 +149,9 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
143
149
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
144
150
  };
145
151
  if (false === __is(input)) {
146
- const $report = typia.validate.report(errors);
152
+ const $report = typia_1.default.validate.report(errors);
147
153
  ((input, _path, _exceptionable = true) => {
148
- const $join = typia.validate.join;
154
+ const $join = typia_1.default.validate.join;
149
155
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input._fetchedAt || "number" === typeof input._fetchedAt || $report(_exceptionable, {
150
156
  path: _path + "._fetchedAt",
151
157
  expected: "(number | undefined)",
@@ -182,8 +188,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
182
188
  if (!claimId) {
183
189
  throw new Error('claimId is required');
184
190
  }
185
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.CompleteClaimRoute(claimId, cosmosAddress)}`, payload);
186
- return new CompleteClaimSuccessResponse(response.data);
191
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CompleteClaimRoute(claimId, cosmosAddress)}`, payload);
192
+ return new requests_1.CompleteClaimSuccessResponse(response.data);
187
193
  }
188
194
  catch (error) {
189
195
  await this.handleApiError(error);
@@ -206,9 +212,9 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
206
212
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
207
213
  };
208
214
  if (false === __is(input)) {
209
- const $report = typia.validate.report(errors);
215
+ const $report = typia_1.default.validate.report(errors);
210
216
  ((input, _path, _exceptionable = true) => {
211
- const $join = typia.validate.join;
217
+ const $join = typia_1.default.validate.join;
212
218
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input._fetchedAt || "number" === typeof input._fetchedAt || $report(_exceptionable, {
213
219
  path: _path + "._fetchedAt",
214
220
  expected: "(number | undefined)",
@@ -257,8 +263,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
257
263
  if (!claimId) {
258
264
  throw new Error('claimId is required');
259
265
  }
260
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.SimulateClaimRoute(claimId, cosmosAddress)}`, payload);
261
- return new SimulateClaimSuccessResponse(response.data);
266
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.SimulateClaimRoute(claimId, cosmosAddress)}`, payload);
267
+ return new requests_1.SimulateClaimSuccessResponse(response.data);
262
268
  }
263
269
  catch (error) {
264
270
  await this.handleApiError(error);
@@ -273,7 +279,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
273
279
  return "object" === typeof input && null !== input && true;
274
280
  };
275
281
  if (false === __is(input)) {
276
- const $report = typia.validate.report(errors);
282
+ const $report = typia_1.default.validate.report(errors);
277
283
  ((input, _path, _exceptionable = true) => {
278
284
  const $vo0 = (input, _path, _exceptionable = true) => true;
279
285
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
@@ -300,8 +306,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
300
306
  if (!claimId) {
301
307
  throw new Error('claimId is required');
302
308
  }
303
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetReservedClaimCodesRoute(claimId, cosmosAddress)}`, payload);
304
- return new GetReservedClaimCodesSuccessResponse(response.data);
309
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GetReservedClaimCodesRoute(claimId, cosmosAddress)}`, payload);
310
+ return new requests_1.GetReservedClaimCodesSuccessResponse(response.data);
305
311
  }
306
312
  catch (error) {
307
313
  await this.handleApiError(error);
@@ -316,7 +322,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
316
322
  };
317
323
  if (false === __is(input))
318
324
  ((input, _path, _exceptionable = true) => {
319
- const $guard = typia.assert.guard;
325
+ const $guard = typia_1.default.assert.guard;
320
326
  return "string" === typeof input || $guard(true, {
321
327
  path: _path + "",
322
328
  expected: "string",
@@ -328,8 +334,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
328
334
  if (!claimAttemptId) {
329
335
  throw new Error('claimAttemptId is required');
330
336
  }
331
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetClaimAttemptStatusRoute(claimAttemptId)}`);
332
- return new GetClaimAttemptStatusSuccessResponse(response.data);
337
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GetClaimAttemptStatusRoute(claimAttemptId)}`);
338
+ return new requests_1.GetClaimAttemptStatusSuccessResponse(response.data);
333
339
  }
334
340
  catch (error) {
335
341
  await this.handleApiError(error);
@@ -344,7 +350,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
344
350
  return "object" === typeof input && null !== input && "string" === typeof input.reviewId;
345
351
  };
346
352
  if (false === __is(input)) {
347
- const $report = typia.validate.report(errors);
353
+ const $report = typia_1.default.validate.report(errors);
348
354
  ((input, _path, _exceptionable = true) => {
349
355
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.reviewId || $report(_exceptionable, {
350
356
  path: _path + ".reviewId",
@@ -372,10 +378,10 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
372
378
  if (!validateRes.success) {
373
379
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
374
380
  }
375
- const response = await this.axios.delete(`${this.BACKEND_URL}${BitBadgesApiRoutes.DeleteReviewRoute(reviewId)}`, {
381
+ const response = await this.axios.delete(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.DeleteReviewRoute(reviewId)}`, {
376
382
  data: payload
377
383
  });
378
- return new DeleteReviewSuccessResponse(response.data);
384
+ return new requests_1.DeleteReviewSuccessResponse(response.data);
379
385
  }
380
386
  catch (error) {
381
387
  await this.handleApiError(error);
@@ -391,7 +397,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
391
397
  return "object" === typeof input && null !== input && $io0(input);
392
398
  };
393
399
  if (false === __is(input)) {
394
- const $report = typia.validate.report(errors);
400
+ const $report = typia_1.default.validate.report(errors);
395
401
  ((input, _path, _exceptionable = true) => {
396
402
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.review || $report(_exceptionable, {
397
403
  path: _path + ".review",
@@ -431,8 +437,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
431
437
  if (!validateRes.success) {
432
438
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
433
439
  }
434
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.AddReviewRoute()}`, payload);
435
- return new AddReviewSuccessResponse(response.data);
440
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.AddReviewRoute()}`, payload);
441
+ return new requests_1.AddReviewSuccessResponse(response.data);
436
442
  }
437
443
  catch (error) {
438
444
  await this.handleApiError(error);
@@ -440,7 +446,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
440
446
  }
441
447
  }
442
448
  async getAccounts(payload) {
443
- return await BitBadgesUserInfo.GetAccounts(this, payload);
449
+ return await BitBadgesUserInfo_1.BitBadgesUserInfo.GetAccounts(this, payload);
444
450
  }
445
451
  async updateAccountInfo(payload) {
446
452
  try {
@@ -474,7 +480,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
474
480
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
475
481
  };
476
482
  if (false === __is(input)) {
477
- const $report = typia.validate.report(errors);
483
+ const $report = typia_1.default.validate.report(errors);
478
484
  ((input, _path, _exceptionable = true) => {
479
485
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.discord || "string" === typeof input.discord || $report(_exceptionable, {
480
486
  path: _path + ".discord",
@@ -1117,8 +1123,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
1117
1123
  if (!validateRes.success) {
1118
1124
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
1119
1125
  }
1120
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.UpdateAccountInfoRoute()}`, payload);
1121
- return new UpdateAccountInfoSuccessResponse(response.data);
1126
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.UpdateAccountInfoRoute()}`, payload);
1127
+ return new requests_1.UpdateAccountInfoSuccessResponse(response.data);
1122
1128
  }
1123
1129
  catch (error) {
1124
1130
  await this.handleApiError(error);
@@ -1134,7 +1140,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
1134
1140
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1135
1141
  };
1136
1142
  if (false === __is(input)) {
1137
- const $report = typia.validate.report(errors);
1143
+ const $report = typia_1.default.validate.report(errors);
1138
1144
  ((input, _path, _exceptionable = true) => {
1139
1145
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.validateAccessTokens || "boolean" === typeof input.validateAccessTokens || $report(_exceptionable, {
1140
1146
  path: _path + ".validateAccessTokens",
@@ -1162,8 +1168,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
1162
1168
  if (!validateRes.success) {
1163
1169
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
1164
1170
  }
1165
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.CheckIfSignedInRoute()}`, payload);
1166
- return new CheckSignInStatusSuccessResponse(response.data);
1171
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CheckIfSignedInRoute()}`, payload);
1172
+ return new requests_1.CheckSignInStatusSuccessResponse(response.data);
1167
1173
  }
1168
1174
  catch (error) {
1169
1175
  await this.handleApiError(error);
@@ -1178,7 +1184,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
1178
1184
  return "object" === typeof input && null !== input && true;
1179
1185
  };
1180
1186
  if (false === __is(input)) {
1181
- const $report = typia.validate.report(errors);
1187
+ const $report = typia_1.default.validate.report(errors);
1182
1188
  ((input, _path, _exceptionable = true) => {
1183
1189
  const $vo0 = (input, _path, _exceptionable = true) => true;
1184
1190
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
@@ -1202,8 +1208,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
1202
1208
  if (!validateRes.success) {
1203
1209
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
1204
1210
  }
1205
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetBrowseCollectionsRoute()}`, payload);
1206
- return new GetBrowseCollectionsSuccessResponse(response.data).convert(this.ConvertFunction);
1211
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GetBrowseCollectionsRoute()}`, payload);
1212
+ return new requests_1.GetBrowseCollectionsSuccessResponse(response.data).convert(this.ConvertFunction);
1207
1213
  }
1208
1214
  catch (error) {
1209
1215
  await this.handleApiError(error);
@@ -1212,8 +1218,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
1212
1218
  }
1213
1219
  async broadcastTx(payload) {
1214
1220
  try {
1215
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.BroadcastTxRoute()}`, payload);
1216
- return new BroadcastTxSuccessResponse(response.data);
1221
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.BroadcastTxRoute()}`, payload);
1222
+ return new requests_1.BroadcastTxSuccessResponse(response.data);
1217
1223
  }
1218
1224
  catch (error) {
1219
1225
  await this.handleApiError(error);
@@ -1222,8 +1228,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
1222
1228
  }
1223
1229
  async simulateTx(payload) {
1224
1230
  try {
1225
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.SimulateTxRoute()}`, payload);
1226
- return new SimulateTxSuccessResponse(response.data);
1231
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.SimulateTxRoute()}`, payload);
1232
+ return new requests_1.SimulateTxSuccessResponse(response.data);
1227
1233
  }
1228
1234
  catch (error) {
1229
1235
  await this.handleApiError(error);
@@ -1231,16 +1237,16 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
1231
1237
  }
1232
1238
  }
1233
1239
  async createAddressLists(payload) {
1234
- return await BitBadgesAddressList.CreateAddressList(this, payload);
1240
+ return await BitBadgesAddressList_1.BitBadgesAddressList.CreateAddressList(this, payload);
1235
1241
  }
1236
1242
  async updateAddressLists(payload) {
1237
- return await BitBadgesAddressList.UpdateAddressList(this, payload);
1243
+ return await BitBadgesAddressList_1.BitBadgesAddressList.UpdateAddressList(this, payload);
1238
1244
  }
1239
1245
  async getAddressLists(payload) {
1240
- return await BitBadgesAddressList.GetAddressLists(this, payload);
1246
+ return await BitBadgesAddressList_1.BitBadgesAddressList.GetAddressLists(this, payload);
1241
1247
  }
1242
1248
  async deleteAddressLists(payload) {
1243
- return await BitBadgesAddressList.DeleteAddressList(this, payload);
1249
+ return await BitBadgesAddressList_1.BitBadgesAddressList.DeleteAddressList(this, payload);
1244
1250
  }
1245
1251
  async exchangeSIWBBAuthorizationCode(payload) {
1246
1252
  try {
@@ -1248,7 +1254,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
1248
1254
  const errors = [];
1249
1255
  const __is = input => {
1250
1256
  const $io0 = input => (undefined === input.code || "string" === typeof input.code) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io1(input.options)) && (undefined === input.client_secret || "string" === typeof input.client_secret) && (undefined === input.client_id || "string" === typeof input.client_id) && (undefined === input.redirect_uri || "string" === typeof input.redirect_uri) && (undefined === input.grant_type || "authorization_code" === input.grant_type || "refresh_token" === input.grant_type) && (undefined === input.refresh_token || "string" === typeof input.refresh_token);
1251
- const $io1 = input => (undefined === input.ownershipRequirements || "object" === typeof input.ownershipRequirements && null !== input.ownershipRequirements && $iu0(input.ownershipRequirements)) && (undefined === input.otherSignIns || Array.isArray(input.otherSignIns) && input.otherSignIns.every(elem => "discord" === elem || "github" === elem || "google" === elem || "twitter" === elem)) && (undefined === input.issuedAtTimeWindowMs || "number" === typeof input.issuedAtTimeWindowMs) && (undefined === input.skipAssetVerification || "boolean" === typeof input.skipAssetVerification);
1257
+ const $io1 = input => (undefined === input.ownershipRequirements || "object" === typeof input.ownershipRequirements && null !== input.ownershipRequirements && $iu0(input.ownershipRequirements)) && (undefined === input.otherSignIns || Array.isArray(input.otherSignIns) && input.otherSignIns.every(elem => "discord" === elem || "twitter" === elem || "github" === elem || "google" === elem)) && (undefined === input.issuedAtTimeWindowMs || "number" === typeof input.issuedAtTimeWindowMs) && (undefined === input.skipAssetVerification || "boolean" === typeof input.skipAssetVerification);
1252
1258
  const $io2 = input => Array.isArray(input.$and) && input.$and.every(elem => "object" === typeof elem && null !== elem && $iu0(elem));
1253
1259
  const $io3 = input => Array.isArray(input.$or) && input.$or.every(elem => "object" === typeof elem && null !== elem && $iu0(elem));
1254
1260
  const $io4 = input => Array.isArray(input.assets) && input.assets.every(elem => "object" === typeof elem && null !== elem && $io5(elem)) && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io7(input.options));
@@ -1268,7 +1274,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
1268
1274
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1269
1275
  };
1270
1276
  if (false === __is(input)) {
1271
- const $report = typia.validate.report(errors);
1277
+ const $report = typia_1.default.validate.report(errors);
1272
1278
  ((input, _path, _exceptionable = true) => {
1273
1279
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.code || "string" === typeof input.code || $report(_exceptionable, {
1274
1280
  path: _path + ".code",
@@ -1313,15 +1319,15 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
1313
1319
  value: input.ownershipRequirements
1314
1320
  }), undefined === input.otherSignIns || (Array.isArray(input.otherSignIns) || $report(_exceptionable, {
1315
1321
  path: _path + ".otherSignIns",
1316
- expected: "(Array<\"discord\" | \"github\" | \"google\" | \"twitter\"> | undefined)",
1322
+ expected: "(Array<\"discord\" | \"twitter\" | \"github\" | \"google\"> | undefined)",
1317
1323
  value: input.otherSignIns
1318
- })) && input.otherSignIns.map((elem, _index1) => "discord" === elem || "github" === elem || "google" === elem || "twitter" === elem || $report(_exceptionable, {
1324
+ })) && input.otherSignIns.map((elem, _index1) => "discord" === elem || "twitter" === elem || "github" === elem || "google" === elem || $report(_exceptionable, {
1319
1325
  path: _path + ".otherSignIns[" + _index1 + "]",
1320
1326
  expected: "(\"discord\" | \"github\" | \"google\" | \"twitter\")",
1321
1327
  value: elem
1322
1328
  })).every(flag => flag) || $report(_exceptionable, {
1323
1329
  path: _path + ".otherSignIns",
1324
- expected: "(Array<\"discord\" | \"github\" | \"google\" | \"twitter\"> | undefined)",
1330
+ expected: "(Array<\"discord\" | \"twitter\" | \"github\" | \"google\"> | undefined)",
1325
1331
  value: input.otherSignIns
1326
1332
  }), undefined === input.issuedAtTimeWindowMs || "number" === typeof input.issuedAtTimeWindowMs || $report(_exceptionable, {
1327
1333
  path: _path + ".issuedAtTimeWindowMs",
@@ -1501,8 +1507,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
1501
1507
  if (!validateRes.success) {
1502
1508
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
1503
1509
  }
1504
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.ExchangeSIWBBAuthorizationCodesRoute()}`, payload);
1505
- return new ExchangeSIWBBAuthorizationCodeSuccessResponse(response.data).convert(this.ConvertFunction);
1510
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.ExchangeSIWBBAuthorizationCodesRoute()}`, payload);
1511
+ return new requests_1.ExchangeSIWBBAuthorizationCodeSuccessResponse(response.data).convert(this.ConvertFunction);
1506
1512
  }
1507
1513
  catch (error) {
1508
1514
  await this.handleApiError(error);
@@ -1518,7 +1524,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
1518
1524
  return "object" === typeof input && null !== input && $io0(input);
1519
1525
  };
1520
1526
  if (false === __is(input)) {
1521
- const $report = typia.validate.report(errors);
1527
+ const $report = typia_1.default.validate.report(errors);
1522
1528
  ((input, _path, _exceptionable = true) => {
1523
1529
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.bookmark || "string" === typeof input.bookmark || $report(_exceptionable, {
1524
1530
  path: _path + ".bookmark",
@@ -1550,8 +1556,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
1550
1556
  if (!validateRes.success) {
1551
1557
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
1552
1558
  }
1553
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetSIWBBRequestsForDeveloperAppRoute()}`, payload);
1554
- return new GetSIWBBRequestsForDeveloperAppSuccessResponse(response.data).convert(this.ConvertFunction);
1559
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GetSIWBBRequestsForDeveloperAppRoute()}`, payload);
1560
+ return new requests_1.GetSIWBBRequestsForDeveloperAppSuccessResponse(response.data).convert(this.ConvertFunction);
1555
1561
  }
1556
1562
  catch (error) {
1557
1563
  await this.handleApiError(error);
@@ -1563,7 +1569,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
1563
1569
  const validateRes = (input => {
1564
1570
  const errors = [];
1565
1571
  const __is = input => {
1566
- const $io0 = input => "string" === typeof input.response_type && (Array.isArray(input.scopes) && input.scopes.every(elem => "object" === typeof elem && null !== elem && $io1(elem))) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.image || "string" === typeof input.image) && (undefined === input.ownershipRequirements || "object" === typeof input.ownershipRequirements && null !== input.ownershipRequirements && $iu0(input.ownershipRequirements)) && (undefined === input.attestationsPresentations || Array.isArray(input.attestationsPresentations) && input.attestationsPresentations.every(elem => "object" === typeof elem && null !== elem && $io9(elem))) && "string" === typeof input.client_id && (undefined === input.otherSignIns || Array.isArray(input.otherSignIns) && input.otherSignIns.every(elem => "discord" === elem || "github" === elem || "google" === elem || "twitter" === elem)) && (undefined === input.redirect_uri || "string" === typeof input.redirect_uri) && (undefined === input.state || "string" === typeof input.state);
1572
+ const $io0 = input => "string" === typeof input.response_type && (Array.isArray(input.scopes) && input.scopes.every(elem => "object" === typeof elem && null !== elem && $io1(elem))) && (undefined === input.name || "string" === typeof input.name) && (undefined === input.description || "string" === typeof input.description) && (undefined === input.image || "string" === typeof input.image) && (undefined === input.ownershipRequirements || "object" === typeof input.ownershipRequirements && null !== input.ownershipRequirements && $iu0(input.ownershipRequirements)) && (undefined === input.attestationsPresentations || Array.isArray(input.attestationsPresentations) && input.attestationsPresentations.every(elem => "object" === typeof elem && null !== elem && $io9(elem))) && "string" === typeof input.client_id && (undefined === input.otherSignIns || Array.isArray(input.otherSignIns) && input.otherSignIns.every(elem => "discord" === elem || "twitter" === elem || "github" === elem || "google" === elem)) && (undefined === input.redirect_uri || "string" === typeof input.redirect_uri) && (undefined === input.state || "string" === typeof input.state);
1567
1573
  const $io1 = input => "string" === typeof input.scopeName && (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io2(input.options));
1568
1574
  const $io2 = input => true;
1569
1575
  const $io3 = input => Array.isArray(input.$and) && input.$and.every(elem => "object" === typeof elem && null !== elem && $iu0(elem));
@@ -1590,7 +1596,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
1590
1596
  return "object" === typeof input && null !== input && $io0(input);
1591
1597
  };
1592
1598
  if (false === __is(input)) {
1593
- const $report = typia.validate.report(errors);
1599
+ const $report = typia_1.default.validate.report(errors);
1594
1600
  ((input, _path, _exceptionable = true) => {
1595
1601
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.response_type || $report(_exceptionable, {
1596
1602
  path: _path + ".response_type",
@@ -1654,15 +1660,15 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
1654
1660
  value: input.client_id
1655
1661
  }), undefined === input.otherSignIns || (Array.isArray(input.otherSignIns) || $report(_exceptionable, {
1656
1662
  path: _path + ".otherSignIns",
1657
- expected: "(Array<\"discord\" | \"github\" | \"google\" | \"twitter\"> | undefined)",
1663
+ expected: "(Array<\"discord\" | \"twitter\" | \"github\" | \"google\"> | undefined)",
1658
1664
  value: input.otherSignIns
1659
- })) && input.otherSignIns.map((elem, _index3) => "discord" === elem || "github" === elem || "google" === elem || "twitter" === elem || $report(_exceptionable, {
1665
+ })) && input.otherSignIns.map((elem, _index3) => "discord" === elem || "twitter" === elem || "github" === elem || "google" === elem || $report(_exceptionable, {
1660
1666
  path: _path + ".otherSignIns[" + _index3 + "]",
1661
1667
  expected: "(\"discord\" | \"github\" | \"google\" | \"twitter\")",
1662
1668
  value: elem
1663
1669
  })).every(flag => flag) || $report(_exceptionable, {
1664
1670
  path: _path + ".otherSignIns",
1665
- expected: "(Array<\"discord\" | \"github\" | \"google\" | \"twitter\"> | undefined)",
1671
+ expected: "(Array<\"discord\" | \"twitter\" | \"github\" | \"google\"> | undefined)",
1666
1672
  value: input.otherSignIns
1667
1673
  }), undefined === input.redirect_uri || "string" === typeof input.redirect_uri || $report(_exceptionable, {
1668
1674
  path: _path + ".redirect_uri",
@@ -2013,8 +2019,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
2013
2019
  if (!validateRes.success) {
2014
2020
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
2015
2021
  }
2016
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDSIWBBRequestRoute()}`, payload);
2017
- return new CreateSIWBBRequestSuccessResponse(response.data);
2022
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDSIWBBRequestRoute()}`, payload);
2023
+ return new requests_1.CreateSIWBBRequestSuccessResponse(response.data);
2018
2024
  }
2019
2025
  catch (error) {
2020
2026
  await this.handleApiError(error);
@@ -2029,7 +2035,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
2029
2035
  return "object" === typeof input && null !== input && "string" === typeof input.code;
2030
2036
  };
2031
2037
  if (false === __is(input)) {
2032
- const $report = typia.validate.report(errors);
2038
+ const $report = typia_1.default.validate.report(errors);
2033
2039
  ((input, _path, _exceptionable = true) => {
2034
2040
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.code || $report(_exceptionable, {
2035
2041
  path: _path + ".code",
@@ -2057,8 +2063,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
2057
2063
  if (!validateRes.success) {
2058
2064
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
2059
2065
  }
2060
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.RotateSIWBBRequestRoute()}`, payload);
2061
- return new RotateSIWBBRequestSuccessResponse(response.data);
2066
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.RotateSIWBBRequestRoute()}`, payload);
2067
+ return new requests_1.RotateSIWBBRequestSuccessResponse(response.data);
2062
2068
  }
2063
2069
  catch (error) {
2064
2070
  await this.handleApiError(error);
@@ -2073,7 +2079,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
2073
2079
  return "object" === typeof input && null !== input && "string" === typeof input.code;
2074
2080
  };
2075
2081
  if (false === __is(input)) {
2076
- const $report = typia.validate.report(errors);
2082
+ const $report = typia_1.default.validate.report(errors);
2077
2083
  ((input, _path, _exceptionable = true) => {
2078
2084
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.code || $report(_exceptionable, {
2079
2085
  path: _path + ".code",
@@ -2101,8 +2107,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
2101
2107
  if (!validateRes.success) {
2102
2108
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
2103
2109
  }
2104
- const response = await this.axios.delete(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDSIWBBRequestRoute()}`, { data: payload });
2105
- return new DeleteSIWBBRequestSuccessResponse(response.data);
2110
+ const response = await this.axios.delete(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDSIWBBRequestRoute()}`, { data: payload });
2111
+ return new requests_1.DeleteSIWBBRequestSuccessResponse(response.data);
2106
2112
  }
2107
2113
  catch (error) {
2108
2114
  await this.handleApiError(error);
@@ -2115,7 +2121,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
2115
2121
  const errors = [];
2116
2122
  const __is = input => {
2117
2123
  const $io0 = input => (undefined === input.options || "object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) && $io1(input.options)) && (undefined === input.attestationsPresentations || Array.isArray(input.attestationsPresentations) && input.attestationsPresentations.every(elem => "object" === typeof elem && null !== elem && $io10(elem))) && "string" === typeof input.message && "string" === typeof input.signature && (undefined === input.publicKey || "string" === typeof input.publicKey);
2118
- const $io1 = input => (undefined === input.expectedChallengeParams || "object" === typeof input.expectedChallengeParams && null !== input.expectedChallengeParams && false === Array.isArray(input.expectedChallengeParams) && $io2(input.expectedChallengeParams)) && (undefined === input.beforeVerification || true) && (undefined === input.balancesSnapshot || "object" === typeof input.balancesSnapshot && null !== input.balancesSnapshot && false === Array.isArray(input.balancesSnapshot) && $io9(input.balancesSnapshot)) && (undefined === input.skipTimestampVerification || "boolean" === typeof input.skipTimestampVerification) && (undefined === input.skipAssetVerification || "boolean" === typeof input.skipAssetVerification) && (undefined === input.earliestIssuedAt || "string" === typeof input.earliestIssuedAt) && (undefined === input.issuedAtTimeWindowMs || "number" === typeof input.issuedAtTimeWindowMs) && (undefined === input.skipSignatureVerification || "boolean" === typeof input.skipSignatureVerification);
2124
+ const $io1 = input => (undefined === input.expectedChallengeParams || "object" === typeof input.expectedChallengeParams && null !== input.expectedChallengeParams && false === Array.isArray(input.expectedChallengeParams) && $io2(input.expectedChallengeParams)) && (undefined === input.beforeVerification || true) && (undefined === input.balancesSnapshot || "object" === typeof input.balancesSnapshot && null !== input.balancesSnapshot && false === Array.isArray(input.balancesSnapshot) && $io9(input.balancesSnapshot)) && (undefined === input.verificationTimeOverride || "number" === typeof input.verificationTimeOverride) && (undefined === input.skipTimestampVerification || "boolean" === typeof input.skipTimestampVerification) && (undefined === input.skipAssetVerification || "boolean" === typeof input.skipAssetVerification) && (undefined === input.earliestIssuedAt || "string" === typeof input.earliestIssuedAt) && (undefined === input.issuedAtTimeWindowMs || "number" === typeof input.issuedAtTimeWindowMs) && (undefined === input.skipSignatureVerification || "boolean" === typeof input.skipSignatureVerification);
2119
2125
  const $io2 = input => (undefined === input.domain || "string" === typeof input.domain) && (undefined === input.statement || "string" === typeof input.statement) && (undefined === input.address || "string" === typeof input.address) && (undefined === input.uri || "string" === typeof input.uri) && (undefined === input.nonce || "string" === typeof input.nonce) && (undefined === input.version || "string" === typeof input.version) && (undefined === input.chainId || "string" === typeof input.chainId) && (undefined === input.issuedAt || "string" === typeof input.issuedAt) && (undefined === input.expirationDate || "string" === typeof input.expirationDate) && (undefined === input.notBefore || "string" === typeof input.notBefore) && (undefined === input.resources || Array.isArray(input.resources) && input.resources.every(elem => "string" === typeof elem)) && (undefined === input.assetOwnershipRequirements || "object" === typeof input.assetOwnershipRequirements && null !== input.assetOwnershipRequirements && $iu0(input.assetOwnershipRequirements));
2120
2126
  const $io3 = input => Array.isArray(input.$and) && input.$and.every(elem => "object" === typeof elem && null !== elem && $iu0(elem));
2121
2127
  const $io4 = input => Array.isArray(input.$or) && input.$or.every(elem => "object" === typeof elem && null !== elem && $iu0(elem));
@@ -2142,7 +2148,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
2142
2148
  return "object" === typeof input && null !== input && $io0(input);
2143
2149
  };
2144
2150
  if (false === __is(input)) {
2145
- const $report = typia.validate.report(errors);
2151
+ const $report = typia_1.default.validate.report(errors);
2146
2152
  ((input, _path, _exceptionable = true) => {
2147
2153
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || $report(_exceptionable, {
2148
2154
  path: _path + ".options",
@@ -2201,6 +2207,10 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
2201
2207
  path: _path + ".balancesSnapshot",
2202
2208
  expected: "(object | undefined)",
2203
2209
  value: input.balancesSnapshot
2210
+ }), undefined === input.verificationTimeOverride || "number" === typeof input.verificationTimeOverride || $report(_exceptionable, {
2211
+ path: _path + ".verificationTimeOverride",
2212
+ expected: "(number | undefined)",
2213
+ value: input.verificationTimeOverride
2204
2214
  }), undefined === input.skipTimestampVerification || "boolean" === typeof input.skipTimestampVerification || $report(_exceptionable, {
2205
2215
  path: _path + ".skipTimestampVerification",
2206
2216
  expected: "(boolean | undefined)",
@@ -2610,8 +2620,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
2610
2620
  if (!validateRes.success) {
2611
2621
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
2612
2622
  }
2613
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GenericVerifyRoute()}`, payload);
2614
- return new GenericBlockinVerifySuccessResponse(response.data);
2623
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GenericVerifyRoute()}`, payload);
2624
+ return new requests_1.GenericBlockinVerifySuccessResponse(response.data);
2615
2625
  }
2616
2626
  catch (error) {
2617
2627
  await this.handleApiError(error);
@@ -2643,7 +2653,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
2643
2653
  return "object" === typeof input && null !== input && $io0(input);
2644
2654
  };
2645
2655
  if (false === __is(input)) {
2646
- const $report = typia.validate.report(errors);
2656
+ const $report = typia_1.default.validate.report(errors);
2647
2657
  ((input, _path, _exceptionable = true) => {
2648
2658
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.address || $report(_exceptionable, {
2649
2659
  path: _path + ".address",
@@ -2827,8 +2837,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
2827
2837
  if (!validateRes.success) {
2828
2838
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
2829
2839
  }
2830
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GenericVerifyAssetsRoute()}`, payload);
2831
- return new GenericVerifyAssetsSuccessResponse(response.data);
2840
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GenericVerifyAssetsRoute()}`, payload);
2841
+ return new requests_1.GenericVerifyAssetsSuccessResponse(response.data);
2832
2842
  }
2833
2843
  catch (error) {
2834
2844
  await this.handleApiError(error);
@@ -2845,7 +2855,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
2845
2855
  return "object" === typeof input && null !== input && $io0(input);
2846
2856
  };
2847
2857
  if (false === __is(input)) {
2848
- const $report = typia.validate.report(errors);
2858
+ const $report = typia_1.default.validate.report(errors);
2849
2859
  ((input, _path, _exceptionable = true) => {
2850
2860
  const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.claimAlerts) || $report(_exceptionable, {
2851
2861
  path: _path + ".claimAlerts",
@@ -2906,8 +2916,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
2906
2916
  if (!validateRes.success) {
2907
2917
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
2908
2918
  }
2909
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.SendClaimAlertRoute()}`, payload);
2910
- return new SendClaimAlertsSuccessResponse(response.data);
2919
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.SendClaimAlertRoute()}`, payload);
2920
+ return new requests_1.SendClaimAlertsSuccessResponse(response.data);
2911
2921
  }
2912
2922
  catch (error) {
2913
2923
  await this.handleApiError(error);
@@ -2923,7 +2933,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
2923
2933
  return "object" === typeof input && null !== input && $io0(input);
2924
2934
  };
2925
2935
  if (false === __is(input)) {
2926
- const $report = typia.validate.report(errors);
2936
+ const $report = typia_1.default.validate.report(errors);
2927
2937
  ((input, _path, _exceptionable = true) => {
2928
2938
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId || $report(_exceptionable, {
2929
2939
  path: _path + ".collectionId",
@@ -2955,8 +2965,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
2955
2965
  if (!validateRes.success) {
2956
2966
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
2957
2967
  }
2958
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetClaimAlertsRoute()}`, payload);
2959
- return new GetClaimAlertsForCollectionSuccessResponse(response.data).convert(this.ConvertFunction);
2968
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GetClaimAlertsRoute()}`, payload);
2969
+ return new requests_1.GetClaimAlertsForCollectionSuccessResponse(response.data).convert(this.ConvertFunction);
2960
2970
  }
2961
2971
  catch (error) {
2962
2972
  await this.handleApiError(error);
@@ -2964,7 +2974,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
2964
2974
  }
2965
2975
  }
2966
2976
  async getRefreshStatus(collectionId) {
2967
- return await BitBadgesCollection.GetRefreshStatus(this, collectionId);
2977
+ return await BitBadgesCollection_1.BitBadgesCollection.GetRefreshStatus(this, collectionId);
2968
2978
  }
2969
2979
  async getMaps(payload) {
2970
2980
  try {
@@ -2975,7 +2985,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
2975
2985
  return "object" === typeof input && null !== input && $io0(input);
2976
2986
  };
2977
2987
  if (false === __is(input)) {
2978
- const $report = typia.validate.report(errors);
2988
+ const $report = typia_1.default.validate.report(errors);
2979
2989
  ((input, _path, _exceptionable = true) => {
2980
2990
  const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.mapIds) || $report(_exceptionable, {
2981
2991
  path: _path + ".mapIds",
@@ -3011,8 +3021,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3011
3021
  if (!validateRes.success) {
3012
3022
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
3013
3023
  }
3014
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetMapsRoute()}`, payload);
3015
- return new GetMapsSuccessResponse(response.data).convert(this.ConvertFunction);
3024
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GetMapsRoute()}`, payload);
3025
+ return new maps_1.GetMapsSuccessResponse(response.data).convert(this.ConvertFunction);
3016
3026
  }
3017
3027
  catch (error) {
3018
3028
  await this.handleApiError(error);
@@ -3029,7 +3039,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3029
3039
  return "object" === typeof input && null !== input && $io0(input);
3030
3040
  };
3031
3041
  if (false === __is(input)) {
3032
- const $report = typia.validate.report(errors);
3042
+ const $report = typia_1.default.validate.report(errors);
3033
3043
  ((input, _path, _exceptionable = true) => {
3034
3044
  const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.valuesToFetch) || $report(_exceptionable, {
3035
3045
  path: _path + ".valuesToFetch",
@@ -3086,8 +3096,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3086
3096
  if (!validateRes.success) {
3087
3097
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
3088
3098
  }
3089
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetMapValuesRoute()}`, payload);
3090
- return new GetMapValuesSuccessResponse(response.data).convert(this.ConvertFunction);
3099
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GetMapValuesRoute()}`, payload);
3100
+ return new maps_1.GetMapValuesSuccessResponse(response.data).convert(this.ConvertFunction);
3091
3101
  }
3092
3102
  catch (error) {
3093
3103
  await this.handleApiError(error);
@@ -3095,7 +3105,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3095
3105
  }
3096
3106
  }
3097
3107
  async filterBadgesInCollection(collectionId, payload) {
3098
- return await BitBadgesCollection.FilterBadgesInCollection(this, collectionId, payload);
3108
+ return await BitBadgesCollection_1.BitBadgesCollection.FilterBadgesInCollection(this, collectionId, payload);
3099
3109
  }
3100
3110
  async filterSuggestions(collectionId, payload) {
3101
3111
  try {
@@ -3105,7 +3115,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3105
3115
  return "object" === typeof input && null !== input && true;
3106
3116
  };
3107
3117
  if (false === __is(input)) {
3108
- const $report = typia.validate.report(errors);
3118
+ const $report = typia_1.default.validate.report(errors);
3109
3119
  ((input, _path, _exceptionable = true) => {
3110
3120
  const $vo0 = (input, _path, _exceptionable = true) => true;
3111
3121
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
@@ -3129,8 +3139,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3129
3139
  if (!validateRes.success) {
3130
3140
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
3131
3141
  }
3132
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.FilterSuggestionsRoute(collectionId)}`, payload);
3133
- return new FilterSuggestionsSuccessResponse(response.data);
3142
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.FilterSuggestionsRoute(collectionId)}`, payload);
3143
+ return new collections_1.FilterSuggestionsSuccessResponse(response.data);
3134
3144
  }
3135
3145
  catch (error) {
3136
3146
  await this.handleApiError(error);
@@ -3146,7 +3156,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3146
3156
  return "object" === typeof input && null !== input && $io0(input);
3147
3157
  };
3148
3158
  if (false === __is(input)) {
3149
- const $report = typia.validate.report(errors);
3159
+ const $report = typia_1.default.validate.report(errors);
3150
3160
  ((input, _path, _exceptionable = true) => {
3151
3161
  const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.claimIds) || $report(_exceptionable, {
3152
3162
  path: _path + ".claimIds",
@@ -3186,8 +3196,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3186
3196
  if (!validateRes.success) {
3187
3197
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
3188
3198
  }
3189
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetClaimsRoute()}`, payload);
3190
- return new GetClaimsSuccessResponse(response.data).convert(this.ConvertFunction);
3199
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GetClaimsRoute()}`, payload);
3200
+ return new requests_1.GetClaimsSuccessResponse(response.data).convert(this.ConvertFunction);
3191
3201
  }
3192
3202
  catch (error) {
3193
3203
  await this.handleApiError(error);
@@ -3203,7 +3213,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3203
3213
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
3204
3214
  };
3205
3215
  if (false === __is(input)) {
3206
- const $report = typia.validate.report(errors);
3216
+ const $report = typia_1.default.validate.report(errors);
3207
3217
  ((input, _path, _exceptionable = true) => {
3208
3218
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.addKey || "string" === typeof input.addKey || $report(_exceptionable, {
3209
3219
  path: _path + ".addKey",
@@ -3235,8 +3245,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3235
3245
  if (!validateRes.success) {
3236
3246
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
3237
3247
  }
3238
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetAttestationsRoute()}`, payload);
3239
- return new GetAttestationSuccessResponse(response.data).convert(this.ConvertFunction);
3248
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GetAttestationsRoute()}`, payload);
3249
+ return new requests_1.GetAttestationSuccessResponse(response.data).convert(this.ConvertFunction);
3240
3250
  }
3241
3251
  catch (error) {
3242
3252
  await this.handleApiError(error);
@@ -3254,7 +3264,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3254
3264
  return "object" === typeof input && null !== input && $io0(input);
3255
3265
  };
3256
3266
  if (false === __is(input)) {
3257
- const $report = typia.validate.report(errors);
3267
+ const $report = typia_1.default.validate.report(errors);
3258
3268
  ((input, _path, _exceptionable = true) => {
3259
3269
  const $vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.proofOfIssuance && null !== input.proofOfIssuance || $report(_exceptionable, {
3260
3270
  path: _path + ".proofOfIssuance",
@@ -3360,8 +3370,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3360
3370
  if (!validateRes.success) {
3361
3371
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
3362
3372
  }
3363
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDAttestationRoute()}`, payload);
3364
- return new CreateAttestationSuccessResponse(response.data);
3373
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDAttestationRoute()}`, payload);
3374
+ return new requests_1.CreateAttestationSuccessResponse(response.data);
3365
3375
  }
3366
3376
  catch (error) {
3367
3377
  await this.handleApiError(error);
@@ -3376,7 +3386,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3376
3386
  return "object" === typeof input && null !== input && "string" === typeof input.attestationId;
3377
3387
  };
3378
3388
  if (false === __is(input)) {
3379
- const $report = typia.validate.report(errors);
3389
+ const $report = typia_1.default.validate.report(errors);
3380
3390
  ((input, _path, _exceptionable = true) => {
3381
3391
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.attestationId || $report(_exceptionable, {
3382
3392
  path: _path + ".attestationId",
@@ -3404,10 +3414,10 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3404
3414
  if (!validateRes.success) {
3405
3415
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
3406
3416
  }
3407
- const response = await this.axios.delete(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDAttestationRoute()}`, {
3417
+ const response = await this.axios.delete(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDAttestationRoute()}`, {
3408
3418
  data: payload
3409
3419
  });
3410
- return new DeleteAttestationSuccessResponse(response.data);
3420
+ return new requests_1.DeleteAttestationSuccessResponse(response.data);
3411
3421
  }
3412
3422
  catch (error) {
3413
3423
  await this.handleApiError(error);
@@ -3427,7 +3437,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3427
3437
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
3428
3438
  };
3429
3439
  if (false === __is(input)) {
3430
- const $report = typia.validate.report(errors);
3440
+ const $report = typia_1.default.validate.report(errors);
3431
3441
  ((input, _path, _exceptionable = true) => {
3432
3442
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.attestationId || "string" === typeof input.attestationId || $report(_exceptionable, {
3433
3443
  path: _path + ".attestationId",
@@ -3595,8 +3605,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3595
3605
  if (!validateRes.success) {
3596
3606
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
3597
3607
  }
3598
- const response = await this.axios.put(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDAttestationRoute()}`, payload);
3599
- return new UpdateAttestationSuccessResponse(response.data);
3608
+ const response = await this.axios.put(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDAttestationRoute()}`, payload);
3609
+ return new requests_1.UpdateAttestationSuccessResponse(response.data);
3600
3610
  }
3601
3611
  catch (error) {
3602
3612
  await this.handleApiError(error);
@@ -3609,30 +3619,30 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3609
3619
  const errors = [];
3610
3620
  const __is = input => {
3611
3621
  const $io0 = input => Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
3612
- const $io1 = input => (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io2(input.metadata)) && (undefined === input.seedCode || "string" === typeof input.seedCode) && "string" === typeof input.claimId && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io6(input.balancesToSet)) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.assignMethod || "string" === typeof input.assignMethod) && (undefined === input.listId || "string" === typeof input.listId) && (undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && (undefined === input.cid || "string" === typeof input.cid) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io12(elem)));
3613
- const $io2 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.video || "string" === typeof input.video) && (undefined === input.category || "string" === typeof input.category) && (undefined === input.externalUrl || "string" === typeof input.externalUrl) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.socials || "object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) && $io3(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && $io4(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock) && (undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt) && (undefined === input._isUpdating || "boolean" === typeof input._isUpdating);
3614
- const $io3 = input => Object.keys(input).every(key => {
3622
+ const $io1 = input => (undefined === input.seedCode || "string" === typeof input.seedCode) && "string" === typeof input.claimId && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io2(input.balancesToSet)) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io8(input.metadata)) && (undefined === input.assignMethod || "string" === typeof input.assignMethod) && (undefined === input.listId || "string" === typeof input.listId) && (undefined === input.collectionId || "string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId) && (undefined === input.cid || "string" === typeof input.cid) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io12(elem)));
3623
+ const $io2 = input => Array.isArray(input.manualBalances) && input.manualBalances.every(elem => "object" === typeof elem && null !== elem && $io3(elem)) && ("object" === typeof input.incrementedBalances && null !== input.incrementedBalances && $io6(input.incrementedBalances)) && ("object" === typeof input.orderCalculationMethod && null !== input.orderCalculationMethod && ("boolean" === typeof input.orderCalculationMethod.useOverallNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerToAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerFromAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerInitiatedByAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.useMerkleChallengeLeafIndex && "string" === typeof input.orderCalculationMethod.challengeTrackerId));
3624
+ const $io3 = input => Array.isArray(input.balances) && input.balances.every(elem => "object" === typeof elem && null !== elem && $io4(elem));
3625
+ const $io4 = input => ("string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount) && (Array.isArray(input.badgeIds) && input.badgeIds.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (Array.isArray(input.ownershipTimes) && input.ownershipTimes.every(elem => "object" === typeof elem && null !== elem && $io5(elem)));
3626
+ const $io5 = input => ("string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start) && ("string" === typeof input.end || "number" === typeof input.end || "bigint" === typeof input.end);
3627
+ const $io6 = input => Array.isArray(input.startBalances) && input.startBalances.every(elem => "object" === typeof elem && null !== elem && $io4(elem)) && ("string" === typeof input.incrementBadgeIdsBy || "number" === typeof input.incrementBadgeIdsBy || "bigint" === typeof input.incrementBadgeIdsBy) && ("string" === typeof input.incrementOwnershipTimesBy || "number" === typeof input.incrementOwnershipTimesBy || "bigint" === typeof input.incrementOwnershipTimesBy);
3628
+ const $io8 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.video || "string" === typeof input.video) && (undefined === input.category || "string" === typeof input.category) && (undefined === input.externalUrl || "string" === typeof input.externalUrl) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.socials || "object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) && $io9(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && $io10(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && $io11(elem))) && (undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock) && (undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt) && (undefined === input._isUpdating || "boolean" === typeof input._isUpdating);
3629
+ const $io9 = input => Object.keys(input).every(key => {
3615
3630
  const value = input[key];
3616
3631
  if (undefined === value)
3617
3632
  return true;
3618
3633
  return "string" === typeof value;
3619
3634
  });
3620
- const $io4 = input => "string" === typeof input.host && "string" === typeof input.assignMethod;
3621
- const $io5 = input => (undefined === input.type || "date" === input.type || "url" === input.type) && "string" === typeof input.name && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value);
3622
- const $io6 = input => Array.isArray(input.manualBalances) && input.manualBalances.every(elem => "object" === typeof elem && null !== elem && $io7(elem)) && ("object" === typeof input.incrementedBalances && null !== input.incrementedBalances && $io10(input.incrementedBalances)) && ("object" === typeof input.orderCalculationMethod && null !== input.orderCalculationMethod && ("boolean" === typeof input.orderCalculationMethod.useOverallNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerToAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerFromAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerInitiatedByAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.useMerkleChallengeLeafIndex && "string" === typeof input.orderCalculationMethod.challengeTrackerId));
3623
- const $io7 = input => Array.isArray(input.balances) && input.balances.every(elem => "object" === typeof elem && null !== elem && $io8(elem));
3624
- const $io8 = input => ("string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount) && (Array.isArray(input.badgeIds) && input.badgeIds.every(elem => "object" === typeof elem && null !== elem && $io9(elem))) && (Array.isArray(input.ownershipTimes) && input.ownershipTimes.every(elem => "object" === typeof elem && null !== elem && $io9(elem)));
3625
- const $io9 = input => ("string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start) && ("string" === typeof input.end || "number" === typeof input.end || "bigint" === typeof input.end);
3626
- const $io10 = input => Array.isArray(input.startBalances) && input.startBalances.every(elem => "object" === typeof elem && null !== elem && $io8(elem)) && ("string" === typeof input.incrementBadgeIdsBy || "number" === typeof input.incrementBadgeIdsBy || "bigint" === typeof input.incrementBadgeIdsBy) && ("string" === typeof input.incrementOwnershipTimesBy || "number" === typeof input.incrementOwnershipTimesBy || "bigint" === typeof input.incrementOwnershipTimesBy);
3635
+ const $io10 = input => "string" === typeof input.host && "string" === typeof input.assignMethod;
3636
+ const $io11 = input => (undefined === input.type || "date" === input.type || "url" === input.type) && "string" === typeof input.name && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value);
3627
3637
  const $io12 = input => (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io13(input.metadata)) && (undefined === input.resetState || "boolean" === typeof input.resetState) && (undefined === input.newState || "object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) && $io14(input.newState)) && (undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState) && "string" === typeof input.instanceId && "string" === typeof input.pluginId && ("object" === typeof input.publicParams && null !== input.publicParams && true) && ("object" === typeof input.privateParams && null !== input.privateParams && true);
3628
3638
  const $io13 = input => "string" === typeof input.name && "string" === typeof input.description;
3629
3639
  const $io14 = input => true;
3630
3640
  return "object" === typeof input && null !== input && $io0(input);
3631
3641
  };
3632
3642
  if (false === __is(input)) {
3633
- const $report = typia.validate.report(errors);
3643
+ const $report = typia_1.default.validate.report(errors);
3634
3644
  ((input, _path, _exceptionable = true) => {
3635
- const $join = typia.validate.join;
3645
+ const $join = typia_1.default.validate.join;
3636
3646
  const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.claims) || $report(_exceptionable, {
3637
3647
  path: _path + ".claims",
3638
3648
  expected: "Array<CreateClaimRequest<NumberType>>",
@@ -3650,15 +3660,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3650
3660
  expected: "Array<CreateClaimRequest<NumberType>>",
3651
3661
  value: input.claims
3652
3662
  })].every(flag => flag);
3653
- const $vo1 = (input, _path, _exceptionable = true) => [undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
3654
- path: _path + ".metadata",
3655
- expected: "(iMetadata<NumberType> | undefined)",
3656
- value: input.metadata
3657
- })) && $vo2(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
3658
- path: _path + ".metadata",
3659
- expected: "(iMetadata<NumberType> | undefined)",
3660
- value: input.metadata
3661
- }), undefined === input.seedCode || "string" === typeof input.seedCode || $report(_exceptionable, {
3663
+ const $vo1 = (input, _path, _exceptionable = true) => [undefined === input.seedCode || "string" === typeof input.seedCode || $report(_exceptionable, {
3662
3664
  path: _path + ".seedCode",
3663
3665
  expected: "(string | undefined)",
3664
3666
  value: input.seedCode
@@ -3670,7 +3672,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3670
3672
  path: _path + ".balancesToSet",
3671
3673
  expected: "(iPredeterminedBalances<NumberType> | undefined)",
3672
3674
  value: input.balancesToSet
3673
- })) && $vo6(input.balancesToSet, _path + ".balancesToSet", true && _exceptionable) || $report(_exceptionable, {
3675
+ })) && $vo2(input.balancesToSet, _path + ".balancesToSet", true && _exceptionable) || $report(_exceptionable, {
3674
3676
  path: _path + ".balancesToSet",
3675
3677
  expected: "(iPredeterminedBalances<NumberType> | undefined)",
3676
3678
  value: input.balancesToSet
@@ -3682,6 +3684,14 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3682
3684
  path: _path + ".approach",
3683
3685
  expected: "(string | undefined)",
3684
3686
  value: input.approach
3687
+ }), undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
3688
+ path: _path + ".metadata",
3689
+ expected: "(iMetadata<NumberType> | undefined)",
3690
+ value: input.metadata
3691
+ })) && $vo8(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
3692
+ path: _path + ".metadata",
3693
+ expected: "(iMetadata<NumberType> | undefined)",
3694
+ value: input.metadata
3685
3695
  }), undefined === input.assignMethod || "string" === typeof input.assignMethod || $report(_exceptionable, {
3686
3696
  path: _path + ".assignMethod",
3687
3697
  expected: "(string | undefined)",
@@ -3715,129 +3725,16 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3715
3725
  expected: "Array<ManagePluginRequest>",
3716
3726
  value: input.plugins
3717
3727
  })].every(flag => flag);
3718
- const $vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
3719
- path: _path + ".name",
3720
- expected: "string",
3721
- value: input.name
3722
- }), "string" === typeof input.description || $report(_exceptionable, {
3723
- path: _path + ".description",
3724
- expected: "string",
3725
- value: input.description
3726
- }), "string" === typeof input.image || $report(_exceptionable, {
3727
- path: _path + ".image",
3728
- expected: "string",
3729
- value: input.image
3730
- }), undefined === input.video || "string" === typeof input.video || $report(_exceptionable, {
3731
- path: _path + ".video",
3732
- expected: "(string | undefined)",
3733
- value: input.video
3734
- }), undefined === input.category || "string" === typeof input.category || $report(_exceptionable, {
3735
- path: _path + ".category",
3736
- expected: "(string | undefined)",
3737
- value: input.category
3738
- }), undefined === input.externalUrl || "string" === typeof input.externalUrl || $report(_exceptionable, {
3739
- path: _path + ".externalUrl",
3740
- expected: "(string | undefined)",
3741
- value: input.externalUrl
3742
- }), undefined === input.tags || (Array.isArray(input.tags) || $report(_exceptionable, {
3743
- path: _path + ".tags",
3744
- expected: "(Array<string> | undefined)",
3745
- value: input.tags
3746
- })) && input.tags.map((elem, _index3) => "string" === typeof elem || $report(_exceptionable, {
3747
- path: _path + ".tags[" + _index3 + "]",
3748
- expected: "string",
3749
- value: elem
3750
- })).every(flag => flag) || $report(_exceptionable, {
3751
- path: _path + ".tags",
3752
- expected: "(Array<string> | undefined)",
3753
- value: input.tags
3754
- }), undefined === input.socials || ("object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) || $report(_exceptionable, {
3755
- path: _path + ".socials",
3756
- expected: "(__type | undefined)",
3757
- value: input.socials
3758
- })) && $vo3(input.socials, _path + ".socials", true && _exceptionable) || $report(_exceptionable, {
3759
- path: _path + ".socials",
3760
- expected: "(__type | undefined)",
3761
- value: input.socials
3762
- }), undefined === input.offChainTransferabilityInfo || ("object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo || $report(_exceptionable, {
3763
- path: _path + ".offChainTransferabilityInfo",
3764
- expected: "(__type.o1 | undefined)",
3765
- value: input.offChainTransferabilityInfo
3766
- })) && $vo4(input.offChainTransferabilityInfo, _path + ".offChainTransferabilityInfo", true && _exceptionable) || $report(_exceptionable, {
3767
- path: _path + ".offChainTransferabilityInfo",
3768
- expected: "(__type.o1 | undefined)",
3769
- value: input.offChainTransferabilityInfo
3770
- }), undefined === input.attributes || (Array.isArray(input.attributes) || $report(_exceptionable, {
3771
- path: _path + ".attributes",
3772
- expected: "(Array<__type> | undefined)",
3773
- value: input.attributes
3774
- })) && input.attributes.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3775
- path: _path + ".attributes[" + _index4 + "]",
3776
- expected: "__type.o2",
3777
- value: elem
3778
- })) && $vo5(elem, _path + ".attributes[" + _index4 + "]", true && _exceptionable) || $report(_exceptionable, {
3779
- path: _path + ".attributes[" + _index4 + "]",
3780
- expected: "__type.o2",
3781
- value: elem
3782
- })).every(flag => flag) || $report(_exceptionable, {
3783
- path: _path + ".attributes",
3784
- expected: "(Array<__type> | undefined)",
3785
- value: input.attributes
3786
- }), undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock || $report(_exceptionable, {
3787
- path: _path + ".fetchedAtBlock",
3788
- expected: "(bigint | number | string | undefined)",
3789
- value: input.fetchedAtBlock
3790
- }), undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt || $report(_exceptionable, {
3791
- path: _path + ".fetchedAt",
3792
- expected: "(bigint | number | string | undefined)",
3793
- value: input.fetchedAt
3794
- }), undefined === input._isUpdating || "boolean" === typeof input._isUpdating || $report(_exceptionable, {
3795
- path: _path + "._isUpdating",
3796
- expected: "(boolean | undefined)",
3797
- value: input._isUpdating
3798
- })].every(flag => flag);
3799
- const $vo3 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
3800
- const value = input[key];
3801
- if (undefined === value)
3802
- return true;
3803
- return "string" === typeof value || $report(_exceptionable, {
3804
- path: _path + $join(key),
3805
- expected: "string",
3806
- value: value
3807
- });
3808
- }).every(flag => flag)].every(flag => flag);
3809
- const $vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || $report(_exceptionable, {
3810
- path: _path + ".host",
3811
- expected: "string",
3812
- value: input.host
3813
- }), "string" === typeof input.assignMethod || $report(_exceptionable, {
3814
- path: _path + ".assignMethod",
3815
- expected: "string",
3816
- value: input.assignMethod
3817
- })].every(flag => flag);
3818
- const $vo5 = (input, _path, _exceptionable = true) => [undefined === input.type || "date" === input.type || "url" === input.type || $report(_exceptionable, {
3819
- path: _path + ".type",
3820
- expected: "(\"date\" | \"url\" | undefined)",
3821
- value: input.type
3822
- }), "string" === typeof input.name || $report(_exceptionable, {
3823
- path: _path + ".name",
3824
- expected: "string",
3825
- value: input.name
3826
- }), "string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value || $report(_exceptionable, {
3827
- path: _path + ".value",
3828
- expected: "(boolean | number | string)",
3829
- value: input.value
3830
- })].every(flag => flag);
3831
- const $vo6 = (input, _path, _exceptionable = true) => [(Array.isArray(input.manualBalances) || $report(_exceptionable, {
3728
+ const $vo2 = (input, _path, _exceptionable = true) => [(Array.isArray(input.manualBalances) || $report(_exceptionable, {
3832
3729
  path: _path + ".manualBalances",
3833
3730
  expected: "Array<iManualBalances<NumberType>>",
3834
3731
  value: input.manualBalances
3835
- })) && input.manualBalances.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3836
- path: _path + ".manualBalances[" + _index5 + "]",
3732
+ })) && input.manualBalances.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3733
+ path: _path + ".manualBalances[" + _index3 + "]",
3837
3734
  expected: "iManualBalances<NumberType>",
3838
3735
  value: elem
3839
- })) && $vo7(elem, _path + ".manualBalances[" + _index5 + "]", true && _exceptionable) || $report(_exceptionable, {
3840
- path: _path + ".manualBalances[" + _index5 + "]",
3736
+ })) && $vo3(elem, _path + ".manualBalances[" + _index3 + "]", true && _exceptionable) || $report(_exceptionable, {
3737
+ path: _path + ".manualBalances[" + _index3 + "]",
3841
3738
  expected: "iManualBalances<NumberType>",
3842
3739
  value: elem
3843
3740
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3848,7 +3745,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3848
3745
  path: _path + ".incrementedBalances",
3849
3746
  expected: "iIncrementedBalances<NumberType>",
3850
3747
  value: input.incrementedBalances
3851
- })) && $vo10(input.incrementedBalances, _path + ".incrementedBalances", true && _exceptionable) || $report(_exceptionable, {
3748
+ })) && $vo6(input.incrementedBalances, _path + ".incrementedBalances", true && _exceptionable) || $report(_exceptionable, {
3852
3749
  path: _path + ".incrementedBalances",
3853
3750
  expected: "iIncrementedBalances<NumberType>",
3854
3751
  value: input.incrementedBalances
@@ -3856,21 +3753,21 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3856
3753
  path: _path + ".orderCalculationMethod",
3857
3754
  expected: "iPredeterminedOrderCalculationMethod",
3858
3755
  value: input.orderCalculationMethod
3859
- })) && $vo11(input.orderCalculationMethod, _path + ".orderCalculationMethod", true && _exceptionable) || $report(_exceptionable, {
3756
+ })) && $vo7(input.orderCalculationMethod, _path + ".orderCalculationMethod", true && _exceptionable) || $report(_exceptionable, {
3860
3757
  path: _path + ".orderCalculationMethod",
3861
3758
  expected: "iPredeterminedOrderCalculationMethod",
3862
3759
  value: input.orderCalculationMethod
3863
3760
  })].every(flag => flag);
3864
- const $vo7 = (input, _path, _exceptionable = true) => [(Array.isArray(input.balances) || $report(_exceptionable, {
3761
+ const $vo3 = (input, _path, _exceptionable = true) => [(Array.isArray(input.balances) || $report(_exceptionable, {
3865
3762
  path: _path + ".balances",
3866
3763
  expected: "Array<iBalance<NumberType>>",
3867
3764
  value: input.balances
3868
- })) && input.balances.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3869
- path: _path + ".balances[" + _index6 + "]",
3765
+ })) && input.balances.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3766
+ path: _path + ".balances[" + _index4 + "]",
3870
3767
  expected: "iBalance<NumberType>",
3871
3768
  value: elem
3872
- })) && $vo8(elem, _path + ".balances[" + _index6 + "]", true && _exceptionable) || $report(_exceptionable, {
3873
- path: _path + ".balances[" + _index6 + "]",
3769
+ })) && $vo4(elem, _path + ".balances[" + _index4 + "]", true && _exceptionable) || $report(_exceptionable, {
3770
+ path: _path + ".balances[" + _index4 + "]",
3874
3771
  expected: "iBalance<NumberType>",
3875
3772
  value: elem
3876
3773
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3878,7 +3775,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3878
3775
  expected: "Array<iBalance<NumberType>>",
3879
3776
  value: input.balances
3880
3777
  })].every(flag => flag);
3881
- const $vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount || $report(_exceptionable, {
3778
+ const $vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount || $report(_exceptionable, {
3882
3779
  path: _path + ".amount",
3883
3780
  expected: "(bigint | number | string)",
3884
3781
  value: input.amount
@@ -3886,12 +3783,12 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3886
3783
  path: _path + ".badgeIds",
3887
3784
  expected: "Array<iUintRange<NumberType>>",
3888
3785
  value: input.badgeIds
3889
- })) && input.badgeIds.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3890
- path: _path + ".badgeIds[" + _index7 + "]",
3786
+ })) && input.badgeIds.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3787
+ path: _path + ".badgeIds[" + _index5 + "]",
3891
3788
  expected: "iUintRange<NumberType>",
3892
3789
  value: elem
3893
- })) && $vo9(elem, _path + ".badgeIds[" + _index7 + "]", true && _exceptionable) || $report(_exceptionable, {
3894
- path: _path + ".badgeIds[" + _index7 + "]",
3790
+ })) && $vo5(elem, _path + ".badgeIds[" + _index5 + "]", true && _exceptionable) || $report(_exceptionable, {
3791
+ path: _path + ".badgeIds[" + _index5 + "]",
3895
3792
  expected: "iUintRange<NumberType>",
3896
3793
  value: elem
3897
3794
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3902,12 +3799,12 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3902
3799
  path: _path + ".ownershipTimes",
3903
3800
  expected: "Array<iUintRange<NumberType>>",
3904
3801
  value: input.ownershipTimes
3905
- })) && input.ownershipTimes.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3906
- path: _path + ".ownershipTimes[" + _index8 + "]",
3802
+ })) && input.ownershipTimes.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3803
+ path: _path + ".ownershipTimes[" + _index6 + "]",
3907
3804
  expected: "iUintRange<NumberType>",
3908
3805
  value: elem
3909
- })) && $vo9(elem, _path + ".ownershipTimes[" + _index8 + "]", true && _exceptionable) || $report(_exceptionable, {
3910
- path: _path + ".ownershipTimes[" + _index8 + "]",
3806
+ })) && $vo5(elem, _path + ".ownershipTimes[" + _index6 + "]", true && _exceptionable) || $report(_exceptionable, {
3807
+ path: _path + ".ownershipTimes[" + _index6 + "]",
3911
3808
  expected: "iUintRange<NumberType>",
3912
3809
  value: elem
3913
3810
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3915,7 +3812,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3915
3812
  expected: "Array<iUintRange<NumberType>>",
3916
3813
  value: input.ownershipTimes
3917
3814
  })].every(flag => flag);
3918
- const $vo9 = (input, _path, _exceptionable = true) => ["string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start || $report(_exceptionable, {
3815
+ const $vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start || $report(_exceptionable, {
3919
3816
  path: _path + ".start",
3920
3817
  expected: "(bigint | number | string)",
3921
3818
  value: input.start
@@ -3924,16 +3821,16 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3924
3821
  expected: "(bigint | number | string)",
3925
3822
  value: input.end
3926
3823
  })].every(flag => flag);
3927
- const $vo10 = (input, _path, _exceptionable = true) => [(Array.isArray(input.startBalances) || $report(_exceptionable, {
3824
+ const $vo6 = (input, _path, _exceptionable = true) => [(Array.isArray(input.startBalances) || $report(_exceptionable, {
3928
3825
  path: _path + ".startBalances",
3929
3826
  expected: "Array<iBalance<NumberType>>",
3930
3827
  value: input.startBalances
3931
- })) && input.startBalances.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3932
- path: _path + ".startBalances[" + _index9 + "]",
3828
+ })) && input.startBalances.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3829
+ path: _path + ".startBalances[" + _index7 + "]",
3933
3830
  expected: "iBalance<NumberType>",
3934
3831
  value: elem
3935
- })) && $vo8(elem, _path + ".startBalances[" + _index9 + "]", true && _exceptionable) || $report(_exceptionable, {
3936
- path: _path + ".startBalances[" + _index9 + "]",
3832
+ })) && $vo4(elem, _path + ".startBalances[" + _index7 + "]", true && _exceptionable) || $report(_exceptionable, {
3833
+ path: _path + ".startBalances[" + _index7 + "]",
3937
3834
  expected: "iBalance<NumberType>",
3938
3835
  value: elem
3939
3836
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3949,7 +3846,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3949
3846
  expected: "(bigint | number | string)",
3950
3847
  value: input.incrementOwnershipTimesBy
3951
3848
  })].every(flag => flag);
3952
- const $vo11 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.useOverallNumTransfers || $report(_exceptionable, {
3849
+ const $vo7 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.useOverallNumTransfers || $report(_exceptionable, {
3953
3850
  path: _path + ".useOverallNumTransfers",
3954
3851
  expected: "boolean",
3955
3852
  value: input.useOverallNumTransfers
@@ -3974,6 +3871,119 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
3974
3871
  expected: "string",
3975
3872
  value: input.challengeTrackerId
3976
3873
  })].every(flag => flag);
3874
+ const $vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
3875
+ path: _path + ".name",
3876
+ expected: "string",
3877
+ value: input.name
3878
+ }), "string" === typeof input.description || $report(_exceptionable, {
3879
+ path: _path + ".description",
3880
+ expected: "string",
3881
+ value: input.description
3882
+ }), "string" === typeof input.image || $report(_exceptionable, {
3883
+ path: _path + ".image",
3884
+ expected: "string",
3885
+ value: input.image
3886
+ }), undefined === input.video || "string" === typeof input.video || $report(_exceptionable, {
3887
+ path: _path + ".video",
3888
+ expected: "(string | undefined)",
3889
+ value: input.video
3890
+ }), undefined === input.category || "string" === typeof input.category || $report(_exceptionable, {
3891
+ path: _path + ".category",
3892
+ expected: "(string | undefined)",
3893
+ value: input.category
3894
+ }), undefined === input.externalUrl || "string" === typeof input.externalUrl || $report(_exceptionable, {
3895
+ path: _path + ".externalUrl",
3896
+ expected: "(string | undefined)",
3897
+ value: input.externalUrl
3898
+ }), undefined === input.tags || (Array.isArray(input.tags) || $report(_exceptionable, {
3899
+ path: _path + ".tags",
3900
+ expected: "(Array<string> | undefined)",
3901
+ value: input.tags
3902
+ })) && input.tags.map((elem, _index8) => "string" === typeof elem || $report(_exceptionable, {
3903
+ path: _path + ".tags[" + _index8 + "]",
3904
+ expected: "string",
3905
+ value: elem
3906
+ })).every(flag => flag) || $report(_exceptionable, {
3907
+ path: _path + ".tags",
3908
+ expected: "(Array<string> | undefined)",
3909
+ value: input.tags
3910
+ }), undefined === input.socials || ("object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) || $report(_exceptionable, {
3911
+ path: _path + ".socials",
3912
+ expected: "(__type | undefined)",
3913
+ value: input.socials
3914
+ })) && $vo9(input.socials, _path + ".socials", true && _exceptionable) || $report(_exceptionable, {
3915
+ path: _path + ".socials",
3916
+ expected: "(__type | undefined)",
3917
+ value: input.socials
3918
+ }), undefined === input.offChainTransferabilityInfo || ("object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo || $report(_exceptionable, {
3919
+ path: _path + ".offChainTransferabilityInfo",
3920
+ expected: "(__type.o1 | undefined)",
3921
+ value: input.offChainTransferabilityInfo
3922
+ })) && $vo10(input.offChainTransferabilityInfo, _path + ".offChainTransferabilityInfo", true && _exceptionable) || $report(_exceptionable, {
3923
+ path: _path + ".offChainTransferabilityInfo",
3924
+ expected: "(__type.o1 | undefined)",
3925
+ value: input.offChainTransferabilityInfo
3926
+ }), undefined === input.attributes || (Array.isArray(input.attributes) || $report(_exceptionable, {
3927
+ path: _path + ".attributes",
3928
+ expected: "(Array<__type> | undefined)",
3929
+ value: input.attributes
3930
+ })) && input.attributes.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3931
+ path: _path + ".attributes[" + _index9 + "]",
3932
+ expected: "__type.o2",
3933
+ value: elem
3934
+ })) && $vo11(elem, _path + ".attributes[" + _index9 + "]", true && _exceptionable) || $report(_exceptionable, {
3935
+ path: _path + ".attributes[" + _index9 + "]",
3936
+ expected: "__type.o2",
3937
+ value: elem
3938
+ })).every(flag => flag) || $report(_exceptionable, {
3939
+ path: _path + ".attributes",
3940
+ expected: "(Array<__type> | undefined)",
3941
+ value: input.attributes
3942
+ }), undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock || $report(_exceptionable, {
3943
+ path: _path + ".fetchedAtBlock",
3944
+ expected: "(bigint | number | string | undefined)",
3945
+ value: input.fetchedAtBlock
3946
+ }), undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt || $report(_exceptionable, {
3947
+ path: _path + ".fetchedAt",
3948
+ expected: "(bigint | number | string | undefined)",
3949
+ value: input.fetchedAt
3950
+ }), undefined === input._isUpdating || "boolean" === typeof input._isUpdating || $report(_exceptionable, {
3951
+ path: _path + "._isUpdating",
3952
+ expected: "(boolean | undefined)",
3953
+ value: input._isUpdating
3954
+ })].every(flag => flag);
3955
+ const $vo9 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
3956
+ const value = input[key];
3957
+ if (undefined === value)
3958
+ return true;
3959
+ return "string" === typeof value || $report(_exceptionable, {
3960
+ path: _path + $join(key),
3961
+ expected: "string",
3962
+ value: value
3963
+ });
3964
+ }).every(flag => flag)].every(flag => flag);
3965
+ const $vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || $report(_exceptionable, {
3966
+ path: _path + ".host",
3967
+ expected: "string",
3968
+ value: input.host
3969
+ }), "string" === typeof input.assignMethod || $report(_exceptionable, {
3970
+ path: _path + ".assignMethod",
3971
+ expected: "string",
3972
+ value: input.assignMethod
3973
+ })].every(flag => flag);
3974
+ const $vo11 = (input, _path, _exceptionable = true) => [undefined === input.type || "date" === input.type || "url" === input.type || $report(_exceptionable, {
3975
+ path: _path + ".type",
3976
+ expected: "(\"date\" | \"url\" | undefined)",
3977
+ value: input.type
3978
+ }), "string" === typeof input.name || $report(_exceptionable, {
3979
+ path: _path + ".name",
3980
+ expected: "string",
3981
+ value: input.name
3982
+ }), "string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value || $report(_exceptionable, {
3983
+ path: _path + ".value",
3984
+ expected: "(boolean | number | string)",
3985
+ value: input.value
3986
+ })].every(flag => flag);
3977
3987
  const $vo12 = (input, _path, _exceptionable = true) => [undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
3978
3988
  path: _path + ".metadata",
3979
3989
  expected: "(__type.o3 | undefined)",
@@ -4054,8 +4064,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4054
4064
  if (!validateRes.success) {
4055
4065
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
4056
4066
  }
4057
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDClaimsRoute()}`, payload);
4058
- return new CreateClaimSuccessResponse(response.data);
4067
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDClaimsRoute()}`, payload);
4068
+ return new requests_1.CreateClaimSuccessResponse(response.data);
4059
4069
  }
4060
4070
  catch (error) {
4061
4071
  await this.handleApiError(error);
@@ -4071,7 +4081,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4071
4081
  return "object" === typeof input && null !== input && $io0(input);
4072
4082
  };
4073
4083
  if (false === __is(input)) {
4074
- const $report = typia.validate.report(errors);
4084
+ const $report = typia_1.default.validate.report(errors);
4075
4085
  ((input, _path, _exceptionable = true) => {
4076
4086
  const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.claimIds) || $report(_exceptionable, {
4077
4087
  path: _path + ".claimIds",
@@ -4107,10 +4117,10 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4107
4117
  if (!validateRes.success) {
4108
4118
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
4109
4119
  }
4110
- const response = await this.axios.delete(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDClaimsRoute()}`, {
4120
+ const response = await this.axios.delete(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDClaimsRoute()}`, {
4111
4121
  data: payload
4112
4122
  });
4113
- return new DeleteClaimSuccessResponse(response.data);
4123
+ return new requests_1.DeleteClaimSuccessResponse(response.data);
4114
4124
  }
4115
4125
  catch (error) {
4116
4126
  await this.handleApiError(error);
@@ -4123,30 +4133,30 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4123
4133
  const errors = [];
4124
4134
  const __is = input => {
4125
4135
  const $io0 = input => Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
4126
- const $io1 = input => (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io2(input.metadata)) && "string" === typeof input.claimId && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io6(input.balancesToSet)) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io12(elem))) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.assignMethod || "string" === typeof input.assignMethod);
4127
- const $io2 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.video || "string" === typeof input.video) && (undefined === input.category || "string" === typeof input.category) && (undefined === input.externalUrl || "string" === typeof input.externalUrl) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.socials || "object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) && $io3(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && $io4(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock) && (undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt) && (undefined === input._isUpdating || "boolean" === typeof input._isUpdating);
4128
- const $io3 = input => Object.keys(input).every(key => {
4136
+ const $io1 = input => "string" === typeof input.claimId && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io2(input.balancesToSet)) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io8(elem))) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io11(input.metadata)) && (undefined === input.assignMethod || "string" === typeof input.assignMethod);
4137
+ const $io2 = input => Array.isArray(input.manualBalances) && input.manualBalances.every(elem => "object" === typeof elem && null !== elem && $io3(elem)) && ("object" === typeof input.incrementedBalances && null !== input.incrementedBalances && $io6(input.incrementedBalances)) && ("object" === typeof input.orderCalculationMethod && null !== input.orderCalculationMethod && ("boolean" === typeof input.orderCalculationMethod.useOverallNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerToAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerFromAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerInitiatedByAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.useMerkleChallengeLeafIndex && "string" === typeof input.orderCalculationMethod.challengeTrackerId));
4138
+ const $io3 = input => Array.isArray(input.balances) && input.balances.every(elem => "object" === typeof elem && null !== elem && $io4(elem));
4139
+ const $io4 = input => ("string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount) && (Array.isArray(input.badgeIds) && input.badgeIds.every(elem => "object" === typeof elem && null !== elem && $io5(elem))) && (Array.isArray(input.ownershipTimes) && input.ownershipTimes.every(elem => "object" === typeof elem && null !== elem && $io5(elem)));
4140
+ const $io5 = input => ("string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start) && ("string" === typeof input.end || "number" === typeof input.end || "bigint" === typeof input.end);
4141
+ const $io6 = input => Array.isArray(input.startBalances) && input.startBalances.every(elem => "object" === typeof elem && null !== elem && $io4(elem)) && ("string" === typeof input.incrementBadgeIdsBy || "number" === typeof input.incrementBadgeIdsBy || "bigint" === typeof input.incrementBadgeIdsBy) && ("string" === typeof input.incrementOwnershipTimesBy || "number" === typeof input.incrementOwnershipTimesBy || "bigint" === typeof input.incrementOwnershipTimesBy);
4142
+ const $io8 = input => "object" === typeof input.publicState && null !== input.publicState && true && (undefined === input.privateState || "object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) && $io9(input.privateState)) && (undefined === input.resetState || "boolean" === typeof input.resetState) && (undefined === input.newState || "object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) && $io9(input.newState)) && (undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState) && "string" === typeof input.instanceId && "string" === typeof input.pluginId && ("object" === typeof input.publicParams && null !== input.publicParams && true) && ("object" === typeof input.privateParams && null !== input.privateParams && true) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io10(input.metadata));
4143
+ const $io9 = input => true;
4144
+ const $io10 = input => "string" === typeof input.name && "string" === typeof input.description;
4145
+ const $io11 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.video || "string" === typeof input.video) && (undefined === input.category || "string" === typeof input.category) && (undefined === input.externalUrl || "string" === typeof input.externalUrl) && (undefined === input.tags || Array.isArray(input.tags) && input.tags.every(elem => "string" === typeof elem)) && (undefined === input.socials || "object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) && $io12(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && $io13(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && $io14(elem))) && (undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock) && (undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt) && (undefined === input._isUpdating || "boolean" === typeof input._isUpdating);
4146
+ const $io12 = input => Object.keys(input).every(key => {
4129
4147
  const value = input[key];
4130
4148
  if (undefined === value)
4131
4149
  return true;
4132
4150
  return "string" === typeof value;
4133
4151
  });
4134
- const $io4 = input => "string" === typeof input.host && "string" === typeof input.assignMethod;
4135
- const $io5 = input => (undefined === input.type || "date" === input.type || "url" === input.type) && "string" === typeof input.name && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value);
4136
- const $io6 = input => Array.isArray(input.manualBalances) && input.manualBalances.every(elem => "object" === typeof elem && null !== elem && $io7(elem)) && ("object" === typeof input.incrementedBalances && null !== input.incrementedBalances && $io10(input.incrementedBalances)) && ("object" === typeof input.orderCalculationMethod && null !== input.orderCalculationMethod && ("boolean" === typeof input.orderCalculationMethod.useOverallNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerToAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerFromAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.usePerInitiatedByAddressNumTransfers && "boolean" === typeof input.orderCalculationMethod.useMerkleChallengeLeafIndex && "string" === typeof input.orderCalculationMethod.challengeTrackerId));
4137
- const $io7 = input => Array.isArray(input.balances) && input.balances.every(elem => "object" === typeof elem && null !== elem && $io8(elem));
4138
- const $io8 = input => ("string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount) && (Array.isArray(input.badgeIds) && input.badgeIds.every(elem => "object" === typeof elem && null !== elem && $io9(elem))) && (Array.isArray(input.ownershipTimes) && input.ownershipTimes.every(elem => "object" === typeof elem && null !== elem && $io9(elem)));
4139
- const $io9 = input => ("string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start) && ("string" === typeof input.end || "number" === typeof input.end || "bigint" === typeof input.end);
4140
- const $io10 = input => Array.isArray(input.startBalances) && input.startBalances.every(elem => "object" === typeof elem && null !== elem && $io8(elem)) && ("string" === typeof input.incrementBadgeIdsBy || "number" === typeof input.incrementBadgeIdsBy || "bigint" === typeof input.incrementBadgeIdsBy) && ("string" === typeof input.incrementOwnershipTimesBy || "number" === typeof input.incrementOwnershipTimesBy || "bigint" === typeof input.incrementOwnershipTimesBy);
4141
- const $io12 = input => "object" === typeof input.publicState && null !== input.publicState && true && (undefined === input.privateState || "object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) && $io13(input.privateState)) && (undefined === input.resetState || "boolean" === typeof input.resetState) && (undefined === input.newState || "object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) && $io13(input.newState)) && (undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState) && "string" === typeof input.instanceId && "string" === typeof input.pluginId && ("object" === typeof input.publicParams && null !== input.publicParams && true) && ("object" === typeof input.privateParams && null !== input.privateParams && true) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io14(input.metadata));
4142
- const $io13 = input => true;
4143
- const $io14 = input => "string" === typeof input.name && "string" === typeof input.description;
4152
+ const $io13 = input => "string" === typeof input.host && "string" === typeof input.assignMethod;
4153
+ const $io14 = input => (undefined === input.type || "date" === input.type || "url" === input.type) && "string" === typeof input.name && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value);
4144
4154
  return "object" === typeof input && null !== input && $io0(input);
4145
4155
  };
4146
4156
  if (false === __is(input)) {
4147
- const $report = typia.validate.report(errors);
4157
+ const $report = typia_1.default.validate.report(errors);
4148
4158
  ((input, _path, _exceptionable = true) => {
4149
- const $join = typia.validate.join;
4159
+ const $join = typia_1.default.validate.join;
4150
4160
  const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.claims) || $report(_exceptionable, {
4151
4161
  path: _path + ".claims",
4152
4162
  expected: "Array<Omit<iClaimDetails<NumberType>, \"seedCode\">>",
@@ -4164,15 +4174,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4164
4174
  expected: "Array<Omit<iClaimDetails<NumberType>, \"seedCode\">>",
4165
4175
  value: input.claims
4166
4176
  })].every(flag => flag);
4167
- const $vo1 = (input, _path, _exceptionable = true) => [undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
4168
- path: _path + ".metadata",
4169
- expected: "(iMetadata<NumberType> | undefined)",
4170
- value: input.metadata
4171
- })) && $vo2(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
4172
- path: _path + ".metadata",
4173
- expected: "(iMetadata<NumberType> | undefined)",
4174
- value: input.metadata
4175
- }), "string" === typeof input.claimId || $report(_exceptionable, {
4177
+ const $vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.claimId || $report(_exceptionable, {
4176
4178
  path: _path + ".claimId",
4177
4179
  expected: "string",
4178
4180
  value: input.claimId
@@ -4180,7 +4182,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4180
4182
  path: _path + ".balancesToSet",
4181
4183
  expected: "(iPredeterminedBalances<NumberType> | undefined)",
4182
4184
  value: input.balancesToSet
4183
- })) && $vo6(input.balancesToSet, _path + ".balancesToSet", true && _exceptionable) || $report(_exceptionable, {
4185
+ })) && $vo2(input.balancesToSet, _path + ".balancesToSet", true && _exceptionable) || $report(_exceptionable, {
4184
4186
  path: _path + ".balancesToSet",
4185
4187
  expected: "(iPredeterminedBalances<NumberType> | undefined)",
4186
4188
  value: input.balancesToSet
@@ -4192,7 +4194,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4192
4194
  path: _path + ".plugins[" + _index2 + "]",
4193
4195
  expected: "IntegrationPluginDetails<string>",
4194
4196
  value: elem
4195
- })) && $vo12(elem, _path + ".plugins[" + _index2 + "]", true && _exceptionable) || $report(_exceptionable, {
4197
+ })) && $vo8(elem, _path + ".plugins[" + _index2 + "]", true && _exceptionable) || $report(_exceptionable, {
4196
4198
  path: _path + ".plugins[" + _index2 + "]",
4197
4199
  expected: "IntegrationPluginDetails<string>",
4198
4200
  value: elem
@@ -4208,134 +4210,29 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4208
4210
  path: _path + ".approach",
4209
4211
  expected: "(string | undefined)",
4210
4212
  value: input.approach
4213
+ }), undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
4214
+ path: _path + ".metadata",
4215
+ expected: "(iMetadata<NumberType> | undefined)",
4216
+ value: input.metadata
4217
+ })) && $vo11(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
4218
+ path: _path + ".metadata",
4219
+ expected: "(iMetadata<NumberType> | undefined)",
4220
+ value: input.metadata
4211
4221
  }), undefined === input.assignMethod || "string" === typeof input.assignMethod || $report(_exceptionable, {
4212
4222
  path: _path + ".assignMethod",
4213
4223
  expected: "(string | undefined)",
4214
4224
  value: input.assignMethod
4215
4225
  })].every(flag => flag);
4216
- const $vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
4217
- path: _path + ".name",
4218
- expected: "string",
4219
- value: input.name
4220
- }), "string" === typeof input.description || $report(_exceptionable, {
4221
- path: _path + ".description",
4222
- expected: "string",
4223
- value: input.description
4224
- }), "string" === typeof input.image || $report(_exceptionable, {
4225
- path: _path + ".image",
4226
- expected: "string",
4227
- value: input.image
4228
- }), undefined === input.video || "string" === typeof input.video || $report(_exceptionable, {
4229
- path: _path + ".video",
4230
- expected: "(string | undefined)",
4231
- value: input.video
4232
- }), undefined === input.category || "string" === typeof input.category || $report(_exceptionable, {
4233
- path: _path + ".category",
4234
- expected: "(string | undefined)",
4235
- value: input.category
4236
- }), undefined === input.externalUrl || "string" === typeof input.externalUrl || $report(_exceptionable, {
4237
- path: _path + ".externalUrl",
4238
- expected: "(string | undefined)",
4239
- value: input.externalUrl
4240
- }), undefined === input.tags || (Array.isArray(input.tags) || $report(_exceptionable, {
4241
- path: _path + ".tags",
4242
- expected: "(Array<string> | undefined)",
4243
- value: input.tags
4244
- })) && input.tags.map((elem, _index3) => "string" === typeof elem || $report(_exceptionable, {
4245
- path: _path + ".tags[" + _index3 + "]",
4246
- expected: "string",
4247
- value: elem
4248
- })).every(flag => flag) || $report(_exceptionable, {
4249
- path: _path + ".tags",
4250
- expected: "(Array<string> | undefined)",
4251
- value: input.tags
4252
- }), undefined === input.socials || ("object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) || $report(_exceptionable, {
4253
- path: _path + ".socials",
4254
- expected: "(__type | undefined)",
4255
- value: input.socials
4256
- })) && $vo3(input.socials, _path + ".socials", true && _exceptionable) || $report(_exceptionable, {
4257
- path: _path + ".socials",
4258
- expected: "(__type | undefined)",
4259
- value: input.socials
4260
- }), undefined === input.offChainTransferabilityInfo || ("object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo || $report(_exceptionable, {
4261
- path: _path + ".offChainTransferabilityInfo",
4262
- expected: "(__type.o1 | undefined)",
4263
- value: input.offChainTransferabilityInfo
4264
- })) && $vo4(input.offChainTransferabilityInfo, _path + ".offChainTransferabilityInfo", true && _exceptionable) || $report(_exceptionable, {
4265
- path: _path + ".offChainTransferabilityInfo",
4266
- expected: "(__type.o1 | undefined)",
4267
- value: input.offChainTransferabilityInfo
4268
- }), undefined === input.attributes || (Array.isArray(input.attributes) || $report(_exceptionable, {
4269
- path: _path + ".attributes",
4270
- expected: "(Array<__type> | undefined)",
4271
- value: input.attributes
4272
- })) && input.attributes.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4273
- path: _path + ".attributes[" + _index4 + "]",
4274
- expected: "__type.o2",
4275
- value: elem
4276
- })) && $vo5(elem, _path + ".attributes[" + _index4 + "]", true && _exceptionable) || $report(_exceptionable, {
4277
- path: _path + ".attributes[" + _index4 + "]",
4278
- expected: "__type.o2",
4279
- value: elem
4280
- })).every(flag => flag) || $report(_exceptionable, {
4281
- path: _path + ".attributes",
4282
- expected: "(Array<__type> | undefined)",
4283
- value: input.attributes
4284
- }), undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock || $report(_exceptionable, {
4285
- path: _path + ".fetchedAtBlock",
4286
- expected: "(bigint | number | string | undefined)",
4287
- value: input.fetchedAtBlock
4288
- }), undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt || $report(_exceptionable, {
4289
- path: _path + ".fetchedAt",
4290
- expected: "(bigint | number | string | undefined)",
4291
- value: input.fetchedAt
4292
- }), undefined === input._isUpdating || "boolean" === typeof input._isUpdating || $report(_exceptionable, {
4293
- path: _path + "._isUpdating",
4294
- expected: "(boolean | undefined)",
4295
- value: input._isUpdating
4296
- })].every(flag => flag);
4297
- const $vo3 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
4298
- const value = input[key];
4299
- if (undefined === value)
4300
- return true;
4301
- return "string" === typeof value || $report(_exceptionable, {
4302
- path: _path + $join(key),
4303
- expected: "string",
4304
- value: value
4305
- });
4306
- }).every(flag => flag)].every(flag => flag);
4307
- const $vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || $report(_exceptionable, {
4308
- path: _path + ".host",
4309
- expected: "string",
4310
- value: input.host
4311
- }), "string" === typeof input.assignMethod || $report(_exceptionable, {
4312
- path: _path + ".assignMethod",
4313
- expected: "string",
4314
- value: input.assignMethod
4315
- })].every(flag => flag);
4316
- const $vo5 = (input, _path, _exceptionable = true) => [undefined === input.type || "date" === input.type || "url" === input.type || $report(_exceptionable, {
4317
- path: _path + ".type",
4318
- expected: "(\"date\" | \"url\" | undefined)",
4319
- value: input.type
4320
- }), "string" === typeof input.name || $report(_exceptionable, {
4321
- path: _path + ".name",
4322
- expected: "string",
4323
- value: input.name
4324
- }), "string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value || $report(_exceptionable, {
4325
- path: _path + ".value",
4326
- expected: "(boolean | number | string)",
4327
- value: input.value
4328
- })].every(flag => flag);
4329
- const $vo6 = (input, _path, _exceptionable = true) => [(Array.isArray(input.manualBalances) || $report(_exceptionable, {
4226
+ const $vo2 = (input, _path, _exceptionable = true) => [(Array.isArray(input.manualBalances) || $report(_exceptionable, {
4330
4227
  path: _path + ".manualBalances",
4331
4228
  expected: "Array<iManualBalances<NumberType>>",
4332
4229
  value: input.manualBalances
4333
- })) && input.manualBalances.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4334
- path: _path + ".manualBalances[" + _index5 + "]",
4230
+ })) && input.manualBalances.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4231
+ path: _path + ".manualBalances[" + _index3 + "]",
4335
4232
  expected: "iManualBalances<NumberType>",
4336
4233
  value: elem
4337
- })) && $vo7(elem, _path + ".manualBalances[" + _index5 + "]", true && _exceptionable) || $report(_exceptionable, {
4338
- path: _path + ".manualBalances[" + _index5 + "]",
4234
+ })) && $vo3(elem, _path + ".manualBalances[" + _index3 + "]", true && _exceptionable) || $report(_exceptionable, {
4235
+ path: _path + ".manualBalances[" + _index3 + "]",
4339
4236
  expected: "iManualBalances<NumberType>",
4340
4237
  value: elem
4341
4238
  })).every(flag => flag) || $report(_exceptionable, {
@@ -4346,7 +4243,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4346
4243
  path: _path + ".incrementedBalances",
4347
4244
  expected: "iIncrementedBalances<NumberType>",
4348
4245
  value: input.incrementedBalances
4349
- })) && $vo10(input.incrementedBalances, _path + ".incrementedBalances", true && _exceptionable) || $report(_exceptionable, {
4246
+ })) && $vo6(input.incrementedBalances, _path + ".incrementedBalances", true && _exceptionable) || $report(_exceptionable, {
4350
4247
  path: _path + ".incrementedBalances",
4351
4248
  expected: "iIncrementedBalances<NumberType>",
4352
4249
  value: input.incrementedBalances
@@ -4354,21 +4251,21 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4354
4251
  path: _path + ".orderCalculationMethod",
4355
4252
  expected: "iPredeterminedOrderCalculationMethod",
4356
4253
  value: input.orderCalculationMethod
4357
- })) && $vo11(input.orderCalculationMethod, _path + ".orderCalculationMethod", true && _exceptionable) || $report(_exceptionable, {
4254
+ })) && $vo7(input.orderCalculationMethod, _path + ".orderCalculationMethod", true && _exceptionable) || $report(_exceptionable, {
4358
4255
  path: _path + ".orderCalculationMethod",
4359
4256
  expected: "iPredeterminedOrderCalculationMethod",
4360
4257
  value: input.orderCalculationMethod
4361
4258
  })].every(flag => flag);
4362
- const $vo7 = (input, _path, _exceptionable = true) => [(Array.isArray(input.balances) || $report(_exceptionable, {
4259
+ const $vo3 = (input, _path, _exceptionable = true) => [(Array.isArray(input.balances) || $report(_exceptionable, {
4363
4260
  path: _path + ".balances",
4364
4261
  expected: "Array<iBalance<NumberType>>",
4365
4262
  value: input.balances
4366
- })) && input.balances.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4367
- path: _path + ".balances[" + _index6 + "]",
4263
+ })) && input.balances.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4264
+ path: _path + ".balances[" + _index4 + "]",
4368
4265
  expected: "iBalance<NumberType>",
4369
4266
  value: elem
4370
- })) && $vo8(elem, _path + ".balances[" + _index6 + "]", true && _exceptionable) || $report(_exceptionable, {
4371
- path: _path + ".balances[" + _index6 + "]",
4267
+ })) && $vo4(elem, _path + ".balances[" + _index4 + "]", true && _exceptionable) || $report(_exceptionable, {
4268
+ path: _path + ".balances[" + _index4 + "]",
4372
4269
  expected: "iBalance<NumberType>",
4373
4270
  value: elem
4374
4271
  })).every(flag => flag) || $report(_exceptionable, {
@@ -4376,7 +4273,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4376
4273
  expected: "Array<iBalance<NumberType>>",
4377
4274
  value: input.balances
4378
4275
  })].every(flag => flag);
4379
- const $vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount || $report(_exceptionable, {
4276
+ const $vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount || $report(_exceptionable, {
4380
4277
  path: _path + ".amount",
4381
4278
  expected: "(bigint | number | string)",
4382
4279
  value: input.amount
@@ -4384,12 +4281,12 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4384
4281
  path: _path + ".badgeIds",
4385
4282
  expected: "Array<iUintRange<NumberType>>",
4386
4283
  value: input.badgeIds
4387
- })) && input.badgeIds.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4388
- path: _path + ".badgeIds[" + _index7 + "]",
4284
+ })) && input.badgeIds.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4285
+ path: _path + ".badgeIds[" + _index5 + "]",
4389
4286
  expected: "iUintRange<NumberType>",
4390
4287
  value: elem
4391
- })) && $vo9(elem, _path + ".badgeIds[" + _index7 + "]", true && _exceptionable) || $report(_exceptionable, {
4392
- path: _path + ".badgeIds[" + _index7 + "]",
4288
+ })) && $vo5(elem, _path + ".badgeIds[" + _index5 + "]", true && _exceptionable) || $report(_exceptionable, {
4289
+ path: _path + ".badgeIds[" + _index5 + "]",
4393
4290
  expected: "iUintRange<NumberType>",
4394
4291
  value: elem
4395
4292
  })).every(flag => flag) || $report(_exceptionable, {
@@ -4400,12 +4297,12 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4400
4297
  path: _path + ".ownershipTimes",
4401
4298
  expected: "Array<iUintRange<NumberType>>",
4402
4299
  value: input.ownershipTimes
4403
- })) && input.ownershipTimes.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4404
- path: _path + ".ownershipTimes[" + _index8 + "]",
4300
+ })) && input.ownershipTimes.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4301
+ path: _path + ".ownershipTimes[" + _index6 + "]",
4405
4302
  expected: "iUintRange<NumberType>",
4406
4303
  value: elem
4407
- })) && $vo9(elem, _path + ".ownershipTimes[" + _index8 + "]", true && _exceptionable) || $report(_exceptionable, {
4408
- path: _path + ".ownershipTimes[" + _index8 + "]",
4304
+ })) && $vo5(elem, _path + ".ownershipTimes[" + _index6 + "]", true && _exceptionable) || $report(_exceptionable, {
4305
+ path: _path + ".ownershipTimes[" + _index6 + "]",
4409
4306
  expected: "iUintRange<NumberType>",
4410
4307
  value: elem
4411
4308
  })).every(flag => flag) || $report(_exceptionable, {
@@ -4413,7 +4310,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4413
4310
  expected: "Array<iUintRange<NumberType>>",
4414
4311
  value: input.ownershipTimes
4415
4312
  })].every(flag => flag);
4416
- const $vo9 = (input, _path, _exceptionable = true) => ["string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start || $report(_exceptionable, {
4313
+ const $vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start || $report(_exceptionable, {
4417
4314
  path: _path + ".start",
4418
4315
  expected: "(bigint | number | string)",
4419
4316
  value: input.start
@@ -4422,16 +4319,16 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4422
4319
  expected: "(bigint | number | string)",
4423
4320
  value: input.end
4424
4321
  })].every(flag => flag);
4425
- const $vo10 = (input, _path, _exceptionable = true) => [(Array.isArray(input.startBalances) || $report(_exceptionable, {
4322
+ const $vo6 = (input, _path, _exceptionable = true) => [(Array.isArray(input.startBalances) || $report(_exceptionable, {
4426
4323
  path: _path + ".startBalances",
4427
4324
  expected: "Array<iBalance<NumberType>>",
4428
4325
  value: input.startBalances
4429
- })) && input.startBalances.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4430
- path: _path + ".startBalances[" + _index9 + "]",
4326
+ })) && input.startBalances.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4327
+ path: _path + ".startBalances[" + _index7 + "]",
4431
4328
  expected: "iBalance<NumberType>",
4432
4329
  value: elem
4433
- })) && $vo8(elem, _path + ".startBalances[" + _index9 + "]", true && _exceptionable) || $report(_exceptionable, {
4434
- path: _path + ".startBalances[" + _index9 + "]",
4330
+ })) && $vo4(elem, _path + ".startBalances[" + _index7 + "]", true && _exceptionable) || $report(_exceptionable, {
4331
+ path: _path + ".startBalances[" + _index7 + "]",
4435
4332
  expected: "iBalance<NumberType>",
4436
4333
  value: elem
4437
4334
  })).every(flag => flag) || $report(_exceptionable, {
@@ -4447,7 +4344,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4447
4344
  expected: "(bigint | number | string)",
4448
4345
  value: input.incrementOwnershipTimesBy
4449
4346
  })].every(flag => flag);
4450
- const $vo11 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.useOverallNumTransfers || $report(_exceptionable, {
4347
+ const $vo7 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.useOverallNumTransfers || $report(_exceptionable, {
4451
4348
  path: _path + ".useOverallNumTransfers",
4452
4349
  expected: "boolean",
4453
4350
  value: input.useOverallNumTransfers
@@ -4472,21 +4369,21 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4472
4369
  expected: "string",
4473
4370
  value: input.challengeTrackerId
4474
4371
  })].every(flag => flag);
4475
- const $vo12 = (input, _path, _exceptionable = true) => [("object" === typeof input.publicState && null !== input.publicState && false === Array.isArray(input.publicState) || $report(_exceptionable, {
4372
+ const $vo8 = (input, _path, _exceptionable = true) => [("object" === typeof input.publicState && null !== input.publicState && false === Array.isArray(input.publicState) || $report(_exceptionable, {
4476
4373
  path: _path + ".publicState",
4477
- expected: "__type.o3",
4374
+ expected: "__type",
4478
4375
  value: input.publicState
4479
- })) && $vo13(input.publicState, _path + ".publicState", true && _exceptionable) || $report(_exceptionable, {
4376
+ })) && $vo9(input.publicState, _path + ".publicState", true && _exceptionable) || $report(_exceptionable, {
4480
4377
  path: _path + ".publicState",
4481
- expected: "__type.o3",
4378
+ expected: "__type",
4482
4379
  value: input.publicState
4483
4380
  }), undefined === input.privateState || ("object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) || $report(_exceptionable, {
4484
4381
  path: _path + ".privateState",
4485
- expected: "(__type.o3 | undefined)",
4382
+ expected: "(__type | undefined)",
4486
4383
  value: input.privateState
4487
- })) && $vo13(input.privateState, _path + ".privateState", true && _exceptionable) || $report(_exceptionable, {
4384
+ })) && $vo9(input.privateState, _path + ".privateState", true && _exceptionable) || $report(_exceptionable, {
4488
4385
  path: _path + ".privateState",
4489
- expected: "(__type.o3 | undefined)",
4386
+ expected: "(__type | undefined)",
4490
4387
  value: input.privateState
4491
4388
  }), undefined === input.resetState || "boolean" === typeof input.resetState || $report(_exceptionable, {
4492
4389
  path: _path + ".resetState",
@@ -4494,11 +4391,11 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4494
4391
  value: input.resetState
4495
4392
  }), undefined === input.newState || ("object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) || $report(_exceptionable, {
4496
4393
  path: _path + ".newState",
4497
- expected: "(__type.o3 | undefined)",
4394
+ expected: "(__type | undefined)",
4498
4395
  value: input.newState
4499
- })) && $vo13(input.newState, _path + ".newState", true && _exceptionable) || $report(_exceptionable, {
4396
+ })) && $vo9(input.newState, _path + ".newState", true && _exceptionable) || $report(_exceptionable, {
4500
4397
  path: _path + ".newState",
4501
- expected: "(__type.o3 | undefined)",
4398
+ expected: "(__type | undefined)",
4502
4399
  value: input.newState
4503
4400
  }), undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState || $report(_exceptionable, {
4504
4401
  path: _path + ".onlyUpdateProvidedNewState",
@@ -4514,31 +4411,31 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4514
4411
  value: input.pluginId
4515
4412
  }), ("object" === typeof input.publicParams && null !== input.publicParams && false === Array.isArray(input.publicParams) || $report(_exceptionable, {
4516
4413
  path: _path + ".publicParams",
4517
- expected: "__type.o3",
4414
+ expected: "__type",
4518
4415
  value: input.publicParams
4519
- })) && $vo13(input.publicParams, _path + ".publicParams", true && _exceptionable) || $report(_exceptionable, {
4416
+ })) && $vo9(input.publicParams, _path + ".publicParams", true && _exceptionable) || $report(_exceptionable, {
4520
4417
  path: _path + ".publicParams",
4521
- expected: "__type.o3",
4418
+ expected: "__type",
4522
4419
  value: input.publicParams
4523
4420
  }), ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) || $report(_exceptionable, {
4524
4421
  path: _path + ".privateParams",
4525
- expected: "__type.o3",
4422
+ expected: "__type",
4526
4423
  value: input.privateParams
4527
- })) && $vo13(input.privateParams, _path + ".privateParams", true && _exceptionable) || $report(_exceptionable, {
4424
+ })) && $vo9(input.privateParams, _path + ".privateParams", true && _exceptionable) || $report(_exceptionable, {
4528
4425
  path: _path + ".privateParams",
4529
- expected: "__type.o3",
4426
+ expected: "__type",
4530
4427
  value: input.privateParams
4531
4428
  }), undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
4532
4429
  path: _path + ".metadata",
4533
- expected: "(__type.o4 | undefined)",
4430
+ expected: "(__type.o1 | undefined)",
4534
4431
  value: input.metadata
4535
- })) && $vo14(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
4432
+ })) && $vo10(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
4536
4433
  path: _path + ".metadata",
4537
- expected: "(__type.o4 | undefined)",
4434
+ expected: "(__type.o1 | undefined)",
4538
4435
  value: input.metadata
4539
4436
  })].every(flag => flag);
4540
- const $vo13 = (input, _path, _exceptionable = true) => true;
4541
- const $vo14 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
4437
+ const $vo9 = (input, _path, _exceptionable = true) => true;
4438
+ const $vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
4542
4439
  path: _path + ".name",
4543
4440
  expected: "string",
4544
4441
  value: input.name
@@ -4547,6 +4444,119 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4547
4444
  expected: "string",
4548
4445
  value: input.description
4549
4446
  })].every(flag => flag);
4447
+ const $vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
4448
+ path: _path + ".name",
4449
+ expected: "string",
4450
+ value: input.name
4451
+ }), "string" === typeof input.description || $report(_exceptionable, {
4452
+ path: _path + ".description",
4453
+ expected: "string",
4454
+ value: input.description
4455
+ }), "string" === typeof input.image || $report(_exceptionable, {
4456
+ path: _path + ".image",
4457
+ expected: "string",
4458
+ value: input.image
4459
+ }), undefined === input.video || "string" === typeof input.video || $report(_exceptionable, {
4460
+ path: _path + ".video",
4461
+ expected: "(string | undefined)",
4462
+ value: input.video
4463
+ }), undefined === input.category || "string" === typeof input.category || $report(_exceptionable, {
4464
+ path: _path + ".category",
4465
+ expected: "(string | undefined)",
4466
+ value: input.category
4467
+ }), undefined === input.externalUrl || "string" === typeof input.externalUrl || $report(_exceptionable, {
4468
+ path: _path + ".externalUrl",
4469
+ expected: "(string | undefined)",
4470
+ value: input.externalUrl
4471
+ }), undefined === input.tags || (Array.isArray(input.tags) || $report(_exceptionable, {
4472
+ path: _path + ".tags",
4473
+ expected: "(Array<string> | undefined)",
4474
+ value: input.tags
4475
+ })) && input.tags.map((elem, _index8) => "string" === typeof elem || $report(_exceptionable, {
4476
+ path: _path + ".tags[" + _index8 + "]",
4477
+ expected: "string",
4478
+ value: elem
4479
+ })).every(flag => flag) || $report(_exceptionable, {
4480
+ path: _path + ".tags",
4481
+ expected: "(Array<string> | undefined)",
4482
+ value: input.tags
4483
+ }), undefined === input.socials || ("object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) || $report(_exceptionable, {
4484
+ path: _path + ".socials",
4485
+ expected: "(__type.o2 | undefined)",
4486
+ value: input.socials
4487
+ })) && $vo12(input.socials, _path + ".socials", true && _exceptionable) || $report(_exceptionable, {
4488
+ path: _path + ".socials",
4489
+ expected: "(__type.o2 | undefined)",
4490
+ value: input.socials
4491
+ }), undefined === input.offChainTransferabilityInfo || ("object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo || $report(_exceptionable, {
4492
+ path: _path + ".offChainTransferabilityInfo",
4493
+ expected: "(__type.o3 | undefined)",
4494
+ value: input.offChainTransferabilityInfo
4495
+ })) && $vo13(input.offChainTransferabilityInfo, _path + ".offChainTransferabilityInfo", true && _exceptionable) || $report(_exceptionable, {
4496
+ path: _path + ".offChainTransferabilityInfo",
4497
+ expected: "(__type.o3 | undefined)",
4498
+ value: input.offChainTransferabilityInfo
4499
+ }), undefined === input.attributes || (Array.isArray(input.attributes) || $report(_exceptionable, {
4500
+ path: _path + ".attributes",
4501
+ expected: "(Array<__type> | undefined)",
4502
+ value: input.attributes
4503
+ })) && input.attributes.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4504
+ path: _path + ".attributes[" + _index9 + "]",
4505
+ expected: "__type.o4",
4506
+ value: elem
4507
+ })) && $vo14(elem, _path + ".attributes[" + _index9 + "]", true && _exceptionable) || $report(_exceptionable, {
4508
+ path: _path + ".attributes[" + _index9 + "]",
4509
+ expected: "__type.o4",
4510
+ value: elem
4511
+ })).every(flag => flag) || $report(_exceptionable, {
4512
+ path: _path + ".attributes",
4513
+ expected: "(Array<__type> | undefined)",
4514
+ value: input.attributes
4515
+ }), undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock || $report(_exceptionable, {
4516
+ path: _path + ".fetchedAtBlock",
4517
+ expected: "(bigint | number | string | undefined)",
4518
+ value: input.fetchedAtBlock
4519
+ }), undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt || $report(_exceptionable, {
4520
+ path: _path + ".fetchedAt",
4521
+ expected: "(bigint | number | string | undefined)",
4522
+ value: input.fetchedAt
4523
+ }), undefined === input._isUpdating || "boolean" === typeof input._isUpdating || $report(_exceptionable, {
4524
+ path: _path + "._isUpdating",
4525
+ expected: "(boolean | undefined)",
4526
+ value: input._isUpdating
4527
+ })].every(flag => flag);
4528
+ const $vo12 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
4529
+ const value = input[key];
4530
+ if (undefined === value)
4531
+ return true;
4532
+ return "string" === typeof value || $report(_exceptionable, {
4533
+ path: _path + $join(key),
4534
+ expected: "string",
4535
+ value: value
4536
+ });
4537
+ }).every(flag => flag)].every(flag => flag);
4538
+ const $vo13 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || $report(_exceptionable, {
4539
+ path: _path + ".host",
4540
+ expected: "string",
4541
+ value: input.host
4542
+ }), "string" === typeof input.assignMethod || $report(_exceptionable, {
4543
+ path: _path + ".assignMethod",
4544
+ expected: "string",
4545
+ value: input.assignMethod
4546
+ })].every(flag => flag);
4547
+ const $vo14 = (input, _path, _exceptionable = true) => [undefined === input.type || "date" === input.type || "url" === input.type || $report(_exceptionable, {
4548
+ path: _path + ".type",
4549
+ expected: "(\"date\" | \"url\" | undefined)",
4550
+ value: input.type
4551
+ }), "string" === typeof input.name || $report(_exceptionable, {
4552
+ path: _path + ".name",
4553
+ expected: "string",
4554
+ value: input.name
4555
+ }), "string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value || $report(_exceptionable, {
4556
+ path: _path + ".value",
4557
+ expected: "(boolean | number | string)",
4558
+ value: input.value
4559
+ })].every(flag => flag);
4550
4560
  return ("object" === typeof input && null !== input || $report(true, {
4551
4561
  path: _path + "",
4552
4562
  expected: "UpdateClaimPayload",
@@ -4568,8 +4578,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4568
4578
  if (!validateRes.success) {
4569
4579
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
4570
4580
  }
4571
- const response = await this.axios.put(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDClaimsRoute()}`, payload);
4572
- return new UpdateClaimSuccessResponse(response.data);
4581
+ const response = await this.axios.put(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDClaimsRoute()}`, payload);
4582
+ return new requests_1.UpdateClaimSuccessResponse(response.data);
4573
4583
  }
4574
4584
  catch (error) {
4575
4585
  await this.handleApiError(error);
@@ -4584,7 +4594,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4584
4594
  return "object" === typeof input && null !== input && "string" === typeof input.token;
4585
4595
  };
4586
4596
  if (false === __is(input)) {
4587
- const $report = typia.validate.report(errors);
4597
+ const $report = typia_1.default.validate.report(errors);
4588
4598
  ((input, _path, _exceptionable = true) => {
4589
4599
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.token || $report(_exceptionable, {
4590
4600
  path: _path + ".token",
@@ -4612,8 +4622,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4612
4622
  if (!validateRes.success) {
4613
4623
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
4614
4624
  }
4615
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.OauthRevokeRoute()}`, payload);
4616
- return new OauthRevokeSuccessResponse(response.data);
4625
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.OauthRevokeRoute()}`, payload);
4626
+ return new requests_1.OauthRevokeSuccessResponse(response.data);
4617
4627
  }
4618
4628
  catch (error) {
4619
4629
  await this.handleApiError(error);
@@ -4644,9 +4654,9 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4644
4654
  return "object" === typeof input && null !== input && $io0(input);
4645
4655
  };
4646
4656
  if (false === __is(input)) {
4647
- const $report = typia.validate.report(errors);
4657
+ const $report = typia_1.default.validate.report(errors);
4648
4658
  ((input, _path, _exceptionable = true) => {
4649
- const $join = typia.validate.join;
4659
+ const $join = typia_1.default.validate.join;
4650
4660
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.balances || ("object" === typeof input.balances && null !== input.balances && false === Array.isArray(input.balances) || $report(_exceptionable, {
4651
4661
  path: _path + ".balances",
4652
4662
  expected: "(iOffChainBalancesMap<NumberType> | undefined)",
@@ -4981,8 +4991,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4981
4991
  if (!validateRes.success) {
4982
4992
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
4983
4993
  }
4984
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.AddBalancesToOffChainStorageRoute()}`, payload);
4985
- return new AddBalancesToOffChainStorageSuccessResponse(response.data);
4994
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.AddBalancesToOffChainStorageRoute()}`, payload);
4995
+ return new requests_1.AddBalancesToOffChainStorageSuccessResponse(response.data);
4986
4996
  }
4987
4997
  catch (error) {
4988
4998
  await this.handleApiError(error);
@@ -4997,7 +5007,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
4997
5007
  return "object" === typeof input && null !== input && "string" === typeof input.id;
4998
5008
  };
4999
5009
  if (false === __is(input)) {
5000
- const $report = typia.validate.report(errors);
5010
+ const $report = typia_1.default.validate.report(errors);
5001
5011
  ((input, _path, _exceptionable = true) => {
5002
5012
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || $report(_exceptionable, {
5003
5013
  path: _path + ".id",
@@ -5025,8 +5035,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
5025
5035
  if (!validateRes.success) {
5026
5036
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
5027
5037
  }
5028
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetAttestationProofsRoute()}`, payload);
5029
- return new GetAttestationProofSuccessResponse(response.data).convert(this.ConvertFunction);
5038
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GetAttestationProofsRoute()}`, payload);
5039
+ return new requests_1.GetAttestationProofSuccessResponse(response.data).convert(this.ConvertFunction);
5030
5040
  }
5031
5041
  catch (error) {
5032
5042
  await this.handleApiError(error);
@@ -5046,7 +5056,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
5046
5056
  return "object" === typeof input && null !== input && $io0(input);
5047
5057
  };
5048
5058
  if (false === __is(input)) {
5049
- const $report = typia.validate.report(errors);
5059
+ const $report = typia_1.default.validate.report(errors);
5050
5060
  ((input, _path, _exceptionable = true) => {
5051
5061
  const $vo0 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.displayOnProfile || $report(_exceptionable, {
5052
5062
  path: _path + ".displayOnProfile",
@@ -5230,8 +5240,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
5230
5240
  if (!validateRes.success) {
5231
5241
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
5232
5242
  }
5233
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDAttestationProofRoute()}`, payload);
5234
- return new CreateAttestationProofSuccessResponse(response.data);
5243
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDAttestationProofRoute()}`, payload);
5244
+ return new requests_1.CreateAttestationProofSuccessResponse(response.data);
5235
5245
  }
5236
5246
  catch (error) {
5237
5247
  await this.handleApiError(error);
@@ -5246,7 +5256,7 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
5246
5256
  return "object" === typeof input && null !== input && "string" === typeof input.id;
5247
5257
  };
5248
5258
  if (false === __is(input)) {
5249
- const $report = typia.validate.report(errors);
5259
+ const $report = typia_1.default.validate.report(errors);
5250
5260
  ((input, _path, _exceptionable = true) => {
5251
5261
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || $report(_exceptionable, {
5252
5262
  path: _path + ".id",
@@ -5274,10 +5284,10 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
5274
5284
  if (!validateRes.success) {
5275
5285
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
5276
5286
  }
5277
- const response = await this.axios.delete(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDAttestationProofRoute()}`, {
5287
+ const response = await this.axios.delete(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDAttestationProofRoute()}`, {
5278
5288
  data: payload
5279
5289
  });
5280
- return new DeleteAttestationProofSuccessResponse(response.data);
5290
+ return new requests_1.DeleteAttestationProofSuccessResponse(response.data);
5281
5291
  }
5282
5292
  catch (error) {
5283
5293
  await this.handleApiError(error);
@@ -5288,7 +5298,8 @@ export class BitBadgesAPI extends BaseBitBadgesApi {
5288
5298
  return await this.updateAccountInfo({ seenActivity: Date.now() });
5289
5299
  }
5290
5300
  }
5291
- export class BitBadgesAdminAPI extends BitBadgesAPI {
5301
+ exports.BitBadgesAPI = BitBadgesAPI;
5302
+ class BitBadgesAdminAPI extends BitBadgesAPI {
5292
5303
  constructor(apiDetails) {
5293
5304
  super(apiDetails);
5294
5305
  }
@@ -5300,7 +5311,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5300
5311
  return "object" === typeof input && null !== input && true;
5301
5312
  };
5302
5313
  if (false === __is(input)) {
5303
- const $report = typia.validate.report(errors);
5314
+ const $report = typia_1.default.validate.report(errors);
5304
5315
  ((input, _path, _exceptionable = true) => {
5305
5316
  const $vo0 = (input, _path, _exceptionable = true) => true;
5306
5317
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
@@ -5324,8 +5335,8 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5324
5335
  if (!validateRes.success) {
5325
5336
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
5326
5337
  }
5327
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetActiveAuthorizationsRoute()}`, payload);
5328
- return new GetActiveAuthorizationsSuccessResponse(response.data);
5338
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GetActiveAuthorizationsRoute()}`, payload);
5339
+ return new requests_1.GetActiveAuthorizationsSuccessResponse(response.data);
5329
5340
  }
5330
5341
  catch (error) {
5331
5342
  await this.handleApiError(error);
@@ -5346,7 +5357,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5346
5357
  return "object" === typeof input && null !== input && $io0(input);
5347
5358
  };
5348
5359
  if (false === __is(input)) {
5349
- const $report = typia.validate.report(errors);
5360
+ const $report = typia_1.default.validate.report(errors);
5350
5361
  ((input, _path, _exceptionable = true) => {
5351
5362
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.pluginId || $report(_exceptionable, {
5352
5363
  path: _path + ".pluginId",
@@ -5551,8 +5562,8 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5551
5562
  if (!validateRes.success) {
5552
5563
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
5553
5564
  }
5554
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDPluginRoute()}`, payload);
5555
- return new CreatePluginSuccessResponse(response.data);
5565
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDPluginRoute()}`, payload);
5566
+ return new requests_1.CreatePluginSuccessResponse(response.data);
5556
5567
  }
5557
5568
  catch (error) {
5558
5569
  await this.handleApiError(error);
@@ -5573,7 +5584,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5573
5584
  return "object" === typeof input && null !== input && $io0(input);
5574
5585
  };
5575
5586
  if (false === __is(input)) {
5576
- const $report = typia.validate.report(errors);
5587
+ const $report = typia_1.default.validate.report(errors);
5577
5588
  ((input, _path, _exceptionable = true) => {
5578
5589
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.pluginId || $report(_exceptionable, {
5579
5590
  path: _path + ".pluginId",
@@ -5774,8 +5785,8 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5774
5785
  if (!validateRes.success) {
5775
5786
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
5776
5787
  }
5777
- const response = await this.axios.put(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDPluginRoute()}`, payload);
5778
- return new UpdatePluginSuccessResponse(response.data);
5788
+ const response = await this.axios.put(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDPluginRoute()}`, payload);
5789
+ return new requests_1.UpdatePluginSuccessResponse(response.data);
5779
5790
  }
5780
5791
  catch (error) {
5781
5792
  await this.handleApiError(error);
@@ -5790,7 +5801,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5790
5801
  return "object" === typeof input && null !== input && "string" === typeof input.pluginId;
5791
5802
  };
5792
5803
  if (false === __is(input)) {
5793
- const $report = typia.validate.report(errors);
5804
+ const $report = typia_1.default.validate.report(errors);
5794
5805
  ((input, _path, _exceptionable = true) => {
5795
5806
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.pluginId || $report(_exceptionable, {
5796
5807
  path: _path + ".pluginId",
@@ -5818,10 +5829,10 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5818
5829
  if (!validateRes.success) {
5819
5830
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
5820
5831
  }
5821
- const response = await this.axios.delete(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDPluginRoute()}`, {
5832
+ const response = await this.axios.delete(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDPluginRoute()}`, {
5822
5833
  data: payload
5823
5834
  });
5824
- return new DeletePluginSuccessResponse(response.data);
5835
+ return new requests_1.DeletePluginSuccessResponse(response.data);
5825
5836
  }
5826
5837
  catch (error) {
5827
5838
  await this.handleApiError(error);
@@ -5837,7 +5848,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5837
5848
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
5838
5849
  };
5839
5850
  if (false === __is(input)) {
5840
- const $report = typia.validate.report(errors);
5851
+ const $report = typia_1.default.validate.report(errors);
5841
5852
  ((input, _path, _exceptionable = true) => {
5842
5853
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.clientId || "string" === typeof input.clientId || $report(_exceptionable, {
5843
5854
  path: _path + ".clientId",
@@ -5865,8 +5876,8 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5865
5876
  if (!validateRes.success) {
5866
5877
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
5867
5878
  }
5868
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetDeveloperAppsRoute()}`, payload);
5869
- return new GetDeveloperAppSuccessResponse(response.data);
5879
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GetDeveloperAppsRoute()}`, payload);
5880
+ return new requests_1.GetDeveloperAppSuccessResponse(response.data);
5870
5881
  }
5871
5882
  catch (error) {
5872
5883
  await this.handleApiError(error);
@@ -5882,7 +5893,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5882
5893
  return "object" === typeof input && null !== input && $io0(input);
5883
5894
  };
5884
5895
  if (false === __is(input)) {
5885
- const $report = typia.validate.report(errors);
5896
+ const $report = typia_1.default.validate.report(errors);
5886
5897
  ((input, _path, _exceptionable = true) => {
5887
5898
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
5888
5899
  path: _path + ".name",
@@ -5930,8 +5941,8 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5930
5941
  if (!validateRes.success) {
5931
5942
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
5932
5943
  }
5933
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDDeveloperAppRoute()}`, payload);
5934
- return new CreateDeveloperAppSuccessResponse(response.data);
5944
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDDeveloperAppRoute()}`, payload);
5945
+ return new requests_1.CreateDeveloperAppSuccessResponse(response.data);
5935
5946
  }
5936
5947
  catch (error) {
5937
5948
  await this.handleApiError(error);
@@ -5947,7 +5958,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5947
5958
  return "object" === typeof input && null !== input && $io0(input);
5948
5959
  };
5949
5960
  if (false === __is(input)) {
5950
- const $report = typia.validate.report(errors);
5961
+ const $report = typia_1.default.validate.report(errors);
5951
5962
  ((input, _path, _exceptionable = true) => {
5952
5963
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.clientId || $report(_exceptionable, {
5953
5964
  path: _path + ".clientId",
@@ -5979,8 +5990,8 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5979
5990
  if (!validateRes.success) {
5980
5991
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
5981
5992
  }
5982
- const response = await this.axios.delete(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDDeveloperAppRoute()}`, { data: payload });
5983
- return new DeleteDeveloperAppSuccessResponse(response.data);
5993
+ const response = await this.axios.delete(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDDeveloperAppRoute()}`, { data: payload });
5994
+ return new requests_1.DeleteDeveloperAppSuccessResponse(response.data);
5984
5995
  }
5985
5996
  catch (error) {
5986
5997
  await this.handleApiError(error);
@@ -5996,7 +6007,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
5996
6007
  return "object" === typeof input && null !== input && $io0(input);
5997
6008
  };
5998
6009
  if (false === __is(input)) {
5999
- const $report = typia.validate.report(errors);
6010
+ const $report = typia_1.default.validate.report(errors);
6000
6011
  ((input, _path, _exceptionable = true) => {
6001
6012
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.clientId || $report(_exceptionable, {
6002
6013
  path: _path + ".clientId",
@@ -6052,8 +6063,8 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6052
6063
  if (!validateRes.success) {
6053
6064
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6054
6065
  }
6055
- const response = await this.axios.put(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDDeveloperAppRoute()}`, payload);
6056
- return new UpdateDeveloperAppSuccessResponse(response.data);
6066
+ const response = await this.axios.put(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDDeveloperAppRoute()}`, payload);
6067
+ return new requests_1.UpdateDeveloperAppSuccessResponse(response.data);
6057
6068
  }
6058
6069
  catch (error) {
6059
6070
  await this.handleApiError(error);
@@ -6069,7 +6080,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6069
6080
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
6070
6081
  };
6071
6082
  if (false === __is(input)) {
6072
- const $report = typia.validate.report(errors);
6083
+ const $report = typia_1.default.validate.report(errors);
6073
6084
  ((input, _path, _exceptionable = true) => {
6074
6085
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.createdPluginsOnly || "boolean" === typeof input.createdPluginsOnly || $report(_exceptionable, {
6075
6086
  path: _path + ".createdPluginsOnly",
@@ -6101,8 +6112,8 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6101
6112
  if (!validateRes.success) {
6102
6113
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6103
6114
  }
6104
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetPluginRoute()}`, payload);
6105
- return new GetPluginSuccessResponse(response.data).convert(this.ConvertFunction);
6115
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GetPluginRoute()}`, payload);
6116
+ return new requests_1.GetPluginSuccessResponse(response.data).convert(this.ConvertFunction);
6106
6117
  }
6107
6118
  catch (error) {
6108
6119
  await this.handleApiError(error);
@@ -6117,7 +6128,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6117
6128
  return "object" === typeof input && null !== input && "string" === typeof input.code;
6118
6129
  };
6119
6130
  if (false === __is(input)) {
6120
- const $report = typia.validate.report(errors);
6131
+ const $report = typia_1.default.validate.report(errors);
6121
6132
  ((input, _path, _exceptionable = true) => {
6122
6133
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.code || $report(_exceptionable, {
6123
6134
  path: _path + ".code",
@@ -6145,8 +6156,8 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6145
6156
  if (!validateRes.success) {
6146
6157
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6147
6158
  }
6148
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GenerateGoogleWalletPassRoute()}`, payload);
6149
- return new GenerateGoogleWalletSuccessResponse(response.data);
6159
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GenerateGoogleWalletPassRoute()}`, payload);
6160
+ return new requests_1.GenerateGoogleWalletSuccessResponse(response.data);
6150
6161
  }
6151
6162
  catch (error) {
6152
6163
  await this.handleApiError(error);
@@ -6161,7 +6172,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6161
6172
  return "object" === typeof input && null !== input && "string" === typeof input.code;
6162
6173
  };
6163
6174
  if (false === __is(input)) {
6164
- const $report = typia.validate.report(errors);
6175
+ const $report = typia_1.default.validate.report(errors);
6165
6176
  ((input, _path, _exceptionable = true) => {
6166
6177
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.code || $report(_exceptionable, {
6167
6178
  path: _path + ".code",
@@ -6189,8 +6200,8 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6189
6200
  if (!validateRes.success) {
6190
6201
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6191
6202
  }
6192
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GenerateAppleWalletPassRoute()}`, payload);
6193
- return new GenerateAppleWalletPassSuccessResponse(response.data);
6203
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GenerateAppleWalletPassRoute()}`, payload);
6204
+ return new requests_1.GenerateAppleWalletPassSuccessResponse(response.data);
6194
6205
  }
6195
6206
  catch (error) {
6196
6207
  await this.handleApiError(error);
@@ -6206,7 +6217,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6206
6217
  return "object" === typeof input && null !== input && $io0(input);
6207
6218
  };
6208
6219
  if (false === __is(input)) {
6209
- const $report = typia.validate.report(errors);
6220
+ const $report = typia_1.default.validate.report(errors);
6210
6221
  ((input, _path, _exceptionable = true) => {
6211
6222
  const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.uris) || $report(_exceptionable, {
6212
6223
  path: _path + ".uris",
@@ -6242,8 +6253,8 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6242
6253
  if (!validateRes.success) {
6243
6254
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6244
6255
  }
6245
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.FetchMetadataDirectlyRoute()}`, payload);
6246
- return new FetchMetadataDirectlySuccessResponse(response.data).convert(this.ConvertFunction);
6256
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.FetchMetadataDirectlyRoute()}`, payload);
6257
+ return new requests_1.FetchMetadataDirectlySuccessResponse(response.data).convert(this.ConvertFunction);
6247
6258
  }
6248
6259
  catch (error) {
6249
6260
  await this.handleApiError(error);
@@ -6258,7 +6269,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6258
6269
  return "object" === typeof input && null !== input && true;
6259
6270
  };
6260
6271
  if (false === __is(input)) {
6261
- const $report = typia.validate.report(errors);
6272
+ const $report = typia_1.default.validate.report(errors);
6262
6273
  ((input, _path, _exceptionable = true) => {
6263
6274
  const $vo0 = (input, _path, _exceptionable = true) => true;
6264
6275
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
@@ -6282,8 +6293,8 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6282
6293
  if (!validateRes.success) {
6283
6294
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6284
6295
  }
6285
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetTokensFromFaucetRoute()}`, payload);
6286
- return new GetTokensFromFaucetSuccessResponse(response.data);
6296
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GetTokensFromFaucetRoute()}`, payload);
6297
+ return new requests_1.GetTokensFromFaucetSuccessResponse(response.data);
6287
6298
  }
6288
6299
  catch (error) {
6289
6300
  await this.handleApiError(error);
@@ -6311,8 +6322,8 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6311
6322
  const $io8 = input => Array.isArray(input.leaves) && input.leaves.every(elem => "string" === typeof elem) && "boolean" === typeof input.isHashed && (undefined === input.preimages || Array.isArray(input.preimages) && input.preimages.every(elem => "string" === typeof elem)) && (undefined === input.seedCode || "string" === typeof input.seedCode) && (undefined === input.tree || "object" === typeof input.tree && null !== input.tree && $io9(input.tree)) && (undefined === input.treeOptions || "object" === typeof input.treeOptions && null !== input.treeOptions && false === Array.isArray(input.treeOptions) && $io10(input.treeOptions)) && (undefined === input.numLeaves || "string" === typeof input.numLeaves || "number" === typeof input.numLeaves || "bigint" === typeof input.numLeaves) && (undefined === input.currCode || "string" === typeof input.currCode || "number" === typeof input.currCode || "bigint" === typeof input.currCode);
6312
6323
  const $io9 = input => true;
6313
6324
  const $io10 = input => (undefined === input.duplicateOdd || "boolean" === typeof input.duplicateOdd) && (undefined === input.hashLeaves || "boolean" === typeof input.hashLeaves) && (undefined === input.isBitcoinTree || "boolean" === typeof input.isBitcoinTree) && (undefined === input.sortLeaves || "boolean" === typeof input.sortLeaves) && (undefined === input.sortPairs || "boolean" === typeof input.sortPairs) && (undefined === input.sort || "boolean" === typeof input.sort) && (null !== input.fillDefaultHash && (undefined === input.fillDefaultHash || "function" === typeof input.fillDefaultHash || "string" === typeof input.fillDefaultHash || "object" === typeof input.fillDefaultHash && null !== input.fillDefaultHash && $io11(input.fillDefaultHash))) && (undefined === input.complete || "boolean" === typeof input.complete) && (undefined === input.concatenator || true);
6314
- const $io11 = input => "number" === typeof input.BYTES_PER_ELEMENT && (input.buffer instanceof ArrayBuffer || input.buffer instanceof SharedArrayBuffer) && "number" === typeof input.byteLength && "number" === typeof input.byteOffset && "number" === typeof input.length && "Uint8Array" === input["__@toStringTag@546"] && Object.keys(input).every(key => {
6315
- if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@546"].some(prop => key === prop))
6325
+ const $io11 = input => "number" === typeof input.BYTES_PER_ELEMENT && (input.buffer instanceof ArrayBuffer || input.buffer instanceof SharedArrayBuffer) && "number" === typeof input.byteLength && "number" === typeof input.byteOffset && "number" === typeof input.length && "Uint8Array" === input["__@toStringTag@182"] && Object.keys(input).every(key => {
6326
+ if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@182"].some(prop => key === prop))
6316
6327
  return true;
6317
6328
  const value = input[key];
6318
6329
  if (undefined === value)
@@ -6334,9 +6345,9 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6334
6345
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
6335
6346
  };
6336
6347
  if (false === __is(input)) {
6337
- const $report = typia.validate.report(errors);
6348
+ const $report = typia_1.default.validate.report(errors);
6338
6349
  ((input, _path, _exceptionable = true) => {
6339
- const $join = typia.validate.join;
6350
+ const $join = typia_1.default.validate.join;
6340
6351
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.contents || (Array.isArray(input.contents) || $report(_exceptionable, {
6341
6352
  path: _path + ".contents",
6342
6353
  expected: "(Array<iBadgeMetadataDetails<NumberType> | iMetadata<NumberType> | iCollectionMetadataDetails<NumberType> | iChallengeDetails<...>> | undefined)",
@@ -6665,12 +6676,12 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6665
6676
  path: _path + ".length",
6666
6677
  expected: "number",
6667
6678
  value: input.length
6668
- }), "Uint8Array" === input["__@toStringTag@546"] || $report(_exceptionable, {
6669
- path: _path + "[\"__@toStringTag@546\"]",
6679
+ }), "Uint8Array" === input["__@toStringTag@182"] || $report(_exceptionable, {
6680
+ path: _path + "[\"__@toStringTag@182\"]",
6670
6681
  expected: "\"Uint8Array\"",
6671
- value: input["__@toStringTag@546"]
6682
+ value: input["__@toStringTag@182"]
6672
6683
  }), false === _exceptionable || Object.keys(input).map(key => {
6673
- if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@546"].some(prop => key === prop))
6684
+ if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@182"].some(prop => key === prop))
6674
6685
  return true;
6675
6686
  const value = input[key];
6676
6687
  if (undefined === value)
@@ -6714,8 +6725,8 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6714
6725
  if (!validateRes.success) {
6715
6726
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6716
6727
  }
6717
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.AddToIpfsRoute()}`, payload);
6718
- return new AddToIpfsSuccessResponse(response.data);
6728
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.AddToIpfsRoute()}`, payload);
6729
+ return new requests_1.AddToIpfsSuccessResponse(response.data);
6719
6730
  }
6720
6731
  catch (error) {
6721
6732
  await this.handleApiError(error);
@@ -6733,8 +6744,8 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6733
6744
  const $io3 = input => Array.isArray(input.leaves) && input.leaves.every(elem => "string" === typeof elem) && "boolean" === typeof input.isHashed && (undefined === input.preimages || Array.isArray(input.preimages) && input.preimages.every(elem => "string" === typeof elem)) && (undefined === input.seedCode || "string" === typeof input.seedCode) && (undefined === input.tree || "object" === typeof input.tree && null !== input.tree && $io4(input.tree)) && (undefined === input.treeOptions || "object" === typeof input.treeOptions && null !== input.treeOptions && false === Array.isArray(input.treeOptions) && $io5(input.treeOptions)) && (undefined === input.numLeaves || "string" === typeof input.numLeaves || "number" === typeof input.numLeaves || "bigint" === typeof input.numLeaves) && (undefined === input.currCode || "string" === typeof input.currCode || "number" === typeof input.currCode || "bigint" === typeof input.currCode);
6734
6745
  const $io4 = input => true;
6735
6746
  const $io5 = input => (undefined === input.duplicateOdd || "boolean" === typeof input.duplicateOdd) && (undefined === input.hashLeaves || "boolean" === typeof input.hashLeaves) && (undefined === input.isBitcoinTree || "boolean" === typeof input.isBitcoinTree) && (undefined === input.sortLeaves || "boolean" === typeof input.sortLeaves) && (undefined === input.sortPairs || "boolean" === typeof input.sortPairs) && (undefined === input.sort || "boolean" === typeof input.sort) && (null !== input.fillDefaultHash && (undefined === input.fillDefaultHash || "function" === typeof input.fillDefaultHash || "string" === typeof input.fillDefaultHash || "object" === typeof input.fillDefaultHash && null !== input.fillDefaultHash && $io6(input.fillDefaultHash))) && (undefined === input.complete || "boolean" === typeof input.complete) && (undefined === input.concatenator || true);
6736
- const $io6 = input => "number" === typeof input.BYTES_PER_ELEMENT && (input.buffer instanceof ArrayBuffer || input.buffer instanceof SharedArrayBuffer) && "number" === typeof input.byteLength && "number" === typeof input.byteOffset && "number" === typeof input.length && "Uint8Array" === input["__@toStringTag@546"] && Object.keys(input).every(key => {
6737
- if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@546"].some(prop => key === prop))
6747
+ const $io6 = input => "number" === typeof input.BYTES_PER_ELEMENT && (input.buffer instanceof ArrayBuffer || input.buffer instanceof SharedArrayBuffer) && "number" === typeof input.byteLength && "number" === typeof input.byteOffset && "number" === typeof input.length && "Uint8Array" === input["__@toStringTag@182"] && Object.keys(input).every(key => {
6748
+ if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@182"].some(prop => key === prop))
6738
6749
  return true;
6739
6750
  const value = input[key];
6740
6751
  if (undefined === value)
@@ -6764,9 +6775,9 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6764
6775
  return "object" === typeof input && null !== input && $io0(input);
6765
6776
  };
6766
6777
  if (false === __is(input)) {
6767
- const $report = typia.validate.report(errors);
6778
+ const $report = typia_1.default.validate.report(errors);
6768
6779
  ((input, _path, _exceptionable = true) => {
6769
- const $join = typia.validate.join;
6780
+ const $join = typia_1.default.validate.join;
6770
6781
  const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.approvalDetails) || $report(_exceptionable, {
6771
6782
  path: _path + ".approvalDetails",
6772
6783
  expected: "Array<__type>",
@@ -6949,12 +6960,12 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
6949
6960
  path: _path + ".length",
6950
6961
  expected: "number",
6951
6962
  value: input.length
6952
- }), "Uint8Array" === input["__@toStringTag@546"] || $report(_exceptionable, {
6953
- path: _path + "[\"__@toStringTag@546\"]",
6963
+ }), "Uint8Array" === input["__@toStringTag@182"] || $report(_exceptionable, {
6964
+ path: _path + "[\"__@toStringTag@182\"]",
6954
6965
  expected: "\"Uint8Array\"",
6955
- value: input["__@toStringTag@546"]
6966
+ value: input["__@toStringTag@182"]
6956
6967
  }), false === _exceptionable || Object.keys(input).map(key => {
6957
- if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@546"].some(prop => key === prop))
6968
+ if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@182"].some(prop => key === prop))
6958
6969
  return true;
6959
6970
  const value = input[key];
6960
6971
  if (undefined === value)
@@ -7375,8 +7386,8 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
7375
7386
  if (!validateRes.success) {
7376
7387
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
7377
7388
  }
7378
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.AddApprovalDetailsToOffChainStorageRoute()}`, payload);
7379
- return new AddApprovalDetailsToOffChainStorageSuccessResponse(response.data);
7389
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.AddApprovalDetailsToOffChainStorageRoute()}`, payload);
7390
+ return new requests_1.AddApprovalDetailsToOffChainStorageSuccessResponse(response.data);
7380
7391
  }
7381
7392
  catch (error) {
7382
7393
  await this.handleApiError(error);
@@ -7392,7 +7403,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
7392
7403
  return "object" === typeof input && null !== input && $io0(input);
7393
7404
  };
7394
7405
  if (false === __is(input)) {
7395
- const $report = typia.validate.report(errors);
7406
+ const $report = typia_1.default.validate.report(errors);
7396
7407
  ((input, _path, _exceptionable = true) => {
7397
7408
  const $vo0 = (input, _path, _exceptionable = true) => ["Bitcoin" === input.chain || "Ethereum" === input.chain || "Cosmos" === input.chain || "Solana" === input.chain || "Unknown" === input.chain || $report(_exceptionable, {
7398
7409
  path: _path + ".chain",
@@ -7424,8 +7435,8 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
7424
7435
  if (!validateRes.success) {
7425
7436
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
7426
7437
  }
7427
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetSignInChallengeRoute()}`, payload);
7428
- return new GetSignInChallengeSuccessResponse(response.data).convert(this.ConvertFunction);
7438
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GetSignInChallengeRoute()}`, payload);
7439
+ return new requests_1.GetSignInChallengeSuccessResponse(response.data).convert(this.ConvertFunction);
7429
7440
  }
7430
7441
  catch (error) {
7431
7442
  await this.handleApiError(error);
@@ -7441,7 +7452,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
7441
7452
  return "object" === typeof input && null !== input && $io0(input);
7442
7453
  };
7443
7454
  if (false === __is(input)) {
7444
- const $report = typia.validate.report(errors);
7455
+ const $report = typia_1.default.validate.report(errors);
7445
7456
  ((input, _path, _exceptionable = true) => {
7446
7457
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.message || $report(_exceptionable, {
7447
7458
  path: _path + ".message",
@@ -7477,8 +7488,8 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
7477
7488
  if (!validateRes.success) {
7478
7489
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
7479
7490
  }
7480
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.VerifySignInRoute()}`, payload);
7481
- return new VerifySignInSuccessResponse(response.data);
7491
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.VerifySignInRoute()}`, payload);
7492
+ return new requests_1.VerifySignInSuccessResponse(response.data);
7482
7493
  }
7483
7494
  catch (error) {
7484
7495
  await this.handleApiError(error);
@@ -7494,7 +7505,7 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
7494
7505
  return "object" === typeof input && null !== input && $io0(input);
7495
7506
  };
7496
7507
  if (false === __is(input)) {
7497
- const $report = typia.validate.report(errors);
7508
+ const $report = typia_1.default.validate.report(errors);
7498
7509
  ((input, _path, _exceptionable = true) => {
7499
7510
  const $vo0 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.signOutBlockin || $report(_exceptionable, {
7500
7511
  path: _path + ".signOutBlockin",
@@ -7542,8 +7553,8 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
7542
7553
  if (!validateRes.success) {
7543
7554
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
7544
7555
  }
7545
- const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.SignOutRoute()}`, payload);
7546
- return new SignOutSuccessResponse(response.data);
7556
+ const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.SignOutRoute()}`, payload);
7557
+ return new requests_1.SignOutSuccessResponse(response.data);
7547
7558
  }
7548
7559
  catch (error) {
7549
7560
  await this.handleApiError(error);
@@ -7551,5 +7562,6 @@ export class BitBadgesAdminAPI extends BitBadgesAPI {
7551
7562
  }
7552
7563
  }
7553
7564
  }
7554
- export default BitBadgesAPI;
7565
+ exports.BitBadgesAdminAPI = BitBadgesAdminAPI;
7566
+ exports.default = BitBadgesAPI;
7555
7567
  //# sourceMappingURL=BitBadgesApi.js.map