bitbadgesjs-sdk 0.7.13 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (483) hide show
  1. package/dist/cjs/api-indexer/BitBadgesAddressList.d.ts +11 -1
  2. package/dist/cjs/api-indexer/BitBadgesAddressList.d.ts.map +1 -1
  3. package/dist/cjs/api-indexer/BitBadgesAddressList.js +251 -198
  4. package/dist/cjs/api-indexer/BitBadgesAddressList.js.map +1 -1
  5. package/dist/cjs/api-indexer/BitBadgesApi.d.ts +48 -21
  6. package/dist/cjs/api-indexer/BitBadgesApi.d.ts.map +1 -1
  7. package/dist/cjs/api-indexer/BitBadgesApi.js +9780 -8628
  8. package/dist/cjs/api-indexer/BitBadgesApi.js.map +1 -1
  9. package/dist/cjs/api-indexer/BitBadgesCollection.d.ts +5 -7
  10. package/dist/cjs/api-indexer/BitBadgesCollection.d.ts.map +1 -1
  11. package/dist/cjs/api-indexer/BitBadgesCollection.js +185 -140
  12. package/dist/cjs/api-indexer/BitBadgesCollection.js.map +1 -1
  13. package/dist/cjs/api-indexer/BitBadgesUserInfo.d.ts +18 -4
  14. package/dist/cjs/api-indexer/BitBadgesUserInfo.d.ts.map +1 -1
  15. package/dist/cjs/api-indexer/BitBadgesUserInfo.js +132 -38
  16. package/dist/cjs/api-indexer/BitBadgesUserInfo.js.map +1 -1
  17. package/dist/cjs/api-indexer/docs/activity.d.ts +1 -1
  18. package/dist/cjs/api-indexer/docs/activity.d.ts.map +1 -1
  19. package/dist/cjs/api-indexer/docs/activity.js +1 -1
  20. package/dist/cjs/api-indexer/docs/activity.js.map +1 -1
  21. package/dist/cjs/api-indexer/docs/interfaces.d.ts.map +1 -1
  22. package/dist/cjs/api-indexer/docs/interfaces.js.map +1 -1
  23. package/dist/cjs/api-indexer/metadata/badgeMetadata.d.ts +4 -4
  24. package/dist/cjs/api-indexer/metadata/badgeMetadata.d.ts.map +1 -1
  25. package/dist/cjs/api-indexer/metadata/badgeMetadata.js +17 -7
  26. package/dist/cjs/api-indexer/metadata/badgeMetadata.js.map +1 -1
  27. package/dist/cjs/api-indexer/metadata/metadataIds.d.ts.map +1 -1
  28. package/dist/cjs/api-indexer/requests/collections.d.ts +1 -1
  29. package/dist/cjs/api-indexer/requests/collections.d.ts.map +1 -1
  30. package/dist/cjs/api-indexer/requests/index.d.ts +1 -0
  31. package/dist/cjs/api-indexer/requests/index.d.ts.map +1 -1
  32. package/dist/cjs/api-indexer/requests/index.js +1 -0
  33. package/dist/cjs/api-indexer/requests/index.js.map +1 -1
  34. package/dist/cjs/api-indexer/requests/requests.d.ts +101 -39
  35. package/dist/cjs/api-indexer/requests/requests.d.ts.map +1 -1
  36. package/dist/cjs/api-indexer/requests/requests.js +106 -40
  37. package/dist/cjs/api-indexer/requests/requests.js.map +1 -1
  38. package/dist/cjs/api-indexer/requests/routes.d.ts +30 -3
  39. package/dist/cjs/api-indexer/requests/routes.d.ts.map +1 -1
  40. package/dist/cjs/api-indexer/requests/routes.js +30 -3
  41. package/dist/cjs/api-indexer/requests/routes.js.map +1 -1
  42. package/dist/cjs/api-indexer/requests/wrappers.d.ts +296 -0
  43. package/dist/cjs/api-indexer/requests/wrappers.d.ts.map +1 -0
  44. package/dist/cjs/api-indexer/requests/wrappers.js +304 -0
  45. package/dist/cjs/api-indexer/requests/wrappers.js.map +1 -0
  46. package/dist/cjs/attestations/attestations.d.ts.map +1 -1
  47. package/dist/cjs/chain-drivers/verifySig.d.ts.map +1 -1
  48. package/dist/cjs/common/base.d.ts.map +1 -1
  49. package/dist/cjs/common/string-numbers.d.ts.map +1 -1
  50. package/dist/cjs/common/string-numbers.js.map +1 -1
  51. package/dist/cjs/core/addressLists.d.ts.map +1 -1
  52. package/dist/cjs/core/aliases.d.ts +3 -3
  53. package/dist/cjs/core/aliases.d.ts.map +1 -1
  54. package/dist/cjs/core/approval-utils.d.ts.map +1 -1
  55. package/dist/cjs/core/approvals.js +17 -7
  56. package/dist/cjs/core/approvals.js.map +1 -1
  57. package/dist/cjs/core/balances.d.ts.map +1 -1
  58. package/dist/cjs/core/balances.js +17 -7
  59. package/dist/cjs/core/balances.js.map +1 -1
  60. package/dist/cjs/core/blockin.d.ts.map +1 -1
  61. package/dist/cjs/core/misc.js +17 -7
  62. package/dist/cjs/core/misc.js.map +1 -1
  63. package/dist/cjs/core/permission-utils.d.ts.map +1 -1
  64. package/dist/cjs/core/permissions.js +17 -7
  65. package/dist/cjs/core/permissions.js.map +1 -1
  66. package/dist/cjs/core/transfers.d.ts.map +1 -1
  67. package/dist/cjs/core/transfers.js +17 -7
  68. package/dist/cjs/core/transfers.js.map +1 -1
  69. package/dist/cjs/core/uintRanges.js +17 -7
  70. package/dist/cjs/core/uintRanges.js.map +1 -1
  71. package/dist/cjs/core/userBalances.js +17 -7
  72. package/dist/cjs/core/userBalances.js.map +1 -1
  73. package/dist/cjs/index.js +17 -7
  74. package/dist/cjs/index.js.map +1 -1
  75. package/dist/cjs/proto/bitcoin/web3_pb.d.ts +1 -1
  76. package/dist/cjs/proto/bitcoin/web3_pb.d.ts.map +1 -1
  77. package/dist/cjs/proto/cosmos/app/index.js +17 -7
  78. package/dist/cjs/proto/cosmos/app/index.js.map +1 -1
  79. package/dist/cjs/proto/cosmos/app/runtime/index.js +17 -7
  80. package/dist/cjs/proto/cosmos/app/runtime/index.js.map +1 -1
  81. package/dist/cjs/proto/cosmos/auth/index.js +17 -7
  82. package/dist/cjs/proto/cosmos/auth/index.js.map +1 -1
  83. package/dist/cjs/proto/cosmos/auth/module/index.js +17 -7
  84. package/dist/cjs/proto/cosmos/auth/module/index.js.map +1 -1
  85. package/dist/cjs/proto/cosmos/auth/v1beta1/query_pb.d.ts +2 -2
  86. package/dist/cjs/proto/cosmos/auth/v1beta1/query_pb.d.ts.map +1 -1
  87. package/dist/cjs/proto/cosmos/authz/index.js +17 -7
  88. package/dist/cjs/proto/cosmos/authz/index.js.map +1 -1
  89. package/dist/cjs/proto/cosmos/authz/module/index.js +17 -7
  90. package/dist/cjs/proto/cosmos/authz/module/index.js.map +1 -1
  91. package/dist/cjs/proto/cosmos/autocli/index.js +17 -7
  92. package/dist/cjs/proto/cosmos/autocli/index.js.map +1 -1
  93. package/dist/cjs/proto/cosmos/bank/index.js +17 -7
  94. package/dist/cjs/proto/cosmos/bank/index.js.map +1 -1
  95. package/dist/cjs/proto/cosmos/bank/module/index.js +17 -7
  96. package/dist/cjs/proto/cosmos/bank/module/index.js.map +1 -1
  97. package/dist/cjs/proto/cosmos/base/abci/index.js +17 -7
  98. package/dist/cjs/proto/cosmos/base/abci/index.js.map +1 -1
  99. package/dist/cjs/proto/cosmos/base/abci/v1beta1/abci_pb.d.ts +2 -2
  100. package/dist/cjs/proto/cosmos/base/abci/v1beta1/abci_pb.d.ts.map +1 -1
  101. package/dist/cjs/proto/cosmos/base/index.js +17 -7
  102. package/dist/cjs/proto/cosmos/base/index.js.map +1 -1
  103. package/dist/cjs/proto/cosmos/base/kv/index.js +17 -7
  104. package/dist/cjs/proto/cosmos/base/kv/index.js.map +1 -1
  105. package/dist/cjs/proto/cosmos/base/kv/v1beta1/kv_pb.d.ts +2 -2
  106. package/dist/cjs/proto/cosmos/base/kv/v1beta1/kv_pb.d.ts.map +1 -1
  107. package/dist/cjs/proto/cosmos/base/node/index.js +17 -7
  108. package/dist/cjs/proto/cosmos/base/node/index.js.map +1 -1
  109. package/dist/cjs/proto/cosmos/base/query/index.js +17 -7
  110. package/dist/cjs/proto/cosmos/base/query/index.js.map +1 -1
  111. package/dist/cjs/proto/cosmos/base/query/v1beta1/pagination_pb.d.ts +2 -2
  112. package/dist/cjs/proto/cosmos/base/query/v1beta1/pagination_pb.d.ts.map +1 -1
  113. package/dist/cjs/proto/cosmos/base/reflection/index.js +17 -7
  114. package/dist/cjs/proto/cosmos/base/reflection/index.js.map +1 -1
  115. package/dist/cjs/proto/cosmos/base/snapshots/index.js +17 -7
  116. package/dist/cjs/proto/cosmos/base/snapshots/index.js.map +1 -1
  117. package/dist/cjs/proto/cosmos/base/snapshots/v1beta1/snapshot_pb.d.ts +6 -6
  118. package/dist/cjs/proto/cosmos/base/snapshots/v1beta1/snapshot_pb.d.ts.map +1 -1
  119. package/dist/cjs/proto/cosmos/base/store/index.js +17 -7
  120. package/dist/cjs/proto/cosmos/base/store/index.js.map +1 -1
  121. package/dist/cjs/proto/cosmos/base/store/v1beta1/commit_info_pb.d.ts +1 -1
  122. package/dist/cjs/proto/cosmos/base/store/v1beta1/commit_info_pb.d.ts.map +1 -1
  123. package/dist/cjs/proto/cosmos/base/store/v1beta1/listening_pb.d.ts +2 -2
  124. package/dist/cjs/proto/cosmos/base/store/v1beta1/listening_pb.d.ts.map +1 -1
  125. package/dist/cjs/proto/cosmos/base/store/v1beta1/snapshot_pb.d.ts +2 -2
  126. package/dist/cjs/proto/cosmos/base/store/v1beta1/snapshot_pb.d.ts.map +1 -1
  127. package/dist/cjs/proto/cosmos/base/tendermint/index.js +17 -7
  128. package/dist/cjs/proto/cosmos/base/tendermint/index.js.map +1 -1
  129. package/dist/cjs/proto/cosmos/base/tendermint/v1beta1/query_pb.d.ts +5 -5
  130. package/dist/cjs/proto/cosmos/base/tendermint/v1beta1/query_pb.d.ts.map +1 -1
  131. package/dist/cjs/proto/cosmos/base/tendermint/v1beta1/types_pb.d.ts +8 -8
  132. package/dist/cjs/proto/cosmos/base/tendermint/v1beta1/types_pb.d.ts.map +1 -1
  133. package/dist/cjs/proto/cosmos/capability/index.js +17 -7
  134. package/dist/cjs/proto/cosmos/capability/index.js.map +1 -1
  135. package/dist/cjs/proto/cosmos/capability/module/index.js +17 -7
  136. package/dist/cjs/proto/cosmos/capability/module/index.js.map +1 -1
  137. package/dist/cjs/proto/cosmos/consensus/index.js +17 -7
  138. package/dist/cjs/proto/cosmos/consensus/index.js.map +1 -1
  139. package/dist/cjs/proto/cosmos/consensus/module/index.js +17 -7
  140. package/dist/cjs/proto/cosmos/consensus/module/index.js.map +1 -1
  141. package/dist/cjs/proto/cosmos/crisis/index.js +17 -7
  142. package/dist/cjs/proto/cosmos/crisis/index.js.map +1 -1
  143. package/dist/cjs/proto/cosmos/crisis/module/index.js +17 -7
  144. package/dist/cjs/proto/cosmos/crisis/module/index.js.map +1 -1
  145. package/dist/cjs/proto/cosmos/crypto/ed25519/keys_pb.d.ts +2 -2
  146. package/dist/cjs/proto/cosmos/crypto/ed25519/keys_pb.d.ts.map +1 -1
  147. package/dist/cjs/proto/cosmos/crypto/hd/index.js +17 -7
  148. package/dist/cjs/proto/cosmos/crypto/hd/index.js.map +1 -1
  149. package/dist/cjs/proto/cosmos/crypto/index.js +17 -7
  150. package/dist/cjs/proto/cosmos/crypto/index.js.map +1 -1
  151. package/dist/cjs/proto/cosmos/crypto/keyring/index.js +17 -7
  152. package/dist/cjs/proto/cosmos/crypto/keyring/index.js.map +1 -1
  153. package/dist/cjs/proto/cosmos/crypto/multisig/index.js +17 -7
  154. package/dist/cjs/proto/cosmos/crypto/multisig/index.js.map +1 -1
  155. package/dist/cjs/proto/cosmos/crypto/multisig/v1beta1/multisig_pb.d.ts +1 -1
  156. package/dist/cjs/proto/cosmos/crypto/multisig/v1beta1/multisig_pb.d.ts.map +1 -1
  157. package/dist/cjs/proto/cosmos/crypto/secp256k1/keys_pb.d.ts +2 -2
  158. package/dist/cjs/proto/cosmos/crypto/secp256k1/keys_pb.d.ts.map +1 -1
  159. package/dist/cjs/proto/cosmos/crypto/secp256r1/keys_pb.d.ts +2 -2
  160. package/dist/cjs/proto/cosmos/crypto/secp256r1/keys_pb.d.ts.map +1 -1
  161. package/dist/cjs/proto/cosmos/distribution/index.js +17 -7
  162. package/dist/cjs/proto/cosmos/distribution/index.js.map +1 -1
  163. package/dist/cjs/proto/cosmos/distribution/module/index.js +17 -7
  164. package/dist/cjs/proto/cosmos/distribution/module/index.js.map +1 -1
  165. package/dist/cjs/proto/cosmos/evidence/index.js +17 -7
  166. package/dist/cjs/proto/cosmos/evidence/index.js.map +1 -1
  167. package/dist/cjs/proto/cosmos/evidence/module/index.js +17 -7
  168. package/dist/cjs/proto/cosmos/evidence/module/index.js.map +1 -1
  169. package/dist/cjs/proto/cosmos/evidence/v1beta1/query_pb.d.ts +1 -1
  170. package/dist/cjs/proto/cosmos/evidence/v1beta1/query_pb.d.ts.map +1 -1
  171. package/dist/cjs/proto/cosmos/evidence/v1beta1/tx_pb.d.ts +1 -1
  172. package/dist/cjs/proto/cosmos/evidence/v1beta1/tx_pb.d.ts.map +1 -1
  173. package/dist/cjs/proto/cosmos/feegrant/index.js +17 -7
  174. package/dist/cjs/proto/cosmos/feegrant/index.js.map +1 -1
  175. package/dist/cjs/proto/cosmos/feegrant/module/index.js +17 -7
  176. package/dist/cjs/proto/cosmos/feegrant/module/index.js.map +1 -1
  177. package/dist/cjs/proto/cosmos/genutil/index.js +17 -7
  178. package/dist/cjs/proto/cosmos/genutil/index.js.map +1 -1
  179. package/dist/cjs/proto/cosmos/genutil/module/index.js +17 -7
  180. package/dist/cjs/proto/cosmos/genutil/module/index.js.map +1 -1
  181. package/dist/cjs/proto/cosmos/gov/index.js +17 -7
  182. package/dist/cjs/proto/cosmos/gov/index.js.map +1 -1
  183. package/dist/cjs/proto/cosmos/gov/module/index.js +17 -7
  184. package/dist/cjs/proto/cosmos/gov/module/index.js.map +1 -1
  185. package/dist/cjs/proto/cosmos/gov/v1beta1/gov_pb.d.ts +3 -3
  186. package/dist/cjs/proto/cosmos/gov/v1beta1/gov_pb.d.ts.map +1 -1
  187. package/dist/cjs/proto/cosmos/group/index.js +17 -7
  188. package/dist/cjs/proto/cosmos/group/index.js.map +1 -1
  189. package/dist/cjs/proto/cosmos/group/module/index.js +17 -7
  190. package/dist/cjs/proto/cosmos/group/module/index.js.map +1 -1
  191. package/dist/cjs/proto/cosmos/index.js +17 -7
  192. package/dist/cjs/proto/cosmos/index.js.map +1 -1
  193. package/dist/cjs/proto/cosmos/mint/index.js +17 -7
  194. package/dist/cjs/proto/cosmos/mint/index.js.map +1 -1
  195. package/dist/cjs/proto/cosmos/mint/module/index.js +17 -7
  196. package/dist/cjs/proto/cosmos/mint/module/index.js.map +1 -1
  197. package/dist/cjs/proto/cosmos/mint/v1beta1/query_pb.d.ts +2 -2
  198. package/dist/cjs/proto/cosmos/mint/v1beta1/query_pb.d.ts.map +1 -1
  199. package/dist/cjs/proto/cosmos/nft/index.js +17 -7
  200. package/dist/cjs/proto/cosmos/nft/index.js.map +1 -1
  201. package/dist/cjs/proto/cosmos/nft/module/index.js +17 -7
  202. package/dist/cjs/proto/cosmos/nft/module/index.js.map +1 -1
  203. package/dist/cjs/proto/cosmos/orm/index.js +17 -7
  204. package/dist/cjs/proto/cosmos/orm/index.js.map +1 -1
  205. package/dist/cjs/proto/cosmos/orm/module/index.js +17 -7
  206. package/dist/cjs/proto/cosmos/orm/module/index.js.map +1 -1
  207. package/dist/cjs/proto/cosmos/orm/query/index.js +17 -7
  208. package/dist/cjs/proto/cosmos/orm/query/index.js.map +1 -1
  209. package/dist/cjs/proto/cosmos/orm/v1alpha1/schema_pb.d.ts +1 -1
  210. package/dist/cjs/proto/cosmos/orm/v1alpha1/schema_pb.d.ts.map +1 -1
  211. package/dist/cjs/proto/cosmos/params/index.js +17 -7
  212. package/dist/cjs/proto/cosmos/params/index.js.map +1 -1
  213. package/dist/cjs/proto/cosmos/params/module/index.js +17 -7
  214. package/dist/cjs/proto/cosmos/params/module/index.js.map +1 -1
  215. package/dist/cjs/proto/cosmos/reflection/index.js +17 -7
  216. package/dist/cjs/proto/cosmos/reflection/index.js.map +1 -1
  217. package/dist/cjs/proto/cosmos/slashing/index.js +17 -7
  218. package/dist/cjs/proto/cosmos/slashing/index.js.map +1 -1
  219. package/dist/cjs/proto/cosmos/slashing/module/index.js +17 -7
  220. package/dist/cjs/proto/cosmos/slashing/module/index.js.map +1 -1
  221. package/dist/cjs/proto/cosmos/slashing/v1beta1/slashing_pb.d.ts +3 -3
  222. package/dist/cjs/proto/cosmos/slashing/v1beta1/slashing_pb.d.ts.map +1 -1
  223. package/dist/cjs/proto/cosmos/staking/index.js +17 -7
  224. package/dist/cjs/proto/cosmos/staking/index.js.map +1 -1
  225. package/dist/cjs/proto/cosmos/staking/module/index.js +17 -7
  226. package/dist/cjs/proto/cosmos/staking/module/index.js.map +1 -1
  227. package/dist/cjs/proto/cosmos/staking/v1beta1/genesis_pb.d.ts +1 -1
  228. package/dist/cjs/proto/cosmos/staking/v1beta1/genesis_pb.d.ts.map +1 -1
  229. package/dist/cjs/proto/cosmos/tx/config/index.js +17 -7
  230. package/dist/cjs/proto/cosmos/tx/config/index.js.map +1 -1
  231. package/dist/cjs/proto/cosmos/tx/index.js +17 -7
  232. package/dist/cjs/proto/cosmos/tx/index.js.map +1 -1
  233. package/dist/cjs/proto/cosmos/tx/signing/index.js +17 -7
  234. package/dist/cjs/proto/cosmos/tx/signing/index.js.map +1 -1
  235. package/dist/cjs/proto/cosmos/tx/signing/v1beta1/signing_pb.d.ts +1 -1
  236. package/dist/cjs/proto/cosmos/tx/signing/v1beta1/signing_pb.d.ts.map +1 -1
  237. package/dist/cjs/proto/cosmos/tx/v1beta1/service_pb.d.ts +6 -6
  238. package/dist/cjs/proto/cosmos/tx/v1beta1/service_pb.d.ts.map +1 -1
  239. package/dist/cjs/proto/cosmos/tx/v1beta1/tx_pb.d.ts +6 -6
  240. package/dist/cjs/proto/cosmos/tx/v1beta1/tx_pb.d.ts.map +1 -1
  241. package/dist/cjs/proto/cosmos/upgrade/index.js +17 -7
  242. package/dist/cjs/proto/cosmos/upgrade/index.js.map +1 -1
  243. package/dist/cjs/proto/cosmos/upgrade/module/index.js +17 -7
  244. package/dist/cjs/proto/cosmos/upgrade/module/index.js.map +1 -1
  245. package/dist/cjs/proto/cosmos/upgrade/v1beta1/query_pb.d.ts +1 -1
  246. package/dist/cjs/proto/cosmos/upgrade/v1beta1/query_pb.d.ts.map +1 -1
  247. package/dist/cjs/proto/cosmos/vesting/index.js +17 -7
  248. package/dist/cjs/proto/cosmos/vesting/index.js.map +1 -1
  249. package/dist/cjs/proto/cosmos/vesting/module/index.js +17 -7
  250. package/dist/cjs/proto/cosmos/vesting/module/index.js.map +1 -1
  251. package/dist/cjs/proto/cosmwasm/index.js +17 -7
  252. package/dist/cjs/proto/cosmwasm/index.js.map +1 -1
  253. package/dist/cjs/proto/cosmwasm/wasm/index.js +17 -7
  254. package/dist/cjs/proto/cosmwasm/wasm/index.js.map +1 -1
  255. package/dist/cjs/proto/cosmwasm/wasm/v1/authz_pb.d.ts +1 -1
  256. package/dist/cjs/proto/cosmwasm/wasm/v1/authz_pb.d.ts.map +1 -1
  257. package/dist/cjs/proto/cosmwasm/wasm/v1/genesis_pb.d.ts +2 -2
  258. package/dist/cjs/proto/cosmwasm/wasm/v1/genesis_pb.d.ts.map +1 -1
  259. package/dist/cjs/proto/cosmwasm/wasm/v1/ibc_pb.d.ts +1 -1
  260. package/dist/cjs/proto/cosmwasm/wasm/v1/ibc_pb.d.ts.map +1 -1
  261. package/dist/cjs/proto/cosmwasm/wasm/v1/query_pb.d.ts +6 -6
  262. package/dist/cjs/proto/cosmwasm/wasm/v1/query_pb.d.ts.map +1 -1
  263. package/dist/cjs/proto/cosmwasm/wasm/v1/tx_pb.d.ts +21 -21
  264. package/dist/cjs/proto/cosmwasm/wasm/v1/tx_pb.d.ts.map +1 -1
  265. package/dist/cjs/proto/cosmwasm/wasm/v1/types_pb.d.ts +4 -4
  266. package/dist/cjs/proto/cosmwasm/wasm/v1/types_pb.d.ts.map +1 -1
  267. package/dist/cjs/proto/ethereum/ethsecp256k1/keys_pb.d.ts +2 -2
  268. package/dist/cjs/proto/ethereum/ethsecp256k1/keys_pb.d.ts.map +1 -1
  269. package/dist/cjs/proto/ethereum/web3_pb.d.ts +1 -1
  270. package/dist/cjs/proto/ethereum/web3_pb.d.ts.map +1 -1
  271. package/dist/cjs/proto/google/api/httpbody_pb.d.ts +1 -1
  272. package/dist/cjs/proto/google/api/httpbody_pb.d.ts.map +1 -1
  273. package/dist/cjs/proto/google/index.js +17 -7
  274. package/dist/cjs/proto/google/index.js.map +1 -1
  275. package/dist/cjs/proto/google/protobuf/any_pb.d.ts +1 -1
  276. package/dist/cjs/proto/google/protobuf/any_pb.d.ts.map +1 -1
  277. package/dist/cjs/proto/index.js +17 -7
  278. package/dist/cjs/proto/index.js.map +1 -1
  279. package/dist/cjs/proto/proofs_pb.d.ts +10 -10
  280. package/dist/cjs/proto/proofs_pb.d.ts.map +1 -1
  281. package/dist/cjs/proto/solana/web3_pb.d.ts +1 -1
  282. package/dist/cjs/proto/solana/web3_pb.d.ts.map +1 -1
  283. package/dist/cjs/proto/tendermint/abci/types_pb.d.ts +25 -25
  284. package/dist/cjs/proto/tendermint/abci/types_pb.d.ts.map +1 -1
  285. package/dist/cjs/proto/tendermint/crypto/proof_pb.d.ts +4 -4
  286. package/dist/cjs/proto/tendermint/crypto/proof_pb.d.ts.map +1 -1
  287. package/dist/cjs/proto/tendermint/index.js +17 -7
  288. package/dist/cjs/proto/tendermint/index.js.map +1 -1
  289. package/dist/cjs/proto/tendermint/libs/index.js +17 -7
  290. package/dist/cjs/proto/tendermint/libs/index.js.map +1 -1
  291. package/dist/cjs/proto/tendermint/p2p/types_pb.d.ts +1 -1
  292. package/dist/cjs/proto/tendermint/p2p/types_pb.d.ts.map +1 -1
  293. package/dist/cjs/proto/tendermint/types/types_pb.d.ts +19 -19
  294. package/dist/cjs/proto/tendermint/types/types_pb.d.ts.map +1 -1
  295. package/dist/cjs/proto/tendermint/types/validator_pb.d.ts +1 -1
  296. package/dist/cjs/proto/tendermint/types/validator_pb.d.ts.map +1 -1
  297. package/dist/cjs/proto/wasmx/tx_pb.d.ts +2 -2
  298. package/dist/cjs/proto/wasmx/tx_pb.d.ts.map +1 -1
  299. package/dist/cjs/transactions/amino/objectConverter.d.ts.map +1 -1
  300. package/dist/cjs/transactions/eip712/payload/createDomain.d.ts.map +1 -1
  301. package/dist/cjs/transactions/eip712/payload/createTypedData.d.ts.map +1 -1
  302. package/dist/cjs/transactions/eip712/payload/createTypes/parseMessage.d.ts.map +1 -1
  303. package/dist/cjs/transactions/eip712/payload/createTypes/parsePayload.d.ts.map +1 -1
  304. package/dist/cjs/transactions/eip712/payload/eip712Types.d.ts.map +1 -1
  305. package/dist/cjs/transactions/eip712/payload/flattenPayload.d.ts.map +1 -1
  306. package/dist/cjs/transactions/messages/base.d.ts.map +1 -1
  307. package/dist/cjs/transactions/messages/bitbadges/badges/msgCreateAddressLists.js +17 -7
  308. package/dist/cjs/transactions/messages/bitbadges/badges/msgCreateAddressLists.js.map +1 -1
  309. package/dist/cjs/transactions/messages/bitbadges/badges/msgCreateCollection.js +17 -7
  310. package/dist/cjs/transactions/messages/bitbadges/badges/msgCreateCollection.js.map +1 -1
  311. package/dist/cjs/transactions/messages/bitbadges/badges/msgDeleteCollection.js +17 -7
  312. package/dist/cjs/transactions/messages/bitbadges/badges/msgDeleteCollection.js.map +1 -1
  313. package/dist/cjs/transactions/messages/bitbadges/badges/msgTransferBadges.js +17 -7
  314. package/dist/cjs/transactions/messages/bitbadges/badges/msgTransferBadges.js.map +1 -1
  315. package/dist/cjs/transactions/messages/bitbadges/badges/msgUniversalUpdateCollection.js +17 -7
  316. package/dist/cjs/transactions/messages/bitbadges/badges/msgUniversalUpdateCollection.js.map +1 -1
  317. package/dist/cjs/transactions/messages/bitbadges/badges/msgUpdateCollection.js +17 -7
  318. package/dist/cjs/transactions/messages/bitbadges/badges/msgUpdateCollection.js.map +1 -1
  319. package/dist/cjs/transactions/messages/bitbadges/badges/msgUpdateUserApprovals.js +17 -7
  320. package/dist/cjs/transactions/messages/bitbadges/badges/msgUpdateUserApprovals.js.map +1 -1
  321. package/dist/cjs/transactions/messages/bitbadges/maps/interfaces.js +17 -7
  322. package/dist/cjs/transactions/messages/bitbadges/maps/interfaces.js.map +1 -1
  323. package/dist/cjs/transactions/messages/bitbadges/wasmx/msgExecuteContractCompat.js +17 -7
  324. package/dist/cjs/transactions/messages/bitbadges/wasmx/msgExecuteContractCompat.js.map +1 -1
  325. package/dist/cjs/transactions/messages/bitbadges/wasmx/msgInstantiateContractCompat.js +17 -7
  326. package/dist/cjs/transactions/messages/bitbadges/wasmx/msgInstantiateContractCompat.js.map +1 -1
  327. package/dist/cjs/transactions/messages/web3Extension.js +17 -7
  328. package/dist/cjs/transactions/messages/web3Extension.js.map +1 -1
  329. package/dist/cjs/tsconfig.build.tsbuildinfo +1 -0
  330. package/dist/esm/api-indexer/BitBadgesAddressList.d.ts +11 -1
  331. package/dist/esm/api-indexer/BitBadgesAddressList.d.ts.map +1 -1
  332. package/dist/esm/api-indexer/BitBadgesAddressList.js +217 -197
  333. package/dist/esm/api-indexer/BitBadgesAddressList.js.map +1 -1
  334. package/dist/esm/api-indexer/BitBadgesApi.d.ts +48 -21
  335. package/dist/esm/api-indexer/BitBadgesApi.d.ts.map +1 -1
  336. package/dist/esm/api-indexer/BitBadgesApi.js +9782 -8663
  337. package/dist/esm/api-indexer/BitBadgesApi.js.map +1 -1
  338. package/dist/esm/api-indexer/BitBadgesCollection.d.ts +5 -7
  339. package/dist/esm/api-indexer/BitBadgesCollection.d.ts.map +1 -1
  340. package/dist/esm/api-indexer/BitBadgesCollection.js +153 -142
  341. package/dist/esm/api-indexer/BitBadgesCollection.js.map +1 -1
  342. package/dist/esm/api-indexer/BitBadgesUserInfo.d.ts +18 -4
  343. package/dist/esm/api-indexer/BitBadgesUserInfo.d.ts.map +1 -1
  344. package/dist/esm/api-indexer/BitBadgesUserInfo.js +99 -39
  345. package/dist/esm/api-indexer/BitBadgesUserInfo.js.map +1 -1
  346. package/dist/esm/api-indexer/docs/activity.d.ts +1 -1
  347. package/dist/esm/api-indexer/docs/activity.d.ts.map +1 -1
  348. package/dist/esm/api-indexer/docs/activity.js +2 -2
  349. package/dist/esm/api-indexer/docs/activity.js.map +1 -1
  350. package/dist/esm/api-indexer/docs/interfaces.d.ts.map +1 -1
  351. package/dist/esm/api-indexer/docs/interfaces.js.map +1 -1
  352. package/dist/esm/api-indexer/metadata/badgeMetadata.d.ts +4 -4
  353. package/dist/esm/api-indexer/metadata/badgeMetadata.d.ts.map +1 -1
  354. package/dist/esm/api-indexer/metadata/metadataIds.d.ts.map +1 -1
  355. package/dist/esm/api-indexer/requests/collections.d.ts +1 -1
  356. package/dist/esm/api-indexer/requests/collections.d.ts.map +1 -1
  357. package/dist/esm/api-indexer/requests/index.d.ts +1 -0
  358. package/dist/esm/api-indexer/requests/index.d.ts.map +1 -1
  359. package/dist/esm/api-indexer/requests/index.js +1 -0
  360. package/dist/esm/api-indexer/requests/index.js.map +1 -1
  361. package/dist/esm/api-indexer/requests/requests.d.ts +101 -39
  362. package/dist/esm/api-indexer/requests/requests.d.ts.map +1 -1
  363. package/dist/esm/api-indexer/requests/requests.js +102 -39
  364. package/dist/esm/api-indexer/requests/requests.js.map +1 -1
  365. package/dist/esm/api-indexer/requests/routes.d.ts +30 -3
  366. package/dist/esm/api-indexer/requests/routes.d.ts.map +1 -1
  367. package/dist/esm/api-indexer/requests/routes.js +30 -3
  368. package/dist/esm/api-indexer/requests/routes.js.map +1 -1
  369. package/dist/esm/api-indexer/requests/wrappers.d.ts +296 -0
  370. package/dist/esm/api-indexer/requests/wrappers.d.ts.map +1 -0
  371. package/dist/esm/api-indexer/requests/wrappers.js +321 -0
  372. package/dist/esm/api-indexer/requests/wrappers.js.map +1 -0
  373. package/dist/esm/attestations/attestations.d.ts.map +1 -1
  374. package/dist/esm/chain-drivers/verifySig.d.ts.map +1 -1
  375. package/dist/esm/common/base.d.ts.map +1 -1
  376. package/dist/esm/common/string-numbers.d.ts.map +1 -1
  377. package/dist/esm/common/string-numbers.js.map +1 -1
  378. package/dist/esm/core/addressLists.d.ts.map +1 -1
  379. package/dist/esm/core/aliases.d.ts +3 -3
  380. package/dist/esm/core/aliases.d.ts.map +1 -1
  381. package/dist/esm/core/approval-utils.d.ts.map +1 -1
  382. package/dist/esm/core/balances.d.ts.map +1 -1
  383. package/dist/esm/core/blockin.d.ts.map +1 -1
  384. package/dist/esm/core/permission-utils.d.ts.map +1 -1
  385. package/dist/esm/core/transfers.d.ts.map +1 -1
  386. package/dist/esm/proto/bitcoin/web3_pb.d.ts +1 -1
  387. package/dist/esm/proto/bitcoin/web3_pb.d.ts.map +1 -1
  388. package/dist/esm/proto/cosmos/auth/v1beta1/query_pb.d.ts +2 -2
  389. package/dist/esm/proto/cosmos/auth/v1beta1/query_pb.d.ts.map +1 -1
  390. package/dist/esm/proto/cosmos/base/abci/v1beta1/abci_pb.d.ts +2 -2
  391. package/dist/esm/proto/cosmos/base/abci/v1beta1/abci_pb.d.ts.map +1 -1
  392. package/dist/esm/proto/cosmos/base/kv/v1beta1/kv_pb.d.ts +2 -2
  393. package/dist/esm/proto/cosmos/base/kv/v1beta1/kv_pb.d.ts.map +1 -1
  394. package/dist/esm/proto/cosmos/base/query/v1beta1/pagination_pb.d.ts +2 -2
  395. package/dist/esm/proto/cosmos/base/query/v1beta1/pagination_pb.d.ts.map +1 -1
  396. package/dist/esm/proto/cosmos/base/snapshots/v1beta1/snapshot_pb.d.ts +6 -6
  397. package/dist/esm/proto/cosmos/base/snapshots/v1beta1/snapshot_pb.d.ts.map +1 -1
  398. package/dist/esm/proto/cosmos/base/store/v1beta1/commit_info_pb.d.ts +1 -1
  399. package/dist/esm/proto/cosmos/base/store/v1beta1/commit_info_pb.d.ts.map +1 -1
  400. package/dist/esm/proto/cosmos/base/store/v1beta1/listening_pb.d.ts +2 -2
  401. package/dist/esm/proto/cosmos/base/store/v1beta1/listening_pb.d.ts.map +1 -1
  402. package/dist/esm/proto/cosmos/base/store/v1beta1/snapshot_pb.d.ts +2 -2
  403. package/dist/esm/proto/cosmos/base/store/v1beta1/snapshot_pb.d.ts.map +1 -1
  404. package/dist/esm/proto/cosmos/base/tendermint/v1beta1/query_pb.d.ts +5 -5
  405. package/dist/esm/proto/cosmos/base/tendermint/v1beta1/query_pb.d.ts.map +1 -1
  406. package/dist/esm/proto/cosmos/base/tendermint/v1beta1/types_pb.d.ts +8 -8
  407. package/dist/esm/proto/cosmos/base/tendermint/v1beta1/types_pb.d.ts.map +1 -1
  408. package/dist/esm/proto/cosmos/crypto/ed25519/keys_pb.d.ts +2 -2
  409. package/dist/esm/proto/cosmos/crypto/ed25519/keys_pb.d.ts.map +1 -1
  410. package/dist/esm/proto/cosmos/crypto/multisig/v1beta1/multisig_pb.d.ts +1 -1
  411. package/dist/esm/proto/cosmos/crypto/multisig/v1beta1/multisig_pb.d.ts.map +1 -1
  412. package/dist/esm/proto/cosmos/crypto/secp256k1/keys_pb.d.ts +2 -2
  413. package/dist/esm/proto/cosmos/crypto/secp256k1/keys_pb.d.ts.map +1 -1
  414. package/dist/esm/proto/cosmos/crypto/secp256r1/keys_pb.d.ts +2 -2
  415. package/dist/esm/proto/cosmos/crypto/secp256r1/keys_pb.d.ts.map +1 -1
  416. package/dist/esm/proto/cosmos/evidence/v1beta1/query_pb.d.ts +1 -1
  417. package/dist/esm/proto/cosmos/evidence/v1beta1/query_pb.d.ts.map +1 -1
  418. package/dist/esm/proto/cosmos/evidence/v1beta1/tx_pb.d.ts +1 -1
  419. package/dist/esm/proto/cosmos/evidence/v1beta1/tx_pb.d.ts.map +1 -1
  420. package/dist/esm/proto/cosmos/gov/v1beta1/gov_pb.d.ts +3 -3
  421. package/dist/esm/proto/cosmos/gov/v1beta1/gov_pb.d.ts.map +1 -1
  422. package/dist/esm/proto/cosmos/mint/v1beta1/query_pb.d.ts +2 -2
  423. package/dist/esm/proto/cosmos/mint/v1beta1/query_pb.d.ts.map +1 -1
  424. package/dist/esm/proto/cosmos/orm/v1alpha1/schema_pb.d.ts +1 -1
  425. package/dist/esm/proto/cosmos/orm/v1alpha1/schema_pb.d.ts.map +1 -1
  426. package/dist/esm/proto/cosmos/slashing/v1beta1/slashing_pb.d.ts +3 -3
  427. package/dist/esm/proto/cosmos/slashing/v1beta1/slashing_pb.d.ts.map +1 -1
  428. package/dist/esm/proto/cosmos/staking/v1beta1/genesis_pb.d.ts +1 -1
  429. package/dist/esm/proto/cosmos/staking/v1beta1/genesis_pb.d.ts.map +1 -1
  430. package/dist/esm/proto/cosmos/tx/signing/v1beta1/signing_pb.d.ts +1 -1
  431. package/dist/esm/proto/cosmos/tx/signing/v1beta1/signing_pb.d.ts.map +1 -1
  432. package/dist/esm/proto/cosmos/tx/v1beta1/service_pb.d.ts +6 -6
  433. package/dist/esm/proto/cosmos/tx/v1beta1/service_pb.d.ts.map +1 -1
  434. package/dist/esm/proto/cosmos/tx/v1beta1/tx_pb.d.ts +6 -6
  435. package/dist/esm/proto/cosmos/tx/v1beta1/tx_pb.d.ts.map +1 -1
  436. package/dist/esm/proto/cosmos/upgrade/v1beta1/query_pb.d.ts +1 -1
  437. package/dist/esm/proto/cosmos/upgrade/v1beta1/query_pb.d.ts.map +1 -1
  438. package/dist/esm/proto/cosmwasm/wasm/v1/authz_pb.d.ts +1 -1
  439. package/dist/esm/proto/cosmwasm/wasm/v1/authz_pb.d.ts.map +1 -1
  440. package/dist/esm/proto/cosmwasm/wasm/v1/genesis_pb.d.ts +2 -2
  441. package/dist/esm/proto/cosmwasm/wasm/v1/genesis_pb.d.ts.map +1 -1
  442. package/dist/esm/proto/cosmwasm/wasm/v1/ibc_pb.d.ts +1 -1
  443. package/dist/esm/proto/cosmwasm/wasm/v1/ibc_pb.d.ts.map +1 -1
  444. package/dist/esm/proto/cosmwasm/wasm/v1/query_pb.d.ts +6 -6
  445. package/dist/esm/proto/cosmwasm/wasm/v1/query_pb.d.ts.map +1 -1
  446. package/dist/esm/proto/cosmwasm/wasm/v1/tx_pb.d.ts +21 -21
  447. package/dist/esm/proto/cosmwasm/wasm/v1/tx_pb.d.ts.map +1 -1
  448. package/dist/esm/proto/cosmwasm/wasm/v1/types_pb.d.ts +4 -4
  449. package/dist/esm/proto/cosmwasm/wasm/v1/types_pb.d.ts.map +1 -1
  450. package/dist/esm/proto/ethereum/ethsecp256k1/keys_pb.d.ts +2 -2
  451. package/dist/esm/proto/ethereum/ethsecp256k1/keys_pb.d.ts.map +1 -1
  452. package/dist/esm/proto/ethereum/web3_pb.d.ts +1 -1
  453. package/dist/esm/proto/ethereum/web3_pb.d.ts.map +1 -1
  454. package/dist/esm/proto/google/api/httpbody_pb.d.ts +1 -1
  455. package/dist/esm/proto/google/api/httpbody_pb.d.ts.map +1 -1
  456. package/dist/esm/proto/google/protobuf/any_pb.d.ts +1 -1
  457. package/dist/esm/proto/google/protobuf/any_pb.d.ts.map +1 -1
  458. package/dist/esm/proto/proofs_pb.d.ts +10 -10
  459. package/dist/esm/proto/proofs_pb.d.ts.map +1 -1
  460. package/dist/esm/proto/solana/web3_pb.d.ts +1 -1
  461. package/dist/esm/proto/solana/web3_pb.d.ts.map +1 -1
  462. package/dist/esm/proto/tendermint/abci/types_pb.d.ts +25 -25
  463. package/dist/esm/proto/tendermint/abci/types_pb.d.ts.map +1 -1
  464. package/dist/esm/proto/tendermint/crypto/proof_pb.d.ts +4 -4
  465. package/dist/esm/proto/tendermint/crypto/proof_pb.d.ts.map +1 -1
  466. package/dist/esm/proto/tendermint/p2p/types_pb.d.ts +1 -1
  467. package/dist/esm/proto/tendermint/p2p/types_pb.d.ts.map +1 -1
  468. package/dist/esm/proto/tendermint/types/types_pb.d.ts +19 -19
  469. package/dist/esm/proto/tendermint/types/types_pb.d.ts.map +1 -1
  470. package/dist/esm/proto/tendermint/types/validator_pb.d.ts +1 -1
  471. package/dist/esm/proto/tendermint/types/validator_pb.d.ts.map +1 -1
  472. package/dist/esm/proto/wasmx/tx_pb.d.ts +2 -2
  473. package/dist/esm/proto/wasmx/tx_pb.d.ts.map +1 -1
  474. package/dist/esm/transactions/amino/objectConverter.d.ts.map +1 -1
  475. package/dist/esm/transactions/eip712/payload/createDomain.d.ts.map +1 -1
  476. package/dist/esm/transactions/eip712/payload/createTypedData.d.ts.map +1 -1
  477. package/dist/esm/transactions/eip712/payload/createTypes/parseMessage.d.ts.map +1 -1
  478. package/dist/esm/transactions/eip712/payload/createTypes/parsePayload.d.ts.map +1 -1
  479. package/dist/esm/transactions/eip712/payload/eip712Types.d.ts.map +1 -1
  480. package/dist/esm/transactions/eip712/payload/flattenPayload.d.ts.map +1 -1
  481. package/dist/esm/transactions/messages/base.d.ts.map +1 -1
  482. package/dist/esm/tsconfig-esm.build.tsbuildinfo +1 -0
  483. package/package.json +5 -5
