juno-network 0.15.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1080) hide show
  1. package/README.md +1 -4
  2. package/main/codegen/JunoSwap.client.js +165 -184
  3. package/main/codegen/amino/amino.js +5 -0
  4. package/main/codegen/amino/bundle.js +16 -0
  5. package/main/codegen/binary.js +478 -0
  6. package/main/codegen/confio/proofs.js +836 -72
  7. package/main/codegen/contracts.js +8 -4
  8. package/main/codegen/cosmos/app/v1alpha1/config.js +221 -0
  9. package/main/codegen/cosmos/app/v1alpha1/module.js +324 -0
  10. package/main/codegen/cosmos/app/v1alpha1/query.js +149 -0
  11. package/main/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +45 -0
  12. package/main/codegen/cosmos/auth/v1beta1/auth.js +382 -0
  13. package/main/codegen/cosmos/auth/v1beta1/genesis.js +120 -0
  14. package/main/codegen/cosmos/auth/v1beta1/query.js +1133 -0
  15. package/main/codegen/cosmos/auth/v1beta1/query.lcd.js +223 -0
  16. package/main/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +128 -0
  17. package/main/codegen/cosmos/authz/v1beta1/authz.js +220 -13
  18. package/main/codegen/cosmos/authz/v1beta1/event.js +101 -8
  19. package/main/codegen/cosmos/authz/v1beta1/genesis.js +51 -7
  20. package/main/codegen/cosmos/authz/v1beta1/query.js +311 -21
  21. package/main/codegen/cosmos/authz/v1beta1/query.lcd.js +65 -69
  22. package/main/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +5 -7
  23. package/main/codegen/cosmos/authz/v1beta1/tx.amino.js +25 -0
  24. package/main/codegen/cosmos/authz/v1beta1/tx.js +312 -18
  25. package/main/codegen/cosmos/authz/v1beta1/tx.registry.js +83 -0
  26. package/main/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +5 -7
  27. package/main/codegen/cosmos/bank/v1beta1/authz.js +66 -7
  28. package/main/codegen/cosmos/bank/v1beta1/bank.js +425 -21
  29. package/main/codegen/cosmos/bank/v1beta1/genesis.js +138 -10
  30. package/main/codegen/cosmos/bank/v1beta1/query.js +964 -49
  31. package/main/codegen/cosmos/bank/v1beta1/query.lcd.js +148 -163
  32. package/main/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +11 -13
  33. package/main/codegen/cosmos/bank/v1beta1/tx.amino.js +5 -86
  34. package/main/codegen/cosmos/bank/v1beta1/tx.js +194 -13
  35. package/main/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +4 -6
  36. package/main/codegen/cosmos/base/abci/v1beta1/abci.js +677 -60
  37. package/main/codegen/cosmos/base/kv/v1beta1/kv.js +197 -0
  38. package/main/codegen/cosmos/base/query/v1beta1/pagination.js +162 -17
  39. package/main/codegen/cosmos/base/reflection/v1beta1/reflection.js +362 -0
  40. package/main/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1230 -57
  41. package/main/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +916 -0
  42. package/main/codegen/cosmos/base/store/v1beta1/commit_info.js +326 -0
  43. package/main/codegen/cosmos/base/store/v1beta1/listening.js +140 -0
  44. package/main/codegen/cosmos/base/tendermint/v1beta1/query.js +1431 -0
  45. package/main/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +202 -0
  46. package/main/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +115 -0
  47. package/main/codegen/cosmos/base/v1beta1/coin.js +207 -12
  48. package/main/codegen/cosmos/bundle.js +274 -105
  49. package/main/codegen/cosmos/capability/v1beta1/capability.js +300 -0
  50. package/main/codegen/cosmos/capability/v1beta1/genesis.js +208 -0
  51. package/main/codegen/cosmos/client.js +37 -23
  52. package/main/codegen/cosmos/crisis/v1beta1/genesis.js +85 -0
  53. package/main/codegen/cosmos/crisis/v1beta1/tx.amino.js +15 -0
  54. package/main/codegen/cosmos/crisis/v1beta1/tx.js +173 -0
  55. package/main/codegen/cosmos/crisis/v1beta1/tx.registry.js +47 -0
  56. package/main/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +33 -0
  57. package/main/codegen/cosmos/crypto/ed25519/keys.js +113 -8
  58. package/main/codegen/cosmos/crypto/hd/v1/hd.js +59 -6
  59. package/main/codegen/cosmos/crypto/keyring/v1/record.js +236 -14
  60. package/main/codegen/cosmos/crypto/multisig/keys.js +67 -7
  61. package/main/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +125 -9
  62. package/main/codegen/cosmos/crypto/secp256k1/keys.js +104 -8
  63. package/main/codegen/cosmos/crypto/secp256r1/keys.js +86 -8
  64. package/main/codegen/cosmos/distribution/v1beta1/distribution.js +788 -56
  65. package/main/codegen/cosmos/distribution/v1beta1/genesis.js +514 -38
  66. package/main/codegen/cosmos/distribution/v1beta1/query.js +970 -53
  67. package/main/codegen/cosmos/distribution/v1beta1/query.lcd.js +107 -124
  68. package/main/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +11 -13
  69. package/main/codegen/cosmos/distribution/v1beta1/tx.amino.js +9 -70
  70. package/main/codegen/cosmos/distribution/v1beta1/tx.js +403 -25
  71. package/main/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +6 -8
  72. package/main/codegen/cosmos/evidence/v1beta1/evidence.js +132 -0
  73. package/main/codegen/cosmos/evidence/v1beta1/genesis.js +107 -0
  74. package/main/codegen/cosmos/evidence/v1beta1/query.js +371 -0
  75. package/main/codegen/cosmos/evidence/v1beta1/query.lcd.js +87 -0
  76. package/main/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +60 -0
  77. package/main/codegen/cosmos/evidence/v1beta1/tx.amino.js +15 -0
  78. package/main/codegen/cosmos/evidence/v1beta1/tx.js +186 -0
  79. package/main/codegen/cosmos/evidence/v1beta1/tx.registry.js +47 -0
  80. package/main/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +33 -0
  81. package/main/codegen/cosmos/feegrant/v1beta1/feegrant.js +512 -0
  82. package/main/codegen/cosmos/feegrant/v1beta1/genesis.js +107 -0
  83. package/main/codegen/cosmos/feegrant/v1beta1/query.js +575 -0
  84. package/main/codegen/cosmos/feegrant/v1beta1/query.lcd.js +114 -0
  85. package/main/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +70 -0
  86. package/main/codegen/cosmos/feegrant/v1beta1/tx.amino.js +20 -0
  87. package/main/codegen/cosmos/feegrant/v1beta1/tx.js +337 -0
  88. package/main/codegen/cosmos/feegrant/v1beta1/tx.registry.js +65 -0
  89. package/main/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +43 -0
  90. package/main/codegen/cosmos/genutil/v1beta1/genesis.js +107 -0
  91. package/main/codegen/cosmos/gov/v1/genesis.js +90 -11
  92. package/main/codegen/cosmos/gov/v1/gov.js +497 -58
  93. package/main/codegen/cosmos/gov/v1/query.js +770 -56
  94. package/main/codegen/cosmos/gov/v1/query.lcd.js +107 -123
  95. package/main/codegen/cosmos/gov/v1/query.rpc.Query.js +10 -12
  96. package/main/codegen/cosmos/gov/v1/tx.amino.js +11 -156
  97. package/main/codegen/cosmos/gov/v1/tx.js +511 -38
  98. package/main/codegen/cosmos/gov/v1/tx.rpc.msg.js +7 -9
  99. package/main/codegen/cosmos/gov/v1beta1/genesis.js +93 -14
  100. package/main/codegen/cosmos/gov/v1beta1/gov.js +560 -69
  101. package/main/codegen/cosmos/gov/v1beta1/query.js +777 -63
  102. package/main/codegen/cosmos/gov/v1beta1/query.lcd.js +107 -123
  103. package/main/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +10 -12
  104. package/main/codegen/cosmos/gov/v1beta1/tx.amino.js +9 -118
  105. package/main/codegen/cosmos/gov/v1beta1/tx.js +424 -34
  106. package/main/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +6 -8
  107. package/main/codegen/cosmos/group/v1/events.js +729 -0
  108. package/main/codegen/cosmos/group/v1/genesis.js +259 -0
  109. package/main/codegen/cosmos/group/v1/query.js +2377 -0
  110. package/main/codegen/cosmos/group/v1/query.lcd.js +398 -0
  111. package/main/codegen/cosmos/group/v1/query.rpc.Query.js +200 -0
  112. package/main/codegen/cosmos/group/v1/tx.amino.js +80 -0
  113. package/main/codegen/cosmos/group/v1/tx.js +2590 -0
  114. package/main/codegen/cosmos/group/v1/tx.registry.js +281 -0
  115. package/main/codegen/cosmos/group/v1/tx.rpc.msg.js +163 -0
  116. package/main/codegen/cosmos/group/v1/types.js +1607 -0
  117. package/main/codegen/cosmos/lcd.js +255 -128
  118. package/main/codegen/cosmos/mint/v1beta1/genesis.js +97 -0
  119. package/main/codegen/cosmos/mint/v1beta1/mint.js +236 -0
  120. package/main/codegen/cosmos/mint/v1beta1/query.js +461 -0
  121. package/main/codegen/cosmos/mint/v1beta1/query.lcd.js +108 -0
  122. package/main/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +73 -0
  123. package/main/codegen/cosmos/msg/v1/msg.js +5 -0
  124. package/main/codegen/cosmos/nft/v1beta1/event.js +325 -0
  125. package/main/codegen/cosmos/nft/v1beta1/genesis.js +244 -0
  126. package/main/codegen/cosmos/nft/v1beta1/nft.js +284 -0
  127. package/main/codegen/cosmos/nft/v1beta1/query.js +1219 -0
  128. package/main/codegen/cosmos/nft/v1beta1/query.lcd.js +226 -0
  129. package/main/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +125 -0
  130. package/main/codegen/cosmos/nft/v1beta1/tx.amino.js +15 -0
  131. package/main/codegen/cosmos/nft/v1beta1/tx.js +185 -0
  132. package/main/codegen/cosmos/nft/v1beta1/tx.registry.js +47 -0
  133. package/main/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +33 -0
  134. package/main/codegen/cosmos/orm/v1/orm.js +400 -0
  135. package/main/codegen/cosmos/orm/v1alpha1/schema.js +278 -0
  136. package/main/codegen/cosmos/params/v1beta1/params.js +241 -0
  137. package/main/codegen/cosmos/params/v1beta1/query.js +473 -0
  138. package/main/codegen/cosmos/params/v1beta1/query.lcd.js +87 -0
  139. package/main/codegen/cosmos/params/v1beta1/query.rpc.Query.js +58 -0
  140. package/main/codegen/cosmos/rpc.query.js +198 -97
  141. package/main/codegen/cosmos/rpc.tx.js +178 -96
  142. package/main/codegen/cosmos/slashing/v1beta1/genesis.js +445 -0
  143. package/main/codegen/cosmos/slashing/v1beta1/query.js +529 -0
  144. package/main/codegen/cosmos/slashing/v1beta1/query.lcd.js +115 -0
  145. package/main/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +74 -0
  146. package/main/codegen/cosmos/slashing/v1beta1/slashing.js +283 -0
  147. package/main/codegen/cosmos/slashing/v1beta1/tx.amino.js +15 -0
  148. package/main/codegen/cosmos/slashing/v1beta1/tx.js +149 -0
  149. package/main/codegen/cosmos/slashing/v1beta1/tx.registry.js +47 -0
  150. package/main/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +33 -0
  151. package/main/codegen/cosmos/staking/v1beta1/authz.js +120 -26
  152. package/main/codegen/cosmos/staking/v1beta1/genesis.js +153 -13
  153. package/main/codegen/cosmos/staking/v1beta1/query.js +1467 -72
  154. package/main/codegen/cosmos/staking/v1beta1/query.lcd.js +205 -229
  155. package/main/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +16 -18
  156. package/main/codegen/cosmos/staking/v1beta1/staking.js +1257 -98
  157. package/main/codegen/cosmos/staking/v1beta1/tx.amino.js +11 -189
  158. package/main/codegen/cosmos/staking/v1beta1/tx.js +513 -35
  159. package/main/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +7 -9
  160. package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +273 -43
  161. package/main/codegen/cosmos/tx/v1beta1/service.js +603 -54
  162. package/main/codegen/cosmos/tx/v1beta1/service.lcd.js +52 -57
  163. package/main/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +7 -9
  164. package/main/codegen/cosmos/tx/v1beta1/tx.js +856 -53
  165. package/main/codegen/cosmos/upgrade/v1beta1/query.js +523 -31
  166. package/main/codegen/cosmos/upgrade/v1beta1/query.lcd.js +69 -77
  167. package/main/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +7 -9
  168. package/main/codegen/cosmos/upgrade/v1beta1/tx.amino.js +5 -47
  169. package/main/codegen/cosmos/upgrade/v1beta1/tx.js +214 -13
  170. package/main/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +4 -6
  171. package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +248 -20
  172. package/main/codegen/cosmos/vesting/v1beta1/tx.amino.js +25 -0
  173. package/main/codegen/cosmos/vesting/v1beta1/tx.js +636 -0
  174. package/main/codegen/cosmos/vesting/v1beta1/tx.registry.js +83 -0
  175. package/main/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +53 -0
  176. package/main/codegen/cosmos/vesting/v1beta1/vesting.js +718 -0
  177. package/main/codegen/cosmos_proto/bundle.js +6 -6
  178. package/main/codegen/cosmos_proto/cosmos.js +129 -21
  179. package/main/codegen/cosmwasm/bundle.js +21 -21
  180. package/main/codegen/cosmwasm/client.js +21 -23
  181. package/main/codegen/cosmwasm/lcd.js +272 -145
  182. package/main/codegen/cosmwasm/rpc.query.js +211 -110
  183. package/main/codegen/cosmwasm/rpc.tx.js +193 -111
  184. package/main/codegen/cosmwasm/wasm/v1/authz.js +534 -34
  185. package/main/codegen/cosmwasm/wasm/v1/genesis.js +320 -24
  186. package/main/codegen/cosmwasm/wasm/v1/ibc.js +103 -14
  187. package/main/codegen/cosmwasm/wasm/v1/proposal.js +841 -45
  188. package/main/codegen/cosmwasm/wasm/v1/query.js +1232 -64
  189. package/main/codegen/cosmwasm/wasm/v1/query.lcd.js +153 -175
  190. package/main/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +13 -15
  191. package/main/codegen/cosmwasm/wasm/v1/tx.amino.js +15 -217
  192. package/main/codegen/cosmwasm/wasm/v1/tx.js +742 -49
  193. package/main/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +9 -11
  194. package/main/codegen/cosmwasm/wasm/v1/types.js +447 -61
  195. package/main/codegen/gaia/bundle.js +12 -12
  196. package/main/codegen/gaia/globalfee/v1beta1/genesis.js +82 -10
  197. package/main/codegen/gaia/globalfee/v1beta1/query.js +95 -9
  198. package/main/codegen/gaia/globalfee/v1beta1/query.lcd.js +11 -13
  199. package/main/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +3 -5
  200. package/main/codegen/gaia/lcd.js +272 -145
  201. package/main/codegen/gaia/rpc.query.js +211 -110
  202. package/main/codegen/gogoproto/bundle.js +6 -6
  203. package/main/codegen/google/api/annotations.js +5 -0
  204. package/main/codegen/google/api/http.js +1216 -0
  205. package/main/codegen/google/bundle.js +13 -10
  206. package/main/codegen/google/protobuf/any.js +278 -6
  207. package/main/codegen/google/protobuf/descriptor.js +1691 -171
  208. package/main/codegen/google/protobuf/duration.js +215 -10
  209. package/main/codegen/google/protobuf/empty.js +63 -6
  210. package/main/codegen/google/protobuf/timestamp.js +283 -9
  211. package/main/codegen/helpers.js +19 -53
  212. package/main/codegen/ibc/applications/transfer/v1/genesis.js +60 -8
  213. package/main/codegen/ibc/applications/transfer/v1/query.js +297 -17
  214. package/main/codegen/ibc/applications/transfer/v1/query.lcd.js +40 -46
  215. package/main/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +5 -7
  216. package/main/codegen/ibc/applications/transfer/v1/transfer.js +117 -8
  217. package/main/codegen/ibc/applications/transfer/v1/tx.amino.js +3 -50
  218. package/main/codegen/ibc/applications/transfer/v1/tx.js +122 -14
  219. package/main/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +3 -5
  220. package/main/codegen/ibc/applications/transfer/v2/packet.js +67 -6
  221. package/main/codegen/ibc/bundle.js +71 -60
  222. package/main/codegen/ibc/client.js +21 -23
  223. package/main/codegen/ibc/core/channel/v1/channel.js +438 -57
  224. package/main/codegen/ibc/core/channel/v1/genesis.js +180 -16
  225. package/main/codegen/ibc/core/channel/v1/query.js +1604 -97
  226. package/main/codegen/ibc/core/channel/v1/query.lcd.js +184 -202
  227. package/main/codegen/ibc/core/channel/v1/query.rpc.Query.js +15 -17
  228. package/main/codegen/ibc/core/channel/v1/tx.amino.js +21 -470
  229. package/main/codegen/ibc/core/channel/v1/tx.js +1053 -64
  230. package/main/codegen/ibc/core/channel/v1/tx.rpc.msg.js +12 -14
  231. package/main/codegen/ibc/core/client/v1/client.js +438 -28
  232. package/main/codegen/ibc/core/client/v1/genesis.js +204 -15
  233. package/main/codegen/ibc/core/client/v1/query.js +874 -45
  234. package/main/codegen/ibc/core/client/v1/query.lcd.js +110 -124
  235. package/main/codegen/ibc/core/client/v1/query.rpc.Query.js +10 -12
  236. package/main/codegen/ibc/core/client/v1/tx.amino.js +9 -128
  237. package/main/codegen/ibc/core/client/v1/tx.js +402 -20
  238. package/main/codegen/ibc/core/client/v1/tx.rpc.msg.js +6 -8
  239. package/main/codegen/ibc/core/commitment/v1/commitment.js +236 -13
  240. package/main/codegen/ibc/core/connection/v1/connection.js +434 -52
  241. package/main/codegen/ibc/core/connection/v1/genesis.js +73 -12
  242. package/main/codegen/ibc/core/connection/v1/query.js +592 -36
  243. package/main/codegen/ibc/core/connection/v1/query.lcd.js +68 -75
  244. package/main/codegen/ibc/core/connection/v1/query.rpc.Query.js +7 -9
  245. package/main/codegen/ibc/core/connection/v1/tx.amino.js +9 -248
  246. package/main/codegen/ibc/core/connection/v1/tx.js +504 -34
  247. package/main/codegen/ibc/core/connection/v1/tx.rpc.msg.js +6 -8
  248. package/main/codegen/ibc/core/port/v1/query.js +224 -0
  249. package/main/codegen/ibc/core/port/v1/query.rpc.Query.js +44 -0
  250. package/main/codegen/ibc/core/types/v1/genesis.js +111 -0
  251. package/main/codegen/ibc/lcd.js +320 -193
  252. package/main/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -7
  253. package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +933 -91
  254. package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +930 -88
  255. package/main/codegen/ibc/lightclients/tendermint/v1/tendermint.js +378 -30
  256. package/main/codegen/ibc/rpc.query.js +257 -146
  257. package/main/codegen/ibc/rpc.tx.js +235 -153
  258. package/main/codegen/ics23/bundle.js +6 -6
  259. package/main/codegen/index.js +74 -41
  260. package/main/codegen/juno/bundle.js +77 -24
  261. package/main/codegen/juno/client.js +33 -25
  262. package/main/codegen/juno/clock/v1/genesis.js +183 -0
  263. package/main/codegen/juno/clock/v1/query.js +288 -0
  264. package/main/codegen/juno/clock/v1/query.lcd.js +80 -0
  265. package/main/codegen/juno/clock/v1/query.rpc.Query.js +59 -0
  266. package/main/codegen/juno/clock/v1/tx.amino.js +15 -0
  267. package/main/codegen/juno/clock/v1/tx.js +177 -0
  268. package/main/codegen/juno/clock/v1/tx.registry.js +47 -0
  269. package/main/codegen/juno/clock/v1/tx.rpc.msg.js +33 -0
  270. package/main/codegen/juno/cwhooks/v1/genesis.js +212 -0
  271. package/main/codegen/juno/cwhooks/v1/query.js +436 -0
  272. package/main/codegen/juno/cwhooks/v1/query.lcd.js +108 -0
  273. package/main/codegen/juno/cwhooks/v1/query.rpc.Query.js +73 -0
  274. package/main/codegen/juno/cwhooks/v1/tx.amino.js +35 -0
  275. package/main/codegen/juno/cwhooks/v1/tx.js +745 -0
  276. package/main/codegen/juno/cwhooks/v1/tx.registry.js +119 -0
  277. package/main/codegen/juno/cwhooks/v1/tx.rpc.msg.js +73 -0
  278. package/main/codegen/juno/drip/v1/genesis.js +183 -0
  279. package/main/codegen/juno/drip/v1/query.js +137 -0
  280. package/main/codegen/juno/drip/v1/query.lcd.js +52 -0
  281. package/main/codegen/juno/drip/v1/query.rpc.Query.js +45 -0
  282. package/main/codegen/juno/drip/v1/tx.amino.js +20 -0
  283. package/main/codegen/juno/drip/v1/tx.js +326 -0
  284. package/main/codegen/juno/drip/v1/tx.registry.js +65 -0
  285. package/main/codegen/juno/drip/v1/tx.rpc.msg.js +43 -0
  286. package/main/codegen/juno/feepay/v1/feepay.js +217 -0
  287. package/main/codegen/juno/feepay/v1/genesis.js +185 -0
  288. package/main/codegen/juno/feepay/v1/query.js +769 -0
  289. package/main/codegen/juno/feepay/v1/query.lcd.js +165 -0
  290. package/main/codegen/juno/feepay/v1/query.rpc.Query.js +100 -0
  291. package/main/codegen/juno/feepay/v1/tx.amino.js +35 -0
  292. package/main/codegen/juno/feepay/v1/tx.js +792 -0
  293. package/main/codegen/juno/feepay/v1/tx.registry.js +119 -0
  294. package/main/codegen/juno/feepay/v1/tx.rpc.msg.js +73 -0
  295. package/main/codegen/juno/feeshare/v1/feeshare.js +54 -6
  296. package/main/codegen/juno/feeshare/v1/genesis.js +104 -12
  297. package/main/codegen/juno/feeshare/v1/query.js +446 -27
  298. package/main/codegen/juno/feeshare/v1/query.lcd.js +78 -86
  299. package/main/codegen/juno/feeshare/v1/query.rpc.Query.js +7 -9
  300. package/main/codegen/juno/feeshare/v1/tx.amino.js +12 -56
  301. package/main/codegen/juno/feeshare/v1/tx.js +406 -18
  302. package/main/codegen/juno/feeshare/v1/tx.registry.js +19 -1
  303. package/main/codegen/juno/feeshare/v1/tx.rpc.msg.js +15 -7
  304. package/main/codegen/juno/lcd.js +339 -156
  305. package/main/codegen/juno/mint/genesis.js +43 -8
  306. package/main/codegen/juno/mint/mint.js +117 -24
  307. package/main/codegen/juno/mint/query.js +384 -19
  308. package/main/codegen/juno/mint/query.lcd.js +61 -39
  309. package/main/codegen/juno/mint/query.rpc.Query.js +19 -7
  310. package/main/codegen/juno/mint/tx.amino.js +15 -0
  311. package/main/codegen/juno/mint/tx.js +177 -0
  312. package/main/codegen/juno/mint/tx.registry.js +47 -0
  313. package/main/codegen/juno/mint/tx.rpc.msg.js +33 -0
  314. package/main/codegen/juno/rpc.query.js +258 -117
  315. package/main/codegen/juno/rpc.tx.js +250 -111
  316. package/main/codegen/osmosis/bundle.js +19 -19
  317. package/main/codegen/osmosis/client.js +21 -23
  318. package/main/codegen/osmosis/lcd.js +272 -145
  319. package/main/codegen/osmosis/rpc.query.js +211 -110
  320. package/main/codegen/osmosis/rpc.tx.js +193 -111
  321. package/main/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +55 -6
  322. package/main/codegen/osmosis/tokenfactory/v1beta1/genesis.js +115 -11
  323. package/main/codegen/osmosis/tokenfactory/v1beta1/params.js +64 -8
  324. package/main/codegen/osmosis/tokenfactory/v1beta1/query.js +295 -19
  325. package/main/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +37 -41
  326. package/main/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +5 -7
  327. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +18 -165
  328. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.js +785 -34
  329. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +19 -1
  330. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +18 -10
  331. package/main/codegen/router/bundle.js +12 -12
  332. package/main/codegen/router/lcd.js +269 -142
  333. package/main/codegen/router/rpc.query.js +208 -107
  334. package/main/codegen/router/v1/genesis.js +221 -24
  335. package/main/codegen/router/v1/query.js +69 -8
  336. package/main/codegen/router/v1/query.lcd.js +11 -13
  337. package/main/codegen/router/v1/query.rpc.Query.js +3 -5
  338. package/main/codegen/tendermint/abci/types.js +2058 -229
  339. package/main/codegen/tendermint/bundle.js +21 -21
  340. package/main/codegen/tendermint/crypto/keys.js +42 -6
  341. package/main/codegen/tendermint/crypto/proof.js +228 -21
  342. package/main/codegen/tendermint/libs/bits/types.js +47 -12
  343. package/main/codegen/tendermint/p2p/types.js +230 -26
  344. package/main/codegen/tendermint/types/block.js +46 -9
  345. package/main/codegen/tendermint/types/evidence.js +198 -27
  346. package/main/codegen/tendermint/types/params.js +316 -47
  347. package/main/codegen/tendermint/types/types.js +680 -87
  348. package/main/codegen/tendermint/types/validator.js +136 -24
  349. package/main/codegen/tendermint/version/types.js +114 -18
  350. package/main/codegen/utf8.js +129 -0
  351. package/main/codegen/varint.js +440 -0
  352. package/module/codegen/amino/amino.js +1 -0
  353. package/module/codegen/amino/bundle.js +5 -0
  354. package/module/codegen/binary.js +374 -0
  355. package/module/codegen/confio/proofs.js +806 -67
  356. package/module/codegen/contracts.js +2 -2
  357. package/module/codegen/cosmos/app/v1alpha1/config.js +193 -0
  358. package/module/codegen/cosmos/app/v1alpha1/module.js +279 -0
  359. package/module/codegen/cosmos/app/v1alpha1/query.js +139 -0
  360. package/module/codegen/cosmos/app/v1alpha1/query.rpc.Query.js +27 -0
  361. package/module/codegen/cosmos/auth/v1beta1/auth.js +352 -0
  362. package/module/codegen/cosmos/auth/v1beta1/genesis.js +94 -0
  363. package/module/codegen/cosmos/auth/v1beta1/query.js +1066 -0
  364. package/module/codegen/cosmos/auth/v1beta1/query.lcd.js +62 -0
  365. package/module/codegen/cosmos/auth/v1beta1/query.rpc.Query.js +83 -0
  366. package/module/codegen/cosmos/authz/v1beta1/authz.js +210 -9
  367. package/module/codegen/cosmos/authz/v1beta1/event.js +101 -5
  368. package/module/codegen/cosmos/authz/v1beta1/genesis.js +46 -3
  369. package/module/codegen/cosmos/authz/v1beta1/query.js +298 -17
  370. package/module/codegen/cosmos/authz/v1beta1/query.lcd.js +0 -3
  371. package/module/codegen/cosmos/authz/v1beta1/query.rpc.Query.js +4 -4
  372. package/module/codegen/cosmos/authz/v1beta1/tx.amino.js +18 -0
  373. package/module/codegen/cosmos/authz/v1beta1/tx.js +303 -14
  374. package/module/codegen/cosmos/authz/v1beta1/tx.registry.js +69 -0
  375. package/module/codegen/cosmos/authz/v1beta1/tx.rpc.msg.js +4 -4
  376. package/module/codegen/cosmos/bank/v1beta1/authz.js +61 -3
  377. package/module/codegen/cosmos/bank/v1beta1/bank.js +400 -17
  378. package/module/codegen/cosmos/bank/v1beta1/genesis.js +121 -6
  379. package/module/codegen/cosmos/bank/v1beta1/query.js +943 -45
  380. package/module/codegen/cosmos/bank/v1beta1/query.lcd.js +0 -9
  381. package/module/codegen/cosmos/bank/v1beta1/query.rpc.Query.js +10 -10
  382. package/module/codegen/cosmos/bank/v1beta1/tx.amino.js +5 -70
  383. package/module/codegen/cosmos/bank/v1beta1/tx.js +181 -9
  384. package/module/codegen/cosmos/bank/v1beta1/tx.rpc.msg.js +3 -3
  385. package/module/codegen/cosmos/base/abci/v1beta1/abci.js +636 -57
  386. package/module/codegen/cosmos/base/kv/v1beta1/kv.js +169 -0
  387. package/module/codegen/cosmos/base/query/v1beta1/pagination.js +153 -15
  388. package/module/codegen/cosmos/base/reflection/v1beta1/reflection.js +315 -0
  389. package/module/codegen/cosmos/base/reflection/v2alpha1/reflection.js +1197 -53
  390. package/module/codegen/cosmos/base/snapshots/v1beta1/snapshot.js +859 -0
  391. package/module/codegen/cosmos/base/store/v1beta1/commit_info.js +296 -0
  392. package/module/codegen/cosmos/base/store/v1beta1/listening.js +132 -0
  393. package/module/codegen/cosmos/base/tendermint/v1beta1/query.js +1347 -0
  394. package/module/codegen/cosmos/base/tendermint/v1beta1/query.lcd.js +60 -0
  395. package/module/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.js +74 -0
  396. package/module/codegen/cosmos/base/v1beta1/coin.js +207 -9
  397. package/module/codegen/cosmos/bundle.js +272 -103
  398. package/module/codegen/cosmos/capability/v1beta1/capability.js +270 -0
  399. package/module/codegen/cosmos/capability/v1beta1/genesis.js +180 -0
  400. package/module/codegen/cosmos/client.js +21 -5
  401. package/module/codegen/cosmos/crisis/v1beta1/genesis.js +77 -0
  402. package/module/codegen/cosmos/crisis/v1beta1/tx.amino.js +8 -0
  403. package/module/codegen/cosmos/crisis/v1beta1/tx.js +163 -0
  404. package/module/codegen/cosmos/crisis/v1beta1/tx.registry.js +33 -0
  405. package/module/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.js +17 -0
  406. package/module/codegen/cosmos/crypto/ed25519/keys.js +113 -5
  407. package/module/codegen/cosmos/crypto/hd/v1/hd.js +59 -3
  408. package/module/codegen/cosmos/crypto/keyring/v1/record.js +236 -11
  409. package/module/codegen/cosmos/crypto/multisig/keys.js +62 -3
  410. package/module/codegen/cosmos/crypto/multisig/v1beta1/multisig.js +120 -5
  411. package/module/codegen/cosmos/crypto/secp256k1/keys.js +104 -5
  412. package/module/codegen/cosmos/crypto/secp256r1/keys.js +86 -5
  413. package/module/codegen/cosmos/distribution/v1beta1/distribution.js +753 -52
  414. package/module/codegen/cosmos/distribution/v1beta1/genesis.js +475 -34
  415. package/module/codegen/cosmos/distribution/v1beta1/query.js +943 -49
  416. package/module/codegen/cosmos/distribution/v1beta1/query.lcd.js +0 -9
  417. package/module/codegen/cosmos/distribution/v1beta1/query.rpc.Query.js +10 -10
  418. package/module/codegen/cosmos/distribution/v1beta1/tx.amino.js +9 -74
  419. package/module/codegen/cosmos/distribution/v1beta1/tx.js +390 -21
  420. package/module/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.js +5 -5
  421. package/module/codegen/cosmos/evidence/v1beta1/evidence.js +124 -0
  422. package/module/codegen/cosmos/evidence/v1beta1/genesis.js +81 -0
  423. package/module/codegen/cosmos/evidence/v1beta1/query.js +339 -0
  424. package/module/codegen/cosmos/evidence/v1beta1/query.lcd.js +30 -0
  425. package/module/codegen/cosmos/evidence/v1beta1/query.rpc.Query.js +38 -0
  426. package/module/codegen/cosmos/evidence/v1beta1/tx.amino.js +8 -0
  427. package/module/codegen/cosmos/evidence/v1beta1/tx.js +176 -0
  428. package/module/codegen/cosmos/evidence/v1beta1/tx.registry.js +33 -0
  429. package/module/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.js +17 -0
  430. package/module/codegen/cosmos/feegrant/v1beta1/feegrant.js +435 -0
  431. package/module/codegen/cosmos/feegrant/v1beta1/genesis.js +81 -0
  432. package/module/codegen/cosmos/feegrant/v1beta1/query.js +524 -0
  433. package/module/codegen/cosmos/feegrant/v1beta1/query.lcd.js +41 -0
  434. package/module/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.js +45 -0
  435. package/module/codegen/cosmos/feegrant/v1beta1/tx.amino.js +13 -0
  436. package/module/codegen/cosmos/feegrant/v1beta1/tx.js +323 -0
  437. package/module/codegen/cosmos/feegrant/v1beta1/tx.registry.js +51 -0
  438. package/module/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.js +23 -0
  439. package/module/codegen/cosmos/genutil/v1beta1/genesis.js +81 -0
  440. package/module/codegen/cosmos/gov/v1/genesis.js +75 -7
  441. package/module/codegen/cosmos/gov/v1/gov.js +471 -56
  442. package/module/codegen/cosmos/gov/v1/query.js +756 -53
  443. package/module/codegen/cosmos/gov/v1/query.lcd.js +0 -8
  444. package/module/codegen/cosmos/gov/v1/query.rpc.Query.js +9 -9
  445. package/module/codegen/cosmos/gov/v1/tx.amino.js +11 -150
  446. package/module/codegen/cosmos/gov/v1/tx.js +490 -35
  447. package/module/codegen/cosmos/gov/v1/tx.rpc.msg.js +6 -6
  448. package/module/codegen/cosmos/gov/v1beta1/genesis.js +78 -10
  449. package/module/codegen/cosmos/gov/v1beta1/gov.js +538 -67
  450. package/module/codegen/cosmos/gov/v1beta1/query.js +763 -60
  451. package/module/codegen/cosmos/gov/v1beta1/query.lcd.js +0 -8
  452. package/module/codegen/cosmos/gov/v1beta1/query.rpc.Query.js +9 -9
  453. package/module/codegen/cosmos/gov/v1beta1/tx.amino.js +9 -114
  454. package/module/codegen/cosmos/gov/v1beta1/tx.js +407 -31
  455. package/module/codegen/cosmos/gov/v1beta1/tx.rpc.msg.js +5 -5
  456. package/module/codegen/cosmos/group/v1/events.js +705 -0
  457. package/module/codegen/cosmos/group/v1/genesis.js +173 -0
  458. package/module/codegen/cosmos/group/v1/query.js +2196 -0
  459. package/module/codegen/cosmos/group/v1/query.lcd.js +136 -0
  460. package/module/codegen/cosmos/group/v1/query.rpc.Query.js +135 -0
  461. package/module/codegen/cosmos/group/v1/tx.amino.js +73 -0
  462. package/module/codegen/cosmos/group/v1/tx.js +2445 -0
  463. package/module/codegen/cosmos/group/v1/tx.registry.js +267 -0
  464. package/module/codegen/cosmos/group/v1/tx.rpc.msg.js +95 -0
  465. package/module/codegen/cosmos/group/v1/types.js +1511 -0
  466. package/module/codegen/cosmos/lcd.js +48 -1
  467. package/module/codegen/cosmos/mint/v1beta1/genesis.js +89 -0
  468. package/module/codegen/cosmos/mint/v1beta1/mint.js +226 -0
  469. package/module/codegen/cosmos/mint/v1beta1/query.js +443 -0
  470. package/module/codegen/cosmos/mint/v1beta1/query.lcd.js +27 -0
  471. package/module/codegen/cosmos/mint/v1beta1/query.rpc.Query.js +45 -0
  472. package/module/codegen/cosmos/msg/v1/msg.js +1 -0
  473. package/module/codegen/cosmos/nft/v1beta1/event.js +313 -0
  474. package/module/codegen/cosmos/nft/v1beta1/genesis.js +186 -0
  475. package/module/codegen/cosmos/nft/v1beta1/nft.js +274 -0
  476. package/module/codegen/cosmos/nft/v1beta1/query.js +1152 -0
  477. package/module/codegen/cosmos/nft/v1beta1/query.lcd.js +73 -0
  478. package/module/codegen/cosmos/nft/v1beta1/query.rpc.Query.js +83 -0
  479. package/module/codegen/cosmos/nft/v1beta1/tx.amino.js +8 -0
  480. package/module/codegen/cosmos/nft/v1beta1/tx.js +175 -0
  481. package/module/codegen/cosmos/nft/v1beta1/tx.registry.js +33 -0
  482. package/module/codegen/cosmos/nft/v1beta1/tx.rpc.msg.js +17 -0
  483. package/module/codegen/cosmos/orm/v1/orm.js +368 -0
  484. package/module/codegen/cosmos/orm/v1alpha1/schema.js +245 -0
  485. package/module/codegen/cosmos/params/v1beta1/params.js +213 -0
  486. package/module/codegen/cosmos/params/v1beta1/query.js +424 -0
  487. package/module/codegen/cosmos/params/v1beta1/query.lcd.js +31 -0
  488. package/module/codegen/cosmos/params/v1beta1/query.rpc.Query.js +36 -0
  489. package/module/codegen/cosmos/rpc.query.js +32 -0
  490. package/module/codegen/cosmos/rpc.tx.js +21 -0
  491. package/module/codegen/cosmos/slashing/v1beta1/genesis.js +383 -0
  492. package/module/codegen/cosmos/slashing/v1beta1/query.js +493 -0
  493. package/module/codegen/cosmos/slashing/v1beta1/query.lcd.js +36 -0
  494. package/module/codegen/cosmos/slashing/v1beta1/query.rpc.Query.js +47 -0
  495. package/module/codegen/cosmos/slashing/v1beta1/slashing.js +273 -0
  496. package/module/codegen/cosmos/slashing/v1beta1/tx.amino.js +8 -0
  497. package/module/codegen/cosmos/slashing/v1beta1/tx.js +139 -0
  498. package/module/codegen/cosmos/slashing/v1beta1/tx.registry.js +33 -0
  499. package/module/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.js +17 -0
  500. package/module/codegen/cosmos/staking/v1beta1/authz.js +111 -22
  501. package/module/codegen/cosmos/staking/v1beta1/genesis.js +131 -10
  502. package/module/codegen/cosmos/staking/v1beta1/query.js +1436 -68
  503. package/module/codegen/cosmos/staking/v1beta1/query.lcd.js +0 -14
  504. package/module/codegen/cosmos/staking/v1beta1/query.rpc.Query.js +15 -15
  505. package/module/codegen/cosmos/staking/v1beta1/staking.js +1225 -95
  506. package/module/codegen/cosmos/staking/v1beta1/tx.amino.js +11 -199
  507. package/module/codegen/cosmos/staking/v1beta1/tx.js +511 -32
  508. package/module/codegen/cosmos/staking/v1beta1/tx.rpc.msg.js +6 -6
  509. package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +261 -40
  510. package/module/codegen/cosmos/tx/v1beta1/service.js +581 -52
  511. package/module/codegen/cosmos/tx/v1beta1/service.lcd.js +0 -3
  512. package/module/codegen/cosmos/tx/v1beta1/service.rpc.Service.js +6 -6
  513. package/module/codegen/cosmos/tx/v1beta1/tx.js +818 -50
  514. package/module/codegen/cosmos/upgrade/v1beta1/query.js +514 -28
  515. package/module/codegen/cosmos/upgrade/v1beta1/query.lcd.js +0 -5
  516. package/module/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.js +6 -6
  517. package/module/codegen/cosmos/upgrade/v1beta1/tx.amino.js +5 -51
  518. package/module/codegen/cosmos/upgrade/v1beta1/tx.js +214 -10
  519. package/module/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.js +3 -3
  520. package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +247 -18
  521. package/module/codegen/cosmos/vesting/v1beta1/tx.amino.js +18 -0
  522. package/module/codegen/cosmos/vesting/v1beta1/tx.js +570 -0
  523. package/module/codegen/cosmos/vesting/v1beta1/tx.registry.js +69 -0
  524. package/module/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.js +29 -0
  525. package/module/codegen/cosmos/vesting/v1beta1/vesting.js +622 -0
  526. package/module/codegen/cosmos_proto/bundle.js +4 -4
  527. package/module/codegen/cosmos_proto/cosmos.js +121 -15
  528. package/module/codegen/cosmwasm/bundle.js +19 -19
  529. package/module/codegen/cosmwasm/client.js +3 -3
  530. package/module/codegen/cosmwasm/lcd.js +48 -1
  531. package/module/codegen/cosmwasm/rpc.query.js +32 -0
  532. package/module/codegen/cosmwasm/rpc.tx.js +21 -0
  533. package/module/codegen/cosmwasm/wasm/v1/authz.js +504 -30
  534. package/module/codegen/cosmwasm/wasm/v1/genesis.js +294 -21
  535. package/module/codegen/cosmwasm/wasm/v1/ibc.js +102 -12
  536. package/module/codegen/cosmwasm/wasm/v1/proposal.js +815 -42
  537. package/module/codegen/cosmwasm/wasm/v1/query.js +1203 -61
  538. package/module/codegen/cosmwasm/wasm/v1/query.lcd.js +0 -11
  539. package/module/codegen/cosmwasm/wasm/v1/query.rpc.Query.js +12 -12
  540. package/module/codegen/cosmwasm/wasm/v1/tx.amino.js +15 -219
  541. package/module/codegen/cosmwasm/wasm/v1/tx.js +728 -46
  542. package/module/codegen/cosmwasm/wasm/v1/tx.rpc.msg.js +8 -8
  543. package/module/codegen/cosmwasm/wasm/v1/types.js +437 -59
  544. package/module/codegen/gaia/bundle.js +10 -10
  545. package/module/codegen/gaia/globalfee/v1beta1/genesis.js +77 -6
  546. package/module/codegen/gaia/globalfee/v1beta1/query.js +90 -5
  547. package/module/codegen/gaia/globalfee/v1beta1/query.lcd.js +0 -1
  548. package/module/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +2 -2
  549. package/module/codegen/gaia/lcd.js +48 -1
  550. package/module/codegen/gaia/rpc.query.js +32 -0
  551. package/module/codegen/gogoproto/bundle.js +4 -4
  552. package/module/codegen/google/api/annotations.js +1 -0
  553. package/module/codegen/google/api/http.js +1171 -0
  554. package/module/codegen/google/bundle.js +11 -8
  555. package/module/codegen/google/protobuf/any.js +278 -3
  556. package/module/codegen/google/protobuf/descriptor.js +1534 -165
  557. package/module/codegen/google/protobuf/duration.js +154 -7
  558. package/module/codegen/google/protobuf/empty.js +63 -3
  559. package/module/codegen/google/protobuf/timestamp.js +199 -7
  560. package/module/codegen/helpers.js +19 -46
  561. package/module/codegen/ibc/applications/transfer/v1/genesis.js +55 -4
  562. package/module/codegen/ibc/applications/transfer/v1/query.js +292 -13
  563. package/module/codegen/ibc/applications/transfer/v1/query.lcd.js +0 -3
  564. package/module/codegen/ibc/applications/transfer/v1/query.rpc.Query.js +4 -4
  565. package/module/codegen/ibc/applications/transfer/v1/transfer.js +117 -5
  566. package/module/codegen/ibc/applications/transfer/v1/tx.amino.js +3 -52
  567. package/module/codegen/ibc/applications/transfer/v1/tx.js +116 -11
  568. package/module/codegen/ibc/applications/transfer/v1/tx.rpc.msg.js +2 -2
  569. package/module/codegen/ibc/applications/transfer/v2/packet.js +67 -3
  570. package/module/codegen/ibc/bundle.js +69 -58
  571. package/module/codegen/ibc/client.js +3 -3
  572. package/module/codegen/ibc/core/channel/v1/channel.js +424 -55
  573. package/module/codegen/ibc/core/channel/v1/genesis.js +149 -12
  574. package/module/codegen/ibc/core/channel/v1/query.js +1565 -93
  575. package/module/codegen/ibc/core/channel/v1/query.lcd.js +0 -13
  576. package/module/codegen/ibc/core/channel/v1/query.rpc.Query.js +14 -14
  577. package/module/codegen/ibc/core/channel/v1/tx.amino.js +21 -490
  578. package/module/codegen/ibc/core/channel/v1/tx.js +1049 -62
  579. package/module/codegen/ibc/core/channel/v1/tx.rpc.msg.js +11 -11
  580. package/module/codegen/ibc/core/client/v1/client.js +424 -24
  581. package/module/codegen/ibc/core/client/v1/genesis.js +186 -12
  582. package/module/codegen/ibc/core/client/v1/query.js +861 -42
  583. package/module/codegen/ibc/core/client/v1/query.lcd.js +0 -8
  584. package/module/codegen/ibc/core/client/v1/query.rpc.Query.js +9 -9
  585. package/module/codegen/ibc/core/client/v1/tx.amino.js +9 -136
  586. package/module/codegen/ibc/core/client/v1/tx.js +402 -17
  587. package/module/codegen/ibc/core/client/v1/tx.rpc.msg.js +5 -5
  588. package/module/codegen/ibc/core/commitment/v1/commitment.js +227 -9
  589. package/module/codegen/ibc/core/connection/v1/connection.js +409 -48
  590. package/module/codegen/ibc/core/connection/v1/genesis.js +62 -8
  591. package/module/codegen/ibc/core/connection/v1/query.js +579 -33
  592. package/module/codegen/ibc/core/connection/v1/query.lcd.js +0 -5
  593. package/module/codegen/ibc/core/connection/v1/query.rpc.Query.js +6 -6
  594. package/module/codegen/ibc/core/connection/v1/tx.amino.js +9 -252
  595. package/module/codegen/ibc/core/connection/v1/tx.js +495 -31
  596. package/module/codegen/ibc/core/connection/v1/tx.rpc.msg.js +5 -5
  597. package/module/codegen/ibc/core/port/v1/query.js +214 -0
  598. package/module/codegen/ibc/core/port/v1/query.rpc.Query.js +27 -0
  599. package/module/codegen/ibc/core/types/v1/genesis.js +103 -0
  600. package/module/codegen/ibc/lcd.js +48 -1
  601. package/module/codegen/ibc/lightclients/localhost/v1/localhost.js +57 -4
  602. package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +930 -89
  603. package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +927 -86
  604. package/module/codegen/ibc/lightclients/tendermint/v1/tendermint.js +365 -27
  605. package/module/codegen/ibc/rpc.query.js +35 -0
  606. package/module/codegen/ibc/rpc.tx.js +21 -0
  607. package/module/codegen/ics23/bundle.js +4 -4
  608. package/module/codegen/index.js +5 -2
  609. package/module/codegen/juno/bundle.js +75 -22
  610. package/module/codegen/juno/client.js +15 -5
  611. package/module/codegen/juno/clock/v1/genesis.js +155 -0
  612. package/module/codegen/juno/clock/v1/query.js +256 -0
  613. package/module/codegen/juno/clock/v1/query.lcd.js +21 -0
  614. package/module/codegen/juno/clock/v1/query.rpc.Query.js +36 -0
  615. package/module/codegen/juno/clock/v1/tx.amino.js +8 -0
  616. package/module/codegen/juno/clock/v1/tx.js +167 -0
  617. package/module/codegen/juno/clock/v1/tx.registry.js +33 -0
  618. package/module/codegen/juno/clock/v1/tx.rpc.msg.js +17 -0
  619. package/module/codegen/juno/cwhooks/v1/genesis.js +169 -0
  620. package/module/codegen/juno/cwhooks/v1/query.js +385 -0
  621. package/module/codegen/juno/cwhooks/v1/query.lcd.js +27 -0
  622. package/module/codegen/juno/cwhooks/v1/query.rpc.Query.js +45 -0
  623. package/module/codegen/juno/cwhooks/v1/tx.amino.js +28 -0
  624. package/module/codegen/juno/cwhooks/v1/tx.js +719 -0
  625. package/module/codegen/juno/cwhooks/v1/tx.registry.js +105 -0
  626. package/module/codegen/juno/cwhooks/v1/tx.rpc.msg.js +41 -0
  627. package/module/codegen/juno/drip/v1/genesis.js +155 -0
  628. package/module/codegen/juno/drip/v1/query.js +127 -0
  629. package/module/codegen/juno/drip/v1/query.lcd.js +15 -0
  630. package/module/codegen/juno/drip/v1/query.rpc.Query.js +27 -0
  631. package/module/codegen/juno/drip/v1/tx.amino.js +13 -0
  632. package/module/codegen/juno/drip/v1/tx.js +294 -0
  633. package/module/codegen/juno/drip/v1/tx.registry.js +51 -0
  634. package/module/codegen/juno/drip/v1/tx.rpc.msg.js +23 -0
  635. package/module/codegen/juno/feepay/v1/feepay.js +207 -0
  636. package/module/codegen/juno/feepay/v1/genesis.js +157 -0
  637. package/module/codegen/juno/feepay/v1/query.js +725 -0
  638. package/module/codegen/juno/feepay/v1/query.lcd.js +48 -0
  639. package/module/codegen/juno/feepay/v1/query.rpc.Query.js +65 -0
  640. package/module/codegen/juno/feepay/v1/tx.amino.js +28 -0
  641. package/module/codegen/juno/feepay/v1/tx.js +748 -0
  642. package/module/codegen/juno/feepay/v1/tx.registry.js +105 -0
  643. package/module/codegen/juno/feepay/v1/tx.rpc.msg.js +41 -0
  644. package/module/codegen/juno/feeshare/v1/feeshare.js +54 -3
  645. package/module/codegen/juno/feeshare/v1/genesis.js +95 -8
  646. package/module/codegen/juno/feeshare/v1/query.js +433 -23
  647. package/module/codegen/juno/feeshare/v1/query.lcd.js +0 -5
  648. package/module/codegen/juno/feeshare/v1/query.rpc.Query.js +6 -6
  649. package/module/codegen/juno/feeshare/v1/tx.amino.js +12 -62
  650. package/module/codegen/juno/feeshare/v1/tx.js +400 -13
  651. package/module/codegen/juno/feeshare/v1/tx.registry.js +20 -2
  652. package/module/codegen/juno/feeshare/v1/tx.rpc.msg.js +11 -5
  653. package/module/codegen/juno/lcd.js +68 -1
  654. package/module/codegen/juno/mint/genesis.js +43 -5
  655. package/module/codegen/juno/mint/mint.js +115 -21
  656. package/module/codegen/juno/mint/query.js +378 -14
  657. package/module/codegen/juno/mint/query.lcd.js +6 -3
  658. package/module/codegen/juno/mint/query.rpc.Query.js +14 -5
  659. package/module/codegen/juno/mint/tx.amino.js +8 -0
  660. package/module/codegen/juno/mint/tx.js +167 -0
  661. package/module/codegen/juno/mint/tx.registry.js +33 -0
  662. package/module/codegen/juno/mint/tx.rpc.msg.js +17 -0
  663. package/module/codegen/juno/rpc.query.js +44 -0
  664. package/module/codegen/juno/rpc.tx.js +35 -1
  665. package/module/codegen/osmosis/bundle.js +17 -17
  666. package/module/codegen/osmosis/client.js +3 -3
  667. package/module/codegen/osmosis/lcd.js +48 -1
  668. package/module/codegen/osmosis/rpc.query.js +32 -0
  669. package/module/codegen/osmosis/rpc.tx.js +21 -0
  670. package/module/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.js +55 -3
  671. package/module/codegen/osmosis/tokenfactory/v1beta1/genesis.js +110 -7
  672. package/module/codegen/osmosis/tokenfactory/v1beta1/params.js +59 -4
  673. package/module/codegen/osmosis/tokenfactory/v1beta1/query.js +290 -15
  674. package/module/codegen/osmosis/tokenfactory/v1beta1/query.lcd.js +0 -3
  675. package/module/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.js +4 -4
  676. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +18 -173
  677. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.js +780 -30
  678. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +20 -2
  679. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +14 -8
  680. package/module/codegen/router/bundle.js +10 -10
  681. package/module/codegen/router/lcd.js +48 -1
  682. package/module/codegen/router/rpc.query.js +32 -0
  683. package/module/codegen/router/v1/genesis.js +217 -22
  684. package/module/codegen/router/v1/query.js +69 -5
  685. package/module/codegen/router/v1/query.lcd.js +0 -1
  686. package/module/codegen/router/v1/query.rpc.Query.js +2 -2
  687. package/module/codegen/tendermint/abci/types.js +1996 -220
  688. package/module/codegen/tendermint/bundle.js +19 -19
  689. package/module/codegen/tendermint/crypto/keys.js +42 -3
  690. package/module/codegen/tendermint/crypto/proof.js +221 -18
  691. package/module/codegen/tendermint/libs/bits/types.js +42 -8
  692. package/module/codegen/tendermint/p2p/types.js +226 -23
  693. package/module/codegen/tendermint/types/block.js +46 -6
  694. package/module/codegen/tendermint/types/evidence.js +191 -24
  695. package/module/codegen/tendermint/types/params.js +306 -43
  696. package/module/codegen/tendermint/types/types.js +666 -85
  697. package/module/codegen/tendermint/types/validator.js +132 -21
  698. package/module/codegen/tendermint/version/types.js +108 -15
  699. package/module/codegen/utf8.js +121 -0
  700. package/module/codegen/varint.js +420 -0
  701. package/package.json +8 -9
  702. package/src/codegen/amino/amino.ts +1 -0
  703. package/src/codegen/amino/bundle.ts +4 -0
  704. package/src/codegen/binary.ts +534 -0
  705. package/src/codegen/confio/proofs.ts +828 -387
  706. package/src/codegen/cosmos/app/v1alpha1/config.ts +255 -0
  707. package/src/codegen/cosmos/app/v1alpha1/module.ts +454 -0
  708. package/src/codegen/cosmos/app/v1alpha1/query.rpc.Query.ts +30 -0
  709. package/src/codegen/cosmos/app/v1alpha1/query.ts +163 -0
  710. package/src/codegen/cosmos/auth/v1beta1/auth.ts +418 -0
  711. package/src/codegen/cosmos/auth/v1beta1/genesis.ts +113 -0
  712. package/src/codegen/cosmos/auth/v1beta1/query.lcd.ts +65 -0
  713. package/src/codegen/cosmos/auth/v1beta1/query.rpc.Query.ts +102 -0
  714. package/src/codegen/cosmos/auth/v1beta1/query.ts +1249 -0
  715. package/src/codegen/cosmos/authz/v1beta1/authz.ts +238 -81
  716. package/src/codegen/cosmos/authz/v1beta1/event.ts +127 -56
  717. package/src/codegen/cosmos/authz/v1beta1/genesis.ts +54 -19
  718. package/src/codegen/cosmos/authz/v1beta1/query.lcd.ts +1 -18
  719. package/src/codegen/cosmos/authz/v1beta1/query.rpc.Query.ts +4 -15
  720. package/src/codegen/cosmos/authz/v1beta1/query.ts +359 -140
  721. package/src/codegen/cosmos/authz/v1beta1/tx.amino.ts +18 -0
  722. package/src/codegen/cosmos/authz/v1beta1/tx.registry.ts +70 -0
  723. package/src/codegen/cosmos/authz/v1beta1/tx.rpc.msg.ts +4 -12
  724. package/src/codegen/cosmos/authz/v1beta1/tx.ts +336 -113
  725. package/src/codegen/cosmos/bank/v1beta1/authz.ts +59 -19
  726. package/src/codegen/cosmos/bank/v1beta1/bank.ts +454 -172
  727. package/src/codegen/cosmos/bank/v1beta1/genesis.ts +142 -60
  728. package/src/codegen/cosmos/bank/v1beta1/query.lcd.ts +1 -35
  729. package/src/codegen/cosmos/bank/v1beta1/query.rpc.Query.ts +10 -39
  730. package/src/codegen/cosmos/bank/v1beta1/query.ts +1075 -385
  731. package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +4 -101
  732. package/src/codegen/cosmos/bank/v1beta1/tx.registry.ts +0 -6
  733. package/src/codegen/cosmos/bank/v1beta1/tx.rpc.msg.ts +3 -9
  734. package/src/codegen/cosmos/bank/v1beta1/tx.ts +212 -70
  735. package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +767 -356
  736. package/src/codegen/cosmos/base/kv/v1beta1/kv.ts +197 -0
  737. package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +166 -77
  738. package/src/codegen/cosmos/base/reflection/v1beta1/reflection.ts +364 -0
  739. package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +1406 -501
  740. package/src/codegen/cosmos/base/snapshots/v1beta1/snapshot.ts +1023 -0
  741. package/src/codegen/cosmos/base/store/v1beta1/commit_info.ts +343 -0
  742. package/src/codegen/cosmos/base/store/v1beta1/listening.ts +158 -0
  743. package/src/codegen/cosmos/base/tendermint/v1beta1/query.lcd.ts +63 -0
  744. package/src/codegen/cosmos/base/tendermint/v1beta1/query.rpc.Service.ts +87 -0
  745. package/src/codegen/cosmos/base/tendermint/v1beta1/query.ts +1606 -0
  746. package/src/codegen/cosmos/base/v1beta1/coin.ts +221 -70
  747. package/src/codegen/cosmos/bundle.ts +439 -157
  748. package/src/codegen/cosmos/capability/v1beta1/capability.ts +312 -0
  749. package/src/codegen/cosmos/capability/v1beta1/genesis.ts +226 -0
  750. package/src/codegen/cosmos/client.ts +31 -5
  751. package/src/codegen/cosmos/crisis/v1beta1/genesis.ts +99 -0
  752. package/src/codegen/cosmos/crisis/v1beta1/tx.amino.ts +8 -0
  753. package/src/codegen/cosmos/crisis/v1beta1/tx.registry.ts +34 -0
  754. package/src/codegen/cosmos/crisis/v1beta1/tx.rpc.msg.ts +20 -0
  755. package/src/codegen/cosmos/crisis/v1beta1/tx.ts +190 -0
  756. package/src/codegen/cosmos/crypto/ed25519/keys.ts +111 -34
  757. package/src/codegen/cosmos/crypto/hd/v1/hd.ts +76 -39
  758. package/src/codegen/cosmos/crypto/keyring/v1/record.ts +280 -108
  759. package/src/codegen/cosmos/crypto/multisig/keys.ts +63 -21
  760. package/src/codegen/cosmos/crypto/multisig/v1beta1/multisig.ts +118 -36
  761. package/src/codegen/cosmos/crypto/secp256k1/keys.ts +108 -34
  762. package/src/codegen/cosmos/crypto/secp256r1/keys.ts +104 -36
  763. package/src/codegen/cosmos/distribution/v1beta1/distribution.ts +778 -261
  764. package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +591 -274
  765. package/src/codegen/cosmos/distribution/v1beta1/query.lcd.ts +1 -25
  766. package/src/codegen/cosmos/distribution/v1beta1/query.rpc.Query.ts +10 -39
  767. package/src/codegen/cosmos/distribution/v1beta1/query.ts +1022 -353
  768. package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +8 -105
  769. package/src/codegen/cosmos/distribution/v1beta1/tx.registry.ts +0 -12
  770. package/src/codegen/cosmos/distribution/v1beta1/tx.rpc.msg.ts +5 -15
  771. package/src/codegen/cosmos/distribution/v1beta1/tx.ts +423 -133
  772. package/src/codegen/cosmos/evidence/v1beta1/evidence.ts +146 -0
  773. package/src/codegen/cosmos/evidence/v1beta1/genesis.ts +95 -0
  774. package/src/codegen/cosmos/evidence/v1beta1/query.lcd.ts +33 -0
  775. package/src/codegen/cosmos/evidence/v1beta1/query.rpc.Query.ts +43 -0
  776. package/src/codegen/cosmos/evidence/v1beta1/query.ts +405 -0
  777. package/src/codegen/cosmos/evidence/v1beta1/tx.amino.ts +8 -0
  778. package/src/codegen/cosmos/evidence/v1beta1/tx.registry.ts +34 -0
  779. package/src/codegen/cosmos/evidence/v1beta1/tx.rpc.msg.ts +23 -0
  780. package/src/codegen/cosmos/evidence/v1beta1/tx.ts +207 -0
  781. package/src/codegen/cosmos/feegrant/v1beta1/feegrant.ts +560 -0
  782. package/src/codegen/cosmos/feegrant/v1beta1/genesis.ts +93 -0
  783. package/src/codegen/cosmos/feegrant/v1beta1/query.lcd.ts +44 -0
  784. package/src/codegen/cosmos/feegrant/v1beta1/query.rpc.Query.ts +55 -0
  785. package/src/codegen/cosmos/feegrant/v1beta1/query.ts +634 -0
  786. package/src/codegen/cosmos/feegrant/v1beta1/tx.amino.ts +13 -0
  787. package/src/codegen/cosmos/feegrant/v1beta1/tx.registry.ts +52 -0
  788. package/src/codegen/cosmos/feegrant/v1beta1/tx.rpc.msg.ts +34 -0
  789. package/src/codegen/cosmos/feegrant/v1beta1/tx.ts +384 -0
  790. package/src/codegen/cosmos/genutil/v1beta1/genesis.ts +95 -0
  791. package/src/codegen/cosmos/gov/v1/genesis.ts +100 -55
  792. package/src/codegen/cosmos/gov/v1/gov.ts +560 -306
  793. package/src/codegen/cosmos/gov/v1/query.lcd.ts +1 -28
  794. package/src/codegen/cosmos/gov/v1/query.rpc.Query.ts +9 -35
  795. package/src/codegen/cosmos/gov/v1/query.ts +929 -365
  796. package/src/codegen/cosmos/gov/v1/tx.amino.ts +10 -208
  797. package/src/codegen/cosmos/gov/v1/tx.registry.ts +0 -15
  798. package/src/codegen/cosmos/gov/v1/tx.rpc.msg.ts +6 -18
  799. package/src/codegen/cosmos/gov/v1/tx.ts +582 -213
  800. package/src/codegen/cosmos/gov/v1beta1/genesis.ts +107 -62
  801. package/src/codegen/cosmos/gov/v1beta1/gov.ts +641 -348
  802. package/src/codegen/cosmos/gov/v1beta1/query.lcd.ts +1 -28
  803. package/src/codegen/cosmos/gov/v1beta1/query.rpc.Query.ts +9 -35
  804. package/src/codegen/cosmos/gov/v1beta1/query.ts +948 -384
  805. package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +8 -159
  806. package/src/codegen/cosmos/gov/v1beta1/tx.registry.ts +0 -12
  807. package/src/codegen/cosmos/gov/v1beta1/tx.rpc.msg.ts +5 -15
  808. package/src/codegen/cosmos/gov/v1beta1/tx.ts +468 -168
  809. package/src/codegen/cosmos/group/v1/events.ts +855 -0
  810. package/src/codegen/cosmos/group/v1/genesis.ts +240 -0
  811. package/src/codegen/cosmos/group/v1/query.lcd.ts +139 -0
  812. package/src/codegen/cosmos/group/v1/query.rpc.Query.ts +162 -0
  813. package/src/codegen/cosmos/group/v1/query.ts +2674 -0
  814. package/src/codegen/cosmos/group/v1/tx.amino.ts +73 -0
  815. package/src/codegen/cosmos/group/v1/tx.registry.ts +268 -0
  816. package/src/codegen/cosmos/group/v1/tx.rpc.msg.ts +124 -0
  817. package/src/codegen/cosmos/group/v1/tx.ts +2998 -0
  818. package/src/codegen/cosmos/group/v1/types.ts +1964 -0
  819. package/src/codegen/cosmos/lcd.ts +48 -1
  820. package/src/codegen/cosmos/mint/v1beta1/genesis.ts +110 -0
  821. package/src/codegen/cosmos/mint/v1beta1/mint.ts +286 -0
  822. package/src/codegen/cosmos/mint/v1beta1/query.lcd.ts +30 -0
  823. package/src/codegen/cosmos/mint/v1beta1/query.rpc.Query.ts +52 -0
  824. package/src/codegen/cosmos/mint/v1beta1/query.ts +513 -0
  825. package/src/codegen/cosmos/msg/v1/msg.ts +1 -0
  826. package/src/codegen/cosmos/nft/v1beta1/event.ts +373 -0
  827. package/src/codegen/cosmos/nft/v1beta1/genesis.ts +222 -0
  828. package/src/codegen/cosmos/nft/v1beta1/nft.ts +354 -0
  829. package/src/codegen/cosmos/nft/v1beta1/query.lcd.ts +76 -0
  830. package/src/codegen/cosmos/nft/v1beta1/query.rpc.Query.ts +101 -0
  831. package/src/codegen/cosmos/nft/v1beta1/query.ts +1360 -0
  832. package/src/codegen/cosmos/nft/v1beta1/tx.amino.ts +8 -0
  833. package/src/codegen/cosmos/nft/v1beta1/tx.registry.ts +34 -0
  834. package/src/codegen/cosmos/nft/v1beta1/tx.rpc.msg.ts +20 -0
  835. package/src/codegen/cosmos/nft/v1beta1/tx.ts +213 -0
  836. package/src/codegen/cosmos/orm/v1/orm.ts +566 -0
  837. package/src/codegen/cosmos/orm/v1alpha1/schema.ts +348 -0
  838. package/src/codegen/cosmos/params/v1beta1/params.ts +250 -0
  839. package/src/codegen/cosmos/params/v1beta1/query.lcd.ts +34 -0
  840. package/src/codegen/cosmos/params/v1beta1/query.rpc.Query.ts +44 -0
  841. package/src/codegen/cosmos/params/v1beta1/query.ts +495 -0
  842. package/src/codegen/cosmos/rpc.query.ts +32 -0
  843. package/src/codegen/cosmos/rpc.tx.ts +21 -0
  844. package/src/codegen/cosmos/slashing/v1beta1/genesis.ts +478 -0
  845. package/src/codegen/cosmos/slashing/v1beta1/query.lcd.ts +39 -0
  846. package/src/codegen/cosmos/slashing/v1beta1/query.rpc.Query.ts +54 -0
  847. package/src/codegen/cosmos/slashing/v1beta1/query.ts +577 -0
  848. package/src/codegen/cosmos/slashing/v1beta1/slashing.ts +356 -0
  849. package/src/codegen/cosmos/slashing/v1beta1/tx.amino.ts +8 -0
  850. package/src/codegen/cosmos/slashing/v1beta1/tx.registry.ts +34 -0
  851. package/src/codegen/cosmos/slashing/v1beta1/tx.rpc.msg.ts +24 -0
  852. package/src/codegen/cosmos/slashing/v1beta1/tx.ts +160 -0
  853. package/src/codegen/cosmos/staking/v1beta1/authz.ts +130 -84
  854. package/src/codegen/cosmos/staking/v1beta1/genesis.ts +170 -82
  855. package/src/codegen/cosmos/staking/v1beta1/query.lcd.ts +1 -48
  856. package/src/codegen/cosmos/staking/v1beta1/query.rpc.Query.ts +15 -59
  857. package/src/codegen/cosmos/staking/v1beta1/query.ts +1616 -586
  858. package/src/codegen/cosmos/staking/v1beta1/staking.ts +1395 -616
  859. package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +10 -276
  860. package/src/codegen/cosmos/staking/v1beta1/tx.registry.ts +0 -15
  861. package/src/codegen/cosmos/staking/v1beta1/tx.rpc.msg.ts +6 -18
  862. package/src/codegen/cosmos/staking/v1beta1/tx.ts +609 -224
  863. package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +306 -181
  864. package/src/codegen/cosmos/tx/v1beta1/service.lcd.ts +1 -15
  865. package/src/codegen/cosmos/tx/v1beta1/service.rpc.Service.ts +6 -23
  866. package/src/codegen/cosmos/tx/v1beta1/service.ts +635 -293
  867. package/src/codegen/cosmos/tx/v1beta1/tx.ts +930 -405
  868. package/src/codegen/cosmos/upgrade/v1beta1/query.lcd.ts +1 -15
  869. package/src/codegen/cosmos/upgrade/v1beta1/query.rpc.Query.ts +6 -23
  870. package/src/codegen/cosmos/upgrade/v1beta1/query.ts +550 -182
  871. package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +4 -77
  872. package/src/codegen/cosmos/upgrade/v1beta1/tx.registry.ts +0 -6
  873. package/src/codegen/cosmos/upgrade/v1beta1/tx.rpc.msg.ts +3 -9
  874. package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +217 -73
  875. package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +284 -124
  876. package/src/codegen/cosmos/vesting/v1beta1/tx.amino.ts +18 -0
  877. package/src/codegen/cosmos/vesting/v1beta1/tx.registry.ts +70 -0
  878. package/src/codegen/cosmos/vesting/v1beta1/tx.rpc.msg.ts +45 -0
  879. package/src/codegen/cosmos/vesting/v1beta1/tx.ts +657 -0
  880. package/src/codegen/cosmos/vesting/v1beta1/vesting.ts +724 -0
  881. package/src/codegen/cosmos_proto/bundle.ts +3 -2
  882. package/src/codegen/cosmos_proto/cosmos.ts +125 -67
  883. package/src/codegen/cosmwasm/bundle.ts +32 -30
  884. package/src/codegen/cosmwasm/client.ts +5 -3
  885. package/src/codegen/cosmwasm/lcd.ts +48 -1
  886. package/src/codegen/cosmwasm/rpc.query.ts +32 -0
  887. package/src/codegen/cosmwasm/rpc.tx.ts +21 -0
  888. package/src/codegen/cosmwasm/wasm/v1/authz.ts +528 -180
  889. package/src/codegen/cosmwasm/wasm/v1/genesis.ts +356 -134
  890. package/src/codegen/cosmwasm/wasm/v1/ibc.ts +131 -60
  891. package/src/codegen/cosmwasm/wasm/v1/proposal.ts +987 -497
  892. package/src/codegen/cosmwasm/wasm/v1/query.lcd.ts +1 -37
  893. package/src/codegen/cosmwasm/wasm/v1/query.rpc.Query.ts +12 -47
  894. package/src/codegen/cosmwasm/wasm/v1/query.ts +1352 -486
  895. package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +14 -298
  896. package/src/codegen/cosmwasm/wasm/v1/tx.registry.ts +0 -21
  897. package/src/codegen/cosmwasm/wasm/v1/tx.rpc.msg.ts +8 -24
  898. package/src/codegen/cosmwasm/wasm/v1/tx.ts +893 -386
  899. package/src/codegen/cosmwasm/wasm/v1/types.ts +541 -300
  900. package/src/codegen/gaia/bundle.ts +14 -12
  901. package/src/codegen/gaia/globalfee/v1beta1/genesis.ts +97 -40
  902. package/src/codegen/gaia/globalfee/v1beta1/query.lcd.ts +1 -5
  903. package/src/codegen/gaia/globalfee/v1beta1/query.rpc.Query.ts +2 -7
  904. package/src/codegen/gaia/globalfee/v1beta1/query.ts +92 -33
  905. package/src/codegen/gaia/lcd.ts +48 -1
  906. package/src/codegen/gaia/rpc.query.ts +32 -0
  907. package/src/codegen/gogoproto/bundle.ts +3 -2
  908. package/src/codegen/google/api/annotations.ts +1 -0
  909. package/src/codegen/google/api/http.ts +1351 -0
  910. package/src/codegen/google/bundle.ts +17 -10
  911. package/src/codegen/google/protobuf/any.ts +131 -24
  912. package/src/codegen/google/protobuf/descriptor.ts +1890 -1033
  913. package/src/codegen/google/protobuf/duration.ts +106 -41
  914. package/src/codegen/google/protobuf/empty.ts +49 -16
  915. package/src/codegen/google/protobuf/timestamp.ts +127 -39
  916. package/src/codegen/helpers.ts +174 -166
  917. package/src/codegen/ibc/applications/transfer/v1/genesis.ts +67 -26
  918. package/src/codegen/ibc/applications/transfer/v1/query.lcd.ts +1 -11
  919. package/src/codegen/ibc/applications/transfer/v1/query.rpc.Query.ts +4 -15
  920. package/src/codegen/ibc/applications/transfer/v1/query.ts +322 -108
  921. package/src/codegen/ibc/applications/transfer/v1/transfer.ts +123 -46
  922. package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +2 -67
  923. package/src/codegen/ibc/applications/transfer/v1/tx.registry.ts +0 -3
  924. package/src/codegen/ibc/applications/transfer/v1/tx.rpc.msg.ts +2 -6
  925. package/src/codegen/ibc/applications/transfer/v1/tx.ts +148 -75
  926. package/src/codegen/ibc/applications/transfer/v2/packet.ts +74 -34
  927. package/src/codegen/ibc/bundle.ts +115 -90
  928. package/src/codegen/ibc/client.ts +5 -3
  929. package/src/codegen/ibc/core/channel/v1/channel.ts +489 -301
  930. package/src/codegen/ibc/core/channel/v1/genesis.ts +177 -68
  931. package/src/codegen/ibc/core/channel/v1/query.lcd.ts +1 -38
  932. package/src/codegen/ibc/core/channel/v1/query.rpc.Query.ts +14 -55
  933. package/src/codegen/ibc/core/channel/v1/query.ts +1799 -794
  934. package/src/codegen/ibc/core/channel/v1/tx.amino.ts +20 -637
  935. package/src/codegen/ibc/core/channel/v1/tx.registry.ts +0 -30
  936. package/src/codegen/ibc/core/channel/v1/tx.rpc.msg.ts +11 -33
  937. package/src/codegen/ibc/core/channel/v1/tx.ts +1224 -442
  938. package/src/codegen/ibc/core/client/v1/client.ts +463 -184
  939. package/src/codegen/ibc/core/client/v1/genesis.ts +218 -91
  940. package/src/codegen/ibc/core/client/v1/query.lcd.ts +1 -25
  941. package/src/codegen/ibc/core/client/v1/query.rpc.Query.ts +9 -35
  942. package/src/codegen/ibc/core/client/v1/query.ts +929 -333
  943. package/src/codegen/ibc/core/client/v1/tx.amino.ts +8 -190
  944. package/src/codegen/ibc/core/client/v1/tx.registry.ts +0 -12
  945. package/src/codegen/ibc/core/client/v1/tx.rpc.msg.ts +5 -15
  946. package/src/codegen/ibc/core/client/v1/tx.ts +461 -182
  947. package/src/codegen/ibc/core/commitment/v1/commitment.ts +224 -67
  948. package/src/codegen/ibc/core/connection/v1/connection.ts +485 -246
  949. package/src/codegen/ibc/core/connection/v1/genesis.ts +81 -37
  950. package/src/codegen/ibc/core/connection/v1/query.lcd.ts +1 -15
  951. package/src/codegen/ibc/core/connection/v1/query.rpc.Query.ts +6 -23
  952. package/src/codegen/ibc/core/connection/v1/query.ts +653 -261
  953. package/src/codegen/ibc/core/connection/v1/tx.amino.ts +8 -328
  954. package/src/codegen/ibc/core/connection/v1/tx.registry.ts +0 -12
  955. package/src/codegen/ibc/core/connection/v1/tx.rpc.msg.ts +5 -15
  956. package/src/codegen/ibc/core/connection/v1/tx.ts +583 -242
  957. package/src/codegen/ibc/core/port/v1/query.rpc.Query.ts +30 -0
  958. package/src/codegen/ibc/core/port/v1/query.ts +269 -0
  959. package/src/codegen/ibc/core/types/v1/genesis.ts +135 -0
  960. package/src/codegen/ibc/lcd.ts +48 -1
  961. package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +65 -28
  962. package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +1061 -473
  963. package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +1056 -468
  964. package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +419 -189
  965. package/src/codegen/ibc/rpc.query.ts +35 -0
  966. package/src/codegen/ibc/rpc.tx.ts +21 -0
  967. package/src/codegen/ics23/bundle.ts +3 -2
  968. package/src/codegen/index.ts +5 -2
  969. package/src/codegen/juno/bundle.ts +127 -34
  970. package/src/codegen/juno/client.ts +21 -4
  971. package/src/codegen/juno/clock/v1/genesis.ts +188 -0
  972. package/src/codegen/juno/clock/v1/query.lcd.ts +24 -0
  973. package/src/codegen/juno/clock/v1/query.rpc.Query.ts +41 -0
  974. package/src/codegen/juno/clock/v1/query.ts +298 -0
  975. package/src/codegen/juno/clock/v1/tx.amino.ts +8 -0
  976. package/src/codegen/juno/clock/v1/tx.registry.ts +34 -0
  977. package/src/codegen/juno/clock/v1/tx.rpc.msg.ts +25 -0
  978. package/src/codegen/juno/clock/v1/tx.ts +203 -0
  979. package/src/codegen/juno/cwhooks/v1/genesis.ts +209 -0
  980. package/src/codegen/juno/cwhooks/v1/query.lcd.ts +30 -0
  981. package/src/codegen/juno/cwhooks/v1/query.rpc.Query.ts +52 -0
  982. package/src/codegen/juno/cwhooks/v1/query.ts +447 -0
  983. package/src/codegen/juno/cwhooks/v1/tx.amino.ts +28 -0
  984. package/src/codegen/juno/cwhooks/v1/tx.registry.ts +106 -0
  985. package/src/codegen/juno/cwhooks/v1/tx.rpc.msg.ts +57 -0
  986. package/src/codegen/juno/cwhooks/v1/tx.ts +851 -0
  987. package/src/codegen/juno/drip/v1/genesis.ts +190 -0
  988. package/src/codegen/juno/drip/v1/query.lcd.ts +18 -0
  989. package/src/codegen/juno/drip/v1/query.rpc.Query.ts +30 -0
  990. package/src/codegen/juno/drip/v1/query.ts +151 -0
  991. package/src/codegen/juno/drip/v1/tx.amino.ts +13 -0
  992. package/src/codegen/juno/drip/v1/tx.registry.ts +52 -0
  993. package/src/codegen/juno/drip/v1/tx.rpc.msg.ts +27 -0
  994. package/src/codegen/juno/drip/v1/tx.ts +360 -0
  995. package/src/codegen/juno/feepay/v1/feepay.ts +257 -0
  996. package/src/codegen/juno/feepay/v1/genesis.ts +191 -0
  997. package/src/codegen/juno/feepay/v1/query.lcd.ts +51 -0
  998. package/src/codegen/juno/feepay/v1/query.rpc.Query.ts +76 -0
  999. package/src/codegen/juno/feepay/v1/query.ts +886 -0
  1000. package/src/codegen/juno/feepay/v1/tx.amino.ts +28 -0
  1001. package/src/codegen/juno/feepay/v1/tx.registry.ts +106 -0
  1002. package/src/codegen/juno/feepay/v1/tx.rpc.msg.ts +52 -0
  1003. package/src/codegen/juno/feepay/v1/tx.ts +905 -0
  1004. package/src/codegen/juno/feeshare/v1/feeshare.ts +61 -29
  1005. package/src/codegen/juno/feeshare/v1/genesis.ts +119 -56
  1006. package/src/codegen/juno/feeshare/v1/query.lcd.ts +1 -19
  1007. package/src/codegen/juno/feeshare/v1/query.rpc.Query.ts +6 -23
  1008. package/src/codegen/juno/feeshare/v1/query.ts +504 -203
  1009. package/src/codegen/juno/feeshare/v1/tx.amino.ts +12 -87
  1010. package/src/codegen/juno/feeshare/v1/tx.registry.ts +20 -11
  1011. package/src/codegen/juno/feeshare/v1/tx.rpc.msg.ts +13 -13
  1012. package/src/codegen/juno/feeshare/v1/tx.ts +485 -120
  1013. package/src/codegen/juno/lcd.ts +68 -1
  1014. package/src/codegen/juno/mint/genesis.ts +58 -30
  1015. package/src/codegen/juno/mint/mint.ts +152 -73
  1016. package/src/codegen/juno/mint/query.lcd.ts +8 -10
  1017. package/src/codegen/juno/mint/query.rpc.Query.ts +16 -16
  1018. package/src/codegen/juno/mint/query.ts +431 -99
  1019. package/src/codegen/juno/mint/tx.amino.ts +8 -0
  1020. package/src/codegen/juno/mint/tx.registry.ts +34 -0
  1021. package/src/codegen/juno/mint/tx.rpc.msg.ts +25 -0
  1022. package/src/codegen/juno/mint/tx.ts +203 -0
  1023. package/src/codegen/juno/rpc.query.ts +44 -0
  1024. package/src/codegen/juno/rpc.tx.ts +35 -1
  1025. package/src/codegen/osmosis/bundle.ts +28 -26
  1026. package/src/codegen/osmosis/client.ts +5 -3
  1027. package/src/codegen/osmosis/lcd.ts +48 -1
  1028. package/src/codegen/osmosis/rpc.query.ts +32 -0
  1029. package/src/codegen/osmosis/rpc.tx.ts +21 -0
  1030. package/src/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.ts +56 -19
  1031. package/src/codegen/osmosis/tokenfactory/v1beta1/genesis.ts +126 -47
  1032. package/src/codegen/osmosis/tokenfactory/v1beta1/params.ts +80 -20
  1033. package/src/codegen/osmosis/tokenfactory/v1beta1/query.lcd.ts +1 -9
  1034. package/src/codegen/osmosis/tokenfactory/v1beta1/query.rpc.Query.ts +4 -15
  1035. package/src/codegen/osmosis/tokenfactory/v1beta1/query.ts +318 -105
  1036. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.amino.ts +18 -244
  1037. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.registry.ts +20 -20
  1038. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.ts +21 -17
  1039. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.ts +881 -215
  1040. package/src/codegen/router/bundle.ts +14 -12
  1041. package/src/codegen/router/lcd.ts +48 -1
  1042. package/src/codegen/router/rpc.query.ts +32 -0
  1043. package/src/codegen/router/v1/genesis.ts +276 -119
  1044. package/src/codegen/router/v1/query.lcd.ts +1 -5
  1045. package/src/codegen/router/v1/query.rpc.Query.ts +2 -7
  1046. package/src/codegen/router/v1/query.ts +85 -34
  1047. package/src/codegen/tendermint/abci/types.ts +2651 -1184
  1048. package/src/codegen/tendermint/bundle.ts +28 -22
  1049. package/src/codegen/tendermint/crypto/keys.ts +51 -20
  1050. package/src/codegen/tendermint/crypto/proof.ts +281 -108
  1051. package/src/codegen/tendermint/libs/bits/types.ts +62 -32
  1052. package/src/codegen/tendermint/p2p/types.ts +318 -126
  1053. package/src/codegen/tendermint/types/block.ts +70 -33
  1054. package/src/codegen/tendermint/types/evidence.ts +257 -112
  1055. package/src/codegen/tendermint/types/params.ts +383 -188
  1056. package/src/codegen/tendermint/types/types.ts +886 -437
  1057. package/src/codegen/tendermint/types/validator.ts +191 -84
  1058. package/src/codegen/tendermint/version/types.ts +125 -56
  1059. package/src/codegen/utf8.ts +148 -0
  1060. package/src/codegen/varint.ts +488 -0
  1061. package/types/codegen/cosmos/authz/v1beta1/query.lcd.d.ts +1 -1
  1062. package/types/codegen/cosmos/bank/v1beta1/query.lcd.d.ts +1 -1
  1063. package/types/codegen/cosmos/distribution/v1beta1/query.lcd.d.ts +1 -1
  1064. package/types/codegen/cosmos/gov/v1/query.lcd.d.ts +1 -1
  1065. package/types/codegen/cosmos/gov/v1beta1/query.lcd.d.ts +1 -1
  1066. package/types/codegen/cosmos/staking/v1beta1/query.lcd.d.ts +1 -1
  1067. package/types/codegen/cosmos/tx/v1beta1/service.lcd.d.ts +1 -1
  1068. package/types/codegen/cosmos/upgrade/v1beta1/query.lcd.d.ts +1 -1
  1069. package/types/codegen/cosmwasm/wasm/v1/query.lcd.d.ts +1 -1
  1070. package/types/codegen/gaia/globalfee/v1beta1/query.lcd.d.ts +1 -1
  1071. package/types/codegen/helpers.d.ts +1 -1
  1072. package/types/codegen/ibc/applications/transfer/v1/query.lcd.d.ts +1 -1
  1073. package/types/codegen/ibc/core/channel/v1/query.lcd.d.ts +1 -1
  1074. package/types/codegen/ibc/core/client/v1/query.lcd.d.ts +1 -1
  1075. package/types/codegen/ibc/core/connection/v1/query.lcd.d.ts +1 -1
  1076. package/types/codegen/index.d.ts +1 -1
  1077. package/types/codegen/juno/feeshare/v1/query.lcd.d.ts +1 -1
  1078. package/types/codegen/juno/mint/query.lcd.d.ts +1 -1
  1079. package/types/codegen/osmosis/tokenfactory/v1beta1/query.lcd.d.ts +1 -1
  1080. package/types/codegen/router/v1/query.lcd.d.ts +1 -1
