bitbadgesjs-sdk 0.3.92 → 0.3.93

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 (909) hide show
  1. package/dist/address-converter/converter.js +38 -54
  2. package/dist/address-converter/converter.js.map +1 -1
  3. package/dist/address-converter/index.js +1 -17
  4. package/dist/address-converter/index.js.map +1 -1
  5. package/dist/api-indexer/BitBadgesAddressList.js +25 -36
  6. package/dist/api-indexer/BitBadgesAddressList.js.map +1 -1
  7. package/dist/api-indexer/BitBadgesApi.js +767 -775
  8. package/dist/api-indexer/BitBadgesApi.js.map +1 -1
  9. package/dist/api-indexer/BitBadgesCollection.js +132 -140
  10. package/dist/api-indexer/BitBadgesCollection.js.map +1 -1
  11. package/dist/api-indexer/BitBadgesUserInfo.js +38 -47
  12. package/dist/api-indexer/BitBadgesUserInfo.js.map +1 -1
  13. package/dist/api-indexer/base.js +6 -14
  14. package/dist/api-indexer/base.js.map +1 -1
  15. package/dist/api-indexer/docs/activity.js +16 -24
  16. package/dist/api-indexer/docs/activity.js.map +1 -1
  17. package/dist/api-indexer/docs/docs.js +122 -159
  18. package/dist/api-indexer/docs/docs.js.map +1 -1
  19. package/dist/api-indexer/docs/index.js +4 -20
  20. package/dist/api-indexer/docs/index.js.map +1 -1
  21. package/dist/api-indexer/docs/interfaces.js +2 -5
  22. package/dist/api-indexer/docs/interfaces.js.map +1 -1
  23. package/dist/api-indexer/index.js +8 -24
  24. package/dist/api-indexer/index.js.map +1 -1
  25. package/dist/api-indexer/metadata/badgeMetadata.js +23 -51
  26. package/dist/api-indexer/metadata/badgeMetadata.js.map +1 -1
  27. package/dist/api-indexer/metadata/index.js +3 -19
  28. package/dist/api-indexer/metadata/index.js.map +1 -1
  29. package/dist/api-indexer/metadata/metadata.js +6 -10
  30. package/dist/api-indexer/metadata/metadata.js.map +1 -1
  31. package/dist/api-indexer/metadata/metadataIds.js +18 -26
  32. package/dist/api-indexer/metadata/metadataIds.js.map +1 -1
  33. package/dist/api-indexer/requests/blockin.js +15 -23
  34. package/dist/api-indexer/requests/blockin.js.map +1 -1
  35. package/dist/api-indexer/requests/collections.js +28 -40
  36. package/dist/api-indexer/requests/collections.js.map +1 -1
  37. package/dist/api-indexer/requests/index.js +4 -20
  38. package/dist/api-indexer/requests/index.js.map +1 -1
  39. package/dist/api-indexer/requests/maps.js +14 -20
  40. package/dist/api-indexer/requests/maps.js.map +1 -1
  41. package/dist/api-indexer/requests/requests.js +105 -164
  42. package/dist/api-indexer/requests/requests.js.map +1 -1
  43. package/dist/api-indexer/requests/routes.js +1 -5
  44. package/dist/api-indexer/requests/routes.js.map +1 -1
  45. package/dist/auth/auth.js +2 -6
  46. package/dist/auth/auth.js.map +1 -1
  47. package/dist/auth/index.js +1 -17
  48. package/dist/auth/index.js.map +1 -1
  49. package/dist/chain-drivers/BtcDriver.js +3 -6
  50. package/dist/chain-drivers/BtcDriver.js.map +1 -1
  51. package/dist/chain-drivers/CosmosDriver.js +6 -9
  52. package/dist/chain-drivers/CosmosDriver.js.map +1 -1
  53. package/dist/chain-drivers/EthDriver.js +5 -8
  54. package/dist/chain-drivers/EthDriver.js.map +1 -1
  55. package/dist/chain-drivers/SolDriver.js +5 -11
  56. package/dist/chain-drivers/SolDriver.js.map +1 -1
  57. package/dist/chain-drivers/verifySig.d.ts +1 -1
  58. package/dist/chain-drivers/verifySig.js +11 -19
  59. package/dist/chain-drivers/verifySig.js.map +1 -1
  60. package/dist/common/base.js +14 -26
  61. package/dist/common/base.js.map +1 -1
  62. package/dist/common/constants.js +4 -7
  63. package/dist/common/constants.js.map +1 -1
  64. package/dist/common/index.js +5 -21
  65. package/dist/common/index.js.map +1 -1
  66. package/dist/common/math.js +13 -28
  67. package/dist/common/math.js.map +1 -1
  68. package/dist/common/string-numbers.js +4 -11
  69. package/dist/common/string-numbers.js.map +1 -1
  70. package/dist/common/typed-arrays.js +1 -5
  71. package/dist/common/typed-arrays.js.map +1 -1
  72. package/dist/common/types.js +2 -5
  73. package/dist/common/types.js.map +1 -1
  74. package/dist/core/addressLists.js +14 -18
  75. package/dist/core/addressLists.js.map +1 -1
  76. package/dist/core/addressLists.spec.js +24 -28
  77. package/dist/core/addressLists.spec.js.map +1 -1
  78. package/dist/core/aliases.js +10 -20
  79. package/dist/core/aliases.js.map +1 -1
  80. package/dist/core/approval-utils.js +33 -43
  81. package/dist/core/approval-utils.js.map +1 -1
  82. package/dist/core/approvals.js +153 -204
  83. package/dist/core/approvals.js.map +1 -1
  84. package/dist/core/attestations.js +13 -17
  85. package/dist/core/attestations.js.map +1 -1
  86. package/dist/core/balances.js +93 -140
  87. package/dist/core/balances.js.map +1 -1
  88. package/dist/core/balances.spec.js +34 -36
  89. package/dist/core/balances.spec.js.map +1 -1
  90. package/dist/core/batch-utils.js +14 -19
  91. package/dist/core/batch-utils.js.map +1 -1
  92. package/dist/core/batch-utils.spec.js +11 -13
  93. package/dist/core/batch-utils.spec.js.map +1 -1
  94. package/dist/core/blockin.js +10 -15
  95. package/dist/core/blockin.js.map +1 -1
  96. package/dist/core/coin.js +3 -7
  97. package/dist/core/coin.js.map +1 -1
  98. package/dist/core/index.js +17 -33
  99. package/dist/core/index.js.map +1 -1
  100. package/dist/core/misc.js +255 -317
  101. package/dist/core/misc.js.map +1 -1
  102. package/dist/core/overlaps.js +58 -70
  103. package/dist/core/overlaps.js.map +1 -1
  104. package/dist/core/permission-utils.js +22 -26
  105. package/dist/core/permission-utils.js.map +1 -1
  106. package/dist/core/permissions.js +171 -211
  107. package/dist/core/permissions.js.map +1 -1
  108. package/dist/core/secrets.js +7 -12
  109. package/dist/core/secrets.js.map +1 -1
  110. package/dist/core/timelines.js +17 -31
  111. package/dist/core/timelines.js.map +1 -1
  112. package/dist/core/transfers.js +69 -104
  113. package/dist/core/transfers.js.map +1 -1
  114. package/dist/core/transfers.spec.js +15 -17
  115. package/dist/core/transfers.spec.js.map +1 -1
  116. package/dist/core/uintRanges.js +25 -53
  117. package/dist/core/uintRanges.js.map +1 -1
  118. package/dist/core/uintRanges.spec.js +10 -12
  119. package/dist/core/uintRanges.spec.js.map +1 -1
  120. package/dist/core/userBalances.js +23 -51
  121. package/dist/core/userBalances.js.map +1 -1
  122. package/dist/core/validate-utils.js +33 -38
  123. package/dist/core/validate-utils.js.map +1 -1
  124. package/dist/index.js +7 -23
  125. package/dist/index.js.map +1 -1
  126. package/dist/interfaces/badges/approvals.js +1 -2
  127. package/dist/interfaces/badges/core.js +1 -2
  128. package/dist/interfaces/badges/index.js +4 -20
  129. package/dist/interfaces/badges/index.js.map +1 -1
  130. package/dist/interfaces/badges/permissions.js +1 -2
  131. package/dist/interfaces/badges/userBalances.js +1 -2
  132. package/dist/interfaces/index.js +2 -18
  133. package/dist/interfaces/index.js.map +1 -1
  134. package/dist/node-rest-api/account.js +1 -5
  135. package/dist/node-rest-api/account.js.map +1 -1
  136. package/dist/node-rest-api/balances.js +1 -5
  137. package/dist/node-rest-api/balances.js.map +1 -1
  138. package/dist/node-rest-api/broadcast.js +4 -9
  139. package/dist/node-rest-api/broadcast.js.map +1 -1
  140. package/dist/node-rest-api/gov.js +4 -9
  141. package/dist/node-rest-api/gov.js.map +1 -1
  142. package/dist/node-rest-api/ibc.js +1 -5
  143. package/dist/node-rest-api/ibc.js.map +1 -1
  144. package/dist/node-rest-api/index.js +6 -22
  145. package/dist/node-rest-api/index.js.map +1 -1
  146. package/dist/node-rest-api/staking.js +4 -11
  147. package/dist/node-rest-api/staking.js.map +1 -1
  148. package/dist/proto/amino/amino_pb.js +6 -9
  149. package/dist/proto/amino/amino_pb.js.map +1 -1
  150. package/dist/proto/anchor/genesis_pb.js +10 -14
  151. package/dist/proto/anchor/genesis_pb.js.map +1 -1
  152. package/dist/proto/anchor/index.js +5 -21
  153. package/dist/proto/anchor/index.js.map +1 -1
  154. package/dist/proto/anchor/packet_pb.js +11 -16
  155. package/dist/proto/anchor/packet_pb.js.map +1 -1
  156. package/dist/proto/anchor/params_pb.js +6 -10
  157. package/dist/proto/anchor/params_pb.js.map +1 -1
  158. package/dist/proto/anchor/query_pb.js +25 -32
  159. package/dist/proto/anchor/query_pb.js.map +1 -1
  160. package/dist/proto/anchor/tx_pb.js +21 -28
  161. package/dist/proto/anchor/tx_pb.js.map +1 -1
  162. package/dist/proto/badges/address_lists_pb.js +6 -10
  163. package/dist/proto/badges/address_lists_pb.js.map +1 -1
  164. package/dist/proto/badges/balances_pb.js +16 -22
  165. package/dist/proto/badges/balances_pb.js.map +1 -1
  166. package/dist/proto/badges/collections_pb.js +19 -23
  167. package/dist/proto/badges/collections_pb.js.map +1 -1
  168. package/dist/proto/badges/genesis_pb.js +15 -19
  169. package/dist/proto/badges/genesis_pb.js.map +1 -1
  170. package/dist/proto/badges/index.js +13 -29
  171. package/dist/proto/badges/index.js.map +1 -1
  172. package/dist/proto/badges/legacytx_pb.js +142 -164
  173. package/dist/proto/badges/legacytx_pb.js.map +1 -1
  174. package/dist/proto/badges/metadata_pb.js +18 -24
  175. package/dist/proto/badges/metadata_pb.js.map +1 -1
  176. package/dist/proto/badges/packet_pb.js +11 -16
  177. package/dist/proto/badges/packet_pb.js.map +1 -1
  178. package/dist/proto/badges/params_pb.js +6 -10
  179. package/dist/proto/badges/params_pb.js.map +1 -1
  180. package/dist/proto/badges/permissions_pb.js +75 -87
  181. package/dist/proto/badges/permissions_pb.js.map +1 -1
  182. package/dist/proto/badges/query_pb.js +70 -85
  183. package/dist/proto/badges/query_pb.js.map +1 -1
  184. package/dist/proto/badges/timelines_pb.js +54 -65
  185. package/dist/proto/badges/timelines_pb.js.map +1 -1
  186. package/dist/proto/badges/transfers_pb.js +133 -158
  187. package/dist/proto/badges/transfers_pb.js.map +1 -1
  188. package/dist/proto/badges/tx_pb.js +128 -148
  189. package/dist/proto/badges/tx_pb.js.map +1 -1
  190. package/dist/proto/bitcoin/index.js +1 -17
  191. package/dist/proto/bitcoin/index.js.map +1 -1
  192. package/dist/proto/bitcoin/web3_pb.js +7 -11
  193. package/dist/proto/bitcoin/web3_pb.js.map +1 -1
  194. package/dist/proto/cosmos/app/index.js +2 -28
  195. package/dist/proto/cosmos/app/index.js.map +1 -1
  196. package/dist/proto/cosmos/app/runtime/index.js +1 -27
  197. package/dist/proto/cosmos/app/runtime/index.js.map +1 -1
  198. package/dist/proto/cosmos/app/runtime/v1alpha1/index.js +1 -17
  199. package/dist/proto/cosmos/app/runtime/v1alpha1/index.js.map +1 -1
  200. package/dist/proto/cosmos/app/runtime/v1alpha1/module_pb.js +11 -16
  201. package/dist/proto/cosmos/app/runtime/v1alpha1/module_pb.js.map +1 -1
  202. package/dist/proto/cosmos/app/v1alpha1/config_pb.js +17 -23
  203. package/dist/proto/cosmos/app/v1alpha1/config_pb.js.map +1 -1
  204. package/dist/proto/cosmos/app/v1alpha1/index.js +3 -19
  205. package/dist/proto/cosmos/app/v1alpha1/index.js.map +1 -1
  206. package/dist/proto/cosmos/app/v1alpha1/module_pb.js +17 -23
  207. package/dist/proto/cosmos/app/v1alpha1/module_pb.js.map +1 -1
  208. package/dist/proto/cosmos/app/v1alpha1/query_pb.js +13 -18
  209. package/dist/proto/cosmos/app/v1alpha1/query_pb.js.map +1 -1
  210. package/dist/proto/cosmos/auth/index.js +2 -28
  211. package/dist/proto/cosmos/auth/index.js.map +1 -1
  212. package/dist/proto/cosmos/auth/module/index.js +1 -27
  213. package/dist/proto/cosmos/auth/module/index.js.map +1 -1
  214. package/dist/proto/cosmos/auth/module/v1/index.js +1 -17
  215. package/dist/proto/cosmos/auth/module/v1/index.js.map +1 -1
  216. package/dist/proto/cosmos/auth/module/v1/module_pb.js +11 -16
  217. package/dist/proto/cosmos/auth/module/v1/module_pb.js.map +1 -1
  218. package/dist/proto/cosmos/auth/v1beta1/auth_pb.js +29 -36
  219. package/dist/proto/cosmos/auth/v1beta1/auth_pb.js.map +1 -1
  220. package/dist/proto/cosmos/auth/v1beta1/genesis_pb.js +9 -13
  221. package/dist/proto/cosmos/auth/v1beta1/genesis_pb.js.map +1 -1
  222. package/dist/proto/cosmos/auth/v1beta1/index.js +4 -20
  223. package/dist/proto/cosmos/auth/v1beta1/index.js.map +1 -1
  224. package/dist/proto/cosmos/auth/v1beta1/query_pb.js +113 -136
  225. package/dist/proto/cosmos/auth/v1beta1/query_pb.js.map +1 -1
  226. package/dist/proto/cosmos/auth/v1beta1/tx_pb.js +13 -18
  227. package/dist/proto/cosmos/auth/v1beta1/tx_pb.js.map +1 -1
  228. package/dist/proto/cosmos/authz/index.js +2 -28
  229. package/dist/proto/cosmos/authz/index.js.map +1 -1
  230. package/dist/proto/cosmos/authz/module/index.js +1 -27
  231. package/dist/proto/cosmos/authz/module/index.js.map +1 -1
  232. package/dist/proto/cosmos/authz/module/v1/index.js +1 -17
  233. package/dist/proto/cosmos/authz/module/v1/index.js.map +1 -1
  234. package/dist/proto/cosmos/authz/module/v1/module_pb.js +6 -10
  235. package/dist/proto/cosmos/authz/module/v1/module_pb.js.map +1 -1
  236. package/dist/proto/cosmos/authz/v1beta1/authz_pb.js +25 -32
  237. package/dist/proto/cosmos/authz/v1beta1/authz_pb.js.map +1 -1
  238. package/dist/proto/cosmos/authz/v1beta1/event_pb.js +11 -16
  239. package/dist/proto/cosmos/authz/v1beta1/event_pb.js.map +1 -1
  240. package/dist/proto/cosmos/authz/v1beta1/genesis_pb.js +8 -12
  241. package/dist/proto/cosmos/authz/v1beta1/genesis_pb.js.map +1 -1
  242. package/dist/proto/cosmos/authz/v1beta1/index.js +5 -21
  243. package/dist/proto/cosmos/authz/v1beta1/index.js.map +1 -1
  244. package/dist/proto/cosmos/authz/v1beta1/query_pb.js +42 -51
  245. package/dist/proto/cosmos/authz/v1beta1/query_pb.js.map +1 -1
  246. package/dist/proto/cosmos/authz/v1beta1/tx_pb.js +34 -43
  247. package/dist/proto/cosmos/authz/v1beta1/tx_pb.js.map +1 -1
  248. package/dist/proto/cosmos/autocli/index.js +1 -27
  249. package/dist/proto/cosmos/autocli/index.js.map +1 -1
  250. package/dist/proto/cosmos/autocli/v1/index.js +2 -18
  251. package/dist/proto/cosmos/autocli/v1/index.js.map +1 -1
  252. package/dist/proto/cosmos/autocli/v1/options_pb.js +26 -34
  253. package/dist/proto/cosmos/autocli/v1/options_pb.js.map +1 -1
  254. package/dist/proto/cosmos/autocli/v1/query_pb.js +13 -18
  255. package/dist/proto/cosmos/autocli/v1/query_pb.js.map +1 -1
  256. package/dist/proto/cosmos/bank/index.js +2 -28
  257. package/dist/proto/cosmos/bank/index.js.map +1 -1
  258. package/dist/proto/cosmos/bank/module/index.js +1 -27
  259. package/dist/proto/cosmos/bank/module/index.js.map +1 -1
  260. package/dist/proto/cosmos/bank/module/v1/index.js +1 -17
  261. package/dist/proto/cosmos/bank/module/v1/index.js.map +1 -1
  262. package/dist/proto/cosmos/bank/module/v1/module_pb.js +6 -10
  263. package/dist/proto/cosmos/bank/module/v1/module_pb.js.map +1 -1
  264. package/dist/proto/cosmos/bank/v1beta1/authz_pb.js +8 -12
  265. package/dist/proto/cosmos/bank/v1beta1/authz_pb.js.map +1 -1
  266. package/dist/proto/cosmos/bank/v1beta1/bank_pb.js +40 -50
  267. package/dist/proto/cosmos/bank/v1beta1/bank_pb.js.map +1 -1
  268. package/dist/proto/cosmos/bank/v1beta1/genesis_pb.js +18 -23
  269. package/dist/proto/cosmos/bank/v1beta1/genesis_pb.js.map +1 -1
  270. package/dist/proto/cosmos/bank/v1beta1/index.js +5 -21
  271. package/dist/proto/cosmos/bank/v1beta1/index.js.map +1 -1
  272. package/dist/proto/cosmos/bank/v1beta1/query_pb.js +142 -168
  273. package/dist/proto/cosmos/bank/v1beta1/query_pb.js.map +1 -1
  274. package/dist/proto/cosmos/bank/v1beta1/tx_pb.js +48 -59
  275. package/dist/proto/cosmos/bank/v1beta1/tx_pb.js.map +1 -1
  276. package/dist/proto/cosmos/base/abci/index.js +1 -27
  277. package/dist/proto/cosmos/base/abci/index.js.map +1 -1
  278. package/dist/proto/cosmos/base/abci/v1beta1/abci_pb.js +67 -80
  279. package/dist/proto/cosmos/base/abci/v1beta1/abci_pb.js.map +1 -1
  280. package/dist/proto/cosmos/base/abci/v1beta1/index.js +1 -17
  281. package/dist/proto/cosmos/base/abci/v1beta1/index.js.map +1 -1
  282. package/dist/proto/cosmos/base/index.js +9 -35
  283. package/dist/proto/cosmos/base/index.js.map +1 -1
  284. package/dist/proto/cosmos/base/kv/index.js +1 -27
  285. package/dist/proto/cosmos/base/kv/index.js.map +1 -1
  286. package/dist/proto/cosmos/base/kv/v1beta1/index.js +1 -17
  287. package/dist/proto/cosmos/base/kv/v1beta1/index.js.map +1 -1
  288. package/dist/proto/cosmos/base/kv/v1beta1/kv_pb.js +11 -16
  289. package/dist/proto/cosmos/base/kv/v1beta1/kv_pb.js.map +1 -1
  290. package/dist/proto/cosmos/base/node/index.js +1 -27
  291. package/dist/proto/cosmos/base/node/index.js.map +1 -1
  292. package/dist/proto/cosmos/base/node/v1beta1/index.js +1 -17
  293. package/dist/proto/cosmos/base/node/v1beta1/index.js.map +1 -1
  294. package/dist/proto/cosmos/base/node/v1beta1/query_pb.js +11 -16
  295. package/dist/proto/cosmos/base/node/v1beta1/query_pb.js.map +1 -1
  296. package/dist/proto/cosmos/base/query/index.js +1 -27
  297. package/dist/proto/cosmos/base/query/index.js.map +1 -1
  298. package/dist/proto/cosmos/base/query/v1beta1/index.js +1 -17
  299. package/dist/proto/cosmos/base/query/v1beta1/index.js.map +1 -1
  300. package/dist/proto/cosmos/base/query/v1beta1/pagination_pb.js +14 -19
  301. package/dist/proto/cosmos/base/query/v1beta1/pagination_pb.js.map +1 -1
  302. package/dist/proto/cosmos/base/reflection/index.js +2 -28
  303. package/dist/proto/cosmos/base/reflection/index.js.map +1 -1
  304. package/dist/proto/cosmos/base/reflection/v1beta1/index.js +1 -17
  305. package/dist/proto/cosmos/base/reflection/v1beta1/index.js.map +1 -1
  306. package/dist/proto/cosmos/base/reflection/v1beta1/reflection_pb.js +21 -28
  307. package/dist/proto/cosmos/base/reflection/v1beta1/reflection_pb.js.map +1 -1
  308. package/dist/proto/cosmos/base/reflection/v2alpha1/index.js +1 -17
  309. package/dist/proto/cosmos/base/reflection/v2alpha1/index.js.map +1 -1
  310. package/dist/proto/cosmos/base/reflection/v2alpha1/reflection_pb.js +131 -160
  311. package/dist/proto/cosmos/base/reflection/v2alpha1/reflection_pb.js.map +1 -1
  312. package/dist/proto/cosmos/base/snapshots/index.js +1 -27
  313. package/dist/proto/cosmos/base/snapshots/index.js.map +1 -1
  314. package/dist/proto/cosmos/base/snapshots/v1beta1/index.js +1 -17
  315. package/dist/proto/cosmos/base/snapshots/v1beta1/index.js.map +1 -1
  316. package/dist/proto/cosmos/base/snapshots/v1beta1/snapshot_pb.js +48 -60
  317. package/dist/proto/cosmos/base/snapshots/v1beta1/snapshot_pb.js.map +1 -1
  318. package/dist/proto/cosmos/base/store/index.js +1 -27
  319. package/dist/proto/cosmos/base/store/index.js.map +1 -1
  320. package/dist/proto/cosmos/base/store/v1beta1/commit_info_pb.js +19 -25
  321. package/dist/proto/cosmos/base/store/v1beta1/commit_info_pb.js.map +1 -1
  322. package/dist/proto/cosmos/base/store/v1beta1/index.js +3 -19
  323. package/dist/proto/cosmos/base/store/v1beta1/index.js.map +1 -1
  324. package/dist/proto/cosmos/base/store/v1beta1/listening_pb.js +24 -30
  325. package/dist/proto/cosmos/base/store/v1beta1/listening_pb.js.map +1 -1
  326. package/dist/proto/cosmos/base/store/v1beta1/snapshot_pb.js +17 -23
  327. package/dist/proto/cosmos/base/store/v1beta1/snapshot_pb.js.map +1 -1
  328. package/dist/proto/cosmos/base/tendermint/index.js +1 -27
  329. package/dist/proto/cosmos/base/tendermint/index.js.map +1 -1
  330. package/dist/proto/cosmos/base/tendermint/v1beta1/index.js +2 -18
  331. package/dist/proto/cosmos/base/tendermint/v1beta1/index.js.map +1 -1
  332. package/dist/proto/cosmos/base/tendermint/v1beta1/query_pb.js +122 -144
  333. package/dist/proto/cosmos/base/tendermint/v1beta1/query_pb.js.map +1 -1
  334. package/dist/proto/cosmos/base/tendermint/v1beta1/types_pb.js +21 -26
  335. package/dist/proto/cosmos/base/tendermint/v1beta1/types_pb.js.map +1 -1
  336. package/dist/proto/cosmos/base/v1beta1/coin_pb.js +21 -28
  337. package/dist/proto/cosmos/base/v1beta1/coin_pb.js.map +1 -1
  338. package/dist/proto/cosmos/base/v1beta1/index.js +1 -17
  339. package/dist/proto/cosmos/base/v1beta1/index.js.map +1 -1
  340. package/dist/proto/cosmos/capability/index.js +2 -28
  341. package/dist/proto/cosmos/capability/index.js.map +1 -1
  342. package/dist/proto/cosmos/capability/module/index.js +1 -27
  343. package/dist/proto/cosmos/capability/module/index.js.map +1 -1
  344. package/dist/proto/cosmos/capability/module/v1/index.js +1 -17
  345. package/dist/proto/cosmos/capability/module/v1/index.js.map +1 -1
  346. package/dist/proto/cosmos/capability/module/v1/module_pb.js +6 -10
  347. package/dist/proto/cosmos/capability/module/v1/module_pb.js.map +1 -1
  348. package/dist/proto/cosmos/capability/v1beta1/capability_pb.js +17 -23
  349. package/dist/proto/cosmos/capability/v1beta1/capability_pb.js.map +1 -1
  350. package/dist/proto/cosmos/capability/v1beta1/genesis_pb.js +15 -20
  351. package/dist/proto/cosmos/capability/v1beta1/genesis_pb.js.map +1 -1
  352. package/dist/proto/cosmos/capability/v1beta1/index.js +2 -18
  353. package/dist/proto/cosmos/capability/v1beta1/index.js.map +1 -1
  354. package/dist/proto/cosmos/consensus/index.js +2 -28
  355. package/dist/proto/cosmos/consensus/index.js.map +1 -1
  356. package/dist/proto/cosmos/consensus/module/index.js +1 -27
  357. package/dist/proto/cosmos/consensus/module/index.js.map +1 -1
  358. package/dist/proto/cosmos/consensus/module/v1/index.js +1 -17
  359. package/dist/proto/cosmos/consensus/module/v1/index.js.map +1 -1
  360. package/dist/proto/cosmos/consensus/module/v1/module_pb.js +6 -10
  361. package/dist/proto/cosmos/consensus/module/v1/module_pb.js.map +1 -1
  362. package/dist/proto/cosmos/consensus/v1/index.js +2 -18
  363. package/dist/proto/cosmos/consensus/v1/index.js.map +1 -1
  364. package/dist/proto/cosmos/consensus/v1/query_pb.js +13 -18
  365. package/dist/proto/cosmos/consensus/v1/query_pb.js.map +1 -1
  366. package/dist/proto/cosmos/consensus/v1/tx_pb.js +15 -20
  367. package/dist/proto/cosmos/consensus/v1/tx_pb.js.map +1 -1
  368. package/dist/proto/cosmos/crisis/index.js +2 -28
  369. package/dist/proto/cosmos/crisis/index.js.map +1 -1
  370. package/dist/proto/cosmos/crisis/module/index.js +1 -27
  371. package/dist/proto/cosmos/crisis/module/index.js.map +1 -1
  372. package/dist/proto/cosmos/crisis/module/v1/index.js +1 -17
  373. package/dist/proto/cosmos/crisis/module/v1/index.js.map +1 -1
  374. package/dist/proto/cosmos/crisis/module/v1/module_pb.js +6 -10
  375. package/dist/proto/cosmos/crisis/module/v1/module_pb.js.map +1 -1
  376. package/dist/proto/cosmos/crisis/v1beta1/genesis_pb.js +8 -12
  377. package/dist/proto/cosmos/crisis/v1beta1/genesis_pb.js.map +1 -1
  378. package/dist/proto/cosmos/crisis/v1beta1/index.js +2 -18
  379. package/dist/proto/cosmos/crisis/v1beta1/index.js.map +1 -1
  380. package/dist/proto/cosmos/crisis/v1beta1/tx_pb.js +23 -30
  381. package/dist/proto/cosmos/crisis/v1beta1/tx_pb.js.map +1 -1
  382. package/dist/proto/cosmos/crypto/ed25519/index.js +1 -17
  383. package/dist/proto/cosmos/crypto/ed25519/index.js.map +1 -1
  384. package/dist/proto/cosmos/crypto/ed25519/keys_pb.js +11 -16
  385. package/dist/proto/cosmos/crypto/ed25519/keys_pb.js.map +1 -1
  386. package/dist/proto/cosmos/crypto/hd/index.js +1 -27
  387. package/dist/proto/cosmos/crypto/hd/index.js.map +1 -1
  388. package/dist/proto/cosmos/crypto/hd/v1/hd_pb.js +6 -10
  389. package/dist/proto/cosmos/crypto/hd/v1/hd_pb.js.map +1 -1
  390. package/dist/proto/cosmos/crypto/hd/v1/index.js +1 -17
  391. package/dist/proto/cosmos/crypto/hd/v1/index.js.map +1 -1
  392. package/dist/proto/cosmos/crypto/index.js +6 -32
  393. package/dist/proto/cosmos/crypto/index.js.map +1 -1
  394. package/dist/proto/cosmos/crypto/keyring/index.js +1 -27
  395. package/dist/proto/cosmos/crypto/keyring/index.js.map +1 -1
  396. package/dist/proto/cosmos/crypto/keyring/v1/index.js +1 -17
  397. package/dist/proto/cosmos/crypto/keyring/v1/index.js.map +1 -1
  398. package/dist/proto/cosmos/crypto/keyring/v1/record_pb.js +30 -38
  399. package/dist/proto/cosmos/crypto/keyring/v1/record_pb.js.map +1 -1
  400. package/dist/proto/cosmos/crypto/multisig/index.js +2 -31
  401. package/dist/proto/cosmos/crypto/multisig/index.js.map +1 -1
  402. package/dist/proto/cosmos/crypto/multisig/keys_pb.js +7 -11
  403. package/dist/proto/cosmos/crypto/multisig/keys_pb.js.map +1 -1
  404. package/dist/proto/cosmos/crypto/multisig/v1beta1/index.js +1 -17
  405. package/dist/proto/cosmos/crypto/multisig/v1beta1/index.js.map +1 -1
  406. package/dist/proto/cosmos/crypto/multisig/v1beta1/multisig_pb.js +11 -16
  407. package/dist/proto/cosmos/crypto/multisig/v1beta1/multisig_pb.js.map +1 -1
  408. package/dist/proto/cosmos/crypto/secp256k1/index.js +1 -17
  409. package/dist/proto/cosmos/crypto/secp256k1/index.js.map +1 -1
  410. package/dist/proto/cosmos/crypto/secp256k1/keys_pb.js +11 -16
  411. package/dist/proto/cosmos/crypto/secp256k1/keys_pb.js.map +1 -1
  412. package/dist/proto/cosmos/crypto/secp256r1/index.js +1 -17
  413. package/dist/proto/cosmos/crypto/secp256r1/index.js.map +1 -1
  414. package/dist/proto/cosmos/crypto/secp256r1/keys_pb.js +11 -16
  415. package/dist/proto/cosmos/crypto/secp256r1/keys_pb.js.map +1 -1
  416. package/dist/proto/cosmos/distribution/index.js +2 -28
  417. package/dist/proto/cosmos/distribution/index.js.map +1 -1
  418. package/dist/proto/cosmos/distribution/module/index.js +1 -27
  419. package/dist/proto/cosmos/distribution/module/index.js.map +1 -1
  420. package/dist/proto/cosmos/distribution/module/v1/index.js +1 -17
  421. package/dist/proto/cosmos/distribution/module/v1/index.js.map +1 -1
  422. package/dist/proto/cosmos/distribution/module/v1/module_pb.js +6 -10
  423. package/dist/proto/cosmos/distribution/module/v1/module_pb.js.map +1 -1
  424. package/dist/proto/cosmos/distribution/v1beta1/distribution_pb.js +73 -88
  425. package/dist/proto/cosmos/distribution/v1beta1/distribution_pb.js.map +1 -1
  426. package/dist/proto/cosmos/distribution/v1beta1/genesis_pb.js +54 -65
  427. package/dist/proto/cosmos/distribution/v1beta1/genesis_pb.js.map +1 -1
  428. package/dist/proto/cosmos/distribution/v1beta1/index.js +4 -20
  429. package/dist/proto/cosmos/distribution/v1beta1/index.js.map +1 -1
  430. package/dist/proto/cosmos/distribution/v1beta1/query_pb.js +118 -141
  431. package/dist/proto/cosmos/distribution/v1beta1/query_pb.js.map +1 -1
  432. package/dist/proto/cosmos/distribution/v1beta1/tx_pb.js +68 -83
  433. package/dist/proto/cosmos/distribution/v1beta1/tx_pb.js.map +1 -1
  434. package/dist/proto/cosmos/evidence/index.js +2 -28
  435. package/dist/proto/cosmos/evidence/index.js.map +1 -1
  436. package/dist/proto/cosmos/evidence/module/index.js +1 -27
  437. package/dist/proto/cosmos/evidence/module/index.js.map +1 -1
  438. package/dist/proto/cosmos/evidence/module/v1/index.js +1 -17
  439. package/dist/proto/cosmos/evidence/module/v1/index.js.map +1 -1
  440. package/dist/proto/cosmos/evidence/module/v1/module_pb.js +6 -10
  441. package/dist/proto/cosmos/evidence/module/v1/module_pb.js.map +1 -1
  442. package/dist/proto/cosmos/evidence/v1beta1/evidence_pb.js +9 -13
  443. package/dist/proto/cosmos/evidence/v1beta1/evidence_pb.js.map +1 -1
  444. package/dist/proto/cosmos/evidence/v1beta1/genesis_pb.js +7 -11
  445. package/dist/proto/cosmos/evidence/v1beta1/genesis_pb.js.map +1 -1
  446. package/dist/proto/cosmos/evidence/v1beta1/index.js +4 -20
  447. package/dist/proto/cosmos/evidence/v1beta1/index.js.map +1 -1
  448. package/dist/proto/cosmos/evidence/v1beta1/query_pb.js +26 -33
  449. package/dist/proto/cosmos/evidence/v1beta1/query_pb.js.map +1 -1
  450. package/dist/proto/cosmos/evidence/v1beta1/tx_pb.js +12 -17
  451. package/dist/proto/cosmos/evidence/v1beta1/tx_pb.js.map +1 -1
  452. package/dist/proto/cosmos/feegrant/index.js +2 -28
  453. package/dist/proto/cosmos/feegrant/index.js.map +1 -1
  454. package/dist/proto/cosmos/feegrant/module/index.js +1 -27
  455. package/dist/proto/cosmos/feegrant/module/index.js.map +1 -1
  456. package/dist/proto/cosmos/feegrant/module/v1/index.js +1 -17
  457. package/dist/proto/cosmos/feegrant/module/v1/index.js.map +1 -1
  458. package/dist/proto/cosmos/feegrant/module/v1/module_pb.js +6 -10
  459. package/dist/proto/cosmos/feegrant/module/v1/module_pb.js.map +1 -1
  460. package/dist/proto/cosmos/feegrant/v1beta1/feegrant_pb.js +30 -37
  461. package/dist/proto/cosmos/feegrant/v1beta1/feegrant_pb.js.map +1 -1
  462. package/dist/proto/cosmos/feegrant/v1beta1/genesis_pb.js +8 -12
  463. package/dist/proto/cosmos/feegrant/v1beta1/genesis_pb.js.map +1 -1
  464. package/dist/proto/cosmos/feegrant/v1beta1/index.js +4 -20
  465. package/dist/proto/cosmos/feegrant/v1beta1/index.js.map +1 -1
  466. package/dist/proto/cosmos/feegrant/v1beta1/query_pb.js +40 -49
  467. package/dist/proto/cosmos/feegrant/v1beta1/query_pb.js.map +1 -1
  468. package/dist/proto/cosmos/feegrant/v1beta1/tx_pb.js +22 -29
  469. package/dist/proto/cosmos/feegrant/v1beta1/tx_pb.js.map +1 -1
  470. package/dist/proto/cosmos/genutil/index.js +2 -28
  471. package/dist/proto/cosmos/genutil/index.js.map +1 -1
  472. package/dist/proto/cosmos/genutil/module/index.js +1 -27
  473. package/dist/proto/cosmos/genutil/module/index.js.map +1 -1
  474. package/dist/proto/cosmos/genutil/module/v1/index.js +1 -17
  475. package/dist/proto/cosmos/genutil/module/v1/index.js.map +1 -1
  476. package/dist/proto/cosmos/genutil/module/v1/module_pb.js +6 -10
  477. package/dist/proto/cosmos/genutil/module/v1/module_pb.js.map +1 -1
  478. package/dist/proto/cosmos/genutil/v1beta1/genesis_pb.js +6 -10
  479. package/dist/proto/cosmos/genutil/v1beta1/genesis_pb.js.map +1 -1
  480. package/dist/proto/cosmos/genutil/v1beta1/index.js +1 -17
  481. package/dist/proto/cosmos/genutil/v1beta1/index.js.map +1 -1
  482. package/dist/proto/cosmos/gov/index.js +3 -29
  483. package/dist/proto/cosmos/gov/index.js.map +1 -1
  484. package/dist/proto/cosmos/gov/module/index.js +1 -27
  485. package/dist/proto/cosmos/gov/module/index.js.map +1 -1
  486. package/dist/proto/cosmos/gov/module/v1/index.js +1 -17
  487. package/dist/proto/cosmos/gov/module/v1/index.js.map +1 -1
  488. package/dist/proto/cosmos/gov/module/v1/module_pb.js +7 -11
  489. package/dist/proto/cosmos/gov/module/v1/module_pb.js.map +1 -1
  490. package/dist/proto/cosmos/gov/v1/genesis_pb.js +15 -19
  491. package/dist/proto/cosmos/gov/v1/genesis_pb.js.map +1 -1
  492. package/dist/proto/cosmos/gov/v1/gov_pb.js +71 -83
  493. package/dist/proto/cosmos/gov/v1/gov_pb.js.map +1 -1
  494. package/dist/proto/cosmos/gov/v1/index.js +4 -20
  495. package/dist/proto/cosmos/gov/v1/index.js.map +1 -1
  496. package/dist/proto/cosmos/gov/v1/query_pb.js +108 -127
  497. package/dist/proto/cosmos/gov/v1/query_pb.js.map +1 -1
  498. package/dist/proto/cosmos/gov/v1/tx_pb.js +75 -90
  499. package/dist/proto/cosmos/gov/v1/tx_pb.js.map +1 -1
  500. package/dist/proto/cosmos/gov/v1beta1/genesis_pb.js +14 -18
  501. package/dist/proto/cosmos/gov/v1beta1/genesis_pb.js.map +1 -1
  502. package/dist/proto/cosmos/gov/v1beta1/gov_pb.js +69 -81
  503. package/dist/proto/cosmos/gov/v1beta1/gov_pb.js.map +1 -1
  504. package/dist/proto/cosmos/gov/v1beta1/index.js +4 -20
  505. package/dist/proto/cosmos/gov/v1beta1/index.js.map +1 -1
  506. package/dist/proto/cosmos/gov/v1beta1/query_pb.js +107 -126
  507. package/dist/proto/cosmos/gov/v1beta1/query_pb.js.map +1 -1
  508. package/dist/proto/cosmos/gov/v1beta1/tx_pb.js +53 -64
  509. package/dist/proto/cosmos/gov/v1beta1/tx_pb.js.map +1 -1
  510. package/dist/proto/cosmos/group/index.js +2 -28
  511. package/dist/proto/cosmos/group/index.js.map +1 -1
  512. package/dist/proto/cosmos/group/module/index.js +1 -27
  513. package/dist/proto/cosmos/group/module/index.js.map +1 -1
  514. package/dist/proto/cosmos/group/module/v1/index.js +1 -17
  515. package/dist/proto/cosmos/group/module/v1/index.js.map +1 -1
  516. package/dist/proto/cosmos/group/module/v1/module_pb.js +8 -12
  517. package/dist/proto/cosmos/group/module/v1/module_pb.js.map +1 -1
  518. package/dist/proto/cosmos/group/v1/events_pb.js +65 -78
  519. package/dist/proto/cosmos/group/v1/events_pb.js.map +1 -1
  520. package/dist/proto/cosmos/group/v1/genesis_pb.js +15 -19
  521. package/dist/proto/cosmos/group/v1/genesis_pb.js.map +1 -1
  522. package/dist/proto/cosmos/group/v1/index.js +5 -21
  523. package/dist/proto/cosmos/group/v1/index.js.map +1 -1
  524. package/dist/proto/cosmos/group/v1/query_pb.js +182 -213
  525. package/dist/proto/cosmos/group/v1/query_pb.js.map +1 -1
  526. package/dist/proto/cosmos/group/v1/tx_pb.js +169 -200
  527. package/dist/proto/cosmos/group/v1/tx_pb.js.map +1 -1
  528. package/dist/proto/cosmos/group/v1/types_pb.js +87 -101
  529. package/dist/proto/cosmos/group/v1/types_pb.js.map +1 -1
  530. package/dist/proto/cosmos/index.js +26 -52
  531. package/dist/proto/cosmos/index.js.map +1 -1
  532. package/dist/proto/cosmos/mint/index.js +2 -28
  533. package/dist/proto/cosmos/mint/index.js.map +1 -1
  534. package/dist/proto/cosmos/mint/module/index.js +1 -27
  535. package/dist/proto/cosmos/mint/module/index.js.map +1 -1
  536. package/dist/proto/cosmos/mint/module/v1/index.js +1 -17
  537. package/dist/proto/cosmos/mint/module/v1/index.js.map +1 -1
  538. package/dist/proto/cosmos/mint/module/v1/module_pb.js +6 -10
  539. package/dist/proto/cosmos/mint/module/v1/module_pb.js.map +1 -1
  540. package/dist/proto/cosmos/mint/v1beta1/genesis_pb.js +9 -13
  541. package/dist/proto/cosmos/mint/v1beta1/genesis_pb.js.map +1 -1
  542. package/dist/proto/cosmos/mint/v1beta1/index.js +4 -20
  543. package/dist/proto/cosmos/mint/v1beta1/index.js.map +1 -1
  544. package/dist/proto/cosmos/mint/v1beta1/mint_pb.js +12 -17
  545. package/dist/proto/cosmos/mint/v1beta1/mint_pb.js.map +1 -1
  546. package/dist/proto/cosmos/mint/v1beta1/query_pb.js +33 -42
  547. package/dist/proto/cosmos/mint/v1beta1/query_pb.js.map +1 -1
  548. package/dist/proto/cosmos/mint/v1beta1/tx_pb.js +13 -18
  549. package/dist/proto/cosmos/mint/v1beta1/tx_pb.js.map +1 -1
  550. package/dist/proto/cosmos/msg/v1/msg_pb.js +3 -6
  551. package/dist/proto/cosmos/msg/v1/msg_pb.js.map +1 -1
  552. package/dist/proto/cosmos/nft/index.js +2 -28
  553. package/dist/proto/cosmos/nft/index.js.map +1 -1
  554. package/dist/proto/cosmos/nft/module/index.js +1 -27
  555. package/dist/proto/cosmos/nft/module/index.js.map +1 -1
  556. package/dist/proto/cosmos/nft/module/v1/index.js +1 -17
  557. package/dist/proto/cosmos/nft/module/v1/index.js.map +1 -1
  558. package/dist/proto/cosmos/nft/module/v1/module_pb.js +6 -10
  559. package/dist/proto/cosmos/nft/module/v1/module_pb.js.map +1 -1
  560. package/dist/proto/cosmos/nft/v1beta1/event_pb.js +16 -22
  561. package/dist/proto/cosmos/nft/v1beta1/event_pb.js.map +1 -1
  562. package/dist/proto/cosmos/nft/v1beta1/genesis_pb.js +14 -19
  563. package/dist/proto/cosmos/nft/v1beta1/genesis_pb.js.map +1 -1
  564. package/dist/proto/cosmos/nft/v1beta1/index.js +5 -21
  565. package/dist/proto/cosmos/nft/v1beta1/index.js.map +1 -1
  566. package/dist/proto/cosmos/nft/v1beta1/nft_pb.js +13 -18
  567. package/dist/proto/cosmos/nft/v1beta1/nft_pb.js.map +1 -1
  568. package/dist/proto/cosmos/nft/v1beta1/query_pb.js +83 -100
  569. package/dist/proto/cosmos/nft/v1beta1/query_pb.js.map +1 -1
  570. package/dist/proto/cosmos/nft/v1beta1/tx_pb.js +11 -16
  571. package/dist/proto/cosmos/nft/v1beta1/tx_pb.js.map +1 -1
  572. package/dist/proto/cosmos/orm/index.js +4 -30
  573. package/dist/proto/cosmos/orm/index.js.map +1 -1
  574. package/dist/proto/cosmos/orm/module/index.js +1 -27
  575. package/dist/proto/cosmos/orm/module/index.js.map +1 -1
  576. package/dist/proto/cosmos/orm/module/v1alpha1/index.js +1 -17
  577. package/dist/proto/cosmos/orm/module/v1alpha1/index.js.map +1 -1
  578. package/dist/proto/cosmos/orm/module/v1alpha1/module_pb.js +6 -10
  579. package/dist/proto/cosmos/orm/module/v1alpha1/module_pb.js.map +1 -1
  580. package/dist/proto/cosmos/orm/query/index.js +1 -27
  581. package/dist/proto/cosmos/orm/query/index.js.map +1 -1
  582. package/dist/proto/cosmos/orm/query/v1alpha1/index.js +1 -17
  583. package/dist/proto/cosmos/orm/query/v1alpha1/index.js.map +1 -1
  584. package/dist/proto/cosmos/orm/query/v1alpha1/query_pb.js +43 -53
  585. package/dist/proto/cosmos/orm/query/v1alpha1/query_pb.js.map +1 -1
  586. package/dist/proto/cosmos/orm/v1/index.js +1 -17
  587. package/dist/proto/cosmos/orm/v1/index.js.map +1 -1
  588. package/dist/proto/cosmos/orm/v1/orm_pb.js +23 -30
  589. package/dist/proto/cosmos/orm/v1/orm_pb.js.map +1 -1
  590. package/dist/proto/cosmos/orm/v1alpha1/index.js +1 -17
  591. package/dist/proto/cosmos/orm/v1alpha1/index.js.map +1 -1
  592. package/dist/proto/cosmos/orm/v1alpha1/schema_pb.js +16 -21
  593. package/dist/proto/cosmos/orm/v1alpha1/schema_pb.js.map +1 -1
  594. package/dist/proto/cosmos/params/index.js +2 -28
  595. package/dist/proto/cosmos/params/index.js.map +1 -1
  596. package/dist/proto/cosmos/params/module/index.js +1 -27
  597. package/dist/proto/cosmos/params/module/index.js.map +1 -1
  598. package/dist/proto/cosmos/params/module/v1/index.js +1 -17
  599. package/dist/proto/cosmos/params/module/v1/index.js.map +1 -1
  600. package/dist/proto/cosmos/params/module/v1/module_pb.js +6 -10
  601. package/dist/proto/cosmos/params/module/v1/module_pb.js.map +1 -1
  602. package/dist/proto/cosmos/params/v1beta1/index.js +2 -18
  603. package/dist/proto/cosmos/params/v1beta1/index.js.map +1 -1
  604. package/dist/proto/cosmos/params/v1beta1/params_pb.js +11 -16
  605. package/dist/proto/cosmos/params/v1beta1/params_pb.js.map +1 -1
  606. package/dist/proto/cosmos/params/v1beta1/query_pb.js +28 -36
  607. package/dist/proto/cosmos/params/v1beta1/query_pb.js.map +1 -1
  608. package/dist/proto/cosmos/query/v1/query_pb.js +2 -5
  609. package/dist/proto/cosmos/query/v1/query_pb.js.map +1 -1
  610. package/dist/proto/cosmos/reflection/index.js +1 -27
  611. package/dist/proto/cosmos/reflection/index.js.map +1 -1
  612. package/dist/proto/cosmos/reflection/v1/index.js +1 -17
  613. package/dist/proto/cosmos/reflection/v1/index.js.map +1 -1
  614. package/dist/proto/cosmos/reflection/v1/reflection_pb.js +12 -17
  615. package/dist/proto/cosmos/reflection/v1/reflection_pb.js.map +1 -1
  616. package/dist/proto/cosmos/slashing/index.js +2 -28
  617. package/dist/proto/cosmos/slashing/index.js.map +1 -1
  618. package/dist/proto/cosmos/slashing/module/index.js +1 -27
  619. package/dist/proto/cosmos/slashing/module/index.js.map +1 -1
  620. package/dist/proto/cosmos/slashing/module/v1/index.js +1 -17
  621. package/dist/proto/cosmos/slashing/module/v1/index.js.map +1 -1
  622. package/dist/proto/cosmos/slashing/module/v1/module_pb.js +6 -10
  623. package/dist/proto/cosmos/slashing/module/v1/module_pb.js.map +1 -1
  624. package/dist/proto/cosmos/slashing/v1beta1/genesis_pb.js +25 -32
  625. package/dist/proto/cosmos/slashing/v1beta1/genesis_pb.js.map +1 -1
  626. package/dist/proto/cosmos/slashing/v1beta1/index.js +4 -20
  627. package/dist/proto/cosmos/slashing/v1beta1/index.js.map +1 -1
  628. package/dist/proto/cosmos/slashing/v1beta1/query_pb.js +38 -47
  629. package/dist/proto/cosmos/slashing/v1beta1/query_pb.js.map +1 -1
  630. package/dist/proto/cosmos/slashing/v1beta1/slashing_pb.js +17 -22
  631. package/dist/proto/cosmos/slashing/v1beta1/slashing_pb.js.map +1 -1
  632. package/dist/proto/cosmos/slashing/v1beta1/tx_pb.js +23 -30
  633. package/dist/proto/cosmos/slashing/v1beta1/tx_pb.js.map +1 -1
  634. package/dist/proto/cosmos/staking/index.js +2 -28
  635. package/dist/proto/cosmos/staking/index.js.map +1 -1
  636. package/dist/proto/cosmos/staking/module/index.js +1 -27
  637. package/dist/proto/cosmos/staking/module/index.js.map +1 -1
  638. package/dist/proto/cosmos/staking/module/v1/index.js +1 -17
  639. package/dist/proto/cosmos/staking/module/v1/index.js.map +1 -1
  640. package/dist/proto/cosmos/staking/module/v1/module_pb.js +6 -10
  641. package/dist/proto/cosmos/staking/module/v1/module_pb.js.map +1 -1
  642. package/dist/proto/cosmos/staking/v1beta1/authz_pb.js +17 -22
  643. package/dist/proto/cosmos/staking/v1beta1/authz_pb.js.map +1 -1
  644. package/dist/proto/cosmos/staking/v1beta1/genesis_pb.js +18 -23
  645. package/dist/proto/cosmos/staking/v1beta1/genesis_pb.js.map +1 -1
  646. package/dist/proto/cosmos/staking/v1beta1/index.js +5 -21
  647. package/dist/proto/cosmos/staking/v1beta1/index.js.map +1 -1
  648. package/dist/proto/cosmos/staking/v1beta1/query_pb.js +172 -203
  649. package/dist/proto/cosmos/staking/v1beta1/query_pb.js.map +1 -1
  650. package/dist/proto/cosmos/staking/v1beta1/staking_pb.js +133 -157
  651. package/dist/proto/cosmos/staking/v1beta1/staking_pb.js.map +1 -1
  652. package/dist/proto/cosmos/staking/v1beta1/tx_pb.js +86 -103
  653. package/dist/proto/cosmos/staking/v1beta1/tx_pb.js.map +1 -1
  654. package/dist/proto/cosmos/tx/config/index.js +1 -27
  655. package/dist/proto/cosmos/tx/config/index.js.map +1 -1
  656. package/dist/proto/cosmos/tx/config/v1/config_pb.js +6 -10
  657. package/dist/proto/cosmos/tx/config/v1/config_pb.js.map +1 -1
  658. package/dist/proto/cosmos/tx/config/v1/index.js +1 -17
  659. package/dist/proto/cosmos/tx/config/v1/index.js.map +1 -1
  660. package/dist/proto/cosmos/tx/index.js +3 -29
  661. package/dist/proto/cosmos/tx/index.js.map +1 -1
  662. package/dist/proto/cosmos/tx/signing/index.js +1 -27
  663. package/dist/proto/cosmos/tx/signing/index.js.map +1 -1
  664. package/dist/proto/cosmos/tx/signing/v1beta1/index.js +1 -17
  665. package/dist/proto/cosmos/tx/signing/v1beta1/index.js.map +1 -1
  666. package/dist/proto/cosmos/tx/signing/v1beta1/signing_pb.js +34 -42
  667. package/dist/proto/cosmos/tx/signing/v1beta1/signing_pb.js.map +1 -1
  668. package/dist/proto/cosmos/tx/v1beta1/index.js +2 -18
  669. package/dist/proto/cosmos/tx/v1beta1/index.js.map +1 -1
  670. package/dist/proto/cosmos/tx/v1beta1/service_pb.js +125 -146
  671. package/dist/proto/cosmos/tx/v1beta1/service_pb.js.map +1 -1
  672. package/dist/proto/cosmos/tx/v1beta1/tx_pb.js +87 -103
  673. package/dist/proto/cosmos/tx/v1beta1/tx_pb.js.map +1 -1
  674. package/dist/proto/cosmos/upgrade/index.js +2 -28
  675. package/dist/proto/cosmos/upgrade/index.js.map +1 -1
  676. package/dist/proto/cosmos/upgrade/module/index.js +1 -27
  677. package/dist/proto/cosmos/upgrade/module/index.js.map +1 -1
  678. package/dist/proto/cosmos/upgrade/module/v1/index.js +1 -17
  679. package/dist/proto/cosmos/upgrade/module/v1/index.js.map +1 -1
  680. package/dist/proto/cosmos/upgrade/module/v1/module_pb.js +6 -10
  681. package/dist/proto/cosmos/upgrade/module/v1/module_pb.js.map +1 -1
  682. package/dist/proto/cosmos/upgrade/v1beta1/index.js +3 -19
  683. package/dist/proto/cosmos/upgrade/v1beta1/index.js.map +1 -1
  684. package/dist/proto/cosmos/upgrade/v1beta1/query_pb.js +56 -69
  685. package/dist/proto/cosmos/upgrade/v1beta1/query_pb.js.map +1 -1
  686. package/dist/proto/cosmos/upgrade/v1beta1/tx_pb.js +23 -30
  687. package/dist/proto/cosmos/upgrade/v1beta1/tx_pb.js.map +1 -1
  688. package/dist/proto/cosmos/upgrade/v1beta1/upgrade_pb.js +25 -32
  689. package/dist/proto/cosmos/upgrade/v1beta1/upgrade_pb.js.map +1 -1
  690. package/dist/proto/cosmos/vesting/index.js +2 -28
  691. package/dist/proto/cosmos/vesting/index.js.map +1 -1
  692. package/dist/proto/cosmos/vesting/module/index.js +1 -27
  693. package/dist/proto/cosmos/vesting/module/index.js.map +1 -1
  694. package/dist/proto/cosmos/vesting/module/v1/index.js +1 -17
  695. package/dist/proto/cosmos/vesting/module/v1/index.js.map +1 -1
  696. package/dist/proto/cosmos/vesting/module/v1/module_pb.js +6 -10
  697. package/dist/proto/cosmos/vesting/module/v1/module_pb.js.map +1 -1
  698. package/dist/proto/cosmos/vesting/v1beta1/index.js +2 -18
  699. package/dist/proto/cosmos/vesting/v1beta1/index.js.map +1 -1
  700. package/dist/proto/cosmos/vesting/v1beta1/tx_pb.js +38 -47
  701. package/dist/proto/cosmos/vesting/v1beta1/tx_pb.js.map +1 -1
  702. package/dist/proto/cosmos/vesting/v1beta1/vesting_pb.js +42 -51
  703. package/dist/proto/cosmos/vesting/v1beta1/vesting_pb.js.map +1 -1
  704. package/dist/proto/cosmos_proto/cosmos_pb.js +20 -25
  705. package/dist/proto/cosmos_proto/cosmos_pb.js.map +1 -1
  706. package/dist/proto/cosmos_proto/index.js +1 -17
  707. package/dist/proto/cosmos_proto/index.js.map +1 -1
  708. package/dist/proto/cosmwasm/index.js +1 -27
  709. package/dist/proto/cosmwasm/index.js.map +1 -1
  710. package/dist/proto/cosmwasm/wasm/index.js +1 -27
  711. package/dist/proto/cosmwasm/wasm/index.js.map +1 -1
  712. package/dist/proto/cosmwasm/wasm/v1/authz_pb.js +65 -79
  713. package/dist/proto/cosmwasm/wasm/v1/authz_pb.js.map +1 -1
  714. package/dist/proto/cosmwasm/wasm/v1/genesis_pb.js +29 -36
  715. package/dist/proto/cosmwasm/wasm/v1/genesis_pb.js.map +1 -1
  716. package/dist/proto/cosmwasm/wasm/v1/ibc_pb.js +19 -25
  717. package/dist/proto/cosmwasm/wasm/v1/ibc_pb.js.map +1 -1
  718. package/dist/proto/cosmwasm/wasm/v1/index.js +6 -22
  719. package/dist/proto/cosmwasm/wasm/v1/index.js.map +1 -1
  720. package/dist/proto/cosmwasm/wasm/v1/query_pb.js +138 -164
  721. package/dist/proto/cosmwasm/wasm/v1/query_pb.js.map +1 -1
  722. package/dist/proto/cosmwasm/wasm/v1/tx_pb.js +195 -233
  723. package/dist/proto/cosmwasm/wasm/v1/tx_pb.js.map +1 -1
  724. package/dist/proto/cosmwasm/wasm/v1/types_pb.js +56 -67
  725. package/dist/proto/cosmwasm/wasm/v1/types_pb.js.map +1 -1
  726. package/dist/proto/ethereum/ethsecp256k1/index.js +1 -17
  727. package/dist/proto/ethereum/ethsecp256k1/index.js.map +1 -1
  728. package/dist/proto/ethereum/ethsecp256k1/keys_pb.js +11 -16
  729. package/dist/proto/ethereum/ethsecp256k1/keys_pb.js.map +1 -1
  730. package/dist/proto/ethereum/index.js +2 -31
  731. package/dist/proto/ethereum/index.js.map +1 -1
  732. package/dist/proto/ethereum/web3_pb.js +7 -11
  733. package/dist/proto/ethereum/web3_pb.js.map +1 -1
  734. package/dist/proto/gogoproto/gogo_pb.js +78 -82
  735. package/dist/proto/gogoproto/gogo_pb.js.map +1 -1
  736. package/dist/proto/google/api/annotations_pb.js +3 -6
  737. package/dist/proto/google/api/annotations_pb.js.map +1 -1
  738. package/dist/proto/google/api/http_pb.js +16 -22
  739. package/dist/proto/google/api/http_pb.js.map +1 -1
  740. package/dist/proto/google/api/httpbody_pb.js +7 -11
  741. package/dist/proto/google/api/httpbody_pb.js.map +1 -1
  742. package/dist/proto/google/api/index.js +2 -18
  743. package/dist/proto/google/api/index.js.map +1 -1
  744. package/dist/proto/google/index.js +2 -28
  745. package/dist/proto/google/index.js.map +1 -1
  746. package/dist/proto/google/protobuf/any_pb.js +6 -10
  747. package/dist/proto/google/protobuf/any_pb.js.map +1 -1
  748. package/dist/proto/google/protobuf/descriptor_pb.js +160 -190
  749. package/dist/proto/google/protobuf/descriptor_pb.js.map +1 -1
  750. package/dist/proto/google/protobuf/index.js +2 -18
  751. package/dist/proto/google/protobuf/index.js.map +1 -1
  752. package/dist/proto/index.js +14 -43
  753. package/dist/proto/index.js.map +1 -1
  754. package/dist/proto/maps/balances_pb.js +6 -10
  755. package/dist/proto/maps/balances_pb.js.map +1 -1
  756. package/dist/proto/maps/genesis_pb.js +11 -15
  757. package/dist/proto/maps/genesis_pb.js.map +1 -1
  758. package/dist/proto/maps/index.js +9 -25
  759. package/dist/proto/maps/index.js.map +1 -1
  760. package/dist/proto/maps/metadata_pb.js +6 -10
  761. package/dist/proto/maps/metadata_pb.js.map +1 -1
  762. package/dist/proto/maps/packet_pb.js +11 -16
  763. package/dist/proto/maps/packet_pb.js.map +1 -1
  764. package/dist/proto/maps/params_pb.js +6 -10
  765. package/dist/proto/maps/params_pb.js.map +1 -1
  766. package/dist/proto/maps/permissions_pb.js +17 -22
  767. package/dist/proto/maps/permissions_pb.js.map +1 -1
  768. package/dist/proto/maps/query_pb.js +36 -45
  769. package/dist/proto/maps/query_pb.js.map +1 -1
  770. package/dist/proto/maps/timelines_pb.js +16 -21
  771. package/dist/proto/maps/timelines_pb.js.map +1 -1
  772. package/dist/proto/maps/tx_pb.js +87 -105
  773. package/dist/proto/maps/tx_pb.js.map +1 -1
  774. package/dist/proto/proofs_pb.js +78 -94
  775. package/dist/proto/proofs_pb.js.map +1 -1
  776. package/dist/proto/protocols/genesis_pb.js +10 -14
  777. package/dist/proto/protocols/genesis_pb.js.map +1 -1
  778. package/dist/proto/protocols/index.js +5 -21
  779. package/dist/proto/protocols/index.js.map +1 -1
  780. package/dist/proto/protocols/packet_pb.js +11 -16
  781. package/dist/proto/protocols/packet_pb.js.map +1 -1
  782. package/dist/proto/protocols/params_pb.js +6 -10
  783. package/dist/proto/protocols/params_pb.js.map +1 -1
  784. package/dist/proto/protocols/query_pb.js +35 -44
  785. package/dist/proto/protocols/query_pb.js.map +1 -1
  786. package/dist/proto/protocols/tx_pb.js +61 -76
  787. package/dist/proto/protocols/tx_pb.js.map +1 -1
  788. package/dist/proto/solana/index.js +1 -17
  789. package/dist/proto/solana/index.js.map +1 -1
  790. package/dist/proto/solana/web3_pb.js +7 -11
  791. package/dist/proto/solana/web3_pb.js.map +1 -1
  792. package/dist/proto/tendermint/abci/index.js +1 -17
  793. package/dist/proto/tendermint/abci/index.js.map +1 -1
  794. package/dist/proto/tendermint/abci/types_pb.js +290 -340
  795. package/dist/proto/tendermint/abci/types_pb.js.map +1 -1
  796. package/dist/proto/tendermint/crypto/index.js +2 -18
  797. package/dist/proto/tendermint/crypto/index.js.map +1 -1
  798. package/dist/proto/tendermint/crypto/keys_pb.js +6 -10
  799. package/dist/proto/tendermint/crypto/keys_pb.js.map +1 -1
  800. package/dist/proto/tendermint/crypto/proof_pb.js +28 -36
  801. package/dist/proto/tendermint/crypto/proof_pb.js.map +1 -1
  802. package/dist/proto/tendermint/index.js +6 -32
  803. package/dist/proto/tendermint/index.js.map +1 -1
  804. package/dist/proto/tendermint/libs/bits/index.js +1 -17
  805. package/dist/proto/tendermint/libs/bits/index.js.map +1 -1
  806. package/dist/proto/tendermint/libs/bits/types_pb.js +7 -11
  807. package/dist/proto/tendermint/libs/bits/types_pb.js.map +1 -1
  808. package/dist/proto/tendermint/libs/index.js +1 -27
  809. package/dist/proto/tendermint/libs/index.js.map +1 -1
  810. package/dist/proto/tendermint/p2p/index.js +1 -17
  811. package/dist/proto/tendermint/p2p/index.js.map +1 -1
  812. package/dist/proto/tendermint/p2p/types_pb.js +24 -31
  813. package/dist/proto/tendermint/p2p/types_pb.js.map +1 -1
  814. package/dist/proto/tendermint/types/block_pb.js +12 -16
  815. package/dist/proto/tendermint/types/block_pb.js.map +1 -1
  816. package/dist/proto/tendermint/types/evidence_pb.js +33 -40
  817. package/dist/proto/tendermint/types/evidence_pb.js.map +1 -1
  818. package/dist/proto/tendermint/types/index.js +5 -21
  819. package/dist/proto/tendermint/types/index.js.map +1 -1
  820. package/dist/proto/tendermint/types/params_pb.js +39 -48
  821. package/dist/proto/tendermint/types/params_pb.js.map +1 -1
  822. package/dist/proto/tendermint/types/types_pb.js +92 -108
  823. package/dist/proto/tendermint/types/types_pb.js.map +1 -1
  824. package/dist/proto/tendermint/types/validator_pb.js +23 -29
  825. package/dist/proto/tendermint/types/validator_pb.js.map +1 -1
  826. package/dist/proto/tendermint/version/index.js +1 -17
  827. package/dist/proto/tendermint/version/index.js.map +1 -1
  828. package/dist/proto/tendermint/version/types_pb.js +14 -19
  829. package/dist/proto/tendermint/version/types_pb.js.map +1 -1
  830. package/dist/proto/wasmx/genesis_pb.js +8 -12
  831. package/dist/proto/wasmx/genesis_pb.js.map +1 -1
  832. package/dist/proto/wasmx/index.js +4 -20
  833. package/dist/proto/wasmx/index.js.map +1 -1
  834. package/dist/proto/wasmx/query_pb.js +25 -32
  835. package/dist/proto/wasmx/query_pb.js.map +1 -1
  836. package/dist/proto/wasmx/tx_pb.js +21 -28
  837. package/dist/proto/wasmx/tx_pb.js.map +1 -1
  838. package/dist/proto/wasmx/wasmx_pb.js +9 -13
  839. package/dist/proto/wasmx/wasmx_pb.js.map +1 -1
  840. package/dist/transactions/amino/objectConverter.js +10 -20
  841. package/dist/transactions/amino/objectConverter.js.map +1 -1
  842. package/dist/transactions/amino/registry.js +53 -63
  843. package/dist/transactions/amino/registry.js.map +1 -1
  844. package/dist/transactions/eip712/payload/createDomain.js +9 -12
  845. package/dist/transactions/eip712/payload/createDomain.js.map +1 -1
  846. package/dist/transactions/eip712/payload/createTypedData.js +9 -16
  847. package/dist/transactions/eip712/payload/createTypedData.js.map +1 -1
  848. package/dist/transactions/eip712/payload/createTypes/index.js +1 -8
  849. package/dist/transactions/eip712/payload/createTypes/index.js.map +1 -1
  850. package/dist/transactions/eip712/payload/createTypes/parseMessage.js +11 -14
  851. package/dist/transactions/eip712/payload/createTypes/parseMessage.js.map +1 -1
  852. package/dist/transactions/eip712/payload/createTypes/parsePayload.js +11 -18
  853. package/dist/transactions/eip712/payload/createTypes/parsePayload.js.map +1 -1
  854. package/dist/transactions/eip712/payload/eip712Types.js +3 -9
  855. package/dist/transactions/eip712/payload/eip712Types.js.map +1 -1
  856. package/dist/transactions/eip712/payload/flattenPayload.js +3 -7
  857. package/dist/transactions/eip712/payload/flattenPayload.js.map +1 -1
  858. package/dist/transactions/eip712/payload/samples/getSampleMsg.js +228 -237
  859. package/dist/transactions/eip712/payload/samples/getSampleMsg.js.map +1 -1
  860. package/dist/transactions/eip712/payload/types.js +1 -2
  861. package/dist/transactions/index.js +1 -17
  862. package/dist/transactions/index.js.map +1 -1
  863. package/dist/transactions/messages/base.js +40 -48
  864. package/dist/transactions/messages/base.js.map +1 -1
  865. package/dist/transactions/messages/bitbadges/badges/index.js +8 -24
  866. package/dist/transactions/messages/bitbadges/badges/index.js.map +1 -1
  867. package/dist/transactions/messages/bitbadges/badges/interfaces.js +1 -2
  868. package/dist/transactions/messages/bitbadges/badges/msgCreateAddressLists.js +6 -33
  869. package/dist/transactions/messages/bitbadges/badges/msgCreateAddressLists.js.map +1 -1
  870. package/dist/transactions/messages/bitbadges/badges/msgCreateCollection.js +33 -60
  871. package/dist/transactions/messages/bitbadges/badges/msgCreateCollection.js.map +1 -1
  872. package/dist/transactions/messages/bitbadges/badges/msgDeleteCollection.js +6 -33
  873. package/dist/transactions/messages/bitbadges/badges/msgDeleteCollection.js.map +1 -1
  874. package/dist/transactions/messages/bitbadges/badges/msgTransferBadges.js +9 -36
  875. package/dist/transactions/messages/bitbadges/badges/msgTransferBadges.js.map +1 -1
  876. package/dist/transactions/messages/bitbadges/badges/msgUniversalUpdateCollection.js +33 -60
  877. package/dist/transactions/messages/bitbadges/badges/msgUniversalUpdateCollection.js.map +1 -1
  878. package/dist/transactions/messages/bitbadges/badges/msgUpdateCollection.js +30 -57
  879. package/dist/transactions/messages/bitbadges/badges/msgUpdateCollection.js.map +1 -1
  880. package/dist/transactions/messages/bitbadges/badges/msgUpdateUserApprovals.js +15 -42
  881. package/dist/transactions/messages/bitbadges/badges/msgUpdateUserApprovals.js.map +1 -1
  882. package/dist/transactions/messages/bitbadges/index.js +3 -19
  883. package/dist/transactions/messages/bitbadges/index.js.map +1 -1
  884. package/dist/transactions/messages/bitbadges/maps/index.js +1 -17
  885. package/dist/transactions/messages/bitbadges/maps/index.js.map +1 -1
  886. package/dist/transactions/messages/bitbadges/maps/interfaces.js +30 -66
  887. package/dist/transactions/messages/bitbadges/maps/interfaces.js.map +1 -1
  888. package/dist/transactions/messages/bitbadges/wasmx/index.js +3 -19
  889. package/dist/transactions/messages/bitbadges/wasmx/index.js.map +1 -1
  890. package/dist/transactions/messages/bitbadges/wasmx/interfaces.js +1 -2
  891. package/dist/transactions/messages/bitbadges/wasmx/msgExecuteContractCompat.js +3 -30
  892. package/dist/transactions/messages/bitbadges/wasmx/msgExecuteContractCompat.js.map +1 -1
  893. package/dist/transactions/messages/bitbadges/wasmx/msgInstantiateContractCompat.js +3 -30
  894. package/dist/transactions/messages/bitbadges/wasmx/msgInstantiateContractCompat.js.map +1 -1
  895. package/dist/transactions/messages/common.js +1 -2
  896. package/dist/transactions/messages/index.js +3 -19
  897. package/dist/transactions/messages/index.js.map +1 -1
  898. package/dist/transactions/messages/signDoc.js +5 -13
  899. package/dist/transactions/messages/signDoc.js.map +1 -1
  900. package/dist/transactions/messages/transaction.js +46 -62
  901. package/dist/transactions/messages/transaction.js.map +1 -1
  902. package/dist/transactions/messages/txRaw.js +14 -22
  903. package/dist/transactions/messages/txRaw.js.map +1 -1
  904. package/dist/transactions/messages/utils.js +3 -7
  905. package/dist/transactions/messages/utils.js.map +1 -1
  906. package/dist/transactions/messages/web3Extension.js +9 -41
  907. package/dist/transactions/messages/web3Extension.js.map +1 -1
  908. package/dist/tsconfig.build.tsbuildinfo +1 -1
  909. package/package.json +1 -1