@@ -1,11 +1,13 @@
1
+ import * as __typia_transform__validateReport from "typia/lib/internal/_validateReport.js";
2
+ import * as __typia_transform__accessExpressionAsString from "typia/lib/internal/_accessExpressionAsString.js";
1
3
  import { BaseNumberTypeClass, convertClassPropertiesAndMaintainNumberTypes, getConverterFunction } from '../common/base.js';
4
+ import { ClaimDetails } from '../core/approvals.js';
2
5
  import typia from 'typia';
3
6
  import { EmptyResponseClass } from './base.js';
4
7
  import { ListActivityDoc } from './docs/activity.js';
5
8
  import { AddressListDoc, UtilityListingDoc } from './docs/docs.js';
6
9
  import { Metadata } from './metadata/metadata.js';
7
10
  import { BitBadgesApiRoutes } from './requests/routes.js';
8
- import { ClaimDetails } from '../core/approvals.js';
9
11
  export class BitBadgesAddressList extends AddressListDoc {
10
12
  metadata;
11
13
  listsActivity;
@@ -124,81 +126,83 @@ export class BitBadgesAddressList extends AddressListDoc {
124
126
  }
125
127
  static async GetAddressLists(api, payload) {
126
128
  try {
127
- const validateRes = (() => { const $io0 = input => Array.isArray(input.listsToFetch) && input.listsToFetch.every(elem => "object" === typeof elem && null !== elem && $io1(elem)); const $io1 = input => "string" === typeof input.listId && (undefined === input.viewsToFetch || Array.isArray(input.viewsToFetch) && input.viewsToFetch.every(elem => "object" === typeof elem && null !== elem && $io2(elem))) && (undefined === input.fetchPrivateParams || "boolean" === typeof input.fetchPrivateParams); const $io2 = input => "string" === typeof input.viewId && ("listActivity" === input.viewType || "listings" === input.viewType) && "string" === typeof input.bookmark; const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.listsToFetch) || $report(_exceptionable, {
129
+ const validateRes = (() => { const _io0 = input => Array.isArray(input.listsToFetch) && input.listsToFetch.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.listId && (undefined === input.viewsToFetch || Array.isArray(input.viewsToFetch) && input.viewsToFetch.every(elem => "object" === typeof elem && null !== elem && _io2(elem))) && (undefined === input.fetchPrivateParams || "boolean" === typeof input.fetchPrivateParams); const _io2 = input => "string" === typeof input.viewId && ("listActivity" === input.viewType || "listings" === input.viewType) && "string" === typeof input.bookmark; const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.listsToFetch) || _report(_exceptionable, {
128
130
  path: _path + ".listsToFetch",
129
131
  expected: "Array<__type>",
130
132
  value: input.listsToFetch
131
- })) && input.listsToFetch.map((elem, _index3) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
133
+ })) && input.listsToFetch.map((elem, _index3) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
132
134
  path: _path + ".listsToFetch[" + _index3 + "]",
133
135
  expected: "__type",
134
136
  value: elem
135
- })) && $vo1(elem, _path + ".listsToFetch[" + _index3 + "]", true && _exceptionable) || $report(_exceptionable, {
137
+ })) && _vo1(elem, _path + ".listsToFetch[" + _index3 + "]", true && _exceptionable) || _report(_exceptionable, {
136
138
  path: _path + ".listsToFetch[" + _index3 + "]",
137
139
  expected: "__type",
138
140
  value: elem
139
- })).every(flag => flag) || $report(_exceptionable, {
141
+ })).every(flag => flag) || _report(_exceptionable, {
140
142
  path: _path + ".listsToFetch",
141
143
  expected: "Array<__type>",
142
144
  value: input.listsToFetch
143
- })].every(flag => flag); const $vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.listId || $report(_exceptionable, {
145
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.listId || _report(_exceptionable, {
144
146
  path: _path + ".listId",
145
147
  expected: "string",
146
148
  value: input.listId
147
- }), undefined === input.viewsToFetch || (Array.isArray(input.viewsToFetch) || $report(_exceptionable, {
149
+ }), undefined === input.viewsToFetch || (Array.isArray(input.viewsToFetch) || _report(_exceptionable, {
148
150
  path: _path + ".viewsToFetch",
149
151
  expected: "(Array<__type>.o1 | undefined)",
150
152
  value: input.viewsToFetch
151
- })) && input.viewsToFetch.map((elem, _index4) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
153
+ })) && input.viewsToFetch.map((elem, _index4) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
152
154
  path: _path + ".viewsToFetch[" + _index4 + "]",
153
155
  expected: "__type.o1",
154
156
  value: elem
155
- })) && $vo2(elem, _path + ".viewsToFetch[" + _index4 + "]", true && _exceptionable) || $report(_exceptionable, {
157
+ })) && _vo2(elem, _path + ".viewsToFetch[" + _index4 + "]", true && _exceptionable) || _report(_exceptionable, {
156
158
  path: _path + ".viewsToFetch[" + _index4 + "]",
157
159
  expected: "__type.o1",
158
160
  value: elem
159
- })).every(flag => flag) || $report(_exceptionable, {
161
+ })).every(flag => flag) || _report(_exceptionable, {
160
162
  path: _path + ".viewsToFetch",
161
163
  expected: "(Array<__type>.o1 | undefined)",
162
164
  value: input.viewsToFetch
163
- }), undefined === input.fetchPrivateParams || "boolean" === typeof input.fetchPrivateParams || $report(_exceptionable, {
165
+ }), undefined === input.fetchPrivateParams || "boolean" === typeof input.fetchPrivateParams || _report(_exceptionable, {
164
166
  path: _path + ".fetchPrivateParams",
165
167
  expected: "(boolean | undefined)",
166
168
  value: input.fetchPrivateParams
167
- })].every(flag => flag); const $vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.viewId || $report(_exceptionable, {
169
+ })].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.viewId || _report(_exceptionable, {
168
170
  path: _path + ".viewId",
169
171
  expected: "string",
170
172
  value: input.viewId
171
- }), "listActivity" === input.viewType || "listings" === input.viewType || $report(_exceptionable, {
173
+ }), "listActivity" === input.viewType || "listings" === input.viewType || _report(_exceptionable, {
172
174
  path: _path + ".viewType",
173
175
  expected: "(\"listActivity\" | \"listings\")",
174
176
  value: input.viewType
175
- }), "string" === typeof input.bookmark || $report(_exceptionable, {
177
+ }), "string" === typeof input.bookmark || _report(_exceptionable, {
176
178
  path: _path + ".bookmark",
177
179
  expected: "string",
178
180
  value: input.bookmark
179
- })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && $io0(input); let errors; let $report; return input => {
181
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
180
182
  if (false === __is(input)) {
181
183
  errors = [];
182
- $report = typia.validate.report(errors);
183
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
184
+ _report = __typia_transform__validateReport._validateReport(errors);
185
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
184
186
  path: _path + "",
185
187
  expected: "iGetAddressListsPayload",
186
188
  value: input
187
- })) && $vo0(input, _path + "", true) || $report(true, {
189
+ })) && _vo0(input, _path + "", true) || _report(true, {
188
190
  path: _path + "",
189
191
  expected: "iGetAddressListsPayload",
190
192
  value: input
191
193
  }))(input, "$input", true);