@@ -0,0 +1,1351 @@
1
+ import { BinaryReader, BinaryWriter } from "../../binary";
2
+ /**
3
+ * Defines the HTTP configuration for an API service. It contains a list of
4
+ * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method
5
+ * to one or more HTTP REST API methods.
6
+ */
7
+ export interface Http {
8
+ /**
9
+ * A list of HTTP configuration rules that apply to individual API methods.
10
+ *
11
+ * **NOTE:** All service configuration rules follow "last one wins" order.
12
+ */
13
+ rules: HttpRule[];
14
+ /**
15
+ * When set to true, URL path parameters will be fully URI-decoded except in
16
+ * cases of single segment matches in reserved expansion, where "%2F" will be
17
+ * left encoded.
18
+ *
19
+ * The default behavior is to not decode RFC 6570 reserved characters in multi
20
+ * segment matches.
21
+ */
22
+ fullyDecodeReservedExpansion: boolean;
23
+ }
24
+ export interface HttpProtoMsg {
25
+ typeUrl: "/google.api.Http";
26
+ value: Uint8Array;
27
+ }
28
+ /**
29
+ * Defines the HTTP configuration for an API service. It contains a list of
30
+ * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method
31
+ * to one or more HTTP REST API methods.
32
+ */
33
+ export interface HttpAmino {
34
+ /**
35
+ * A list of HTTP configuration rules that apply to individual API methods.
36
+ *
37
+ * **NOTE:** All service configuration rules follow "last one wins" order.
38
+ */
39
+ rules?: HttpRuleAmino[];
40
+ /**
41
+ * When set to true, URL path parameters will be fully URI-decoded except in
42
+ * cases of single segment matches in reserved expansion, where "%2F" will be
43
+ * left encoded.
44
+ *
45
+ * The default behavior is to not decode RFC 6570 reserved characters in multi
46
+ * segment matches.
47
+ */
48
+ fully_decode_reserved_expansion?: boolean;
49
+ }
50
+ export interface HttpAminoMsg {
51
+ type: "/google.api.Http";
52
+ value: HttpAmino;
53
+ }
54
+ /**
55
+ * Defines the HTTP configuration for an API service. It contains a list of
56
+ * [HttpRule][google.api.HttpRule], each specifying the mapping of an RPC method
57
+ * to one or more HTTP REST API methods.
58
+ */
59
+ export interface HttpSDKType {
60
+ rules: HttpRuleSDKType[];
61
+ fully_decode_reserved_expansion: boolean;
62
+ }
63
+ /**
64
+ * # gRPC Transcoding
65
+ *
66
+ * gRPC Transcoding is a feature for mapping between a gRPC method and one or
67
+ * more HTTP REST endpoints. It allows developers to build a single API service
68
+ * that supports both gRPC APIs and REST APIs. Many systems, including [Google
69
+ * APIs](https://github.com/googleapis/googleapis),
70
+ * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC
71
+ * Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
72
+ * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
73
+ * and use it for large scale production services.
74
+ *
75
+ * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
76
+ * how different portions of the gRPC request message are mapped to the URL
77
+ * path, URL query parameters, and HTTP request body. It also controls how the
78
+ * gRPC response message is mapped to the HTTP response body. `HttpRule` is
79
+ * typically specified as an `google.api.http` annotation on the gRPC method.
80
+ *
81
+ * Each mapping specifies a URL path template and an HTTP method. The path
82
+ * template may refer to one or more fields in the gRPC request message, as long
83
+ * as each field is a non-repeated field with a primitive (non-message) type.
84
+ * The path template controls how fields of the request message are mapped to
85
+ * the URL path.
86
+ *
87
+ * Example:
88
+ *
89
+ * service Messaging {
90
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
91
+ * option (google.api.http) = {
92
+ * get: "/v1/{name=messages/*}"
93
+ * };
94
+ * }
95
+ * }
96
+ * message GetMessageRequest {
97
+ * string name = 1; // Mapped to URL path.
98
+ * }
99
+ * message Message {
100
+ * string text = 1; // The resource content.
101
+ * }
102
+ *
103
+ * This enables an HTTP REST to gRPC mapping as below:
104
+ *
105
+ * HTTP | gRPC
106
+ * -----|-----
107
+ * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")`
108
+ *
109
+ * Any fields in the request message which are not bound by the path template
110
+ * automatically become HTTP query parameters if there is no HTTP request body.
111
+ * For example:
112
+ *
113
+ * service Messaging {
114
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
115
+ * option (google.api.http) = {
116
+ * get:"/v1/messages/{message_id}"
117
+ * };
118
+ * }
119
+ * }
120
+ * message GetMessageRequest {
121
+ * message SubMessage {
122
+ * string subfield = 1;
123
+ * }
124
+ * string message_id = 1; // Mapped to URL path.
125
+ * int64 revision = 2; // Mapped to URL query parameter `revision`.
126
+ * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.
127
+ * }
128
+ *
129
+ * This enables a HTTP JSON to RPC mapping as below:
130
+ *
131
+ * HTTP | gRPC
132
+ * -----|-----
133
+ * `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
134
+ * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
135
+ * "foo"))`
136
+ *
137
+ * Note that fields which are mapped to URL query parameters must have a
138
+ * primitive type or a repeated primitive type or a non-repeated message type.
139
+ * In the case of a repeated type, the parameter can be repeated in the URL
140
+ * as `...?param=A&param=B`. In the case of a message type, each field of the
141
+ * message is mapped to a separate parameter, such as
142
+ * `...?foo.a=A&foo.b=B&foo.c=C`.
143
+ *
144
+ * For HTTP methods that allow a request body, the `body` field
145
+ * specifies the mapping. Consider a REST update method on the
146
+ * message resource collection:
147
+ *
148
+ * service Messaging {
149
+ * rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
150
+ * option (google.api.http) = {
151
+ * patch: "/v1/messages/{message_id}"
152
+ * body: "message"
153
+ * };
154
+ * }
155
+ * }
156
+ * message UpdateMessageRequest {
157
+ * string message_id = 1; // mapped to the URL
158
+ * Message message = 2; // mapped to the body
159
+ * }
160
+ *
161
+ * The following HTTP JSON to RPC mapping is enabled, where the
162
+ * representation of the JSON in the request body is determined by
163
+ * protos JSON encoding:
164
+ *
165
+ * HTTP | gRPC
166
+ * -----|-----
167
+ * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
168
+ * "123456" message { text: "Hi!" })`
169
+ *
170
+ * The special name `*` can be used in the body mapping to define that
171
+ * every field not bound by the path template should be mapped to the
172
+ * request body. This enables the following alternative definition of
173
+ * the update method:
174
+ *
175
+ * service Messaging {
176
+ * rpc UpdateMessage(Message) returns (Message) {
177
+ * option (google.api.http) = {
178
+ * patch: "/v1/messages/{message_id}"
179
+ * body: "*"
180
+ * };
181
+ * }
182
+ * }
183
+ * message Message {
184
+ * string message_id = 1;
185
+ * string text = 2;
186
+ * }
187
+ *
188
+ *
189
+ * The following HTTP JSON to RPC mapping is enabled:
190
+ *
191
+ * HTTP | gRPC
192
+ * -----|-----
193
+ * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
194
+ * "123456" text: "Hi!")`
195
+ *
196
+ * Note that when using `*` in the body mapping, it is not possible to
197
+ * have HTTP parameters, as all fields not bound by the path end in
198
+ * the body. This makes this option more rarely used in practice when
199
+ * defining REST APIs. The common usage of `*` is in custom methods
200
+ * which don't use the URL at all for transferring data.
201
+ *
202
+ * It is possible to define multiple HTTP methods for one RPC by using
203
+ * the `additional_bindings` option. Example:
204
+ *
205
+ * service Messaging {
206
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
207
+ * option (google.api.http) = {
208
+ * get: "/v1/messages/{message_id}"
209
+ * additional_bindings {
210
+ * get: "/v1/users/{user_id}/messages/{message_id}"
211
+ * }
212
+ * };
213
+ * }
214
+ * }
215
+ * message GetMessageRequest {
216
+ * string message_id = 1;
217
+ * string user_id = 2;
218
+ * }
219
+ *
220
+ * This enables the following two alternative HTTP JSON to RPC mappings:
221
+ *
222
+ * HTTP | gRPC
223
+ * -----|-----
224
+ * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
225
+ * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
226
+ * "123456")`
227
+ *
228
+ * ## Rules for HTTP mapping
229
+ *
230
+ * 1. Leaf request fields (recursive expansion nested messages in the request
231
+ * message) are classified into three categories:
232
+ * - Fields referred by the path template. They are passed via the URL path.
233
+ * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP
234
+ * request body.
235
+ * - All other fields are passed via the URL query parameters, and the
236
+ * parameter name is the field path in the request message. A repeated
237
+ * field can be represented as multiple query parameters under the same
238
+ * name.
239
+ * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields
240
+ * are passed via URL path and HTTP request body.
241
+ * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all
242
+ * fields are passed via URL path and URL query parameters.
243
+ *
244
+ * ### Path template syntax
245
+ *
246
+ * Template = "/" Segments [ Verb ] ;
247
+ * Segments = Segment { "/" Segment } ;
248
+ * Segment = "*" | "**" | LITERAL | Variable ;
249
+ * Variable = "{" FieldPath [ "=" Segments ] "}" ;
250
+ * FieldPath = IDENT { "." IDENT } ;
251
+ * Verb = ":" LITERAL ;
252
+ *
253
+ * The syntax `*` matches a single URL path segment. The syntax `**` matches
254
+ * zero or more URL path segments, which must be the last part of the URL path
255
+ * except the `Verb`.
256
+ *
257
+ * The syntax `Variable` matches part of the URL path as specified by its
258
+ * template. A variable template must not contain other variables. If a variable
259
+ * matches a single path segment, its template may be omitted, e.g. `{var}`
260
+ * is equivalent to `{var=*}`.
261
+ *
262
+ * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
263
+ * contains any reserved character, such characters should be percent-encoded
264
+ * before the matching.
265
+ *
266
+ * If a variable contains exactly one path segment, such as `"{var}"` or
267
+ * `"{var=*}"`, when such a variable is expanded into a URL path on the client
268
+ * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
269
+ * server side does the reverse decoding. Such variables show up in the
270
+ * [Discovery
271
+ * Document](https://developers.google.com/discovery/v1/reference/apis) as
272
+ * `{var}`.
273
+ *
274
+ * If a variable contains multiple path segments, such as `"{var=foo/*}"`
275
+ * or `"{var=**}"`, when such a variable is expanded into a URL path on the
276
+ * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
277
+ * The server side does the reverse decoding, except "%2F" and "%2f" are left
278
+ * unchanged. Such variables show up in the
279
+ * [Discovery
280
+ * Document](https://developers.google.com/discovery/v1/reference/apis) as
281
+ * `{+var}`.
282
+ *
283
+ * ## Using gRPC API Service Configuration
284
+ *
285
+ * gRPC API Service Configuration (service config) is a configuration language
286
+ * for configuring a gRPC service to become a user-facing product. The
287
+ * service config is simply the YAML representation of the `google.api.Service`
288
+ * proto message.
289
+ *
290
+ * As an alternative to annotating your proto file, you can configure gRPC
291
+ * transcoding in your service config YAML files. You do this by specifying a
292
+ * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
293
+ * effect as the proto annotation. This can be particularly useful if you
294
+ * have a proto that is reused in multiple services. Note that any transcoding
295
+ * specified in the service config will override any matching transcoding
296
+ * configuration in the proto.
297
+ *
298
+ * Example:
299
+ *
300
+ * http:
301
+ * rules:
302
+ * # Selects a gRPC method and applies HttpRule to it.
303
+ * - selector: example.v1.Messaging.GetMessage
304
+ * get: /v1/messages/{message_id}/{sub.subfield}
305
+ *
306
+ * ## Special notes
307
+ *
308
+ * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
309
+ * proto to JSON conversion must follow the [proto3
310
+ * specification](https://developers.google.com/protocol-buffers/docs/proto3#json).
311
+ *
312
+ * While the single segment variable follows the semantics of
313
+ * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
314
+ * Expansion, the multi segment variable **does not** follow RFC 6570 Section
315
+ * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
316
+ * does not expand special characters like `?` and `#`, which would lead
317
+ * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
318
+ * for multi segment variables.
319
+ *
320
+ * The path variables **must not** refer to any repeated or mapped field,
321
+ * because client libraries are not capable of handling such variable expansion.
322
+ *
323
+ * The path variables **must not** capture the leading "/" character. The reason
324
+ * is that the most common use case "{var}" does not capture the leading "/"
325
+ * character. For consistency, all path variables must share the same behavior.
326
+ *
327
+ * Repeated message fields must not be mapped to URL query parameters, because
328
+ * no client library can support such complicated mapping.
329
+ *
330
+ * If an API needs to use a JSON array for request or response body, it can map
331
+ * the request or response body to a repeated field. However, some gRPC
332
+ * Transcoding implementations may not support this feature.
333
+ */
334
+ export interface HttpRule {
335
+ /**
336
+ * Selects a method to which this rule applies.
337
+ *
338
+ * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
339
+ */
340
+ selector: string;
341
+ /**
342
+ * Maps to HTTP GET. Used for listing and getting information about
343
+ * resources.
344
+ */
345
+ get?: string;
346
+ /** Maps to HTTP PUT. Used for replacing a resource. */
347
+ put?: string;
348
+ /** Maps to HTTP POST. Used for creating a resource or performing an action. */
349
+ post?: string;
350
+ /** Maps to HTTP DELETE. Used for deleting a resource. */
351
+ delete?: string;
352
+ /** Maps to HTTP PATCH. Used for updating a resource. */
353
+ patch?: string;
354
+ /**
355
+ * The custom pattern is used for specifying an HTTP method that is not
356
+ * included in the `pattern` field, such as HEAD, or "*" to leave the
357
+ * HTTP method unspecified for this rule. The wild-card rule is useful
358
+ * for services that provide content to Web (HTML) clients.
359
+ */
360
+ custom?: CustomHttpPattern;
361
+ /**
362
+ * The name of the request field whose value is mapped to the HTTP request
363
+ * body, or `*` for mapping all request fields not captured by the path
364
+ * pattern to the HTTP body, or omitted for not having any HTTP request body.
365
+ *
366
+ * NOTE: the referred field must be present at the top-level of the request
367
+ * message type.
368
+ */
369
+ body: string;
370
+ /**
371
+ * Optional. The name of the response field whose value is mapped to the HTTP
372
+ * response body. When omitted, the entire response message will be used
373
+ * as the HTTP response body.
374
+ *
375
+ * NOTE: The referred field must be present at the top-level of the response
376
+ * message type.
377
+ */
378
+ responseBody: string;
379
+ /**
380
+ * Additional HTTP bindings for the selector. Nested bindings must
381
+ * not contain an `additional_bindings` field themselves (that is,
382
+ * the nesting may only be one level deep).
383
+ */
384
+ additionalBindings: HttpRule[];
385
+ }
386
+ export interface HttpRuleProtoMsg {
387
+ typeUrl: "/google.api.HttpRule";
388
+ value: Uint8Array;
389
+ }
390
+ /**
391
+ * # gRPC Transcoding
392
+ *
393
+ * gRPC Transcoding is a feature for mapping between a gRPC method and one or
394
+ * more HTTP REST endpoints. It allows developers to build a single API service
395
+ * that supports both gRPC APIs and REST APIs. Many systems, including [Google
396
+ * APIs](https://github.com/googleapis/googleapis),
397
+ * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC
398
+ * Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
399
+ * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
400
+ * and use it for large scale production services.
401
+ *
402
+ * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
403
+ * how different portions of the gRPC request message are mapped to the URL
404
+ * path, URL query parameters, and HTTP request body. It also controls how the
405
+ * gRPC response message is mapped to the HTTP response body. `HttpRule` is
406
+ * typically specified as an `google.api.http` annotation on the gRPC method.
407
+ *
408
+ * Each mapping specifies a URL path template and an HTTP method. The path
409
+ * template may refer to one or more fields in the gRPC request message, as long
410
+ * as each field is a non-repeated field with a primitive (non-message) type.
411
+ * The path template controls how fields of the request message are mapped to
412
+ * the URL path.
413
+ *
414
+ * Example:
415
+ *
416
+ * service Messaging {
417
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
418
+ * option (google.api.http) = {
419
+ * get: "/v1/{name=messages/*}"
420
+ * };
421
+ * }
422
+ * }
423
+ * message GetMessageRequest {
424
+ * string name = 1; // Mapped to URL path.
425
+ * }
426
+ * message Message {
427
+ * string text = 1; // The resource content.
428
+ * }
429
+ *
430
+ * This enables an HTTP REST to gRPC mapping as below:
431
+ *
432
+ * HTTP | gRPC
433
+ * -----|-----
434
+ * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")`
435
+ *
436
+ * Any fields in the request message which are not bound by the path template
437
+ * automatically become HTTP query parameters if there is no HTTP request body.
438
+ * For example:
439
+ *
440
+ * service Messaging {
441
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
442
+ * option (google.api.http) = {
443
+ * get:"/v1/messages/{message_id}"
444
+ * };
445
+ * }
446
+ * }
447
+ * message GetMessageRequest {
448
+ * message SubMessage {
449
+ * string subfield = 1;
450
+ * }
451
+ * string message_id = 1; // Mapped to URL path.
452
+ * int64 revision = 2; // Mapped to URL query parameter `revision`.
453
+ * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.
454
+ * }
455
+ *
456
+ * This enables a HTTP JSON to RPC mapping as below:
457
+ *
458
+ * HTTP | gRPC
459
+ * -----|-----
460
+ * `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
461
+ * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
462
+ * "foo"))`
463
+ *
464
+ * Note that fields which are mapped to URL query parameters must have a
465
+ * primitive type or a repeated primitive type or a non-repeated message type.
466
+ * In the case of a repeated type, the parameter can be repeated in the URL
467
+ * as `...?param=A&param=B`. In the case of a message type, each field of the
468
+ * message is mapped to a separate parameter, such as
469
+ * `...?foo.a=A&foo.b=B&foo.c=C`.
470
+ *
471
+ * For HTTP methods that allow a request body, the `body` field
472
+ * specifies the mapping. Consider a REST update method on the
473
+ * message resource collection:
474
+ *
475
+ * service Messaging {
476
+ * rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
477
+ * option (google.api.http) = {
478
+ * patch: "/v1/messages/{message_id}"
479
+ * body: "message"
480
+ * };
481
+ * }
482
+ * }
483
+ * message UpdateMessageRequest {
484
+ * string message_id = 1; // mapped to the URL
485
+ * Message message = 2; // mapped to the body
486
+ * }
487
+ *
488
+ * The following HTTP JSON to RPC mapping is enabled, where the
489
+ * representation of the JSON in the request body is determined by
490
+ * protos JSON encoding:
491
+ *
492
+ * HTTP | gRPC
493
+ * -----|-----
494
+ * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
495
+ * "123456" message { text: "Hi!" })`
496
+ *
497
+ * The special name `*` can be used in the body mapping to define that
498
+ * every field not bound by the path template should be mapped to the
499
+ * request body. This enables the following alternative definition of
500
+ * the update method:
501
+ *
502
+ * service Messaging {
503
+ * rpc UpdateMessage(Message) returns (Message) {
504
+ * option (google.api.http) = {
505
+ * patch: "/v1/messages/{message_id}"
506
+ * body: "*"
507
+ * };
508
+ * }
509
+ * }
510
+ * message Message {
511
+ * string message_id = 1;
512
+ * string text = 2;
513
+ * }
514
+ *
515
+ *
516
+ * The following HTTP JSON to RPC mapping is enabled:
517
+ *
518
+ * HTTP | gRPC
519
+ * -----|-----
520
+ * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
521
+ * "123456" text: "Hi!")`
522
+ *
523
+ * Note that when using `*` in the body mapping, it is not possible to
524
+ * have HTTP parameters, as all fields not bound by the path end in
525
+ * the body. This makes this option more rarely used in practice when
526
+ * defining REST APIs. The common usage of `*` is in custom methods
527
+ * which don't use the URL at all for transferring data.
528
+ *
529
+ * It is possible to define multiple HTTP methods for one RPC by using
530
+ * the `additional_bindings` option. Example:
531
+ *
532
+ * service Messaging {
533
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
534
+ * option (google.api.http) = {
535
+ * get: "/v1/messages/{message_id}"
536
+ * additional_bindings {
537
+ * get: "/v1/users/{user_id}/messages/{message_id}"
538
+ * }
539
+ * };
540
+ * }
541
+ * }
542
+ * message GetMessageRequest {
543
+ * string message_id = 1;
544
+ * string user_id = 2;
545
+ * }
546
+ *
547
+ * This enables the following two alternative HTTP JSON to RPC mappings:
548
+ *
549
+ * HTTP | gRPC
550
+ * -----|-----
551
+ * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
552
+ * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
553
+ * "123456")`
554
+ *
555
+ * ## Rules for HTTP mapping
556
+ *
557
+ * 1. Leaf request fields (recursive expansion nested messages in the request
558
+ * message) are classified into three categories:
559
+ * - Fields referred by the path template. They are passed via the URL path.
560
+ * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP
561
+ * request body.
562
+ * - All other fields are passed via the URL query parameters, and the
563
+ * parameter name is the field path in the request message. A repeated
564
+ * field can be represented as multiple query parameters under the same
565
+ * name.
566
+ * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields
567
+ * are passed via URL path and HTTP request body.
568
+ * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all
569
+ * fields are passed via URL path and URL query parameters.
570
+ *
571
+ * ### Path template syntax
572
+ *
573
+ * Template = "/" Segments [ Verb ] ;
574
+ * Segments = Segment { "/" Segment } ;
575
+ * Segment = "*" | "**" | LITERAL | Variable ;
576
+ * Variable = "{" FieldPath [ "=" Segments ] "}" ;
577
+ * FieldPath = IDENT { "." IDENT } ;
578
+ * Verb = ":" LITERAL ;
579
+ *
580
+ * The syntax `*` matches a single URL path segment. The syntax `**` matches
581
+ * zero or more URL path segments, which must be the last part of the URL path
582
+ * except the `Verb`.
583
+ *
584
+ * The syntax `Variable` matches part of the URL path as specified by its
585
+ * template. A variable template must not contain other variables. If a variable
586
+ * matches a single path segment, its template may be omitted, e.g. `{var}`
587
+ * is equivalent to `{var=*}`.
588
+ *
589
+ * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
590
+ * contains any reserved character, such characters should be percent-encoded
591
+ * before the matching.
592
+ *
593
+ * If a variable contains exactly one path segment, such as `"{var}"` or
594
+ * `"{var=*}"`, when such a variable is expanded into a URL path on the client
595
+ * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
596
+ * server side does the reverse decoding. Such variables show up in the
597
+ * [Discovery
598
+ * Document](https://developers.google.com/discovery/v1/reference/apis) as
599
+ * `{var}`.
600
+ *
601
+ * If a variable contains multiple path segments, such as `"{var=foo/*}"`
602
+ * or `"{var=**}"`, when such a variable is expanded into a URL path on the
603
+ * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
604
+ * The server side does the reverse decoding, except "%2F" and "%2f" are left
605
+ * unchanged. Such variables show up in the
606
+ * [Discovery
607
+ * Document](https://developers.google.com/discovery/v1/reference/apis) as
608
+ * `{+var}`.
609
+ *
610
+ * ## Using gRPC API Service Configuration
611
+ *
612
+ * gRPC API Service Configuration (service config) is a configuration language
613
+ * for configuring a gRPC service to become a user-facing product. The
614
+ * service config is simply the YAML representation of the `google.api.Service`
615
+ * proto message.
616
+ *
617
+ * As an alternative to annotating your proto file, you can configure gRPC
618
+ * transcoding in your service config YAML files. You do this by specifying a
619
+ * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
620
+ * effect as the proto annotation. This can be particularly useful if you
621
+ * have a proto that is reused in multiple services. Note that any transcoding
622
+ * specified in the service config will override any matching transcoding
623
+ * configuration in the proto.
624
+ *
625
+ * Example:
626
+ *
627
+ * http:
628
+ * rules:
629
+ * # Selects a gRPC method and applies HttpRule to it.
630
+ * - selector: example.v1.Messaging.GetMessage
631
+ * get: /v1/messages/{message_id}/{sub.subfield}
632
+ *
633
+ * ## Special notes
634
+ *
635
+ * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
636
+ * proto to JSON conversion must follow the [proto3
637
+ * specification](https://developers.google.com/protocol-buffers/docs/proto3#json).
638
+ *
639
+ * While the single segment variable follows the semantics of
640
+ * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
641
+ * Expansion, the multi segment variable **does not** follow RFC 6570 Section
642
+ * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
643
+ * does not expand special characters like `?` and `#`, which would lead
644
+ * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
645
+ * for multi segment variables.
646
+ *
647
+ * The path variables **must not** refer to any repeated or mapped field,
648
+ * because client libraries are not capable of handling such variable expansion.
649
+ *
650
+ * The path variables **must not** capture the leading "/" character. The reason
651
+ * is that the most common use case "{var}" does not capture the leading "/"
652
+ * character. For consistency, all path variables must share the same behavior.
653
+ *
654
+ * Repeated message fields must not be mapped to URL query parameters, because
655
+ * no client library can support such complicated mapping.
656
+ *
657
+ * If an API needs to use a JSON array for request or response body, it can map
658
+ * the request or response body to a repeated field. However, some gRPC
659
+ * Transcoding implementations may not support this feature.
660
+ */
661
+ export interface HttpRuleAmino {
662
+ /**
663
+ * Selects a method to which this rule applies.
664
+ *
665
+ * Refer to [selector][google.api.DocumentationRule.selector] for syntax details.
666
+ */
667
+ selector?: string;
668
+ /**
669
+ * Maps to HTTP GET. Used for listing and getting information about
670
+ * resources.
671
+ */
672
+ get?: string;
673
+ /** Maps to HTTP PUT. Used for replacing a resource. */
674
+ put?: string;
675
+ /** Maps to HTTP POST. Used for creating a resource or performing an action. */
676
+ post?: string;
677
+ /** Maps to HTTP DELETE. Used for deleting a resource. */
678
+ delete?: string;
679
+ /** Maps to HTTP PATCH. Used for updating a resource. */
680
+ patch?: string;
681
+ /**
682
+ * The custom pattern is used for specifying an HTTP method that is not
683
+ * included in the `pattern` field, such as HEAD, or "*" to leave the
684
+ * HTTP method unspecified for this rule. The wild-card rule is useful
685
+ * for services that provide content to Web (HTML) clients.
686
+ */
687
+ custom?: CustomHttpPatternAmino;
688
+ /**
689
+ * The name of the request field whose value is mapped to the HTTP request
690
+ * body, or `*` for mapping all request fields not captured by the path
691
+ * pattern to the HTTP body, or omitted for not having any HTTP request body.
692
+ *
693
+ * NOTE: the referred field must be present at the top-level of the request
694
+ * message type.
695
+ */
696
+ body?: string;
697
+ /**
698
+ * Optional. The name of the response field whose value is mapped to the HTTP
699
+ * response body. When omitted, the entire response message will be used
700
+ * as the HTTP response body.
701
+ *
702
+ * NOTE: The referred field must be present at the top-level of the response
703
+ * message type.
704
+ */
705
+ response_body?: string;
706
+ /**
707
+ * Additional HTTP bindings for the selector. Nested bindings must
708
+ * not contain an `additional_bindings` field themselves (that is,
709
+ * the nesting may only be one level deep).
710
+ */
711
+ additional_bindings?: HttpRuleAmino[];
712
+ }
713
+ export interface HttpRuleAminoMsg {
714
+ type: "/google.api.HttpRule";
715
+ value: HttpRuleAmino;
716
+ }
717
+ /**
718
+ * # gRPC Transcoding
719
+ *
720
+ * gRPC Transcoding is a feature for mapping between a gRPC method and one or
721
+ * more HTTP REST endpoints. It allows developers to build a single API service
722
+ * that supports both gRPC APIs and REST APIs. Many systems, including [Google
723
+ * APIs](https://github.com/googleapis/googleapis),
724
+ * [Cloud Endpoints](https://cloud.google.com/endpoints), [gRPC
725
+ * Gateway](https://github.com/grpc-ecosystem/grpc-gateway),
726
+ * and [Envoy](https://github.com/envoyproxy/envoy) proxy support this feature
727
+ * and use it for large scale production services.
728
+ *
729
+ * `HttpRule` defines the schema of the gRPC/REST mapping. The mapping specifies
730
+ * how different portions of the gRPC request message are mapped to the URL
731
+ * path, URL query parameters, and HTTP request body. It also controls how the
732
+ * gRPC response message is mapped to the HTTP response body. `HttpRule` is
733
+ * typically specified as an `google.api.http` annotation on the gRPC method.
734
+ *
735
+ * Each mapping specifies a URL path template and an HTTP method. The path
736
+ * template may refer to one or more fields in the gRPC request message, as long
737
+ * as each field is a non-repeated field with a primitive (non-message) type.
738
+ * The path template controls how fields of the request message are mapped to
739
+ * the URL path.
740
+ *
741
+ * Example:
742
+ *
743
+ * service Messaging {
744
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
745
+ * option (google.api.http) = {
746
+ * get: "/v1/{name=messages/*}"
747
+ * };
748
+ * }
749
+ * }
750
+ * message GetMessageRequest {
751
+ * string name = 1; // Mapped to URL path.
752
+ * }
753
+ * message Message {
754
+ * string text = 1; // The resource content.
755
+ * }
756
+ *
757
+ * This enables an HTTP REST to gRPC mapping as below:
758
+ *
759
+ * HTTP | gRPC
760
+ * -----|-----
761
+ * `GET /v1/messages/123456` | `GetMessage(name: "messages/123456")`
762
+ *
763
+ * Any fields in the request message which are not bound by the path template
764
+ * automatically become HTTP query parameters if there is no HTTP request body.
765
+ * For example:
766
+ *
767
+ * service Messaging {
768
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
769
+ * option (google.api.http) = {
770
+ * get:"/v1/messages/{message_id}"
771
+ * };
772
+ * }
773
+ * }
774
+ * message GetMessageRequest {
775
+ * message SubMessage {
776
+ * string subfield = 1;
777
+ * }
778
+ * string message_id = 1; // Mapped to URL path.
779
+ * int64 revision = 2; // Mapped to URL query parameter `revision`.
780
+ * SubMessage sub = 3; // Mapped to URL query parameter `sub.subfield`.
781
+ * }
782
+ *
783
+ * This enables a HTTP JSON to RPC mapping as below:
784
+ *
785
+ * HTTP | gRPC
786
+ * -----|-----
787
+ * `GET /v1/messages/123456?revision=2&sub.subfield=foo` |
788
+ * `GetMessage(message_id: "123456" revision: 2 sub: SubMessage(subfield:
789
+ * "foo"))`
790
+ *
791
+ * Note that fields which are mapped to URL query parameters must have a
792
+ * primitive type or a repeated primitive type or a non-repeated message type.
793
+ * In the case of a repeated type, the parameter can be repeated in the URL
794
+ * as `...?param=A&param=B`. In the case of a message type, each field of the
795
+ * message is mapped to a separate parameter, such as
796
+ * `...?foo.a=A&foo.b=B&foo.c=C`.
797
+ *
798
+ * For HTTP methods that allow a request body, the `body` field
799
+ * specifies the mapping. Consider a REST update method on the
800
+ * message resource collection:
801
+ *
802
+ * service Messaging {
803
+ * rpc UpdateMessage(UpdateMessageRequest) returns (Message) {
804
+ * option (google.api.http) = {
805
+ * patch: "/v1/messages/{message_id}"
806
+ * body: "message"
807
+ * };
808
+ * }
809
+ * }
810
+ * message UpdateMessageRequest {
811
+ * string message_id = 1; // mapped to the URL
812
+ * Message message = 2; // mapped to the body
813
+ * }
814
+ *
815
+ * The following HTTP JSON to RPC mapping is enabled, where the
816
+ * representation of the JSON in the request body is determined by
817
+ * protos JSON encoding:
818
+ *
819
+ * HTTP | gRPC
820
+ * -----|-----
821
+ * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
822
+ * "123456" message { text: "Hi!" })`
823
+ *
824
+ * The special name `*` can be used in the body mapping to define that
825
+ * every field not bound by the path template should be mapped to the
826
+ * request body. This enables the following alternative definition of
827
+ * the update method:
828
+ *
829
+ * service Messaging {
830
+ * rpc UpdateMessage(Message) returns (Message) {
831
+ * option (google.api.http) = {
832
+ * patch: "/v1/messages/{message_id}"
833
+ * body: "*"
834
+ * };
835
+ * }
836
+ * }
837
+ * message Message {
838
+ * string message_id = 1;
839
+ * string text = 2;
840
+ * }
841
+ *
842
+ *
843
+ * The following HTTP JSON to RPC mapping is enabled:
844
+ *
845
+ * HTTP | gRPC
846
+ * -----|-----
847
+ * `PATCH /v1/messages/123456 { "text": "Hi!" }` | `UpdateMessage(message_id:
848
+ * "123456" text: "Hi!")`
849
+ *
850
+ * Note that when using `*` in the body mapping, it is not possible to
851
+ * have HTTP parameters, as all fields not bound by the path end in
852
+ * the body. This makes this option more rarely used in practice when
853
+ * defining REST APIs. The common usage of `*` is in custom methods
854
+ * which don't use the URL at all for transferring data.
855
+ *
856
+ * It is possible to define multiple HTTP methods for one RPC by using
857
+ * the `additional_bindings` option. Example:
858
+ *
859
+ * service Messaging {
860
+ * rpc GetMessage(GetMessageRequest) returns (Message) {
861
+ * option (google.api.http) = {
862
+ * get: "/v1/messages/{message_id}"
863
+ * additional_bindings {
864
+ * get: "/v1/users/{user_id}/messages/{message_id}"
865
+ * }
866
+ * };
867
+ * }
868
+ * }
869
+ * message GetMessageRequest {
870
+ * string message_id = 1;
871
+ * string user_id = 2;
872
+ * }
873
+ *
874
+ * This enables the following two alternative HTTP JSON to RPC mappings:
875
+ *
876
+ * HTTP | gRPC
877
+ * -----|-----
878
+ * `GET /v1/messages/123456` | `GetMessage(message_id: "123456")`
879
+ * `GET /v1/users/me/messages/123456` | `GetMessage(user_id: "me" message_id:
880
+ * "123456")`
881
+ *
882
+ * ## Rules for HTTP mapping
883
+ *
884
+ * 1. Leaf request fields (recursive expansion nested messages in the request
885
+ * message) are classified into three categories:
886
+ * - Fields referred by the path template. They are passed via the URL path.
887
+ * - Fields referred by the [HttpRule.body][google.api.HttpRule.body]. They are passed via the HTTP
888
+ * request body.
889
+ * - All other fields are passed via the URL query parameters, and the
890
+ * parameter name is the field path in the request message. A repeated
891
+ * field can be represented as multiple query parameters under the same
892
+ * name.
893
+ * 2. If [HttpRule.body][google.api.HttpRule.body] is "*", there is no URL query parameter, all fields
894
+ * are passed via URL path and HTTP request body.
895
+ * 3. If [HttpRule.body][google.api.HttpRule.body] is omitted, there is no HTTP request body, all
896
+ * fields are passed via URL path and URL query parameters.
897
+ *
898
+ * ### Path template syntax
899
+ *
900
+ * Template = "/" Segments [ Verb ] ;
901
+ * Segments = Segment { "/" Segment } ;
902
+ * Segment = "*" | "**" | LITERAL | Variable ;
903
+ * Variable = "{" FieldPath [ "=" Segments ] "}" ;
904
+ * FieldPath = IDENT { "." IDENT } ;
905
+ * Verb = ":" LITERAL ;
906
+ *
907
+ * The syntax `*` matches a single URL path segment. The syntax `**` matches
908
+ * zero or more URL path segments, which must be the last part of the URL path
909
+ * except the `Verb`.
910
+ *
911
+ * The syntax `Variable` matches part of the URL path as specified by its
912
+ * template. A variable template must not contain other variables. If a variable
913
+ * matches a single path segment, its template may be omitted, e.g. `{var}`
914
+ * is equivalent to `{var=*}`.
915
+ *
916
+ * The syntax `LITERAL` matches literal text in the URL path. If the `LITERAL`
917
+ * contains any reserved character, such characters should be percent-encoded
918
+ * before the matching.
919
+ *
920
+ * If a variable contains exactly one path segment, such as `"{var}"` or
921
+ * `"{var=*}"`, when such a variable is expanded into a URL path on the client
922
+ * side, all characters except `[-_.~0-9a-zA-Z]` are percent-encoded. The
923
+ * server side does the reverse decoding. Such variables show up in the
924
+ * [Discovery
925
+ * Document](https://developers.google.com/discovery/v1/reference/apis) as
926
+ * `{var}`.
927
+ *
928
+ * If a variable contains multiple path segments, such as `"{var=foo/*}"`
929
+ * or `"{var=**}"`, when such a variable is expanded into a URL path on the
930
+ * client side, all characters except `[-_.~/0-9a-zA-Z]` are percent-encoded.
931
+ * The server side does the reverse decoding, except "%2F" and "%2f" are left
932
+ * unchanged. Such variables show up in the
933
+ * [Discovery
934
+ * Document](https://developers.google.com/discovery/v1/reference/apis) as
935
+ * `{+var}`.
936
+ *
937
+ * ## Using gRPC API Service Configuration
938
+ *
939
+ * gRPC API Service Configuration (service config) is a configuration language
940
+ * for configuring a gRPC service to become a user-facing product. The
941
+ * service config is simply the YAML representation of the `google.api.Service`
942
+ * proto message.
943
+ *
944
+ * As an alternative to annotating your proto file, you can configure gRPC
945
+ * transcoding in your service config YAML files. You do this by specifying a
946
+ * `HttpRule` that maps the gRPC method to a REST endpoint, achieving the same
947
+ * effect as the proto annotation. This can be particularly useful if you
948
+ * have a proto that is reused in multiple services. Note that any transcoding
949
+ * specified in the service config will override any matching transcoding
950
+ * configuration in the proto.
951
+ *
952
+ * Example:
953
+ *
954
+ * http:
955
+ * rules:
956
+ * # Selects a gRPC method and applies HttpRule to it.
957
+ * - selector: example.v1.Messaging.GetMessage
958
+ * get: /v1/messages/{message_id}/{sub.subfield}
959
+ *
960
+ * ## Special notes
961
+ *
962
+ * When gRPC Transcoding is used to map a gRPC to JSON REST endpoints, the
963
+ * proto to JSON conversion must follow the [proto3
964
+ * specification](https://developers.google.com/protocol-buffers/docs/proto3#json).
965
+ *
966
+ * While the single segment variable follows the semantics of
967
+ * [RFC 6570](https://tools.ietf.org/html/rfc6570) Section 3.2.2 Simple String
968
+ * Expansion, the multi segment variable **does not** follow RFC 6570 Section
969
+ * 3.2.3 Reserved Expansion. The reason is that the Reserved Expansion
970
+ * does not expand special characters like `?` and `#`, which would lead
971
+ * to invalid URLs. As the result, gRPC Transcoding uses a custom encoding
972
+ * for multi segment variables.
973
+ *
974
+ * The path variables **must not** refer to any repeated or mapped field,
975
+ * because client libraries are not capable of handling such variable expansion.
976
+ *
977
+ * The path variables **must not** capture the leading "/" character. The reason
978
+ * is that the most common use case "{var}" does not capture the leading "/"
979
+ * character. For consistency, all path variables must share the same behavior.
980
+ *
981
+ * Repeated message fields must not be mapped to URL query parameters, because
982
+ * no client library can support such complicated mapping.
983
+ *
984
+ * If an API needs to use a JSON array for request or response body, it can map
985
+ * the request or response body to a repeated field. However, some gRPC
986
+ * Transcoding implementations may not support this feature.
987
+ */
988
+ export interface HttpRuleSDKType {
989
+ selector: string;
990
+ get?: string;
991
+ put?: string;
992
+ post?: string;
993
+ delete?: string;
994
+ patch?: string;
995
+ custom?: CustomHttpPatternSDKType;
996
+ body: string;
997
+ response_body: string;
998
+ additional_bindings: HttpRuleSDKType[];
999
+ }
1000
+ /** A custom pattern is used for defining custom HTTP verb. */
1001
+ export interface CustomHttpPattern {
1002
+ /** The name of this custom HTTP verb. */
1003
+ kind: string;
1004
+ /** The path matched by this custom verb. */
1005
+ path: string;
1006
+ }
1007
+ export interface CustomHttpPatternProtoMsg {
1008
+ typeUrl: "/google.api.CustomHttpPattern";
1009
+ value: Uint8Array;
1010
+ }
1011
+ /** A custom pattern is used for defining custom HTTP verb. */
1012
+ export interface CustomHttpPatternAmino {
1013
+ /** The name of this custom HTTP verb. */
1014
+ kind?: string;
1015
+ /** The path matched by this custom verb. */
1016
+ path?: string;
1017
+ }
1018
+ export interface CustomHttpPatternAminoMsg {
1019
+ type: "/google.api.CustomHttpPattern";
1020
+ value: CustomHttpPatternAmino;
1021
+ }
1022
+ /** A custom pattern is used for defining custom HTTP verb. */
1023
+ export interface CustomHttpPatternSDKType {
1024
+ kind: string;
1025
+ path: string;
1026
+ }
1027
+ function createBaseHttp(): Http {
1028
+ return {
1029
+ rules: [],
1030
+ fullyDecodeReservedExpansion: false
1031
+ };
1032
+ }
1033
+ export const Http = {
1034
+ typeUrl: "/google.api.Http",
1035
+ encode(message: Http, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1036
+ for (const v of message.rules) {
1037
+ HttpRule.encode(v!, writer.uint32(10).fork()).ldelim();
1038
+ }
1039
+ if (message.fullyDecodeReservedExpansion === true) {
1040
+ writer.uint32(16).bool(message.fullyDecodeReservedExpansion);
1041
+ }
1042
+ return writer;
1043
+ },
1044
+ decode(input: BinaryReader | Uint8Array, length?: number): Http {
1045
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1046
+ let end = length === undefined ? reader.len : reader.pos + length;
1047
+ const message = createBaseHttp();
1048
+ while (reader.pos < end) {
1049
+ const tag = reader.uint32();
1050
+ switch (tag >>> 3) {
1051
+ case 1:
1052
+ message.rules.push(HttpRule.decode(reader, reader.uint32()));
1053
+ break;
1054
+ case 2:
1055
+ message.fullyDecodeReservedExpansion = reader.bool();
1056
+ break;
1057
+ default:
1058
+ reader.skipType(tag & 7);
1059
+ break;
1060
+ }
1061
+ }
1062
+ return message;
1063
+ },
1064
+ fromPartial(object: Partial<Http>): Http {
1065
+ const message = createBaseHttp();
1066
+ message.rules = object.rules?.map(e => HttpRule.fromPartial(e)) || [];
1067
+ message.fullyDecodeReservedExpansion = object.fullyDecodeReservedExpansion ?? false;
1068
+ return message;
1069
+ },
1070
+ fromAmino(object: HttpAmino): Http {
1071
+ const message = createBaseHttp();
1072
+ message.rules = object.rules?.map(e => HttpRule.fromAmino(e)) || [];
1073
+ if (object.fully_decode_reserved_expansion !== undefined && object.fully_decode_reserved_expansion !== null) {
1074
+ message.fullyDecodeReservedExpansion = object.fully_decode_reserved_expansion;
1075
+ }
1076
+ return message;
1077
+ },
1078
+ toAmino(message: Http): HttpAmino {
1079
+ const obj: any = {};
1080
+ if (message.rules) {
1081
+ obj.rules = message.rules.map(e => e ? HttpRule.toAmino(e) : undefined);
1082
+ } else {
1083
+ obj.rules = [];
1084
+ }
1085
+ obj.fully_decode_reserved_expansion = message.fullyDecodeReservedExpansion;
1086
+ return obj;
1087
+ },
1088
+ fromAminoMsg(object: HttpAminoMsg): Http {
1089
+ return Http.fromAmino(object.value);
1090
+ },
1091
+ fromProtoMsg(message: HttpProtoMsg): Http {
1092
+ return Http.decode(message.value);
1093
+ },
1094
+ toProto(message: Http): Uint8Array {
1095
+ return Http.encode(message).finish();
1096
+ },
1097
+ toProtoMsg(message: Http): HttpProtoMsg {
1098
+ return {
1099
+ typeUrl: "/google.api.Http",
1100
+ value: Http.encode(message).finish()
1101
+ };
1102
+ }
1103
+ };
1104
+ function createBaseHttpRule(): HttpRule {
1105
+ return {
1106
+ selector: "",
1107
+ get: undefined,
1108
+ put: undefined,
1109
+ post: undefined,
1110
+ delete: undefined,
1111
+ patch: undefined,
1112
+ custom: undefined,
1113
+ body: "",
1114
+ responseBody: "",
1115
+ additionalBindings: []
1116
+ };
1117
+ }
1118
+ export const HttpRule = {
1119
+ typeUrl: "/google.api.HttpRule",
1120
+ encode(message: HttpRule, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1121
+ if (message.selector !== "") {
1122
+ writer.uint32(10).string(message.selector);
1123
+ }
1124
+ if (message.get !== undefined) {
1125
+ writer.uint32(18).string(message.get);
1126
+ }
1127
+ if (message.put !== undefined) {
1128
+ writer.uint32(26).string(message.put);
1129
+ }
1130
+ if (message.post !== undefined) {
1131
+ writer.uint32(34).string(message.post);
1132
+ }
1133
+ if (message.delete !== undefined) {
1134
+ writer.uint32(42).string(message.delete);
1135
+ }
1136
+ if (message.patch !== undefined) {
1137
+ writer.uint32(50).string(message.patch);
1138
+ }
1139
+ if (message.custom !== undefined) {
1140
+ CustomHttpPattern.encode(message.custom, writer.uint32(66).fork()).ldelim();
1141
+ }
1142
+ if (message.body !== "") {
1143
+ writer.uint32(58).string(message.body);
1144
+ }
1145
+ if (message.responseBody !== "") {
1146
+ writer.uint32(98).string(message.responseBody);
1147
+ }
1148
+ for (const v of message.additionalBindings) {
1149
+ HttpRule.encode(v!, writer.uint32(90).fork()).ldelim();
1150
+ }
1151
+ return writer;
1152
+ },
1153
+ decode(input: BinaryReader | Uint8Array, length?: number): HttpRule {
1154
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1155
+ let end = length === undefined ? reader.len : reader.pos + length;
1156
+ const message = createBaseHttpRule();
1157
+ while (reader.pos < end) {
1158
+ const tag = reader.uint32();
1159
+ switch (tag >>> 3) {
1160
+ case 1:
1161
+ message.selector = reader.string();
1162
+ break;
1163
+ case 2:
1164
+ message.get = reader.string();
1165
+ break;
1166
+ case 3:
1167
+ message.put = reader.string();
1168
+ break;
1169
+ case 4:
1170
+ message.post = reader.string();
1171
+ break;
1172
+ case 5:
1173
+ message.delete = reader.string();
1174
+ break;
1175
+ case 6:
1176
+ message.patch = reader.string();
1177
+ break;
1178
+ case 8:
1179
+ message.custom = CustomHttpPattern.decode(reader, reader.uint32());
1180
+ break;
1181
+ case 7:
1182
+ message.body = reader.string();
1183
+ break;
1184
+ case 12:
1185
+ message.responseBody = reader.string();
1186
+ break;
1187
+ case 11:
1188
+ message.additionalBindings.push(HttpRule.decode(reader, reader.uint32()));
1189
+ break;
1190
+ default:
1191
+ reader.skipType(tag & 7);
1192
+ break;
1193
+ }
1194
+ }
1195
+ return message;
1196
+ },
1197
+ fromPartial(object: Partial<HttpRule>): HttpRule {
1198
+ const message = createBaseHttpRule();
1199
+ message.selector = object.selector ?? "";
1200
+ message.get = object.get ?? undefined;
1201
+ message.put = object.put ?? undefined;
1202
+ message.post = object.post ?? undefined;
1203
+ message.delete = object.delete ?? undefined;
1204
+ message.patch = object.patch ?? undefined;
1205
+ message.custom = object.custom !== undefined && object.custom !== null ? CustomHttpPattern.fromPartial(object.custom) : undefined;
1206
+ message.body = object.body ?? "";
1207
+ message.responseBody = object.responseBody ?? "";
1208
+ message.additionalBindings = object.additionalBindings?.map(e => HttpRule.fromPartial(e)) || [];
1209
+ return message;
1210
+ },
1211
+ fromAmino(object: HttpRuleAmino): HttpRule {
1212
+ const message = createBaseHttpRule();
1213
+ if (object.selector !== undefined && object.selector !== null) {
1214
+ message.selector = object.selector;
1215
+ }
1216
+ if (object.get !== undefined && object.get !== null) {
1217
+ message.get = object.get;
1218
+ }
1219
+ if (object.put !== undefined && object.put !== null) {
1220
+ message.put = object.put;
1221
+ }
1222
+ if (object.post !== undefined && object.post !== null) {
1223
+ message.post = object.post;
1224
+ }
1225
+ if (object.delete !== undefined && object.delete !== null) {
1226
+ message.delete = object.delete;
1227
+ }
1228
+ if (object.patch !== undefined && object.patch !== null) {
1229
+ message.patch = object.patch;
1230
+ }
1231
+ if (object.custom !== undefined && object.custom !== null) {
1232
+ message.custom = CustomHttpPattern.fromAmino(object.custom);
1233
+ }
1234
+ if (object.body !== undefined && object.body !== null) {
1235
+ message.body = object.body;
1236
+ }
1237
+ if (object.response_body !== undefined && object.response_body !== null) {
1238
+ message.responseBody = object.response_body;
1239
+ }
1240
+ message.additionalBindings = object.additional_bindings?.map(e => HttpRule.fromAmino(e)) || [];
1241
+ return message;
1242
+ },
1243
+ toAmino(message: HttpRule): HttpRuleAmino {
1244
+ const obj: any = {};
1245
+ obj.selector = message.selector;
1246
+ obj.get = message.get;
1247
+ obj.put = message.put;
1248
+ obj.post = message.post;
1249
+ obj.delete = message.delete;
1250
+ obj.patch = message.patch;
1251
+ obj.custom = message.custom ? CustomHttpPattern.toAmino(message.custom) : undefined;
1252
+ obj.body = message.body;
1253
+ obj.response_body = message.responseBody;
1254
+ if (message.additionalBindings) {
1255
+ obj.additional_bindings = message.additionalBindings.map(e => e ? HttpRule.toAmino(e) : undefined);
1256
+ } else {
1257
+ obj.additional_bindings = [];
1258
+ }
1259
+ return obj;
1260
+ },
1261
+ fromAminoMsg(object: HttpRuleAminoMsg): HttpRule {
1262
+ return HttpRule.fromAmino(object.value);
1263
+ },
1264
+ fromProtoMsg(message: HttpRuleProtoMsg): HttpRule {
1265
+ return HttpRule.decode(message.value);
1266
+ },
1267
+ toProto(message: HttpRule): Uint8Array {
1268
+ return HttpRule.encode(message).finish();
1269
+ },
1270
+ toProtoMsg(message: HttpRule): HttpRuleProtoMsg {
1271
+ return {
1272
+ typeUrl: "/google.api.HttpRule",
1273
+ value: HttpRule.encode(message).finish()
1274
+ };
1275
+ }
1276
+ };
1277
+ function createBaseCustomHttpPattern(): CustomHttpPattern {
1278
+ return {
1279
+ kind: "",
1280
+ path: ""
1281
+ };
1282
+ }
1283
+ export const CustomHttpPattern = {
1284
+ typeUrl: "/google.api.CustomHttpPattern",
1285
+ encode(message: CustomHttpPattern, writer: BinaryWriter = BinaryWriter.create()): BinaryWriter {
1286
+ if (message.kind !== "") {
1287
+ writer.uint32(10).string(message.kind);
1288
+ }
1289
+ if (message.path !== "") {
1290
+ writer.uint32(18).string(message.path);
1291
+ }
1292
+ return writer;
1293
+ },
1294
+ decode(input: BinaryReader | Uint8Array, length?: number): CustomHttpPattern {
1295
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
1296
+ let end = length === undefined ? reader.len : reader.pos + length;
1297
+ const message = createBaseCustomHttpPattern();
1298
+ while (reader.pos < end) {
1299
+ const tag = reader.uint32();
1300
+ switch (tag >>> 3) {
1301
+ case 1:
1302
+ message.kind = reader.string();
1303
+ break;
1304
+ case 2:
1305
+ message.path = reader.string();
1306
+ break;
1307
+ default:
1308
+ reader.skipType(tag & 7);
1309
+ break;
1310
+ }
1311
+ }
1312
+ return message;
1313
+ },
1314
+ fromPartial(object: Partial<CustomHttpPattern>): CustomHttpPattern {
1315
+ const message = createBaseCustomHttpPattern();
1316
+ message.kind = object.kind ?? "";
1317
+ message.path = object.path ?? "";
1318
+ return message;
1319
+ },
1320
+ fromAmino(object: CustomHttpPatternAmino): CustomHttpPattern {
1321
+ const message = createBaseCustomHttpPattern();
1322
+ if (object.kind !== undefined && object.kind !== null) {
1323
+ message.kind = object.kind;
1324
+ }
1325
+ if (object.path !== undefined && object.path !== null) {
1326
+ message.path = object.path;
1327
+ }
1328
+ return message;
1329
+ },
1330
+ toAmino(message: CustomHttpPattern): CustomHttpPatternAmino {
1331
+ const obj: any = {};
1332
+ obj.kind = message.kind;
1333
+ obj.path = message.path;
1334
+ return obj;
1335
+ },
1336
+ fromAminoMsg(object: CustomHttpPatternAminoMsg): CustomHttpPattern {
1337
+ return CustomHttpPattern.fromAmino(object.value);
1338
+ },
1339
+ fromProtoMsg(message: CustomHttpPatternProtoMsg): CustomHttpPattern {
1340
+ return CustomHttpPattern.decode(message.value);
1341
+ },
1342
+ toProto(message: CustomHttpPattern): Uint8Array {
1343
+ return CustomHttpPattern.encode(message).finish();
1344
+ },
1345
+ toProtoMsg(message: CustomHttpPattern): CustomHttpPatternProtoMsg {
1346
+ return {
1347
+ typeUrl: "/google.api.CustomHttpPattern",
1348
+ value: CustomHttpPattern.encode(message).finish()
1349
+ };
1350
+ }
1351
+ };