@@ -1,19 +1,13 @@
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 {
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 {
17
11
  constructor(apiDetails) {
18
12
  super(apiDetails);
19
13
  }
@@ -25,7 +19,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
25
19
  return "object" === typeof input && null !== input && true;
26
20
  };
27
21
  if (false === __is(input)) {
28
- const $report = typia_1.default.validate.report(errors);
22
+ const $report = typia.validate.report(errors);
29
23
  ((input, _path, _exceptionable = true) => {
30
24
  const $vo0 = (input, _path, _exceptionable = true) => true;
31
25
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
@@ -49,8 +43,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
49
43
  if (!validateRes.success) {
50
44
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
51
45
  }
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);
46
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetStatusRoute()}`);
47
+ return new GetStatusSuccessResponse(response.data).convert(this.ConvertFunction);
54
48
  }
55
49
  catch (error) {
56
50
  await this.handleApiError(error);
@@ -66,7 +60,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
66
60
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
67
61
  };
68
62
  if (false === __is(input)) {
69
- const $report = typia_1.default.validate.report(errors);
63
+ const $report = typia.validate.report(errors);
70
64
  ((input, _path, _exceptionable = true) => {
71
65
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.noCollections || "boolean" === typeof input.noCollections || $report(_exceptionable, {
72
66
  path: _path + ".noCollections",
@@ -110,8 +104,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
110
104
  if (!validateRes.success) {
111
105
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
112
106
  }
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);
107
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.SearchRoute(searchValue)}`, payload);
108
+ return new GetSearchSuccessResponse(response.data).convert(this.ConvertFunction);
115
109
  }