192
194
  const success = 0 === errors.length;
193
- return {
195
+ return success ? {
196
+ success,
197
+ data: input
198
+ } : {
194
199
  success,
195
200
  errors,
196
- data: success ? input : undefined
201
+ data: input
197
202
  };
198
203
  }
199
204
  return {
200
205
  success: true,
201
- errors: [],
202
206
  data: input
203
207
  };
204
208
  }; })()(payload ?? {});
@@ -215,337 +219,339 @@ export class BitBadgesAddressList extends AddressListDoc {
215
219
  }
216
220
  static async CreateAddressList(api, payload) {
217
221
  try {
218
- const validateRes = (() => { const $join = typia.validate.join; const $io0 = input => Array.isArray(input.addressLists) && input.addressLists.every(elem => "object" === typeof elem && null !== elem && $io1(elem)); const $io1 = input => "string" === typeof input.listId && (Array.isArray(input.addresses) && input.addresses.every(elem => "string" === typeof elem)) && "boolean" === typeof input.whitelist && "string" === typeof input.uri && "string" === typeof input.customData && (undefined === input.createdBy || "string" === typeof input.createdBy) && (undefined === input.aliasAddress || "string" === typeof input.aliasAddress) && (undefined === input.updateAddresses || "boolean" === typeof input.updateAddresses) && (Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && $io2(elem))); const $io2 = input => "string" === typeof input.claimId && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io3(elem))) && (undefined === input.rewards || Array.isArray(input.rewards) && input.rewards.every(elem => "object" === typeof elem && null !== elem && $io6(elem))) && (undefined === input.estimatedCost || "string" === typeof input.estimatedCost) && (undefined === input.showInSearchResults || "boolean" === typeof input.showInSearchResults) && (undefined === input.categories || Array.isArray(input.categories) && input.categories.every(elem => "string" === typeof elem)) && (undefined === input.estimatedTime || "string" === typeof input.estimatedTime) && (undefined === input.approach || "string" === typeof input.approach); const $io3 = input => "object" === typeof input.publicState && null !== input.publicState && false === Array.isArray(input.publicState) && $io4(input.publicState) && (undefined === input.privateState || "object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) && $io4(input.privateState)) && (undefined === input.resetState || "boolean" === typeof input.resetState) && (undefined === input.newState || "object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) && $io4(input.newState)) && (undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState) && "string" === typeof input.instanceId && "string" === typeof input.pluginId && "string" === typeof input.version && ("object" === typeof input.publicParams && null !== input.publicParams && false === Array.isArray(input.publicParams) && $io4(input.publicParams)) && ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) && $io4(input.privateParams)) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io5(input.metadata)); const $io4 = input => Object.keys(input).every(key => {
222
+ const validateRes = (() => { const _io0 = input => Array.isArray(input.addressLists) && input.addressLists.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.listId && (Array.isArray(input.addresses) && input.addresses.every(elem => "string" === typeof elem)) && "boolean" === typeof input.whitelist && "string" === typeof input.uri && "string" === typeof input.customData && (undefined === input.createdBy || "string" === typeof input.createdBy) && (undefined === input.aliasAddress || "string" === typeof input.aliasAddress) && (undefined === input.updateAddresses || "boolean" === typeof input.updateAddresses) && (Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io2 = input => "string" === typeof input.claimId && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.rewards || Array.isArray(input.rewards) && input.rewards.every(elem => "object" === typeof elem && null !== elem && _io6(elem))) && (undefined === input.estimatedCost || "string" === typeof input.estimatedCost) && (undefined === input.showInSearchResults || "boolean" === typeof input.showInSearchResults) && (undefined === input.categories || Array.isArray(input.categories) && input.categories.every(elem => "string" === typeof elem)) && (undefined === input.estimatedTime || "string" === typeof input.estimatedTime) && (undefined === input.approach || "string" === typeof input.approach); const _io3 = input => "object" === typeof input.publicState && null !== input.publicState && false === Array.isArray(input.publicState) && _io4(input.publicState) && (undefined === input.privateState || "object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) && _io4(input.privateState)) && (undefined === input.resetState || "boolean" === typeof input.resetState) && (undefined === input.newState || "object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) && _io4(input.newState)) && (undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState) && "string" === typeof input.instanceId && "string" === typeof input.pluginId && "string" === typeof input.version && ("object" === typeof input.publicParams && null !== input.publicParams && false === Array.isArray(input.publicParams) && _io4(input.publicParams)) && ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) && _io4(input.privateParams)) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io5(input.metadata)); const _io4 = input => Object.keys(input).every(key => {
219
223
  const value = input[key];
220
224
  if (undefined === value)
221
225
  return true;
222
226
  return true;
223
- }); const $io5 = input => "string" === typeof input.name && "string" === typeof input.description && (undefined === input.image || "string" === typeof input.image); const $io6 = input => "string" === typeof input.rewardId && "string" === typeof input.instanceId && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io7(input.metadata)) && ("object" === typeof input.gatedContent && null !== input.gatedContent && false === Array.isArray(input.gatedContent) && $io8(input.gatedContent)) && (undefined === input.automatic || "boolean" === typeof input.automatic) && (undefined === input.calculationMethod || "object" === typeof input.calculationMethod && null !== input.calculationMethod && false === Array.isArray(input.calculationMethod) && $io10(input.calculationMethod)); const $io7 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image; const $io8 = input => (undefined === input.content || "string" === typeof input.content) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && $io9(input.params)); const $io9 = input => Object.keys(input).every(key => {
227
+ }); const _io5 = input => "string" === typeof input.name && "string" === typeof input.description && (undefined === input.image || "string" === typeof input.image); const _io6 = input => "string" === typeof input.rewardId && "string" === typeof input.instanceId && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io7(input.metadata)) && ("object" === typeof input.gatedContent && null !== input.gatedContent && false === Array.isArray(input.gatedContent) && _io8(input.gatedContent)) && (undefined === input.automatic || "boolean" === typeof input.automatic) && (undefined === input.calculationMethod || "object" === typeof input.calculationMethod && null !== input.calculationMethod && false === Array.isArray(input.calculationMethod) && _io10(input.calculationMethod)); const _io7 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image; const _io8 = input => (undefined === input.content || "string" === typeof input.content) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _io9(input.params)); const _io9 = input => Object.keys(input).every(key => {
224
228
  const value = input[key];
225
229
  if (undefined === value)
226
230
  return true;
227
231
  return true;
228
- }); const $io10 = input => (undefined === input.alwaysShow || "boolean" === typeof input.alwaysShow) && (undefined === input.minClaimSuccesses || "number" === typeof input.minClaimSuccesses); const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.addressLists) || $report(_exceptionable, {
232
+ }); const _io10 = input => (undefined === input.alwaysShow || "boolean" === typeof input.alwaysShow) && (undefined === input.minClaimSuccesses || "number" === typeof input.minClaimSuccesses); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.addressLists) || _report(_exceptionable, {
229
233
  path: _path + ".addressLists",
230
234
  expected: "Array<iAddressListCreateObject<T>>",
231
235
  value: input.addressLists
232
- })) && input.addressLists.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
236
+ })) && input.addressLists.map((elem, _index7) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
233
237
  path: _path + ".addressLists[" + _index7 + "]",
234
238
  expected: "iAddressListCreateObject<T>",
235
239
  value: elem
236
- })) && $vo1(elem, _path + ".addressLists[" + _index7 + "]", true && _exceptionable) || $report(_exceptionable, {
240
+ })) && _vo1(elem, _path + ".addressLists[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
237
241
  path: _path + ".addressLists[" + _index7 + "]",
238
242
  expected: "iAddressListCreateObject<T>",
239
243
  value: elem
240
- })).every(flag => flag) || $report(_exceptionable, {
244
+ })).every(flag => flag) || _report(_exceptionable, {
241
245
  path: _path + ".addressLists",
242
246
  expected: "Array<iAddressListCreateObject<T>>",
243
247
  value: input.addressLists
244
- })].every(flag => flag); const $vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.listId || $report(_exceptionable, {
248
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.listId || _report(_exceptionable, {
245
249
  path: _path + ".listId",
246
250
  expected: "string",
247
251
  value: input.listId
248
- }), (Array.isArray(input.addresses) || $report(_exceptionable, {
252
+ }), (Array.isArray(input.addresses) || _report(_exceptionable, {
249
253
  path: _path + ".addresses",
250
254
  expected: "Array<string>",
251
255
  value: input.addresses
252
- })) && input.addresses.map((elem, _index8) => "string" === typeof elem || $report(_exceptionable, {
256
+ })) && input.addresses.map((elem, _index8) => "string" === typeof elem || _report(_exceptionable, {
253
257
  path: _path + ".addresses[" + _index8 + "]",
254
258
  expected: "string",
255
259
  value: elem
256
- })).every(flag => flag) || $report(_exceptionable, {
260
+ })).every(flag => flag) || _report(_exceptionable, {
257
261
  path: _path + ".addresses",
258
262
  expected: "Array<string>",
259
263
  value: input.addresses
260
- }), "boolean" === typeof input.whitelist || $report(_exceptionable, {
264
+ }), "boolean" === typeof input.whitelist || _report(_exceptionable, {
261
265
  path: _path + ".whitelist",
262
266
  expected: "boolean",
263
267
  value: input.whitelist
264
- }), "string" === typeof input.uri || $report(_exceptionable, {
268
+ }), "string" === typeof input.uri || _report(_exceptionable, {
265
269
  path: _path + ".uri",
266
270
  expected: "string",
267
271
  value: input.uri
268
- }), "string" === typeof input.customData || $report(_exceptionable, {
272
+ }), "string" === typeof input.customData || _report(_exceptionable, {
269
273
  path: _path + ".customData",
270
274
  expected: "string",
271
275
  value: input.customData
272
- }), undefined === input.createdBy || "string" === typeof input.createdBy || $report(_exceptionable, {
276
+ }), undefined === input.createdBy || "string" === typeof input.createdBy || _report(_exceptionable, {
273
277
  path: _path + ".createdBy",
274
278
  expected: "(string | undefined)",
275
279
  value: input.createdBy
276
- }), undefined === input.aliasAddress || "string" === typeof input.aliasAddress || $report(_exceptionable, {
280
+ }), undefined === input.aliasAddress || "string" === typeof input.aliasAddress || _report(_exceptionable, {
277
281
  path: _path + ".aliasAddress",
278
282
  expected: "(string | undefined)",
279
283
  value: input.aliasAddress
280
- }), undefined === input.updateAddresses || "boolean" === typeof input.updateAddresses || $report(_exceptionable, {
284
+ }), undefined === input.updateAddresses || "boolean" === typeof input.updateAddresses || _report(_exceptionable, {
281
285
  path: _path + ".updateAddresses",
282
286
  expected: "(boolean | undefined)",
283
287
  value: input.updateAddresses
284
- }), (Array.isArray(input.claims) || $report(_exceptionable, {
288
+ }), (Array.isArray(input.claims) || _report(_exceptionable, {
285
289
  path: _path + ".claims",
286
290
  expected: "Array<__type>",
287
291
  value: input.claims
288
- })) && input.claims.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
292
+ })) && input.claims.map((elem, _index9) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
289
293
  path: _path + ".claims[" + _index9 + "]",
290
294
  expected: "__type",
291
295
  value: elem
292
- })) && $vo2(elem, _path + ".claims[" + _index9 + "]", true && _exceptionable) || $report(_exceptionable, {
296
+ })) && _vo2(elem, _path + ".claims[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
293
297
  path: _path + ".claims[" + _index9 + "]",
294
298
  expected: "__type",
295
299
  value: elem
296
- })).every(flag => flag) || $report(_exceptionable, {
300
+ })).every(flag => flag) || _report(_exceptionable, {
297
301
  path: _path + ".claims",
298
302
  expected: "Array<__type>",
299
303
  value: input.claims
300
- })].every(flag => flag); const $vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.claimId || $report(_exceptionable, {
304
+ })].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.claimId || _report(_exceptionable, {
301
305
  path: _path + ".claimId",
302
306
  expected: "string",
303
307
  value: input.claimId
304
- }), (Array.isArray(input.plugins) || $report(_exceptionable, {
308
+ }), (Array.isArray(input.plugins) || _report(_exceptionable, {
305
309
  path: _path + ".plugins",
306
310
  expected: "Array<IntegrationPluginDetails<string>>",
307
311
  value: input.plugins
308
- })) && input.plugins.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
312
+ })) && input.plugins.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
309
313
  path: _path + ".plugins[" + _index10 + "]",
