juno-network 0.14.0 → 0.15.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (365) hide show
  1. package/main/codegen/confio/proofs.js +29 -3
  2. package/main/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
  3. package/main/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
  4. package/main/codegen/cosmos/bundle.js +47 -47
  5. package/main/codegen/cosmos/gov/v1/genesis.js +1 -1
  6. package/main/codegen/cosmos/gov/v1/gov.js +21 -4
  7. package/main/codegen/cosmos/gov/v1/query.js +1 -1
  8. package/main/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
  9. package/main/codegen/cosmos/gov/v1beta1/gov.js +21 -4
  10. package/main/codegen/cosmos/gov/v1beta1/query.js +1 -1
  11. package/main/codegen/cosmos/staking/v1beta1/authz.js +13 -2
  12. package/main/codegen/cosmos/staking/v1beta1/staking.js +9 -2
  13. package/main/codegen/cosmos/tx/signing/v1beta1/signing.js +19 -2
  14. package/main/codegen/cosmos/tx/v1beta1/service.js +17 -4
  15. package/main/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
  16. package/main/codegen/cosmos_proto/cosmos.js +7 -1
  17. package/main/codegen/cosmwasm/bundle.js +10 -10
  18. package/main/codegen/cosmwasm/wasm/v1/ibc.js +1 -1
  19. package/main/codegen/cosmwasm/wasm/v1/types.js +19 -4
  20. package/main/codegen/gaia/bundle.js +28 -0
  21. package/main/codegen/gaia/globalfee/v1beta1/genesis.js +100 -0
  22. package/main/codegen/gaia/globalfee/v1beta1/query.js +91 -0
  23. package/main/codegen/gaia/globalfee/v1beta1/query.lcd.js +54 -0
  24. package/main/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +47 -0
  25. package/main/codegen/gaia/lcd.js +167 -0
  26. package/main/codegen/gaia/rpc.query.js +134 -0
  27. package/main/codegen/gogoproto/bundle.js +2 -2
  28. package/main/codegen/google/bundle.js +6 -6
  29. package/main/codegen/google/protobuf/descriptor.js +63 -8
  30. package/main/codegen/google/protobuf/duration.js +1 -1
  31. package/main/codegen/google/protobuf/timestamp.js +1 -1
  32. package/main/codegen/helpers.js +1 -1
  33. package/main/codegen/ibc/applications/transfer/v1/tx.js +1 -1
  34. package/main/codegen/ibc/bundle.js +56 -56
  35. package/main/codegen/ibc/core/channel/v1/channel.js +21 -4
  36. package/main/codegen/ibc/core/channel/v1/genesis.js +1 -1
  37. package/main/codegen/ibc/core/client/v1/genesis.js +1 -1
  38. package/main/codegen/ibc/core/connection/v1/connection.js +13 -3
  39. package/main/codegen/ibc/core/connection/v1/genesis.js +1 -1
  40. package/main/codegen/ibc/core/connection/v1/tx.js +1 -1
  41. package/main/codegen/ibc/lightclients/solomachine/v1/solomachine.js +19 -3
  42. package/main/codegen/ibc/lightclients/solomachine/v2/solomachine.js +19 -3
  43. package/main/codegen/index.js +30 -19
  44. package/main/codegen/juno/bundle.js +20 -20
  45. package/main/codegen/juno/mint/mint.js +1 -1
  46. package/main/codegen/osmosis/bundle.js +15 -15
  47. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +49 -8
  48. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.js +112 -6
  49. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +19 -1
  50. package/main/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +10 -0
  51. package/main/codegen/router/bundle.js +8 -8
  52. package/main/codegen/tendermint/abci/types.js +33 -4
  53. package/main/codegen/tendermint/bundle.js +17 -17
  54. package/main/codegen/tendermint/crypto/proof.js +1 -1
  55. package/main/codegen/tendermint/libs/bits/types.js +1 -1
  56. package/main/codegen/tendermint/p2p/types.js +1 -1
  57. package/main/codegen/tendermint/types/types.js +18 -4
  58. package/main/codegen/tendermint/types/validator.js +1 -1
  59. package/main/codegen/tendermint/version/types.js +1 -1
  60. package/module/codegen/confio/proofs.js +29 -2
  61. package/module/codegen/cosmos/base/abci/v1beta1/abci.js +1 -1
  62. package/module/codegen/cosmos/base/query/v1beta1/pagination.js +1 -1
  63. package/module/codegen/cosmos/bundle.js +47 -47
  64. package/module/codegen/cosmos/gov/v1/genesis.js +1 -1
  65. package/module/codegen/cosmos/gov/v1/gov.js +21 -2
  66. package/module/codegen/cosmos/gov/v1/query.js +1 -1
  67. package/module/codegen/cosmos/gov/v1beta1/genesis.js +1 -1
  68. package/module/codegen/cosmos/gov/v1beta1/gov.js +21 -2
  69. package/module/codegen/cosmos/gov/v1beta1/query.js +1 -1
  70. package/module/codegen/cosmos/staking/v1beta1/authz.js +13 -1
  71. package/module/codegen/cosmos/staking/v1beta1/staking.js +9 -1
  72. package/module/codegen/cosmos/tx/signing/v1beta1/signing.js +19 -1
  73. package/module/codegen/cosmos/tx/v1beta1/service.js +17 -2
  74. package/module/codegen/cosmos/upgrade/v1beta1/upgrade.js +1 -1
  75. package/module/codegen/cosmos_proto/cosmos.js +7 -1
  76. package/module/codegen/cosmwasm/bundle.js +10 -10
  77. package/module/codegen/cosmwasm/wasm/v1/ibc.js +1 -1
  78. package/module/codegen/cosmwasm/wasm/v1/types.js +19 -2
  79. package/module/codegen/gaia/bundle.js +17 -0
  80. package/module/codegen/gaia/globalfee/v1beta1/genesis.js +73 -0
  81. package/module/codegen/gaia/globalfee/v1beta1/query.js +64 -0
  82. package/module/codegen/gaia/globalfee/v1beta1/query.lcd.js +16 -0
  83. package/module/codegen/gaia/globalfee/v1beta1/query.rpc.Query.js +27 -0
  84. package/module/codegen/gaia/lcd.js +57 -0
  85. package/module/codegen/gaia/rpc.query.js +39 -0
  86. package/module/codegen/gogoproto/bundle.js +2 -2
  87. package/module/codegen/google/bundle.js +6 -6
  88. package/module/codegen/google/protobuf/descriptor.js +63 -6
  89. package/module/codegen/google/protobuf/duration.js +1 -1
  90. package/module/codegen/google/protobuf/timestamp.js +1 -1
  91. package/module/codegen/helpers.js +1 -1
  92. package/module/codegen/ibc/applications/transfer/v1/tx.js +1 -1
  93. package/module/codegen/ibc/bundle.js +56 -56
  94. package/module/codegen/ibc/core/channel/v1/channel.js +21 -2
  95. package/module/codegen/ibc/core/channel/v1/genesis.js +1 -1
  96. package/module/codegen/ibc/core/client/v1/genesis.js +1 -1
  97. package/module/codegen/ibc/core/connection/v1/connection.js +13 -2
  98. package/module/codegen/ibc/core/connection/v1/genesis.js +1 -1
  99. package/module/codegen/ibc/core/connection/v1/tx.js +1 -1
  100. package/module/codegen/ibc/lightclients/solomachine/v1/solomachine.js +19 -2
  101. package/module/codegen/ibc/lightclients/solomachine/v2/solomachine.js +19 -2
  102. package/module/codegen/index.js +2 -1
  103. package/module/codegen/juno/bundle.js +20 -20
  104. package/module/codegen/juno/mint/mint.js +1 -1
  105. package/module/codegen/osmosis/bundle.js +15 -15
  106. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.amino.js +51 -8
  107. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.js +106 -4
  108. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.registry.js +20 -2
  109. package/module/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.js +7 -1
  110. package/module/codegen/router/bundle.js +8 -8
  111. package/module/codegen/tendermint/abci/types.js +33 -4
  112. package/module/codegen/tendermint/bundle.js +17 -17
  113. package/module/codegen/tendermint/crypto/proof.js +1 -1
  114. package/module/codegen/tendermint/libs/bits/types.js +1 -1
  115. package/module/codegen/tendermint/p2p/types.js +1 -1
  116. package/module/codegen/tendermint/types/evidence.js +1 -1
  117. package/module/codegen/tendermint/types/types.js +19 -3
  118. package/module/codegen/tendermint/types/validator.js +1 -1
  119. package/module/codegen/tendermint/version/types.js +1 -1
  120. package/package.json +2 -2
  121. package/src/codegen/confio/proofs.ts +80 -8
  122. package/src/codegen/cosmos/authz/v1beta1/authz.ts +8 -0
  123. package/src/codegen/cosmos/authz/v1beta1/event.ts +10 -0
  124. package/src/codegen/cosmos/authz/v1beta1/query.ts +17 -0
  125. package/src/codegen/cosmos/authz/v1beta1/tx.ts +6 -0
  126. package/src/codegen/cosmos/bank/v1beta1/bank.ts +46 -0
  127. package/src/codegen/cosmos/bank/v1beta1/genesis.ts +13 -0
  128. package/src/codegen/cosmos/bank/v1beta1/query.ts +44 -0
  129. package/src/codegen/cosmos/bank/v1beta1/tx.amino.ts +6 -6
  130. package/src/codegen/cosmos/base/abci/v1beta1/abci.ts +87 -1
  131. package/src/codegen/cosmos/base/query/v1beta1/pagination.ts +40 -1
  132. package/src/codegen/cosmos/base/reflection/v2alpha1/reflection.ts +78 -0
  133. package/src/codegen/cosmos/bundle.ts +76 -76
  134. package/src/codegen/cosmos/crypto/hd/v1/hd.ts +12 -0
  135. package/src/codegen/cosmos/crypto/keyring/v1/record.ts +11 -0
  136. package/src/codegen/cosmos/crypto/secp256r1/keys.ts +5 -0
  137. package/src/codegen/cosmos/distribution/v1beta1/genesis.ts +48 -0
  138. package/src/codegen/cosmos/distribution/v1beta1/query.ts +27 -0
  139. package/src/codegen/cosmos/distribution/v1beta1/tx.amino.ts +12 -12
  140. package/src/codegen/cosmos/gov/v1/genesis.ts +14 -1
  141. package/src/codegen/cosmos/gov/v1/gov.ts +86 -4
  142. package/src/codegen/cosmos/gov/v1/query.ts +43 -3
  143. package/src/codegen/cosmos/gov/v1/tx.amino.ts +15 -15
  144. package/src/codegen/cosmos/gov/v1/tx.ts +7 -2
  145. package/src/codegen/cosmos/gov/v1beta1/genesis.ts +14 -1
  146. package/src/codegen/cosmos/gov/v1beta1/gov.ts +91 -5
  147. package/src/codegen/cosmos/gov/v1beta1/query.ts +43 -3
  148. package/src/codegen/cosmos/gov/v1beta1/tx.amino.ts +12 -12
  149. package/src/codegen/cosmos/gov/v1beta1/tx.ts +2 -2
  150. package/src/codegen/cosmos/staking/v1beta1/authz.ts +34 -2
  151. package/src/codegen/cosmos/staking/v1beta1/genesis.ts +22 -0
  152. package/src/codegen/cosmos/staking/v1beta1/query.ts +60 -0
  153. package/src/codegen/cosmos/staking/v1beta1/staking.ts +97 -2
  154. package/src/codegen/cosmos/staking/v1beta1/tx.amino.ts +15 -15
  155. package/src/codegen/cosmos/staking/v1beta1/tx.ts +7 -0
  156. package/src/codegen/cosmos/tx/signing/v1beta1/signing.ts +66 -2
  157. package/src/codegen/cosmos/tx/v1beta1/service.ts +74 -4
  158. package/src/codegen/cosmos/tx/v1beta1/tx.ts +181 -3
  159. package/src/codegen/cosmos/upgrade/v1beta1/query.ts +14 -0
  160. package/src/codegen/cosmos/upgrade/v1beta1/tx.amino.ts +6 -6
  161. package/src/codegen/cosmos/upgrade/v1beta1/tx.ts +4 -0
  162. package/src/codegen/cosmos/upgrade/v1beta1/upgrade.ts +35 -1
  163. package/src/codegen/cosmos_proto/cosmos.ts +37 -2
  164. package/src/codegen/cosmwasm/bundle.ts +14 -14
  165. package/src/codegen/cosmwasm/wasm/v1/authz.ts +21 -0
  166. package/src/codegen/cosmwasm/wasm/v1/genesis.ts +2 -0
  167. package/src/codegen/cosmwasm/wasm/v1/ibc.ts +17 -1
  168. package/src/codegen/cosmwasm/wasm/v1/proposal.ts +129 -0
  169. package/src/codegen/cosmwasm/wasm/v1/query.ts +39 -0
  170. package/src/codegen/cosmwasm/wasm/v1/tx.amino.ts +21 -21
  171. package/src/codegen/cosmwasm/wasm/v1/tx.ts +73 -0
  172. package/src/codegen/cosmwasm/wasm/v1/types.ts +79 -6
  173. package/src/codegen/gaia/bundle.ts +18 -0
  174. package/src/codegen/gaia/globalfee/v1beta1/genesis.ts +129 -0
  175. package/src/codegen/gaia/globalfee/v1beta1/query.lcd.ts +22 -0
  176. package/src/codegen/gaia/globalfee/v1beta1/query.rpc.Query.ts +34 -0
  177. package/src/codegen/gaia/globalfee/v1beta1/query.ts +110 -0
  178. package/src/codegen/gaia/lcd.ts +59 -0
  179. package/src/codegen/gaia/rpc.query.ts +41 -0
  180. package/src/codegen/gogoproto/bundle.ts +2 -2
  181. package/src/codegen/google/bundle.ts +9 -9
  182. package/src/codegen/google/protobuf/any.ts +31 -0
  183. package/src/codegen/google/protobuf/descriptor.ts +641 -15
  184. package/src/codegen/google/protobuf/duration.ts +15 -1
  185. package/src/codegen/google/protobuf/timestamp.ts +13 -1
  186. package/src/codegen/helpers.ts +1 -1
  187. package/src/codegen/ibc/applications/transfer/v1/query.ts +7 -0
  188. package/src/codegen/ibc/applications/transfer/v1/transfer.ts +15 -0
  189. package/src/codegen/ibc/applications/transfer/v1/tx.amino.ts +3 -3
  190. package/src/codegen/ibc/applications/transfer/v1/tx.ts +20 -1
  191. package/src/codegen/ibc/applications/transfer/v2/packet.ts +7 -0
  192. package/src/codegen/ibc/bundle.ts +74 -74
  193. package/src/codegen/ibc/core/channel/v1/channel.ts +105 -6
  194. package/src/codegen/ibc/core/channel/v1/genesis.ts +3 -1
  195. package/src/codegen/ibc/core/channel/v1/query.ts +118 -0
  196. package/src/codegen/ibc/core/channel/v1/tx.amino.ts +30 -30
  197. package/src/codegen/ibc/core/channel/v1/tx.ts +5 -0
  198. package/src/codegen/ibc/core/client/v1/client.ts +32 -0
  199. package/src/codegen/ibc/core/client/v1/genesis.ts +13 -1
  200. package/src/codegen/ibc/core/client/v1/query.ts +35 -0
  201. package/src/codegen/ibc/core/client/v1/tx.amino.ts +12 -12
  202. package/src/codegen/ibc/core/client/v1/tx.ts +32 -0
  203. package/src/codegen/ibc/core/connection/v1/connection.ts +78 -4
  204. package/src/codegen/ibc/core/connection/v1/genesis.ts +3 -1
  205. package/src/codegen/ibc/core/connection/v1/query.ts +31 -0
  206. package/src/codegen/ibc/core/connection/v1/tx.amino.ts +12 -12
  207. package/src/codegen/ibc/core/connection/v1/tx.ts +26 -1
  208. package/src/codegen/ibc/lightclients/localhost/v1/localhost.ts +3 -0
  209. package/src/codegen/ibc/lightclients/solomachine/v1/solomachine.ts +63 -4
  210. package/src/codegen/ibc/lightclients/solomachine/v2/solomachine.ts +63 -4
  211. package/src/codegen/ibc/lightclients/tendermint/v1/tendermint.ts +41 -0
  212. package/src/codegen/index.ts +2 -1
  213. package/src/codegen/juno/bundle.ts +32 -32
  214. package/src/codegen/juno/feeshare/v1/feeshare.ts +14 -0
  215. package/src/codegen/juno/feeshare/v1/genesis.ts +16 -0
  216. package/src/codegen/juno/feeshare/v1/query.ts +25 -0
  217. package/src/codegen/juno/feeshare/v1/tx.amino.ts +9 -9
  218. package/src/codegen/juno/feeshare/v1/tx.ts +28 -0
  219. package/src/codegen/juno/mint/genesis.ts +3 -0
  220. package/src/codegen/juno/mint/mint.ts +7 -1
  221. package/src/codegen/juno/mint/query.ts +3 -0
  222. package/src/codegen/osmosis/bundle.ts +24 -24
  223. package/src/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.ts +1 -0
  224. package/src/codegen/osmosis/tokenfactory/v1beta1/genesis.ts +1 -0
  225. package/src/codegen/osmosis/tokenfactory/v1beta1/query.ts +1 -0
  226. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.amino.ts +81 -24
  227. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.registry.ts +23 -2
  228. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.ts +9 -1
  229. package/src/codegen/osmosis/tokenfactory/v1beta1/tx.ts +151 -2
  230. package/src/codegen/router/bundle.ts +12 -12
  231. package/src/codegen/router/v1/genesis.ts +7 -0
  232. package/src/codegen/router/v1/query.ts +1 -0
  233. package/src/codegen/tendermint/abci/types.ts +109 -8
  234. package/src/codegen/tendermint/bundle.ts +21 -21
  235. package/src/codegen/tendermint/crypto/proof.ts +4 -1
  236. package/src/codegen/tendermint/libs/bits/types.ts +1 -1
  237. package/src/codegen/tendermint/p2p/types.ts +1 -1
  238. package/src/codegen/tendermint/types/evidence.ts +1 -1
  239. package/src/codegen/tendermint/types/params.ts +36 -0
  240. package/src/codegen/tendermint/types/types.ts +50 -6
  241. package/src/codegen/tendermint/types/validator.ts +1 -1
  242. package/src/codegen/tendermint/version/types.ts +1 -1
  243. package/types/codegen/confio/proofs.d.ts +64 -8
  244. package/types/codegen/cosmos/authz/v1beta1/authz.d.ts +7 -0
  245. package/types/codegen/cosmos/authz/v1beta1/event.d.ts +6 -0
  246. package/types/codegen/cosmos/authz/v1beta1/query.d.ts +10 -0
  247. package/types/codegen/cosmos/authz/v1beta1/tx.d.ts +5 -0
  248. package/types/codegen/cosmos/bank/v1beta1/bank.d.ts +37 -0
  249. package/types/codegen/cosmos/bank/v1beta1/genesis.d.ts +9 -0
  250. package/types/codegen/cosmos/bank/v1beta1/query.d.ts +34 -0
  251. package/types/codegen/cosmos/bank/v1beta1/tx.amino.d.ts +6 -6
  252. package/types/codegen/cosmos/base/abci/v1beta1/abci.d.ts +62 -1
  253. package/types/codegen/cosmos/base/query/v1beta1/pagination.d.ts +35 -1
  254. package/types/codegen/cosmos/base/reflection/v2alpha1/reflection.d.ts +63 -0
  255. package/types/codegen/cosmos/bundle.d.ts +70 -70
  256. package/types/codegen/cosmos/crypto/hd/v1/hd.d.ts +8 -0
  257. package/types/codegen/cosmos/crypto/keyring/v1/record.d.ts +6 -0
  258. package/types/codegen/cosmos/crypto/secp256r1/keys.d.ts +5 -0
  259. package/types/codegen/cosmos/distribution/v1beta1/genesis.d.ts +28 -0
  260. package/types/codegen/cosmos/distribution/v1beta1/query.d.ts +21 -0
  261. package/types/codegen/cosmos/distribution/v1beta1/tx.amino.d.ts +12 -12
  262. package/types/codegen/cosmos/gov/v1/genesis.d.ts +8 -1
  263. package/types/codegen/cosmos/gov/v1/gov.d.ts +69 -4
  264. package/types/codegen/cosmos/gov/v1/query.d.ts +31 -3
  265. package/types/codegen/cosmos/gov/v1/tx.amino.d.ts +15 -15
  266. package/types/codegen/cosmos/gov/v1/tx.d.ts +5 -2
  267. package/types/codegen/cosmos/gov/v1beta1/genesis.d.ts +8 -1
  268. package/types/codegen/cosmos/gov/v1beta1/gov.d.ts +74 -5
  269. package/types/codegen/cosmos/gov/v1beta1/query.d.ts +31 -3
  270. package/types/codegen/cosmos/gov/v1beta1/tx.amino.d.ts +12 -12
  271. package/types/codegen/cosmos/gov/v1beta1/tx.d.ts +2 -2
  272. package/types/codegen/cosmos/staking/v1beta1/authz.d.ts +27 -2
  273. package/types/codegen/cosmos/staking/v1beta1/genesis.d.ts +15 -0
  274. package/types/codegen/cosmos/staking/v1beta1/query.d.ts +41 -0
  275. package/types/codegen/cosmos/staking/v1beta1/staking.d.ts +58 -2
  276. package/types/codegen/cosmos/staking/v1beta1/tx.amino.d.ts +15 -15
  277. package/types/codegen/cosmos/staking/v1beta1/tx.d.ts +6 -0
  278. package/types/codegen/cosmos/tx/signing/v1beta1/signing.d.ts +57 -2
  279. package/types/codegen/cosmos/tx/v1beta1/service.d.ts +58 -4
  280. package/types/codegen/cosmos/tx/v1beta1/tx.d.ts +152 -3
  281. package/types/codegen/cosmos/upgrade/v1beta1/query.d.ts +14 -0
  282. package/types/codegen/cosmos/upgrade/v1beta1/tx.amino.d.ts +6 -6
  283. package/types/codegen/cosmos/upgrade/v1beta1/tx.d.ts +3 -0
  284. package/types/codegen/cosmos/upgrade/v1beta1/upgrade.d.ts +30 -1
  285. package/types/codegen/cosmos_proto/bundle.d.ts +1 -1
  286. package/types/codegen/cosmos_proto/cosmos.d.ts +34 -2
  287. package/types/codegen/cosmwasm/bundle.d.ts +10 -10
  288. package/types/codegen/cosmwasm/wasm/v1/authz.d.ts +18 -0
  289. package/types/codegen/cosmwasm/wasm/v1/genesis.d.ts +1 -0
  290. package/types/codegen/cosmwasm/wasm/v1/ibc.d.ts +14 -1
  291. package/types/codegen/cosmwasm/wasm/v1/proposal.d.ts +78 -0
  292. package/types/codegen/cosmwasm/wasm/v1/query.d.ts +29 -0
  293. package/types/codegen/cosmwasm/wasm/v1/tx.amino.d.ts +21 -21
  294. package/types/codegen/cosmwasm/wasm/v1/tx.d.ts +47 -0
  295. package/types/codegen/cosmwasm/wasm/v1/types.d.ts +58 -6
  296. package/types/codegen/gaia/bundle.d.ts +174 -0
  297. package/types/codegen/gaia/globalfee/v1beta1/genesis.d.ts +45 -0
  298. package/types/codegen/gaia/globalfee/v1beta1/query.d.ts +39 -0
  299. package/types/codegen/gaia/globalfee/v1beta1/query.lcd.d.ts +9 -0
  300. package/types/codegen/gaia/globalfee/v1beta1/query.rpc.Query.d.ts +15 -0
  301. package/types/codegen/gaia/lcd.d.ts +33 -0
  302. package/types/codegen/gaia/rpc.query.d.ts +105 -0
  303. package/types/codegen/google/bundle.d.ts +123 -123
  304. package/types/codegen/google/protobuf/any.d.ts +30 -0
  305. package/types/codegen/google/protobuf/descriptor.d.ts +566 -12
  306. package/types/codegen/google/protobuf/duration.d.ts +14 -1
  307. package/types/codegen/google/protobuf/timestamp.d.ts +12 -1
  308. package/types/codegen/helpers.d.ts +1 -1
  309. package/types/codegen/ibc/applications/transfer/v1/query.d.ts +6 -0
  310. package/types/codegen/ibc/applications/transfer/v1/transfer.d.ts +13 -0
  311. package/types/codegen/ibc/applications/transfer/v1/tx.amino.d.ts +3 -3
  312. package/types/codegen/ibc/applications/transfer/v1/tx.d.ts +14 -1
  313. package/types/codegen/ibc/applications/transfer/v2/packet.d.ts +4 -0
  314. package/types/codegen/ibc/bundle.d.ts +773 -773
  315. package/types/codegen/ibc/core/channel/v1/channel.d.ts +76 -6
  316. package/types/codegen/ibc/core/channel/v1/genesis.d.ts +2 -1
  317. package/types/codegen/ibc/core/channel/v1/query.d.ts +71 -0
  318. package/types/codegen/ibc/core/channel/v1/tx.amino.d.ts +30 -30
  319. package/types/codegen/ibc/core/channel/v1/tx.d.ts +4 -0
  320. package/types/codegen/ibc/core/client/v1/client.d.ts +24 -0
  321. package/types/codegen/ibc/core/client/v1/genesis.d.ts +8 -1
  322. package/types/codegen/ibc/core/client/v1/query.d.ts +25 -0
  323. package/types/codegen/ibc/core/client/v1/tx.amino.d.ts +12 -12
  324. package/types/codegen/ibc/core/client/v1/tx.d.ts +21 -0
  325. package/types/codegen/ibc/core/connection/v1/connection.d.ts +61 -4
  326. package/types/codegen/ibc/core/connection/v1/genesis.d.ts +2 -1
  327. package/types/codegen/ibc/core/connection/v1/query.d.ts +20 -0
  328. package/types/codegen/ibc/core/connection/v1/tx.amino.d.ts +12 -12
  329. package/types/codegen/ibc/core/connection/v1/tx.d.ts +18 -1
  330. package/types/codegen/ibc/lightclients/localhost/v1/localhost.d.ts +2 -0
  331. package/types/codegen/ibc/lightclients/solomachine/v1/solomachine.d.ts +47 -4
  332. package/types/codegen/ibc/lightclients/solomachine/v2/solomachine.d.ts +47 -4
  333. package/types/codegen/ibc/lightclients/tendermint/v1/tendermint.d.ts +31 -0
  334. package/types/codegen/ics23/bundle.d.ts +2 -2
  335. package/types/codegen/index.d.ts +2 -1
  336. package/types/codegen/juno/bundle.d.ts +141 -141
  337. package/types/codegen/juno/feeshare/v1/feeshare.d.ts +12 -0
  338. package/types/codegen/juno/feeshare/v1/genesis.d.ts +13 -0
  339. package/types/codegen/juno/feeshare/v1/query.d.ts +20 -0
  340. package/types/codegen/juno/feeshare/v1/tx.amino.d.ts +9 -9
  341. package/types/codegen/juno/feeshare/v1/tx.d.ts +23 -0
  342. package/types/codegen/juno/mint/genesis.d.ts +2 -0
  343. package/types/codegen/juno/mint/mint.d.ts +5 -1
  344. package/types/codegen/juno/mint/query.d.ts +3 -0
  345. package/types/codegen/osmosis/bundle.d.ts +163 -116
  346. package/types/codegen/osmosis/client.d.ts +29 -4
  347. package/types/codegen/osmosis/tokenfactory/v1beta1/authorityMetadata.d.ts +1 -0
  348. package/types/codegen/osmosis/tokenfactory/v1beta1/genesis.d.ts +1 -0
  349. package/types/codegen/osmosis/tokenfactory/v1beta1/query.d.ts +1 -0
  350. package/types/codegen/osmosis/tokenfactory/v1beta1/tx.amino.d.ts +35 -16
  351. package/types/codegen/osmosis/tokenfactory/v1beta1/tx.d.ts +31 -0
  352. package/types/codegen/osmosis/tokenfactory/v1beta1/tx.registry.d.ts +13 -1
  353. package/types/codegen/osmosis/tokenfactory/v1beta1/tx.rpc.msg.d.ts +3 -1
  354. package/types/codegen/router/bundle.d.ts +27 -27
  355. package/types/codegen/router/v1/genesis.d.ts +6 -0
  356. package/types/codegen/router/v1/query.d.ts +1 -0
  357. package/types/codegen/tendermint/abci/types.d.ts +78 -8
  358. package/types/codegen/tendermint/bundle.d.ts +291 -291
  359. package/types/codegen/tendermint/crypto/proof.d.ts +3 -1
  360. package/types/codegen/tendermint/libs/bits/types.d.ts +1 -1
  361. package/types/codegen/tendermint/p2p/types.d.ts +1 -1
  362. package/types/codegen/tendermint/types/params.d.ts +32 -0
  363. package/types/codegen/tendermint/types/types.d.ts +36 -5
  364. package/types/codegen/tendermint/types/validator.d.ts +1 -1
  365. package/types/codegen/tendermint/version/types.d.ts +1 -1