116
110
  catch (error) {
117
111
  await this.handleApiError(error);
@@ -119,19 +113,19 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
119
113
  }
120
114
  }
121
115
  async getCollections(payload) {
122
- return await BitBadgesCollection_1.BitBadgesCollection.GetCollections(this, payload);
116
+ return await BitBadgesCollection.GetCollections(this, payload);
123
117
  }
124
118
  async getOwnersForBadge(collectionId, badgeId, payload) {
125
- return await BitBadgesCollection_1.BitBadgesCollection.GetOwnersForBadge(this, collectionId, badgeId, payload);
119
+ return await BitBadgesCollection.GetOwnersForBadge(this, collectionId, badgeId, payload);
126
120
  }
127
121
  async getBadgeBalanceByAddress(collectionId, address, payload) {
128
- return await BitBadgesCollection_1.BitBadgesCollection.GetBadgeBalanceByAddress(this, collectionId, address, payload);
122
+ return await BitBadgesCollection.GetBadgeBalanceByAddress(this, collectionId, address, payload);
129
123
  }
130
124
  async getBadgeActivity(collectionId, badgeId, payload) {
131
- return await BitBadgesCollection_1.BitBadgesCollection.GetBadgeActivity(this, collectionId, badgeId, payload);
125
+ return await BitBadgesCollection.GetBadgeActivity(this, collectionId, badgeId, payload);
132
126
  }
133
127
  async refreshMetadata(collectionId, payload) {
134
- return await BitBadgesCollection_1.BitBadgesCollection.RefreshMetadata(this, collectionId, payload);
128
+ return await BitBadgesCollection.RefreshMetadata(this, collectionId, payload);
135
129
  }