310
314
  expected: "IntegrationPluginDetails<string>",
311
315
  value: elem
312
- })) && $vo3(elem, _path + ".plugins[" + _index10 + "]", true && _exceptionable) || $report(_exceptionable, {
316
+ })) && _vo3(elem, _path + ".plugins[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
313
317
  path: _path + ".plugins[" + _index10 + "]",
314
318
  expected: "IntegrationPluginDetails<string>",
315
319
  value: elem
316
- })).every(flag => flag) || $report(_exceptionable, {
320
+ })).every(flag => flag) || _report(_exceptionable, {
317
321
  path: _path + ".plugins",
318
322
  expected: "Array<IntegrationPluginDetails<string>>",
319
323
  value: input.plugins
320
- }), undefined === input.rewards || (Array.isArray(input.rewards) || $report(_exceptionable, {
324
+ }), undefined === input.rewards || (Array.isArray(input.rewards) || _report(_exceptionable, {
321
325
  path: _path + ".rewards",
322
326
  expected: "(Array<ClaimReward<T>> | undefined)",
323
327
  value: input.rewards
324
- })) && input.rewards.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
328
+ })) && input.rewards.map((elem, _index11) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
325
329
  path: _path + ".rewards[" + _index11 + "]",
326
330
  expected: "ClaimReward<T>",
327
331
  value: elem
328
- })) && $vo6(elem, _path + ".rewards[" + _index11 + "]", true && _exceptionable) || $report(_exceptionable, {
332
+ })) && _vo6(elem, _path + ".rewards[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
329
333
  path: _path + ".rewards[" + _index11 + "]",
330
334
  expected: "ClaimReward<T>",
331
335
  value: elem
332
- })).every(flag => flag) || $report(_exceptionable, {
336
+ })).every(flag => flag) || _report(_exceptionable, {
333
337
  path: _path + ".rewards",
334
338
  expected: "(Array<ClaimReward<T>> | undefined)",
335
339
  value: input.rewards
336
- }), undefined === input.estimatedCost || "string" === typeof input.estimatedCost || $report(_exceptionable, {
340
+ }), undefined === input.estimatedCost || "string" === typeof input.estimatedCost || _report(_exceptionable, {
337
341
  path: _path + ".estimatedCost",
338
342
  expected: "(string | undefined)",
339
343
  value: input.estimatedCost
340
- }), undefined === input.showInSearchResults || "boolean" === typeof input.showInSearchResults || $report(_exceptionable, {
344
+ }), undefined === input.showInSearchResults || "boolean" === typeof input.showInSearchResults || _report(_exceptionable, {
341
345
  path: _path + ".showInSearchResults",
342
346
  expected: "(boolean | undefined)",
343
347
  value: input.showInSearchResults
344
- }), undefined === input.categories || (Array.isArray(input.categories) || $report(_exceptionable, {
348
+ }), undefined === input.categories || (Array.isArray(input.categories) || _report(_exceptionable, {
345
349
  path: _path + ".categories",
346
350
  expected: "(Array<string> | undefined)",
347
351
  value: input.categories
348
- })) && input.categories.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable, {
352
+ })) && input.categories.map((elem, _index12) => "string" === typeof elem || _report(_exceptionable, {
349
353
  path: _path + ".categories[" + _index12 + "]",
350
354
  expected: "string",
351
355
  value: elem
352
- })).every(flag => flag) || $report(_exceptionable, {
356
+ })).every(flag => flag) || _report(_exceptionable, {
353
357
  path: _path + ".categories",
354
358
  expected: "(Array<string> | undefined)",
355
359
  value: input.categories
356
- }), undefined === input.estimatedTime || "string" === typeof input.estimatedTime || $report(_exceptionable, {
360
+ }), undefined === input.estimatedTime || "string" === typeof input.estimatedTime || _report(_exceptionable, {
357
361
  path: _path + ".estimatedTime",
358
362
  expected: "(string | undefined)",
359
363
  value: input.estimatedTime
360
- }), undefined === input.approach || "string" === typeof input.approach || $report(_exceptionable, {
364
+ }), undefined === input.approach || "string" === typeof input.approach || _report(_exceptionable, {
361
365
  path: _path + ".approach",
362
366
  expected: "(string | undefined)",
363
367
  value: input.approach
364
- })].every(flag => flag); const $vo3 = (input, _path, _exceptionable = true) => [("object" === typeof input.publicState && null !== input.publicState && false === Array.isArray(input.publicState) || $report(_exceptionable, {
368
+ })].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [("object" === typeof input.publicState && null !== input.publicState && false === Array.isArray(input.publicState) || _report(_exceptionable, {
365
369
  path: _path + ".publicState",
366
370
  expected: "Record<string, any>",
367
371
  value: input.publicState
368
- })) && $vo4(input.publicState, _path + ".publicState", true && _exceptionable) || $report(_exceptionable, {
372
+ })) && _vo4(input.publicState, _path + ".publicState", true && _exceptionable) || _report(_exceptionable, {
369
373
  path: _path + ".publicState",
370
374
  expected: "Record<string, any>",
371
375
  value: input.publicState
372
- }), undefined === input.privateState || ("object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) || $report(_exceptionable, {
376
+ }), undefined === input.privateState || ("object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) || _report(_exceptionable, {
373
377
  path: _path + ".privateState",
374
378
  expected: "(Record<string, any> | undefined)",
375
379
  value: input.privateState
376
- })) && $vo4(input.privateState, _path + ".privateState", true && _exceptionable) || $report(_exceptionable, {
380
+ })) && _vo4(input.privateState, _path + ".privateState", true && _exceptionable) || _report(_exceptionable, {
377
381
  path: _path + ".privateState",
378
382
  expected: "(Record<string, any> | undefined)",
379
383
  value: input.privateState
380
- }), undefined === input.resetState || "boolean" === typeof input.resetState || $report(_exceptionable, {
384
+ }), undefined === input.resetState || "boolean" === typeof input.resetState || _report(_exceptionable, {
381
385
  path: _path + ".resetState",
382
386
  expected: "(boolean | undefined)",
383
387
  value: input.resetState
384
- }), undefined === input.newState || ("object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) || $report(_exceptionable, {
388
+ }), undefined === input.newState || ("object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) || _report(_exceptionable, {
385
389
  path: _path + ".newState",
386
390
  expected: "(Record<string, any> | undefined)",
387
391
  value: input.newState
388
- })) && $vo4(input.newState, _path + ".newState", true && _exceptionable) || $report(_exceptionable, {
392
+ })) && _vo4(input.newState, _path + ".newState", true && _exceptionable) || _report(_exceptionable, {
389
393
  path: _path + ".newState",
390
394
  expected: "(Record<string, any> | undefined)",
391
395
  value: input.newState
392
- }), undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState || $report(_exceptionable, {
396
+ }), undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState || _report(_exceptionable, {
393
397
  path: _path + ".onlyUpdateProvidedNewState",
394
398
  expected: "(boolean | undefined)",
395
399
  value: input.onlyUpdateProvidedNewState
396
- }), "string" === typeof input.instanceId || $report(_exceptionable, {
400
+ }), "string" === typeof input.instanceId || _report(_exceptionable, {
397
401
  path: _path + ".instanceId",
398
402
  expected: "string",
399
403
  value: input.instanceId
400
- }), "string" === typeof input.pluginId || $report(_exceptionable, {
404
+ }), "string" === typeof input.pluginId || _report(_exceptionable, {
401
405
  path: _path + ".pluginId",
402
406
  expected: "string",
403
407
  value: input.pluginId
404
- }), "string" === typeof input.version || $report(_exceptionable, {
408
+ }), "string" === typeof input.version || _report(_exceptionable, {
405
409
  path: _path + ".version",
406
410
  expected: "string",
407
411
  value: input.version
408
- }), ("object" === typeof input.publicParams && null !== input.publicParams && false === Array.isArray(input.publicParams) || $report(_exceptionable, {
412
+ }), ("object" === typeof input.publicParams && null !== input.publicParams && false === Array.isArray(input.publicParams) || _report(_exceptionable, {
409
413
  path: _path + ".publicParams",
410
414
  expected: "Record<string, any>",
411
415
  value: input.publicParams
412
- })) && $vo4(input.publicParams, _path + ".publicParams", true && _exceptionable) || $report(_exceptionable, {
416
+ })) && _vo4(input.publicParams, _path + ".publicParams", true && _exceptionable) || _report(_exceptionable, {
413
417
  path: _path + ".publicParams",
414
418
  expected: "Record<string, any>",
415
419
  value: input.publicParams
416
- }), ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) || $report(_exceptionable, {
420
+ }), ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) || _report(_exceptionable, {
417
421
  path: _path + ".privateParams",
418
422
  expected: "Record<string, any>",
419
423
  value: input.privateParams
420
- })) && $vo4(input.privateParams, _path + ".privateParams", true && _exceptionable) || $report(_exceptionable, {
424
+ })) && _vo4(input.privateParams, _path + ".privateParams", true && _exceptionable) || _report(_exceptionable, {
421
425
  path: _path + ".privateParams",
422
426
  expected: "Record<string, any>",
423
427
  value: input.privateParams
424
- }), undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
428
+ }), undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || _report(_exceptionable, {
425
429
  path: _path + ".metadata",
426
430
  expected: "(__type.o1 | undefined)",
427
431
  value: input.metadata
428
- })) && $vo5(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
432
+ })) && _vo5(input.metadata, _path + ".metadata", true && _exceptionable) || _report(_exceptionable, {
429
433
  path: _path + ".metadata",
430
434
  expected: "(__type.o1 | undefined)",
431
435
  value: input.metadata
432
- })].every(flag => flag); const $vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
436
+ })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
433
437
  const value = input[key];