@@ -48,7 +48,54 @@ export enum FieldDescriptorProto_Type {
48
48
  TYPE_SINT64 = 18,
49
49
  UNRECOGNIZED = -1,
50
50
  }
51
- export const FieldDescriptorProto_TypeSDKType = FieldDescriptorProto_Type;
51
+ export enum FieldDescriptorProto_TypeSDKType {
52
+ /**
53
+ * TYPE_DOUBLE - 0 is reserved for errors.
54
+ * Order is weird for historical reasons.
55
+ */
56
+ TYPE_DOUBLE = 1,
57
+ TYPE_FLOAT = 2,
58
+
59
+ /**
60
+ * TYPE_INT64 - Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
61
+ * negative values are likely.
62
+ */
63
+ TYPE_INT64 = 3,
64
+ TYPE_UINT64 = 4,
65
+
66
+ /**
67
+ * TYPE_INT32 - Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
68
+ * negative values are likely.
69
+ */
70
+ TYPE_INT32 = 5,
71
+ TYPE_FIXED64 = 6,
72
+ TYPE_FIXED32 = 7,
73
+ TYPE_BOOL = 8,
74
+ TYPE_STRING = 9,
75
+
76
+ /**
77
+ * TYPE_GROUP - Tag-delimited aggregate.
78
+ * Group type is deprecated and not supported in proto3. However, Proto3
79
+ * implementations should still be able to parse the group wire format and
80
+ * treat group fields as unknown fields.
81
+ */
82
+ TYPE_GROUP = 10,
83
+ TYPE_MESSAGE = 11,
84
+
85
+ /** TYPE_BYTES - New in version 2. */
86
+ TYPE_BYTES = 12,
87
+ TYPE_UINT32 = 13,
88
+ TYPE_ENUM = 14,
89
+ TYPE_SFIXED32 = 15,
90
+ TYPE_SFIXED64 = 16,
91
+
92
+ /** TYPE_SINT32 - Uses ZigZag encoding. */
93
+ TYPE_SINT32 = 17,
94
+
95
+ /** TYPE_SINT64 - Uses ZigZag encoding. */
96
+ TYPE_SINT64 = 18,
97
+ UNRECOGNIZED = -1,
98
+ }
52
99
  export function fieldDescriptorProto_TypeFromJSON(object: any): FieldDescriptorProto_Type {
53
100
  switch (object) {
54
101
  case 1:
@@ -197,7 +244,13 @@ export enum FieldDescriptorProto_Label {
197
244
  LABEL_REPEATED = 3,
198
245
  UNRECOGNIZED = -1,
199
246
  }
200
- export const FieldDescriptorProto_LabelSDKType = FieldDescriptorProto_Label;
247
+ export enum FieldDescriptorProto_LabelSDKType {
248
+ /** LABEL_OPTIONAL - 0 is reserved for errors */
249
+ LABEL_OPTIONAL = 1,
250
+ LABEL_REQUIRED = 2,
251
+ LABEL_REPEATED = 3,
252
+ UNRECOGNIZED = -1,
253
+ }
201
254
  export function fieldDescriptorProto_LabelFromJSON(object: any): FieldDescriptorProto_Label {
202
255
  switch (object) {
203
256
  case 1:
@@ -250,7 +303,22 @@ export enum FileOptions_OptimizeMode {
250
303
  LITE_RUNTIME = 3,
251
304
  UNRECOGNIZED = -1,
252
305
  }
253
- export const FileOptions_OptimizeModeSDKType = FileOptions_OptimizeMode;
306
+ /** Generated classes can be optimized for speed or code size. */
307
+
308
+ export enum FileOptions_OptimizeModeSDKType {
309
+ /**
310
+ * SPEED - Generate complete code for parsing, serialization,
311
+ * etc.
312
+ */
313
+ SPEED = 1,
314
+
315
+ /** CODE_SIZE - Use ReflectionOps to implement these methods. */
316
+ CODE_SIZE = 2,
317
+
318
+ /** LITE_RUNTIME - Generate code using MessageLite and the lite runtime. */
319
+ LITE_RUNTIME = 3,
320
+ UNRECOGNIZED = -1,
321
+ }
254
322
  export function fileOptions_OptimizeModeFromJSON(object: any): FileOptions_OptimizeMode {
255
323
  switch (object) {
256
324
  case 1:
@@ -294,7 +362,13 @@ export enum FieldOptions_CType {
294
362
  STRING_PIECE = 2,
295
363
  UNRECOGNIZED = -1,
296
364
  }
297
- export const FieldOptions_CTypeSDKType = FieldOptions_CType;
365
+ export enum FieldOptions_CTypeSDKType {
366
+ /** STRING - Default mode. */
367
+ STRING = 0,
368
+ CORD = 1,
369
+ STRING_PIECE = 2,
370
+ UNRECOGNIZED = -1,
371
+ }
298
372
  export function fieldOptions_CTypeFromJSON(object: any): FieldOptions_CType {
299
373
  switch (object) {
300
374
  case 0:
@@ -342,7 +416,17 @@ export enum FieldOptions_JSType {
342
416
  JS_NUMBER = 2,
343
417
  UNRECOGNIZED = -1,
344
418
  }
345
- export const FieldOptions_JSTypeSDKType = FieldOptions_JSType;
419
+ export enum FieldOptions_JSTypeSDKType {
420
+ /** JS_NORMAL - Use the default type. */
421
+ JS_NORMAL = 0,
422
+
423
+ /** JS_STRING - Use JavaScript strings. */
424
+ JS_STRING = 1,
425
+
426
+ /** JS_NUMBER - Use JavaScript numbers. */
427
+ JS_NUMBER = 2,
428
+ UNRECOGNIZED = -1,
429
+ }
346
430
  export function fieldOptions_JSTypeFromJSON(object: any): FieldOptions_JSType {
347
431
  switch (object) {
348
432
  case 0:
@@ -395,7 +479,22 @@ export enum MethodOptions_IdempotencyLevel {
395
479
  IDEMPOTENT = 2,
396
480
  UNRECOGNIZED = -1,
397
481
  }
398
- export const MethodOptions_IdempotencyLevelSDKType = MethodOptions_IdempotencyLevel;
482
+ /**
483
+ * Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
484
+ * or neither? HTTP based RPC implementation may choose GET verb for safe
485
+ * methods, and PUT verb for idempotent methods instead of the default POST.
486
+ */
487
+
488
+ export enum MethodOptions_IdempotencyLevelSDKType {
489
+ IDEMPOTENCY_UNKNOWN = 0,
490
+
491
+ /** NO_SIDE_EFFECTS - implies idempotent */
492
+ NO_SIDE_EFFECTS = 1,
493
+
494
+ /** IDEMPOTENT - idempotent, but may have side effects */
495
+ IDEMPOTENT = 2,
496
+ UNRECOGNIZED = -1,
497
+ }
399
498
  export function methodOptions_IdempotencyLevelFromJSON(object: any): MethodOptions_IdempotencyLevel {
400
499
  switch (object) {
401
500
  case 0:
@@ -491,17 +590,41 @@ export interface FileDescriptorProto {
491
590
  /** Describes a complete .proto file. */
492
591
 
493
592
  export interface FileDescriptorProtoSDKType {
593
+ /** file name, relative to root of source tree */
494
594
  name: string;
495
595
  package: string;
596
+ /** Names of files imported by this file. */
597
+
496
598
  dependency: string[];
599
+ /** Indexes of the public imported files in the dependency list above. */
600
+
497
601
  public_dependency: number[];
602
+ /**
603
+ * Indexes of the weak imported files in the dependency list.
604
+ * For Google-internal migration only. Do not use.
605
+ */
606
+
498
607
  weak_dependency: number[];
608
+ /** All top-level definitions in this file. */
609
+
499
610
  message_type: DescriptorProtoSDKType[];
500
611
  enum_type: EnumDescriptorProtoSDKType[];
501
612
  service: ServiceDescriptorProtoSDKType[];
502
613
  extension: FieldDescriptorProtoSDKType[];
503
614
  options?: FileOptionsSDKType;
615
+ /**
616
+ * This field contains optional information about the original source code.
617
+ * You may safely remove this entire field without harming runtime
618
+ * functionality of the descriptors -- the information is needed only by
619
+ * development tools.
620
+ */
621
+
504
622
  source_code_info?: SourceCodeInfoSDKType;
623
+ /**
624
+ * The syntax of the proto file.
625
+ * The supported values are "proto2" and "proto3".
626
+ */
627
+
505
628
  syntax: string;
506
629
  }
507
630
  /** Describes a message type. */
@@ -535,6 +658,11 @@ export interface DescriptorProtoSDKType {
535
658
  oneof_decl: OneofDescriptorProtoSDKType[];
536
659
  options?: MessageOptionsSDKType;
537
660
  reserved_range: DescriptorProto_ReservedRangeSDKType[];
661
+ /**
662
+ * Reserved field names, which may not be used by fields in the same message.
663
+ * A given name may only be reserved once.
664
+ */
665
+
538
666
  reserved_name: string[];
539
667
  }
540
668
  export interface DescriptorProto_ExtensionRange {
@@ -546,7 +674,10 @@ export interface DescriptorProto_ExtensionRange {
546
674
  options?: ExtensionRangeOptions;
547
675
  }
548
676
  export interface DescriptorProto_ExtensionRangeSDKType {
677
+ /** Inclusive. */
549
678
  start: number;
679
+ /** Exclusive. */
680
+
550
681
  end: number;
551
682
  options?: ExtensionRangeOptionsSDKType;
552
683
  }
@@ -570,7 +701,10 @@ export interface DescriptorProto_ReservedRange {
570
701
  */
571
702
 
572
703
  export interface DescriptorProto_ReservedRangeSDKType {
704
+ /** Inclusive. */
573
705
  start: number;
706
+ /** Exclusive. */
707
+
574
708
  end: number;
575
709
  }
576
710
  export interface ExtensionRangeOptions {
@@ -578,6 +712,7 @@ export interface ExtensionRangeOptions {
578
712
  uninterpretedOption: UninterpretedOption[];
579
713
  }
580
714
  export interface ExtensionRangeOptionsSDKType {
715
+ /** The parser stores options it doesn't recognize here. See above. */
581
716
  uninterpreted_option: UninterpretedOptionSDKType[];
582
717
  }
583
718
  /** Describes a field within a message. */
@@ -637,12 +772,50 @@ export interface FieldDescriptorProto {
637
772
  export interface FieldDescriptorProtoSDKType {
638
773
  name: string;
639
774
  number: number;
640
- label: FieldDescriptorProto_Label;
641
- type: FieldDescriptorProto_Type;
775
+ label: FieldDescriptorProto_LabelSDKType;
776
+ /**
777
+ * If type_name is set, this need not be set. If both this and type_name
778
+ * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
779
+ */
780
+
781
+ type: FieldDescriptorProto_TypeSDKType;
782
+ /**
783
+ * For message and enum types, this is the name of the type. If the name
784
+ * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
785
+ * rules are used to find the type (i.e. first the nested types within this
786
+ * message are searched, then within the parent, on up to the root
787
+ * namespace).
788
+ */
789
+
642
790
  type_name: string;
791
+ /**
792
+ * For extensions, this is the name of the type being extended. It is
793
+ * resolved in the same manner as type_name.
794
+ */
795
+
643
796
  extendee: string;
797
+ /**
798
+ * For numeric types, contains the original text representation of the value.
799
+ * For booleans, "true" or "false".
800
+ * For strings, contains the default text contents (not escaped in any way).
801
+ * For bytes, contains the C escaped value. All bytes >= 128 are escaped.
802
+ * TODO(kenton): Base-64 encode?
803
+ */
804
+
644
805
  default_value: string;
806
+ /**
807
+ * If set, gives the index of a oneof in the containing type's oneof_decl
808
+ * list. This field is a member of that oneof.
809
+ */
810
+
645
811
  oneof_index: number;
812
+ /**
813
+ * JSON name of this field. The value is set by protocol compiler. If the
814
+ * user has set a "json_name" option on this field, that option's value
815
+ * will be used. Otherwise, it's deduced from the field's name by converting
816
+ * it to camelCase.
817
+ */
818
+
646
819
  json_name: string;
647
820
  options?: FieldOptionsSDKType;
648
821
  }
@@ -684,7 +857,18 @@ export interface EnumDescriptorProtoSDKType {
684
857
  name: string;
685
858
  value: EnumValueDescriptorProtoSDKType[];
686
859
  options?: EnumOptionsSDKType;
860
+ /**
861
+ * Range of reserved numeric values. Reserved numeric values may not be used
862
+ * by enum values in the same enum declaration. Reserved ranges may not
863
+ * overlap.
864
+ */
865
+
687
866
  reserved_range: EnumDescriptorProto_EnumReservedRangeSDKType[];
867
+ /**
868
+ * Reserved enum value names, which may not be reused. A given name may only
869
+ * be reserved once.
870
+ */
871
+
688
872
  reserved_name: string[];
689
873
  }
690
874
  /**
@@ -713,7 +897,10 @@ export interface EnumDescriptorProto_EnumReservedRange {
713
897
  */
714
898
 
715
899
  export interface EnumDescriptorProto_EnumReservedRangeSDKType {
900
+ /** Inclusive. */
716
901
  start: number;
902
+ /** Inclusive. */
903
+
717
904
  end: number;
718
905
  }
719
906
  /** Describes a value within an enum. */
@@ -767,10 +954,19 @@ export interface MethodDescriptorProto {
767
954
 
768
955
  export interface MethodDescriptorProtoSDKType {
769
956
  name: string;
957
+ /**
958
+ * Input and output type names. These are resolved in the same way as
959
+ * FieldDescriptorProto.type_name, but must refer to a message type.
960
+ */
961
+
770
962
  input_type: string;
771
963
  output_type: string;
772
964
  options?: MethodOptionsSDKType;
965
+ /** Identifies if client streams multiple client messages */
966
+
773
967
  client_streaming: boolean;
968
+ /** Identifies if server streams multiple server messages */
969
+
774
970
  server_streaming: boolean;
775
971
  }
776
972
  export interface FileOptions {
@@ -908,28 +1104,137 @@ export interface FileOptions {
908
1104
  uninterpretedOption: UninterpretedOption[];
909
1105
  }
910
1106
  export interface FileOptionsSDKType {
1107
+ /**
1108
+ * Sets the Java package where classes generated from this .proto will be
1109
+ * placed. By default, the proto package is used, but this is often
1110
+ * inappropriate because proto packages do not normally start with backwards
1111
+ * domain names.
1112
+ */
911
1113
  java_package: string;
1114
+ /**
1115
+ * If set, all the classes from the .proto file are wrapped in a single
1116
+ * outer class with the given name. This applies to both Proto1
1117
+ * (equivalent to the old "--one_java_file" option) and Proto2 (where
1118
+ * a .proto always translates to a single class, but you may want to
1119
+ * explicitly choose the class name).
1120
+ */
1121
+
912
1122
  java_outer_classname: string;
1123
+ /**
1124
+ * If set true, then the Java code generator will generate a separate .java
1125
+ * file for each top-level message, enum, and service defined in the .proto
1126
+ * file. Thus, these types will *not* be nested inside the outer class
1127
+ * named by java_outer_classname. However, the outer class will still be
1128
+ * generated to contain the file's getDescriptor() method as well as any
1129
+ * top-level extensions defined in the file.
1130
+ */
1131
+
913
1132
  java_multiple_files: boolean;
1133
+ /** This option does nothing. */
1134
+
914
1135
  /** @deprecated */
915
1136
 
916
1137
  java_generate_equals_and_hash: boolean;
1138
+ /**
1139
+ * If set true, then the Java2 code generator will generate code that
1140
+ * throws an exception whenever an attempt is made to assign a non-UTF-8
1141
+ * byte sequence to a string field.
1142
+ * Message reflection will do the same.
1143
+ * However, an extension field still accepts non-UTF-8 byte sequences.
1144
+ * This option has no effect on when used with the lite runtime.
1145
+ */
1146
+
917
1147
  java_string_check_utf8: boolean;
918
- optimize_for: FileOptions_OptimizeMode;
1148
+ optimize_for: FileOptions_OptimizeModeSDKType;
1149
+ /**
1150
+ * Sets the Go package where structs generated from this .proto will be
1151
+ * placed. If omitted, the Go package will be derived from the following:
1152
+ * - The basename of the package import path, if provided.
1153
+ * - Otherwise, the package statement in the .proto file, if present.
1154
+ * - Otherwise, the basename of the .proto file, without extension.
1155
+ */
1156
+
919
1157
  go_package: string;
1158
+ /**
1159
+ * Should generic services be generated in each language? "Generic" services
1160
+ * are not specific to any particular RPC system. They are generated by the
1161
+ * main code generators in each language (without additional plugins).
1162
+ * Generic services were the only kind of service generation supported by
1163
+ * early versions of google.protobuf.
1164
+ *
1165
+ * Generic services are now considered deprecated in favor of using plugins
1166
+ * that generate code specific to your particular RPC system. Therefore,
1167
+ * these default to false. Old code which depends on generic services should
1168
+ * explicitly set them to true.
1169
+ */
1170
+
920
1171
  cc_generic_services: boolean;
921
1172
  java_generic_services: boolean;
922
1173
  py_generic_services: boolean;
923
1174
  php_generic_services: boolean;
924
- deprecated: boolean;
925
- cc_enable_arenas: boolean;
926
- objc_class_prefix: string;
1175
+ /**
1176
+ * Is this file deprecated?
1177
+ * Depending on the target platform, this can emit Deprecated annotations
1178
+ * for everything in the file, or it will be completely ignored; in the very
1179
+ * least, this is a formalization for deprecating files.
1180
+ */
1181
+
1182
+ deprecated: boolean;
1183
+ /**
1184
+ * Enables the use of arenas for the proto messages in this file. This applies
1185
+ * only to generated classes for C++.
1186
+ */
1187
+
1188
+ cc_enable_arenas: boolean;
1189
+ /**
1190
+ * Sets the objective c class prefix which is prepended to all objective c
1191
+ * generated classes from this .proto. There is no default.
1192
+ */
1193
+
1194
+ objc_class_prefix: string;
1195
+ /** Namespace for generated classes; defaults to the package. */
1196
+
927
1197
  csharp_namespace: string;
1198
+ /**
1199
+ * By default Swift generators will take the proto package and CamelCase it
1200
+ * replacing '.' with underscore and use that to prefix the types/symbols
1201
+ * defined. When this options is provided, they will use this value instead
1202
+ * to prefix the types/symbols defined.
1203
+ */
1204
+
928
1205
  swift_prefix: string;
1206
+ /**
1207
+ * Sets the php class prefix which is prepended to all php generated classes
1208
+ * from this .proto. Default is empty.
1209
+ */
1210
+
929
1211
  php_class_prefix: string;
1212
+ /**
1213
+ * Use this option to change the namespace of php generated classes. Default
1214
+ * is empty. When this option is empty, the package name will be used for
1215
+ * determining the namespace.
1216
+ */
1217
+
930
1218
  php_namespace: string;
1219
+ /**
1220
+ * Use this option to change the namespace of php generated metadata classes.
1221
+ * Default is empty. When this option is empty, the proto file name will be
1222
+ * used for determining the namespace.
1223
+ */
1224
+
931
1225
  php_metadata_namespace: string;
1226
+ /**
1227
+ * Use this option to change the package of ruby generated classes. Default
1228
+ * is empty. When this option is not set, the package name will be used for
1229
+ * determining the ruby package.
1230
+ */
1231
+
932
1232
  ruby_package: string;
1233
+ /**
1234
+ * The parser stores options it doesn't recognize here.
1235
+ * See the documentation for the "Options" section above.
1236
+ */
1237
+
933
1238
  uninterpreted_option: UninterpretedOptionSDKType[];
934
1239
  }
935
1240
  export interface MessageOptions {
@@ -999,10 +1304,69 @@ export interface MessageOptions {
999
1304
  uninterpretedOption: UninterpretedOption[];
1000
1305
  }
1001
1306
  export interface MessageOptionsSDKType {
1307
+ /**
1308
+ * Set true to use the old proto1 MessageSet wire format for extensions.
1309
+ * This is provided for backwards-compatibility with the MessageSet wire
1310
+ * format. You should not use this for any other reason: It's less
1311
+ * efficient, has fewer features, and is more complicated.
1312
+ *
1313
+ * The message must be defined exactly as follows:
1314
+ * message Foo {
1315
+ * option message_set_wire_format = true;
1316
+ * extensions 4 to max;
1317
+ * }
1318
+ * Note that the message cannot have any defined fields; MessageSets only
1319
+ * have extensions.
1320
+ *
1321
+ * All extensions of your type must be singular messages; e.g. they cannot
1322
+ * be int32s, enums, or repeated messages.
1323
+ *
1324
+ * Because this is an option, the above two restrictions are not enforced by
1325
+ * the protocol compiler.
1326
+ */
1002
1327
  message_set_wire_format: boolean;
1328
+ /**
1329
+ * Disables the generation of the standard "descriptor()" accessor, which can
1330
+ * conflict with a field of the same name. This is meant to make migration
1331
+ * from proto1 easier; new code should avoid fields named "descriptor".
1332
+ */
1333
+
1003
1334
  no_standard_descriptor_accessor: boolean;
1335
+ /**
1336
+ * Is this message deprecated?
1337
+ * Depending on the target platform, this can emit Deprecated annotations
1338
+ * for the message, or it will be completely ignored; in the very least,
1339
+ * this is a formalization for deprecating messages.
1340
+ */
1341
+
1004
1342
  deprecated: boolean;
1343
+ /**
1344
+ * Whether the message is an automatically generated map entry type for the
1345
+ * maps field.
1346
+ *
1347
+ * For maps fields:
1348
+ * map<KeyType, ValueType> map_field = 1;
1349
+ * The parsed descriptor looks like:
1350
+ * message MapFieldEntry {
1351
+ * option map_entry = true;
1352
+ * optional KeyType key = 1;
1353
+ * optional ValueType value = 2;
1354
+ * }
1355
+ * repeated MapFieldEntry map_field = 1;
1356
+ *
1357
+ * Implementations may choose not to generate the map_entry=true message, but
1358
+ * use a native map in the target language to hold the keys and values.
1359
+ * The reflection APIs in such implementations still need to work as
1360
+ * if the field is a repeated message field.
1361
+ *
1362
+ * NOTE: Do not set the option in .proto files. Always use the maps syntax
1363
+ * instead. The option should only be implicitly set by the proto compiler
1364
+ * parser.
1365
+ */
1366
+
1005
1367
  map_entry: boolean;
1368
+ /** The parser stores options it doesn't recognize here. See above. */
1369
+
1006
1370
  uninterpreted_option: UninterpretedOptionSDKType[];
1007
1371
  }
1008
1372
  export interface FieldOptions {
@@ -1085,12 +1449,82 @@ export interface FieldOptions {
1085
1449
  uninterpretedOption: UninterpretedOption[];
1086
1450
  }
1087
1451
  export interface FieldOptionsSDKType {
1088
- ctype: FieldOptions_CType;
1452
+ /**
1453
+ * The ctype option instructs the C++ code generator to use a different
1454
+ * representation of the field than it normally would. See the specific
1455
+ * options below. This option is not yet implemented in the open source
1456
+ * release -- sorry, we'll try to include it in a future version!
1457
+ */
1458
+ ctype: FieldOptions_CTypeSDKType;
1459
+ /**
1460
+ * The packed option can be enabled for repeated primitive fields to enable
1461
+ * a more efficient representation on the wire. Rather than repeatedly
1462
+ * writing the tag and type for each element, the entire array is encoded as
1463
+ * a single length-delimited blob. In proto3, only explicit setting it to
1464
+ * false will avoid using packed encoding.
1465
+ */
1466
+
1089
1467
  packed: boolean;
1090
- jstype: FieldOptions_JSType;
1468
+ /**
1469
+ * The jstype option determines the JavaScript type used for values of the
1470
+ * field. The option is permitted only for 64 bit integral and fixed types
1471
+ * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING
1472
+ * is represented as JavaScript string, which avoids loss of precision that
1473
+ * can happen when a large value is converted to a floating point JavaScript.
1474
+ * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
1475
+ * use the JavaScript "number" type. The behavior of the default option
1476
+ * JS_NORMAL is implementation dependent.
1477
+ *
1478
+ * This option is an enum to permit additional types to be added, e.g.
1479
+ * goog.math.Integer.
1480
+ */
1481
+
1482
+ jstype: FieldOptions_JSTypeSDKType;
1483
+ /**
1484
+ * Should this field be parsed lazily? Lazy applies only to message-type
1485
+ * fields. It means that when the outer message is initially parsed, the
1486
+ * inner message's contents will not be parsed but instead stored in encoded
1487
+ * form. The inner message will actually be parsed when it is first accessed.
1488
+ *
1489
+ * This is only a hint. Implementations are free to choose whether to use
1490
+ * eager or lazy parsing regardless of the value of this option. However,
1491
+ * setting this option true suggests that the protocol author believes that
1492
+ * using lazy parsing on this field is worth the additional bookkeeping
1493
+ * overhead typically needed to implement it.
1494
+ *
1495
+ * This option does not affect the public interface of any generated code;
1496
+ * all method signatures remain the same. Furthermore, thread-safety of the
1497
+ * interface is not affected by this option; const methods remain safe to
1498
+ * call from multiple threads concurrently, while non-const methods continue
1499
+ * to require exclusive access.
1500
+ *
1501
+ *
1502
+ * Note that implementations may choose not to check required fields within
1503
+ * a lazy sub-message. That is, calling IsInitialized() on the outer message
1504
+ * may return true even if the inner message has missing required fields.
1505
+ * This is necessary because otherwise the inner message would have to be
1506
+ * parsed in order to perform the check, defeating the purpose of lazy
1507
+ * parsing. An implementation which chooses not to check required fields
1508
+ * must be consistent about it. That is, for any particular sub-message, the
1509
+ * implementation must either *always* check its required fields, or *never*
1510
+ * check its required fields, regardless of whether or not the message has
1511
+ * been parsed.
1512
+ */
1513
+
1091
1514
  lazy: boolean;
1515
+ /**
1516
+ * Is this field deprecated?
1517
+ * Depending on the target platform, this can emit Deprecated annotations
1518
+ * for accessors, or it will be completely ignored; in the very least, this
1519
+ * is a formalization for deprecating fields.
1520
+ */
1521
+
1092
1522
  deprecated: boolean;
1523
+ /** For Google-internal migration only. Do not use. */
1524
+
1093
1525
  weak: boolean;
1526
+ /** The parser stores options it doesn't recognize here. See above. */
1527
+
1094
1528
  uninterpreted_option: UninterpretedOptionSDKType[];
1095
1529
  }
1096
1530
  export interface OneofOptions {
@@ -1098,6 +1532,7 @@ export interface OneofOptions {
1098
1532
  uninterpretedOption: UninterpretedOption[];
1099
1533
  }
1100
1534
  export interface OneofOptionsSDKType {
1535
+ /** The parser stores options it doesn't recognize here. See above. */
1101
1536
  uninterpreted_option: UninterpretedOptionSDKType[];
1102
1537
  }
1103
1538
  export interface EnumOptions {
@@ -1119,8 +1554,21 @@ export interface EnumOptions {
1119
1554
  uninterpretedOption: UninterpretedOption[];
1120
1555
  }
1121
1556
  export interface EnumOptionsSDKType {
1557
+ /**
1558
+ * Set this option to true to allow mapping different tag names to the same
1559
+ * value.
1560
+ */
1122
1561
  allow_alias: boolean;
1562
+ /**
1563
+ * Is this enum deprecated?
1564
+ * Depending on the target platform, this can emit Deprecated annotations
1565
+ * for the enum, or it will be completely ignored; in the very least, this
1566
+ * is a formalization for deprecating enums.
1567
+ */
1568
+
1123
1569
  deprecated: boolean;
1570
+ /** The parser stores options it doesn't recognize here. See above. */
1571
+
1124
1572
  uninterpreted_option: UninterpretedOptionSDKType[];
1125
1573
  }
1126
1574
  export interface EnumValueOptions {
@@ -1136,7 +1584,15 @@ export interface EnumValueOptions {
1136
1584
  uninterpretedOption: UninterpretedOption[];
1137
1585
  }
1138
1586
  export interface EnumValueOptionsSDKType {
1587
+ /**
1588
+ * Is this enum value deprecated?
1589
+ * Depending on the target platform, this can emit Deprecated annotations
1590
+ * for the enum value, or it will be completely ignored; in the very least,
1591
+ * this is a formalization for deprecating enum values.
1592
+ */
1139
1593
  deprecated: boolean;
1594
+ /** The parser stores options it doesn't recognize here. See above. */
1595
+
1140
1596
  uninterpreted_option: UninterpretedOptionSDKType[];
1141
1597
  }
1142
1598
  export interface ServiceOptions {
@@ -1152,7 +1608,15 @@ export interface ServiceOptions {
1152
1608
  uninterpretedOption: UninterpretedOption[];
1153
1609
  }
1154
1610
  export interface ServiceOptionsSDKType {
1611
+ /**
1612
+ * Is this service deprecated?
1613
+ * Depending on the target platform, this can emit Deprecated annotations
1614
+ * for the service, or it will be completely ignored; in the very least,
1615
+ * this is a formalization for deprecating services.
1616
+ */
1155
1617
  deprecated: boolean;
1618
+ /** The parser stores options it doesn't recognize here. See above. */
1619
+
1156
1620
  uninterpreted_option: UninterpretedOptionSDKType[];
1157
1621
  }
1158
1622
  export interface MethodOptions {
@@ -1169,8 +1633,16 @@ export interface MethodOptions {
1169
1633
  uninterpretedOption: UninterpretedOption[];
1170
1634
  }
1171
1635
  export interface MethodOptionsSDKType {
1636
+ /**
1637
+ * Is this method deprecated?
1638
+ * Depending on the target platform, this can emit Deprecated annotations
1639
+ * for the method, or it will be completely ignored; in the very least,
1640
+ * this is a formalization for deprecating methods.
1641
+ */
1172
1642
  deprecated: boolean;
1173
- idempotency_level: MethodOptions_IdempotencyLevel;
1643
+ idempotency_level: MethodOptions_IdempotencyLevelSDKType;
1644
+ /** The parser stores options it doesn't recognize here. See above. */
1645
+
1174
1646
  uninterpreted_option: UninterpretedOptionSDKType[];
1175
1647
  }
1176
1648
  /**
@@ -1207,6 +1679,11 @@ export interface UninterpretedOption {
1207
1679
 
1208
1680
  export interface UninterpretedOptionSDKType {
1209
1681
  name: UninterpretedOption_NamePartSDKType[];
1682
+ /**
1683
+ * The value of the uninterpreted option, in whatever type the tokenizer
1684
+ * identified it as during parsing. Exactly one of these should be set.
1685
+ */
1686
+
1210
1687
  identifier_value: string;
1211
1688
  positive_int_value: Long;
1212
1689
  negative_int_value: Long;
@@ -1297,6 +1774,51 @@ export interface SourceCodeInfo {
1297
1774
  */
1298
1775
 
1299
1776
  export interface SourceCodeInfoSDKType {
1777
+ /**
1778
+ * A Location identifies a piece of source code in a .proto file which
1779
+ * corresponds to a particular definition. This information is intended
1780
+ * to be useful to IDEs, code indexers, documentation generators, and similar
1781
+ * tools.
1782
+ *
1783
+ * For example, say we have a file like:
1784
+ * message Foo {
1785
+ * optional string foo = 1;
1786
+ * }
1787
+ * Let's look at just the field definition:
1788
+ * optional string foo = 1;
1789
+ * ^ ^^ ^^ ^ ^^^
1790
+ * a bc de f ghi
1791
+ * We have the following locations:
1792
+ * span path represents
1793
+ * [a,i) [ 4, 0, 2, 0 ] The whole field definition.
1794
+ * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
1795
+ * [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
1796
+ * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
1797
+ * [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
1798
+ *
1799
+ * Notes:
1800
+ * - A location may refer to a repeated field itself (i.e. not to any
1801
+ * particular index within it). This is used whenever a set of elements are
1802
+ * logically enclosed in a single code segment. For example, an entire
1803
+ * extend block (possibly containing multiple extension definitions) will
1804
+ * have an outer location whose path refers to the "extensions" repeated
1805
+ * field without an index.
1806
+ * - Multiple locations may have the same path. This happens when a single
1807
+ * logical declaration is spread out across multiple places. The most
1808
+ * obvious example is the "extend" block again -- there may be multiple
1809
+ * extend blocks in the same scope, each of which will have the same path.
1810
+ * - A location's span is not always a subset of its parent's span. For
1811
+ * example, the "extendee" of an extension declaration appears at the
1812
+ * beginning of the "extend" block and is shared by all extensions within
1813
+ * the block.
1814
+ * - Just because a location's span is a subset of some other location's span
1815
+ * does not mean that it is a descendant. For example, a "group" defines
1816
+ * both a type and a field in a single declaration. Thus, the locations
1817
+ * corresponding to the type and field and their components will overlap.
1818
+ * - Code which tries to interpret locations should probably be designed to
1819
+ * ignore those that it doesn't understand, as more types of locations could
1820
+ * be recorded in the future.
1821
+ */
1300
1822
  location: SourceCodeInfo_LocationSDKType[];
1301
1823
  }
1302
1824
  export interface SourceCodeInfo_Location {
@@ -1390,8 +1912,91 @@ export interface SourceCodeInfo_Location {
1390
1912
  leadingDetachedComments: string[];
1391
1913
  }
1392
1914
  export interface SourceCodeInfo_LocationSDKType {
1915
+ /**
1916
+ * Identifies which part of the FileDescriptorProto was defined at this
1917
+ * location.
1918
+ *
1919
+ * Each element is a field number or an index. They form a path from
1920
+ * the root FileDescriptorProto to the place where the definition. For
1921
+ * example, this path:
1922
+ * [ 4, 3, 2, 7, 1 ]
1923
+ * refers to:
1924
+ * file.message_type(3) // 4, 3
1925
+ * .field(7) // 2, 7
1926
+ * .name() // 1
1927
+ * This is because FileDescriptorProto.message_type has field number 4:
1928
+ * repeated DescriptorProto message_type = 4;
1929
+ * and DescriptorProto.field has field number 2:
1930
+ * repeated FieldDescriptorProto field = 2;
1931
+ * and FieldDescriptorProto.name has field number 1:
1932
+ * optional string name = 1;
1933
+ *
1934
+ * Thus, the above path gives the location of a field name. If we removed
1935
+ * the last element:
1936
+ * [ 4, 3, 2, 7 ]
1937
+ * this path refers to the whole field declaration (from the beginning
1938
+ * of the label to the terminating semicolon).
1939
+ */
1393
1940
  path: number[];
1941
+ /**
1942
+ * Always has exactly three or four elements: start line, start column,
1943
+ * end line (optional, otherwise assumed same as start line), end column.
1944
+ * These are packed into a single field for efficiency. Note that line
1945
+ * and column numbers are zero-based -- typically you will want to add
1946
+ * 1 to each before displaying to a user.
1947
+ */
1948
+
1394
1949
  span: number[];
1950
+ /**
1951
+ * If this SourceCodeInfo represents a complete declaration, these are any
1952
+ * comments appearing before and after the declaration which appear to be
1953
+ * attached to the declaration.
1954
+ *
1955
+ * A series of line comments appearing on consecutive lines, with no other
1956
+ * tokens appearing on those lines, will be treated as a single comment.
1957
+ *
1958
+ * leading_detached_comments will keep paragraphs of comments that appear
1959
+ * before (but not connected to) the current element. Each paragraph,
1960
+ * separated by empty lines, will be one comment element in the repeated
1961
+ * field.
1962
+ *
1963
+ * Only the comment content is provided; comment markers (e.g. //) are
1964
+ * stripped out. For block comments, leading whitespace and an asterisk
1965
+ * will be stripped from the beginning of each line other than the first.
1966
+ * Newlines are included in the output.
1967
+ *
1968
+ * Examples:
1969
+ *
1970
+ * optional int32 foo = 1; // Comment attached to foo.
1971
+ * // Comment attached to bar.
1972
+ * optional int32 bar = 2;
1973
+ *
1974
+ * optional string baz = 3;
1975
+ * // Comment attached to baz.
1976
+ * // Another line attached to baz.
1977
+ *
1978
+ * // Comment attached to qux.
1979
+ * //
1980
+ * // Another line attached to qux.
1981
+ * optional double qux = 4;
1982
+ *
1983
+ * // Detached comment for corge. This is not leading or trailing comments
1984
+ * // to qux or corge because there are blank lines separating it from
1985
+ * // both.
1986
+ *
1987
+ * // Detached comment for corge paragraph 2.
1988
+ *
1989
+ * optional string corge = 5;
1990
+ * /* Block comment attached
1991
+ * * to corge. Leading asterisks
1992
+ * * will be removed. *\/
1993
+ * /* Block comment attached to
1994
+ * * grault. *\/
1995
+ * optional int32 grault = 6;
1996
+ *
1997
+ * // ignored detached comments.
1998
+ */
1999
+
1395
2000
  leading_comments: string;
1396
2001
  trailing_comments: string;
1397
2002
  leading_detached_comments: string[];
@@ -1416,6 +2021,10 @@ export interface GeneratedCodeInfo {
1416
2021
  */
1417
2022
 
1418
2023
  export interface GeneratedCodeInfoSDKType {
2024
+ /**
2025
+ * An Annotation connects some span of text in generated code to an element
2026
+ * of its generating .proto file.
2027
+ */
1419
2028
  annotation: GeneratedCodeInfo_AnnotationSDKType[];
1420
2029
  }
1421
2030
  export interface GeneratedCodeInfo_Annotation {
@@ -1442,9 +2051,26 @@ export interface GeneratedCodeInfo_Annotation {
1442
2051
  end: number;
1443
2052
  }
1444
2053
  export interface GeneratedCodeInfo_AnnotationSDKType {
2054
+ /**
2055
+ * Identifies the element in the original source .proto file. This field
2056
+ * is formatted the same as SourceCodeInfo.Location.path.
2057
+ */
1445
2058
  path: number[];
2059
+ /** Identifies the filesystem path to the original source .proto. */
2060
+
1446
2061
  source_file: string;
2062
+ /**
2063
+ * Identifies the starting offset in bytes in the generated code
2064
+ * that relates to the identified object.
2065
+ */
2066
+
1447
2067
  begin: number;
2068
+ /**
2069
+ * Identifies the ending offset in bytes in the generated code that
2070
+ * relates to the identified offset. The end offset should be one past
2071
+ * the last relevant byte (so the length of the text = end - begin).
2072
+ */
2073
+
1448
2074
  end: number;
1449
2075
  }
1450
2076