136
130
  async completeClaim(claimId, cosmosAddress, payload) {
137
131
  try {
@@ -149,9 +143,9 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
149
143
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
150
144
  };
151
145
  if (false === __is(input)) {
152
- const $report = typia_1.default.validate.report(errors);
146
+ const $report = typia.validate.report(errors);
153
147
  ((input, _path, _exceptionable = true) => {
154
- const $join = typia_1.default.validate.join;
148
+ const $join = typia.validate.join;
155
149
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input._fetchedAt || "number" === typeof input._fetchedAt || $report(_exceptionable, {
156
150
  path: _path + "._fetchedAt",
157
151
  expected: "(number | undefined)",
@@ -188,8 +182,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
188
182
  if (!claimId) {
189
183
  throw new Error('claimId is required');
190
184
  }
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);
185
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.CompleteClaimRoute(claimId, cosmosAddress)}`, payload);
186
+ return new CompleteClaimSuccessResponse(response.data);
193
187
  }
194
188
  catch (error) {
195
189
  await this.handleApiError(error);
@@ -212,9 +206,9 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
212
206
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
213
207
  };
214
208
  if (false === __is(input)) {
215
- const $report = typia_1.default.validate.report(errors);
209
+ const $report = typia.validate.report(errors);
216
210
  ((input, _path, _exceptionable = true) => {
217
- const $join = typia_1.default.validate.join;
211
+ const $join = typia.validate.join;
218
212
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input._fetchedAt || "number" === typeof input._fetchedAt || $report(_exceptionable, {
219
213
  path: _path + "._fetchedAt",
220
214
  expected: "(number | undefined)",
@@ -263,8 +257,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
263
257
  if (!claimId) {
264
258
  throw new Error('claimId is required');
265
259
  }
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);
260
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.SimulateClaimRoute(claimId, cosmosAddress)}`, payload);
261
+ return new SimulateClaimSuccessResponse(response.data);
268
262
  }
269
263
  catch (error) {
270
264
  await this.handleApiError(error);
@@ -279,7 +273,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
279
273
  return "object" === typeof input && null !== input && true;
280
274
  };
281
275
  if (false === __is(input)) {
282
- const $report = typia_1.default.validate.report(errors);
276
+ const $report = typia.validate.report(errors);
283
277
  ((input, _path, _exceptionable = true) => {
284
278
  const $vo0 = (input, _path, _exceptionable = true) => true;
285
279
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
@@ -306,8 +300,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
306
300
  if (!claimId) {
307
301
  throw new Error('claimId is required');
308
302
  }
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);
303
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetReservedClaimCodesRoute(claimId, cosmosAddress)}`, payload);
304
+ return new GetReservedClaimCodesSuccessResponse(response.data);
311
305
  }
312
306
  catch (error) {
313
307
  await this.handleApiError(error);
@@ -322,7 +316,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
322
316
  };
323
317
  if (false === __is(input))
324
318
  ((input, _path, _exceptionable = true) => {
325
- const $guard = typia_1.default.assert.guard;
319
+ const $guard = typia.assert.guard;
326
320
  return "string" === typeof input || $guard(true, {
327
321
  path: _path + "",
328
322
  expected: "string",
@@ -334,8 +328,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
334
328
  if (!claimAttemptId) {
335
329
  throw new Error('claimAttemptId is required');
336
330
  }
337
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GetClaimAttemptStatusRoute(claimAttemptId)}`);
338
- return new requests_1.GetClaimAttemptStatusSuccessResponse(response.data);
331
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetClaimAttemptStatusRoute(claimAttemptId)}`);
332
+ return new GetClaimAttemptStatusSuccessResponse(response.data);
339
333
  }
340
334
  catch (error) {
341
335
  await this.handleApiError(error);
@@ -350,7 +344,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
350
344
  return "object" === typeof input && null !== input && "string" === typeof input.reviewId;
351
345
  };
352
346
  if (false === __is(input)) {
353
- const $report = typia_1.default.validate.report(errors);
347
+ const $report = typia.validate.report(errors);
354
348
  ((input, _path, _exceptionable = true) => {
355
349
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.reviewId || $report(_exceptionable, {
356
350
  path: _path + ".reviewId",
@@ -378,10 +372,10 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
378
372
  if (!validateRes.success) {
379
373
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
380
374
  }
381
- const response = await this.axios.delete(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.DeleteReviewRoute(reviewId)}`, {
375
+ const response = await this.axios.delete(`${this.BACKEND_URL}${BitBadgesApiRoutes.DeleteReviewRoute(reviewId)}`, {
382
376
  data: payload
383
377
  });
384
- return new requests_1.DeleteReviewSuccessResponse(response.data);
378
+ return new DeleteReviewSuccessResponse(response.data);
385
379
  }
386
380
  catch (error) {
387
381
  await this.handleApiError(error);
@@ -397,7 +391,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
397
391
  return "object" === typeof input && null !== input && $io0(input);
398
392
  };
399
393
  if (false === __is(input)) {
400
- const $report = typia_1.default.validate.report(errors);
394
+ const $report = typia.validate.report(errors);
401
395
  ((input, _path, _exceptionable = true) => {
402
396
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.review || $report(_exceptionable, {
403
397
  path: _path + ".review",
@@ -437,8 +431,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
437
431
  if (!validateRes.success) {
438
432
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
439
433
  }
440
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.AddReviewRoute()}`, payload);
441
- return new requests_1.AddReviewSuccessResponse(response.data);
434
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.AddReviewRoute()}`, payload);
435
+ return new AddReviewSuccessResponse(response.data);
442
436
  }
443
437
  catch (error) {
444
438
  await this.handleApiError(error);
@@ -446,7 +440,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
446
440
  }
447
441
  }
448
442
  async getAccounts(payload) {
449
- return await BitBadgesUserInfo_1.BitBadgesUserInfo.GetAccounts(this, payload);
443
+ return await BitBadgesUserInfo.GetAccounts(this, payload);
450
444
  }
451
445
  async updateAccountInfo(payload) {
452
446
  try {
@@ -480,7 +474,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
480
474
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
481
475
  };
482
476
  if (false === __is(input)) {
483
- const $report = typia_1.default.validate.report(errors);
477
+ const $report = typia.validate.report(errors);
484
478
  ((input, _path, _exceptionable = true) => {
485
479
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.discord || "string" === typeof input.discord || $report(_exceptionable, {
486
480
  path: _path + ".discord",
@@ -1123,8 +1117,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1123
1117
  if (!validateRes.success) {
1124
1118
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
1125
1119
  }
1126
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.UpdateAccountInfoRoute()}`, payload);
1127
- return new requests_1.UpdateAccountInfoSuccessResponse(response.data);
1120
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.UpdateAccountInfoRoute()}`, payload);
1121
+ return new UpdateAccountInfoSuccessResponse(response.data);
1128
1122
  }
1129
1123
  catch (error) {
1130
1124
  await this.handleApiError(error);
@@ -1140,7 +1134,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1140
1134
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1141
1135
  };
1142
1136
  if (false === __is(input)) {
1143
- const $report = typia_1.default.validate.report(errors);
1137
+ const $report = typia.validate.report(errors);
1144
1138
  ((input, _path, _exceptionable = true) => {
1145
1139
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.validateAccessTokens || "boolean" === typeof input.validateAccessTokens || $report(_exceptionable, {
1146
1140
  path: _path + ".validateAccessTokens",
@@ -1168,8 +1162,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1168
1162
  if (!validateRes.success) {
1169
1163
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
1170
1164
  }
1171
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CheckIfSignedInRoute()}`, payload);
1172
- return new requests_1.CheckSignInStatusSuccessResponse(response.data);
1165
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.CheckIfSignedInRoute()}`, payload);
1166
+ return new CheckSignInStatusSuccessResponse(response.data);
1173
1167
  }
1174
1168
  catch (error) {
1175
1169
  await this.handleApiError(error);
@@ -1184,7 +1178,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1184
1178
  return "object" === typeof input && null !== input && true;
1185
1179
  };
1186
1180
  if (false === __is(input)) {
1187
- const $report = typia_1.default.validate.report(errors);
1181
+ const $report = typia.validate.report(errors);
1188
1182
  ((input, _path, _exceptionable = true) => {
1189
1183
  const $vo0 = (input, _path, _exceptionable = true) => true;
1190
1184
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
@@ -1208,8 +1202,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1208
1202
  if (!validateRes.success) {
1209
1203
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
1210
1204
  }
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);
1205
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetBrowseCollectionsRoute()}`, payload);
1206
+ return new GetBrowseCollectionsSuccessResponse(response.data).convert(this.ConvertFunction);
1213
1207
  }
1214
1208
  catch (error) {
1215
1209
  await this.handleApiError(error);
@@ -1218,8 +1212,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1218
1212
  }
1219
1213
  async broadcastTx(payload) {
1220
1214
  try {
1221
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.BroadcastTxRoute()}`, payload);
1222
- return new requests_1.BroadcastTxSuccessResponse(response.data);
1215
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.BroadcastTxRoute()}`, payload);
1216
+ return new BroadcastTxSuccessResponse(response.data);
1223
1217
  }
1224
1218
  catch (error) {
1225
1219
  await this.handleApiError(error);
@@ -1228,8 +1222,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1228
1222
  }
1229
1223
  async simulateTx(payload) {
1230
1224
  try {
1231
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.SimulateTxRoute()}`, payload);
1232
- return new requests_1.SimulateTxSuccessResponse(response.data);
1225
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.SimulateTxRoute()}`, payload);
1226
+ return new SimulateTxSuccessResponse(response.data);
1233
1227
  }
1234
1228
  catch (error) {
1235
1229
  await this.handleApiError(error);
@@ -1237,16 +1231,16 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1237
1231
  }
1238
1232
  }
1239
1233
  async createAddressLists(payload) {
1240
- return await BitBadgesAddressList_1.BitBadgesAddressList.CreateAddressList(this, payload);
1234
+ return await BitBadgesAddressList.CreateAddressList(this, payload);
1241
1235
  }
1242
1236
  async updateAddressLists(payload) {
1243
- return await BitBadgesAddressList_1.BitBadgesAddressList.UpdateAddressList(this, payload);
1237
+ return await BitBadgesAddressList.UpdateAddressList(this, payload);
1244
1238
  }
1245
1239
  async getAddressLists(payload) {
1246
- return await BitBadgesAddressList_1.BitBadgesAddressList.GetAddressLists(this, payload);
1240
+ return await BitBadgesAddressList.GetAddressLists(this, payload);
1247
1241
  }
1248
1242
  async deleteAddressLists(payload) {
1249
- return await BitBadgesAddressList_1.BitBadgesAddressList.DeleteAddressList(this, payload);
1243
+ return await BitBadgesAddressList.DeleteAddressList(this, payload);
1250
1244
  }
1251
1245
  async exchangeSIWBBAuthorizationCode(payload) {
1252
1246
  try {
@@ -1254,7 +1248,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1254
1248
  const errors = [];
1255
1249
  const __is = input => {
1256
1250
  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);
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);
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);
1258
1252
  const $io2 = input => Array.isArray(input.$and) && input.$and.every(elem => "object" === typeof elem && null !== elem && $iu0(elem));
1259
1253
  const $io3 = input => Array.isArray(input.$or) && input.$or.every(elem => "object" === typeof elem && null !== elem && $iu0(elem));
1260
1254
  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));
@@ -1274,7 +1268,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1274
1268
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
1275
1269
  };
1276
1270
  if (false === __is(input)) {
1277
- const $report = typia_1.default.validate.report(errors);
1271
+ const $report = typia.validate.report(errors);
1278
1272
  ((input, _path, _exceptionable = true) => {
1279
1273
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.code || "string" === typeof input.code || $report(_exceptionable, {
1280
1274
  path: _path + ".code",
@@ -1319,15 +1313,15 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1319
1313
  value: input.ownershipRequirements
1320
1314
  }), undefined === input.otherSignIns || (Array.isArray(input.otherSignIns) || $report(_exceptionable, {
1321
1315
  path: _path + ".otherSignIns",
1322
- expected: "(Array<\"discord\" | \"twitter\" | \"github\" | \"google\"> | undefined)",
1316
+ expected: "(Array<\"discord\" | \"github\" | \"google\" | \"twitter\"> | undefined)",
1323
1317
  value: input.otherSignIns
1324
- })) && input.otherSignIns.map((elem, _index1) => "discord" === elem || "twitter" === elem || "github" === elem || "google" === elem || $report(_exceptionable, {
1318
+ })) && input.otherSignIns.map((elem, _index1) => "discord" === elem || "github" === elem || "google" === elem || "twitter" === elem || $report(_exceptionable, {
1325
1319
  path: _path + ".otherSignIns[" + _index1 + "]",
1326
1320
  expected: "(\"discord\" | \"github\" | \"google\" | \"twitter\")",
1327
1321
  value: elem
1328
1322
  })).every(flag => flag) || $report(_exceptionable, {
1329
1323
  path: _path + ".otherSignIns",
1330
- expected: "(Array<\"discord\" | \"twitter\" | \"github\" | \"google\"> | undefined)",
1324
+ expected: "(Array<\"discord\" | \"github\" | \"google\" | \"twitter\"> | undefined)",
1331
1325
  value: input.otherSignIns
1332
1326
  }), undefined === input.issuedAtTimeWindowMs || "number" === typeof input.issuedAtTimeWindowMs || $report(_exceptionable, {
1333
1327
  path: _path + ".issuedAtTimeWindowMs",
@@ -1507,8 +1501,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1507
1501
  if (!validateRes.success) {
1508
1502
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
1509
1503
  }
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);
1504
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.ExchangeSIWBBAuthorizationCodesRoute()}`, payload);
1505
+ return new ExchangeSIWBBAuthorizationCodeSuccessResponse(response.data).convert(this.ConvertFunction);
1512
1506
  }
1513
1507
  catch (error) {
1514
1508
  await this.handleApiError(error);
@@ -1524,7 +1518,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1524
1518
  return "object" === typeof input && null !== input && $io0(input);
1525
1519
  };
1526
1520
  if (false === __is(input)) {
1527
- const $report = typia_1.default.validate.report(errors);
1521
+ const $report = typia.validate.report(errors);
1528
1522
  ((input, _path, _exceptionable = true) => {
1529
1523
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.bookmark || "string" === typeof input.bookmark || $report(_exceptionable, {
1530
1524
  path: _path + ".bookmark",
@@ -1556,8 +1550,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1556
1550
  if (!validateRes.success) {
1557
1551
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
1558
1552
  }
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);
1553
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetSIWBBRequestsForDeveloperAppRoute()}`, payload);
1554
+ return new GetSIWBBRequestsForDeveloperAppSuccessResponse(response.data).convert(this.ConvertFunction);
1561
1555
  }
1562
1556
  catch (error) {
1563
1557
  await this.handleApiError(error);
@@ -1569,7 +1563,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1569
1563
  const validateRes = (input => {
1570
1564
  const errors = [];
1571
1565
  const __is = input => {
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);
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);
1573
1567
  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));
1574
1568
  const $io2 = input => true;
1575
1569
  const $io3 = input => Array.isArray(input.$and) && input.$and.every(elem => "object" === typeof elem && null !== elem && $iu0(elem));
@@ -1596,7 +1590,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1596
1590
  return "object" === typeof input && null !== input && $io0(input);
1597
1591
  };
1598
1592
  if (false === __is(input)) {
1599
- const $report = typia_1.default.validate.report(errors);
1593
+ const $report = typia.validate.report(errors);
1600
1594
  ((input, _path, _exceptionable = true) => {
1601
1595
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.response_type || $report(_exceptionable, {
1602
1596
  path: _path + ".response_type",
@@ -1660,15 +1654,15 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
1660
1654
  value: input.client_id
1661
1655
  }), undefined === input.otherSignIns || (Array.isArray(input.otherSignIns) || $report(_exceptionable, {
1662
1656
  path: _path + ".otherSignIns",
1663
- expected: "(Array<\"discord\" | \"twitter\" | \"github\" | \"google\"> | undefined)",
1657
+ expected: "(Array<\"discord\" | \"github\" | \"google\" | \"twitter\"> | undefined)",
1664
1658
  value: input.otherSignIns
1665
- })) && input.otherSignIns.map((elem, _index3) => "discord" === elem || "twitter" === elem || "github" === elem || "google" === elem || $report(_exceptionable, {
1659
+ })) && input.otherSignIns.map((elem, _index3) => "discord" === elem || "github" === elem || "google" === elem || "twitter" === elem || $report(_exceptionable, {
1666
1660
  path: _path + ".otherSignIns[" + _index3 + "]",
1667
1661
  expected: "(\"discord\" | \"github\" | \"google\" | \"twitter\")",
1668
1662
  value: elem
1669
1663
  })).every(flag => flag) || $report(_exceptionable, {
1670
1664
  path: _path + ".otherSignIns",
1671
- expected: "(Array<\"discord\" | \"twitter\" | \"github\" | \"google\"> | undefined)",
1665
+ expected: "(Array<\"discord\" | \"github\" | \"google\" | \"twitter\"> | undefined)",
1672
1666
  value: input.otherSignIns
1673
1667
  }), undefined === input.redirect_uri || "string" === typeof input.redirect_uri || $report(_exceptionable, {
1674
1668
  path: _path + ".redirect_uri",
@@ -2019,8 +2013,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
2019
2013
  if (!validateRes.success) {
2020
2014
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
2021
2015
  }
2022
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDSIWBBRequestRoute()}`, payload);
2023
- return new requests_1.CreateSIWBBRequestSuccessResponse(response.data);
2016
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDSIWBBRequestRoute()}`, payload);
2017
+ return new CreateSIWBBRequestSuccessResponse(response.data);
2024
2018
  }
2025
2019
  catch (error) {
2026
2020
  await this.handleApiError(error);
@@ -2035,7 +2029,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
2035
2029
  return "object" === typeof input && null !== input && "string" === typeof input.code;
2036
2030
  };
2037
2031
  if (false === __is(input)) {
2038
- const $report = typia_1.default.validate.report(errors);
2032
+ const $report = typia.validate.report(errors);
2039
2033
  ((input, _path, _exceptionable = true) => {
2040
2034
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.code || $report(_exceptionable, {
2041
2035
  path: _path + ".code",
@@ -2063,8 +2057,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
2063
2057
  if (!validateRes.success) {
2064
2058
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
2065
2059
  }
2066
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.RotateSIWBBRequestRoute()}`, payload);
2067
- return new requests_1.RotateSIWBBRequestSuccessResponse(response.data);
2060
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.RotateSIWBBRequestRoute()}`, payload);
2061
+ return new RotateSIWBBRequestSuccessResponse(response.data);
2068
2062
  }
2069
2063
  catch (error) {
2070
2064
  await this.handleApiError(error);
@@ -2079,7 +2073,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
2079
2073
  return "object" === typeof input && null !== input && "string" === typeof input.code;
2080
2074
  };
2081
2075
  if (false === __is(input)) {
2082
- const $report = typia_1.default.validate.report(errors);
2076
+ const $report = typia.validate.report(errors);
2083
2077
  ((input, _path, _exceptionable = true) => {
2084
2078
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.code || $report(_exceptionable, {
2085
2079
  path: _path + ".code",
@@ -2107,8 +2101,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
2107
2101
  if (!validateRes.success) {
2108
2102
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
2109
2103
  }
2110
- const response = await this.axios.delete(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDSIWBBRequestRoute()}`, { data: payload });
2111
- return new requests_1.DeleteSIWBBRequestSuccessResponse(response.data);
2104
+ const response = await this.axios.delete(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDSIWBBRequestRoute()}`, { data: payload });
2105
+ return new DeleteSIWBBRequestSuccessResponse(response.data);
2112
2106
  }
2113
2107
  catch (error) {
2114
2108
  await this.handleApiError(error);
@@ -2148,7 +2142,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
2148
2142
  return "object" === typeof input && null !== input && $io0(input);
2149
2143
  };
2150
2144
  if (false === __is(input)) {
2151
- const $report = typia_1.default.validate.report(errors);
2145
+ const $report = typia.validate.report(errors);
2152
2146
  ((input, _path, _exceptionable = true) => {
2153
2147
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.options || ("object" === typeof input.options && null !== input.options && false === Array.isArray(input.options) || $report(_exceptionable, {
2154
2148
  path: _path + ".options",
@@ -2620,8 +2614,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
2620
2614
  if (!validateRes.success) {
2621
2615
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
2622
2616
  }
2623
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GenericVerifyRoute()}`, payload);
2624
- return new requests_1.GenericBlockinVerifySuccessResponse(response.data);
2617
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GenericVerifyRoute()}`, payload);
2618
+ return new GenericBlockinVerifySuccessResponse(response.data);
2625
2619
  }
2626
2620
  catch (error) {
2627
2621
  await this.handleApiError(error);
@@ -2653,7 +2647,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
2653
2647
  return "object" === typeof input && null !== input && $io0(input);
2654
2648
  };
2655
2649
  if (false === __is(input)) {
2656
- const $report = typia_1.default.validate.report(errors);
2650
+ const $report = typia.validate.report(errors);
2657
2651
  ((input, _path, _exceptionable = true) => {
2658
2652
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.address || $report(_exceptionable, {
2659
2653
  path: _path + ".address",
@@ -2837,8 +2831,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
2837
2831
  if (!validateRes.success) {
2838
2832
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
2839
2833
  }
2840
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GenericVerifyAssetsRoute()}`, payload);
2841
- return new requests_1.GenericVerifyAssetsSuccessResponse(response.data);
2834
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GenericVerifyAssetsRoute()}`, payload);
2835
+ return new GenericVerifyAssetsSuccessResponse(response.data);
2842
2836
  }
2843
2837
  catch (error) {
2844
2838
  await this.handleApiError(error);
@@ -2855,7 +2849,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
2855
2849
  return "object" === typeof input && null !== input && $io0(input);
2856
2850
  };
2857
2851
  if (false === __is(input)) {
2858
- const $report = typia_1.default.validate.report(errors);
2852
+ const $report = typia.validate.report(errors);
2859
2853
  ((input, _path, _exceptionable = true) => {
2860
2854
  const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.claimAlerts) || $report(_exceptionable, {
2861
2855
  path: _path + ".claimAlerts",
@@ -2916,8 +2910,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
2916
2910
  if (!validateRes.success) {
2917
2911
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
2918
2912
  }
2919
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.SendClaimAlertRoute()}`, payload);
2920
- return new requests_1.SendClaimAlertsSuccessResponse(response.data);
2913
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.SendClaimAlertRoute()}`, payload);
2914
+ return new SendClaimAlertsSuccessResponse(response.data);
2921
2915
  }
2922
2916
  catch (error) {
2923
2917
  await this.handleApiError(error);
@@ -2933,7 +2927,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
2933
2927
  return "object" === typeof input && null !== input && $io0(input);
2934
2928
  };
2935
2929
  if (false === __is(input)) {
2936
- const $report = typia_1.default.validate.report(errors);
2930
+ const $report = typia.validate.report(errors);
2937
2931
  ((input, _path, _exceptionable = true) => {
2938
2932
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.collectionId || "number" === typeof input.collectionId || "bigint" === typeof input.collectionId || $report(_exceptionable, {
2939
2933
  path: _path + ".collectionId",
@@ -2965,8 +2959,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
2965
2959
  if (!validateRes.success) {
2966
2960
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
2967
2961
  }
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);
2962
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetClaimAlertsRoute()}`, payload);
2963
+ return new GetClaimAlertsForCollectionSuccessResponse(response.data).convert(this.ConvertFunction);
2970
2964
  }
2971
2965
  catch (error) {
2972
2966
  await this.handleApiError(error);
@@ -2974,7 +2968,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
2974
2968
  }
2975
2969
  }
2976
2970
  async getRefreshStatus(collectionId) {
2977
- return await BitBadgesCollection_1.BitBadgesCollection.GetRefreshStatus(this, collectionId);
2971
+ return await BitBadgesCollection.GetRefreshStatus(this, collectionId);
2978
2972
  }
2979
2973
  async getMaps(payload) {
2980
2974
  try {
@@ -2985,7 +2979,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
2985
2979
  return "object" === typeof input && null !== input && $io0(input);
2986
2980
  };
2987
2981
  if (false === __is(input)) {
2988
- const $report = typia_1.default.validate.report(errors);
2982
+ const $report = typia.validate.report(errors);
2989
2983
  ((input, _path, _exceptionable = true) => {
2990
2984
  const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.mapIds) || $report(_exceptionable, {
2991
2985
  path: _path + ".mapIds",
@@ -3021,8 +3015,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3021
3015
  if (!validateRes.success) {
3022
3016
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
3023
3017
  }
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);
3018
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetMapsRoute()}`, payload);
3019
+ return new GetMapsSuccessResponse(response.data).convert(this.ConvertFunction);
3026
3020
  }
3027
3021
  catch (error) {
3028
3022
  await this.handleApiError(error);
@@ -3039,7 +3033,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3039
3033
  return "object" === typeof input && null !== input && $io0(input);
3040
3034
  };
3041
3035
  if (false === __is(input)) {
3042
- const $report = typia_1.default.validate.report(errors);
3036
+ const $report = typia.validate.report(errors);
3043
3037
  ((input, _path, _exceptionable = true) => {
3044
3038
  const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.valuesToFetch) || $report(_exceptionable, {
3045
3039
  path: _path + ".valuesToFetch",
@@ -3096,8 +3090,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3096
3090
  if (!validateRes.success) {
3097
3091
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
3098
3092
  }
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);
3093
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetMapValuesRoute()}`, payload);
3094
+ return new GetMapValuesSuccessResponse(response.data).convert(this.ConvertFunction);
3101
3095
  }
3102
3096
  catch (error) {
3103
3097
  await this.handleApiError(error);
@@ -3105,7 +3099,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3105
3099
  }
3106
3100
  }
3107
3101
  async filterBadgesInCollection(collectionId, payload) {
3108
- return await BitBadgesCollection_1.BitBadgesCollection.FilterBadgesInCollection(this, collectionId, payload);
3102
+ return await BitBadgesCollection.FilterBadgesInCollection(this, collectionId, payload);
3109
3103
  }
3110
3104
  async filterSuggestions(collectionId, payload) {
3111
3105
  try {
@@ -3115,7 +3109,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3115
3109
  return "object" === typeof input && null !== input && true;
3116
3110
  };
3117
3111
  if (false === __is(input)) {
3118
- const $report = typia_1.default.validate.report(errors);
3112
+ const $report = typia.validate.report(errors);
3119
3113
  ((input, _path, _exceptionable = true) => {
3120
3114
  const $vo0 = (input, _path, _exceptionable = true) => true;
3121
3115
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
@@ -3139,8 +3133,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3139
3133
  if (!validateRes.success) {
3140
3134
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
3141
3135
  }
3142
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.FilterSuggestionsRoute(collectionId)}`, payload);
3143
- return new collections_1.FilterSuggestionsSuccessResponse(response.data);
3136
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.FilterSuggestionsRoute(collectionId)}`, payload);
3137
+ return new FilterSuggestionsSuccessResponse(response.data);
3144
3138
  }
3145
3139
  catch (error) {
3146
3140
  await this.handleApiError(error);
@@ -3156,7 +3150,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3156
3150
  return "object" === typeof input && null !== input && $io0(input);
3157
3151
  };
3158
3152
  if (false === __is(input)) {
3159
- const $report = typia_1.default.validate.report(errors);
3153
+ const $report = typia.validate.report(errors);
3160
3154
  ((input, _path, _exceptionable = true) => {
3161
3155
  const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.claimIds) || $report(_exceptionable, {
3162
3156
  path: _path + ".claimIds",
@@ -3196,8 +3190,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3196
3190
  if (!validateRes.success) {
3197
3191
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
3198
3192
  }
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);
3193
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetClaimsRoute()}`, payload);
3194
+ return new GetClaimsSuccessResponse(response.data).convert(this.ConvertFunction);
3201
3195
  }
3202
3196
  catch (error) {
3203
3197
  await this.handleApiError(error);
@@ -3213,7 +3207,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3213
3207
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
3214
3208
  };
3215
3209
  if (false === __is(input)) {
3216
- const $report = typia_1.default.validate.report(errors);
3210
+ const $report = typia.validate.report(errors);
3217
3211
  ((input, _path, _exceptionable = true) => {
3218
3212
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.addKey || "string" === typeof input.addKey || $report(_exceptionable, {
3219
3213
  path: _path + ".addKey",
@@ -3245,8 +3239,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3245
3239
  if (!validateRes.success) {
3246
3240
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
3247
3241
  }
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);
3242
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetAttestationsRoute()}`, payload);
3243
+ return new GetAttestationSuccessResponse(response.data).convert(this.ConvertFunction);
3250
3244
  }
3251
3245
  catch (error) {
3252
3246
  await this.handleApiError(error);
@@ -3264,7 +3258,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3264
3258
  return "object" === typeof input && null !== input && $io0(input);
3265
3259
  };
3266
3260
  if (false === __is(input)) {
3267
- const $report = typia_1.default.validate.report(errors);
3261
+ const $report = typia.validate.report(errors);
3268
3262
  ((input, _path, _exceptionable = true) => {
3269
3263
  const $vo0 = (input, _path, _exceptionable = true) => [("object" === typeof input.proofOfIssuance && null !== input.proofOfIssuance || $report(_exceptionable, {
3270
3264
  path: _path + ".proofOfIssuance",
@@ -3370,8 +3364,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3370
3364
  if (!validateRes.success) {
3371
3365
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
3372
3366
  }
3373
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDAttestationRoute()}`, payload);
3374
- return new requests_1.CreateAttestationSuccessResponse(response.data);
3367
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDAttestationRoute()}`, payload);
3368
+ return new CreateAttestationSuccessResponse(response.data);
3375
3369
  }
3376
3370
  catch (error) {
3377
3371
  await this.handleApiError(error);
@@ -3386,7 +3380,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3386
3380
  return "object" === typeof input && null !== input && "string" === typeof input.attestationId;
3387
3381
  };
3388
3382
  if (false === __is(input)) {
3389
- const $report = typia_1.default.validate.report(errors);
3383
+ const $report = typia.validate.report(errors);
3390
3384
  ((input, _path, _exceptionable = true) => {
3391
3385
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.attestationId || $report(_exceptionable, {
3392
3386
  path: _path + ".attestationId",
@@ -3414,10 +3408,10 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3414
3408
  if (!validateRes.success) {
3415
3409
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
3416
3410
  }
3417
- const response = await this.axios.delete(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDAttestationRoute()}`, {
3411
+ const response = await this.axios.delete(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDAttestationRoute()}`, {
3418
3412
  data: payload
3419
3413
  });
3420
- return new requests_1.DeleteAttestationSuccessResponse(response.data);
3414
+ return new DeleteAttestationSuccessResponse(response.data);
3421
3415
  }
3422
3416
  catch (error) {
3423
3417
  await this.handleApiError(error);
@@ -3437,7 +3431,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3437
3431
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
3438
3432
  };
3439
3433
  if (false === __is(input)) {
3440
- const $report = typia_1.default.validate.report(errors);
3434
+ const $report = typia.validate.report(errors);
3441
3435
  ((input, _path, _exceptionable = true) => {
3442
3436
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.attestationId || "string" === typeof input.attestationId || $report(_exceptionable, {
3443
3437
  path: _path + ".attestationId",
@@ -3605,8 +3599,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3605
3599
  if (!validateRes.success) {
3606
3600
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
3607
3601
  }
3608
- const response = await this.axios.put(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDAttestationRoute()}`, payload);
3609
- return new requests_1.UpdateAttestationSuccessResponse(response.data);
3602
+ const response = await this.axios.put(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDAttestationRoute()}`, payload);
3603
+ return new UpdateAttestationSuccessResponse(response.data);
3610
3604
  }
3611
3605
  catch (error) {
3612
3606
  await this.handleApiError(error);
@@ -3619,30 +3613,30 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3619
3613
  const errors = [];
3620
3614
  const __is = input => {
3621
3615
  const $io0 = input => Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
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 => {
3616
+ 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)) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.seedCode || "string" === typeof input.seedCode) && (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)));
3617
+ 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);
3618
+ const $io3 = input => Object.keys(input).every(key => {
3630
3619
  const value = input[key];
3631
3620
  if (undefined === value)
3632
3621
  return true;
3633
3622
  return "string" === typeof value;
3634
3623
  });
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);
3624
+ const $io4 = input => "string" === typeof input.host && "string" === typeof input.assignMethod;
3625
+ const $io5 = input => (undefined === input.type || "url" === input.type || "date" === input.type) && "string" === typeof input.name && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value);
3626
+ 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));
3627
+ const $io7 = input => Array.isArray(input.balances) && input.balances.every(elem => "object" === typeof elem && null !== elem && $io8(elem));
3628
+ 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)));
3629
+ 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);
3630
+ 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);
3637
3631
  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);