434
438
  if (undefined === value)
435
439
  return true;
436
440
  return true;
437
- }).every(flag => flag)].every(flag => flag); const $vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
441
+ }).every(flag => flag)].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
438
442
  path: _path + ".name",
439
443
  expected: "string",
440
444
  value: input.name
441
- }), "string" === typeof input.description || $report(_exceptionable, {
445
+ }), "string" === typeof input.description || _report(_exceptionable, {
442
446
  path: _path + ".description",
443
447
  expected: "string",
444
448
  value: input.description
445
- }), undefined === input.image || "string" === typeof input.image || $report(_exceptionable, {
449
+ }), undefined === input.image || "string" === typeof input.image || _report(_exceptionable, {
446
450
  path: _path + ".image",
447
451
  expected: "(string | undefined)",
448
452
  value: input.image
449
- })].every(flag => flag); const $vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.rewardId || $report(_exceptionable, {
453
+ })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.rewardId || _report(_exceptionable, {
450
454
  path: _path + ".rewardId",
451
455
  expected: "string",
452
456
  value: input.rewardId
453
- }), "string" === typeof input.instanceId || $report(_exceptionable, {
457
+ }), "string" === typeof input.instanceId || _report(_exceptionable, {
454
458
  path: _path + ".instanceId",
455
459
  expected: "string",
456
460
  value: input.instanceId
457
- }), undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
461
+ }), undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || _report(_exceptionable, {
458
462
  path: _path + ".metadata",
459
463
  expected: "(__type.o2 | undefined)",
460
464
  value: input.metadata
461
- })) && $vo7(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
465
+ })) && _vo7(input.metadata, _path + ".metadata", true && _exceptionable) || _report(_exceptionable, {
462
466
  path: _path + ".metadata",
463
467
  expected: "(__type.o2 | undefined)",
464
468
  value: input.metadata
465
- }), ("object" === typeof input.gatedContent && null !== input.gatedContent && false === Array.isArray(input.gatedContent) || $report(_exceptionable, {
469
+ }), ("object" === typeof input.gatedContent && null !== input.gatedContent && false === Array.isArray(input.gatedContent) || _report(_exceptionable, {
466
470
  path: _path + ".gatedContent",
467
471
  expected: "iClaimGatedContent",
468
472
  value: input.gatedContent
469
- })) && $vo8(input.gatedContent, _path + ".gatedContent", true && _exceptionable) || $report(_exceptionable, {
473
+ })) && _vo8(input.gatedContent, _path + ".gatedContent", true && _exceptionable) || _report(_exceptionable, {
470
474
  path: _path + ".gatedContent",
471
475
  expected: "iClaimGatedContent",
472
476
  value: input.gatedContent
473
- }), undefined === input.automatic || "boolean" === typeof input.automatic || $report(_exceptionable, {
477
+ }), undefined === input.automatic || "boolean" === typeof input.automatic || _report(_exceptionable, {
474
478
  path: _path + ".automatic",
475
479
  expected: "(boolean | undefined)",
476
480
  value: input.automatic
477
- }), undefined === input.calculationMethod || ("object" === typeof input.calculationMethod && null !== input.calculationMethod && false === Array.isArray(input.calculationMethod) || $report(_exceptionable, {
481
+ }), undefined === input.calculationMethod || ("object" === typeof input.calculationMethod && null !== input.calculationMethod && false === Array.isArray(input.calculationMethod) || _report(_exceptionable, {
478
482
  path: _path + ".calculationMethod",
479
483
  expected: "(__type.o4 | undefined)",
480
484
  value: input.calculationMethod
481
- })) && $vo10(input.calculationMethod, _path + ".calculationMethod", true && _exceptionable) || $report(_exceptionable, {
485
+ })) && _vo10(input.calculationMethod, _path + ".calculationMethod", true && _exceptionable) || _report(_exceptionable, {
482
486
  path: _path + ".calculationMethod",
483
487
  expected: "(__type.o4 | undefined)",
484
488
  value: input.calculationMethod
485
- })].every(flag => flag); const $vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
489
+ })].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
486
490
  path: _path + ".name",
