@bze/bzejs 0.0.8 → 0.0.9

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 (352) hide show
  1. package/main/codegen/beezee/burner/burn_coins_proposal.js +4 -5
  2. package/main/codegen/beezee/burner/burned_coins.js +4 -5
  3. package/main/codegen/beezee/burner/events.js +5 -7
  4. package/main/codegen/beezee/burner/genesis.js +8 -5
  5. package/main/codegen/beezee/burner/params.js +8 -5
  6. package/main/codegen/beezee/burner/query.js +15 -11
  7. package/main/codegen/beezee/burner/query.lcd.js +6 -7
  8. package/main/codegen/beezee/burner/query.rpc.Query.js +6 -7
  9. package/main/codegen/beezee/burner/tx.amino.js +2 -3
  10. package/main/codegen/beezee/burner/tx.js +5 -7
  11. package/main/codegen/beezee/burner/tx.registry.js +4 -7
  12. package/main/codegen/beezee/burner/tx.rpc.msg.js +5 -5
  13. package/main/codegen/beezee/cointrunk/accepted_domain.js +4 -5
  14. package/main/codegen/beezee/cointrunk/accepted_domain_proposal.js +4 -5
  15. package/main/codegen/beezee/cointrunk/anon_articles_counter.js +4 -5
  16. package/main/codegen/beezee/cointrunk/article.js +4 -5
  17. package/main/codegen/beezee/cointrunk/events.js +9 -15
  18. package/main/codegen/beezee/cointrunk/genesis.js +8 -5
  19. package/main/codegen/beezee/cointrunk/params.js +9 -7
  20. package/main/codegen/beezee/cointrunk/publisher.js +4 -5
  21. package/main/codegen/beezee/cointrunk/publisher_proposal.js +4 -5
  22. package/main/codegen/beezee/cointrunk/query.js +23 -27
  23. package/main/codegen/beezee/cointrunk/query.lcd.js +14 -15
  24. package/main/codegen/beezee/cointrunk/query.rpc.Query.js +6 -7
  25. package/main/codegen/beezee/cointrunk/tx.amino.js +2 -3
  26. package/main/codegen/beezee/cointrunk/tx.js +7 -11
  27. package/main/codegen/beezee/cointrunk/tx.registry.js +4 -7
  28. package/main/codegen/beezee/cointrunk/tx.rpc.msg.js +5 -5
  29. package/main/codegen/bze/bundle.js +4 -5
  30. package/main/codegen/bze/client.js +9 -13
  31. package/main/codegen/bze/lcd.js +4 -5
  32. package/main/codegen/bze/rpc.query.js +4 -5
  33. package/main/codegen/bze/rpc.tx.js +4 -5
  34. package/main/codegen/cosmos/app/v1alpha1/config.js +29 -7
  35. package/main/codegen/cosmos/app/v1alpha1/module.js +24 -9
  36. package/main/codegen/cosmos/app/v1alpha1/query.js +13 -7
  37. package/main/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +6 -7
  38. package/main/codegen/cosmos/auth/v1beta1/auth.js +26 -9
  39. package/main/codegen/cosmos/auth/v1beta1/genesis.js +8 -5
  40. package/main/codegen/cosmos/auth/v1beta1/query.js +89 -31
  41. package/main/codegen/cosmos/auth/v1beta1/query.lcd.js +16 -17
  42. package/main/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +6 -7
  43. package/main/codegen/cosmos/authz/v1beta1/authz.js +41 -11
  44. package/main/codegen/cosmos/authz/v1beta1/event.js +13 -7
  45. package/main/codegen/cosmos/authz/v1beta1/genesis.js +8 -5
  46. package/main/codegen/cosmos/authz/v1beta1/query.js +33 -15
  47. package/main/codegen/cosmos/authz/v1beta1/query.lcd.js +8 -7
  48. package/main/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +6 -7
  49. package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +2 -3
  50. package/main/codegen/cosmos/authz/v1beta1/tx.js +53 -15
  51. package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +4 -7
  52. package/main/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +5 -5
  53. package/main/codegen/cosmos/bank/v1beta1/authz.js +18 -5
  54. package/main/codegen/cosmos/bank/v1beta1/bank.js +68 -17
  55. package/main/codegen/cosmos/bank/v1beta1/genesis.js +19 -7
  56. package/main/codegen/cosmos/bank/v1beta1/query.js +156 -41
  57. package/main/codegen/cosmos/bank/v1beta1/query.lcd.js +20 -18
  58. package/main/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +6 -7
  59. package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +2 -3
  60. package/main/codegen/cosmos/bank/v1beta1/tx.js +23 -11
  61. package/main/codegen/cosmos/bank/v1beta1/tx.registry.js +4 -7
  62. package/main/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +5 -5
  63. package/main/codegen/cosmos/base/abci/v1beta1/abci.js +93 -23
  64. package/main/codegen/cosmos/base/kv/v1beta1/kv.js +13 -7
  65. package/main/codegen/cosmos/base/query/v1beta1/pagination.js +45 -7
  66. package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +35 -11
  67. package/main/codegen/cosmos/base/reflection/v2alpha1/reflection.js +163 -55
  68. package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +48 -21
  69. package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +36 -9
  70. package/main/codegen/cosmos/base/store/v1beta1/listening.js +20 -5
  71. package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +78 -33
  72. package/main/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +14 -15
  73. package/main/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +6 -7
  74. package/main/codegen/cosmos/base/v1beta1/coin.js +43 -11
  75. package/main/codegen/cosmos/bundle.js +4 -5
  76. package/main/codegen/cosmos/capability/v1beta1/capability.js +36 -9
  77. package/main/codegen/cosmos/capability/v1beta1/genesis.js +13 -7
  78. package/main/codegen/cosmos/client.js +9 -13
  79. package/main/codegen/cosmos/crisis/v1beta1/genesis.js +8 -5
  80. package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +2 -3
  81. package/main/codegen/cosmos/crisis/v1beta1/tx.js +13 -7
  82. package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +4 -7
  83. package/main/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +5 -5
  84. package/main/codegen/cosmos/crypto/ed25519/keys.js +31 -7
  85. package/main/codegen/cosmos/crypto/hd/v1/hd.js +8 -5
  86. package/main/codegen/cosmos/crypto/keyring/v1/record.js +34 -13
  87. package/main/codegen/cosmos/crypto/multisig/keys.js +16 -5
  88. package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +31 -7
  89. package/main/codegen/cosmos/crypto/secp256k1/keys.js +25 -7
  90. package/main/codegen/cosmos/crypto/secp256r1/keys.js +13 -7
  91. package/main/codegen/cosmos/distribution/v1beta1/distribution.js +153 -27
  92. package/main/codegen/cosmos/distribution/v1beta1/genesis.js +63 -19
  93. package/main/codegen/cosmos/distribution/v1beta1/query.js +189 -39
  94. package/main/codegen/cosmos/distribution/v1beta1/query.lcd.js +20 -20
  95. package/main/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +6 -7
  96. package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +2 -3
  97. package/main/codegen/cosmos/distribution/v1beta1/tx.js +67 -19
  98. package/main/codegen/cosmos/distribution/v1beta1/tx.registry.js +4 -7
  99. package/main/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +5 -5
  100. package/main/codegen/cosmos/evidence/v1beta1/evidence.js +14 -5
  101. package/main/codegen/cosmos/evidence/v1beta1/genesis.js +8 -5
  102. package/main/codegen/cosmos/evidence/v1beta1/query.js +35 -11
  103. package/main/codegen/cosmos/evidence/v1beta1/query.lcd.js +6 -7
  104. package/main/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +6 -7
  105. package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +2 -3
  106. package/main/codegen/cosmos/evidence/v1beta1/tx.js +19 -7
  107. package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +4 -7
  108. package/main/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +5 -5
  109. package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +35 -11
  110. package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +8 -5
  111. package/main/codegen/cosmos/feegrant/v1beta1/query.js +33 -15
  112. package/main/codegen/cosmos/feegrant/v1beta1/query.lcd.js +8 -8
  113. package/main/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +6 -7
  114. package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +2 -3
  115. package/main/codegen/cosmos/feegrant/v1beta1/tx.js +29 -11
  116. package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +4 -7
  117. package/main/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +5 -5
  118. package/main/codegen/cosmos/genutil/v1beta1/genesis.js +8 -5
  119. package/main/codegen/cosmos/gov/v1/genesis.js +8 -5
  120. package/main/codegen/cosmos/gov/v1/gov.js +67 -37
  121. package/main/codegen/cosmos/gov/v1/query.js +89 -35
  122. package/main/codegen/cosmos/gov/v1/query.lcd.js +18 -19
  123. package/main/codegen/cosmos/gov/v1/query.rpc.Query.js +6 -7
  124. package/main/codegen/cosmos/gov/v1/tx.amino.js +2 -3
  125. package/main/codegen/cosmos/gov/v1/tx.js +65 -23
  126. package/main/codegen/cosmos/gov/v1/tx.registry.js +4 -7
  127. package/main/codegen/cosmos/gov/v1/tx.rpc.msg.js +5 -5
  128. package/main/codegen/cosmos/gov/v1beta1/genesis.js +8 -5
  129. package/main/codegen/cosmos/gov/v1beta1/gov.js +82 -39
  130. package/main/codegen/cosmos/gov/v1beta1/query.js +89 -35
  131. package/main/codegen/cosmos/gov/v1beta1/query.lcd.js +18 -19
  132. package/main/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +6 -7
  133. package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +2 -3
  134. package/main/codegen/cosmos/gov/v1beta1/tx.js +65 -19
  135. package/main/codegen/cosmos/gov/v1beta1/tx.registry.js +4 -7
  136. package/main/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +5 -5
  137. package/main/codegen/cosmos/group/v1/events.js +48 -21
  138. package/main/codegen/cosmos/group/v1/genesis.js +8 -5
  139. package/main/codegen/cosmos/group/v1/query.js +133 -55
  140. package/main/codegen/cosmos/group/v1/query.lcd.js +28 -29
  141. package/main/codegen/cosmos/group/v1/query.rpc.Query.js +6 -7
  142. package/main/codegen/cosmos/group/v1/tx.amino.js +2 -3
  143. package/main/codegen/cosmos/group/v1/tx.js +148 -68
  144. package/main/codegen/cosmos/group/v1/tx.registry.js +4 -7
  145. package/main/codegen/cosmos/group/v1/tx.rpc.msg.js +5 -5
  146. package/main/codegen/cosmos/group/v1/types.js +97 -61
  147. package/main/codegen/cosmos/lcd.js +4 -5
  148. package/main/codegen/cosmos/mint/v1beta1/genesis.js +8 -5
  149. package/main/codegen/cosmos/mint/v1beta1/mint.js +13 -7
  150. package/main/codegen/cosmos/mint/v1beta1/query.js +51 -15
  151. package/main/codegen/cosmos/mint/v1beta1/query.lcd.js +8 -9
  152. package/main/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +6 -7
  153. package/main/codegen/cosmos/nft/v1beta1/event.js +18 -9
  154. package/main/codegen/cosmos/nft/v1beta1/genesis.js +13 -7
  155. package/main/codegen/cosmos/nft/v1beta1/nft.js +13 -7
  156. package/main/codegen/cosmos/nft/v1beta1/query.js +73 -31
  157. package/main/codegen/cosmos/nft/v1beta1/query.lcd.js +16 -16
  158. package/main/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +6 -7
  159. package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +2 -3
  160. package/main/codegen/cosmos/nft/v1beta1/tx.js +13 -7
  161. package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +4 -7
  162. package/main/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +5 -5
  163. package/main/codegen/cosmos/orm/v1/orm.js +23 -11
  164. package/main/codegen/cosmos/orm/v1alpha1/schema.js +18 -16
  165. package/main/codegen/cosmos/params/v1beta1/params.js +19 -7
  166. package/main/codegen/cosmos/params/v1beta1/query.js +46 -13
  167. package/main/codegen/cosmos/params/v1beta1/query.lcd.js +6 -7
  168. package/main/codegen/cosmos/params/v1beta1/query.rpc.Query.js +6 -7
  169. package/main/codegen/cosmos/rpc.query.js +4 -5
  170. package/main/codegen/cosmos/rpc.tx.js +4 -5
  171. package/main/codegen/cosmos/slashing/v1beta1/genesis.js +29 -11
  172. package/main/codegen/cosmos/slashing/v1beta1/query.js +57 -15
  173. package/main/codegen/cosmos/slashing/v1beta1/query.lcd.js +8 -9
  174. package/main/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +6 -7
  175. package/main/codegen/cosmos/slashing/v1beta1/slashing.js +19 -7
  176. package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +2 -3
  177. package/main/codegen/cosmos/slashing/v1beta1/tx.js +13 -7
  178. package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +4 -7
  179. package/main/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +5 -5
  180. package/main/codegen/cosmos/staking/v1beta1/authz.js +26 -20
  181. package/main/codegen/cosmos/staking/v1beta1/genesis.js +13 -7
  182. package/main/codegen/cosmos/staking/v1beta1/query.js +251 -59
  183. package/main/codegen/cosmos/staking/v1beta1/query.lcd.js +30 -27
  184. package/main/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +6 -7
  185. package/main/codegen/cosmos/staking/v1beta1/staking.js +203 -52
  186. package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +2 -3
  187. package/main/codegen/cosmos/staking/v1beta1/tx.js +71 -23
  188. package/main/codegen/cosmos/staking/v1beta1/tx.registry.js +4 -7
  189. package/main/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +5 -5
  190. package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +48 -27
  191. package/main/codegen/cosmos/tx/v1beta1/service.js +122 -41
  192. package/main/codegen/cosmos/tx/v1beta1/service.lcd.js +8 -8
  193. package/main/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +6 -7
  194. package/main/codegen/cosmos/tx/v1beta1/tx.js +140 -29
  195. package/main/codegen/cosmos/upgrade/v1beta1/query.js +133 -23
  196. package/main/codegen/cosmos/upgrade/v1beta1/query.lcd.js +12 -11
  197. package/main/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +6 -7
  198. package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +2 -3
  199. package/main/codegen/cosmos/upgrade/v1beta1/tx.js +55 -11
  200. package/main/codegen/cosmos/upgrade/v1beta1/tx.registry.js +4 -7
  201. package/main/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +5 -5
  202. package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +59 -11
  203. package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +2 -3
  204. package/main/codegen/cosmos/vesting/v1beta1/tx.js +57 -15
  205. package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +4 -7
  206. package/main/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +5 -5
  207. package/main/codegen/cosmos/vesting/v1beta1/vesting.js +71 -15
  208. package/main/codegen/cosmos_proto/bundle.js +5 -6
  209. package/main/codegen/cosmos_proto/cosmos.js +36 -15
  210. package/main/codegen/extern.js +3 -5
  211. package/main/codegen/gogoproto/bundle.js +5 -6
  212. package/main/codegen/google/api/http.js +566 -9
  213. package/main/codegen/google/bundle.js +4 -5
  214. package/main/codegen/google/protobuf/any.js +168 -5
  215. package/main/codegen/google/protobuf/descriptor.js +194 -110
  216. package/main/codegen/google/protobuf/duration.js +126 -5
  217. package/main/codegen/google/protobuf/empty.js +28 -5
  218. package/main/codegen/google/protobuf/timestamp.js +174 -5
  219. package/main/codegen/helpers.js +3 -4
  220. package/main/codegen/tendermint/abci/types.js +154 -123
  221. package/main/codegen/tendermint/bundle.js +4 -5
  222. package/main/codegen/tendermint/crypto/keys.js +8 -5
  223. package/main/codegen/tendermint/crypto/proof.js +24 -13
  224. package/main/codegen/tendermint/libs/bits/types.js +4 -5
  225. package/main/codegen/tendermint/p2p/types.js +8 -13
  226. package/main/codegen/tendermint/types/block.js +4 -5
  227. package/main/codegen/tendermint/types/evidence.js +15 -11
  228. package/main/codegen/tendermint/types/params.js +53 -15
  229. package/main/codegen/tendermint/types/types.js +66 -47
  230. package/main/codegen/tendermint/types/validator.js +6 -9
  231. package/main/codegen/tendermint/version/types.js +29 -7
  232. package/module/codegen/beezee/burner/genesis.js +5 -0
  233. package/module/codegen/beezee/burner/params.js +5 -0
  234. package/module/codegen/beezee/burner/query.js +9 -0
  235. package/module/codegen/beezee/cointrunk/genesis.js +2 -0
  236. package/module/codegen/beezee/cointrunk/params.js +2 -0
  237. package/module/codegen/beezee/cointrunk/query.js +9 -0
  238. package/module/codegen/bze/bundle.js +2 -2
  239. package/module/codegen/bze/client.js +2 -2
  240. package/module/codegen/cosmos/app/v1alpha1/config.js +25 -0
  241. package/module/codegen/cosmos/app/v1alpha1/module.js +19 -0
  242. package/module/codegen/cosmos/app/v1alpha1/query.js +9 -0
  243. package/module/codegen/cosmos/auth/v1beta1/auth.js +14 -0
  244. package/module/codegen/cosmos/auth/v1beta1/genesis.js +5 -0
  245. package/module/codegen/cosmos/auth/v1beta1/query.js +73 -0
  246. package/module/codegen/cosmos/authz/v1beta1/authz.js +29 -0
  247. package/module/codegen/cosmos/authz/v1beta1/event.js +9 -0
  248. package/module/codegen/cosmos/authz/v1beta1/genesis.js +5 -0
  249. package/module/codegen/cosmos/authz/v1beta1/query.js +25 -0
  250. package/module/codegen/cosmos/authz/v1beta1/tx.js +45 -0
  251. package/module/codegen/cosmos/bank/v1beta1/authz.js +15 -0
  252. package/module/codegen/cosmos/bank/v1beta1/bank.js +59 -0
  253. package/module/codegen/cosmos/bank/v1beta1/genesis.js +15 -0
  254. package/module/codegen/cosmos/bank/v1beta1/query.js +135 -0
  255. package/module/codegen/cosmos/bank/v1beta1/tx.js +17 -0
  256. package/module/codegen/cosmos/base/abci/v1beta1/abci.js +75 -0
  257. package/module/codegen/cosmos/base/kv/v1beta1/kv.js +9 -0
  258. package/module/codegen/cosmos/base/query/v1beta1/pagination.js +30 -0
  259. package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +29 -0
  260. package/module/codegen/cosmos/base/reflection/v2alpha1/reflection.js +135 -0
  261. package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +34 -0
  262. package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +25 -0
  263. package/module/codegen/cosmos/base/store/v1beta1/listening.js +17 -0
  264. package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +58 -0
  265. package/module/codegen/cosmos/base/v1beta1/coin.js +37 -0
  266. package/module/codegen/cosmos/bundle.js +2 -2
  267. package/module/codegen/cosmos/capability/v1beta1/capability.js +25 -0
  268. package/module/codegen/cosmos/capability/v1beta1/genesis.js +6 -0
  269. package/module/codegen/cosmos/client.js +2 -2
  270. package/module/codegen/cosmos/crisis/v1beta1/genesis.js +5 -0
  271. package/module/codegen/cosmos/crisis/v1beta1/tx.js +9 -0
  272. package/module/codegen/cosmos/crypto/ed25519/keys.js +27 -0
  273. package/module/codegen/cosmos/crypto/hd/v1/hd.js +5 -0
  274. package/module/codegen/cosmos/crypto/keyring/v1/record.js +27 -0
  275. package/module/codegen/cosmos/crypto/multisig/keys.js +13 -0
  276. package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +27 -0
  277. package/module/codegen/cosmos/crypto/secp256k1/keys.js +21 -0
  278. package/module/codegen/cosmos/crypto/secp256r1/keys.js +9 -0
  279. package/module/codegen/cosmos/distribution/v1beta1/distribution.js +136 -0
  280. package/module/codegen/cosmos/distribution/v1beta1/genesis.js +46 -0
  281. package/module/codegen/cosmos/distribution/v1beta1/query.js +166 -0
  282. package/module/codegen/cosmos/distribution/v1beta1/tx.js +57 -0
  283. package/module/codegen/cosmos/evidence/v1beta1/evidence.js +5 -0
  284. package/module/codegen/cosmos/evidence/v1beta1/genesis.js +5 -0
  285. package/module/codegen/cosmos/evidence/v1beta1/query.js +29 -0
  286. package/module/codegen/cosmos/evidence/v1beta1/tx.js +15 -0
  287. package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +23 -0
  288. package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +5 -0
  289. package/module/codegen/cosmos/feegrant/v1beta1/query.js +25 -0
  290. package/module/codegen/cosmos/feegrant/v1beta1/tx.js +23 -0
  291. package/module/codegen/cosmos/genutil/v1beta1/genesis.js +5 -0
  292. package/module/codegen/cosmos/gov/v1/genesis.js +2 -0
  293. package/module/codegen/cosmos/gov/v1/gov.js +58 -14
  294. package/module/codegen/cosmos/gov/v1/query.js +68 -0
  295. package/module/codegen/cosmos/gov/v1/tx.js +47 -0
  296. package/module/codegen/cosmos/gov/v1beta1/genesis.js +2 -0
  297. package/module/codegen/cosmos/gov/v1beta1/gov.js +72 -14
  298. package/module/codegen/cosmos/gov/v1beta1/query.js +68 -0
  299. package/module/codegen/cosmos/gov/v1beta1/tx.js +49 -0
  300. package/module/codegen/cosmos/group/v1/events.js +34 -0
  301. package/module/codegen/cosmos/group/v1/genesis.js +2 -0
  302. package/module/codegen/cosmos/group/v1/query.js +102 -0
  303. package/module/codegen/cosmos/group/v1/tx.js +118 -7
  304. package/module/codegen/cosmos/group/v1/types.js +87 -28
  305. package/module/codegen/cosmos/mint/v1beta1/genesis.js +5 -0
  306. package/module/codegen/cosmos/mint/v1beta1/mint.js +6 -0
  307. package/module/codegen/cosmos/mint/v1beta1/query.js +43 -0
  308. package/module/codegen/cosmos/nft/v1beta1/event.js +13 -0
  309. package/module/codegen/cosmos/nft/v1beta1/genesis.js +9 -0
  310. package/module/codegen/cosmos/nft/v1beta1/nft.js +9 -0
  311. package/module/codegen/cosmos/nft/v1beta1/query.js +54 -0
  312. package/module/codegen/cosmos/nft/v1beta1/tx.js +9 -0
  313. package/module/codegen/cosmos/orm/v1/orm.js +17 -0
  314. package/module/codegen/cosmos/orm/v1alpha1/schema.js +14 -7
  315. package/module/codegen/cosmos/params/v1beta1/params.js +15 -0
  316. package/module/codegen/cosmos/params/v1beta1/query.js +39 -0
  317. package/module/codegen/cosmos/slashing/v1beta1/genesis.js +20 -0
  318. package/module/codegen/cosmos/slashing/v1beta1/query.js +49 -0
  319. package/module/codegen/cosmos/slashing/v1beta1/slashing.js +9 -0
  320. package/module/codegen/cosmos/slashing/v1beta1/tx.js +9 -0
  321. package/module/codegen/cosmos/staking/v1beta1/authz.js +22 -11
  322. package/module/codegen/cosmos/staking/v1beta1/genesis.js +6 -0
  323. package/module/codegen/cosmos/staking/v1beta1/query.js +218 -0
  324. package/module/codegen/cosmos/staking/v1beta1/staking.js +181 -7
  325. package/module/codegen/cosmos/staking/v1beta1/tx.js +56 -0
  326. package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +41 -12
  327. package/module/codegen/cosmos/tx/v1beta1/service.js +111 -14
  328. package/module/codegen/cosmos/tx/v1beta1/tx.js +122 -0
  329. package/module/codegen/cosmos/upgrade/v1beta1/query.js +115 -0
  330. package/module/codegen/cosmos/upgrade/v1beta1/tx.js +49 -0
  331. package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +50 -0
  332. package/module/codegen/cosmos/vesting/v1beta1/tx.js +43 -0
  333. package/module/codegen/cosmos/vesting/v1beta1/vesting.js +57 -0
  334. package/module/codegen/cosmos_proto/bundle.js +2 -2
  335. package/module/codegen/cosmos_proto/cosmos.js +31 -6
  336. package/module/codegen/gogoproto/bundle.js +2 -2
  337. package/module/codegen/google/api/http.js +561 -0
  338. package/module/codegen/google/bundle.js +2 -2
  339. package/module/codegen/google/protobuf/any.js +165 -0
  340. package/module/codegen/google/protobuf/descriptor.js +166 -41
  341. package/module/codegen/google/protobuf/duration.js +61 -0
  342. package/module/codegen/google/protobuf/empty.js +25 -0
  343. package/module/codegen/google/protobuf/timestamp.js +85 -0
  344. package/module/codegen/tendermint/abci/types.js +107 -24
  345. package/module/codegen/tendermint/bundle.js +2 -2
  346. package/module/codegen/tendermint/crypto/keys.js +5 -0
  347. package/module/codegen/tendermint/crypto/proof.js +17 -0
  348. package/module/codegen/tendermint/types/evidence.js +9 -0
  349. package/module/codegen/tendermint/types/params.js +39 -0
  350. package/module/codegen/tendermint/types/types.js +52 -14
  351. package/module/codegen/tendermint/version/types.js +18 -0
  352. package/package.json +7 -6