3638
3632
  const $io13 = input => "string" === typeof input.name && "string" === typeof input.description;
3639
3633
  const $io14 = input => true;
3640
3634
  return "object" === typeof input && null !== input && $io0(input);
3641
3635
  };
3642
3636
  if (false === __is(input)) {
3643
- const $report = typia_1.default.validate.report(errors);
3637
+ const $report = typia.validate.report(errors);
3644
3638
  ((input, _path, _exceptionable = true) => {
3645
- const $join = typia_1.default.validate.join;
3639
+ const $join = typia.validate.join;
3646
3640
  const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.claims) || $report(_exceptionable, {
3647
3641
  path: _path + ".claims",
3648
3642
  expected: "Array<CreateClaimRequest<NumberType>>",
@@ -3660,10 +3654,14 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3660
3654
  expected: "Array<CreateClaimRequest<NumberType>>",
3661
3655
  value: input.claims
3662
3656
  })].every(flag => flag);
3663
- const $vo1 = (input, _path, _exceptionable = true) => [undefined === input.seedCode || "string" === typeof input.seedCode || $report(_exceptionable, {
3664
- path: _path + ".seedCode",
3665
- expected: "(string | undefined)",
3666
- value: input.seedCode
3657
+ const $vo1 = (input, _path, _exceptionable = true) => [undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
3658
+ path: _path + ".metadata",
3659
+ expected: "(iMetadata<NumberType> | undefined)",
3660
+ value: input.metadata
3661
+ })) && $vo2(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
3662
+ path: _path + ".metadata",
3663
+ expected: "(iMetadata<NumberType> | undefined)",
3664
+ value: input.metadata
3667
3665
  }), "string" === typeof input.claimId || $report(_exceptionable, {
3668
3666
  path: _path + ".claimId",
3669
3667
  expected: "string",
@@ -3672,7 +3670,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3672
3670
  path: _path + ".balancesToSet",
3673
3671
  expected: "(iPredeterminedBalances<NumberType> | undefined)",
3674
3672
  value: input.balancesToSet
3675
- })) && $vo2(input.balancesToSet, _path + ".balancesToSet", true && _exceptionable) || $report(_exceptionable, {
3673
+ })) && $vo6(input.balancesToSet, _path + ".balancesToSet", true && _exceptionable) || $report(_exceptionable, {
3676
3674
  path: _path + ".balancesToSet",
3677
3675
  expected: "(iPredeterminedBalances<NumberType> | undefined)",
3678
3676
  value: input.balancesToSet
@@ -3684,14 +3682,10 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3684
3682
  path: _path + ".approach",
3685
3683
  expected: "(string | undefined)",
3686
3684
  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
+ }), undefined === input.seedCode || "string" === typeof input.seedCode || $report(_exceptionable, {
3686
+ path: _path + ".seedCode",
3687
+ expected: "(string | undefined)",
3688
+ value: input.seedCode
3695
3689
  }), undefined === input.assignMethod || "string" === typeof input.assignMethod || $report(_exceptionable, {
3696
3690
  path: _path + ".assignMethod",
3697
3691
  expected: "(string | undefined)",
@@ -3725,16 +3719,129 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3725
3719
  expected: "Array<ManagePluginRequest>",
3726
3720
  value: input.plugins
3727
3721
  })].every(flag => flag);
3728
- const $vo2 = (input, _path, _exceptionable = true) => [(Array.isArray(input.manualBalances) || $report(_exceptionable, {
3722
+ const $vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
3723
+ path: _path + ".name",
3724
+ expected: "string",
3725
+ value: input.name
3726
+ }), "string" === typeof input.description || $report(_exceptionable, {
3727
+ path: _path + ".description",
3728
+ expected: "string",
3729
+ value: input.description
3730
+ }), "string" === typeof input.image || $report(_exceptionable, {
3731
+ path: _path + ".image",
3732
+ expected: "string",
3733
+ value: input.image
3734
+ }), undefined === input.video || "string" === typeof input.video || $report(_exceptionable, {
3735
+ path: _path + ".video",
3736
+ expected: "(string | undefined)",
3737
+ value: input.video
3738
+ }), undefined === input.category || "string" === typeof input.category || $report(_exceptionable, {
3739
+ path: _path + ".category",
3740
+ expected: "(string | undefined)",
3741
+ value: input.category
3742
+ }), undefined === input.externalUrl || "string" === typeof input.externalUrl || $report(_exceptionable, {
3743
+ path: _path + ".externalUrl",
3744
+ expected: "(string | undefined)",
3745
+ value: input.externalUrl
3746
+ }), undefined === input.tags || (Array.isArray(input.tags) || $report(_exceptionable, {
3747
+ path: _path + ".tags",
3748
+ expected: "(Array<string> | undefined)",
3749
+ value: input.tags
3750
+ })) && input.tags.map((elem, _index3) => "string" === typeof elem || $report(_exceptionable, {
3751
+ path: _path + ".tags[" + _index3 + "]",
3752
+ expected: "string",
3753
+ value: elem
3754
+ })).every(flag => flag) || $report(_exceptionable, {
3755
+ path: _path + ".tags",
3756
+ expected: "(Array<string> | undefined)",
3757
+ value: input.tags
3758
+ }), undefined === input.socials || ("object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) || $report(_exceptionable, {
3759
+ path: _path + ".socials",
3760
+ expected: "(__type | undefined)",
3761
+ value: input.socials
3762
+ })) && $vo3(input.socials, _path + ".socials", true && _exceptionable) || $report(_exceptionable, {
3763
+ path: _path + ".socials",
3764
+ expected: "(__type | undefined)",
3765
+ value: input.socials
3766
+ }), undefined === input.offChainTransferabilityInfo || ("object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo || $report(_exceptionable, {
3767
+ path: _path + ".offChainTransferabilityInfo",
3768
+ expected: "(__type.o1 | undefined)",
3769
+ value: input.offChainTransferabilityInfo
3770
+ })) && $vo4(input.offChainTransferabilityInfo, _path + ".offChainTransferabilityInfo", true && _exceptionable) || $report(_exceptionable, {
3771
+ path: _path + ".offChainTransferabilityInfo",
3772
+ expected: "(__type.o1 | undefined)",
3773
+ value: input.offChainTransferabilityInfo
3774
+ }), undefined === input.attributes || (Array.isArray(input.attributes) || $report(_exceptionable, {
3775
+ path: _path + ".attributes",
3776
+ expected: "(Array<__type> | undefined)",
3777
+ value: input.attributes
3778
+ })) && input.attributes.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3779
+ path: _path + ".attributes[" + _index4 + "]",
3780
+ expected: "__type.o2",
3781
+ value: elem
3782
+ })) && $vo5(elem, _path + ".attributes[" + _index4 + "]", true && _exceptionable) || $report(_exceptionable, {
3783
+ path: _path + ".attributes[" + _index4 + "]",
3784
+ expected: "__type.o2",
3785
+ value: elem
3786
+ })).every(flag => flag) || $report(_exceptionable, {
3787
+ path: _path + ".attributes",
3788
+ expected: "(Array<__type> | undefined)",
3789
+ value: input.attributes
3790
+ }), undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock || $report(_exceptionable, {
3791
+ path: _path + ".fetchedAtBlock",
3792
+ expected: "(bigint | number | string | undefined)",
3793
+ value: input.fetchedAtBlock
3794
+ }), undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt || $report(_exceptionable, {
3795
+ path: _path + ".fetchedAt",
3796
+ expected: "(bigint | number | string | undefined)",
3797
+ value: input.fetchedAt
3798
+ }), undefined === input._isUpdating || "boolean" === typeof input._isUpdating || $report(_exceptionable, {
3799
+ path: _path + "._isUpdating",
3800
+ expected: "(boolean | undefined)",
3801
+ value: input._isUpdating
3802
+ })].every(flag => flag);
3803
+ const $vo3 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
3804
+ const value = input[key];
3805
+ if (undefined === value)
3806
+ return true;
3807
+ return "string" === typeof value || $report(_exceptionable, {
3808
+ path: _path + $join(key),
3809
+ expected: "string",
3810
+ value: value
3811
+ });
3812
+ }).every(flag => flag)].every(flag => flag);
3813
+ const $vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || $report(_exceptionable, {
3814
+ path: _path + ".host",
3815
+ expected: "string",
3816
+ value: input.host
3817
+ }), "string" === typeof input.assignMethod || $report(_exceptionable, {
3818
+ path: _path + ".assignMethod",
3819
+ expected: "string",
3820
+ value: input.assignMethod
3821
+ })].every(flag => flag);
3822
+ const $vo5 = (input, _path, _exceptionable = true) => [undefined === input.type || "url" === input.type || "date" === input.type || $report(_exceptionable, {
3823
+ path: _path + ".type",
3824
+ expected: "(\"date\" | \"url\" | undefined)",
3825
+ value: input.type
3826
+ }), "string" === typeof input.name || $report(_exceptionable, {
3827
+ path: _path + ".name",
3828
+ expected: "string",
3829
+ value: input.name
3830
+ }), "string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value || $report(_exceptionable, {
3831
+ path: _path + ".value",
3832
+ expected: "(boolean | number | string)",
3833
+ value: input.value
3834
+ })].every(flag => flag);
3835
+ const $vo6 = (input, _path, _exceptionable = true) => [(Array.isArray(input.manualBalances) || $report(_exceptionable, {
3729
3836
  path: _path + ".manualBalances",
3730
3837
  expected: "Array<iManualBalances<NumberType>>",
3731
3838
  value: input.manualBalances
3732
- })) && input.manualBalances.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3733
- path: _path + ".manualBalances[" + _index3 + "]",
3839
+ })) && input.manualBalances.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3840
+ path: _path + ".manualBalances[" + _index5 + "]",
3734
3841
  expected: "iManualBalances<NumberType>",
3735
3842
  value: elem
3736
- })) && $vo3(elem, _path + ".manualBalances[" + _index3 + "]", true && _exceptionable) || $report(_exceptionable, {
3737
- path: _path + ".manualBalances[" + _index3 + "]",
3843
+ })) && $vo7(elem, _path + ".manualBalances[" + _index5 + "]", true && _exceptionable) || $report(_exceptionable, {
3844
+ path: _path + ".manualBalances[" + _index5 + "]",
3738
3845
  expected: "iManualBalances<NumberType>",
3739
3846
  value: elem
3740
3847
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3745,7 +3852,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3745
3852
  path: _path + ".incrementedBalances",
3746
3853
  expected: "iIncrementedBalances<NumberType>",
3747
3854
  value: input.incrementedBalances
3748
- })) && $vo6(input.incrementedBalances, _path + ".incrementedBalances", true && _exceptionable) || $report(_exceptionable, {
3855
+ })) && $vo10(input.incrementedBalances, _path + ".incrementedBalances", true && _exceptionable) || $report(_exceptionable, {
3749
3856
  path: _path + ".incrementedBalances",
3750
3857
  expected: "iIncrementedBalances<NumberType>",
3751
3858
  value: input.incrementedBalances
@@ -3753,21 +3860,21 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3753
3860
  path: _path + ".orderCalculationMethod",
3754
3861
  expected: "iPredeterminedOrderCalculationMethod",
3755
3862
  value: input.orderCalculationMethod
3756
- })) && $vo7(input.orderCalculationMethod, _path + ".orderCalculationMethod", true && _exceptionable) || $report(_exceptionable, {
3863
+ })) && $vo11(input.orderCalculationMethod, _path + ".orderCalculationMethod", true && _exceptionable) || $report(_exceptionable, {
3757
3864
  path: _path + ".orderCalculationMethod",
3758
3865
  expected: "iPredeterminedOrderCalculationMethod",
3759
3866
  value: input.orderCalculationMethod
3760
3867
  })].every(flag => flag);
3761
- const $vo3 = (input, _path, _exceptionable = true) => [(Array.isArray(input.balances) || $report(_exceptionable, {
3868
+ const $vo7 = (input, _path, _exceptionable = true) => [(Array.isArray(input.balances) || $report(_exceptionable, {
3762
3869
  path: _path + ".balances",
3763
3870
  expected: "Array<iBalance<NumberType>>",
3764
3871
  value: input.balances
3765
- })) && input.balances.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3766
- path: _path + ".balances[" + _index4 + "]",
3872
+ })) && input.balances.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3873
+ path: _path + ".balances[" + _index6 + "]",
3767
3874
  expected: "iBalance<NumberType>",
3768
3875
  value: elem
3769
- })) && $vo4(elem, _path + ".balances[" + _index4 + "]", true && _exceptionable) || $report(_exceptionable, {
3770
- path: _path + ".balances[" + _index4 + "]",
3876
+ })) && $vo8(elem, _path + ".balances[" + _index6 + "]", true && _exceptionable) || $report(_exceptionable, {
3877
+ path: _path + ".balances[" + _index6 + "]",
3771
3878
  expected: "iBalance<NumberType>",
3772
3879
  value: elem
3773
3880
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3775,7 +3882,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3775
3882
  expected: "Array<iBalance<NumberType>>",
3776
3883
  value: input.balances
3777
3884
  })].every(flag => flag);
3778
- const $vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount || $report(_exceptionable, {
3885
+ const $vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount || $report(_exceptionable, {
3779
3886
  path: _path + ".amount",
3780
3887
  expected: "(bigint | number | string)",
3781
3888
  value: input.amount
@@ -3783,12 +3890,12 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3783
3890
  path: _path + ".badgeIds",
3784
3891
  expected: "Array<iUintRange<NumberType>>",
3785
3892
  value: input.badgeIds
3786
- })) && input.badgeIds.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3787
- path: _path + ".badgeIds[" + _index5 + "]",
3893
+ })) && input.badgeIds.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3894
+ path: _path + ".badgeIds[" + _index7 + "]",
3788
3895
  expected: "iUintRange<NumberType>",
3789
3896
  value: elem
3790
- })) && $vo5(elem, _path + ".badgeIds[" + _index5 + "]", true && _exceptionable) || $report(_exceptionable, {
3791
- path: _path + ".badgeIds[" + _index5 + "]",
3897
+ })) && $vo9(elem, _path + ".badgeIds[" + _index7 + "]", true && _exceptionable) || $report(_exceptionable, {
3898
+ path: _path + ".badgeIds[" + _index7 + "]",
3792
3899
  expected: "iUintRange<NumberType>",
3793
3900
  value: elem
3794
3901
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3799,12 +3906,12 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3799
3906
  path: _path + ".ownershipTimes",
3800
3907
  expected: "Array<iUintRange<NumberType>>",
3801
3908
  value: input.ownershipTimes
3802
- })) && input.ownershipTimes.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3803
- path: _path + ".ownershipTimes[" + _index6 + "]",
3909
+ })) && input.ownershipTimes.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3910
+ path: _path + ".ownershipTimes[" + _index8 + "]",
3804
3911
  expected: "iUintRange<NumberType>",
3805
3912
  value: elem
3806
- })) && $vo5(elem, _path + ".ownershipTimes[" + _index6 + "]", true && _exceptionable) || $report(_exceptionable, {
3807
- path: _path + ".ownershipTimes[" + _index6 + "]",
3913
+ })) && $vo9(elem, _path + ".ownershipTimes[" + _index8 + "]", true && _exceptionable) || $report(_exceptionable, {
3914
+ path: _path + ".ownershipTimes[" + _index8 + "]",
3808
3915
  expected: "iUintRange<NumberType>",
3809
3916
  value: elem
3810
3917
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3812,7 +3919,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3812
3919
  expected: "Array<iUintRange<NumberType>>",
3813
3920
  value: input.ownershipTimes
3814
3921
  })].every(flag => flag);
3815
- const $vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start || $report(_exceptionable, {
3922
+ const $vo9 = (input, _path, _exceptionable = true) => ["string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start || $report(_exceptionable, {
3816
3923
  path: _path + ".start",
3817
3924
  expected: "(bigint | number | string)",
3818
3925
  value: input.start
@@ -3821,16 +3928,16 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3821
3928
  expected: "(bigint | number | string)",
3822
3929
  value: input.end
3823
3930
  })].every(flag => flag);
3824
- const $vo6 = (input, _path, _exceptionable = true) => [(Array.isArray(input.startBalances) || $report(_exceptionable, {
3931
+ const $vo10 = (input, _path, _exceptionable = true) => [(Array.isArray(input.startBalances) || $report(_exceptionable, {
3825
3932
  path: _path + ".startBalances",
3826
3933
  expected: "Array<iBalance<NumberType>>",
3827
3934
  value: input.startBalances
3828
- })) && input.startBalances.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3829
- path: _path + ".startBalances[" + _index7 + "]",
3935
+ })) && input.startBalances.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
3936
+ path: _path + ".startBalances[" + _index9 + "]",
3830
3937
  expected: "iBalance<NumberType>",
3831
3938
  value: elem
3832
- })) && $vo4(elem, _path + ".startBalances[" + _index7 + "]", true && _exceptionable) || $report(_exceptionable, {
3833
- path: _path + ".startBalances[" + _index7 + "]",
3939
+ })) && $vo8(elem, _path + ".startBalances[" + _index9 + "]", true && _exceptionable) || $report(_exceptionable, {
3940
+ path: _path + ".startBalances[" + _index9 + "]",
3834
3941
  expected: "iBalance<NumberType>",
3835
3942
  value: elem
3836
3943
  })).every(flag => flag) || $report(_exceptionable, {
@@ -3846,7 +3953,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3846
3953
  expected: "(bigint | number | string)",
3847
3954
  value: input.incrementOwnershipTimesBy
3848
3955
  })].every(flag => flag);
3849
- const $vo7 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.useOverallNumTransfers || $report(_exceptionable, {
3956
+ const $vo11 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.useOverallNumTransfers || $report(_exceptionable, {
3850
3957
  path: _path + ".useOverallNumTransfers",
3851
3958
  expected: "boolean",
3852
3959
  value: input.useOverallNumTransfers
@@ -3871,119 +3978,6 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
3871
3978
  expected: "string",
3872
3979
  value: input.challengeTrackerId
3873
3980
  })].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);
3987
3981
  const $vo12 = (input, _path, _exceptionable = true) => [undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
3988
3982
  path: _path + ".metadata",
3989
3983
  expected: "(__type.o3 | undefined)",
@@ -4064,8 +4058,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4064
4058
  if (!validateRes.success) {
4065
4059
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
4066
4060
  }
4067
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDClaimsRoute()}`, payload);
4068
- return new requests_1.CreateClaimSuccessResponse(response.data);
4061
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDClaimsRoute()}`, payload);
4062
+ return new CreateClaimSuccessResponse(response.data);
4069
4063
  }
4070
4064
  catch (error) {
4071
4065
  await this.handleApiError(error);
@@ -4081,7 +4075,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4081
4075
  return "object" === typeof input && null !== input && $io0(input);
4082
4076
  };
4083
4077
  if (false === __is(input)) {
4084
- const $report = typia_1.default.validate.report(errors);
4078
+ const $report = typia.validate.report(errors);
4085
4079
  ((input, _path, _exceptionable = true) => {
4086
4080
  const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.claimIds) || $report(_exceptionable, {
4087
4081
  path: _path + ".claimIds",
@@ -4117,10 +4111,10 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4117
4111
  if (!validateRes.success) {
4118
4112
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
4119
4113
  }
4120
- const response = await this.axios.delete(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDClaimsRoute()}`, {
4114
+ const response = await this.axios.delete(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDClaimsRoute()}`, {
4121
4115
  data: payload
4122
4116
  });
4123
- return new requests_1.DeleteClaimSuccessResponse(response.data);
4117
+ return new DeleteClaimSuccessResponse(response.data);
4124
4118
  }
4125
4119
  catch (error) {
4126
4120
  await this.handleApiError(error);
@@ -4133,30 +4127,30 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4133
4127
  const errors = [];
4134
4128
  const __is = input => {
4135
4129
  const $io0 = input => Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && $io1(elem));
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 => {
4130
+ const $io1 = input => (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io2(input.metadata)) && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io6(elem))) && "string" === typeof input.claimId && (undefined === input.balancesToSet || "object" === typeof input.balancesToSet && null !== input.balancesToSet && $io9(input.balancesToSet)) && (undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution) && (undefined === input.approach || "string" === typeof input.approach) && (undefined === input.assignMethod || "string" === typeof input.assignMethod);
4131
+ 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);
4132
+ const $io3 = input => Object.keys(input).every(key => {
4147
4133
  const value = input[key];
4148
4134
  if (undefined === value)
4149
4135
  return true;
4150
4136
  return "string" === typeof value;
4151
4137
  });
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);
4138
+ const $io4 = input => "string" === typeof input.host && "string" === typeof input.assignMethod;
4139
+ const $io5 = input => (undefined === input.type || "url" === input.type || "date" === input.type) && "string" === typeof input.name && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value);
4140
+ const $io6 = input => "object" === typeof input.publicState && null !== input.publicState && true && (undefined === input.privateState || "object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) && $io7(input.privateState)) && (undefined === input.resetState || "boolean" === typeof input.resetState) && (undefined === input.newState || "object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) && $io7(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 && $io8(input.metadata));
4141
+ const $io7 = input => true;
4142
+ const $io8 = input => "string" === typeof input.name && "string" === typeof input.description;
4143
+ const $io9 = input => Array.isArray(input.manualBalances) && input.manualBalances.every(elem => "object" === typeof elem && null !== elem && $io10(elem)) && ("object" === typeof input.incrementedBalances && null !== input.incrementedBalances && $io13(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));
4144
+ const $io10 = input => Array.isArray(input.balances) && input.balances.every(elem => "object" === typeof elem && null !== elem && $io11(elem));
4145
+ const $io11 = 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 && $io12(elem))) && (Array.isArray(input.ownershipTimes) && input.ownershipTimes.every(elem => "object" === typeof elem && null !== elem && $io12(elem)));
4146
+ const $io12 = 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);
4147
+ const $io13 = input => Array.isArray(input.startBalances) && input.startBalances.every(elem => "object" === typeof elem && null !== elem && $io11(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);
4154
4148
  return "object" === typeof input && null !== input && $io0(input);
4155
4149
  };
4156
4150
  if (false === __is(input)) {
4157
- const $report = typia_1.default.validate.report(errors);
4151
+ const $report = typia.validate.report(errors);
4158
4152
  ((input, _path, _exceptionable = true) => {
4159
- const $join = typia_1.default.validate.join;
4153
+ const $join = typia.validate.join;
4160
4154
  const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.claims) || $report(_exceptionable, {
4161
4155
  path: _path + ".claims",
4162
4156
  expected: "Array<Omit<iClaimDetails<NumberType>, \"seedCode\">>",
@@ -4174,27 +4168,23 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4174
4168
  expected: "Array<Omit<iClaimDetails<NumberType>, \"seedCode\">>",
4175
4169
  value: input.claims
4176
4170
  })].every(flag => flag);
4177
- const $vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.claimId || $report(_exceptionable, {
4178
- path: _path + ".claimId",
4179
- expected: "string",
4180
- value: input.claimId
4181
- }), undefined === input.balancesToSet || ("object" === typeof input.balancesToSet && null !== input.balancesToSet || $report(_exceptionable, {
4182
- path: _path + ".balancesToSet",
4183
- expected: "(iPredeterminedBalances<NumberType> | undefined)",
4184
- value: input.balancesToSet
4185
- })) && $vo2(input.balancesToSet, _path + ".balancesToSet", true && _exceptionable) || $report(_exceptionable, {
4186
- path: _path + ".balancesToSet",
4187
- expected: "(iPredeterminedBalances<NumberType> | undefined)",
4188
- value: input.balancesToSet
4189
- }), (Array.isArray(input.plugins) || $report(_exceptionable, {
4190
- path: _path + ".plugins",
4191
- expected: "Array<IntegrationPluginDetails<string>>",
4171
+ const $vo1 = (input, _path, _exceptionable = true) => [undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
4172
+ path: _path + ".metadata",
4173
+ expected: "(iMetadata<NumberType> | undefined)",
4174
+ value: input.metadata
4175
+ })) && $vo2(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
4176
+ path: _path + ".metadata",
4177
+ expected: "(iMetadata<NumberType> | undefined)",
4178
+ value: input.metadata
4179
+ }), (Array.isArray(input.plugins) || $report(_exceptionable, {
4180
+ path: _path + ".plugins",
4181
+ expected: "Array<IntegrationPluginDetails<string>>",
4192
4182
  value: input.plugins
4193
4183
  })) && input.plugins.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4194
4184
  path: _path + ".plugins[" + _index2 + "]",
4195
4185
  expected: "IntegrationPluginDetails<string>",
4196
4186
  value: elem
4197
- })) && $vo8(elem, _path + ".plugins[" + _index2 + "]", true && _exceptionable) || $report(_exceptionable, {
4187
+ })) && $vo6(elem, _path + ".plugins[" + _index2 + "]", true && _exceptionable) || $report(_exceptionable, {
4198
4188
  path: _path + ".plugins[" + _index2 + "]",
4199
4189
  expected: "IntegrationPluginDetails<string>",
4200
4190
  value: elem
@@ -4202,6 +4192,18 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4202
4192
  path: _path + ".plugins",
4203
4193
  expected: "Array<IntegrationPluginDetails<string>>",
4204
4194
  value: input.plugins
4195
+ }), "string" === typeof input.claimId || $report(_exceptionable, {
4196
+ path: _path + ".claimId",
4197
+ expected: "string",
4198
+ value: input.claimId
4199
+ }), undefined === input.balancesToSet || ("object" === typeof input.balancesToSet && null !== input.balancesToSet || $report(_exceptionable, {
4200
+ path: _path + ".balancesToSet",
4201
+ expected: "(iPredeterminedBalances<NumberType> | undefined)",
4202
+ value: input.balancesToSet
4203
+ })) && $vo9(input.balancesToSet, _path + ".balancesToSet", true && _exceptionable) || $report(_exceptionable, {
4204
+ path: _path + ".balancesToSet",
4205
+ expected: "(iPredeterminedBalances<NumberType> | undefined)",
4206
+ value: input.balancesToSet
4205
4207
  }), undefined === input.manualDistribution || "boolean" === typeof input.manualDistribution || $report(_exceptionable, {
4206
4208
  path: _path + ".manualDistribution",
4207
4209
  expected: "(boolean | undefined)",
@@ -4210,180 +4212,139 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4210
4212
  path: _path + ".approach",
4211
4213
  expected: "(string | undefined)",
4212
4214
  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
4221
4215
  }), undefined === input.assignMethod || "string" === typeof input.assignMethod || $report(_exceptionable, {
4222
4216
  path: _path + ".assignMethod",
4223
4217
  expected: "(string | undefined)",
4224
4218
  value: input.assignMethod
4225
4219
  })].every(flag => flag);