487
491
  expected: "string",
488
492
  value: input.name
489
- }), "string" === typeof input.description || $report(_exceptionable, {
493
+ }), "string" === typeof input.description || _report(_exceptionable, {
490
494
  path: _path + ".description",
491
495
  expected: "string",
492
496
  value: input.description
493
- }), "string" === typeof input.image || $report(_exceptionable, {
497
+ }), "string" === typeof input.image || _report(_exceptionable, {
494
498
  path: _path + ".image",
495
499
  expected: "string",
496
500
  value: input.image
497
- })].every(flag => flag); const $vo8 = (input, _path, _exceptionable = true) => [undefined === input.content || "string" === typeof input.content || $report(_exceptionable, {
501
+ })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.content || "string" === typeof input.content || _report(_exceptionable, {
498
502
  path: _path + ".content",
499
503
  expected: "(string | undefined)",
500
504
  value: input.content
501
- }), undefined === input.url || "string" === typeof input.url || $report(_exceptionable, {
505
+ }), undefined === input.url || "string" === typeof input.url || _report(_exceptionable, {
502
506
  path: _path + ".url",
503
507
  expected: "(string | undefined)",
504
508
  value: input.url
505
- }), undefined === input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || $report(_exceptionable, {
509
+ }), undefined === input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || _report(_exceptionable, {
506
510
  path: _path + ".params",
507
511
  expected: "(__type.o3 | undefined)",
508
512
  value: input.params
509
- })) && $vo9(input.params, _path + ".params", true && _exceptionable) || $report(_exceptionable, {
513
+ })) && _vo9(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
510
514
  path: _path + ".params",
511
515
  expected: "(__type.o3 | undefined)",
512
516
  value: input.params
513
- })].every(flag => flag); const $vo9 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
517
+ })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
514
518
  const value = input[key];
515
519
  if (undefined === value)
516
520
  return true;
517
521
  return true;
518
- }).every(flag => flag)].every(flag => flag); const $vo10 = (input, _path, _exceptionable = true) => [undefined === input.alwaysShow || "boolean" === typeof input.alwaysShow || $report(_exceptionable, {
522
+ }).every(flag => flag)].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.alwaysShow || "boolean" === typeof input.alwaysShow || _report(_exceptionable, {
519
523
  path: _path + ".alwaysShow",
520
524
  expected: "(boolean | undefined)",
521
525
  value: input.alwaysShow
522
- }), undefined === input.minClaimSuccesses || "number" === typeof input.minClaimSuccesses || $report(_exceptionable, {
526
+ }), undefined === input.minClaimSuccesses || "number" === typeof input.minClaimSuccesses || _report(_exceptionable, {
523
527
  path: _path + ".minClaimSuccesses",
524
528
  expected: "(number | undefined)",
525
529
  value: input.minClaimSuccesses
526
- })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && $io0(input); let errors; let $report; return input => {
530
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
527
531
  if (false === __is(input)) {
528
532
  errors = [];
529
- $report = typia.validate.report(errors);
530
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
533
+ _report = __typia_transform__validateReport._validateReport(errors);
534
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
531
535
  path: _path + "",
532
536
  expected: "iCreateAddressListsPayload<T>",
533
537
  value: input
534
- })) && $vo0(input, _path + "", true) || $report(true, {
538
+ })) && _vo0(input, _path + "", true) || _report(true, {
535
539
  path: _path + "",
536
540
  expected: "iCreateAddressListsPayload<T>",
537
541
  value: input
538
542
  }))(input, "$input", true);
539
543
  const success = 0 === errors.length;
540
- return {
544
+ return success ? {
545
+ success,
546
+ data: input
547
+ } : {
541
548
  success,
542
549
  errors,
543
- data: success ? input : undefined
550
+ data: input
544
551
  };
545
552
  }
546
553
  return {
547
554
  success: true,
548
- errors: [],
549
555
  data: input
550
556
  };
551
557
  }; })()(payload ?? {});
@@ -562,337 +568,339 @@ export class BitBadgesAddressList extends AddressListDoc {
562
568
  }