@@ -1,4 +1,169 @@
1
1
  import * as _m0 from "protobufjs/minimal";
2
+
3
+ /**
4
+ * `Any` contains an arbitrary serialized protocol buffer message along with a
5
+ * URL that describes the type of the serialized message.
6
+ *
7
+ * Protobuf library provides support to pack/unpack Any values in the form
8
+ * of utility functions or additional generated methods of the Any type.
9
+ *
10
+ * Example 1: Pack and unpack a message in C++.
11
+ *
12
+ * Foo foo = ...;
13
+ * Any any;
14
+ * any.PackFrom(foo);
15
+ * ...
16
+ * if (any.UnpackTo(&foo)) {
17
+ * ...
18
+ * }
19
+ *
20
+ * Example 2: Pack and unpack a message in Java.
21
+ *
22
+ * Foo foo = ...;
23
+ * Any any = Any.pack(foo);
24
+ * ...
25
+ * if (any.is(Foo.class)) {
26
+ * foo = any.unpack(Foo.class);
27
+ * }
28
+ *
29
+ * Example 3: Pack and unpack a message in Python.
30
+ *
31
+ * foo = Foo(...)
32
+ * any = Any()
33
+ * any.Pack(foo)
34
+ * ...
35
+ * if any.Is(Foo.DESCRIPTOR):
36
+ * any.Unpack(foo)
37
+ * ...
38
+ *
39
+ * Example 4: Pack and unpack a message in Go
40
+ *
41
+ * foo := &pb.Foo{...}
42
+ * any, err := ptypes.MarshalAny(foo)
43
+ * ...
44
+ * foo := &pb.Foo{}
45
+ * if err := ptypes.UnmarshalAny(any, foo); err != nil {
46
+ * ...
47
+ * }
48
+ *
49
+ * The pack methods provided by protobuf library will by default use
50
+ * 'type.googleapis.com/full.type.name' as the type URL and the unpack
51
+ * methods only use the fully qualified type name after the last '/'
52
+ * in the type URL, for example "foo.bar.com/x/y.z" will yield type
53
+ * name "y.z".
54
+ *
55
+ *
56
+ * JSON
57
+ * ====
58
+ * The JSON representation of an `Any` value uses the regular
59
+ * representation of the deserialized, embedded message, with an
60
+ * additional field `@type` which contains the type URL. Example:
61
+ *
62
+ * package google.profile;
63
+ * message Person {
64
+ * string first_name = 1;
65
+ * string last_name = 2;
66
+ * }
67
+ *
68
+ * {
69
+ * "@type": "type.googleapis.com/google.profile.Person",
70
+ * "firstName": <string>,
71
+ * "lastName": <string>
72
+ * }
73
+ *
74
+ * If the embedded message type is well-known and has a custom JSON
75
+ * representation, that representation will be embedded adding a field
76
+ * `value` which holds the custom JSON in addition to the `@type`
77
+ * field. Example (for message [google.protobuf.Duration][]):
78
+ *
79
+ * {
80
+ * "@type": "type.googleapis.com/google.protobuf.Duration",
81
+ * "value": "1.212s"
82
+ * }
83
+ */
84
+
85
+ /**
86
+ * `Any` contains an arbitrary serialized protocol buffer message along with a
87
+ * URL that describes the type of the serialized message.
88
+ *
89
+ * Protobuf library provides support to pack/unpack Any values in the form
90
+ * of utility functions or additional generated methods of the Any type.
91
+ *
92
+ * Example 1: Pack and unpack a message in C++.
93
+ *
94
+ * Foo foo = ...;
95
+ * Any any;
96
+ * any.PackFrom(foo);
97
+ * ...
98
+ * if (any.UnpackTo(&foo)) {
99
+ * ...
100
+ * }
101
+ *
102
+ * Example 2: Pack and unpack a message in Java.
103
+ *
104
+ * Foo foo = ...;
105
+ * Any any = Any.pack(foo);
106
+ * ...
107
+ * if (any.is(Foo.class)) {
108
+ * foo = any.unpack(Foo.class);
109
+ * }
110
+ *
111
+ * Example 3: Pack and unpack a message in Python.
112
+ *
113
+ * foo = Foo(...)
114
+ * any = Any()
115
+ * any.Pack(foo)
116
+ * ...
117
+ * if any.Is(Foo.DESCRIPTOR):
118
+ * any.Unpack(foo)
119
+ * ...
120
+ *
121
+ * Example 4: Pack and unpack a message in Go
122
+ *
123
+ * foo := &pb.Foo{...}
124
+ * any, err := ptypes.MarshalAny(foo)
125
+ * ...
126
+ * foo := &pb.Foo{}
127
+ * if err := ptypes.UnmarshalAny(any, foo); err != nil {
128
+ * ...
129
+ * }
130
+ *
131
+ * The pack methods provided by protobuf library will by default use
132
+ * 'type.googleapis.com/full.type.name' as the type URL and the unpack
133
+ * methods only use the fully qualified type name after the last '/'
134
+ * in the type URL, for example "foo.bar.com/x/y.z" will yield type
135
+ * name "y.z".
136
+ *
137
+ *
138
+ * JSON
139
+ * ====
140
+ * The JSON representation of an `Any` value uses the regular
141
+ * representation of the deserialized, embedded message, with an
142
+ * additional field `@type` which contains the type URL. Example:
143
+ *
144
+ * package google.profile;
145
+ * message Person {
146
+ * string first_name = 1;
147
+ * string last_name = 2;
148
+ * }
149
+ *
150
+ * {
151
+ * "@type": "type.googleapis.com/google.profile.Person",
152
+ * "firstName": <string>,
153
+ * "lastName": <string>
154
+ * }
155
+ *
156
+ * If the embedded message type is well-known and has a custom JSON
157
+ * representation, that representation will be embedded adding a field
158
+ * `value` which holds the custom JSON in addition to the `@type`
159
+ * field. Example (for message [google.protobuf.Duration][]):
160
+ *
161
+ * {
162
+ * "@type": "type.googleapis.com/google.protobuf.Duration",
163
+ * "value": "1.212s"
164
+ * }
165
+ */
166
+
2
167
  function createBaseAny() {
3
168
  return {
4
169
  typeUrl: "",
@@ -1,7 +1,6 @@
1
1
  import * as _m0 from "protobufjs/minimal";
2
2
  import { Long } from "../../helpers";
3
- export let FieldDescriptorProto_Type;
4
- (function (FieldDescriptorProto_Type) {
3
+ export let FieldDescriptorProto_Type = /*#__PURE__*/function (FieldDescriptorProto_Type) {
5
4
  FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_DOUBLE"] = 1] = "TYPE_DOUBLE";
6
5
  FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_FLOAT"] = 2] = "TYPE_FLOAT";
7
6
  FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_INT64"] = 3] = "TYPE_INT64";
@@ -21,9 +20,9 @@ export let FieldDescriptorProto_Type;
21
20
  FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_SINT32"] = 17] = "TYPE_SINT32";
22
21
  FieldDescriptorProto_Type[FieldDescriptorProto_Type["TYPE_SINT64"] = 18] = "TYPE_SINT64";
23
22
  FieldDescriptorProto_Type[FieldDescriptorProto_Type["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
24
- })(FieldDescriptorProto_Type || (FieldDescriptorProto_Type = {}));
25
- export let FieldDescriptorProto_TypeSDKType;
26
- (function (FieldDescriptorProto_TypeSDKType) {
23
+ return FieldDescriptorProto_Type;
24
+ }({});
25
+ export let FieldDescriptorProto_TypeSDKType = /*#__PURE__*/function (FieldDescriptorProto_TypeSDKType) {
27
26
  FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_DOUBLE"] = 1] = "TYPE_DOUBLE";
28
27
  FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_FLOAT"] = 2] = "TYPE_FLOAT";
29
28
  FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_INT64"] = 3] = "TYPE_INT64";
@@ -43,7 +42,8 @@ export let FieldDescriptorProto_TypeSDKType;
43
42
  FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_SINT32"] = 17] = "TYPE_SINT32";
44
43
  FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["TYPE_SINT64"] = 18] = "TYPE_SINT64";
45
44
  FieldDescriptorProto_TypeSDKType[FieldDescriptorProto_TypeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
46
- })(FieldDescriptorProto_TypeSDKType || (FieldDescriptorProto_TypeSDKType = {}));
45
+ return FieldDescriptorProto_TypeSDKType;
46
+ }({});
47
47
  export function fieldDescriptorProto_TypeFromJSON(object) {
48
48
  switch (object) {
49
49
  case 1:
@@ -149,20 +149,20 @@ export function fieldDescriptorProto_TypeToJSON(object) {
149
149
  return "UNRECOGNIZED";
150
150
  }
151
151
  }
152
- export let FieldDescriptorProto_Label;
153
- (function (FieldDescriptorProto_Label) {
152
+ export let FieldDescriptorProto_Label = /*#__PURE__*/function (FieldDescriptorProto_Label) {
154
153
  FieldDescriptorProto_Label[FieldDescriptorProto_Label["LABEL_OPTIONAL"] = 1] = "LABEL_OPTIONAL";
155
154
  FieldDescriptorProto_Label[FieldDescriptorProto_Label["LABEL_REQUIRED"] = 2] = "LABEL_REQUIRED";
156
155
  FieldDescriptorProto_Label[FieldDescriptorProto_Label["LABEL_REPEATED"] = 3] = "LABEL_REPEATED";
157
156
  FieldDescriptorProto_Label[FieldDescriptorProto_Label["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
158
- })(FieldDescriptorProto_Label || (FieldDescriptorProto_Label = {}));
159
- export let FieldDescriptorProto_LabelSDKType;
160
- (function (FieldDescriptorProto_LabelSDKType) {
157
+ return FieldDescriptorProto_Label;
158
+ }({});
159
+ export let FieldDescriptorProto_LabelSDKType = /*#__PURE__*/function (FieldDescriptorProto_LabelSDKType) {
161
160
  FieldDescriptorProto_LabelSDKType[FieldDescriptorProto_LabelSDKType["LABEL_OPTIONAL"] = 1] = "LABEL_OPTIONAL";
162
161
  FieldDescriptorProto_LabelSDKType[FieldDescriptorProto_LabelSDKType["LABEL_REQUIRED"] = 2] = "LABEL_REQUIRED";
163
162
  FieldDescriptorProto_LabelSDKType[FieldDescriptorProto_LabelSDKType["LABEL_REPEATED"] = 3] = "LABEL_REPEATED";
164
163
  FieldDescriptorProto_LabelSDKType[FieldDescriptorProto_LabelSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
165
- })(FieldDescriptorProto_LabelSDKType || (FieldDescriptorProto_LabelSDKType = {}));
164
+ return FieldDescriptorProto_LabelSDKType;
165
+ }({});
166
166
  export function fieldDescriptorProto_LabelFromJSON(object) {
167
167
  switch (object) {
168
168
  case 1:
@@ -195,21 +195,22 @@ export function fieldDescriptorProto_LabelToJSON(object) {
195
195
  }
196
196
  /** Generated classes can be optimized for speed or code size. */
197
197
 
198
- export let FileOptions_OptimizeMode;
199
- /** Generated classes can be optimized for speed or code size. */
200
- (function (FileOptions_OptimizeMode) {
198
+ export let FileOptions_OptimizeMode = /*#__PURE__*/function (FileOptions_OptimizeMode) {
201
199
  FileOptions_OptimizeMode[FileOptions_OptimizeMode["SPEED"] = 1] = "SPEED";
202
200
  FileOptions_OptimizeMode[FileOptions_OptimizeMode["CODE_SIZE"] = 2] = "CODE_SIZE";
203
201
  FileOptions_OptimizeMode[FileOptions_OptimizeMode["LITE_RUNTIME"] = 3] = "LITE_RUNTIME";
204
202
  FileOptions_OptimizeMode[FileOptions_OptimizeMode["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
205
- })(FileOptions_OptimizeMode || (FileOptions_OptimizeMode = {}));
206
- export let FileOptions_OptimizeModeSDKType;
207
- (function (FileOptions_OptimizeModeSDKType) {
203
+ return FileOptions_OptimizeMode;
204
+ }({});
205
+ /** Generated classes can be optimized for speed or code size. */
206
+
207
+ export let FileOptions_OptimizeModeSDKType = /*#__PURE__*/function (FileOptions_OptimizeModeSDKType) {
208
208
  FileOptions_OptimizeModeSDKType[FileOptions_OptimizeModeSDKType["SPEED"] = 1] = "SPEED";
209
209
  FileOptions_OptimizeModeSDKType[FileOptions_OptimizeModeSDKType["CODE_SIZE"] = 2] = "CODE_SIZE";
210
210
  FileOptions_OptimizeModeSDKType[FileOptions_OptimizeModeSDKType["LITE_RUNTIME"] = 3] = "LITE_RUNTIME";
211
211
  FileOptions_OptimizeModeSDKType[FileOptions_OptimizeModeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
212
- })(FileOptions_OptimizeModeSDKType || (FileOptions_OptimizeModeSDKType = {}));
212
+ return FileOptions_OptimizeModeSDKType;
213
+ }({});
213
214
  export function fileOptions_OptimizeModeFromJSON(object) {
214
215
  switch (object) {
215
216
  case 1:
@@ -240,20 +241,20 @@ export function fileOptions_OptimizeModeToJSON(object) {
240
241
  return "UNRECOGNIZED";
241
242
  }
242
243
  }
243
- export let FieldOptions_CType;
244
- (function (FieldOptions_CType) {
244
+ export let FieldOptions_CType = /*#__PURE__*/function (FieldOptions_CType) {
245
245
  FieldOptions_CType[FieldOptions_CType["STRING"] = 0] = "STRING";
246
246
  FieldOptions_CType[FieldOptions_CType["CORD"] = 1] = "CORD";
247
247
  FieldOptions_CType[FieldOptions_CType["STRING_PIECE"] = 2] = "STRING_PIECE";
248
248
  FieldOptions_CType[FieldOptions_CType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
249
- })(FieldOptions_CType || (FieldOptions_CType = {}));
250
- export let FieldOptions_CTypeSDKType;
251
- (function (FieldOptions_CTypeSDKType) {
249
+ return FieldOptions_CType;
250
+ }({});
251
+ export let FieldOptions_CTypeSDKType = /*#__PURE__*/function (FieldOptions_CTypeSDKType) {
252
252
  FieldOptions_CTypeSDKType[FieldOptions_CTypeSDKType["STRING"] = 0] = "STRING";
253
253
  FieldOptions_CTypeSDKType[FieldOptions_CTypeSDKType["CORD"] = 1] = "CORD";
254
254
  FieldOptions_CTypeSDKType[FieldOptions_CTypeSDKType["STRING_PIECE"] = 2] = "STRING_PIECE";
255
255
  FieldOptions_CTypeSDKType[FieldOptions_CTypeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
256
- })(FieldOptions_CTypeSDKType || (FieldOptions_CTypeSDKType = {}));
256
+ return FieldOptions_CTypeSDKType;
257
+ }({});
257
258
  export function fieldOptions_CTypeFromJSON(object) {
258
259
  switch (object) {
259
260
  case 0:
@@ -284,20 +285,20 @@ export function fieldOptions_CTypeToJSON(object) {
284
285
  return "UNRECOGNIZED";
285
286
  }
286
287
  }
287
- export let FieldOptions_JSType;
288
- (function (FieldOptions_JSType) {
288
+ export let FieldOptions_JSType = /*#__PURE__*/function (FieldOptions_JSType) {
289
289
  FieldOptions_JSType[FieldOptions_JSType["JS_NORMAL"] = 0] = "JS_NORMAL";
290
290
  FieldOptions_JSType[FieldOptions_JSType["JS_STRING"] = 1] = "JS_STRING";
291
291
  FieldOptions_JSType[FieldOptions_JSType["JS_NUMBER"] = 2] = "JS_NUMBER";
292
292
  FieldOptions_JSType[FieldOptions_JSType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
293
- })(FieldOptions_JSType || (FieldOptions_JSType = {}));
294
- export let FieldOptions_JSTypeSDKType;
295
- (function (FieldOptions_JSTypeSDKType) {
293
+ return FieldOptions_JSType;
294
+ }({});
295
+ export let FieldOptions_JSTypeSDKType = /*#__PURE__*/function (FieldOptions_JSTypeSDKType) {
296
296
  FieldOptions_JSTypeSDKType[FieldOptions_JSTypeSDKType["JS_NORMAL"] = 0] = "JS_NORMAL";
297
297
  FieldOptions_JSTypeSDKType[FieldOptions_JSTypeSDKType["JS_STRING"] = 1] = "JS_STRING";
298
298
  FieldOptions_JSTypeSDKType[FieldOptions_JSTypeSDKType["JS_NUMBER"] = 2] = "JS_NUMBER";
299
299
  FieldOptions_JSTypeSDKType[FieldOptions_JSTypeSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
300
- })(FieldOptions_JSTypeSDKType || (FieldOptions_JSTypeSDKType = {}));
300
+ return FieldOptions_JSTypeSDKType;
301
+ }({});
301
302
  export function fieldOptions_JSTypeFromJSON(object) {
302
303
  switch (object) {
303
304
  case 0:
@@ -334,25 +335,26 @@ export function fieldOptions_JSTypeToJSON(object) {
334
335
  * methods, and PUT verb for idempotent methods instead of the default POST.
335
336
  */
336
337
 
337
- export let MethodOptions_IdempotencyLevel;
338
+ export let MethodOptions_IdempotencyLevel = /*#__PURE__*/function (MethodOptions_IdempotencyLevel) {
339
+ MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENCY_UNKNOWN"] = 0] = "IDEMPOTENCY_UNKNOWN";
340
+ MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["NO_SIDE_EFFECTS"] = 1] = "NO_SIDE_EFFECTS";
341
+ MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENT"] = 2] = "IDEMPOTENT";
342
+ MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
343
+ return MethodOptions_IdempotencyLevel;
344
+ }({});
338
345
  /**
339
346
  * Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
340
347
  * or neither? HTTP based RPC implementation may choose GET verb for safe
341
348
  * methods, and PUT verb for idempotent methods instead of the default POST.
342
349
  */
343
- (function (MethodOptions_IdempotencyLevel) {
344
- MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENCY_UNKNOWN"] = 0] = "IDEMPOTENCY_UNKNOWN";
345
- MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["NO_SIDE_EFFECTS"] = 1] = "NO_SIDE_EFFECTS";
346
- MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENT"] = 2] = "IDEMPOTENT";
347
- MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
348
- })(MethodOptions_IdempotencyLevel || (MethodOptions_IdempotencyLevel = {}));
349
- export let MethodOptions_IdempotencyLevelSDKType;
350
- (function (MethodOptions_IdempotencyLevelSDKType) {
350
+
351
+ export let MethodOptions_IdempotencyLevelSDKType = /*#__PURE__*/function (MethodOptions_IdempotencyLevelSDKType) {
351
352
  MethodOptions_IdempotencyLevelSDKType[MethodOptions_IdempotencyLevelSDKType["IDEMPOTENCY_UNKNOWN"] = 0] = "IDEMPOTENCY_UNKNOWN";
352
353
  MethodOptions_IdempotencyLevelSDKType[MethodOptions_IdempotencyLevelSDKType["NO_SIDE_EFFECTS"] = 1] = "NO_SIDE_EFFECTS";
353
354
  MethodOptions_IdempotencyLevelSDKType[MethodOptions_IdempotencyLevelSDKType["IDEMPOTENT"] = 2] = "IDEMPOTENT";
354
355
  MethodOptions_IdempotencyLevelSDKType[MethodOptions_IdempotencyLevelSDKType["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
355
- })(MethodOptions_IdempotencyLevelSDKType || (MethodOptions_IdempotencyLevelSDKType = {}));
356
+ return MethodOptions_IdempotencyLevelSDKType;
357
+ }({});
356
358
  export function methodOptions_IdempotencyLevelFromJSON(object) {
357
359
  switch (object) {
358
360
  case 0:
@@ -388,6 +390,129 @@ export function methodOptions_IdempotencyLevelToJSON(object) {
388
390
  * files it parses.
389
391
  */
390
392
 
393
+ /**
394
+ * The protocol compiler can output a FileDescriptorSet containing the .proto
395
+ * files it parses.
396
+ */
397
+
398
+ /** Describes a complete .proto file. */
399
+
400
+ /** Describes a complete .proto file. */
401
+
402
+ /** Describes a message type. */
403
+
404
+ /** Describes a message type. */
405
+
406
+ /**
407
+ * Range of reserved tag numbers. Reserved tag numbers may not be used by
408
+ * fields or extension ranges in the same message. Reserved ranges may
409
+ * not overlap.
410
+ */
411
+
412
+ /**
413
+ * Range of reserved tag numbers. Reserved tag numbers may not be used by
414
+ * fields or extension ranges in the same message. Reserved ranges may
415
+ * not overlap.
416
+ */
417
+
418
+ /** Describes a field within a message. */
419
+
420
+ /** Describes a field within a message. */
421
+
422
+ /** Describes a oneof. */
423
+
424
+ /** Describes a oneof. */
425
+
426
+ /** Describes an enum type. */
427
+
428
+ /** Describes an enum type. */
429
+
430
+ /**
431
+ * Range of reserved numeric values. Reserved values may not be used by
432
+ * entries in the same enum. Reserved ranges may not overlap.
433
+ *
434
+ * Note that this is distinct from DescriptorProto.ReservedRange in that it
435
+ * is inclusive such that it can appropriately represent the entire int32
436
+ * domain.
437
+ */
438
+
439
+ /**
440
+ * Range of reserved numeric values. Reserved values may not be used by
441
+ * entries in the same enum. Reserved ranges may not overlap.
442
+ *
443
+ * Note that this is distinct from DescriptorProto.ReservedRange in that it
444
+ * is inclusive such that it can appropriately represent the entire int32
445
+ * domain.
446
+ */
447
+
448
+ /** Describes a value within an enum. */
449
+
450
+ /** Describes a value within an enum. */
451
+
452
+ /** Describes a service. */
453
+
454
+ /** Describes a service. */
455
+
456
+ /** Describes a method of a service. */
457
+
458
+ /** Describes a method of a service. */
459
+
460
+ /**
461
+ * A message representing a option the parser does not recognize. This only
462
+ * appears in options protos created by the compiler::Parser class.
463
+ * DescriptorPool resolves these when building Descriptor objects. Therefore,
464
+ * options protos in descriptor objects (e.g. returned by Descriptor::options(),
465
+ * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
466
+ * in them.
467
+ */
468
+
469
+ /**
470
+ * A message representing a option the parser does not recognize. This only
471
+ * appears in options protos created by the compiler::Parser class.
472
+ * DescriptorPool resolves these when building Descriptor objects. Therefore,
473
+ * options protos in descriptor objects (e.g. returned by Descriptor::options(),
474
+ * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
475
+ * in them.
476
+ */
477
+
478
+ /**
479
+ * The name of the uninterpreted option. Each string represents a segment in
480
+ * a dot-separated name. is_extension is true iff a segment represents an
481
+ * extension (denoted with parentheses in options specs in .proto files).
482
+ * E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents
483
+ * "foo.(bar.baz).qux".
484
+ */
485
+
486
+ /**
487
+ * The name of the uninterpreted option. Each string represents a segment in
488
+ * a dot-separated name. is_extension is true iff a segment represents an
489
+ * extension (denoted with parentheses in options specs in .proto files).
490
+ * E.g.,{ ["foo", false], ["bar.baz", true], ["qux", false] } represents
491
+ * "foo.(bar.baz).qux".
492
+ */
493
+
494
+ /**
495
+ * Encapsulates information about the original source file from which a
496
+ * FileDescriptorProto was generated.
497
+ */
498
+
499
+ /**
500
+ * Encapsulates information about the original source file from which a
501
+ * FileDescriptorProto was generated.
502
+ */
503
+
504
+ /**
505
+ * Describes the relationship between generated code and its original source
506
+ * file. A GeneratedCodeInfo message is associated with only one generated
507
+ * source file, but may contain references to different source .proto files.
508
+ */
509
+
510
+ /**
511
+ * Describes the relationship between generated code and its original source
512
+ * file. A GeneratedCodeInfo message is associated with only one generated
513
+ * source file, but may contain references to different source .proto files.
514
+ */
515
+
391
516
  function createBaseFileDescriptorSet() {
392
517
  return {
393
518
  file: []
@@ -61,6 +61,67 @@ import { Long } from "../../helpers";
61
61
  * microsecond should be expressed in JSON format as "3.000001s".
62
62
  */
63
63
 
64
+ /**
65
+ * A Duration represents a signed, fixed-length span of time represented
66
+ * as a count of seconds and fractions of seconds at nanosecond
67
+ * resolution. It is independent of any calendar and concepts like "day"
68
+ * or "month". It is related to Timestamp in that the difference between
69
+ * two Timestamp values is a Duration and it can be added or subtracted
70
+ * from a Timestamp. Range is approximately +-10,000 years.
71
+ *
72
+ * # Examples
73
+ *
74
+ * Example 1: Compute Duration from two Timestamps in pseudo code.
75
+ *
76
+ * Timestamp start = ...;
77
+ * Timestamp end = ...;
78
+ * Duration duration = ...;
79
+ *
80
+ * duration.seconds = end.seconds - start.seconds;
81
+ * duration.nanos = end.nanos - start.nanos;
82
+ *
83
+ * if (duration.seconds < 0 && duration.nanos > 0) {
84
+ * duration.seconds += 1;
85
+ * duration.nanos -= 1000000000;
86
+ * } else if (durations.seconds > 0 && duration.nanos < 0) {
87
+ * duration.seconds -= 1;
88
+ * duration.nanos += 1000000000;
89
+ * }
90
+ *
91
+ * Example 2: Compute Timestamp from Timestamp + Duration in pseudo code.
92
+ *
93
+ * Timestamp start = ...;
94
+ * Duration duration = ...;
95
+ * Timestamp end = ...;
96
+ *
97
+ * end.seconds = start.seconds + duration.seconds;
98
+ * end.nanos = start.nanos + duration.nanos;
99
+ *
100
+ * if (end.nanos < 0) {
101
+ * end.seconds -= 1;
102
+ * end.nanos += 1000000000;
103
+ * } else if (end.nanos >= 1000000000) {
104
+ * end.seconds += 1;
105
+ * end.nanos -= 1000000000;
106
+ * }
107
+ *
108
+ * Example 3: Compute Duration from datetime.timedelta in Python.
109
+ *
110
+ * td = datetime.timedelta(days=3, minutes=10)
111
+ * duration = Duration()
112
+ * duration.FromTimedelta(td)
113
+ *
114
+ * # JSON Mapping
115
+ *
116
+ * In JSON format, the Duration type is encoded as a string rather than an
117
+ * object, where the string ends in the suffix "s" (indicating seconds) and
118
+ * is preceded by the number of seconds, with nanoseconds expressed as
119
+ * fractional seconds. For example, 3 seconds with 0 nanoseconds should be
120
+ * encoded in JSON format as "3s", while 3 seconds and 1 nanosecond should
121
+ * be expressed in JSON format as "3.000000001s", and 3 seconds and 1
122
+ * microsecond should be expressed in JSON format as "3.000001s".
123
+ */
124
+
64
125
  function createBaseDuration() {
65
126
  return {
66
127
  seconds: Long.ZERO,
@@ -1,4 +1,29 @@
1
1
  import * as _m0 from "protobufjs/minimal";
2
+
3
+ /**
4
+ * A generic empty message that you can re-use to avoid defining duplicated
5
+ * empty messages in your APIs. A typical example is to use it as the request
6
+ * or the response type of an API method. For instance:
7
+ *
8
+ * service Foo {
9
+ * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
10
+ * }
11
+ *
12
+ * The JSON representation for `Empty` is empty JSON object `{}`.
13
+ */
14
+
15
+ /**
16
+ * A generic empty message that you can re-use to avoid defining duplicated
17
+ * empty messages in your APIs. A typical example is to use it as the request
18
+ * or the response type of an API method. For instance:
19
+ *
20
+ * service Foo {
21
+ * rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
22
+ * }
23
+ *
24
+ * The JSON representation for `Empty` is empty JSON object `{}`.
25
+ */
26
+
2
27
  function createBaseEmpty() {
3
28
  return {};
4
29
  }
@@ -85,6 +85,91 @@ import { Long } from "../../helpers";
85
85
  * ) to obtain a formatter capable of generating timestamps in this format.
86
86
  */
87
87
 
88
+ /**
89
+ * A Timestamp represents a point in time independent of any time zone or local
90
+ * calendar, encoded as a count of seconds and fractions of seconds at
91
+ * nanosecond resolution. The count is relative to an epoch at UTC midnight on
92
+ * January 1, 1970, in the proleptic Gregorian calendar which extends the
93
+ * Gregorian calendar backwards to year one.
94
+ *
95
+ * All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
96
+ * second table is needed for interpretation, using a [24-hour linear
97
+ * smear](https://developers.google.com/time/smear).
98
+ *
99
+ * The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
100
+ * restricting to that range, we ensure that we can convert to and from [RFC
101
+ * 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
102
+ *
103
+ * # Examples
104
+ *
105
+ * Example 1: Compute Timestamp from POSIX `time()`.
106
+ *
107
+ * Timestamp timestamp;
108
+ * timestamp.set_seconds(time(NULL));
109
+ * timestamp.set_nanos(0);
110
+ *
111
+ * Example 2: Compute Timestamp from POSIX `gettimeofday()`.
112
+ *
113
+ * struct timeval tv;
114
+ * gettimeofday(&tv, NULL);
115
+ *
116
+ * Timestamp timestamp;
117
+ * timestamp.set_seconds(tv.tv_sec);
118
+ * timestamp.set_nanos(tv.tv_usec * 1000);
119
+ *
120
+ * Example 3: Compute Timestamp from Win32 `GetSystemTimeAsFileTime()`.
121
+ *
122
+ * FILETIME ft;
123
+ * GetSystemTimeAsFileTime(&ft);
124
+ * UINT64 ticks = (((UINT64)ft.dwHighDateTime) << 32) | ft.dwLowDateTime;
125
+ *
126
+ * // A Windows tick is 100 nanoseconds. Windows epoch 1601-01-01T00:00:00Z
127
+ * // is 11644473600 seconds before Unix epoch 1970-01-01T00:00:00Z.
128
+ * Timestamp timestamp;
129
+ * timestamp.set_seconds((INT64) ((ticks / 10000000) - 11644473600LL));
130
+ * timestamp.set_nanos((INT32) ((ticks % 10000000) * 100));
131
+ *
132
+ * Example 4: Compute Timestamp from Java `System.currentTimeMillis()`.
133
+ *
134
+ * long millis = System.currentTimeMillis();
135
+ *
136
+ * Timestamp timestamp = Timestamp.newBuilder().setSeconds(millis / 1000)
137
+ * .setNanos((int) ((millis % 1000) * 1000000)).build();
138
+ *
139
+ *
140
+ * Example 5: Compute Timestamp from current time in Python.
141
+ *
142
+ * timestamp = Timestamp()
143
+ * timestamp.GetCurrentTime()
144
+ *
145
+ * # JSON Mapping
146
+ *
147
+ * In JSON format, the Timestamp type is encoded as a string in the
148
+ * [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format. That is, the
149
+ * format is "{year}-{month}-{day}T{hour}:{min}:{sec}[.{frac_sec}]Z"
150
+ * where {year} is always expressed using four digits while {month}, {day},
151
+ * {hour}, {min}, and {sec} are zero-padded to two digits each. The fractional
152
+ * seconds, which can go up to 9 digits (i.e. up to 1 nanosecond resolution),
153
+ * are optional. The "Z" suffix indicates the timezone ("UTC"); the timezone
154
+ * is required. A proto3 JSON serializer should always use UTC (as indicated by
155
+ * "Z") when printing the Timestamp type and a proto3 JSON parser should be
156
+ * able to accept both UTC and other timezones (as indicated by an offset).
157
+ *
158
+ * For example, "2017-01-15T01:30:15.01Z" encodes 15.01 seconds past
159
+ * 01:30 UTC on January 15, 2017.
160
+ *
161
+ * In JavaScript, one can convert a Date object to this format using the
162
+ * standard
163
+ * [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
164
+ * method. In Python, a standard `datetime.datetime` object can be converted
165
+ * to this format using
166
+ * [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
167
+ * the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
168
+ * the Joda Time's [`ISODateTimeFormat.dateTime()`](
169
+ * http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
170
+ * ) to obtain a formatter capable of generating timestamps in this format.
171
+ */
172
+
88
173
  function createBaseTimestamp() {
89
174
  return {
90
175
  seconds: Long.ZERO,