4226
- const $vo2 = (input, _path, _exceptionable = true) => [(Array.isArray(input.manualBalances) || $report(_exceptionable, {
4227
- path: _path + ".manualBalances",
4228
- expected: "Array<iManualBalances<NumberType>>",
4229
- value: input.manualBalances
4230
- })) && input.manualBalances.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4231
- path: _path + ".manualBalances[" + _index3 + "]",
4232
- expected: "iManualBalances<NumberType>",
4233
- value: elem
4234
- })) && $vo3(elem, _path + ".manualBalances[" + _index3 + "]", true && _exceptionable) || $report(_exceptionable, {
4235
- path: _path + ".manualBalances[" + _index3 + "]",
4236
- expected: "iManualBalances<NumberType>",
4237
- value: elem
4238
- })).every(flag => flag) || $report(_exceptionable, {
4239
- path: _path + ".manualBalances",
4240
- expected: "Array<iManualBalances<NumberType>>",
4241
- value: input.manualBalances
4242
- }), ("object" === typeof input.incrementedBalances && null !== input.incrementedBalances || $report(_exceptionable, {
4243
- path: _path + ".incrementedBalances",
4244
- expected: "iIncrementedBalances<NumberType>",
4245
- value: input.incrementedBalances
4246
- })) && $vo6(input.incrementedBalances, _path + ".incrementedBalances", true && _exceptionable) || $report(_exceptionable, {
4247
- path: _path + ".incrementedBalances",
4248
- expected: "iIncrementedBalances<NumberType>",
4249
- value: input.incrementedBalances
4250
- }), ("object" === typeof input.orderCalculationMethod && null !== input.orderCalculationMethod || $report(_exceptionable, {
4251
- path: _path + ".orderCalculationMethod",
4252
- expected: "iPredeterminedOrderCalculationMethod",
4253
- value: input.orderCalculationMethod
4254
- })) && $vo7(input.orderCalculationMethod, _path + ".orderCalculationMethod", true && _exceptionable) || $report(_exceptionable, {
4255
- path: _path + ".orderCalculationMethod",
4256
- expected: "iPredeterminedOrderCalculationMethod",
4257
- value: input.orderCalculationMethod
4258
- })].every(flag => flag);
4259
- const $vo3 = (input, _path, _exceptionable = true) => [(Array.isArray(input.balances) || $report(_exceptionable, {
4260
- path: _path + ".balances",
4261
- expected: "Array<iBalance<NumberType>>",
4262
- value: input.balances
4263
- })) && input.balances.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4264
- path: _path + ".balances[" + _index4 + "]",
4265
- expected: "iBalance<NumberType>",
4266
- value: elem
4267
- })) && $vo4(elem, _path + ".balances[" + _index4 + "]", true && _exceptionable) || $report(_exceptionable, {
4268
- path: _path + ".balances[" + _index4 + "]",
4269
- expected: "iBalance<NumberType>",
4270
- value: elem
4271
- })).every(flag => flag) || $report(_exceptionable, {
4272
- path: _path + ".balances",
4273
- expected: "Array<iBalance<NumberType>>",
4274
- value: input.balances
4275
- })].every(flag => flag);
4276
- const $vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount || $report(_exceptionable, {
4277
- path: _path + ".amount",
4278
- expected: "(bigint | number | string)",
4279
- value: input.amount
4280
- }), (Array.isArray(input.badgeIds) || $report(_exceptionable, {
4281
- path: _path + ".badgeIds",
4282
- expected: "Array<iUintRange<NumberType>>",
4283
- value: input.badgeIds
4284
- })) && input.badgeIds.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4285
- path: _path + ".badgeIds[" + _index5 + "]",
4286
- expected: "iUintRange<NumberType>",
4287
- value: elem
4288
- })) && $vo5(elem, _path + ".badgeIds[" + _index5 + "]", true && _exceptionable) || $report(_exceptionable, {
4289
- path: _path + ".badgeIds[" + _index5 + "]",
4290
- expected: "iUintRange<NumberType>",
4220
+ const $vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
4221
+ path: _path + ".name",
4222
+ expected: "string",
4223
+ value: input.name
4224
+ }), "string" === typeof input.description || $report(_exceptionable, {
4225
+ path: _path + ".description",
4226
+ expected: "string",
4227
+ value: input.description
4228
+ }), "string" === typeof input.image || $report(_exceptionable, {
4229
+ path: _path + ".image",
4230
+ expected: "string",
4231
+ value: input.image
4232
+ }), undefined === input.video || "string" === typeof input.video || $report(_exceptionable, {
4233
+ path: _path + ".video",
4234
+ expected: "(string | undefined)",
4235
+ value: input.video
4236
+ }), undefined === input.category || "string" === typeof input.category || $report(_exceptionable, {
4237
+ path: _path + ".category",
4238
+ expected: "(string | undefined)",
4239
+ value: input.category
4240
+ }), undefined === input.externalUrl || "string" === typeof input.externalUrl || $report(_exceptionable, {
4241
+ path: _path + ".externalUrl",
4242
+ expected: "(string | undefined)",
4243
+ value: input.externalUrl
4244
+ }), undefined === input.tags || (Array.isArray(input.tags) || $report(_exceptionable, {
4245
+ path: _path + ".tags",
4246
+ expected: "(Array<string> | undefined)",
4247
+ value: input.tags
4248
+ })) && input.tags.map((elem, _index3) => "string" === typeof elem || $report(_exceptionable, {
4249
+ path: _path + ".tags[" + _index3 + "]",
4250
+ expected: "string",
4291
4251
  value: elem
4292
4252
  })).every(flag => flag) || $report(_exceptionable, {
4293
- path: _path + ".badgeIds",
4294
- expected: "Array<iUintRange<NumberType>>",
4295
- value: input.badgeIds
4296
- }), (Array.isArray(input.ownershipTimes) || $report(_exceptionable, {
4297
- path: _path + ".ownershipTimes",
4298
- expected: "Array<iUintRange<NumberType>>",
4299
- value: input.ownershipTimes
4300
- })) && input.ownershipTimes.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4301
- path: _path + ".ownershipTimes[" + _index6 + "]",
4302
- expected: "iUintRange<NumberType>",
4253
+ path: _path + ".tags",
4254
+ expected: "(Array<string> | undefined)",
4255
+ value: input.tags
4256
+ }), undefined === input.socials || ("object" === typeof input.socials && null !== input.socials && false === Array.isArray(input.socials) || $report(_exceptionable, {
4257
+ path: _path + ".socials",
4258
+ expected: "(__type | undefined)",
4259
+ value: input.socials
4260
+ })) && $vo3(input.socials, _path + ".socials", true && _exceptionable) || $report(_exceptionable, {
4261
+ path: _path + ".socials",
4262
+ expected: "(__type | undefined)",
4263
+ value: input.socials
4264
+ }), undefined === input.offChainTransferabilityInfo || ("object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo || $report(_exceptionable, {
4265
+ path: _path + ".offChainTransferabilityInfo",
4266
+ expected: "(__type.o1 | undefined)",
4267
+ value: input.offChainTransferabilityInfo
4268
+ })) && $vo4(input.offChainTransferabilityInfo, _path + ".offChainTransferabilityInfo", true && _exceptionable) || $report(_exceptionable, {
4269
+ path: _path + ".offChainTransferabilityInfo",
4270
+ expected: "(__type.o1 | undefined)",
4271
+ value: input.offChainTransferabilityInfo
4272
+ }), undefined === input.attributes || (Array.isArray(input.attributes) || $report(_exceptionable, {
4273
+ path: _path + ".attributes",
4274
+ expected: "(Array<__type> | undefined)",
4275
+ value: input.attributes
4276
+ })) && input.attributes.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4277
+ path: _path + ".attributes[" + _index4 + "]",
4278
+ expected: "__type.o2",
4303
4279
  value: elem
4304
- })) && $vo5(elem, _path + ".ownershipTimes[" + _index6 + "]", true && _exceptionable) || $report(_exceptionable, {
4305
- path: _path + ".ownershipTimes[" + _index6 + "]",
4306
- expected: "iUintRange<NumberType>",
4280
+ })) && $vo5(elem, _path + ".attributes[" + _index4 + "]", true && _exceptionable) || $report(_exceptionable, {
4281
+ path: _path + ".attributes[" + _index4 + "]",
4282
+ expected: "__type.o2",
4307
4283
  value: elem
4308
4284
  })).every(flag => flag) || $report(_exceptionable, {
4309
- path: _path + ".ownershipTimes",
4310
- expected: "Array<iUintRange<NumberType>>",
4311
- value: input.ownershipTimes
4312
- })].every(flag => flag);
4313
- const $vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start || $report(_exceptionable, {
4314
- path: _path + ".start",
4315
- expected: "(bigint | number | string)",
4316
- value: input.start
4317
- }), "string" === typeof input.end || "number" === typeof input.end || "bigint" === typeof input.end || $report(_exceptionable, {
4318
- path: _path + ".end",
4319
- expected: "(bigint | number | string)",
4320
- value: input.end
4285
+ path: _path + ".attributes",
4286
+ expected: "(Array<__type> | undefined)",
4287
+ value: input.attributes
4288
+ }), undefined === input.fetchedAtBlock || "string" === typeof input.fetchedAtBlock || "number" === typeof input.fetchedAtBlock || "bigint" === typeof input.fetchedAtBlock || $report(_exceptionable, {
4289
+ path: _path + ".fetchedAtBlock",
4290
+ expected: "(bigint | number | string | undefined)",
4291
+ value: input.fetchedAtBlock
4292
+ }), undefined === input.fetchedAt || "string" === typeof input.fetchedAt || "number" === typeof input.fetchedAt || "bigint" === typeof input.fetchedAt || $report(_exceptionable, {
4293
+ path: _path + ".fetchedAt",
4294
+ expected: "(bigint | number | string | undefined)",
4295
+ value: input.fetchedAt
4296
+ }), undefined === input._isUpdating || "boolean" === typeof input._isUpdating || $report(_exceptionable, {
4297
+ path: _path + "._isUpdating",
4298
+ expected: "(boolean | undefined)",
4299
+ value: input._isUpdating
4321
4300
  })].every(flag => flag);
4322
- const $vo6 = (input, _path, _exceptionable = true) => [(Array.isArray(input.startBalances) || $report(_exceptionable, {
4323
- path: _path + ".startBalances",
4324
- expected: "Array<iBalance<NumberType>>",
4325
- value: input.startBalances
4326
- })) && input.startBalances.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4327
- path: _path + ".startBalances[" + _index7 + "]",
4328
- expected: "iBalance<NumberType>",
4329
- value: elem
4330
- })) && $vo4(elem, _path + ".startBalances[" + _index7 + "]", true && _exceptionable) || $report(_exceptionable, {
4331
- path: _path + ".startBalances[" + _index7 + "]",
4332
- expected: "iBalance<NumberType>",
4333
- value: elem
4334
- })).every(flag => flag) || $report(_exceptionable, {
4335
- path: _path + ".startBalances",
4336
- expected: "Array<iBalance<NumberType>>",
4337
- value: input.startBalances
4338
- }), "string" === typeof input.incrementBadgeIdsBy || "number" === typeof input.incrementBadgeIdsBy || "bigint" === typeof input.incrementBadgeIdsBy || $report(_exceptionable, {
4339
- path: _path + ".incrementBadgeIdsBy",
4340
- expected: "(bigint | number | string)",
4341
- value: input.incrementBadgeIdsBy
4342
- }), "string" === typeof input.incrementOwnershipTimesBy || "number" === typeof input.incrementOwnershipTimesBy || "bigint" === typeof input.incrementOwnershipTimesBy || $report(_exceptionable, {
4343
- path: _path + ".incrementOwnershipTimesBy",
4344
- expected: "(bigint | number | string)",
4345
- value: input.incrementOwnershipTimesBy
4301
+ const $vo3 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
4302
+ const value = input[key];
4303
+ if (undefined === value)
4304
+ return true;
4305
+ return "string" === typeof value || $report(_exceptionable, {
4306
+ path: _path + $join(key),
4307
+ expected: "string",
4308
+ value: value
4309
+ });
4310
+ }).every(flag => flag)].every(flag => flag);
4311
+ const $vo4 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || $report(_exceptionable, {
4312
+ path: _path + ".host",
4313
+ expected: "string",
4314
+ value: input.host
4315
+ }), "string" === typeof input.assignMethod || $report(_exceptionable, {
4316
+ path: _path + ".assignMethod",
4317
+ expected: "string",
4318
+ value: input.assignMethod
4346
4319
  })].every(flag => flag);
4347
- const $vo7 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.useOverallNumTransfers || $report(_exceptionable, {
4348
- path: _path + ".useOverallNumTransfers",
4349
- expected: "boolean",
4350
- value: input.useOverallNumTransfers
4351
- }), "boolean" === typeof input.usePerToAddressNumTransfers || $report(_exceptionable, {
4352
- path: _path + ".usePerToAddressNumTransfers",
4353
- expected: "boolean",
4354
- value: input.usePerToAddressNumTransfers
4355
- }), "boolean" === typeof input.usePerFromAddressNumTransfers || $report(_exceptionable, {
4356
- path: _path + ".usePerFromAddressNumTransfers",
4357
- expected: "boolean",
4358
- value: input.usePerFromAddressNumTransfers
4359
- }), "boolean" === typeof input.usePerInitiatedByAddressNumTransfers || $report(_exceptionable, {
4360
- path: _path + ".usePerInitiatedByAddressNumTransfers",
4361
- expected: "boolean",
4362
- value: input.usePerInitiatedByAddressNumTransfers
4363
- }), "boolean" === typeof input.useMerkleChallengeLeafIndex || $report(_exceptionable, {
4364
- path: _path + ".useMerkleChallengeLeafIndex",
4365
- expected: "boolean",
4366
- value: input.useMerkleChallengeLeafIndex
4367
- }), "string" === typeof input.challengeTrackerId || $report(_exceptionable, {
4368
- path: _path + ".challengeTrackerId",
4320
+ const $vo5 = (input, _path, _exceptionable = true) => [undefined === input.type || "url" === input.type || "date" === input.type || $report(_exceptionable, {
4321
+ path: _path + ".type",
4322
+ expected: "(\"date\" | \"url\" | undefined)",
4323
+ value: input.type
4324
+ }), "string" === typeof input.name || $report(_exceptionable, {
4325
+ path: _path + ".name",
4369
4326
  expected: "string",
4370
- value: input.challengeTrackerId
4327
+ value: input.name
4328
+ }), "string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value || $report(_exceptionable, {
4329
+ path: _path + ".value",
4330
+ expected: "(boolean | number | string)",
4331
+ value: input.value
4371
4332
  })].every(flag => flag);
4372
- const $vo8 = (input, _path, _exceptionable = true) => [("object" === typeof input.publicState && null !== input.publicState && false === Array.isArray(input.publicState) || $report(_exceptionable, {
4333
+ const $vo6 = (input, _path, _exceptionable = true) => [("object" === typeof input.publicState && null !== input.publicState && false === Array.isArray(input.publicState) || $report(_exceptionable, {
4373
4334
  path: _path + ".publicState",
4374
- expected: "__type",
4335
+ expected: "__type.o3",
4375
4336
  value: input.publicState
4376
- })) && $vo9(input.publicState, _path + ".publicState", true && _exceptionable) || $report(_exceptionable, {
4337
+ })) && $vo7(input.publicState, _path + ".publicState", true && _exceptionable) || $report(_exceptionable, {
4377
4338
  path: _path + ".publicState",
4378
- expected: "__type",
4339
+ expected: "__type.o3",
4379
4340
  value: input.publicState
4380
4341
  }), undefined === input.privateState || ("object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) || $report(_exceptionable, {
4381
4342
  path: _path + ".privateState",
4382
- expected: "(__type | undefined)",
4343
+ expected: "(__type.o3 | undefined)",
4383
4344
  value: input.privateState
4384
- })) && $vo9(input.privateState, _path + ".privateState", true && _exceptionable) || $report(_exceptionable, {
4345
+ })) && $vo7(input.privateState, _path + ".privateState", true && _exceptionable) || $report(_exceptionable, {
4385
4346
  path: _path + ".privateState",
4386
- expected: "(__type | undefined)",
4347
+ expected: "(__type.o3 | undefined)",
4387
4348
  value: input.privateState
4388
4349
  }), undefined === input.resetState || "boolean" === typeof input.resetState || $report(_exceptionable, {
4389
4350
  path: _path + ".resetState",
@@ -4391,11 +4352,11 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4391
4352
  value: input.resetState
4392
4353
  }), undefined === input.newState || ("object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) || $report(_exceptionable, {
4393
4354
  path: _path + ".newState",
4394
- expected: "(__type | undefined)",
4355
+ expected: "(__type.o3 | undefined)",
4395
4356
  value: input.newState
4396
- })) && $vo9(input.newState, _path + ".newState", true && _exceptionable) || $report(_exceptionable, {
4357
+ })) && $vo7(input.newState, _path + ".newState", true && _exceptionable) || $report(_exceptionable, {
4397
4358
  path: _path + ".newState",
4398
- expected: "(__type | undefined)",
4359
+ expected: "(__type.o3 | undefined)",
4399
4360
  value: input.newState
4400
4361
  }), undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState || $report(_exceptionable, {
4401
4362
  path: _path + ".onlyUpdateProvidedNewState",
@@ -4411,31 +4372,31 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4411
4372
  value: input.pluginId
4412
4373
  }), ("object" === typeof input.publicParams && null !== input.publicParams && false === Array.isArray(input.publicParams) || $report(_exceptionable, {
4413
4374
  path: _path + ".publicParams",
4414
- expected: "__type",
4375
+ expected: "__type.o3",
4415
4376
  value: input.publicParams
4416
- })) && $vo9(input.publicParams, _path + ".publicParams", true && _exceptionable) || $report(_exceptionable, {
4377
+ })) && $vo7(input.publicParams, _path + ".publicParams", true && _exceptionable) || $report(_exceptionable, {
4417
4378
  path: _path + ".publicParams",
4418
- expected: "__type",
4379
+ expected: "__type.o3",
4419
4380
  value: input.publicParams
4420
4381
  }), ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) || $report(_exceptionable, {
4421
4382
  path: _path + ".privateParams",
4422
- expected: "__type",
4383
+ expected: "__type.o3",
4423
4384
  value: input.privateParams
4424
- })) && $vo9(input.privateParams, _path + ".privateParams", true && _exceptionable) || $report(_exceptionable, {
4385
+ })) && $vo7(input.privateParams, _path + ".privateParams", true && _exceptionable) || $report(_exceptionable, {
4425
4386
  path: _path + ".privateParams",
4426
- expected: "__type",
4387
+ expected: "__type.o3",
4427
4388
  value: input.privateParams
4428
4389
  }), undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
4429
4390
  path: _path + ".metadata",
4430
- expected: "(__type.o1 | undefined)",
4391
+ expected: "(__type.o4 | undefined)",
4431
4392
  value: input.metadata
4432
- })) && $vo10(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
4393
+ })) && $vo8(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
4433
4394
  path: _path + ".metadata",
4434
- expected: "(__type.o1 | undefined)",
4395
+ expected: "(__type.o4 | undefined)",
4435
4396
  value: input.metadata
4436
4397
  })].every(flag => flag);
4437
- const $vo9 = (input, _path, _exceptionable = true) => true;
4438
- const $vo10 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
4398
+ const $vo7 = (input, _path, _exceptionable = true) => true;
4399
+ const $vo8 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
4439
4400
  path: _path + ".name",
4440
4401
  expected: "string",
4441
4402
  value: input.name
@@ -4444,118 +4405,151 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4444
4405
  expected: "string",
4445
4406
  value: input.description
4446
4407
  })].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",
4408
+ const $vo9 = (input, _path, _exceptionable = true) => [(Array.isArray(input.manualBalances) || $report(_exceptionable, {
4409
+ path: _path + ".manualBalances",
4410
+ expected: "Array<iManualBalances<NumberType>>",
4411
+ value: input.manualBalances
4412
+ })) && input.manualBalances.map((elem, _index5) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4413
+ path: _path + ".manualBalances[" + _index5 + "]",
4414
+ expected: "iManualBalances<NumberType>",
4415
+ value: elem
4416
+ })) && $vo10(elem, _path + ".manualBalances[" + _index5 + "]", true && _exceptionable) || $report(_exceptionable, {
4417
+ path: _path + ".manualBalances[" + _index5 + "]",
4418
+ expected: "iManualBalances<NumberType>",
4419
+ value: elem
4420
+ })).every(flag => flag) || $report(_exceptionable, {
4421
+ path: _path + ".manualBalances",
4422
+ expected: "Array<iManualBalances<NumberType>>",
4423
+ value: input.manualBalances
4424
+ }), ("object" === typeof input.incrementedBalances && null !== input.incrementedBalances || $report(_exceptionable, {
4425
+ path: _path + ".incrementedBalances",
4426
+ expected: "iIncrementedBalances<NumberType>",
4427
+ value: input.incrementedBalances
4428
+ })) && $vo13(input.incrementedBalances, _path + ".incrementedBalances", true && _exceptionable) || $report(_exceptionable, {
4429
+ path: _path + ".incrementedBalances",
4430
+ expected: "iIncrementedBalances<NumberType>",
4431
+ value: input.incrementedBalances
4432
+ }), ("object" === typeof input.orderCalculationMethod && null !== input.orderCalculationMethod || $report(_exceptionable, {
4433
+ path: _path + ".orderCalculationMethod",
4434
+ expected: "iPredeterminedOrderCalculationMethod",
4435
+ value: input.orderCalculationMethod
4436
+ })) && $vo14(input.orderCalculationMethod, _path + ".orderCalculationMethod", true && _exceptionable) || $report(_exceptionable, {
4437
+ path: _path + ".orderCalculationMethod",
4438
+ expected: "iPredeterminedOrderCalculationMethod",
4439
+ value: input.orderCalculationMethod
4440
+ })].every(flag => flag);
4441
+ const $vo10 = (input, _path, _exceptionable = true) => [(Array.isArray(input.balances) || $report(_exceptionable, {
4442
+ path: _path + ".balances",
4443
+ expected: "Array<iBalance<NumberType>>",
4444
+ value: input.balances
4445
+ })) && input.balances.map((elem, _index6) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4446
+ path: _path + ".balances[" + _index6 + "]",
4447
+ expected: "iBalance<NumberType>",
4448
+ value: elem
4449
+ })) && $vo11(elem, _path + ".balances[" + _index6 + "]", true && _exceptionable) || $report(_exceptionable, {
4450
+ path: _path + ".balances[" + _index6 + "]",
4451
+ expected: "iBalance<NumberType>",
4478
4452
  value: elem
4479
4453
  })).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",
4454
+ path: _path + ".balances",
4455
+ expected: "Array<iBalance<NumberType>>",
4456
+ value: input.balances
4457
+ })].every(flag => flag);
4458
+ const $vo11 = (input, _path, _exceptionable = true) => ["string" === typeof input.amount || "number" === typeof input.amount || "bigint" === typeof input.amount || $report(_exceptionable, {
4459
+ path: _path + ".amount",
4460
+ expected: "(bigint | number | string)",
4461
+ value: input.amount
4462
+ }), (Array.isArray(input.badgeIds) || $report(_exceptionable, {
4463
+ path: _path + ".badgeIds",
4464
+ expected: "Array<iUintRange<NumberType>>",
4465
+ value: input.badgeIds
4466
+ })) && input.badgeIds.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4467
+ path: _path + ".badgeIds[" + _index7 + "]",
4468
+ expected: "iUintRange<NumberType>",
4506
4469
  value: elem
4507
- })) && $vo14(elem, _path + ".attributes[" + _index9 + "]", true && _exceptionable) || $report(_exceptionable, {
4508
- path: _path + ".attributes[" + _index9 + "]",
4509
- expected: "__type.o4",
4470
+ })) && $vo12(elem, _path + ".badgeIds[" + _index7 + "]", true && _exceptionable) || $report(_exceptionable, {
4471
+ path: _path + ".badgeIds[" + _index7 + "]",
4472
+ expected: "iUintRange<NumberType>",
4510
4473
  value: elem
4511
4474
  })).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
4475
+ path: _path + ".badgeIds",
4476
+ expected: "Array<iUintRange<NumberType>>",
4477
+ value: input.badgeIds
4478
+ }), (Array.isArray(input.ownershipTimes) || $report(_exceptionable, {
4479
+ path: _path + ".ownershipTimes",
4480
+ expected: "Array<iUintRange<NumberType>>",
4481
+ value: input.ownershipTimes
4482
+ })) && input.ownershipTimes.map((elem, _index8) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4483
+ path: _path + ".ownershipTimes[" + _index8 + "]",
4484
+ expected: "iUintRange<NumberType>",
4485
+ value: elem
4486
+ })) && $vo12(elem, _path + ".ownershipTimes[" + _index8 + "]", true && _exceptionable) || $report(_exceptionable, {
4487
+ path: _path + ".ownershipTimes[" + _index8 + "]",
4488
+ expected: "iUintRange<NumberType>",
4489
+ value: elem
4490
+ })).every(flag => flag) || $report(_exceptionable, {
4491
+ path: _path + ".ownershipTimes",
4492
+ expected: "Array<iUintRange<NumberType>>",
4493
+ value: input.ownershipTimes
4527
4494
  })].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
4495
+ const $vo12 = (input, _path, _exceptionable = true) => ["string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start || $report(_exceptionable, {
4496
+ path: _path + ".start",
4497
+ expected: "(bigint | number | string)",
4498
+ value: input.start
4499
+ }), "string" === typeof input.end || "number" === typeof input.end || "bigint" === typeof input.end || $report(_exceptionable, {
4500
+ path: _path + ".end",
4501
+ expected: "(bigint | number | string)",
4502
+ value: input.end
4546
4503
  })].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",