563
569
  static async UpdateAddressList(api, payload) {
564
570
  try {
565
- const validateRes = (() => { const $join = typia.validate.join; const $io0 = input => Array.isArray(input.addressLists) && input.addressLists.every(elem => "object" === typeof elem && null !== elem && $io1(elem)); const $io1 = input => "string" === typeof input.listId && (Array.isArray(input.addresses) && input.addresses.every(elem => "string" === typeof elem)) && "boolean" === typeof input.whitelist && "string" === typeof input.uri && "string" === typeof input.customData && (undefined === input.createdBy || "string" === typeof input.createdBy) && (undefined === input.aliasAddress || "string" === typeof input.aliasAddress) && (undefined === input.updateAddresses || "boolean" === typeof input.updateAddresses) && (Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && $io2(elem))); const $io2 = input => "string" === typeof input.claimId && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && $io3(elem))) && (undefined === input.rewards || Array.isArray(input.rewards) && input.rewards.every(elem => "object" === typeof elem && null !== elem && $io6(elem))) && (undefined === input.estimatedCost || "string" === typeof input.estimatedCost) && (undefined === input.showInSearchResults || "boolean" === typeof input.showInSearchResults) && (undefined === input.categories || Array.isArray(input.categories) && input.categories.every(elem => "string" === typeof elem)) && (undefined === input.estimatedTime || "string" === typeof input.estimatedTime) && (undefined === input.approach || "string" === typeof input.approach); const $io3 = input => "object" === typeof input.publicState && null !== input.publicState && false === Array.isArray(input.publicState) && $io4(input.publicState) && (undefined === input.privateState || "object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) && $io4(input.privateState)) && (undefined === input.resetState || "boolean" === typeof input.resetState) && (undefined === input.newState || "object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) && $io4(input.newState)) && (undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState) && "string" === typeof input.instanceId && "string" === typeof input.pluginId && "string" === typeof input.version && ("object" === typeof input.publicParams && null !== input.publicParams && false === Array.isArray(input.publicParams) && $io4(input.publicParams)) && ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) && $io4(input.privateParams)) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io5(input.metadata)); const $io4 = input => Object.keys(input).every(key => {
571
+ const validateRes = (() => { const _io0 = input => Array.isArray(input.addressLists) && input.addressLists.every(elem => "object" === typeof elem && null !== elem && _io1(elem)); const _io1 = input => "string" === typeof input.listId && (Array.isArray(input.addresses) && input.addresses.every(elem => "string" === typeof elem)) && "boolean" === typeof input.whitelist && "string" === typeof input.uri && "string" === typeof input.customData && (undefined === input.createdBy || "string" === typeof input.createdBy) && (undefined === input.aliasAddress || "string" === typeof input.aliasAddress) && (undefined === input.updateAddresses || "boolean" === typeof input.updateAddresses) && (Array.isArray(input.claims) && input.claims.every(elem => "object" === typeof elem && null !== elem && _io2(elem))); const _io2 = input => "string" === typeof input.claimId && (Array.isArray(input.plugins) && input.plugins.every(elem => "object" === typeof elem && null !== elem && _io3(elem))) && (undefined === input.rewards || Array.isArray(input.rewards) && input.rewards.every(elem => "object" === typeof elem && null !== elem && _io6(elem))) && (undefined === input.estimatedCost || "string" === typeof input.estimatedCost) && (undefined === input.showInSearchResults || "boolean" === typeof input.showInSearchResults) && (undefined === input.categories || Array.isArray(input.categories) && input.categories.every(elem => "string" === typeof elem)) && (undefined === input.estimatedTime || "string" === typeof input.estimatedTime) && (undefined === input.approach || "string" === typeof input.approach); const _io3 = input => "object" === typeof input.publicState && null !== input.publicState && false === Array.isArray(input.publicState) && _io4(input.publicState) && (undefined === input.privateState || "object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) && _io4(input.privateState)) && (undefined === input.resetState || "boolean" === typeof input.resetState) && (undefined === input.newState || "object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) && _io4(input.newState)) && (undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState) && "string" === typeof input.instanceId && "string" === typeof input.pluginId && "string" === typeof input.version && ("object" === typeof input.publicParams && null !== input.publicParams && false === Array.isArray(input.publicParams) && _io4(input.publicParams)) && ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) && _io4(input.privateParams)) && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io5(input.metadata)); const _io4 = input => Object.keys(input).every(key => {
566
572
  const value = input[key];
567
573
  if (undefined === value)
568
574
  return true;
569
575
  return true;
570
- }); const $io5 = input => "string" === typeof input.name && "string" === typeof input.description && (undefined === input.image || "string" === typeof input.image); const $io6 = input => "string" === typeof input.rewardId && "string" === typeof input.instanceId && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && $io7(input.metadata)) && ("object" === typeof input.gatedContent && null !== input.gatedContent && false === Array.isArray(input.gatedContent) && $io8(input.gatedContent)) && (undefined === input.automatic || "boolean" === typeof input.automatic) && (undefined === input.calculationMethod || "object" === typeof input.calculationMethod && null !== input.calculationMethod && false === Array.isArray(input.calculationMethod) && $io10(input.calculationMethod)); const $io7 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image; const $io8 = input => (undefined === input.content || "string" === typeof input.content) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && $io9(input.params)); const $io9 = input => Object.keys(input).every(key => {
576
+ }); const _io5 = input => "string" === typeof input.name && "string" === typeof input.description && (undefined === input.image || "string" === typeof input.image); const _io6 = input => "string" === typeof input.rewardId && "string" === typeof input.instanceId && (undefined === input.metadata || "object" === typeof input.metadata && null !== input.metadata && _io7(input.metadata)) && ("object" === typeof input.gatedContent && null !== input.gatedContent && false === Array.isArray(input.gatedContent) && _io8(input.gatedContent)) && (undefined === input.automatic || "boolean" === typeof input.automatic) && (undefined === input.calculationMethod || "object" === typeof input.calculationMethod && null !== input.calculationMethod && false === Array.isArray(input.calculationMethod) && _io10(input.calculationMethod)); const _io7 = input => "string" === typeof input.name && "string" === typeof input.description && "string" === typeof input.image; const _io8 = input => (undefined === input.content || "string" === typeof input.content) && (undefined === input.url || "string" === typeof input.url) && (undefined === input.params || "object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) && _io9(input.params)); const _io9 = input => Object.keys(input).every(key => {
571
577
  const value = input[key];
572
578
  if (undefined === value)
573
579
  return true;
574
580
  return true;
575
- }); const $io10 = input => (undefined === input.alwaysShow || "boolean" === typeof input.alwaysShow) && (undefined === input.minClaimSuccesses || "number" === typeof input.minClaimSuccesses); const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.addressLists) || $report(_exceptionable, {
581
+ }); const _io10 = input => (undefined === input.alwaysShow || "boolean" === typeof input.alwaysShow) && (undefined === input.minClaimSuccesses || "number" === typeof input.minClaimSuccesses); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.addressLists) || _report(_exceptionable, {
576
582
  path: _path + ".addressLists",
577
583
  expected: "Array<iAddressListCreateObject<T>>",
578
584
  value: input.addressLists
579
- })) && input.addressLists.map((elem, _index7) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
585
+ })) && input.addressLists.map((elem, _index7) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
580
586
  path: _path + ".addressLists[" + _index7 + "]",
581
587
  expected: "iAddressListCreateObject<T>",
582
588
  value: elem
583
- })) && $vo1(elem, _path + ".addressLists[" + _index7 + "]", true && _exceptionable) || $report(_exceptionable, {
589
+ })) && _vo1(elem, _path + ".addressLists[" + _index7 + "]", true && _exceptionable) || _report(_exceptionable, {
584
590
  path: _path + ".addressLists[" + _index7 + "]",
585
591
  expected: "iAddressListCreateObject<T>",
586
592
  value: elem
587
- })).every(flag => flag) || $report(_exceptionable, {
593
+ })).every(flag => flag) || _report(_exceptionable, {
588
594
  path: _path + ".addressLists",
589
595
  expected: "Array<iAddressListCreateObject<T>>",
590
596
  value: input.addressLists
591
- })].every(flag => flag); const $vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.listId || $report(_exceptionable, {
597
+ })].every(flag => flag); const _vo1 = (input, _path, _exceptionable = true) => ["string" === typeof input.listId || _report(_exceptionable, {
592
598
  path: _path + ".listId",
593
599
  expected: "string",
594
600
  value: input.listId
595
- }), (Array.isArray(input.addresses) || $report(_exceptionable, {
601
+ }), (Array.isArray(input.addresses) || _report(_exceptionable, {
596
602
  path: _path + ".addresses",
597
603
  expected: "Array<string>",
598
604
  value: input.addresses
599
- })) && input.addresses.map((elem, _index8) => "string" === typeof elem || $report(_exceptionable, {
605
+ })) && input.addresses.map((elem, _index8) => "string" === typeof elem || _report(_exceptionable, {
600
606
  path: _path + ".addresses[" + _index8 + "]",
601
607
  expected: "string",
602
608
  value: elem
603
- })).every(flag => flag) || $report(_exceptionable, {
609
+ })).every(flag => flag) || _report(_exceptionable, {
604
610
  path: _path + ".addresses",
605
611
  expected: "Array<string>",
606
612
  value: input.addresses
607
- }), "boolean" === typeof input.whitelist || $report(_exceptionable, {
613
+ }), "boolean" === typeof input.whitelist || _report(_exceptionable, {
608
614
  path: _path + ".whitelist",
609
615
  expected: "boolean",
610
616
  value: input.whitelist
611
- }), "string" === typeof input.uri || $report(_exceptionable, {
617
+ }), "string" === typeof input.uri || _report(_exceptionable, {
612
618
  path: _path + ".uri",
613
619
  expected: "string",
614
620
  value: input.uri
615
- }), "string" === typeof input.customData || $report(_exceptionable, {
621
+ }), "string" === typeof input.customData || _report(_exceptionable, {
616
622
  path: _path + ".customData",
617
623
  expected: "string",
618
624
  value: input.customData
619
- }), undefined === input.createdBy || "string" === typeof input.createdBy || $report(_exceptionable, {
625
+ }), undefined === input.createdBy || "string" === typeof input.createdBy || _report(_exceptionable, {
620
626
  path: _path + ".createdBy",
621
627
  expected: "(string | undefined)",
622
628
  value: input.createdBy
623
- }), undefined === input.aliasAddress || "string" === typeof input.aliasAddress || $report(_exceptionable, {
629
+ }), undefined === input.aliasAddress || "string" === typeof input.aliasAddress || _report(_exceptionable, {
624
630
  path: _path + ".aliasAddress",
625
631
  expected: "(string | undefined)",
626
632
  value: input.aliasAddress
627
- }), undefined === input.updateAddresses || "boolean" === typeof input.updateAddresses || $report(_exceptionable, {
633
+ }), undefined === input.updateAddresses || "boolean" === typeof input.updateAddresses || _report(_exceptionable, {
628
634
  path: _path + ".updateAddresses",
629
635
  expected: "(boolean | undefined)",
630
636
  value: input.updateAddresses
631
- }), (Array.isArray(input.claims) || $report(_exceptionable, {
637
+ }), (Array.isArray(input.claims) || _report(_exceptionable, {
632
638
  path: _path + ".claims",
633
639
  expected: "Array<__type>",
634
640
  value: input.claims
635
- })) && input.claims.map((elem, _index9) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
641
+ })) && input.claims.map((elem, _index9) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
636
642
  path: _path + ".claims[" + _index9 + "]",
637
643
  expected: "__type",
638
644
  value: elem
639
- })) && $vo2(elem, _path + ".claims[" + _index9 + "]", true && _exceptionable) || $report(_exceptionable, {
645
+ })) && _vo2(elem, _path + ".claims[" + _index9 + "]", true && _exceptionable) || _report(_exceptionable, {
640
646
  path: _path + ".claims[" + _index9 + "]",
641
647
  expected: "__type",
642
648
  value: elem
643
- })).every(flag => flag) || $report(_exceptionable, {
649
+ })).every(flag => flag) || _report(_exceptionable, {
644
650
  path: _path + ".claims",
645
651
  expected: "Array<__type>",
646
652
  value: input.claims
647
- })].every(flag => flag); const $vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.claimId || $report(_exceptionable, {
653
+ })].every(flag => flag); const _vo2 = (input, _path, _exceptionable = true) => ["string" === typeof input.claimId || _report(_exceptionable, {
648
654
  path: _path + ".claimId",
649
655
  expected: "string",
650
656
  value: input.claimId
651
- }), (Array.isArray(input.plugins) || $report(_exceptionable, {
657
+ }), (Array.isArray(input.plugins) || _report(_exceptionable, {
652
658
  path: _path + ".plugins",
653
659
  expected: "Array<IntegrationPluginDetails<string>>",
654
660
  value: input.plugins
655
- })) && input.plugins.map((elem, _index10) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
661
+ })) && input.plugins.map((elem, _index10) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
656
662
  path: _path + ".plugins[" + _index10 + "]",
657
663
  expected: "IntegrationPluginDetails<string>",
658
664
  value: elem
659
- })) && $vo3(elem, _path + ".plugins[" + _index10 + "]", true && _exceptionable) || $report(_exceptionable, {
665
+ })) && _vo3(elem, _path + ".plugins[" + _index10 + "]", true && _exceptionable) || _report(_exceptionable, {
660
666
  path: _path + ".plugins[" + _index10 + "]",
661
667
  expected: "IntegrationPluginDetails<string>",
662
668
  value: elem
663
- })).every(flag => flag) || $report(_exceptionable, {
669
+ })).every(flag => flag) || _report(_exceptionable, {
664
670
  path: _path + ".plugins",
665
671
  expected: "Array<IntegrationPluginDetails<string>>",
666
672
  value: input.plugins
667
- }), undefined === input.rewards || (Array.isArray(input.rewards) || $report(_exceptionable, {
673
+ }), undefined === input.rewards || (Array.isArray(input.rewards) || _report(_exceptionable, {
668
674
  path: _path + ".rewards",
669
675
  expected: "(Array<ClaimReward<T>> | undefined)",
670
676
  value: input.rewards
671
- })) && input.rewards.map((elem, _index11) => ("object" === typeof elem && null !== elem || $report(_exceptionable, {
677
+ })) && input.rewards.map((elem, _index11) => ("object" === typeof elem && null !== elem || _report(_exceptionable, {
672
678
  path: _path + ".rewards[" + _index11 + "]",
673
679
  expected: "ClaimReward<T>",
674
680
  value: elem
675
- })) && $vo6(elem, _path + ".rewards[" + _index11 + "]", true && _exceptionable) || $report(_exceptionable, {
681
+ })) && _vo6(elem, _path + ".rewards[" + _index11 + "]", true && _exceptionable) || _report(_exceptionable, {
676
682
  path: _path + ".rewards[" + _index11 + "]",
677
683
  expected: "ClaimReward<T>",
678
684
  value: elem
679
- })).every(flag => flag) || $report(_exceptionable, {
685
+ })).every(flag => flag) || _report(_exceptionable, {
680
686
  path: _path + ".rewards",
681
687
  expected: "(Array<ClaimReward<T>> | undefined)",
682
688
  value: input.rewards
683
- }), undefined === input.estimatedCost || "string" === typeof input.estimatedCost || $report(_exceptionable, {
689
+ }), undefined === input.estimatedCost || "string" === typeof input.estimatedCost || _report(_exceptionable, {
684
690
  path: _path + ".estimatedCost",
685
691
  expected: "(string | undefined)",
686
692
  value: input.estimatedCost
687
- }), undefined === input.showInSearchResults || "boolean" === typeof input.showInSearchResults || $report(_exceptionable, {
693
+ }), undefined === input.showInSearchResults || "boolean" === typeof input.showInSearchResults || _report(_exceptionable, {
688
694
  path: _path + ".showInSearchResults",
689
695
  expected: "(boolean | undefined)",
690
696
  value: input.showInSearchResults
691
- }), undefined === input.categories || (Array.isArray(input.categories) || $report(_exceptionable, {
697
+ }), undefined === input.categories || (Array.isArray(input.categories) || _report(_exceptionable, {
692
698
  path: _path + ".categories",
693
699
  expected: "(Array<string> | undefined)",
694
700
  value: input.categories
695
- })) && input.categories.map((elem, _index12) => "string" === typeof elem || $report(_exceptionable, {
701
+ })) && input.categories.map((elem, _index12) => "string" === typeof elem || _report(_exceptionable, {
696
702
  path: _path + ".categories[" + _index12 + "]",
697
703
  expected: "string",
698
704
  value: elem
699
- })).every(flag => flag) || $report(_exceptionable, {
705
+ })).every(flag => flag) || _report(_exceptionable, {
700
706
  path: _path + ".categories",
701
707
  expected: "(Array<string> | undefined)",
702
708
  value: input.categories
703
- }), undefined === input.estimatedTime || "string" === typeof input.estimatedTime || $report(_exceptionable, {
709
+ }), undefined === input.estimatedTime || "string" === typeof input.estimatedTime || _report(_exceptionable, {
704
710
  path: _path + ".estimatedTime",
705
711
  expected: "(string | undefined)",
706
712
  value: input.estimatedTime
707
- }), undefined === input.approach || "string" === typeof input.approach || $report(_exceptionable, {
713
+ }), undefined === input.approach || "string" === typeof input.approach || _report(_exceptionable, {
708
714
  path: _path + ".approach",
709
715
  expected: "(string | undefined)",
710
716
  value: input.approach
711
- })].every(flag => flag); const $vo3 = (input, _path, _exceptionable = true) => [("object" === typeof input.publicState && null !== input.publicState && false === Array.isArray(input.publicState) || $report(_exceptionable, {
717
+ })].every(flag => flag); const _vo3 = (input, _path, _exceptionable = true) => [("object" === typeof input.publicState && null !== input.publicState && false === Array.isArray(input.publicState) || _report(_exceptionable, {
712
718
  path: _path + ".publicState",
713
719
  expected: "Record<string, any>",
714
720
  value: input.publicState
715
- })) && $vo4(input.publicState, _path + ".publicState", true && _exceptionable) || $report(_exceptionable, {
721
+ })) && _vo4(input.publicState, _path + ".publicState", true && _exceptionable) || _report(_exceptionable, {
716
722
  path: _path + ".publicState",
717
723
  expected: "Record<string, any>",
718
724
  value: input.publicState
719
- }), undefined === input.privateState || ("object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) || $report(_exceptionable, {
725
+ }), undefined === input.privateState || ("object" === typeof input.privateState && null !== input.privateState && false === Array.isArray(input.privateState) || _report(_exceptionable, {
720
726
  path: _path + ".privateState",
721
727
  expected: "(Record<string, any> | undefined)",
722
728
  value: input.privateState
723
- })) && $vo4(input.privateState, _path + ".privateState", true && _exceptionable) || $report(_exceptionable, {
729
+ })) && _vo4(input.privateState, _path + ".privateState", true && _exceptionable) || _report(_exceptionable, {
724
730
  path: _path + ".privateState",
725
731
  expected: "(Record<string, any> | undefined)",
726
732
  value: input.privateState
727
- }), undefined === input.resetState || "boolean" === typeof input.resetState || $report(_exceptionable, {
733
+ }), undefined === input.resetState || "boolean" === typeof input.resetState || _report(_exceptionable, {
728
734
  path: _path + ".resetState",
729
735
  expected: "(boolean | undefined)",
730
736
  value: input.resetState
731
- }), undefined === input.newState || ("object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) || $report(_exceptionable, {
737
+ }), undefined === input.newState || ("object" === typeof input.newState && null !== input.newState && false === Array.isArray(input.newState) || _report(_exceptionable, {
732
738
  path: _path + ".newState",
733
739
  expected: "(Record<string, any> | undefined)",
734
740
  value: input.newState
735
- })) && $vo4(input.newState, _path + ".newState", true && _exceptionable) || $report(_exceptionable, {
741
+ })) && _vo4(input.newState, _path + ".newState", true && _exceptionable) || _report(_exceptionable, {
736
742
  path: _path + ".newState",
737
743
  expected: "(Record<string, any> | undefined)",
738
744
  value: input.newState
739
- }), undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState || $report(_exceptionable, {
745
+ }), undefined === input.onlyUpdateProvidedNewState || "boolean" === typeof input.onlyUpdateProvidedNewState || _report(_exceptionable, {
740
746
  path: _path + ".onlyUpdateProvidedNewState",
741
747
  expected: "(boolean | undefined)",
742
748
  value: input.onlyUpdateProvidedNewState
743
- }), "string" === typeof input.instanceId || $report(_exceptionable, {
749
+ }), "string" === typeof input.instanceId || _report(_exceptionable, {
744
750
  path: _path + ".instanceId",
745
751
  expected: "string",
746
752
  value: input.instanceId
747
- }), "string" === typeof input.pluginId || $report(_exceptionable, {
753
+ }), "string" === typeof input.pluginId || _report(_exceptionable, {
748
754
  path: _path + ".pluginId",
749
755
  expected: "string",
750
756
  value: input.pluginId
751
- }), "string" === typeof input.version || $report(_exceptionable, {
757
+ }), "string" === typeof input.version || _report(_exceptionable, {
752
758
  path: _path + ".version",
753
759
  expected: "string",
754
760
  value: input.version
755
- }), ("object" === typeof input.publicParams && null !== input.publicParams && false === Array.isArray(input.publicParams) || $report(_exceptionable, {
761
+ }), ("object" === typeof input.publicParams && null !== input.publicParams && false === Array.isArray(input.publicParams) || _report(_exceptionable, {
756
762
  path: _path + ".publicParams",
757
763
  expected: "Record<string, any>",
758
764
  value: input.publicParams
759
- })) && $vo4(input.publicParams, _path + ".publicParams", true && _exceptionable) || $report(_exceptionable, {
765
+ })) && _vo4(input.publicParams, _path + ".publicParams", true && _exceptionable) || _report(_exceptionable, {
760
766
  path: _path + ".publicParams",
761
767
  expected: "Record<string, any>",
762
768
  value: input.publicParams
763
- }), ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) || $report(_exceptionable, {
769
+ }), ("object" === typeof input.privateParams && null !== input.privateParams && false === Array.isArray(input.privateParams) || _report(_exceptionable, {
764
770
  path: _path + ".privateParams",
765
771
  expected: "Record<string, any>",
766
772
  value: input.privateParams
767
- })) && $vo4(input.privateParams, _path + ".privateParams", true && _exceptionable) || $report(_exceptionable, {
773
+ })) && _vo4(input.privateParams, _path + ".privateParams", true && _exceptionable) || _report(_exceptionable, {
768
774
  path: _path + ".privateParams",
769
775
  expected: "Record<string, any>",
770
776
  value: input.privateParams
771
- }), undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
777
+ }), undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || _report(_exceptionable, {
772
778
  path: _path + ".metadata",
773
779
  expected: "(__type.o1 | undefined)",
774
780
  value: input.metadata
775
- })) && $vo5(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
781
+ })) && _vo5(input.metadata, _path + ".metadata", true && _exceptionable) || _report(_exceptionable, {
776
782
  path: _path + ".metadata",
777
783
  expected: "(__type.o1 | undefined)",
778
784
  value: input.metadata
779
- })].every(flag => flag); const $vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
785
+ })].every(flag => flag); const _vo4 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
780
786
  const value = input[key];
781
787
  if (undefined === value)
782
788
  return true;
783
789
  return true;
784
- }).every(flag => flag)].every(flag => flag); const $vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
790
+ }).every(flag => flag)].every(flag => flag); const _vo5 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
785
791
  path: _path + ".name",
786
792
  expected: "string",
787
793
  value: input.name
788
- }), "string" === typeof input.description || $report(_exceptionable, {
794
+ }), "string" === typeof input.description || _report(_exceptionable, {
789
795
  path: _path + ".description",
790
796
  expected: "string",
791
797
  value: input.description
792
- }), undefined === input.image || "string" === typeof input.image || $report(_exceptionable, {
798
+ }), undefined === input.image || "string" === typeof input.image || _report(_exceptionable, {
793
799
  path: _path + ".image",
794
800
  expected: "(string | undefined)",
795
801
  value: input.image
796
- })].every(flag => flag); const $vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.rewardId || $report(_exceptionable, {
802
+ })].every(flag => flag); const _vo6 = (input, _path, _exceptionable = true) => ["string" === typeof input.rewardId || _report(_exceptionable, {
797
803
  path: _path + ".rewardId",
798
804
  expected: "string",
799
805
  value: input.rewardId
800
- }), "string" === typeof input.instanceId || $report(_exceptionable, {
806
+ }), "string" === typeof input.instanceId || _report(_exceptionable, {
801
807
  path: _path + ".instanceId",
802
808
  expected: "string",
803
809
  value: input.instanceId
804
- }), undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || $report(_exceptionable, {
810
+ }), undefined === input.metadata || ("object" === typeof input.metadata && null !== input.metadata || _report(_exceptionable, {
805
811
  path: _path + ".metadata",
806
812
  expected: "(__type.o2 | undefined)",
807
813
  value: input.metadata
808
- })) && $vo7(input.metadata, _path + ".metadata", true && _exceptionable) || $report(_exceptionable, {
814
+ })) && _vo7(input.metadata, _path + ".metadata", true && _exceptionable) || _report(_exceptionable, {
809
815
  path: _path + ".metadata",
810
816
  expected: "(__type.o2 | undefined)",
811
817
  value: input.metadata
812
- }), ("object" === typeof input.gatedContent && null !== input.gatedContent && false === Array.isArray(input.gatedContent) || $report(_exceptionable, {
818
+ }), ("object" === typeof input.gatedContent && null !== input.gatedContent && false === Array.isArray(input.gatedContent) || _report(_exceptionable, {
813
819
  path: _path + ".gatedContent",
814
820
  expected: "iClaimGatedContent",
815
821
  value: input.gatedContent
816
- })) && $vo8(input.gatedContent, _path + ".gatedContent", true && _exceptionable) || $report(_exceptionable, {
822
+ })) && _vo8(input.gatedContent, _path + ".gatedContent", true && _exceptionable) || _report(_exceptionable, {
817
823
  path: _path + ".gatedContent",
818
824
  expected: "iClaimGatedContent",
819
825
  value: input.gatedContent
820
- }), undefined === input.automatic || "boolean" === typeof input.automatic || $report(_exceptionable, {
826
+ }), undefined === input.automatic || "boolean" === typeof input.automatic || _report(_exceptionable, {
821
827
  path: _path + ".automatic",
822
828
  expected: "(boolean | undefined)",
823
829
  value: input.automatic
824
- }), undefined === input.calculationMethod || ("object" === typeof input.calculationMethod && null !== input.calculationMethod && false === Array.isArray(input.calculationMethod) || $report(_exceptionable, {
830
+ }), undefined === input.calculationMethod || ("object" === typeof input.calculationMethod && null !== input.calculationMethod && false === Array.isArray(input.calculationMethod) || _report(_exceptionable, {
825
831
  path: _path + ".calculationMethod",
826
832
  expected: "(__type.o4 | undefined)",
827
833
  value: input.calculationMethod
828
- })) && $vo10(input.calculationMethod, _path + ".calculationMethod", true && _exceptionable) || $report(_exceptionable, {
834
+ })) && _vo10(input.calculationMethod, _path + ".calculationMethod", true && _exceptionable) || _report(_exceptionable, {
829
835
  path: _path + ".calculationMethod",
830
836
  expected: "(__type.o4 | undefined)",
831
837
  value: input.calculationMethod
832
- })].every(flag => flag); const $vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || $report(_exceptionable, {
838
+ })].every(flag => flag); const _vo7 = (input, _path, _exceptionable = true) => ["string" === typeof input.name || _report(_exceptionable, {
833
839
  path: _path + ".name",
834
840
  expected: "string",
835
841
  value: input.name
836
- }), "string" === typeof input.description || $report(_exceptionable, {
842
+ }), "string" === typeof input.description || _report(_exceptionable, {
837
843
  path: _path + ".description",
838
844
  expected: "string",
839
845
  value: input.description
840
- }), "string" === typeof input.image || $report(_exceptionable, {
846
+ }), "string" === typeof input.image || _report(_exceptionable, {
841
847
  path: _path + ".image",
842
848
  expected: "string",
843
849
  value: input.image
844
- })].every(flag => flag); const $vo8 = (input, _path, _exceptionable = true) => [undefined === input.content || "string" === typeof input.content || $report(_exceptionable, {
850
+ })].every(flag => flag); const _vo8 = (input, _path, _exceptionable = true) => [undefined === input.content || "string" === typeof input.content || _report(_exceptionable, {
845
851
  path: _path + ".content",
846
852
  expected: "(string | undefined)",
847
853
  value: input.content
848
- }), undefined === input.url || "string" === typeof input.url || $report(_exceptionable, {
854
+ }), undefined === input.url || "string" === typeof input.url || _report(_exceptionable, {
849
855
  path: _path + ".url",
850
856
  expected: "(string | undefined)",
851
857
  value: input.url
852
- }), undefined === input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || $report(_exceptionable, {
858
+ }), undefined === input.params || ("object" === typeof input.params && null !== input.params && false === Array.isArray(input.params) || _report(_exceptionable, {
853
859
  path: _path + ".params",
854
860
  expected: "(__type.o3 | undefined)",
855
861
  value: input.params
856
- })) && $vo9(input.params, _path + ".params", true && _exceptionable) || $report(_exceptionable, {
862
+ })) && _vo9(input.params, _path + ".params", true && _exceptionable) || _report(_exceptionable, {
857
863
  path: _path + ".params",
858
864
  expected: "(__type.o3 | undefined)",
859
865
  value: input.params
860
- })].every(flag => flag); const $vo9 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
866
+ })].every(flag => flag); const _vo9 = (input, _path, _exceptionable = true) => [false === _exceptionable || Object.keys(input).map(key => {
861
867
  const value = input[key];
862
868
  if (undefined === value)
863
869
  return true;
864
870
  return true;
865
- }).every(flag => flag)].every(flag => flag); const $vo10 = (input, _path, _exceptionable = true) => [undefined === input.alwaysShow || "boolean" === typeof input.alwaysShow || $report(_exceptionable, {
871
+ }).every(flag => flag)].every(flag => flag); const _vo10 = (input, _path, _exceptionable = true) => [undefined === input.alwaysShow || "boolean" === typeof input.alwaysShow || _report(_exceptionable, {
866
872
  path: _path + ".alwaysShow",
867
873
  expected: "(boolean | undefined)",
868
874
  value: input.alwaysShow
869
- }), undefined === input.minClaimSuccesses || "number" === typeof input.minClaimSuccesses || $report(_exceptionable, {
875
+ }), undefined === input.minClaimSuccesses || "number" === typeof input.minClaimSuccesses || _report(_exceptionable, {
870
876
  path: _path + ".minClaimSuccesses",
871
877
  expected: "(number | undefined)",
872
878
  value: input.minClaimSuccesses
873
- })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && $io0(input); let errors; let $report; return input => {
879
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
874
880
  if (false === __is(input)) {
875
881
  errors = [];
876
- $report = typia.validate.report(errors);
877
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
882
+ _report = __typia_transform__validateReport._validateReport(errors);
883
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
878
884
  path: _path + "",
879
885
  expected: "iUpdateAddressListsPayload<T>",
880
886
  value: input
881
- })) && $vo0(input, _path + "", true) || $report(true, {
887
+ })) && _vo0(input, _path + "", true) || _report(true, {
882
888
  path: _path + "",
883
889
  expected: "iUpdateAddressListsPayload<T>",
884
890
  value: input
885
891
  }))(input, "$input", true);
886
892
  const success = 0 === errors.length;
887
- return {
893
+ return success ? {
894
+ success,
895
+ data: input
896
+ } : {
888
897
  success,
889
898
  errors,
890
- data: success ? input : undefined
899
+ data: input
891
900
  };
892
901
  }
893
902
  return {
894
903
  success: true,
895
- errors: [],
896
904
  data: input
897
905
  };
898
906
  }; })()(payload ?? {});
@@ -909,41 +917,43 @@ export class BitBadgesAddressList extends AddressListDoc {
909
917
  }
910
918
  static async DeleteAddressList(api, payload) {
911
919
  try {
912
- const validateRes = (() => { const $io0 = input => Array.isArray(input.listIds) && input.listIds.every(elem => "string" === typeof elem); const $vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.listIds) || $report(_exceptionable, {
920
+ const validateRes = (() => { const _io0 = input => Array.isArray(input.listIds) && input.listIds.every(elem => "string" === typeof elem); const _vo0 = (input, _path, _exceptionable = true) => [(Array.isArray(input.listIds) || _report(_exceptionable, {
913
921
  path: _path + ".listIds",
914
922
  expected: "Array<string>",
915
923
  value: input.listIds
916
- })) && input.listIds.map((elem, _index2) => "string" === typeof elem || $report(_exceptionable, {
924
+ })) && input.listIds.map((elem, _index2) => "string" === typeof elem || _report(_exceptionable, {
917
925
  path: _path + ".listIds[" + _index2 + "]",
918
926
  expected: "string",
919
927
  value: elem
920
- })).every(flag => flag) || $report(_exceptionable, {
928
+ })).every(flag => flag) || _report(_exceptionable, {
921
929
  path: _path + ".listIds",
922
930
  expected: "Array<string>",
923
931
  value: input.listIds
924
- })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && $io0(input); let errors; let $report; return input => {
932
+ })].every(flag => flag); const __is = input => "object" === typeof input && null !== input && _io0(input); let errors; let _report; return input => {
925
933
  if (false === __is(input)) {
926
934
  errors = [];
927
- $report = typia.validate.report(errors);
928
- ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || $report(true, {
935
+ _report = __typia_transform__validateReport._validateReport(errors);
936
+ ((input, _path, _exceptionable = true) => ("object" === typeof input && null !== input || _report(true, {
929
937
  path: _path + "",
930
938
  expected: "iDeleteAddressListsPayload",
931
939
  value: input
932
- })) && $vo0(input, _path + "", true) || $report(true, {
940
+ })) && _vo0(input, _path + "", true) || _report(true, {
933
941
  path: _path + "",
934
942
  expected: "iDeleteAddressListsPayload",
935
943
  value: input
936
944
  }))(input, "$input", true);
937
945
  const success = 0 === errors.length;
938
- return {
946
+ return success ? {
947
+ success,
948
+ data: input
949
+ } : {
939
950
  success,
940
951
  errors,
941
- data: success ? input : undefined
952
+ data: input
942
953
  };
943
954
  }
944
955
  return {
945
956
  success: true,
946
- errors: [],
947
957
  data: input
948
958
  };
949
959
  }; })()(payload ?? {});
@@ -1010,6 +1020,16 @@ const updateAddressListWithResponse = (oldList, newResponse) => {
1010
1020
  });
1011
1021
  return cachedList;
1012
1022
  };
1023
+ export class GetAddressListSuccessResponse extends BaseNumberTypeClass {
1024
+ addressList;
1025
+ constructor(data) {
1026
+ super();
1027
+ this.addressList = new BitBadgesAddressList(data.addressList);
1028
+ }
1029
+ convert(convertFunction, options) {
1030
+ return convertClassPropertiesAndMaintainNumberTypes(this, convertFunction, options);
1031
+ }
1032
+ }
1013
1033
  export class GetAddressListsSuccessResponse extends BaseNumberTypeClass {
1014
1034
  addressLists;
1015
1035
  constructor(data) {