4504
+ const $vo13 = (input, _path, _exceptionable = true) => [(Array.isArray(input.startBalances) || $report(_exceptionable, {
4505
+ path: _path + ".startBalances",
4506
+ expected: "Array<iBalance<NumberType>>",
4507
+ value: input.startBalances
4508
+ })) && input.startBalances.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
4509
+ path: _path + ".startBalances[" + _index9 + "]",
4510
+ expected: "iBalance<NumberType>",
4511
+ value: elem
4512
+ })) && $vo11(elem, _path + ".startBalances[" + _index9 + "]", true && _exceptionable) || $report(_exceptionable, {
4513
+ path: _path + ".startBalances[" + _index9 + "]",
4514
+ expected: "iBalance<NumberType>",
4515
+ value: elem
4516
+ })).every(flag => flag) || $report(_exceptionable, {
4517
+ path: _path + ".startBalances",
4518
+ expected: "Array<iBalance<NumberType>>",
4519
+ value: input.startBalances
4520
+ }), "string" === typeof input.incrementBadgeIdsBy || "number" === typeof input.incrementBadgeIdsBy || "bigint" === typeof input.incrementBadgeIdsBy || $report(_exceptionable, {
4521
+ path: _path + ".incrementBadgeIdsBy",
4522
+ expected: "(bigint | number | string)",
4523
+ value: input.incrementBadgeIdsBy
4524
+ }), "string" === typeof input.incrementOwnershipTimesBy || "number" === typeof input.incrementOwnershipTimesBy || "bigint" === typeof input.incrementOwnershipTimesBy || $report(_exceptionable, {
4525
+ path: _path + ".incrementOwnershipTimesBy",
4526
+ expected: "(bigint | number | string)",
4527
+ value: input.incrementOwnershipTimesBy
4528
+ })].every(flag => flag);
4529
+ const $vo14 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.useOverallNumTransfers || $report(_exceptionable, {
4530
+ path: _path + ".useOverallNumTransfers",
4531
+ expected: "boolean",
4532
+ value: input.useOverallNumTransfers
4533
+ }), "boolean" === typeof input.usePerToAddressNumTransfers || $report(_exceptionable, {
4534
+ path: _path + ".usePerToAddressNumTransfers",
4535
+ expected: "boolean",
4536
+ value: input.usePerToAddressNumTransfers
4537
+ }), "boolean" === typeof input.usePerFromAddressNumTransfers || $report(_exceptionable, {
4538
+ path: _path + ".usePerFromAddressNumTransfers",
4539
+ expected: "boolean",
4540
+ value: input.usePerFromAddressNumTransfers
4541
+ }), "boolean" === typeof input.usePerInitiatedByAddressNumTransfers || $report(_exceptionable, {
4542
+ path: _path + ".usePerInitiatedByAddressNumTransfers",
4543
+ expected: "boolean",
4544
+ value: input.usePerInitiatedByAddressNumTransfers
4545
+ }), "boolean" === typeof input.useMerkleChallengeLeafIndex || $report(_exceptionable, {
4546
+ path: _path + ".useMerkleChallengeLeafIndex",
4547
+ expected: "boolean",
4548
+ value: input.useMerkleChallengeLeafIndex
4549
+ }), "string" === typeof input.challengeTrackerId || $report(_exceptionable, {
4550
+ path: _path + ".challengeTrackerId",
4553
4551
  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
4552
+ value: input.challengeTrackerId
4559
4553
  })].every(flag => flag);
4560
4554
  return ("object" === typeof input && null !== input || $report(true, {
4561
4555
  path: _path + "",
@@ -4578,8 +4572,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4578
4572
  if (!validateRes.success) {
4579
4573
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
4580
4574
  }
4581
- const response = await this.axios.put(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDClaimsRoute()}`, payload);
4582
- return new requests_1.UpdateClaimSuccessResponse(response.data);
4575
+ const response = await this.axios.put(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDClaimsRoute()}`, payload);
4576
+ return new UpdateClaimSuccessResponse(response.data);
4583
4577
  }
4584
4578
  catch (error) {
4585
4579
  await this.handleApiError(error);
@@ -4594,7 +4588,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4594
4588
  return "object" === typeof input && null !== input && "string" === typeof input.token;
4595
4589
  };
4596
4590
  if (false === __is(input)) {
4597
- const $report = typia_1.default.validate.report(errors);
4591
+ const $report = typia.validate.report(errors);
4598
4592
  ((input, _path, _exceptionable = true) => {
4599
4593
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.token || $report(_exceptionable, {
4600
4594
  path: _path + ".token",
@@ -4622,8 +4616,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4622
4616
  if (!validateRes.success) {
4623
4617
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
4624
4618
  }
4625
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.OauthRevokeRoute()}`, payload);
4626
- return new requests_1.OauthRevokeSuccessResponse(response.data);
4619
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.OauthRevokeRoute()}`, payload);
4620
+ return new OauthRevokeSuccessResponse(response.data);
4627
4621
  }
4628
4622
  catch (error) {
4629
4623
  await this.handleApiError(error);
@@ -4654,9 +4648,9 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4654
4648
  return "object" === typeof input && null !== input && $io0(input);
4655
4649
  };
4656
4650
  if (false === __is(input)) {
4657
- const $report = typia_1.default.validate.report(errors);
4651
+ const $report = typia.validate.report(errors);
4658
4652
  ((input, _path, _exceptionable = true) => {
4659
- const $join = typia_1.default.validate.join;
4653
+ const $join = typia.validate.join;
4660
4654
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.balances || ("object" === typeof input.balances && null !== input.balances && false === Array.isArray(input.balances) || $report(_exceptionable, {
4661
4655
  path: _path + ".balances",
4662
4656
  expected: "(iOffChainBalancesMap<NumberType> | undefined)",
@@ -4991,8 +4985,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
4991
4985
  if (!validateRes.success) {
4992
4986
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
4993
4987
  }
4994
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.AddBalancesToOffChainStorageRoute()}`, payload);
4995
- return new requests_1.AddBalancesToOffChainStorageSuccessResponse(response.data);
4988
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.AddBalancesToOffChainStorageRoute()}`, payload);
4989
+ return new AddBalancesToOffChainStorageSuccessResponse(response.data);
4996
4990
  }
4997
4991
  catch (error) {
4998
4992
  await this.handleApiError(error);
@@ -5007,7 +5001,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
5007
5001
  return "object" === typeof input && null !== input && "string" === typeof input.id;
5008
5002
  };
5009
5003
  if (false === __is(input)) {
5010
- const $report = typia_1.default.validate.report(errors);
5004
+ const $report = typia.validate.report(errors);
5011
5005
  ((input, _path, _exceptionable = true) => {
5012
5006
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || $report(_exceptionable, {
5013
5007
  path: _path + ".id",
@@ -5035,8 +5029,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
5035
5029
  if (!validateRes.success) {
5036
5030
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
5037
5031
  }
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);
5032
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetAttestationProofsRoute()}`, payload);
5033
+ return new GetAttestationProofSuccessResponse(response.data).convert(this.ConvertFunction);
5040
5034
  }
5041
5035
  catch (error) {
5042
5036
  await this.handleApiError(error);
@@ -5056,7 +5050,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
5056
5050
  return "object" === typeof input && null !== input && $io0(input);
5057
5051
  };
5058
5052
  if (false === __is(input)) {
5059
- const $report = typia_1.default.validate.report(errors);
5053
+ const $report = typia.validate.report(errors);
5060
5054
  ((input, _path, _exceptionable = true) => {
5061
5055
  const $vo0 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.displayOnProfile || $report(_exceptionable, {
5062
5056
  path: _path + ".displayOnProfile",
@@ -5240,8 +5234,8 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
5240
5234
  if (!validateRes.success) {
5241
5235
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
5242
5236
  }
5243
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDAttestationProofRoute()}`, payload);
5244
- return new requests_1.CreateAttestationProofSuccessResponse(response.data);
5237
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDAttestationProofRoute()}`, payload);
5238
+ return new CreateAttestationProofSuccessResponse(response.data);
5245
5239
  }
5246
5240
  catch (error) {
5247
5241
  await this.handleApiError(error);
@@ -5256,7 +5250,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
5256
5250
  return "object" === typeof input && null !== input && "string" === typeof input.id;
5257
5251
  };
5258
5252
  if (false === __is(input)) {
5259
- const $report = typia_1.default.validate.report(errors);
5253
+ const $report = typia.validate.report(errors);
5260
5254
  ((input, _path, _exceptionable = true) => {
5261
5255
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.id || $report(_exceptionable, {
5262
5256
  path: _path + ".id",
@@ -5284,10 +5278,10 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
5284
5278
  if (!validateRes.success) {
5285
5279
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
5286
5280
  }
5287
- const response = await this.axios.delete(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDAttestationProofRoute()}`, {
5281
+ const response = await this.axios.delete(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDAttestationProofRoute()}`, {
5288
5282
  data: payload
5289
5283
  });
5290
- return new requests_1.DeleteAttestationProofSuccessResponse(response.data);
5284
+ return new DeleteAttestationProofSuccessResponse(response.data);
5291
5285
  }
5292
5286
  catch (error) {
5293
5287
  await this.handleApiError(error);
@@ -5298,8 +5292,7 @@ class BitBadgesAPI extends base_1.BaseBitBadgesApi {
5298
5292
  return await this.updateAccountInfo({ seenActivity: Date.now() });
5299
5293
  }
5300
5294
  }
5301
- exports.BitBadgesAPI = BitBadgesAPI;
5302
- class BitBadgesAdminAPI extends BitBadgesAPI {
5295
+ export class BitBadgesAdminAPI extends BitBadgesAPI {
5303
5296
  constructor(apiDetails) {
5304
5297
  super(apiDetails);
5305
5298
  }
@@ -5311,7 +5304,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5311
5304
  return "object" === typeof input && null !== input && true;
5312
5305
  };
5313
5306
  if (false === __is(input)) {
5314
- const $report = typia_1.default.validate.report(errors);
5307
+ const $report = typia.validate.report(errors);
5315
5308
  ((input, _path, _exceptionable = true) => {
5316
5309
  const $vo0 = (input, _path, _exceptionable = true) => true;
5317
5310
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
@@ -5335,8 +5328,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5335
5328
  if (!validateRes.success) {
5336
5329
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
5337
5330
  }
5338
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GetActiveAuthorizationsRoute()}`, payload);
5339
- return new requests_1.GetActiveAuthorizationsSuccessResponse(response.data);
5331
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetActiveAuthorizationsRoute()}`, payload);
5332
+ return new GetActiveAuthorizationsSuccessResponse(response.data);
5340
5333
  }
5341
5334
  catch (error) {
5342
5335
  await this.handleApiError(error);
@@ -5351,13 +5344,13 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5351
5344
  const $io0 = input => "string" === typeof input.pluginId && ("Stateless" === input.stateFunctionPreset || "Usernames" === input.stateFunctionPreset || "ClaimToken" === input.stateFunctionPreset || "CustomResponseHandler" === input.stateFunctionPreset || "CompletelyCustom" === input.stateFunctionPreset || "ClaimNumbers" === input.stateFunctionPreset || "StateTransitions" === input.stateFunctionPreset) && "boolean" === typeof input.duplicatesAllowed && "boolean" === typeof input.reuseForNonIndexed && "boolean" === typeof input.reuseForLists && "boolean" === typeof input.requiresUserInputs && ("object" === typeof input.metadata && null !== input.metadata && $io1(input.metadata)) && (undefined === input.userInputRedirect || "object" === typeof input.userInputRedirect && null !== input.userInputRedirect && $io2(input.userInputRedirect)) && (undefined === input.userInputsSchema || Array.isArray(input.userInputsSchema) && input.userInputsSchema.every(elem => "object" === typeof elem && null !== elem && $io3(elem))) && (undefined === input.claimCreatorRedirect || "object" === typeof input.claimCreatorRedirect && null !== input.claimCreatorRedirect && $io4(input.claimCreatorRedirect)) && (undefined === input.verificationCall || "object" === typeof input.verificationCall && null !== input.verificationCall && $io5(input.verificationCall)) && "boolean" === typeof input.toPublish && (undefined === input.approvedUsers || Array.isArray(input.approvedUsers) && input.approvedUsers.every(elem => "string" === typeof elem));
5352
5345
  const $io1 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.documentation || "string" === typeof input.documentation) && (undefined === input.sourceCode || "string" === typeof input.sourceCode) && (undefined === input.supportLink || "string" === typeof input.supportLink) && "string" === typeof input.createdBy;
5353
5346
  const $io2 = input => "string" === typeof input.baseUri;
5354
- const $io3 = input => "string" === typeof input.key && "string" === typeof input.label && ("string" === input.type || "number" === input.type || "boolean" === input.type || "date" === input.type || "url" === input.type) && (undefined === input.helper || "string" === typeof input.helper);
5347
+ const $io3 = input => "string" === typeof input.key && "string" === typeof input.label && ("string" === input.type || "number" === input.type || "boolean" === input.type || "url" === input.type || "date" === input.type) && (undefined === input.helper || "string" === typeof input.helper);
5355
5348
  const $io4 = input => "string" === typeof input.baseUri;
5356
5349
  const $io5 = input => "string" === typeof input.uri && ("POST" === input.method || "GET" === input.method || "PUT" === input.method || "DELETE" === input.method) && (undefined === input.passAddress || "boolean" === typeof input.passAddress) && (undefined === input.passDiscord || "boolean" === typeof input.passDiscord) && (undefined === input.passEmail || "boolean" === typeof input.passEmail) && (undefined === input.passTwitter || "boolean" === typeof input.passTwitter) && (undefined === input.passGoogle || "boolean" === typeof input.passGoogle) && (undefined === input.passGithub || "boolean" === typeof input.passGithub) && (undefined === input.passTwitch || "boolean" === typeof input.passTwitch);
5357
5350
  return "object" === typeof input && null !== input && $io0(input);
5358
5351
  };
5359
5352
  if (false === __is(input)) {
5360
- const $report = typia_1.default.validate.report(errors);
5353
+ const $report = typia.validate.report(errors);
5361
5354
  ((input, _path, _exceptionable = true) => {
5362
5355
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.pluginId || $report(_exceptionable, {
5363
5356
  path: _path + ".pluginId",
@@ -5490,7 +5483,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5490
5483
  path: _path + ".label",
5491
5484
  expected: "string",
5492
5485
  value: input.label
5493
- }), "string" === input.type || "number" === input.type || "boolean" === input.type || "date" === input.type || "url" === input.type || $report(_exceptionable, {
5486
+ }), "string" === input.type || "number" === input.type || "boolean" === input.type || "url" === input.type || "date" === input.type || $report(_exceptionable, {
5494
5487
  path: _path + ".type",
5495
5488
  expected: "(\"boolean\" | \"date\" | \"number\" | \"string\" | \"url\")",
5496
5489
  value: input.type
@@ -5562,8 +5555,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5562
5555
  if (!validateRes.success) {
5563
5556
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
5564
5557
  }
5565
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDPluginRoute()}`, payload);
5566
- return new requests_1.CreatePluginSuccessResponse(response.data);
5558
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDPluginRoute()}`, payload);
5559
+ return new CreatePluginSuccessResponse(response.data);
5567
5560
  }
5568
5561
  catch (error) {
5569
5562
  await this.handleApiError(error);
@@ -5577,14 +5570,14 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5577
5570
  const __is = input => {
5578
5571
  const $io0 = input => "string" === typeof input.pluginId && (undefined === input.duplicatesAllowed || "boolean" === typeof input.duplicatesAllowed) && (undefined === input.reuseForNonIndexed || "boolean" === typeof input.reuseForNonIndexed) && (undefined === input.reuseForLists || "boolean" === typeof input.reuseForLists) && (undefined === input.requiresUserInputs || "boolean" === typeof input.requiresUserInputs) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io1(input.metadata)) && (undefined === input.userInputsSchema || Array.isArray(input.userInputsSchema) && input.userInputsSchema.every(elem => "object" === typeof elem && null !== elem && $io2(elem))) && (undefined === input.userInputRedirect || "object" === typeof input.userInputRedirect && null !== input.userInputRedirect && $io3(input.userInputRedirect)) && (undefined === input.claimCreatorRedirect || "object" === typeof input.claimCreatorRedirect && null !== input.claimCreatorRedirect && $io4(input.claimCreatorRedirect)) && (undefined === input.verificationCall || "object" === typeof input.verificationCall && null !== input.verificationCall && $io5(input.verificationCall)) && (undefined === input.toPublish || "boolean" === typeof input.toPublish) && (undefined === input.approvedUsers || Array.isArray(input.approvedUsers) && input.approvedUsers.every(elem => "string" === typeof elem)) && (undefined === input.rotatePluginSecret || "boolean" === typeof input.rotatePluginSecret);
5579
5572
  const $io1 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image && (undefined === input.documentation || "string" === typeof input.documentation) && (undefined === input.sourceCode || "string" === typeof input.sourceCode) && (undefined === input.supportLink || "string" === typeof input.supportLink);
5580
- const $io2 = input => "string" === typeof input.key && "string" === typeof input.label && ("string" === input.type || "number" === input.type || "boolean" === input.type || "date" === input.type || "url" === input.type) && (undefined === input.helper || "string" === typeof input.helper);
5573
+ const $io2 = input => "string" === typeof input.key && "string" === typeof input.label && ("string" === input.type || "number" === input.type || "boolean" === input.type || "url" === input.type || "date" === input.type) && (undefined === input.helper || "string" === typeof input.helper);
5581
5574
  const $io3 = input => "string" === typeof input.baseUri;
5582
5575
  const $io4 = input => "string" === typeof input.baseUri;
5583
5576
  const $io5 = input => "string" === typeof input.uri && ("POST" === input.method || "GET" === input.method || "PUT" === input.method || "DELETE" === input.method) && (undefined === input.passAddress || "boolean" === typeof input.passAddress) && (undefined === input.passDiscord || "boolean" === typeof input.passDiscord) && (undefined === input.passEmail || "boolean" === typeof input.passEmail) && (undefined === input.passTwitter || "boolean" === typeof input.passTwitter) && (undefined === input.passGoogle || "boolean" === typeof input.passGoogle) && (undefined === input.passGithub || "boolean" === typeof input.passGithub) && (undefined === input.passTwitch || "boolean" === typeof input.passTwitch);
5584
5577
  return "object" === typeof input && null !== input && $io0(input);
5585
5578
  };
5586
5579
  if (false === __is(input)) {
5587
- const $report = typia_1.default.validate.report(errors);
5580
+ const $report = typia.validate.report(errors);
5588
5581
  ((input, _path, _exceptionable = true) => {
5589
5582
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.pluginId || $report(_exceptionable, {
5590
5583
  path: _path + ".pluginId",
@@ -5708,7 +5701,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5708
5701
  path: _path + ".label",
5709
5702
  expected: "string",
5710
5703
  value: input.label
5711
- }), "string" === input.type || "number" === input.type || "boolean" === input.type || "date" === input.type || "url" === input.type || $report(_exceptionable, {
5704
+ }), "string" === input.type || "number" === input.type || "boolean" === input.type || "url" === input.type || "date" === input.type || $report(_exceptionable, {
5712
5705
  path: _path + ".type",
5713
5706
  expected: "(\"boolean\" | \"date\" | \"number\" | \"string\" | \"url\")",
5714
5707
  value: input.type
@@ -5785,8 +5778,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5785
5778
  if (!validateRes.success) {
5786
5779
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
5787
5780
  }
5788
- const response = await this.axios.put(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDPluginRoute()}`, payload);
5789
- return new requests_1.UpdatePluginSuccessResponse(response.data);
5781
+ const response = await this.axios.put(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDPluginRoute()}`, payload);
5782
+ return new UpdatePluginSuccessResponse(response.data);
5790
5783
  }
5791
5784
  catch (error) {
5792
5785
  await this.handleApiError(error);
@@ -5801,7 +5794,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5801
5794
  return "object" === typeof input && null !== input && "string" === typeof input.pluginId;
5802
5795
  };
5803
5796
  if (false === __is(input)) {
5804
- const $report = typia_1.default.validate.report(errors);
5797
+ const $report = typia.validate.report(errors);
5805
5798
  ((input, _path, _exceptionable = true) => {
5806
5799
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.pluginId || $report(_exceptionable, {
5807
5800
  path: _path + ".pluginId",
@@ -5829,10 +5822,10 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5829
5822
  if (!validateRes.success) {
5830
5823
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
5831
5824
  }
5832
- const response = await this.axios.delete(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDPluginRoute()}`, {
5825
+ const response = await this.axios.delete(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDPluginRoute()}`, {
5833
5826
  data: payload
5834
5827
  });
5835
- return new requests_1.DeletePluginSuccessResponse(response.data);
5828
+ return new DeletePluginSuccessResponse(response.data);
5836
5829
  }
5837
5830
  catch (error) {
5838
5831
  await this.handleApiError(error);
@@ -5848,7 +5841,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5848
5841
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
5849
5842
  };
5850
5843
  if (false === __is(input)) {
5851
- const $report = typia_1.default.validate.report(errors);
5844
+ const $report = typia.validate.report(errors);
5852
5845
  ((input, _path, _exceptionable = true) => {
5853
5846
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.clientId || "string" === typeof input.clientId || $report(_exceptionable, {
5854
5847
  path: _path + ".clientId",
@@ -5876,8 +5869,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5876
5869
  if (!validateRes.success) {
5877
5870
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
5878
5871
  }
5879
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GetDeveloperAppsRoute()}`, payload);
5880
- return new requests_1.GetDeveloperAppSuccessResponse(response.data);
5872
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetDeveloperAppsRoute()}`, payload);
5873
+ return new GetDeveloperAppSuccessResponse(response.data);
5881
5874
  }
5882
5875
  catch (error) {
5883
5876
  await this.handleApiError(error);
@@ -5893,7 +5886,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5893
5886
  return "object" === typeof input && null !== input && $io0(input);
5894
5887
  };
5895
5888
  if (false === __is(input)) {
5896
- const $report = typia_1.default.validate.report(errors);
5889
+ const $report = typia.validate.report(errors);
5897
5890
  ((input, _path, _exceptionable = true) => {
5898
5891
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
5899
5892
  path: _path + ".name",
@@ -5941,8 +5934,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5941
5934
  if (!validateRes.success) {
5942
5935
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
5943
5936
  }
5944
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDDeveloperAppRoute()}`, payload);
5945
- return new requests_1.CreateDeveloperAppSuccessResponse(response.data);
5937
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDDeveloperAppRoute()}`, payload);
5938
+ return new CreateDeveloperAppSuccessResponse(response.data);
5946
5939
  }
5947
5940
  catch (error) {
5948
5941
  await this.handleApiError(error);
@@ -5958,7 +5951,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5958
5951
  return "object" === typeof input && null !== input && $io0(input);
5959
5952
  };
5960
5953
  if (false === __is(input)) {
5961
- const $report = typia_1.default.validate.report(errors);
5954
+ const $report = typia.validate.report(errors);
5962
5955
  ((input, _path, _exceptionable = true) => {
5963
5956
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.clientId || $report(_exceptionable, {
5964
5957
  path: _path + ".clientId",
@@ -5990,8 +5983,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
5990
5983
  if (!validateRes.success) {
5991
5984
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
5992
5985
  }
5993
- const response = await this.axios.delete(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDDeveloperAppRoute()}`, { data: payload });
5994
- return new requests_1.DeleteDeveloperAppSuccessResponse(response.data);
5986
+ const response = await this.axios.delete(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDDeveloperAppRoute()}`, { data: payload });
5987
+ return new DeleteDeveloperAppSuccessResponse(response.data);
5995
5988
  }
5996
5989
  catch (error) {
5997
5990
  await this.handleApiError(error);
@@ -6007,7 +6000,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6007
6000
  return "object" === typeof input && null !== input && $io0(input);
6008
6001
  };
6009
6002
  if (false === __is(input)) {
6010
- const $report = typia_1.default.validate.report(errors);
6003
+ const $report = typia.validate.report(errors);
6011
6004
  ((input, _path, _exceptionable = true) => {
6012
6005
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.clientId || $report(_exceptionable, {
6013
6006
  path: _path + ".clientId",
@@ -6063,8 +6056,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6063
6056
  if (!validateRes.success) {
6064
6057
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6065
6058
  }
6066
- const response = await this.axios.put(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.CRUDDeveloperAppRoute()}`, payload);
6067
- return new requests_1.UpdateDeveloperAppSuccessResponse(response.data);
6059
+ const response = await this.axios.put(`${this.BACKEND_URL}${BitBadgesApiRoutes.CRUDDeveloperAppRoute()}`, payload);
6060
+ return new UpdateDeveloperAppSuccessResponse(response.data);
6068
6061
  }
6069
6062
  catch (error) {
6070
6063
  await this.handleApiError(error);
@@ -6080,7 +6073,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6080
6073
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
6081
6074
  };
6082
6075
  if (false === __is(input)) {
6083
- const $report = typia_1.default.validate.report(errors);
6076
+ const $report = typia.validate.report(errors);
6084
6077
  ((input, _path, _exceptionable = true) => {
6085
6078
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.createdPluginsOnly || "boolean" === typeof input.createdPluginsOnly || $report(_exceptionable, {
6086
6079
  path: _path + ".createdPluginsOnly",
@@ -6112,8 +6105,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6112
6105
  if (!validateRes.success) {
6113
6106
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6114
6107
  }
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);
6108
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetPluginRoute()}`, payload);
6109
+ return new GetPluginSuccessResponse(response.data).convert(this.ConvertFunction);
6117
6110
  }
6118
6111
  catch (error) {
6119
6112
  await this.handleApiError(error);
@@ -6128,7 +6121,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6128
6121
  return "object" === typeof input && null !== input && "string" === typeof input.code;
6129
6122
  };
6130
6123
  if (false === __is(input)) {
6131
- const $report = typia_1.default.validate.report(errors);
6124
+ const $report = typia.validate.report(errors);
6132
6125
  ((input, _path, _exceptionable = true) => {
6133
6126
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.code || $report(_exceptionable, {
6134
6127
  path: _path + ".code",
@@ -6156,8 +6149,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6156
6149
  if (!validateRes.success) {
6157
6150
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6158
6151
  }
6159
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GenerateGoogleWalletPassRoute()}`, payload);
6160
- return new requests_1.GenerateGoogleWalletSuccessResponse(response.data);
6152
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GenerateGoogleWalletPassRoute()}`, payload);
6153
+ return new GenerateGoogleWalletSuccessResponse(response.data);
6161
6154
  }
6162
6155
  catch (error) {
6163
6156
  await this.handleApiError(error);
@@ -6172,7 +6165,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6172
6165
  return "object" === typeof input && null !== input && "string" === typeof input.code;
6173
6166
  };
6174
6167
  if (false === __is(input)) {
6175
- const $report = typia_1.default.validate.report(errors);
6168
+ const $report = typia.validate.report(errors);
6176
6169
  ((input, _path, _exceptionable = true) => {
6177
6170
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.code || $report(_exceptionable, {
6178
6171
  path: _path + ".code",
@@ -6200,8 +6193,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6200
6193
  if (!validateRes.success) {
6201
6194
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6202
6195
  }
6203
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GenerateAppleWalletPassRoute()}`, payload);
6204
- return new requests_1.GenerateAppleWalletPassSuccessResponse(response.data);
6196
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GenerateAppleWalletPassRoute()}`, payload);
6197
+ return new GenerateAppleWalletPassSuccessResponse(response.data);
6205
6198
  }
6206
6199
  catch (error) {
6207
6200
  await this.handleApiError(error);
@@ -6217,7 +6210,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6217
6210
  return "object" === typeof input && null !== input && $io0(input);
6218
6211
  };
6219
6212
  if (false === __is(input)) {
6220
- const $report = typia_1.default.validate.report(errors);
6213
+ const $report = typia.validate.report(errors);
6221
6214
  ((input, _path, _exceptionable = true) => {
6222
6215
  const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.uris) || $report(_exceptionable, {
6223
6216
  path: _path + ".uris",
@@ -6253,8 +6246,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6253
6246
  if (!validateRes.success) {
6254
6247
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6255
6248
  }
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);
6249
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.FetchMetadataDirectlyRoute()}`, payload);
6250
+ return new FetchMetadataDirectlySuccessResponse(response.data).convert(this.ConvertFunction);
6258
6251
  }
6259
6252
  catch (error) {
6260
6253
  await this.handleApiError(error);
@@ -6269,7 +6262,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6269
6262
  return "object" === typeof input && null !== input && true;
6270
6263
  };
6271
6264
  if (false === __is(input)) {
6272
- const $report = typia_1.default.validate.report(errors);
6265
+ const $report = typia.validate.report(errors);
6273
6266
  ((input, _path, _exceptionable = true) => {
6274
6267
  const $vo0 = (input, _path, _exceptionable = true) => true;
6275
6268
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
@@ -6293,8 +6286,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6293
6286
  if (!validateRes.success) {
6294
6287
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6295
6288
  }
6296
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.GetTokensFromFaucetRoute()}`, payload);
6297
- return new requests_1.GetTokensFromFaucetSuccessResponse(response.data);
6289
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetTokensFromFaucetRoute()}`, payload);
6290
+ return new GetTokensFromFaucetSuccessResponse(response.data);
6298
6291
  }
6299
6292
  catch (error) {
6300
6293
  await this.handleApiError(error);
@@ -6307,23 +6300,23 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6307
6300
  const errors = [];
6308
6301
  const __is = input => {
6309
6302
  const $io0 = input => undefined === input.contents || Array.isArray(input.contents) && input.contents.every(elem => "object" === typeof elem && null !== elem && $iu0(elem));
6310
- const $io1 = input => Array.isArray(input.badgeIds) && input.badgeIds.every(elem => "object" === typeof elem && null !== elem && $io2(elem)) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io3(input.metadata)) && "string" === typeof input.uri && (undefined === input.fetchedUri || "string" === typeof input.fetchedUri) && "string" === typeof input.customData && (undefined === input.toUploadToIpfs || "boolean" === typeof input.toUploadToIpfs);
6311
- const $io2 = 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);
6312
- const $io3 = 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) && $io4(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && $io5(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && $io6(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);
6313
- const $io4 = input => Object.keys(input).every(key => {
6303
+ const $io1 = 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) && $io2(input.socials)) && (undefined === input.offChainTransferabilityInfo || "object" === typeof input.offChainTransferabilityInfo && null !== input.offChainTransferabilityInfo && $io3(input.offChainTransferabilityInfo)) && (undefined === input.attributes || Array.isArray(input.attributes) && input.attributes.every(elem => "object" === typeof elem && null !== elem && $io4(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);
6304
+ const $io2 = input => Object.keys(input).every(key => {
6314
6305
  const value = input[key];
6315
6306
  if (undefined === value)
6316
6307
  return true;
6317
6308
  return "string" === typeof value;
6318
6309
  });
6319
- const $io5 = input => "string" === typeof input.host && "string" === typeof input.assignMethod;
6320
- const $io6 = 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);
6321
- const $io7 = input => (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io3(input.metadata)) && "string" === typeof input.uri && (undefined === input.fetchedUri || "string" === typeof input.fetchedUri) && "string" === typeof input.customData && (undefined === input.toUploadToIpfs || "boolean" === typeof input.toUploadToIpfs);
6310
+ const $io3 = input => "string" === typeof input.host && "string" === typeof input.assignMethod;
6311
+ const $io4 = input => (undefined === input.type || "url" === input.type || "date" === input.type) && "string" === typeof input.name && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value);
6312
+ const $io5 = input => (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io1(input.metadata)) && "string" === typeof input.uri && (undefined === input.fetchedUri || "string" === typeof input.fetchedUri) && "string" === typeof input.customData && (undefined === input.toUploadToIpfs || "boolean" === typeof input.toUploadToIpfs);
6313
+ const $io6 = input => Array.isArray(input.badgeIds) && input.badgeIds.every(elem => "object" === typeof elem && null !== elem && $io7(elem)) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io1(input.metadata)) && "string" === typeof input.uri && (undefined === input.fetchedUri || "string" === typeof input.fetchedUri) && "string" === typeof input.customData && (undefined === input.toUploadToIpfs || "boolean" === typeof input.toUploadToIpfs);
6314
+ const $io7 = 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);
6322
6315
  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);
6323
6316
  const $io9 = input => true;
6324
6317
  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);
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))
6318
+ 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@82"] && Object.keys(input).every(key => {
6319
+ if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@82"].some(prop => key === prop))
6327
6320
  return true;
6328
6321
  const value = input[key];
6329
6322
  if (undefined === value)
@@ -6333,24 +6326,24 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6333
6326
  return true;
6334
6327
  });
6335
6328
  const $iu0 = input => (() => {
6336
- if (undefined !== input.badgeIds)
6329
+ if (undefined !== input.name)
6337
6330
  return $io1(input);
6338
- else if (undefined !== input.name)
6339
- return $io3(input);
6331
+ else if (undefined !== input.badgeIds)
6332
+ return $io6(input);
6340
6333
  else if (undefined !== input.leaves)
6341
6334
  return $io8(input);
6342
6335
  else
6343
- return $io7(input);
6336
+ return $io5(input);
6344
6337
  })();
6345
6338
  return "object" === typeof input && null !== input && false === Array.isArray(input) && $io0(input);
6346
6339
  };
6347
6340
  if (false === __is(input)) {
6348
- const $report = typia_1.default.validate.report(errors);
6341
+ const $report = typia.validate.report(errors);
6349
6342
  ((input, _path, _exceptionable = true) => {
6350
- const $join = typia_1.default.validate.join;
6343
+ const $join = typia.validate.join;
6351
6344
  const $vo0 = (input, _path, _exceptionable = true) => [undefined === input.contents || (Array.isArray(input.contents) || $report(_exceptionable, {
6352
6345
  path: _path + ".contents",
6353
- expected: "(Array<iBadgeMetadataDetails<NumberType> | iMetadata<NumberType> | iCollectionMetadataDetails<NumberType> | iChallengeDetails<...>> | undefined)",
6346
+ expected: "(Array<iMetadata<NumberType> | iCollectionMetadataDetails<NumberType> | iBadgeMetadataDetails<NumberType> | iChallengeDetails<...>> | undefined)",
6354
6347
  value: input.contents
6355
6348
  })) && input.contents.map((elem, _index1) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
6356
6349
  path: _path + ".contents[" + _index1 + "]",
@@ -6362,60 +6355,10 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6362
6355
  value: elem
6363
6356
  })).every(flag => flag) || $report(_exceptionable, {
6364
6357
  path: _path + ".contents",
6365
- expected: "(Array<iBadgeMetadataDetails<NumberType> | iMetadata<NumberType> | iCollectionMetadataDetails<NumberType> | iChallengeDetails<...>> | undefined)",
6358
+ expected: "(Array<iMetadata<NumberType> | iCollectionMetadataDetails<NumberType> | iBadgeMetadataDetails<NumberType> | iChallengeDetails<...>> | undefined)",
6366
6359
  value: input.contents
6367
6360
  })].every(flag => flag);
6368
- const $vo1 = (input, _path, _exceptionable = true) => [(Array.isArray(input.badgeIds) || $report(_exceptionable, {
6369
- path: _path + ".badgeIds",
6370
- expected: "Array<iUintRange<NumberType>>",
6371
- value: input.badgeIds
6372
- })) && input.badgeIds.map((elem, _index2) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
6373
- path: _path + ".badgeIds[" + _index2 + "]",
6374
- expected: "iUintRange<NumberType>",
6375
- value: elem
6376
- })) && $vo2(elem, _path + ".badgeIds[" + _index2 + "]", true && _exceptionable) || $report(_exceptionable, {
6377
- path: _path + ".badgeIds[" + _index2 + "]",
6378
- expected: "iUintRange<NumberType>",
6379
- value: elem
6380
- })).every(flag => flag) || $report(_exceptionable, {
6381
- path: _path + ".badgeIds",
6382
- expected: "Array<iUintRange<NumberType>>",
6383
- value: input.badgeIds
6384
- }), undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
6385
- path: _path + ".metadata",
6386
- expected: "(iMetadata<NumberType> | undefined)",
6387
- value: input.metadata
6388
- })) && $vo3(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
6389
- path: _path + ".metadata",
6390
- expected: "(iMetadata<NumberType> | undefined)",
6391
- value: input.metadata
6392
- }), "string" === typeof input.uri || $report(_exceptionable, {
6393
- path: _path + ".uri",
6394
- expected: "string",
6395
- value: input.uri
6396
- }), undefined === input.fetchedUri || "string" === typeof input.fetchedUri || $report(_exceptionable, {
6397
- path: _path + ".fetchedUri",
6398
- expected: "(string | undefined)",
6399
- value: input.fetchedUri
6400
- }), "string" === typeof input.customData || $report(_exceptionable, {
6401
- path: _path + ".customData",
6402
- expected: "string",
6403
- value: input.customData
6404
- }), undefined === input.toUploadToIpfs || "boolean" === typeof input.toUploadToIpfs || $report(_exceptionable, {
6405
- path: _path + ".toUploadToIpfs",
6406
- expected: "(boolean | undefined)",
6407
- value: input.toUploadToIpfs
6408
- })].every(flag => flag);
6409
- const $vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start || $report(_exceptionable, {
6410
- path: _path + ".start",
6411
- expected: "(bigint | number | string)",
6412
- value: input.start
6413
- }), "string" === typeof input.end || "number" === typeof input.end || "bigint" === typeof input.end || $report(_exceptionable, {
6414
- path: _path + ".end",
6415
- expected: "(bigint | number | string)",
6416
- value: input.end
6417
- })].every(flag => flag);
6418
- const $vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
6361
+ const $vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
6419
6362
  path: _path + ".name",
6420
6363
  expected: "string",
6421
6364
  value: input.name
@@ -6443,8 +6386,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6443
6386
  path: _path + ".tags",
6444
6387
  expected: "(Array<string> | undefined)",
6445
6388
  value: input.tags
6446
- })) && input.tags.map((elem, _index3) => "string" === typeof elem || $report(_exceptionable, {
6447
- path: _path + ".tags[" + _index3 + "]",
6389
+ })) && input.tags.map((elem, _index2) => "string" === typeof elem || $report(_exceptionable, {
6390
+ path: _path + ".tags[" + _index2 + "]",
6448
6391
  expected: "string",
6449
6392
  value: elem
6450
6393
  })).every(flag => flag) || $report(_exceptionable, {
@@ -6455,7 +6398,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6455
6398
  path: _path + ".socials",
6456
6399
  expected: "(__type | undefined)",
6457
6400
  value: input.socials
6458
- })) && $vo4(input.socials, _path + ".socials", true && _exceptionable) || $report(_exceptionable, {
6401
+ })) && $vo2(input.socials, _path + ".socials", true && _exceptionable) || $report(_exceptionable, {
6459
6402
  path: _path + ".socials",
6460
6403
  expected: "(__type | undefined)",
6461
6404
  value: input.socials
@@ -6463,7 +6406,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6463
6406
  path: _path + ".offChainTransferabilityInfo",
6464
6407
  expected: "(__type.o1 | undefined)",
6465
6408
  value: input.offChainTransferabilityInfo
6466
- })) && $vo5(input.offChainTransferabilityInfo, _path + ".offChainTransferabilityInfo", true && _exceptionable) || $report(_exceptionable, {
6409
+ })) && $vo3(input.offChainTransferabilityInfo, _path + ".offChainTransferabilityInfo", true && _exceptionable) || $report(_exceptionable, {
6467
6410
  path: _path + ".offChainTransferabilityInfo",
6468
6411
  expected: "(__type.o1 | undefined)",
6469
6412
  value: input.offChainTransferabilityInfo
@@ -6471,12 +6414,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6471
6414
  path: _path + ".attributes",
6472
6415
  expected: "(Array<__type> | undefined)",
6473
6416
  value: input.attributes
6474
- })) && input.attributes.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
6475
- path: _path + ".attributes[" + _index4 + "]",
6417
+ })) && input.attributes.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
6418
+ path: _path + ".attributes[" + _index3 + "]",
6476
6419
  expected: "__type.o2",
6477
6420
  value: elem
6478
- })) && $vo6(elem, _path + ".attributes[" + _index4 + "]", true && _exceptionable) || $report(_exceptionable, {
6479
- path: _path + ".attributes[" + _index4 + "]",
6421
+ })) && $vo4(elem, _path + ".attributes[" + _index3 + "]", true && _exceptionable) || $report(_exceptionable, {
6422
+ path: _path + ".attributes[" + _index3 + "]",
6480
6423
  expected: "__type.o2",
6481
6424
  value: elem
6482
6425
  })).every(flag => flag) || $report(_exceptionable, {
@@ -6496,7 +6439,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6496
6439
  expected: "(boolean | undefined)",
6497
6440
  value: input._isUpdating
6498
6441
  })].every(flag => flag);
6499
- const $vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
6442
+ const $vo2 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
6500
6443
  const value = input[key];
6501
6444
  if (undefined === value)
6502
6445
  return true;
@@ -6506,7 +6449,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6506
6449
  value: value
6507
6450
  });
6508
6451
  }).every(flag => flag)].every(flag => flag);
6509
- const $vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || $report(_exceptionable, {
6452
+ const $vo3 = (input, _path, _exceptionable = true) => ["string" === typeof input.host || $report(_exceptionable, {
6510
6453
  path: _path + ".host",
6511
6454
  expected: "string",
6512
6455
  value: input.host
@@ -6515,7 +6458,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6515
6458
  expected: "string",
6516
6459
  value: input.assignMethod
6517
6460
  })].every(flag => flag);
6518
- const $vo6 = (input, _path, _exceptionable = true) => [undefined === input.type || "date" === input.type || "url" === input.type || $report(_exceptionable, {
6461
+ const $vo4 = (input, _path, _exceptionable = true) => [undefined === input.type || "url" === input.type || "date" === input.type || $report(_exceptionable, {
6519
6462
  path: _path + ".type",
6520
6463
  expected: "(\"date\" | \"url\" | undefined)",
6521
6464
  value: input.type
@@ -6528,11 +6471,52 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6528
6471
  expected: "(boolean | number | string)",
6529
6472
  value: input.value
6530
6473
  })].every(flag => flag);
6531
- const $vo7 = (input, _path, _exceptionable = true) => [undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
6474
+ const $vo5 = (input, _path, _exceptionable = true) => [undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
6475
+ path: _path + ".metadata",
6476
+ expected: "(iMetadata<NumberType> | undefined)",
6477
+ value: input.metadata
6478
+ })) && $vo1(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
6479
+ path: _path + ".metadata",
6480
+ expected: "(iMetadata<NumberType> | undefined)",
6481
+ value: input.metadata
6482
+ }), "string" === typeof input.uri || $report(_exceptionable, {
6483
+ path: _path + ".uri",
6484
+ expected: "string",
6485
+ value: input.uri
6486
+ }), undefined === input.fetchedUri || "string" === typeof input.fetchedUri || $report(_exceptionable, {
6487
+ path: _path + ".fetchedUri",
6488
+ expected: "(string | undefined)",
6489
+ value: input.fetchedUri
6490
+ }), "string" === typeof input.customData || $report(_exceptionable, {
6491
+ path: _path + ".customData",
6492
+ expected: "string",
6493
+ value: input.customData
6494
+ }), undefined === input.toUploadToIpfs || "boolean" === typeof input.toUploadToIpfs || $report(_exceptionable, {
6495
+ path: _path + ".toUploadToIpfs",
6496
+ expected: "(boolean | undefined)",
6497
+ value: input.toUploadToIpfs
6498
+ })].every(flag => flag);
6499
+ const $vo6 = (input, _path, _exceptionable = true) => [(Array.isArray(input.badgeIds) || $report(_exceptionable, {
6500
+ path: _path + ".badgeIds",
6501
+ expected: "Array<iUintRange<NumberType>>",
6502
+ value: input.badgeIds
6503
+ })) && input.badgeIds.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
6504
+ path: _path + ".badgeIds[" + _index4 + "]",
6505
+ expected: "iUintRange<NumberType>",
6506
+ value: elem
6507
+ })) && $vo7(elem, _path + ".badgeIds[" + _index4 + "]", true && _exceptionable) || $report(_exceptionable, {
6508
+ path: _path + ".badgeIds[" + _index4 + "]",
6509
+ expected: "iUintRange<NumberType>",
6510
+ value: elem
6511
+ })).every(flag => flag) || $report(_exceptionable, {
6512
+ path: _path + ".badgeIds",
6513
+ expected: "Array<iUintRange<NumberType>>",
6514
+ value: input.badgeIds
6515
+ }), undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
6532
6516
  path: _path + ".metadata",
6533
6517
  expected: "(iMetadata<NumberType> | undefined)",
6534
6518
  value: input.metadata
6535
- })) && $vo3(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
6519
+ })) && $vo1(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
6536
6520
  path: _path + ".metadata",
6537
6521
  expected: "(iMetadata<NumberType> | undefined)",
6538
6522
  value: input.metadata
@@ -6553,6 +6537,15 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6553
6537
  expected: "(boolean | undefined)",
6554
6538
  value: input.toUploadToIpfs
6555
6539
  })].every(flag => flag);
6540
+ const $vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.start || "number" === typeof input.start || "bigint" === typeof input.start || $report(_exceptionable, {
6541
+ path: _path + ".start",
6542
+ expected: "(bigint | number | string)",
6543
+ value: input.start
6544
+ }), "string" === typeof input.end || "number" === typeof input.end || "bigint" === typeof input.end || $report(_exceptionable, {
6545
+ path: _path + ".end",
6546
+ expected: "(bigint | number | string)",
6547
+ value: input.end
6548
+ })].every(flag => flag);
6556
6549
  const $vo8 = (input, _path, _exceptionable = true) => [(Array.isArray(input.leaves) || $report(_exceptionable, {
6557
6550
  path: _path + ".leaves",
6558
6551
  expected: "Array<string>",
@@ -6676,12 +6669,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6676
6669
  path: _path + ".length",
6677
6670
  expected: "number",
6678
6671
  value: input.length
6679
- }), "Uint8Array" === input["__@toStringTag@182"] || $report(_exceptionable, {
6680
- path: _path + "[\"__@toStringTag@182\"]",
6672
+ }), "Uint8Array" === input["__@toStringTag@82"] || $report(_exceptionable, {
6673
+ path: _path + "[\"__@toStringTag@82\"]",
6681
6674
  expected: "\"Uint8Array\"",
6682
- value: input["__@toStringTag@182"]
6675
+ value: input["__@toStringTag@82"]
6683
6676
  }), false === _exceptionable || Object.keys(input).map(key => {
6684
- if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@182"].some(prop => key === prop))
6677
+ if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@82"].some(prop => key === prop))
6685
6678
  return true;
6686
6679
  const value = input[key];
6687
6680
  if (undefined === value)
@@ -6695,14 +6688,14 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6695
6688
  return true;
6696
6689
  }).every(flag => flag)].every(flag => flag);
6697
6690
  const $vu0 = (input, _path, _exceptionable = true) => (() => {
6698
- if (undefined !== input.badgeIds)
6691
+ if (undefined !== input.name)
6699
6692
  return $vo1(input, _path, true && _exceptionable);
6700
- else if (undefined !== input.name)
6701
- return $vo3(input, _path, true && _exceptionable);
6693
+ else if (undefined !== input.badgeIds)
6694
+ return $vo6(input, _path, true && _exceptionable);
6702
6695
  else if (undefined !== input.leaves)
6703
6696
  return $vo8(input, _path, true && _exceptionable);
6704
6697
  else
6705
- return $vo7(input, _path, true && _exceptionable);
6698
+ return $vo5(input, _path, true && _exceptionable);
6706
6699
  })();
6707
6700
  return ("object" === typeof input && null !== input && false === Array.isArray(input) || $report(true, {
6708
6701
  path: _path + "",
@@ -6725,8 +6718,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6725
6718
  if (!validateRes.success) {
6726
6719
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
6727
6720
  }
6728
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.AddToIpfsRoute()}`, payload);
6729
- return new requests_1.AddToIpfsSuccessResponse(response.data);
6721
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.AddToIpfsRoute()}`, payload);
6722
+ return new AddToIpfsSuccessResponse(response.data);
6730
6723
  }
6731
6724
  catch (error) {
6732
6725
  await this.handleApiError(error);
@@ -6744,8 +6737,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6744
6737
  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);
6745
6738
  const $io4 = input => true;
6746
6739
  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);
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))
6740
+ 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@82"] && Object.keys(input).every(key => {
6741
+ if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@82"].some(prop => key === prop))
6749
6742
  return true;
6750
6743
  const value = input[key];
6751
6744
  if (undefined === value)
@@ -6771,13 +6764,13 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6771
6764
  return "string" === typeof value;
6772
6765
  });
6773
6766
  const $io19 = input => "string" === typeof input.host && "string" === typeof input.assignMethod;
6774
- const $io20 = 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);
6767
+ const $io20 = input => (undefined === input.type || "url" === input.type || "date" === input.type) && "string" === typeof input.name && ("string" === typeof input.value || "number" === typeof input.value || "boolean" === typeof input.value);
6775
6768
  return "object" === typeof input && null !== input && $io0(input);
6776
6769
  };
6777
6770
  if (false === __is(input)) {
6778
- const $report = typia_1.default.validate.report(errors);
6771
+ const $report = typia.validate.report(errors);
6779
6772
  ((input, _path, _exceptionable = true) => {
6780
- const $join = typia_1.default.validate.join;
6773
+ const $join = typia.validate.join;
6781
6774
  const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.approvalDetails) || $report(_exceptionable, {
6782
6775
  path: _path + ".approvalDetails",
6783
6776
  expected: "Array<__type>",
@@ -6960,12 +6953,12 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
6960
6953
  path: _path + ".length",
6961
6954
  expected: "number",
6962
6955
  value: input.length
6963
- }), "Uint8Array" === input["__@toStringTag@182"] || $report(_exceptionable, {
6964
- path: _path + "[\"__@toStringTag@182\"]",
6956
+ }), "Uint8Array" === input["__@toStringTag@82"] || $report(_exceptionable, {
6957
+ path: _path + "[\"__@toStringTag@82\"]",
6965
6958
  expected: "\"Uint8Array\"",
6966
- value: input["__@toStringTag@182"]
6959
+ value: input["__@toStringTag@82"]
6967
6960
  }), false === _exceptionable || Object.keys(input).map(key => {
6968
- if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@182"].some(prop => key === prop))
6961
+ if (["BYTES_PER_ELEMENT", "buffer", "byteLength", "byteOffset", "length", "__@toStringTag@82"].some(prop => key === prop))
6969
6962
  return true;
6970
6963
  const value = input[key];
6971
6964
  if (undefined === value)
@@ -7352,7 +7345,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7352
7345
  expected: "string",
7353
7346
  value: input.assignMethod
7354
7347
  })].every(flag => flag);
7355
- const $vo20 = (input, _path, _exceptionable = true) => [undefined === input.type || "date" === input.type || "url" === input.type || $report(_exceptionable, {
7348
+ const $vo20 = (input, _path, _exceptionable = true) => [undefined === input.type || "url" === input.type || "date" === input.type || $report(_exceptionable, {
7356
7349
  path: _path + ".type",
7357
7350
  expected: "(\"date\" | \"url\" | undefined)",
7358
7351
  value: input.type
@@ -7386,8 +7379,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7386
7379
  if (!validateRes.success) {
7387
7380
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
7388
7381
  }
7389
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.AddApprovalDetailsToOffChainStorageRoute()}`, payload);
7390
- return new requests_1.AddApprovalDetailsToOffChainStorageSuccessResponse(response.data);
7382
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.AddApprovalDetailsToOffChainStorageRoute()}`, payload);
7383
+ return new AddApprovalDetailsToOffChainStorageSuccessResponse(response.data);
7391
7384
  }
7392
7385
  catch (error) {
7393
7386
  await this.handleApiError(error);
@@ -7403,7 +7396,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7403
7396
  return "object" === typeof input && null !== input && $io0(input);
7404
7397
  };
7405
7398
  if (false === __is(input)) {
7406
- const $report = typia_1.default.validate.report(errors);
7399
+ const $report = typia.validate.report(errors);
7407
7400
  ((input, _path, _exceptionable = true) => {
7408
7401
  const $vo0 = (input, _path, _exceptionable = true) => ["Bitcoin" === input.chain || "Ethereum" === input.chain || "Cosmos" === input.chain || "Solana" === input.chain || "Unknown" === input.chain || $report(_exceptionable, {
7409
7402
  path: _path + ".chain",
@@ -7435,8 +7428,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7435
7428
  if (!validateRes.success) {
7436
7429
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
7437
7430
  }
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);
7431
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.GetSignInChallengeRoute()}`, payload);
7432
+ return new GetSignInChallengeSuccessResponse(response.data).convert(this.ConvertFunction);
7440
7433
  }
7441
7434
  catch (error) {
7442
7435
  await this.handleApiError(error);
@@ -7452,7 +7445,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7452
7445
  return "object" === typeof input && null !== input && $io0(input);
7453
7446
  };
7454
7447
  if (false === __is(input)) {
7455
- const $report = typia_1.default.validate.report(errors);
7448
+ const $report = typia.validate.report(errors);
7456
7449
  ((input, _path, _exceptionable = true) => {
7457
7450
  const $vo0 = (input, _path, _exceptionable = true) => ["string" === typeof input.message || $report(_exceptionable, {
7458
7451
  path: _path + ".message",
@@ -7488,8 +7481,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7488
7481
  if (!validateRes.success) {
7489
7482
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
7490
7483
  }
7491
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.VerifySignInRoute()}`, payload);
7492
- return new requests_1.VerifySignInSuccessResponse(response.data);
7484
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.VerifySignInRoute()}`, payload);
7485
+ return new VerifySignInSuccessResponse(response.data);
7493
7486
  }
7494
7487
  catch (error) {
7495
7488
  await this.handleApiError(error);
@@ -7505,7 +7498,7 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7505
7498
  return "object" === typeof input && null !== input && $io0(input);
7506
7499
  };
7507
7500
  if (false === __is(input)) {
7508
- const $report = typia_1.default.validate.report(errors);
7501
+ const $report = typia.validate.report(errors);
7509
7502
  ((input, _path, _exceptionable = true) => {
7510
7503
  const $vo0 = (input, _path, _exceptionable = true) => ["boolean" === typeof input.signOutBlockin || $report(_exceptionable, {
7511
7504
  path: _path + ".signOutBlockin",
@@ -7553,8 +7546,8 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7553
7546
  if (!validateRes.success) {
7554
7547
  throw new Error('Invalid payload: ' + JSON.stringify(validateRes.errors));
7555
7548
  }
7556
- const response = await this.axios.post(`${this.BACKEND_URL}${routes_1.BitBadgesApiRoutes.SignOutRoute()}`, payload);
7557
- return new requests_1.SignOutSuccessResponse(response.data);
7549
+ const response = await this.axios.post(`${this.BACKEND_URL}${BitBadgesApiRoutes.SignOutRoute()}`, payload);
7550
+ return new SignOutSuccessResponse(response.data);
7558
7551
  }
7559
7552
  catch (error) {
7560
7553
  await this.handleApiError(error);
@@ -7562,6 +7555,5 @@ class BitBadgesAdminAPI extends BitBadgesAPI {
7562
7555
  }
7563
7556
  }
7564
7557
  }
7565
- exports.BitBadgesAdminAPI = BitBadgesAdminAPI;
7566
- exports.default = BitBadgesAPI;
7558
+ export default BitBadgesAPI;
7567
7559
  //# sourceMappingURL=BitBadgesApi.js.map